EasyManua.ls Logo

LSIS XGK-CPUU - External Device Error Diagnosis

LSIS XGK-CPUU
205 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 Function of CPU Module
6 - 11
6.7 External Device Error Diagnosis
This is the flag provided so that the user can detect the error of external device and realize the stop and
warning of system easily. By using this flag, it enables to indicate the error of external device without
preparing the complicated program and monitor the error position without special device (XG5000) or
source program.
1) Detection and classification of external device error
(1) The error of external device is detected by the user program and classified by heavy error that needs
to stop the PLC operation and light error (warning) that continues the PLC operation and only indicates
the error state, according to the contents of detected error.
(2) For heavy error, ‘_ANC_ERR flag’ is used and for light error, ‘_ANC_WAR flag’ is used.
2) Treatment of heavy error of external device
(1) In case that heavy error of external device is detected in the user program, classify the type of error
defined by the user and write the value except ‘0’ in the system flag ‘_ANC_ERR’, and set system flag
‘_CHK_ANC_ERR’. System representative error flag ‘_ANNUN_ER’ of ‘_CNF_ER’ is set, PLC shall shut
off all output module and becomes the error state same as PLC own error detection.
(2)
If the error occurs, the user can find the cause of error by using a XG5000 or by monitoring
‘_ANC_ERR flag’.
(3 It is available to write the error code assigned temporarily by the user at _ANC_ERR and the available
numbers are from 1 to 65,535.
Example
3) Treatment of light error of external device
(1) In case that heavy error is detected in the user program, classify the type of error defined by the user
and write the value except ‘0’ in the system flag ‘_ANC_WAR’, and set system flag ‘_CHK_ANC_WAR’.
Then, system representative error flag ‘_ANNUN_WAR’ of ‘_CNF_WAR’ is set and light error code of
external device is saved at _ANC_WAR.
(2) If the error occurs, the user can find the cause of error by monitoring ‘_ANC_WAR’ flag directly.
(3) If the light error of external device is released, ‘_ANC_WAR’ will be released after user program is
executed and system flag ‘_ANNUN_WAR” of ‘_CNF_WAR’ will be reset.

Table of Contents