JohdotaDevice guide Play
11

Cylinder control

A PLC controls a double-acting pneumatic cylinder with a 5/2 solenoid valve, and position sensors tell it when the cylinder is retracted or extended.

PLCI2I1Q1A1B1B2Y142compressed air
Q1 controls coil Y1 of a spring-return 5/2 valve. Position sensor B1 tells input I1 that the cylinder is retracted, and B2 tells input I2 that it is extended. The sensor supply wires are left out of the figure.

How it works

PLCI2I1Q1A1B1B2Y11At rest

The coil of Y1 is de-energised. The spring holds the valve in its rest position, air goes to port 2 and the cylinder is retracted. B1 signals this to input I1.

PLCI2I1Q1A1B1B2Y12Q1 on

The coil shifts the valve. Air goes to port 4 on the piston side, and the cylinder extends.

PLCI2I1Q1A1B1B2Y13Extended

The piston is at B2, and input I2 turns on. The program knows that the movement is complete.

PLCI2I1Q1A1B1B2Y14Q1 off

The spring returns the valve. Air goes to port 2, and the cylinder retracts until B1 is on again.

The ports of a double-acting cylinder are connected to working ports 2 and 4 of a 5/2 valve, and the valve coil to a PLC output. The position sensors are wired to PLC inputs.

Rest position

A spring-return valve sends air to port 2 when the coil is de-energised, and to port 4 when the coil is energised. Which end of the cylinder each port is connected to decides whether the rest position is retracted or extended. In a power cut, too, the cylinder returns to its rest position, as long as there is compressed air.

Position sensors

The magnet in the piston activates a sensor when the piston is level with it. B1 is on when the cylinder is retracted, and B2 when it is extended. The program waits for the sensor signal before the next movement, so the step sequence moves on only when the movement is complete.

Common mistakes

  • Working ports 2 and 4 are connected the wrong way round. Then the cylinder is extended in its rest position.
  • The program moves on to the next movement after a set time and does not wait for the position sensor. If the cylinder sticks, the program does not notice.

Sources

  1. Festo DSBC-32-80-PPVA-N3: double-acting ISO 15552 cylinder (data sheet 1376425)
  2. Festo MFH-5/2-D-1-FR-C: 5/2 solenoid valve, spring return (data sheet 151016)
  3. Festo SME-8M-DS-24V-K-2,5-OE: reed position sensor (data sheet 543862)
  4. Festo SMT-8M-A-PS-24V-E-2,5-OE: electronic PNP position sensor (data sheet 574335)
  5. SMC: C96 series ISO cylinders, position sensors and how to connect them to a PLC, catalogue