Communication via Modbus TCP
6.5 Write and read access using function codes
Communication
Function Manual, 12/2018, 6SL3097-5BD00-0BP0
173
The response returns the corresponding data set:
Table 6- 5 Device response to the read request, example
04 h
11 h
22 h
33 h
8
9
10
11
Number of bytes (4 bytes are returned)
Data first register "High"
Data first register "Low"
Data second register "High"
Data second register "Low"
Table 6- 6 Invalid read request
Exception code 02 (invalid data address)
Read a write-only register
Telegram in which all values are set to 0.
Controller addresses more than 125 registers
Exception code 03 (invalid data value)
The start address and the number of registers of an
address are located outside of a defined register
Exception code 02 (invalid data address)