<< Prev        Next >>

ID : 6975

Programming

Exclusive Function-dedicated Command

The following commands are exclusive function-dedicated commands. For details, refer to Command reference.

Command Description
ExclusiveArea Change the exclusive area settings or create an exclusive area.
SetExclusiveArea Enable an exclusive area.
ResetExclusiveArea Disable an exclusive area.
ExclusiveControlStatus Obtain the current status of the exclusive area.

Example

Sub Main 
TakeArm 1
ExclusiveArea 1, P( 100, 200, 300, 0, 0, 0 ), V( 100, 200, 300 ) 'Create an exclusive area
SetExclusiveArea 1 'Enable an exclusive area
Move P, P1
I0 = ExclusiveControlStatus( 1, 1 ) 'Obtain the exclusive control status of Robot 1
If I0 = 0 Then '
Return value is 0. There is no robot in the area
ResetExclusiveArea 1 '
Set the exclusive area to disable
End If
End Sub

ID : 6975

<< Prev        Next >>