© Adolf Thies GmbH & Co. KG · Hauptstraße 76 · 37083 Göttingen · Germany
021814/03/21
Phone +49 551 79001-0 · Fax +49 551 79001-65 · [email protected] · www.thiesclima.com
Page 53 of 86
11.3 Command Interpreter MODBUS RTU
If the command interpreter MODBUS RTU is selected, the transferred bytes are interpreted
according to the MODBUS specification (http://www.modbus.org/). In this case, the wind
transmitter represents a MODBUS slave.
The data is transferred in packages in so called frames with max. 256 bytes. Each package
contains a 16bit CRC check sum (initial value: 0xffff).
Slave address
Functional code
Data
CRC
1byte
1byte
0 ... 252 byte(s)
2Bytes
CRC low-byte
CRC high-byte
Table 3 :
MODBUS Frame
The following MODBUS functions are supported:
•
0x04 (Read Input Register).
•
0x03 (Read Holding Registers).
•
0x10 (Write Multiple Registers).
•
0x2B (Read Device Identification with MEI-Type 0x0E).
The wind transmitter supports writing accesses for the slave address 0 (“broadcast”).
All received MODBUS requirements are checked for their validity before execution. In case
of an error, the wind transmitter responds with one of the following exceptions (
MODBUS
Exception Responses).
Code
Name
Meaning
0x01
ILLEGAL FUNCTION
The functional code in the request is not admissible for
the register address.
0x02
ILLEGAL DATA
ADDRESS
The register address in the request is not valid.
0x03
ILLEGAL DATA VALUE
The specified data in the request is not admissible.
Table 4: MODBUS Exceptions