6-3-(19)
Host Link Serial Interface
Section 6-3
Ladder Program
00300
00301
00315
The NG results for data 0 and
data 1 are ORed and the
result is output to IR 00315.
This result is maintained until
the next measurement.
00100
00315
ANDW(34)
DM0110
#0001
DM0201
25506
00215
If the first digit of the data 1
judgement result is equal to 1,
IR 00301 is turned ON to
indicate an NG (no good)
result.
00301
MOV(21)
DM0106
010
25313
Detects a change in the
status of the data 0 write
flags.
DIFD(14)
00201
DIFU(13)
00200
01015
00200
00201
00215
ANDW(34)
DM0107
#0001
DM0200
25506
00215
If the first digit of the data 0
judgement result is equal to 1,
IR 00300 is turned ON to
indicate an NG (no good)
result.
00300
DIFU(13)
00100
00001
CMP(20)
DM0100
#0000
00100
MOV(21)
#0010
DM0100
25506
When the external switch (IR
00001) goes from OFF to ON, the
measurement command (0010) is
written to the input command area
if the area was cleared to 0000.