4 Basic Instructions
DVP-PM Application Manual
4-10
Similar to AND instruction, ANDP instruction connects rising-edge trigger in series with another device or block.
Program Example:
Ladder diagram: Instruction: Operation:
LD X0 Load NO contact X0
ANDP X1
Connect rising-edge contact X1 in series
X1X0
Y1
OUT Y1 Drive coil Y1
Mnemonic Function
ANDF
Connect Falling-edge in Series
Controllers
20PM 10PM
X0~X377 Y0~Y377 M0~M4095 S0~S1023 T0~T255 C0~C255 D0~D9999
Operand
9 9 9 9 9 9
-
Explanations:
Similar to AND instruction, ANDF instruction connects falling edge trigger in series with another device or block.
Program Example:
Ladder diagram: Instruction: Operation:
LD X0 Load NO contact X0
ANDF X1
Connect falling-edge contact X1 in series
X1X0
Y1
OUT Y1 Drive coil Y1
Mnemonic Function
ORP
Connect Rising-edge in Parallel
Controllers
20PM 10PM
X0~X377 Y0~Y377 M0~M4095 S0~S1023 T0~T255 C0~C255 D0~D9999
Operand
9 9 9 9 9 9
-
Explanations:
Similar to OR instruction, ORP instruction connects rising edge triggers in parallel with another device or block.
Program Example:
Ladder diagram: Instruction: Operation:
LD X0 Load NO contact X0
ORP X1
Connect rising-edge contact X1 in parallel
X0
X1
Y1
OUT Y1 Drive coil Y1