
Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
Modbus TCP Master / MQTT
Document code: MN67935_ENG Revision 1.001 Page 26 of 37
MODBUS SET ACCESS (ASYNCHRONOUS MODE):
By pressing the “
Modbus Set Access
” button from the main window for SW67935 (Fig. 2) the window “Set Modbus Access” appears.
This window is divided in two parts, the "Modbus Read" (Fig. 7a) and the "Modbus Write " (Fig. 7b).
The first part "Modbus Read" is used to read the data from the Modbus slaves and make them available on MQTT side.
The second part "Modbus Write " is used to write the data that arrives from MQTT side to the Modbus slaves.
M
ODBUS
R
EAD
The means of the fields are:
If
the
field
“
Enable
”
is
checked, the Modbus request
is enabled;
In
the
field
“
Slave
IP
Address
” the IP address of
the Modbus TCP device to
read is defined;
In the field “
Port
” the TCP
port
used
for
the
communication is defined;
In the field “
Slave ID
” the address of the Modbus TCP device to read is defined;
In the field “
Type
” the data type of the register to read is defined. It is possible to choose between the following:
o
Coil Status;
o
Input Status
o
Holding Register;
o
Input Register.
In the field “
Address
” the starting address of the register to be read is defined;
In the field “
NPoint
” the number of consecutive registers to be read is defined;
In the field “
Poll Time
” the delay time to make the request is defined;
In the field “
Max Error
” the number of consecutive errors that the converter waits before suspending the request is defined;
In the field “
Position
” the address of the internal array where placing the information is defined;
Figure 7a: “Set Access
Modbus Read” window