Hello,
I would like to use a system variable to set a DI when the robot is aborted. Anyone know what system variable gets set when the robot is aborted?
Thanks!
Abort DI
-
Dpreston -
February 6, 2018 at 11:54 PM -
Thread is marked as Resolved.
-
-
i think you can try this, create BG logic like this
F[1]=($SHELL_WRK.$TASK_NUM)
this will set your Flag bit high when the program is running, and it will be low when the program is aborted..
Now you can assign flag to DI as Rack 34 slot 1 start point 1 for a DI which you want to turn it ON..
-
Thanks, I'll give it a shot. Will it be set low when the program is pause too or just aborted?
-
Flag 1 will be high only when the program is running or paused, it will be low when program is aborted.....
If you want to make DI high when the program is aborted means can try this
this will set Flag 1 high in the above case, and Flag 2 when the program is aborted...
can try as BGLogic