Hyundai HI4 User Manual

Page 383

Advertising
background image

11. Robot Language Explanation

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

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

11 - 18

11.2.4.7 STOP Command

11.2.4.8 END Command

11.2.4.9 WAIT Command

Description Stops the program. If restarted, it is continued from the next line.

Syntax

STOP

example

IF DI9=1 THEN
STOP
ENDIF

Description Stops the program. If restarted, it starts over from the beginning.

Syntax

END

example

END

Description

Wait until the condition is met. If the timeout time exceeded, jumps to the
shelter address.

Syntax

WAIT <Condition>[, <timeout Time>, <shelter Address>]

Condition Arithmetic Equation. Wait until the condition is met.

timeout
Time

Arithmetic Equation. Limit time of the standby.

Unit : sec
0.0∼60.0

Parameter

shelter
Address

The address to be jumped when the timeout time is
exceeded.

example

WAIT DI20=1, 1.5, *ERR

Advertising