Hyundai HI4 Robotics User Manual


 
10. Menu Tree
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
----------------------------------------------------------------------------------------
10 - 5
10.3 FLOW control
IF <conditional expression> THEN <address> [ELSE <address>]
IF <conditional expression> THEN ∼ [ELSEIF <conditional expression> THEN ∼] [ELSE ∼]
ENDIF
FOR <variable name>=<initial value> TO <end value> [STEP <augmenter>] ∼ NEXT
ELSEIF
/
/
/
/
ELSEIF
IF
/
/
/
/
IF
<
>
=
Variable
Expr.
V1%=1 THEN
STEP
LABEL
Line no.
/
/
_1
STEP
LABEL
Line no.
/
/
_ELSE 10
<
>
=
Variable
Expr.
V1%=1 THEN
FOR
/
/
/
/
FOR
V
pose
shift
out
in
system
,V1%
Variable
Expr.
/
/
/
1
Variable
Expr.
/
/
/
TO 10
Variable
Expr.
/
/
/
_STEP 10