double-acting pneumatic cylinder


By switching SWITCH_BUTTON, we activate and deactivate alternately the MOVE+ and MOVE- inputs in the actuator model, which extends and retracts its piston rod.
A 3D model of the actuator piston rod ('tlok silownika.STL') is attached to the AXIS_1 coordinate system.
By moving the 'SPEED%' slider, we change the speed of movement from 0% to 100% of the maximum speed set at the MAX VEL input.
In limit positions, limit switches are activated, from which the signal is available on the MAX_Limit and MIN_Limit outputs of the ‘siłownik dwustr' block.
 


After downloading and opening the project file, first run the simulation in the 3D visualization window, and then on the function block diagram:




Download the project file

Description of the linear module model function block and link to download the function block itself.