SetVacuumThreshold_Immediate#

This is the same command as SetVacuumThreshold, but it is instantaneous, rather than queued and can be executed even when the robot is deactivated.

Syntax#

SetVacuumThreshold_Immediate(ph,pr)

Arguments#

  • ph: when the negative pressure sensed is smaller than ph, the robot reports that a part is being held. The value for this argument ranges from −100 kPa to −5 kPa.

  • pr: when the negative pressure sensed is larger than pr, the robot reports no part is being held. The value for this argument ranges from −95 kPa to 0 kPa. The value of pr must be larger than the value of ph by at least 5 kPa.

Default values#

The default settings are applied whenever the robot is power cycled (rebooted).

By default, ph = −40 kPa, and pr = −30 kPa. To reset to the default values, send the command SetVacuumThreshold_Immediate(0,0).

Usage restrictions#

This command can be executed in any robot state.

Cyclic protocols#

In cyclic protocols, the SetVacuumThreshold_Immediate command is represented by MotionCommandID 42. See Section 4.2 for more details.