Both Buttons at Once
Part of the Latches, Edges and Interlocks section of Coddy's PLC Programming journey. Lesson 13 of 20.
One case is left: Fwd and Rev pressed in the same scan while the motor is stopped. The forward rung is solved first. MotorRev is still off, so forward starts. Then the reverse rung sees MotorFwd on and stays off. The motor runs forward, though the operator pressed both.
The rule on most machines: two commands at once mean neither. Put a normally closed contact of the other button on each start path, next to the button, not on the seal-in path.
Now pressing both does nothing, and the other button cannot disturb a motor that already runs.
Challenge
MediumWith Fwd and Rev held together, the motor must do nothing. Add a normally closed Rev contact after the Fwd contact, and a normally closed Fwd contact after the Rev contact.
Try it yourself
{"v":1,"lang":"ld","tags":[],"rungs":[{"els":[{"t":"par","branches":[[{"t":"no","tag":"Fwd"}],[{"t":"no","tag":"MotorFwd"}]]},{"t":"no","tag":"Stop"},{"t":"no","tag":"Overload"},{"t":"nc","tag":"MotorRev"},{"t":"coil","tag":"MotorFwd"}]},{"els":[{"t":"par","branches":[[{"t":"no","tag":"Rev"}],[{"t":"no","tag":"MotorRev"}]]},{"t":"no","tag":"Stop"},{"t":"no","tag":"Overload"},{"t":"nc","tag":"MotorFwd"},{"t":"coil","tag":"MotorRev"}]}]}All lessons in Latches, Edges and Interlocks
Practice on your own: PLC playground