Difference between revisions of "MC-Basic:ROBOTTYPE$"
Line 38: | Line 38: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:ROBOTTYPE|ROBOTTYPE]] |
* [[MC-Basic:NOOFCOORDINATES|NOOFCOORDINATES]] | * [[MC-Basic:NOOFCOORDINATES|NOOFCOORDINATES]] |
Revision as of 08:40, 22 May 2014
Returns the name of the robot type of a point as a string. The function will return "NONE" for point inputs without robot types (i.e., list-of-coordinates and uninitialized generic points).
Syntax
<string_variable> = robottype$ (<point_expression>)
Availability
Since Version 4.9.11
Type
String
Scope
Configuration, Task, Terminal
Examples
StringVar = ROBOTTYPE$(#{0.0, 10.0, 20.0}) ? ROBOTTYPE$(JointVar) StringVar = ROBOTTYPE$(Robot.PCMD)