AX-Series Motion Controller Instructions Manual Chapter 2
447
Name Function Data Type
Setting Value
Timing to Take Effect
*Note:
AXIS_REF_DML (FB): All function blocks contain this variable, which works as the starting program for function blocks.
Function
MC_ChangeAxisConfig_DML can be used to modify basic axis settings including the ratio between user units and pulse
number (electronic gear ratio), axis type and user units per rotary axis rotation.
The axis state must be Disabled if this function block is used.
After modification, the new axis settings cannot be retained when power off and so they will disappear after repowering
or resetting. And the axis will still run based on the settings on the axis parameter page next time.
Troubleshooting
When an error occurs in the execution of the instruction, bError will change to True. To confirm the current error state,
see the Error Code in ErrorID.
Programming Example
This example explains how MC_ChangeAxisConfig_DML is used to modify axis parameters.
Set the gear ratio denominator and gear ratio numerator (10000: 360), maximum position of the rotary axis (360) and
axis type (0). Change bRegulatorOn of MC_Power to False before MC_ChangeAxisConfig is run.