4 Step Ladder Instructions Separating steps SFC: Ladder diagram: in different sequences. S1 OUT S0 S Driving the separating of steps S21 S41 S21 S X2 Using OUT S42 Step sequence initiated by S0 X2 OUT S23 S S42 S42 S1 RET S23 S43 S42 S Two different step sequence: S0 and S1 S23 returns to initial step S0 by using OUT. S43 returns to initial step S1 by using OUT. S43 S Step sequence initiated by S1 S RET If M1014 is used, and M1040 is On, the steps in the same sequence will be cleared to Off. Ladder diagram: S0 Driving the jumping of step S21 S S X2 Using OUT S24 If M1040 is On, the state transfers to S21 in the OUT sequence.
If X2 is On, the state of S21 will be cleared, ,and wil not be transferred to S24. S24 S23 S S24 Returning to the initial step S25 S Using OUT S0 S S0 X7 If M1040 is On, the state transfers to S25 in the OUT sequence. If X7 si On, the state of S25 will be cleared, and will not be transferred to S0. RET 6. Cautions for Driving Output Point: See the figure below. After the step point and once LD or LDI instructions are written into the second line, the bus will not be able to connect directly to the output coil, and errors will occur in the compilation of the ladder diagram. You have to correct the diagram into the diagram in the right hand side for a correct compilation.
BUS Y0 S S n Y0 S S n M0 Y1 Y2 or Y2 M0 Y1 Modifying the position of M0. contact in RUN mode DVP-PLC Application Manual 4-7 OUT S0 S n S Y0 M0 Y1 M1000 Y2