GT610/GT620 Series High Performance Servo Driver User Manual
- 132 -
Application examples for all function codes
:
(1) 03H function code application
①
Read set parameters
For example: Read F0-09 parameter value from a slave at address 01H, and find
out parameter address is oo84H from the table.
Host sends (hexadecimal): 01 03 00 84 00 01 C4 23
Slave responds (hexadecimal): 01 03 02 00 01 79 84
It could be seen from response information that, the value of F0-09 is 0001H
(hexadecimal), which means F0-09 is set to 1 (terminal operation command
valid).
②
Read monitoring parameters
For example: Read the value of D-03 bus voltage monitoring parameter from a
slave at address 01H, and find out the address is 0005H (hexadecimal) from the
table.
Host sends (hexadecimal): 01 03 00 05 00 01 94 0B
Slave responds (hexadecimal): 01 03 02 01 DB F9 8F
It could be seen from response information that, the value of D-03 is 1DBH
(hexadecimal), which is 475 in decimal system, which indicates that the measured
bus voltage is 475V, consistent with the number displayed by keyboard D-03.
③
Read run mode information (address is 0E00H).
For example: Read run mode information from a slave at address 01H.
Host sends (hexadecimal): 01 03 00 02 00 01 25 CA
If slave responds (hexadecimal): 01 03 02 00 03 F8 45
Slave returned information is 0003H, in binary system: