Difference between revisions of "MC-Basic:ROBOTTYPE"
m (Text replace - "Version 4.9.11 and up." to "Since Version 4.9.11") |
|||
Line 41: | Line 41: | ||
* [[Axystems:MC-Basic:NOOFCOORDINATES|NOOFCOORDINATES]] | * [[Axystems:MC-Basic:NOOFCOORDINATES|NOOFCOORDINATES]] | ||
− | * [[ | + | * [[MC-Basic:CASTJOINT|CASTJOINT]] |
* [[Axystems:MC-Basic:CASTLOCATION|CASTLOCATION]] | * [[Axystems:MC-Basic:CASTLOCATION|CASTLOCATION]] |
Revision as of 08:36, 22 May 2014
Returns the robot type of a point as a long-type numeric value. The function will return zero for point inputs without robot types (i.e., list-of-coordinates and uninitialized generic points).
Syntax
<long_variable> = robottype (<point_expression>)
Availability
Since Version 4.9.11
Type
Long
Scope
Configuration, Task, Terminal
Examples
LongVar = ROBOTTYPE(#{0.0, 10.0, 20.0}) ? ROBOTTYPE(JointVar) LongVar = ROBOTTYPE(Robot.PCMD)