© 2008 Festo Corporation 63 U
Getting Started with Festo MecLab
Handling Station
Table 6.1: Assignment table for the handling station
Analysis of the task
Before programming, you should be clear about the task. Normally, it is a good idea to
describe the task in your own words or to create a flow chart.
The piston of the horizontal, double-acting cylinder is to advance from its normal position
(retracted).
The command for this is issued via a pushbutton in FluidSIM®.
The cylinder may advance only if it is in the retracted position. This can be verified by the
proximity sensor (labeled 1S1) in the schematic and in the circuit diagram.
The return stroke is to be executed by means of a second pushbutton. The cylinder
may retract only if it has been verified that it is in the fully extended position.
The sensor for the forward end position is labeled 1S2 in the schematic diagram.
Two pushbuttons for operation are needed in the FluidSIM® program.
The horizontal cylinder is activated using a 4/2-way double solenoid valve. Switching on valve
solenoid 1M1 will cause the cylinder to extend. Switching on valve solenoid 1M2 will cause
the cylinder to retract (as long as no current is being applied to valve solenoid 1M1).
Since the valve is a double solenoid valve, a short current pulse is sufficient to keep the valve
(and the cylinder) in the respective position.
Slot Assignment Description
0 1S2 Sensor for cylinder extended position
2 1S1 Sensor for cylinder retracted position
1 1M1 Valve solenoid (extend cylinder)
3 1M2 Valve solenoid (retract cylinder)