Mitsubishi — 4.2 Explanations on Basic Instructions

4 Basic Instructions Explanations: Similar to OR instruction, ORF instruction connects falling edge triggers in parallel with another device or block. Program Example: Ladder diagram: Instruction: Operation: LD X0 Load NO contact X0 OUT Y1 Drive coil Y1 Explanations: When X0 goes from OFF to ON (Rising-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 SET Y0 Y0 latched (ON) LD M0 Load NO contact M0 Timing diagram:

X0 M0 1scan time Y0 DVP-PM Application Manual 4-11 Mnemonic Function Connect Falling-edge in Parallel ORF X0~X377 Y0~Y377 M0~M4095 S0~S1023 T0~T255 C0~C255 D0~D9999 Operand 9 9 9 9 9 9 - Y1 X1 X1 ORF X1 Connect Falling-edge contact X1 in parallel Mnemonic Function Controllers 20PM 10PM Rising-Edge Output PLS X0~X377 Y0~Y377 M0~M4095 S0~S1023 T0~T255 C0~C255 D0~D9999 Operand - 9 9 - - - - Controllers 20PM 10PM PLS M0 PLS M0 M0 rising-edge output SET Y0