
Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
Modbus Master / MQTT
Document code: MN67933_ENG Revision 1.101 Page 34 of 45
MODBUS SET ACCESS (ASYNCHRONOUS MODE):
By pressing the “
Modbus Set Access
” button from the main window for SW67933 (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 ID
” the address of the
Modbus 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 until the next
reboot is defined. If is set to ‘0’ this function is disabled;
In the field “
Position
” the address of the internal array where placing the information is defined;
In the field “
Start Bit
” the starting bit of the first byte of the field “Position” is defined;
If the field “
Swap
” is checked, the data from the Modbus registers are swapped;
If the field “
SwapWord
” is checked, the Modbus words are swapped;
In the field “
Mnemonic
” the description for the request is defined.
Figure 7a: “Set Access
Modbus Read”
window