Chapter 12. Diagnostics
GFK-2224Q
January 2017
219
12.7
Monitoring the FT Output of the COMMREQ Function Block.
The COMMREQ function block indicates its status through its FT output:
(Enable )
-------------
(Command Block address)
(Rack/Slot Location of
the Ethernet Interface)
(Task value)
-
-
-
-
Function Faulted (logic)
COMM
REQ
IN FT
SYSID
TASK
-
CommReq Delivered
Figure 90: Monitoring FT Output in COMMREQ Function Block
If after executing a COMMREQ Function, the FT Output is ON, there is a programming error in one or more of
the following areas.
▪
Invalid rack/slot specified. The module at this rack/slot is unable to receive a COMMREQ Command Block.
▪
Invalid Task ID. This value should always be 65536 decimal (10000H) for the CPU Ethernet daughterboard,
or 0 decimal (0000H) for the Ethernet module.
▪
Invalid Data Block length (0 or greater than 128).
This output also may indicate that no more COMMREQ functions can be initiated in the ladder program until the
Ethernet Interface has time to process some of the pending COMMREQ functions.
If the FT Output is set, the CPU did not transfer the Command Block to the Ethernet Interface. In this case, the
other status indicators are not updated for this COMMREQ. The Ethernet Interface is unable to return a
COMMREQ Status Word to the PLC logic application.
12.8
Monitoring the COMMREQ Status Word
Every COMMREQ Command Block instruction specifies a 1-word memory address to receive status information
about the execution of the command.
Before executing a COMMREQ for the Ethernet interface, the application program logic should the associated
status word zero (for example, using a MOVE Word instruction). After executing a COMMREQ, the program
should monitor its status word. If the status word is updated to a one (1), the command has been processed
successfully. If the status word is updated to a value other than 1, an error has occurred. Any data returned by
that command should not be used until the problem is corrected and the status word indicates success. It is
critical to monitor the COMMREQ status word for each COMMREQ function. .
If after executing a COMMREQ function, the COMMREQ status word is zero (0), the success Output is ON and the
FT Output is OFF, the Command Block has been sent to the Ethernet Interface, but no status has been returned.
If this condition persists, check the Controller Fault Table for information.
Содержание PACSystems RX7i
Страница 45: ......
Страница 54: ...Chapter 4 Configuration GFK 2224Q January 2017 41 Figure 18 CPE400 Advanced Ethernet Configuration LAN1 LAN 2 ...
Страница 80: ...Chapter 4 Configuration GFK 2224Q January 2017 67 ...
Страница 81: ......
Страница 122: ...Chapter 6 Programming EGD Commands GFK 2224Q January 2017 109 ...
Страница 142: ...Chapter 7 Programming SRTP Channel Commands GFK 2224Q January 2017 129 Figure 51 Sample Ladder Logic for COMMREQ ...
Страница 147: ......
Страница 193: ...Chapter 10 OPC UA Server 180 PACSystems RX7i RX3i TCP IP Ethernet Communications User Manual GFK 2224Q Example ...
Страница 202: ...Chapter 10 OPC UA Server GFK 2224Q January 2017 189 Figure 73 Machine Edition Online Command to Set Passwords ...
Страница 211: ......
Страница 253: ...Chapter 12 Diagnostics 240 PACSystems RX7i RX3i TCP IP Ethernet Communications User Manual GFK 2224Q ...
Страница 262: ...Chapter 13 Network Administration GFK 2224Q January 2017 249 ...
Страница 263: ......