9 Program command
-
83
-
9.5.35.
UNIT
Name
Set the unit of movement amount
Valid
mode
Direct input/program
UNIT (1 | 2) [, | ] n1 [, | ] n2
Parameter Data
range
Default
(1 | 2)
Axis
1 (select axis 1), 2 (select axis 2) If this
parameter is omitted, axis 1 will be selected.
n1 Movement
amount per
pulse (unit
value)
0.0001 to 9.9999 (The number obtained by
dividing the movement amount per revolution
by the number of pulses per revolution
∗
)
1
Syntax
n2 Number
of
step angle
divisions
1.0 to 255.0 (supports micro-step)
1.0
Function
Sets the unit of movement amount.
Also sets the number of step angle divisions to support micro-step. Always set this
parameter when using a driver that supports micro-step.
After the movement amount is set, the current position will be set to 0.
Request 0>UNIT1
0: UNIT1 = 1, 1
∗
The value when the division of step angle is 1
Warning
Depending on the setting in the D command, the motor may rotate more
than you had expected, causing a dangerous situation. When setting is
performed with a UNIT command, always change (or check) the settings in
the D command. The same goes for the OFS command.
Setting the movement-amount unit
For a positioning operation, the unit for the
movement amount can be set to the movement
distance or the rotational angle of the motor.
By configuring the movement-amount unit, the
movement amount can be set not only in
pulses but in movement distance or in angles,
making it easier to set the movement amount.
Changing the movement-amount unit does not
affect the operating speed.
Unit value =
Movement amount per motor revolution
Number of pulses per motor revolution
∗
∗
The value when the division of step angle is 1
When changing the movement-amount unit, the movement amount per pulse (unit value) must be
calculated first.
The calculated unit value will be set with the UNIT command.
Содержание EMP400 Series
Страница 115: ......