Vexta EMP400 Series Operating Manual page 80

Controller for servo and stepping motors
Table of Contents

Advertisement

8
Program command
D
Name
Valid mode
Syntax
Function
Request
Converting D command data into number of pulses when unit value has been set:
Pulse number = (D command data/Movement per pulse) x 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.
8-14
Set movement amount or position data
Direct input/program
D(1 | 2)[, |
](+ | -)n
Parameter
(1 | 2)
Axis
(+ | -)
Direction
n
Movement amount or
position data
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.
0>D
0: D1 = +1000
0>D1
0: D1 = +1000
0>D2
0: D2 = -1000
Data range
1 (select axis 1), 2 (select axis 2)
∗ If this parameter is omitted, axis 1 will be
selected.
+ (CW direction), - (CCW direction)
∗ If this parameter is omitted, the rotational
direction in the H command will be used.
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
Default
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents