NOVA electronics Inc.
MCX514 -
104
-
104
-
2.12.2 Pulse Output Type Selection
Drive pulse output signals are XPP/PLS/PA(37) and XPM/DIR/PB(38) in X axis, YPP/PLS/PA (39) and YPM/DIR/PB(40) in Y
axis, ZPP/PLS/PA (41) and ZPM/DIR/PB(42) in Z axis, and UPP/PLS/PA (43) and UPM/DIR/PB(44) in U axis. Four pulse output
types are available to each axis as shown in the table below. In independent 2-pulse type, when the driving is in the + direction,
the pulse output is fromn
PP, and when the driving is in the − direction, the pulse output is fromnPM. In 1-pulse 1- direction type,
nPLS is for output of drive pulses and nDIR is for output of direction signals. In quadrature pulse type, the A-phase signal of
quadrature pulse is output to nPA and the B-phase signal of quadrature pulse is output to nPB. In quadrature pulse and quad edge
evaluation, when output of nPA, nPB pulses changes, the logical position counter is up (down). In quadrature pulse and double
edge evaluation, when output of nPA pulses changes, the logical position counter is up (down).
Table 2.12-2 Example of X axis Drive Pulse Output Type
X
PB
X
PA
X
PB
X
PA
X
DIR
X
PM
X
PP
X
PLS
Independent 2- pulse
1- pulse 1- direction
Quadrature pulses and
quad edge evaluation
Quadrature pulses and
double edge evaluatio
Pulse Output Type Signal
Driving in the + direction
Driving in the - direction
0
L
P
1
2
3
4
4
3
2
1
0
Pulse output type can be set by D4, 3 bits (DPMD1, 0) of WR3 register.
Pulse Output
Type
Drive pulse logic
Drive direction signal logic
Drive pulse pin inversion
D7
D6
D5
D4
H
L
D15
D14
D13
D12
D11
D10
D9
D8
D3
D2
D1
D0
WR3
DPMD0
DPMD1
DP-L
DIR-L
DPINV
The mode setting for driving corresponding to each bit is as follows.
Table 2.12-3 Drive Pulse Output Type
D4(DPMD1)
D3(DPMD0)
Pulse Output Type
0
0
Independent 2-pulse
0
1
1-pulse 1-direction
1
0
Quadrature pulse and quad edge evaluation
1
1
Quadrature pulse and double edge evaluation
Please refer to chapter 11.2 for the timing of output pulse signal (nPLS) and direction signal (nDIR) in 1-pulse 1-direction type.
When the user wants to set nDIR signal before driving, write direction setting command (58h
) or direction signal − setting
command (59h).
And it sets the logical level of driving pulses by D5 bit (DP-L), the logical level of the direction (DIR) output signal by D6 bit
(DIR-L) and sets whether the output pins of a drive pulse signal are replaced or not by D7 bit (DPINV).
[Note]
•
In interpolation driving, the direction changes on the way, therefore, use independent 2-pulse type for interpolation
driving and not 1-pulse 1-direction type.