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.

ErrLogAdvanced <strong>RAPID</strong>InstructionThe first ErrLog instruction generates an error message. The message is stored inthe robot log, in the process domain. It is also shown on the FlexPendant display.The second instruction is a warning. A message is stored in the robot log only.The program will continue its execution when the instruction is done.In case you do not want to make your own .xml file, you can use ErrorId 4800like in the example below:VAR errstr my_title := “myerror”;VAR errstr str1 := “errortext1”;VAR errstr str2 := “errortext2”;VAR errstr str3 := “errortext3”;VAR errstr str4 := “errortext4”;ErrLog 4800, my_title, str1,str2,str3,str4;On the FlexPendant the message will look like this:Event Message: 4800myerrorerrortext1errortext2errortext3errortext4ArgumentsErrLogArgument3ErrorIdErrorID [\W] Argument1 Argument2Argument4 Argument5Data type: numThe number of a specific error that is to be monitored.The error number must be in interval 5000 - 9999 and written in a xml file.[ \W ] (Warning) Data type: switchGives a warning that is stored in the robot error message log only (not showndirectly on the FlexPendant display).ArgumentData type: errstrFirst argument in the error message. Any string or predefined data of type errstr can be used.102 <strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R

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

Saved successfully!

Ooh no, something went wrong!