Hi,
I wanna to mark a position.
---when comes to the point (abcdp5) I need to activate and another bool output.
---how to take out a boolean signal as soon as the robot comes to the point.
---Can I use a flag or cyclic flag or dummy variable? I am sure about the difference between flag, cyclic flag and dummy variable? can you please tell the difference?
GLOBAL DEF ABC()
.
.
.
PTP ABCDP5 ;(when the robot reached this point I need to send out a boolean signal)
DUMMY_VARIABLE=TRUE ;(?????will this work or with flag is better, is that when robot moves from abcdp5... dummy_variable will be false)
.
.
END
GLOBAL XYZ()
.
.
.
IF (DUMMY_ VARIABLE == TRUE) THEN ;(i am using that dummy_variable here from abc()
CYLINDER FORWARD == TRUE
END IF
.
.
END
hope i have explained. If you not clear plz reply. I can also explain more. can you please help.
Thank you. waiting for your reply. thank you