57

Using the above System, the following programming, which is started by start

input 0000 in PC (A), will compare the contents of DM 0200 in PCs (C) and

(D) and output an alarm signal if the contents differ.

LR
3200
LR
0000
LR
4900
LR
0000
CMP(20)
LR 14
LR 48
LR 1500
00000
MOV(21)
LR 14
LR 48
LR 1500
LR 3200
MOV(21)
DM 0200
LR 14
LR 0000
LR
1500
MOV(21)
DM 0200
LR 14
LR 0000
LR 4900
01000
25506
Start input
Equal flags
Alarm output
LR
1500
Input 0000 ON
LR 0000 ON LR 0000 ON
LR 3200 ONDM 0200LR 14 LR 3200 ON
LR 0000 ON LR 0000 ON
LR 1500 ON
DM 0200LR 14
LR 1500 ON
LR 4900 ON
LR 14LR 48
LR 1500
LR 4900 ON
>
LR 14LR 48
Alarm output 01000 ON
NO
YES
LR 1500 ON
PC (C) Programming PC (A) Programming PC (B) Programming PC (D) Programming

Programming Example 2

Programming Examples Section 6-3