Description of the status data, Ft output of the commreq function block – FANUC Robotics America GFK-1541B User Manual

Page 99

Advertising
background image

3-32

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

May 2002

GFK-1541B

3

The COMMREQ Status word (CRS word) is returned from the Ethernet Interface to the PLC
CPU immediately if the Command Block contains a syntax error or if the command is local.
For remote commands with no syntax error, it is returned either after the channel is
established successfully and the first transfer has completed or if there is an error establishing
the channel. The location of the CRS word is defined in the Command Block for the
COMMREQ function.

The Detailed Channel Status words (DCS words) are returned from the Ethernet Interface to
the CPU only by executing the Retrieve Detailed Channel Status Command. If a channel
error is indicated (by the Channel Error bit) after the channel is established, the first word of
the DCS words will contain an error code indicating the cause of the error. The second word
of the DCS words indicates whether the channel is active or idle.

Be aware that the Detailed Channel Status words are updated every time the status of the
channel changes. If, for example, the channel is operating with a fast repetition period, the
status words may change faster than the ladder executes the COMMREQ to retrieve them.
Therefore, some status values may be missed from the ladder’s point of view.

Description of the Status Data

The errors and status reported in each type of status data are described below.

OK Output of the COMMREQ Function Block (Series 90-70 PLCs Only)

The OK output is set if the PLC CPU has successfully delivered the COMMREQ to the Ethernet
Interface.

FT Output of the COMMREQ Function Block

The FT Output passes power upon the following errors:

ƒ

Invalid rack/slot specified. The module at this rack/slot is unable to receive a COMMREQ.

ƒ

Invalid Task ID.

ƒ

Invalid Data Block length (zero or greater than 128).

ƒ

Too many simultaneous active COMMREQs (overloading either the PLC CPU or the
Ethernet Interface).

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

Advertising