![Zikodrive ZD10UART Series Скачать руководство пользователя страница 16](http://html1.mh-extra.com/html/zikodrive/zd10uart-series/zd10uart-series_operating-manual_3711670016.webp)
16
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
RUN_SPD Formula
The values for the MSB and LSB required for the RUN_SPD are just simply the required motor
Speed in RPM x 10 to obtain a Speed resolution of 0.1RPM.
Example 4
-
RUN_SPD (Multiple Commands)
So, for a required Speed of 120RPM;
120 x 10 = 1,200
1,200 Decimal = 0x04B0 in Hexadecimal
RUN_SPD_MSB = 0x04
RUNSPD_LSB = 0xB0
From Master
0x7A 0x64 0x01 0x01 0x01 0x04 0xB0 0x48
From ZikoDrive
0x06
From Master
0x7A 0x64 0x01 0x01 0x01 0x03 0xE8 0x11
The highlighted command will not be accepted as 0x00 completion command was not sent. I.e., the motor
was still accelerating when this command was sent.
0x7A & 0x64 =
Header, ASCII code ZD
0x01
=
ZikoDrive Address, Set as 0x01 as default
0x01
=
Register Address, RUN_SPD
0x01
=
Direction
0x04
=
Speed MSB
0xB0
=
Speed LSB
0x48
=
CheckSum