PLC Pie Guy
Member
Hey Folks.
Version 33. L18ERM
Kinetex5500
We are working on a little servo project here. Iv done a few very basic machines using mostly the MAM for the majority of my moves.
This time, We need to add a second step to the process.
I need to start a move.
Lets say the entire move is 1000 counts.
I want to take over that move with another instruction at any point during the MAM and have the first MAM simply go to a done state and the second one seamlessly controls the motion now. The second instruction is going to say, travel XYZ counts then stop. Just say 200 for example.
I'm trying this with simply an MAM followed by an MAM but it seems to accumulate both moves giving me a total move greater than I expected.
I can do this successfully with stopping between the first and second MAM easily and accurately enough but that is killing my cycle time. I was hoping with the second MAM set to "Merge" it would do what I seek. Not the case. Or will it do what I want and I'm simply not setting it up correctly?
Iv been toying with the MCLM instructions as a pair, "Initial move" and "TakeOverMove" and toying with them in conjunction to my regular MAM instructions. Using the MAM as an initial move then a take over with the MCLM instruction. They may not be what I need though. I feel I might be barking up the wrong tree with the MCLM instructions but the descriptions kind of make me think they would do what I seek..
Any suggestions on what instruction or instructions I might use to accomplish my task?
Start Incremental move - If Event Happens, Run to New Target, same speed, same everything. Just a new stopping point.
Thanks for any pointers.
Version 33. L18ERM
Kinetex5500
We are working on a little servo project here. Iv done a few very basic machines using mostly the MAM for the majority of my moves.
This time, We need to add a second step to the process.
I need to start a move.
Lets say the entire move is 1000 counts.
I want to take over that move with another instruction at any point during the MAM and have the first MAM simply go to a done state and the second one seamlessly controls the motion now. The second instruction is going to say, travel XYZ counts then stop. Just say 200 for example.
I'm trying this with simply an MAM followed by an MAM but it seems to accumulate both moves giving me a total move greater than I expected.
I can do this successfully with stopping between the first and second MAM easily and accurately enough but that is killing my cycle time. I was hoping with the second MAM set to "Merge" it would do what I seek. Not the case. Or will it do what I want and I'm simply not setting it up correctly?
Iv been toying with the MCLM instructions as a pair, "Initial move" and "TakeOverMove" and toying with them in conjunction to my regular MAM instructions. Using the MAM as an initial move then a take over with the MCLM instruction. They may not be what I need though. I feel I might be barking up the wrong tree with the MCLM instructions but the descriptions kind of make me think they would do what I seek..
Any suggestions on what instruction or instructions I might use to accomplish my task?
Start Incremental move - If Event Happens, Run to New Target, same speed, same everything. Just a new stopping point.
Thanks for any pointers.