Hello everyone, friends. In the robot program I wrote, when the robot completes the task and returns to its home position, it automatically performs the same tasks again, I added "stop" to the end of the command to prevent this. This time the Robot goes through "Stopped". This time the Robot expects me to press the "play" button on its pendant, but I want the robot to go to its home position and wait until the signal (example waitDI Signal_01) comes back. I don't want to press the play button on the pendant. For this, which commands should I change in the program and which commands should I add instead? I am attaching the program line below. Thanks in advance.
Robot Infinite Loop Problem.
-
Dodo41 -
April 14, 2022 at 11:23 PM -
Thread is Unresolved
-
-
Your images aren't accessible.
Don't know why the waitdi shouldn't work.
May be you need to check before that the signal has been gone to 0.
-
WaitUntil [DI]=1 doesn't work?
-
Hello everyone, friends. In the robot program I wrote, when the robot completes the task and returns to its home position, it automatically performs the same tasks again, I added "stop" to the end of the command to prevent this. This time the Robot goes through "Stopped". This time the Robot expects me to press the "play" button on its pendant, but I want the robot to go to its home position and wait until the signal (example waitDI Signal_01) comes back. I don't want to press the play button on the pendant. For this, which commands should I change in the program and which commands should I add instead? I am attaching the program line below. Thanks in advance.
Like hermann said, both .jpg attachments are not visible. It's hard to comment on the program without seeing it. State which version of software for a better and more detailed response.
-
The syntax should be WaitDI Signal_01,1
-
Here's another programming approach:
PROC yourPROC()
WHILE DInput(di_yourIO) = 0 DO
Waittime 0.02;
ENDWHILE
Moves & stuff
ENDPROC
-
If the robot is passing through a STOP command without stopping, I have to wonder if the robot is receiving a Start signal from an outside source. I have, sadly, encountered several instances where a PLC is programmed to always send a Start signal to the robot whenever the robot is in Auto mode and stopped for any reason (barring safety faults).
-
a PLC is programmed to always send a Start signal to the robot whenever the robot is in Auto mode and stopped for any reason (barring safety faults).
Amen to that. You push the stop button to check something out...then it starts right back up. The absolute worst is when the PLC keeps hammering the robot with start system inputs, putting the robot into sysfail state or just plain locked up, requiring a restart.