DefaultTaskWaitMode Parameter

Default Value: 3

Minimum Value: 1

Maximum Value: 3

Units: None

Type: int

IMPORTANT: This parameter does not apply to asynchronous motion, which includes the MoveAbsolute() and MoveIncremental() functions. To wait for an asynchronous motion function, use the WaitForMotionDone() and WaitForInPosition() functions. Refer to Wait for Motion.

This parameter specifies the wait mode that the controller changes back to after you reset it. Each time you reset the controller, the controller uses the wait mode that you specified for this parameter.

To temporarily set the wait mode of as task until the next controller reset, use the SetupTaskWaitMode() function. For more information, refer to Task Waiting Modes in Motion Setup Functions.

IMPORTANT: You must reset the controller for these changes to have an effect.