With the method SetMotionParameter, you can specify the maximum velocity (change of position per time unit), the maximum acceleration/deceleration (change of velocity per time unit), and the maximum jerk (change of acceleration per time unit) with which the motion of the carrier must be executed.
The return value SetMotionParameter of type BOOL indicates TRUE if the motion parameters have been set successfully.
Input |
Data type |
Value range |
Unit |
Description |
---|---|---|---|---|
i_lrMaxVelocity |
LREAL |
MCR.GCL.Gc_lrMinVelocity ≤ |
mm/s |
Specifies the maximum velocity (change of position per time unit). |
i_lrMaxAcceleration |
LREAL |
MCR.GCL.Gc_lrMinAcceleration ≤ |
mm/s2 |
Specifies the maximum acceleration (change of velocity per time unit). |
i_lrMaxDeceleration |
LREAL |
MCR.GCL.Gc_lrMinDeceleration ≤ |
mm/s2 |
Specifies the maximum deceleration (change of velocity per time unit). |
i_lrMaxAbsJerk |
LREAL |
MCR.GCL.Gc_lrMinAbsJerk ≤ AND
i_ lrMaxAbsJerk ≥ |
mm/s3 |
Specifies the maximum jerk (change of acceleration per time unit). |
(1) For more information on the value range, refer to the Global Constants List (GCL) of the Multicarrier library. (2) Internally, it is determined which value, i_lrMaxAcceleration or i_lrMaxDeceleration, is greater. The greater value is used for this calculation. (3) The value of i_ lrMaxAbsJerk must be greater than or equal to 10 times the value of i_lrMaxAcceleration (or i_lrMaxDeceleration, whichever of the two is greater). If this is not the case, it is internally set to a value that is 10 times the value of i_lrMaxAcceleration or i_lrMaxDeceleration. |