11-24-2020, 03:32 AM
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
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
Find useful information about RoboDK and its features by visiting ourOnline Documentationand by watching tutorials on ourYoutube Channel.