SetOutputState_Immediate#

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

Syntax#

SetOutputState_Immediate(bid,p1,p2,p3,p4,p5,p6,p7,p8)

Arguments#

  • bid: I/O bank ID, currently 1;

  • pi: state of output pin i (i = 1, 2, …, 8), 1 to set, 0 to reset, and −1 or * to keep unchanged.

Usage restrictions#

This command can be executed in any robot state.

Cyclic protocols#

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