![Zikodrive ZD10UART Series Скачать руководство пользователя страница 32](http://html1.mh-extra.com/html/zikodrive/zd10uart-series/zd10uart-series_operating-manual_3711670032.webp)
32
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
READ_SPD (0x11 0x01)
The READ_SPD register can be used to read the instant running speed of the motor at any time.
Example 17 -
READ_SPD
From Master
0x7A 0x64 0x01 0x11 0x01 0xEC
From ZikoDrive
0x7A 0x64 0xBB 0x01 0x09
0xBA 0x80
0x7A & 0x64 =
Header, ASCII code ZD
0xBB
=
Device Address, Set as 0xBB as default
0x01
=
Register Address, READ_PAR
0x09
=
READ_SPD MSB
0xBA
=
Read_SPD LSB
0x80
=
CheckSum
Please note that on the READ_PAR register there is no 0x00 command complete nor a 0x06
communication confirmation.
0x09BA in Hexadecimal gives 2490 in Decimal. Just like in writing the speed we multiply by 10,
when reading the speed, we need to divide by 10.
So, our speed in RPM is 2490 / 10 = 249RPM