3 Basic Instructions
DVP-PLC Application Manual
3-5
Mnemonic Function Program steps
ORI
Parallel connection- B contact 1
Controllers
ES EX SS SA SX SC EH SV
X0 ~ X377 Y0 ~ Y377 M0 ~ M4095 S0 ~ S1023 T0 ~ T255 C0 ~ C255 D0 ~ D9999
Operand
9 9 9 9 9 9
-
Explanations:
The OR instruction is used in the parallel connection of B contact. The functions are to read out the status of present
designated parallel connection contacts and perform the “OR” operation with the logical operation result obtained.
The final result will be store in the accumulative register.
Program Example:
Ladder diagram: Instruction code: Operation:
LD X0 Loading in contact A of X0
ORI X1 Connecting to contact B of X1 in parallel
X0
X1
Y1
OUT Y1 Driving Y1 coil
Mnemonic Function Program steps
ANB
Series connection- loop blocks 1
Controllers
ES EX SS SA SX SC EH SV
Operand
N/A
Explanations:
To perform the “AND” operation of the preserved logic results and content in the accumulative register.
Program Example:
Ladder diagram: Instruction code: Operation:
LD X0 Loading in contact A of X0
ORI X2 Connecting to contact B of X2 in parallel
LDI X1 Loading in contact B of X1
OR X3 Connecting to contact A of X3 in parallel
ANB Connecting circuit block in series
X0
X2
Y1
X1
X3
ANB
Block A Block B
OUT Y1 Driving Y1 coil