My efforts are falling short, even though I've followed the manual well. My team is trying to supercede the system error handler when certain ABB errors occur. But we've started with this, in a general sense, and gotten close to what we want, but not quite. Is 'ISignal' necessarily used here? Thanks in advance!
VAR intnum err_interrupt;
TRAP err_trap
disengageTool;
StopMove;
TPErase;
TPWrite "Error occurred!";
ENDTRAP
PROC main()
CONNECT err_interrupt WITH err_trap;
IError COMMON_ERR, TYPE_ERR, err_interrupt;
....
IDelete err_interrupt;
ENDPROC