FieldServer FS-8704-16 instruction manual Map Descriptor Example 7 Read CPU Status

Page 17

FS-8704-16 Omron FINS Manual

Page 14 of 37

4.1.9.Map Descriptor Example 6: Run-Stop PLC:

Defining this Map Descriptor Driver can change the PLC mode to STOP (Program), MONITOR or RUN mode. The Driver issues a change mode command to the PLC whenever the value at the declared offset is updated.

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

 

Node_name

 

Length

Command_Name

Unit_Number

CMD_RUN_ST,

DA_RUN_ST,

0,

WRBX,

 

PLC1,

 

1,

RUN-STOP

0s

The Driver will change PLC modes depending upon the value poked by the upstream device at offset (0 in this case). See section Appendix B.1 for values corresponding to PLC modes.

4.1.10.Map Descriptor Example 7: Read CPU Status:

Defining this Map Descriptor Driver reads the CPU status and stores it in the Data Array DA_STATUS.

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_name

Length

Command_Name

Unit_Number

CMD_STATUS,

DA_STATUS,

0,

REBC,

PLC1,

67,

CPU UNIT STATUS READ

0s

The Driver stores the status information in the named Data Array at consecutive locations starting with Data_Array_Offset.

See Appendix B.1 for further information.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldserver.com

Image 17
Contents Effective for all systems manufactured after May 1 FS-8704-16 Omron FinsTable of Contents Appendix D Revision History Appendix C Troubleshooting tipsAppendix B Driver Notes FS-8704-16 Omron Fins Manual Omron Fins Description Max Nodes Supported FieldServer Mode CommentsFS-8704-16 Omron Fins Manual Driver Scope of Supply Required 3rd Party ConfigurationFieldServer Technologies Description Required 3rd Party HardwareFS-8704-16 Omron Fins Manual Hardware Connections FS-8704-16 Omron Fins Manual Setting the Node NumberSetting the Local IP Address FS-8704-16 Omron Fins Manual Column Title Function Legal Values Section TitleFS-8704-16 Omron Fins Manual Example PLC Word Driver Related Map Descriptor ParametersUnitNumber Unit number of CPU at Cmdcio Dacio Rdbc PLC1 CIO-WORD Memory Area Read MRC -SRC Map Descriptor Example 5 Read CPU Cycle Times Map Descriptor Example 4 Clock WriteMap Descriptor Example 7 Read CPU Status 010 Server Side Connection Descriptors 011 Server Side Node Descriptors CIO-WORD, WR-WORD Data Array Map Descriptor Example 5 CPU Cycle Times Map Descriptor Example 7 CPU Status FS-8704-16 Omron Fins Manual Appendix A. Advanced Topics DIP UM Appendix A.3 End Codes FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual CPU Cycle Time Element Contents Clock Information Element ContentsPLC Mode Stored Value FS-8704-16 Omron Fins Manual Appendix B. Driver NotesElement Contents Description Number Stat Stats Description Number Finsnowrthu Error Message Description and Action RequiredPage Appendix C.1. Connection Tips & Hints FS-8704-16 Omron Fins Manual PMC Comment Ver Rev