Chapter 6 Instruction Details
XBC E-Type Main Unit
6-133
Ver. 1
2) AND
x
(Byte: 8=, 8>, 8<, 8>=, 8<=, 8<>) (Nibble: 4=, 4>, 4<, 4>=, 4<=, 4<>)
a) Ladder Structure: If the contact C1 is on AND the
x
comparision condition is true, then coil CR1 will be On.
Otherwise CR1 will be Off.
MOV 1500 P1600
P00000
4= D01000.5 D02000.5
When Data Register D01000.5 = D02000.5 (i.e D01000.5 = 255; D02000.5 = 255) AND contact P00000 is On,
‘1500’ is then saved in P1600 (I/O Decive) area.
MOV 1500 P1600
P00000
8= D01000.5 D02000.5
1) OR
x
(Byte: 8=, 8>, 8<, 8>=, 8<=, 8<>) (Nibble: 4=, 4>, 4<, 4>=, 4<=, 4<>)
a) Ladder Structure: If contacts C1 and C2 are On, OR if
x
comparison condition is true, coil CR1 will be on.
Otherwise CR1 will be Off.
b) Example: If contact P00000 is On OR if Data Register D01000.5=D02000.5 (i.e D01000.5=10;
D02000.5=10), ‘1500’ is saved in P1600 (I/O Device) area.
MOV 1500 P1600
P00000
4= D01000.5 D02000.5
c) Example: If contact P00000 is On OR if Data Register D01000.5=D02000.5 (i.e D01000.5=255;
D02000.5=255), ‘1500’ is saved in P1600 (I/O Device) area.
MOV 1500 P1600
P00000
8= D01000.5 D02000.5
x
S1
S2
AND
x
Contact
Coil
CR1
C1
x
S1
S2
OR
x
Contacts
Coil
C1 C2
CR1
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...