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.

InstructionCancelLoadRobotWare-OSCancelLoad - Cancel loading of a moduleCancelLoad is used to cancel the loading of a module that is being or has been loadedwith the instruction StartLoad.CancelLoad can be used only between the instructionStartload ... WaitLoad.ExampleCancelLoad load1;The load session load1 is cancelled.ArgumentsCancelLoadLoadNoLoadNoData type: loadsessionReference to the load session, fetched by the instruction StartLoad.ExamplesVAR loadsession load1;StartLoad “HOME:”\File:=”PART_B.MOD”,load1;...IF .................CancelLoad load1;StartLoad “HOME:”\File:=”PART_C.MOD”,load1;ENDIF...WaitLoad load1;The instruction CancelLoad will cancel the on-going loading of the modulePART_B.MOD and make it possible to in stead load PART_C.MOD.Error handlingIf the variable specified in argument LoadNo is not in use, meaning that no load sessionis in use, the system variable ERRNO is set to ERR_LOADNO_NOUSE. This errorcan then be handled in the error handler.<strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R 25

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

Saved successfully!

Ooh no, something went wrong!