Brushless DC Motor Drive
|
BLDH1500RA
11
ICAN
Nov 2022
This portion is applicable for PC client and other device, but not for touch screen.
8.2 Communication steps for PC
Before communication, users need to know about below two standards firstly:
GB/T 19582.1-2008:
《
Industrial automation network specification based on Modbus protocol part 1
:
Modbus
application protocol
》
GB/T 19582.2-2008:
《
Industrial automation network specification based on Modbus protocol part 2
:
Implementation Guide of Modbus Protocol on Serial Link
》
When communicating, users need to write program following below steps:
○
1
Confirm the address of driver
○
2
Write a single byte program with 1 start bit and 2 stop bits according to the baud rate
○
3
Write CRC calibration program
○
4
Determine the structure of ADU according to function and send the ADU
○
5
Parse data according to the ADU returned by driver
The address of driver could refer to part 8.1 of this manual, the detailed description for
○
2 ~
○
5
is followed as below:
Write a single byte program with 1 start bit and 2 stop bits according to the baud rate
About the details of this portion, users can refer to part 6.5.1 of national standard GB/T 19582.2-2008.
*Notice: each character or byte is sent from left to right:
(
LSB
)…(
MSB
)
In above picture, the starting signal of a single data packet for serial communication is represented by logical 0 data bit,
and the two stopping signals of data packet are represented by logical 1 data bit.