FANUC Robotics America GFK-1541B User Manual

Page 145

Advertising
background image

4-30

TCP/IP Ethernet Communications for the Series 90™ PLC User's Manual

May 2002

GFK-1541B

4

10

11

12

13

Rung # 10: The COMMREQ Function Block has three input parameters and one output
parameter.

ƒ

The IN field points to the starting location of the Command Block parameters (%R00301 in
this example).

ƒ

The SYSID field of the COMMREQ Function Block defines the target rack and slot of the
Ethernet Interface to receive the command data. This is a hexadecimal word value that gives
the rack (high byte) and slot (low byte) location of the Ethernet Interface module. In the
example ladder diagram shown, which is taken from a VersaPro screen, the first three
number places (from left to right) are zeros and are not displayed; only the last number, 4,
appears. This indicates rack 0, slot 4.

ƒ

The TASK field of the COMMREQ Function Block indicates which mailbox task ID to use
for the specified rack and slot. For the Series 90-30 Ethernet Interface this value should
always be zero.

ƒ

The FT output (energizes the READ_FLT coil in this example) is turned ON (set to 1) if
there were problems preventing the delivery of the Command Block to the Ethernet Interface.
In this case, the other status indicators are not updated for this COMMREQ.

Rung # 11: When ETH_READY is set the CRS word for the Modbus/TCP Read commreq is
monitored for a status of 1, indicating that the Read commreq completed successfully. The CRS
word change to 1 sets coil READ_SUCCESS.

Rung # 12: When READ_SUCCESS is set it triggers CLOSE_REQ, which enables execution of
the BLKMOV, MOVE and COMMREQ functions for the Close Modbus/TCP Connection

www.cadfamily.com EMail:[email protected]
The document is for study only,if tort to your rights,please inform us,we will delete

Advertising