I want to make a small prog.with S7-300.There is an elevator.Upstroke output is a Q4.0 and downstroke is Q5.0.Normally elevator is up and down one time.But if I want two times up and down move for elevator ( I will use a selector key for this )How can I success very simply?Thanks is advance..
Old prog.is;
A M3.3
=Q4.0 // Elevator is upstroke
A M3.3
A I2.7 // Limit switch spiral carriage up
S M3.4
R M3.3
A M3.4
=Q5.0 // Elevator is downstroke
Old prog.is;
A M3.3
=Q4.0 // Elevator is upstroke
A M3.3
A I2.7 // Limit switch spiral carriage up
S M3.4
R M3.3
A M3.4
=Q5.0 // Elevator is downstroke