Hi,
I read through all your forum topics and wasn't sure where to post!
So here goes for a stab, please tell me if I'm in the wrong topic area: -
Background
I am re-writing/updating some software for a machine that uses motors to move/stack a single continuous row of articles off a "y axis" conveyor belt and onto a second wider "X axis" conveyor belt so the articles stack 50 in a row.
The two motors X and Y control a push bar by sweeping the articles off the y axis conveyor and onto the X axis conveyor in an "S" shaped profile.
Problem 1
The original software produced two arrays of up to 50 points. X axis = [time, distance] and Y axis[Time, distance].
Depending on the complexity the profile the number of points vary between 30 and 50.
Each array entry is made up of a time and position entry. starting from 0secs, 0mm.
Both always complete at the same time.
Both final time and final distance are variable.
The time points for each array are not linked other that they do represent real time.
Real Data
Number of Points = 44
xAxisTime = {0, 900, 2700, 3150, 3600, 4012, 4425, 4837, 5250, 5662, 6075, 6487, 6899, 7312, 7724, 8137, 8549, 8962, 9374, 9713, 10051, 10390, 10728, 11067, 11405, 11744, 12082, 12421, 12760, 13098, 13437, 13775, 14114, 14452, 14452, 15212, 15972, 16731, 17491, 18251, 19002, 20268, 21534, 22800, 24000}
xAxisPosition = {0, 13, 64, 73, 76, 77, 81, 90, 101, 112, 126, 141, 158, 177, 198, 219, 239, 256, 271, 283, 295, 306, 317, 326, 335, 344, 351, 358, 364, 368, 372, 375, 376, 377, 377, 374, 360, 329, 280, 220, 157, 66, 13, 0, 0}
Number of Points = 46
yAxisTime = {0, 1482, 2894, 3600, 6625, 6625, 6625, 6720, 6815, 6909, 7004, 7099, 7194, 7289, 7383, 7478, 7573, 7668, 7763, 7857, 7952, 8047, 8142, 8237, 8331, 8426, 8521, 8616, 8710, 8805, 8900, 8995, 9090, 9184, 9279, 9374, 9374, 15646, 16245, 16844, 17443, 18042, 20403, 21202, 22001, 22800, 24000}
yAxisPosition = {0, 0, 43, 97, 374, 374, 374, 383, 391, 400, 408, 416, 424, 432, 439, 446, 453, 459, 465, 470, 475, 479, 483, 486, 489, 492, 494, 496, 497, 498, 499, 499, 500, 500, 500, 500, 500, 500, 495, 475, 432, 374, 126, 52, 10, 0, 0}
What would I love at this point?
I need to graphically show the profile by mapping X against Y on a graph.
Anyone got any pointers on how to achieve this?
Thank you in anticipation
Steve
