6. Function blocks
6.1 Manufacturer function blocks
Function code
The following function codes can be selected. FC3 will be set as the default.
FC
dec
Function description Function
Code
hex
FC1
Read Coils  Used to read outputs
0x01
FC2
Read Discrete Inputs  Used to read inputs
0x02
FC3
Read Multiple Holding Registers  Used to read multiple input registers
0x03
FC4
Read Input Registers  Used to read input registers
0x04
FC5
1)
Write Single Coil  Used to write to exactly one output
0x05
FC6
Write Single Holding Register  Used to write to a single output
register
0x06
FC15
1)
Write Multiple Coils  Used to write to multiple outputs
0x15
FC16
Write Multiple Holding Registers  Used to write to multiple output
registers
0x10
FC23
1)
Read and Write Multiple Holding
Registers
 Used to read or write from/to multiple
word output registers
0x17
1) Only available for Modbus TCP clients or Modbus RTU master in easyE4
Fig. 248: Overview of how function codes are used
ComBUS module
C1 is preset as the Modbus RTU slave communication module to which the request
should be sent.
542
easyE402/24 MN050009ENEaton.com