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.

InstructionErrWriteRobotWare-OSErrWrite - Write an error messageErrWrite (Error Write) is used to display an error message on the FlexPendant andwrite it in the robot message log.ExampleErrWrite “PLC error”, “Fatal error in PLC” \RL2:=”Call service”;Stop;A message is stored in the robot log. The message is also shown on the FlexPendantdisplay.ErrWrite \ W, “ Search error”, “No hit for the first search”;RAISE try_search_again;A message is stored in the robot log only. Program execution then continues.ArgumentsErrWrite [ \W ] Header Reason [ \RL2] [ \RL3] [ \RL4][ \W ] (Warning) Data type: switchGives a warning that is stored in the robot error message log only (not shown directlyon the FlexPendant display).HeaderData type: stringError message heading (max. 24 characters).ReasonData type: stringReason for error (line 1 of max. 40 characters).[ \RL2] (Reason Line 2) Data type: stringReason for error (line 2 of max. 40 characters).[ \RL3] (Reason Line 3) Data type: stringReason for error (line 3 of max. 40 characters).[ \RL4] (Reason Line 4) Data type: stringReason for error (line 4 of max. 40 characters).<strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R 109

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

Saved successfully!

Ooh no, something went wrong!