6.2.3.8
Write and read access using function codes
Basic structure of read and write access using function codes
)&
6ODYH
,'
%\WH
ORZ
KLJK
%\WH
%\WH
&5&
3URWRFRO'DWD8QLW3'8
'DWD
%\WHV
Function codes used
For data exchange between the master and slave, predefined function codes are used for
communication via Modbus.
The Control Unit uses the following Modbus function codes:
FC 03: Holding register to read data from the converter
FC 06: Write single register to write to individual register
FC 16: Write to multiple registers to write to several registers
Structure of a read request via Modbus function code 03 (FC 03)
Any valid register address is permitted as the start address.
Via FC 03, the control can address more than one register with one request. The number of
addressed registers is contained in bytes 4 and 5 of the read request.
Table 6-17
Structure of a read request via slave number 17, example
Value
Byte
Description
11 h
0
Slave address
03 h
00 h
6D h
00 h
02 h
1
2
3
4
5
Function code
Register start address "High" (register 40110)
Register start address "Low"
Number of registers "High" (2 registers: 40110; 40111)
number of registers "Low"
xx h
xx h
6
7
CRC "Low"
CRC "High"
Advanced commissioning
6.2 Drive control
SINAMICS G120XA converter
160
Operating Instructions, 03/2019, FW V1.0, A5E44751205B AB
Содержание SINAMICS G120XA
Страница 2: ......
Страница 12: ...Table of contents SINAMICS G120XA converter 10 Operating Instructions 03 2019 FW V1 0 A5E44751205B AB ...
Страница 104: ...Wiring 4 2 Control interfaces SINAMICS G120XA converter 102 Operating Instructions 03 2019 FW V1 0 A5E44751205B AB ...
Страница 916: ...Index SINAMICS G120XA converter 914 Operating Instructions 03 2019 FW V1 0 A5E44751205B AB ...
Страница 917: ......