How do you make it so when the condition is true, raise the robot up or goto this PR[1] ?
Condition monitor with motion
-
penguinMan -
September 27, 2020 at 5:21 PM -
Thread is Unresolved
-
-
I moved your post to a new thread, because it wasn't relevant to the old thread you posted to and is a new situation.
Condition monitors cannot execute motion (not directly anyway).
Can you better explain your situation? What are you trying to accomplish? Do you need to move to this position while another program is running or when the robot is stopped? How are you controlling the robot (PLC, UOPs, locally)?
You should read the HandlingTool Manual chapter on Macros.
-
How are you able to indirectly execute motion with a condition monitor. My robot is controlled locally I believe but uses signals from the PLC to tell it what part to run.
I have 14 IF statements in the main program saying if a certain DI is on run with set of parts. I would try to make then "When" statements if possible just to see what will happen and help expand my knowledge when it comes to different ways to program.
-
A "when" statement (condition monitor) is not meant to do that. Stick with your "if" statements.
An alternate approach would be possible if you use an integer or string instead of DIs. Then you could use a select statement or indirect call to run different parts.
A "when" statement is rarely usefully, especially if you have a PLC or BG logic you can use instead.