4 Basic Instructions Explanations: When X0 goes from ON to OFF (falling-edge triggered), PLS instruction executes and M0 generates a pulse with the pulse width of one scan time. Program Example: Ladder diagram: Instruction: Operation: X0 M0 LD X0 Load NO contact X0 LD M0 Load NO contact M0 SET Y0 Y0 latched (ON) Timing diagram: X0 M0 1 scan time Y0 Explanations: be used starting from P0. However, number of P cannot be repeated, otherwise unexpected errors may occur. Pointer P is used in API 00 CJ, API 01 CALL, API 256 CJN and API 257 JMP instructions. Pointer P does not need to Program Example: Ladder diagram: Instruction: Operation: LD X0 Load NO contact X0 CJ P10 Jump to P10 subroutine :
LD X1 Load NO contact X1 OUT Y1 Drive coil Y1 DVP-PM Application Manual 4-12 Mnemonic Function Controllers 20PM 10PM Falling-Edge Output PLF X0~X377 Y0~Y377 M0~M4095 S0~S1023 T0~T255 C0~C255 D0~D9999 Operand - 9 9 - - - - Controllers 20PM 10PM PLF M0 PLF M0 M0 falling-edge output SET Y0 Mnemonic Function Controllers 20PM 10PM Pointer P Operand P0 ~ P255 Controllers 20PM 10PM CJ P10 P10 X1 Y1 CJ P10 P10 Pointer P10