Hand_TW Function

Acquires the timeout results of the Hand_On command or Hand_Off command executed immediately beforehand.

Syntax
Hand_TW

Parameters
None

Return Values
If a timeout occurred with the Hand_On command or Hand_Off command executed immediately beforehand, returns “True”. If not, returns “False”.

Description
If the timeout setting is enabled, and the Hand_On command or Hand_Off command do not complete within the timeout duration set, this function will return “True”. For more information, see Hand_On and the flowchart depicted in the command reference for the Hand_On command. If the “Set the internal controller timeout flag to True” described in the same flowchart has passed, executing the Hand_TW function will return “True”.

See Also
Hand_On, Hand_Off, Wait, TW Function

Hand_TW Function Example

' Display a “Grip Failed” message in the Run window if a timeout is triggered 
' when executing the Hand_On command  

Hand_On 1  
If Hand_TW = True Then  
	Print "Grip failed"  
Endif