I want to manage axis with absolute move velocity from analog pot while in movement.
I start to move an axis by MC_MoveAbsolute to target position with a velocity. While in movement (not arrive at target position), i want to change executed velocity in runtime. Is there any command or something like that or do i have to apply same MC_MoveAbsolute command again?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can compare the actual potentiometer value with the value of the past cycle (with certain hysteresis). If the value has changed change execute from false to true.
D ont forget the hysteresis if not there will be continuous changes in move absolute. Have in count that every change will be applyçied with the moveabsolute ramp.
Be healty!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Josep M. Rams hat geschrieben:
Hi
You can compare the actual potentiometer value with the value of the past cycle (with certain hysteresis). If the value has changed change execute from false to true.
!
Hi,
Are you sure this will work? The documentation on codesys does not specify if another execute edge will replace the current execution, but for eg. Beckhoff says "It is not possible to trigger a move function block with new parameters while it is active.".
I have been using two independent blocks, that I execute alternatively. Maybe there is a smarter solution
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I want to manage axis with absolute move velocity from analog pot while in movement.
I start to move an axis by MC_MoveAbsolute to target position with a velocity. While in movement (not arrive at target position), i want to change executed velocity in runtime. Is there any command or something like that or do i have to apply same MC_MoveAbsolute command again?
Thanks
Hi
You can compare the actual potentiometer value with the value of the past cycle (with certain hysteresis). If the value has changed change execute from false to true.
D ont forget the hysteresis if not there will be continuous changes in move absolute. Have in count that every change will be applyçied with the moveabsolute ramp.
Be healty!
Hi,
Are you sure this will work? The documentation on codesys does not specify if another execute edge will replace the current execution, but for eg. Beckhoff says "It is not possible to trigger a move function block with new parameters while it is active.".
I have been using two independent blocks, that I execute alternatively. Maybe there is a smarter solution
I am using it in Twincat.
Sent from my Moto G (5S) Plus using Tapatalk