9 Program command
-
64
-
9.5.4.
D
Name
Set movement amount or position data
Valid
mode
Direct input/program
D (1 | 2) [, | ] (+ | -) n
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.
(+ | -)
∗
Direction
+ (CW direction), - (CCW direction)
If this parameter is omitted, the rotational
direction in the H command will be used.
Syntax
n Movement
amount or
position data
Up to eight digits can be entered. Entered
data will be internally converted to number of
pulses. If the calculated number of pulses falls
outside the range below, an error message
will be displayed when a positioning operation
is executed.
Incremental operation: ±16,777,215 pulses
Absolute operation:
-8,388,608 to +8,388,607 pulses
0
Function
Movement amount is set for incremental operation, while position data is set for
absolute operation.
If the direction is set by “+” or “-,” the direction for the H command changes as well.
This setting can be performed during an operation. However, the new settings will
take effect starting from the next operation.
Request 0>D
0: D1 = +1000
0>D1
0: D1 = +1000
0>D2
0: D2 = -1000
Note
∗ :
When setting position data for absolute operation, be sure to input a direction
parameter. If a direction parameter is omitted, the direction of the last H command will
be used.
Memo
Converting D command data into number of pulses when unit value has been set:
Pulse number = (D command data/Movement per pulse) × Division of step angle
If this calculation yields a pulse number with fractions, the fractional portion will be
discarded.
Example: If the calculation resulted in 10.5 pulses, use 10 pulses. If the calculation
resulted in -10.5 pulses, then use -10 pulses.
Summary of Contents for EMP400 Series
Page 115: ......