Change in axis dynamics
axisDynamicsSet
axisDynamicsSet(axisNo:= UDINT, acc:= LREAL, dec:= LREAL, jerk:= LREAL);
axisDynamicsSet can be used to change the axis dynamics at runtime.
Function | axisDynamicsSet |
Parameter <axisNo> | Axis in the interpolation group: X: 0 |
Parameter <acc> | Value of the maximum permitted acceleration in mm/s^2. |
Parameter <dec> | Value of the maximum permitted deceleration in mm/s^2. |
Parameter <jerk> | Value of the maximum permitted jerk in mm/s^3. |
Example:
N10 G01 X100 Y200 F6000
!R4:=10000;
!axisDynamicsSet(axisNo:= 0, acc:= 2250, dec:= 2250, jerk:= R4);
N30 G01 X500
N40 M02
Requirements
Development Environment | Target System |
---|---|
TwinCAT V3.1.4024.4 | PC or CX (x86 or x64) |