ExclusiveControlStatus
Function
Obtain the exclusive control status.
This command is available in Ver.1.12.* or later.
Syntax
ExclusiveControlStatus (Mode[, Exclusive controller number])
Guaranteed Entry
- Mode
- Specify the status you want to obtain by integer type data.
Designated value Description Condition 0 Exclusive control validity state ON: Enabled OFF: Disabled 1 Exclusive control existing state ON: Existing OFF: Not existing 2 Exclusive control wait state ON: Waiting OFF: Not waiting - Exclusive controller number
- Specify an exclusive controller number by integer type data.This should be the master controller's robot if this is omitted.
0: Exclusive control IP (0)
1: Exclusive control IP (1)
2: Exclusive control IP (2)
3: Exclusive control IP (3)
Return Value
The state of the specified mode is set to a corresponding bit of a 32-bit array, and is returned by integer type data.
Returns "1" if the mode status is ON and "0" if OFF.
Example
I0 = ExclusiveControlStatus( 1, 1 ) 'Obtain the exclusive control status of Robot 1
If the return value is "I0 = 5 (&B101)", it indicates that Robot 1 enters Exclusive Areas 0 and 2.
Description
Obtain the exclusive control status of the specified exclusive control robot.
Related Terms
Attention
-
Example
Refer to "Programming" in "EXCLUSIVE CONTROL FUNCTION" on "FUNCTION GUIDE".

