Website:-www.bholanath.in
E-mail id:[email protected]
23
DCC:
This command is used to set deceleration. Deceleration can be read by using
function code 0x03. Deceleration value is multiplied by 10 as float value required
more number of bytes.
Slave Address
Function Code
Holding ADDR
Data
01
06
0x0D
DCC
Note:
DCC value (2 Byte):
14.55 to 59590 Step/sec
2
for Driver .
Command: 01, 06, 00, 0D, 00, 01
01 -> Slave Address
06* -> Function Code
00* -> LSB Address of Holding Register
0D* -> MSB Address of Holding Register
00, 01 -> DEC value
(* indicates these values are fixed
)
Response: 01, 06, 00, 0D, 00, 01
BAUDRATE:
This command is used to set or Change Baud rate.
Slave Address
Function Code
Holding ADDR
Data
01
06
0x01
BR
BR :
BR
VALUE (BPS)
0x00
1200
0x01
1800
0x02
2400
0x03
4800
0x04
7200
0x05
9600
0x06
19200
0x07
38400
0x08
57600
0x09
72000
0x0A
115200
0x0B
128000
Note:
Command: 01, 06, 00,01,00,07
01 -> Slave Address
06* -> Function Code
00* -> LSB Address of Holding Register
01* -> MSB Address of Holding Register
00, 07 -> Baud rate (38400) value to be set for
communication
(* indicates these values are fixed
)
Response: 01, 06, 00,01,00,07