ID : 5101
CollisionDetection
Function
Start/stop the collision detection in the automatic mode or the teach check mode.
Syntax
CollisionDetection enable/disable, table number
Guaranteed Entry
- Enable/disable
- Enable/Disable the servo lock by an integer type data.
To enable this command, enter True or an integer other than 0.
To disable this command, enter False or 0. - Table number
-
Select a table number to use "1 to 10." Designate integer type data.
Description
Start/stop the collision detection in the automatic mode or the teach check mode.
Related Terms
Attention
Example
Sub Main 'Start the program.
TakeArm keep = 1 'Get axis control for the arm group.
CollisionDetection True,1 'Enable the collision detection function.
Move P,J1 'Move to J1.
CollisionDetection False,1 'Disable the collision detection function.
:
:
End Sub 'End of program.
ID : 5101