QUOTE (BobLfoot @ Jul 4 2009, 05:16 AM)

QUOTE (MikeSmith @ Jul 3 2009, 08:11 AM)

G'day,
My suggestion is the same as Peter's, it's a pretty standard application and detailed (wth a pretty animation) here:
http://www.ab.com/motion/applications/smartbelt_kinetix.html Mike
Nice animation find Mike. Any idea how much AB charges for their cookie cutter code of this app?
Thanks :)
I'm not aware of a packaged motion code offering from RA but it might pay to ask them because it was a reasonably popular trade show demonstration and a standard exercise in the advanced motion course for field service and tech support. I did it in the course and it took me about three hours of programming time (after configuring the servos) to get it working nicely.
It's a slow rainy day so...
Definitions:
Lets call the conveyors from left to right Conv1, Conv2, Conv3 and Conv4, the Sensors Sens1 and Sens2
This exapmle is driven from the left conveyor.. you could similarly work everything out off the conveyor on the right if you need to synchronise with whatever is requiring the packages to be spaced.
Start-up logic:
Clear faults, home if required (Conv4) etc
Gear Conv2 to Conv1
Gear Conv3 to Conv1
Gear Conv4 to Conv1
Start up conveyor Conv1 (which starts the others moving)
Correction on Conv2
When sensor Sens1 sees something work out the difference between where the package edge is on Conv2 and where it should be to line up with flights on Conv4 assuming it travels at the speed of Conv1.
Issue an MAM on Conv2 to move forwards say 50% of that distance (Use the slowest acceleration you can to get the correction moves done within the length of the conveyor (less energy/slip and makes it look like a really effortless and professional job)).
Correction on Conv2
When sensor Sens2 sees something work out the difference between where the package edge is on Conv3 and where it should be to line up with flights on Conv4 assuming it travels at the speed of Conv1.
Issue an MAM on Conv2 to move forwards 100% of that distance (which will do the other half of the correction move).
Cautions:
Conveyor length, speed, acceleration, package width are important, make sure it works on paper before you try to build it.
If the package is light or slippery then the acceleration you can get away with on the moves is smaller (without doing things like putting a vacuum under a perforated conveyor, dual sided correction conveyor etc)
Use registration specific instructions (MAR, MAW) instructions rather than old school "IF Sensor1 THEN MAM(,,,,); END_IF", it will save having to worry about scan time and repeatability.
You may have to correct for slip or the changover between conveyors (small issue unless you're chasing mm's).
Make usre the flow rates work (you're not pushing in more packages than you have space for on the final conveyor).