Slave Response To The Read Request, Example; Invalid Read Request; Structure Of A Write Request For Slave Number 17, Example - Siemens SINAMICS G120X Operating Instructions Manual

Infrastructure converter for hvac/water/wastewater
Hide thumbs Also See for SINAMICS G120X:
Table of Contents

Advertisement

The response returns the corresponding data set:
Table 6-51
Value
11 h
03 h
04 h
11 h
22 h
33 h
44 h
xx h
xx h
Table 6-52
Read request
Invalid register address
Read a write-only register
Read a reserved register
Controller addresses more than 125 registers
The start address and the number of registers of an
address are located outside of a defined register block
Structure of a write request via Modbus function code 06 (FC 06)
Start address is the holding register address.
Via FC 06, with one request, only precisely one register can be addressed. The value, which is
written to the addressed register, is contained in bytes 4 and 5 of the write request.
Table 6-53
Value
11 h
06 h
00 h
63 h
55 h
66 h
xx h
xx h
SINAMICS G120X converter
Operating Instructions, 06/2019, FW V1.01, A5E44751209B AC

Slave response to the read request, example

Byte
Description
0
Slave address
1
Function code
2
Number of bytes (4 bytes are returned)
3
Data first register "High"
4
Data first register "Low"
5
Data second register "High"
6
Data second register "Low"
7
CRC "Low"
8
CRC "High"

Invalid read request

Structure of a write request for slave number 17, example

Byte
Description
0
Slave address
1
Function code
2
Register start address "High" (write register 40100)
3
Register start address "Low"
4
Register data "High"
5
Register data "Low"
6
CRC "Low"
7
CRC "High"
Advanced commissioning
Converter response
Exception code 02 (invalid data address)
Telegram in which all values are set to 0.
Exception code 03 (invalid data value)
Exception code 02 (invalid data address)
6.3 Drive control
255

Advertisement

Table of Contents
loading

Table of Contents