Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

"Wait for Part" Python Program

#2
Hi Tsmpson3,

Instead of trying to detect the next part, I would recommend you to start with something a bit simpler.

I attached two python macros that you can add to your station and call when you need it.
The "NextBox" will move the conveyor forward a certain distance each time it's called.
And "InitConvPosition" will bring back the conveyor to "Zero".
Make sure to edit the conveyor name and distance traveled before running the macro.

Hope it helps.
Jeremy


Attached Files
.py NextBox.py(Size: 636 bytes / Downloads: 321)
.py InitConvPosition.py(Size: 562 bytes / Downloads: 304)
Find useful information about RoboDK and its features by visiting ourOnline Documentationand by watching tutorials on ourYoutube Channel.




Messages In This Thread
"Wait for Part" Python Program - byTsmpson3- 11-20-2020, 05:28 PM
RE: "Wait for Part" Python Program - byJeremy- 11-24-2020, 03:32 AM



Users browsing this thread:
1 Guest(s)