There is plenty of motions before and after this line of code, but there is a hitch.
But I have a WAIT FOR prior to reading the variables. So I need to trigger it without a motion as the trigger.
We are primarily a company that deals with ABB robots.
My colleague who started this project has created his own motion commands that closely resemble ABB's.
For example:
MoveJ(XP1:{0 x,0 y, 100 z, 0 a, 0 b, 0 c},Vel,Acc,Apo,TOOL_DATA[x],BASE_DATA[x])
Which helps us offset motions without altering the specific point.
I have implemented TRIGGER in several places, but in the case of using our own motion command, it doesn't seem to be able to detect and set the output correctly.
Thanks for your replies.