Communication
2.3 Modbus communication
2.3.1.6
Modbus RTU function codes
General
Definition of function code
The function code defines the meaning of the message frame. The frame structure is also
defined by the function code.
Overview of the function codes
The table below provides an overview of the supported function codes. Which of these are
supported by SIMOCODE pro depends on the start address (see Section Modbus RTU data
tables (Page 277)).
Table 2- 33
Function code
(decimal/hexadecimal)
01 / 0x01 (Page 100)
02 / 0x02 (Page 100)
03 / 0x03 (Page 101)
04 / 0x04 (Page 101)
05 / 0x05 (Page 102)
06 / 0x06 (Page 103)
15 / 0x0F (Page 104)
16 / 0x10 (Page 105)
23 / 0x17 (Page 106)
43 / 0x2B (Page 108)
98
Overview of the function codes
Designation according to Modbus specification
Read Coils
Read Discrete Inputs
Read Holding Registers
Read Input Registers
Write Single Coil
Write Single Register
Write Multiple Coils
Write Multiple Registers
Read/Write Multiple Registers
Read Device Identification
SIMOCODE pro - Communication
Function Manual, 11/2018, A5E40508495002A/RS-AC/003
Need help?
Do you have a question about the SIMOCODE pro and is the answer not in the manual?