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

Models: FS-8704-16

1 40
Download 40 pages 6.81 Kb
Page 17
Image 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

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