Ok so how do I write the following:
I want to make a group output equal to a D variable.
So before I run the verify Job I will set the D variable to where I am in the program. after that I will run the path verify job that will set the group output to equal the d variable.
Example:
NOP
** INSERT WELD PATH A
SET D011 1
CALL JOB:PATH_VERIFY
** INSERT WELD PATH B
SET D011 2
CALL JOB:PATH_VERIFY
** INSERT WELD PATH C
SET D011 3
CALL JOB:PATH_VERIFY
END
PATH_VERIFY
SET GO = TO D011
WAIT IN#(27)=ON (PLC ack)
SET D011 0
END