气动#

介绍#

Pneumatics allow the VEX IQ Pneumatic Solenoid to control the flow of compressed air to a pneumatic cylinder. These controls can extend or retract the cylinder by setting the solenoid to direct air appropriately.

Below is a list of all blocks:

设置气缸#

设置气缸块伸出或缩回气缸。

设定 [Pneumatic 1 v] [cylinder1 v] 为 [extend v]

参数

描述

气动

使用哪种气动系统,在设备窗口中配置。

圆柱

哪个气缸伸出或缩回,在设备窗口中配置。

状态

需要设置的气缸状态:

  • 伸出
  • 缩回

例子

当开始
[Extend and retract the Pneumatic Cylinder.]
设定 [Pneumatic 1 v] [cylinder1 v] 为 [extend v]
等待 (2) 秒
设定 [Pneumatic 1 v] [cylinder1 v] 为 [retract v]

设置泵#

设置泵打开或关闭气泵。

设定 [Pneumatic 1 v] 气泵为 [on v]

参数

描述

气动

在设备窗口中配置要打开或关闭的气泵。

状态

需要设置的气泵状态:

  • 开启
  • 关闭

例子

当开始
[Turn off the air pump after extending and retracting.]
设定 [Pneumatic 1 v] [cylinder1 v] 为 [extend v]
等待 (2) 秒
设定 [Pneumatic 1 v] [cylinder1 v] 为 [retract v]
等待 (1) 秒
设定 [Pneumatic 1 v] 气泵为 [灭 v]