ID : 7313
ExclusiveControlStatus
Function
Obtain the exclusive control status.
This command is available in ver.2.7.* or later.
Syntax
ExclusiveControlStatus (Mode[, Exclusive robot number])
Guaranteed Entry
- Mode
- Specify the status you want to obtain by integer type data.
Designated Description Condition 0 Exclusive control validity state ON: Enable OFF: Disable 1 Exclusive control existing state ON: Existing OFF: Not existing 2 Exclusive control wait state ON: Waiting OFF: Not waiting - Exclusive robot number
- Specify an exclusive robot number by integer type data. This should be the master robot if this is omitted.
0: Exclusive IP (0)
1: Exclusive IP (1)
2: Exclusive IP (2)
3: Exclusive 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 specified number's exclusive control status.
Related terms
Attention
-
Example
Refer to "Programming" of exclusive control function in Function Guide for detail.
ID : 7313