Modbus Motion Interface
Write_Double(<AxisPage>_+_CountsPerUserUnit_d,<Value>);
Read_Double(<AxisPage>_+_CountsPerUserUnit_d);
Description
The Counts Per User Unit command allows motion to be described in convenient units of rotations, degrees, or millimeters instead
of motor steps. An explanation of how to identify the proper value for Counts Per User Unit is described in the Introduction topic
User Units. This command is used by the Setup Tab set the ratio to the desired value.
The command can be used with host directed motion to establish a desired counts per user unit regardless of how the controller was initialized.
Escapes
Set Counts Per User Unit does not produce any escapes.
Examples
A stepper motor has 51200 microsteps per rotation. Dividing 51200 by 360 degrees yields 142.222 microsteps per degree. Axis 1 parameters can be degrees if this command is used to change the user units:
Write_Double(Axis1_+_CountsPerUserUnit_d,142.2222);
The counts per user unit can be queried for axis 1 with this command:
Value:=Read_Double(Axis1_+_CountsPerUserUnit_d);
Related Topics
User Units Description
Begin Move By