26
Zikodrive Motor Controllers, Unit 4B, Top Land Country Business Park, Cragg Vale, Hebden Bridge, West Yorkshire,
UK, HX7 5RW
–
www.Zikodrive.com
- +44 (0)333 123 1730
DEC_VAL (0x0E)
The DEC_VAL is the rate of deceleration used when any movement of the motor is performed.
Deceleration is important for stepper motor positioning as if the deceleration was too quick, the
inertia of the rotor (and motor load) may not stop immediately and may overshoot. Every time the
DEC_VAL is implemented it assumes the DEC_CUR deceleration current.
DEC_VAL Formula
RPM/sec
2
=
DEC_VAL x 13.744
Example 14 - DEC_VAL
If the required deceleration is roughly 1900RPM/s
2
:
1900/13.744 =
138.2
So, a value of 138 to be entered into the DEC_VAL register.
138 Decimal = 0x8A Hexadecimal
From Master
0x7A 0x64 0x01 0x0E 0x8A 0x66
From ZikoDrive
0x06 0x00