User manual
Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
265
#YDIAG.
cc
RTU diagnostic register
Ch1 Same as #YSYS.WARMST below Read/Write
Ch2 1 = No IO module detected on the backplane OR an IO module
that was detected on the backplane is no longer present. Eg.
Flag is triggered wh
en an IO module is removed while the RTU is
running. Flag is reset when the IO module is re-installed in the
same slot OR after a warm start if the RTU is able to detect at
least one IO module on the backplane.
Read
Ch3 1 = No MC module detected on the b
ackplane OR an MC module
that was detected on the backplane is no longer present. Eg.
Flag is triggered when an MC module is removed while the RTU
is running. Flag is reset when the MC module is re-
installed in the
same slot OR after a warm start if the RTU is able to detect at
least one MC module on the backplane.
Read
Ch4 1 = Real time clock fail. 0 = OK. Loopback testing is only
performed after a warm start.
Read
Ch5 1 = Port 1 internal loopback fail, 0 = OK Read
Ch6 1 = Port 2 internal loopback fail, 0 = OK Read
Ch7 1 = CP-xx Port 3 internal loopback fail, 0 = OK Read
Ch8 Same as #YSYS.SCAN1 below Read
Ch9-14
1 = RAM chip 1 to 6 fail respectively, 0 = OK / RAM Chip not
installed. RAM chip 1 to 6 testing is performed after a cold start.
A CP-10/11 has four RAM chips and a CP-21 has six RAM chips.
Read
Ch15 1 = Watchdog timer fail, 0 = OK. (The RTU has restarted itself
since the last warm or cold start from Toolbox. Reset by a cold or
warm start from Toolbox).
Read
Ch16 1 = Network Data overflow, 0 = OK. It is possible for the CPU to
run out of memory when storing a lot of network data.
Read
#YDIAG2.
cc
RTU diagnostic register 2 (read only)
Ch1 Same as #YSYS.ENABLE below Read/Write
#YEXCEP
CP-x Redundancy changeover status. Returns an integer number in the
low byte (channels 1-8) representing the changeover status and an
integer number in the high byte (channels 9-16) representing the reason
for the changeover. An RTU can force a changeover itself by setting
#YEXCEP=16#800. #YEXCEP will then return 900 Hex after the
changeover. Please see the appendix Redundancy - Redundant CPUs.
Read/Write
Ch1-8 Changeover status (0-255)
0 = Changeover OK
1 = Timeout
2 = CRC Error
3 to 255 = Not used
Read
Ch9-
16
Changeover reason (0-255)
0 = No changeover
1 = User changeover (using Toolbox)
2 = Redundant Duty IO bus failure
3 = Redundant Duty communications bus failure
5 = No communications on IO bus and communications bus
6 = Redundant Standby IO bus failure
7 = Redundant Standby communications bus failure
8 = Ladder changeover request (set using ladder logic)
9 = Ladder changeover performed
10 to 25 = Inactivity on port 1 to 16 respectively
26 = Logic disabled
27 = Other redundant CPU in duty mode
28 to 255 = Not used
Read/Write
#YFIRMW
Firmware version. Returns a 2-byte value corresponding to the firmware
version. Eg. E139 Hex = Version 1.39E
Read