Programming manual
L6482
46/73
Doc ID 023768 Rev 1
9.1.6 DEC
The DEC register contains the speed profile deceleration expressed in step/tick
2
(format
unsigned fixed point 0.40).
In order to convert the DEC value in step/s
2
, the following formula can be used:
Equation 3
where DEC is the integer number stored in the register and tick is 250 ns.
The available range is from 14.55 to 59590 step/s2 with a resolution of 14.55 step/s2.
When the device is working in infinite acceleration mode this value is ignored.
Any attempt to write the register when the motor is running causes the command to be
ignored and the NOTPERF_CMD flag to rise (
).
9.1.7 MAX_SPEED
The MAX_SPEED register contains the speed profile maximum speed expressed in
step/tick (format unsigned fixed point 0.18).
In order to convert it in step/s, the following formula can be used:
Equation 4
where MAX_SPEED is the integer number stored in the register and tick is 250 ns.
The available range is from 15.25 to 15610 step/s with a resolution of 15.25 step/s.
9.1.8 MIN_SPEED
The MIN_SPEED register contains the following parameters:
The MIN_SPEED parameter contains the speed profile minimum speed. Its value is
expressed in step/tick and to convert it in step/s the following formula can be used:
Equation 5
where MIN_SPEED is the integer number stored in the register and tick is the ramp 250 ns.
step/s
2
[
]
DEC
2
40
–
⋅
tick
2
-------------------------------
=
step/s
[
]
MAX_SPEED
2
18
–
⋅
tick
--------------------------------------------------------
=
Table 13.
MIN_SPEED register
Bit 12
Bit 11
Bit 10
Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0
MIN_SPEED
step/s
[
]
MIN_SPEED
2
24
–
⋅
tick
------------------------------------------------------
=