Datasheet

TMC5031 DATASHEET (Rev. 1.11 / 2016-APR-28) 22
www.trinamic.com
RAMP GENERATOR MOTION CONTROL REGISTER SET (MOTOR 1: 0X20…0X2D, MOTOR 2: 0X40…0X4D)
R/W
Addr
n
Register
Description / bit names
Range [Unit]
W
0x27
0x47
23
VMAX
Motion ramp target velocity (for positioning
ensure VMAX VSTART) (unsigned)
This is the target velocity in velocity mode. It
can be changed any time during a motion.
0…(2^23)-512
[µsteps / t]
W
0x28
0x48
16
DMAX
Deceleration between VMAX and V1 (unsigned)
0…(2^16)-1
[µsteps / ta²]
W
0x2A
0x4A
16
D1
Deceleration between V1 and VSTOP
(unsigned)
Attention: Do not set 0 in positioning mode,
even if V1=0!
1…(2^16)-1
[µsteps / ta²]
W
0x2B
0x4B
18
VSTOP
Motor stop velocity (unsigned)
Attention: Set VSTOP VSTART!
Attention: Do not set 0 in positioning mode!
1…(2^18)-1
[µsteps / t]
W
0x2C
0x4C
16
TZEROWAIT
Waiting time after ramping down to zero
velocity before next movement or direction
inversion can start and before motor power
down starts. Time range is about 0 to 2
seconds.
This setting avoids excess acceleration e.g.
from VSTOP to -VSTART.
0…(2^16)-1 *
512 t
CLK
RW
0x2D
0x4D
32
XTARGET
Target position for ramp mode (signed). Write
a new target position to this register in order
to activate the ramp generator positioning in
RAMPMODE=0. Initialize all velocity,
acceleration and deceleration parameters
before.
Hint: The position is allowed to wrap around,
thus, XTARGET value optionally can be treated
as an unsigned number.
Hint: The maximum possible displacement is
+/-((2^31)-1).
Hint: When increasing V1, D1 or DMAX during
a motion, rewrite XTARGET afterwards in order
to trigger a second acceleration phase, if
desired.
-2^31…
+(2^31)-1