AX-Series Motion Controller Instructions Manual Chapter 2
340
Inputs/Outputs
Axis
Specify the
axis.
AXIS_REF_SM3* AXIS_REF_SM3 When bExecute is True and bBusy is False.
*Note: AXIS_REF_SM3 (FB): All function blocks contain this variable, which works as the starting program for function blocks.
Function
DMC_ChangeMechanismGearRation modifies the ratio between user units and pulses, axis type and user units per
rotation of the rotary axis.
The corresponding relationship between the function block inputs and the mechanism is shown in the figure above.
udiPulsePerRotation is the number of pulses required per rotation of the input end of the gearbox, udiInputRotation is
the input of the gearbox, udiOutputRotation is the output of the gearbox and IrUnitsPerRotation is the number of
terminal actuator travel units per rotation of the output end of the gearbox.
Troubleshooting
The instruction can be run only when the state machine is power_off. Refer to ErrorID (Error Code) to address the
problem if an error occurs during the instruction execution.
Programming Example