ID : 5807
RobInfo
Function
Return the robot information.
This command is available Ver.1.8.* or later.
Syntax
RobInfo(index number)
Guaranteed entry
- Index number
- Designate an index number by integer type data.
Return value
For a variable designated by Variant Type, return Data Types data according to the index number.
Description
You can acquire the following robot information.
Index number | System information | Data type |
---|---|---|
0 | A unique value assigned to each robot type. | Integer type |
1 | Robot type | String type |
2 | Distance | Joint type |
Related Terms
Attention
-
Example
Sub Sample_RobInfo
Dim aaa As Variant
'Acquire the robot information
aaa = RobInfo(1)
'Display the robot type in the message window
PrintDbg aaa
End Sub
ID : 5807