Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Operate on a moving part application
#1
Hello ✋


I'm currently working on a simulation where a robot makes quality control by camera over a moving part carried out by an AGV. Each control takes around 2 seconds. ? How can I keep the robot position during 2sec over the moving part ? My program works but when I had a wait instruction, of course the robot stop to synchonise it position with the AGV...

Thank you ?
#2
I tried to use a WHILE instruction, but I don't understand why it not works.

Example :

WHILE 1 == 1
MoveL (target 1)
END
MoveL (target 2)

Normaly the program pointer should always stay on MoveL (target 1) instruction, but it goes always to the next step !!!
I downloaded some program examples with IF and WHILE instruction ant they work very well... ?
#3
I found the solution to use WHILE instruction...
去to : TOOLS > OPTIONS > STATION > Enable flow statement ?
#4
If you don't activate the "Enable flow statement", IF and WHILE don't work.

Jeremy
Find useful information about RoboDK and its features by visiting ourOnline Documentationand by watching tutorials on ourYoutube Channel.






Users browsing this thread:
1 Guest(s)