Target behavior
Rotate the table 90° with a button, stop for 3 seconds, then return it to the original position. Light the Running lamp during operation
What you will learn
Pneumatic actuators can be used not only for straight push/pull motions but also for rotation.
In this model, rotation is controlled with a pneumatic actuator.
Watch the video to see how the rotary motion is achieved.
The type of motion is different, but the control method is the same as the linear air cylinder in Problems 4 and 5.
The rotation is controlled by turning the solenoid valve ON/OFF, and the table position is checked with auto switches.
In this model, turning the solenoid valve coil ON rotates the table by 90°.
Reproduce a motion that rotates 90°, stops for 3 seconds, and returns to the original position. Also, light the Running lamp during the operation.
MR1 to MR3) to show which step is active.
All the following problems are written with this step control.| Step | Description | Condition to advance | Main outputs |
|---|---|---|---|
MR1 | Rotating | X1 after rotation | Y0 ON |
MR2 | Stopped after rotation | T0 3 s elapsed | Y0 ON |
MR3 | Returning | X0 before rotation | 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 | Before rotation |
X1 | After rotation |
X2 | Button |
| Outputs | |
Y0 | Rotary table solenoid valve |
Y1 | Running lamp |
| Internal relays | |
MR1 | Rotating |
MR2 | Stopped after rotation |
MR3 | Returning |
| Timers | |
T0 | Dwell time after rotation |
The row numbers in the figures match the row numbers in the simulator's ladder window.
On the rising edge of X2 (button), SET MR1 (the first step). There are two conditions:
X0: the table is at the before-rotation positionMR1 to MR3 are all OFF: it is not already operating (pressing the button during operation is ignored)When "the current step" and "its completion condition" are both satisfied, SET the next step and RES the current step. This is the basic form of step control.
X1 (after rotation) turns ON, go to stoppedT0 has counted 3 seconds, go to returningX0 (before rotation) turns ON, RES returning and finishT0 only while stopped (preset 30 = 3 seconds)Y0 (rotary table solenoid valve): ON while rotating and stopped. It turns OFF while returning, and the table goes back.Y1 (Running lamp): lit while any of the three steps is ON.Outputs are written together as N.O. contacts of the steps in parallel (OR). You can see at a glance which step outputs what, and it prevents writing the same coil in multiple places (double coil).
The sample wiring and ladder data can be downloaded fromGitHuband loaded with "Load wiring" and "Load ladder" in the simulator.
Key points