11. Robot Language Explanation
------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
11 - 11
11.2 Command line
11.2.1 Substitution
Description Substitute the value to the variable.
Syntax <Variable>=<Value>
Variabl Arithmetic
,
Strin
g,
Pose
,
Shift
Parameter
Value Arithmetic, String, Pose, Shift constant, and shift variable
example
V5%=20 V![V1%]=5.5 V2$= "EMERGENCY STOP!!"
P3 = P3+R1 R2 = (0, 100, 0, 0, 0, 0)
Comment
The value type must be identical to the variable type. However, the integer
and float types are automatically converted for each other.