Website:-www.bholanath.in
E-mail id:[email protected]
20
Slave Address
Function Code
Holding ADDR
Data
01
06
0x04
ADDR
Note:
ADDR:
1 to 247 VALUES.
Command: 01, 06, 00,04,00,07
01 -> Slave Address
06* -> Function Code
00* -> Holding Register Address(LSB)
04* -> Holding Register Address(MSB)
00, 02 -> new slave name or address
(* indicates these values are fixed
)
Response: 01, 06, 00,04,00,07
MICROSTEP
This command is used to set micro-steps. Micro-steps can be read by using function code
0x03.
Slave Address
Function Code
Holding ADDR
Data
1
6
0x1A
MICROSTEP
Note:
Micro step value
MICROSTEP
VALUE
0x01
Full Step
0x02
Half Step
0x04
¼ step
0x08
1/8 Step
0x16
1/16 Step
Note:
Red
Coloured values are not applicable.
Command: 01, 06, 00, 1A, 00, 04
01 -> Slave Address
06* -> Function Code
00* -> LSB Address of Holding Register
1A* -> MSB Address of Holding Register
00, 04 -> set ¼
Th
micro step
(* indicates these values are fixed
)
Response: 01, 06, 00, 1A, 00, 04