Chapter 5. Power Supply / CPU
5-32
3) External device Ordinary-fault (warning) Processing
(1) If a warning of external device is detected and the corresponding flag of the system flag _ANC_WB[n] is set to on, the
flag will checked from the _ANC_WB[0] at the time that scan program finishes its execution. If an error is indicated on
the flag, it will be also indicated on the _ANNUN_WR of the representative system warning flag _CNF_WAR. External
device waning numbers will be written to from _ANC_WAR [0] to ANC.WAR [7] according to occurrence sequence.
(2) The user can know the cause of error by use of the GMWIN, and also by direct monitoring of the flags _ANC_WAR[n]
and _ANC_WB[n].
(3) If an external device waning is removed, that is, the elements of _ANC_WB [n] are released from warning, the
corresponding _ANC_WAR [n] will be automatically cleared, If all element flags are cleared, the flag _ANNUN_WR of
the system flag _CNF_WAR will be reset.
Example
Flag Status Description
_ANNUN_WR = 1
_ANC_WAR[0] = 10
_ANC_WAR[1] = 0
_ANC_WAR[2] = 0
_ANC_WAR[3] = 0
_ANC_WAR[4] = 0
_ANC_WAR[5] = 0
_ANC_WAR[6] = 0
_ANC_WAR[7] = 0
If the user program had detected a system fault and set _ANC_WB [10] to ON, the states of _
ANNUN_WR and _ANN_WAR [0..7] will be shown as left after the scan has been finished.
_ANNUN_WR = 1
_ANC_WAR[0] = 10
_ANC_WAR[1] = 1
_ANC_WAR[2] = 2
_ANC_WAR[3] = 3
_ANC_WAR[4] = 15
_ANC_WAR[5] = 40
_ANC_WAR[6] = 50
_ANC_WAR[7] = 60
After the next scan has been finished, if the numbers 1, 2, 3,10,15 40, 50, 60 and 75 of
_ANC_WB [n] are tuned on _ANC_WAR [n] will be shown as left.
As the number 10 has turned on (has occurred) in the previous scan, though the number 10 h
as lower priority than the numbers 1, 2 and 3, it will be the lower element of _ANCWAR [n]. T
he _ANC_WB [75] is not indicated as it is turned on and the warning that occurred before has
written to the _ANC_WARIn1.
_ANNUN_WR = 1
_ANC_WAR[0] = 1
_ANC_WAR[1] = 2
_ANC_WAR[2] = 3
_ANC_WAR[3] = 15
_ANC_WAR[4] = 40
_ANC_WAR[5] = 50
_ANC_WAR[6] = 60
_ANC_WAR[7] = 75
After the next scan has been finished, if the numbers 1, 2, 3, 10, 15, 40, 50, 60 and 75 of
_ANC_WB [n] are tuned on _ANC_WAR [n] will be shown as left.
The No. 10 warning has been released the content of _ANC_WAR [0] will be cleared and the c
ontents of _ANC_WAR [1..7] will shift into the lower elements. The content of _AN7_WAR [7] will
has been cleared by the shifting and the content of _AN7_WB [75] will be written to _ANC_WA
R[7].
_ANNUN_WR = 0
_ANC_WAR[0] = 0
_ANC_WAR[1] = 0
_ANC_WAR[2] = 0
_ANC_WAR[3] = 0
_ANC_WAR[4] = 0
_ANC_WAR[5] = 0
_ANC_WAR[6] = 0
_ANC_WAR[7] = 0
If all warnings indicated on the _ANC_WB [n] are released during operation, the ANNUN_WR an
d _ANC_WAR [n] will be shown as left.