445
CHKCIR, CHKEND
1
2
3
4
4
6
7
8
7.10
Debugging an
d failure
diagn
osis
instructions
7.10.2
CHKCIR
, CHKEND
1) If SM710 is OFF, checks will be conducted of coil numbers 1 through the end for each contact successively.
[Ladder designated by CHKCIR to CHKEND] [Order of check by CPU module]
2) If SM710 is ON, checks will be conducted of contact numbers 1 through the end, in coil number order.
[Ladder designated by CHKCIR to CHKEND] [Order of check by CPU module]
(b) Failure checks check the ON/OFF status of OUT F
by using the ladder pattern in the various check conditions.
In all check conditions, SM80 will be turned ON if even one of the OUT F
is ON in a ladder pattern.
Further, the error numbers (contact numbers and coil numbers) corresponding to the OUT F
which were found to
be ON will be stored from SD80 in BCD order.
(c) The instructions that can be used in ladder patterns are as follows:
Contacts......LD, LDI, AND, ANI, OR, ORI, ANB, ORB, MPS, MPP, MRD, and comparative operation instructions
Coil..............OUT F
(d) The following devices can be used for ladder pattern contacts:
Input (X), Output (Y)
(e) Only annunciators (F) can be used in ladder pattern coils.
However, since annunciators (F) are used as a dummy, any value can be set for an annunciator (F).
Further, they can overlap with no difficulties.
(f)
ON/OFF controls can be performed without error if an annunciator (F) used during the execution of the CHK
instruction has the same number as an annunciator (F) used in some other context than the CHK instruction. They
will be treated differently during the CHK instruction than they are in the different context.
X2
CHKST
X8
SM400
CHK
CHKCIR
X10Z0 X12Z0 Y40Z0 X6Z0
Y5EZ0 X21Z0 Y46Z0 X1AZ0
Y5FZ0 X22Z0
SM400
CHKEND
F0
F1
F2
X8Z0
X18 X1A
Y48 XE
Y66 X29
Y4E X22
Y67 X2A
F0
F1
F2
X10
X12 X14
Y42 X8
Y60 X23
Y48 X1C
Y61 X24
F0
F1
F2
XA
Ladder
equi
v
alent to X2
Ladder
equi
v
alent to X8
X2
C
HK
S
T
X8
SM
4
00
C
HK
C
HK
C
I
R
SM
4
00
C
HKEN
D
F
0
F
1
F
2
Y
66 X29
Y4E
X22
Y
67 X2A
F
2
X12 X1
4
Y4
2 X8
X12 X1
4
XA
F
0
F
0
F
1
X18 X1A
Y4
8 X
E
Y
18 X1A
X10
F
1
Y
60 X23
Y4
8 X1C
X61 X2
4
F
2
X10Z0 X12Z0
Y4
0Z0 X6Z0
Y
5
E
Z0 X21 Z0
Y4
6Z0 X1AZ0
Y
5
F
Z0 X22Z0
X8Z0