I'm developing my first PLC Ladder Diagram to control two motors(left & right) that turn screw jacks that move from a stowed position, to a deployed position - see attached. The DC motors are reversible, to rotate the screws from stowed to deployed, and back. There are four limit switches (stow left & right, deploy left & right). Plus, there are two momentary switches - one for deploying (AKA Open), one for stowing (AKA Close).
I have an Arduino OPTA PLC, and have programmed it using the LD shown in the attachment. The LD drives the motors correctly, except at the transition between fully deployed, and stowing, and then from fully stowed to deploying. I don't know how to make the LD come off of the limit switches, to get going. Currently, my Stow limit switches are NO, and the Deploy limit switches are NC - but I can changed them, if needed.
I'd appreciate some help figuring this out. I'm using the ArduinoPLC IDE, and can share any files needed to replicate my work.
Thanks,
Bob
I have an Arduino OPTA PLC, and have programmed it using the LD shown in the attachment. The LD drives the motors correctly, except at the transition between fully deployed, and stowing, and then from fully stowed to deploying. I don't know how to make the LD come off of the limit switches, to get going. Currently, my Stow limit switches are NO, and the Deploy limit switches are NC - but I can changed them, if needed.
I'd appreciate some help figuring this out. I'm using the ArduinoPLC IDE, and can share any files needed to replicate my work.
Thanks,
Bob

