11. Robot Language Explanation

------------------------------------------------------------------------------------------------

11.2Command line

11.2.1Substitution

Description

Substitute the value to the variable.

 

 

 

 

Syntax

<Variable>=<Value>

 

 

 

 

Parameter

Variabl

Arithmetic, String, Pose, Shift

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.

 

 

 

 

 

 

----------------------------------------------------------------------------------------

11 - 11

Page 376
Image 376
Hyundai HI4 operation manual Command line, Substitution, V2$= Emergency Stop