Trap conditions

Options
How to activate the trap conditions in robot running time DO signal cutoff means how to stop the robot 

Answers

  • revans
    Options
    A little more explanation would be appreciated but here is an example of what I think you are referring to.

    VAR intnum sig1int;

    PROC main ()

    IDelete sig1int;

    CONNECT sig1int WITH trap_stop_at_once;

    ISignalDO do1, 0, sig1int;

    !Do stuff here.


    !Do stuff here

    ENDPROC



    TRAP trap_stop_at_once

    stop;

    ENDTRAP