
Chapter 12 Robot Control Statements
12-41
HALT (Statement) [Conforms to SLIM]
Function
Stops executing a program.
Format
HALT <Message>
Explanation
This statement stops program execution and outputs the contents designated
by <Message> to the pendant. For contents of <Message>, refer to the
PRINTMSG statement.
If you restart the system, the system starts the program from the first line.
The maximum number of letters available for a message is 60.
Related Terms
DELAY, HOLD, STOP
Example
DEFINT li1, li2
HALT li1 + li2
'Stops the program and outputs the value of (li1 + li2) to the pendant.
HALT “end”
'Stops the program and outputs the character string “end” to the
'pendant.
Notes
If you use a type F variable and a type D variable, the screen shows only 4
digits after the decimal point.
Commentaires sur ces manuels