Target behavior
Lower the cylinder with the Pick-up button, pick up the workpiece by suction, then raise it
What you will learn
This model is about picking up a workpiece by vacuum suction.
Vacuum suction is used in all kinds of equipment. First, watch the video to get an idea of how it is used!
Let's start by learning the mechanism of vacuum suction.
The figure shows the path from the vacuum pump that creates the vacuum to the vacuum pad that holds the workpiece.
With the air cylinder, a solenoid valve switched the positive pressure from a compressor. This time, a solenoid valve switches the negative pressure from a vacuum pump.
In addition, a pressure sensor on the suction piping tells you whether a workpiece is being held (presence detection) by turning ON/OFF.
A real pressure sensor is set to turn ON when the pressure drops below a certain value. In the simulation too, the pressure drops and the pressure sensor turns ON when a workpiece is held by suction.
The motion to reproduce this time is picking up a workpiece by suction. A suction pad is attached to the tip of an air cylinder that moves in the Z direction.
The suction pad touches the workpiece when the air cylinder is fully extended. Start suction at that point, and lift the workpiece only after confirming the pressure sensor is ON.
| Step | Description | Condition to advance | Main outputs |
|---|---|---|---|
MR1 | Lowering | X0 cylinder lowered end | Y0 ON |
MR2 | Suction | X2 suction confirmed | Y0 ON, Y1 SET |
MR3 | Raising | X1 cylinder raised end | Y0 OFF |
Based on this approach, try writing the ladder yourself first.
In the simulator, you can create the wiring and ladder and actually run the 3D equipment model.
| Device | Comment |
|---|---|
| Inputs | |
X0 | Cylinder lowered end |
X1 | Cylinder raised end |
X2 | Suction confirmed |
X3 | Pick-up button |
| Outputs | |
Y0 | Cylinder solenoid valve |
Y1 | Vacuum valve |
Y2 | Running lamp |
| Internal relays | |
MR1 | Lowering |
MR2 | Suction |
MR3 | Raising |
The row numbers in the figures match the row numbers in the simulator's ladder window.
On the rising edge of X3 (Pick-up button), SET MR1. The conditions are: at the raised end X1, not holding a workpiece yet (X2 suction confirmation OFF), and not operating (MR1 to MR3 OFF).
X0 turns ON, go to suctionX2 (suction confirmed) turns ON, go to raisingX1 turns ON, finishBecause it does not rise until suction is confirmed, it never lifts with a failed suction.
Y0 (cylinder solenoid valve): ON in the lowering and suction steps. It keeps pressing at the lowered end during suction.Y1 (vacuum valve): SET in the suction step. Suction must continue after the workpiece is lifted, so it is held with SET instead of OUT.Y2 (Running lamp): lit while any step is ON.The sample wiring and ladder data can be downloaded fromGitHuband loaded with "Load wiring" and "Load ladder" in the simulator.
Key points