9 Example messages Modbus/TCP
This chapter describes some examples of telegrams for Modbus/TCP.
9.1 16-bit access
9.1.1 Function code 3, read 16-bit parameter
Example 1:
Reading of parameter
Rated speed 372 (0x0174) in data set 2 from the frequency inverter with ad-
dress 1.
Request: Master frequency inverter
Field:
ID
registers
Response: Frequency inverter Master
Field:
The sent hexadecimal value is 0x056E = Decimal 1390. Parameter
Rated speed 372 has no decimal
places. Thus, the rated speed is 1390 min
-1
.
Example 2:
Reading of parameters
Rated speed 372 (0x0174) in dataset 0 of frequency inverter with address set
to 1 and number of registers set to 2 (non-permissible value).
Request: Master frequency inverter
Field:
Error response: Frequency inverter Master
Field:
The sent exception condition code is the hexadecimal value 0x04 = ERROR SLAVE DEVICE.
44
ACU
Modbus/TCP 10/13