443
CHKST, CHK
1
2
3
4
4
6
7
8
7.10
Debugging an
d failure
diagn
osis
instructions
7.10.1
CHKST, CHK
(7) Place LD and AND instructions prior to the CHK instruction to establish a check condition.
Check conditions cannot be set using other contact instructions.
If a check condition has been set with LDI or ANI, the processing for the check condition they specify will not be
conducted.
However, contact numbers during failure detection can also be allocated to the LDI and ANI instructions.
(8) The failure detection method differs according to whether SM710 is ON or OFF.
(a) If SM710 is OFF, checks will be conducted of coil numbers 1 to 6 for each contact successively.
When the CHK instruction is executed, checks will be in order from coil No. 1 of contact No. 1, through coil No. 6,
then move on to contact No. 2 and check the coils in order from No. 1.
The CHK instruction will be completed when coil No. 6 from contact No. n has been checked.
(b) If SM710 is ON, checks will be conducted of contact numbers 1 through n, in coil number order.
When the CHK instruction is executed, checks will begin with the ladder for coil No. 1, in order from contact No. 1
until contact No. n, then move on to the coil No. 2 ladder and begin from contact No. 1.
The CHK instruction will be completed when a check has been made through contact No. n of coil No. 6.
(9) If more than one failure is detected, the number of the first failure detected will be stored.
Failure numbers detected after this will be ignored.
(10) The CHK instruction cannot be used by a low speed execution type program.
If a low speed execution type program has been set in a program file containing the CHK instruction, an operation error
will be returned, and the CPU module operation will be suspended.
Operat
i
on
E
rror
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4235
There is a parallel ladder.
There is an NOP instruction.
There are more than 150 contact instructions.
A CHK instruction is not executed after the CHKST instruction.
The CHK instruction is executed when no CHKST instruction has been
executed.
The CHKST and CHK instruction are used in a low speed execution
type program.
There is an instruction other than the LD, LDI, AND or ANI instruction
between the CHK instruction and the CHKST instruction.
The CHK instruction is used on three or more points in all of the
program files being executed.
The CHK instruction is used on two more points a single program file.
––
––
––
C
HK
X5
Does
not
execute
check
X7
X9
XA
X1A
X1C
1
2
3
4
Contact
N
o
.
Contact
numbers
are
a
ll
ocated