12.07.2015 Views

RAPID reference manual - Technology

RAPID reference manual - Technology

RAPID reference manual - Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

InstructionEXITRobotWare-OSEXIT - Terminates program executionEXIT is used to terminate program execution. Program restart will then be blocked, i.e.the program can only be restarted from the first instruction of the main routine (if thestart point is not moved <strong>manual</strong>ly).The EXIT instruction should be used when fatal errors occur or when program executionis to be stopped permanently. The Stop instruction is used to temporarily stop programexecution.ExampleErrWrite "Fatal error","Illegal state";EXIT;Program execution stops and cannot be restarted from that position in the program.SyntaxEXIT ’;’Related informationDescribed in:Stopping program execution temporarilyInstructions - Stop<strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R 111

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!