Traditional Culture Encyclopedia - The 24 Solar Terms - How to control the expansion and contraction of cylinder with circuit PLC

How to control the expansion and contraction of cylinder with circuit PLC

The landlord's request is very simple, but the wiring diagram and gas diagram of PLC are a little unclear. Let me tell you what to do if I expand and contract a cylinder:

I chose the relay output PLC in Omron CP1E. The control button is self-replicating, with a two-position five-way solenoid valve, a common cylinder and two limit magnetic switches.

0.00 is connected to start, 0.0 1 is connected to stop, 0.02 is connected to left limit, 0.03 is connected to right limit, and the output of 100.00 is connected to solenoid valve coil.

Direct programming, press 0.00 to move, press 0.0 1 to return to the original position.

Note: Generally, the cylinder has a default initial state, which is either extended or retracted, so it is not necessary to use PLC to control double coils, and a single coil is enough.