Modbus TCP
6.3
AVAILABLE FUNCTIONS
In the Modbus specification are defined the functions used to access different types of data. In the SRW01-ETH, in
order to access those data the following services (or functions) have been made available:
Table 6.3:
Supported Modbus Functions
Code
Name
Description
01
Read Coils
Reading of bit blocks of the coil type.
02
Read Discrete Inputs
Reading of bit blocks of the discrete input type.
03
Read Holding Registers
Reading of register blocks of the holding register type.
04
Read Input Registers
Reading of register blocks of the input register type.
05
Write Single Coil
Writing in a single bit of the coil type.
06
Write Single Register
Writing in a single register of the holding type.
15
Write Multiple Coils
Writing in bit blocks of the coil type.
16
Write Multiple Registers
Writing in register blocks of the holding register type.
43
Read Device Identification
Identification of the device model.
6.4
MEMORY MAP
The smart relay SRW01-ETH has different types of data accessible through the Modbus communication. These data
are mapped at data addresses and access functions as described in the following items.
6.4.1
Parameters
The SRW01-ETH Modbus communication is based on the reading/writing of the equipment parameters. All the drive
parameters list is made available as 16-bit holding registers type. The data addressing is done with the offset equal
to zero, which means that the parameter number corresponds to the register number. The following table illustrates
the parameters addressing, which can be accessed as holding register:
Table 6.4:
Parameters Access - Holding Registers
Parameter
Modbus data address (decimal)
P0000
0
P0001
1
..
.
..
.
P0100
100
..
.
..
.
It is necessary to know the device list of parameters to be able to operate the equipment. Thus, it is possible to
identify what data are needed for the status monitoring and the control of the functions. The main parameters are:
Monitoring (reading):
P0680 (holding register 680): Status word
Command (writing):
P0682 (holding register 682): Control Word
SRW01-ETH | 23