HOLD
(Statement)

Holds program processing for a time.

HOLD <Message>

This statement holds program processing and outputs the contents designated in <Message> to the pendant. For contents of <Message>, refer to the RINTMSG statement.
If you restart the system, it executes the suspended program from the next statement after the HOLD statement.
The number of characters for a message is 60 letters (One-byte character).

When you use a type F variable and a type D variable as a message, the system displays up to 4 digits after the decimal point.

DEFINT li1, li2
|
|
HOLD li1 + li2
|
'Holds program processing to set the system
'to the stop status in step mode and outputs
'value of (li1 + li2) to the pendant.
|
HOLD "stop"
|
'Holds program processing to set the system
'to the stop status in step mode and outputs
'a character string "stop" to the pendant.
|