Pneumatics#

Set Pneumatic Pump#

The Set Pneumatic Pump block is used to set the CTE pneumatic solenoid to turn the pneumatic pump on or off indefinitely, or until another Set Pneumatic Pump block is used. Turning the pump on will refill the attached air tank.

This is a non-waiting command and allows any subsequent commands to execute without delay.

  set [Pneumatic1 v] pump to [on v]

Select which Pneumatic system to use.

Diagram illustrating the Set Pneumatic Pump and Cylinder blocks for controlling pneumatic systems in a project.

Select whether to turn the pneumatic pump on or off.

Diagram illustrating the Set Pneumatic Pump block for controlling pneumatic pump activation in a pneumatic system.

In this example, the pneumatic pump will turn off when the project started and turn on after 2 seconds.

  when started :: hat events
  [Turn the pneumatic pump off at the start of the project.]
  set [Pneumatic1 v] pump to [off v]
  [Wait 2 seconds before turning the pneumatic pump on]
  wait (2) seconds
  set [Pneumatic1 v] pump to [on v]

Set Pneumatic Cylinder#

The Set Pneumatic Cylinder block is used to Sets a specified CTE pneumatic cylinder to extend or retract indefinitely, or until another Set Pneumatic Cylinder block is used.

This is a non-waiting command and allows any subsequent commands to execute without delay.

  set [Pneumatic1 v] [cylinder1 v] to [extend v]

Select which Pneumatic system to use.

Diagram of a pneumatic system showing the Set Pneumatic Pump and Set Pneumatic Cylinder blocks in action.

Select which cylinder to use.

Diagram illustrating the Set Pneumatic Cylinder block for extending and retracting a pneumatic cylinder in a system.

Select whether to extend or retract the specified cylinder.

Diagram illustrating the Set Pneumatic Cylinder block for extending or retracting a pneumatic cylinder in a control system.

In this example, cylinder 1 will extend for 1 second before retracting.

  when started :: hat events
  [Extend cylinder 1 at the start of the project.]
  set [Pneumatic1 v] [cylinder1 v] to [extend v]
  [Retract cylinder 1 after 2 seconds.]
  wait (2) seconds
  set [Pneumatic1 v] [cylinder1 v] to [retract v]