![Zikodrive ZD10UART Series Скачать руководство пользователя страница 12](http://html1.mh-extra.com/html/zikodrive/zd10uart-series/zd10uart-series_operating-manual_3711670012.webp)
12
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
Command Complete
When commands are used that require time to perform (i.e., RUN_STPS) a 0x00 command is sent
from the ZikoDrive to the Master Controller once the action has been completed. If the command
sent is a Speed command, the 0x00 will be sent once the motor has reached the desired speed. No
additional commands will be accepted by the controller until the Complete command has been
sent.
Example 2
–
Command Complete (RUN_STPS)
From Master
0x7A
0x64
0x01
0x02
0x01
0x00
0x7D
0x00
0x7E
From ZikoDrive
0x06
//After RUN_STEPS has reached its final position//
From ZikoDrive
0x00
0x7A & 0x64 =
Header, ASCII code ZD
0x01
=
ZikoDrive Address, Set as 0x01 as default
0x02
=
Register Address, RUN_STPS
0x01
=
Direction
0x00
=
Data_0 (No. of steps MSB)
0x7D
=
Data_1
0x00
=
Data_2 (No. of steps LSB)
0x7E
=
CheckSum