
Industrial
Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO:
www.adfweb.com
Phone +39.0438.30.91.31
User Manual
OPC UA Server / Modbus Master
Document code: MN67B27_ENG Revision 1.000 Page 20 of 27
MODBUS SET ACCESS:
By pressing the “
Modbus Set Access
” button from the main window for SW67B27 (Fig. 2) the window “Set Modbus Access” appears.
This window is divided in two parts, the "Modbus Read" (Fig. 5a) and the "Modbus Write " (Fig. 5b).
The "Modbus Read" part is used to read the data from the Modbus slaves and make them available on OPC UA side.
The "Modbus Write" part is used to write the data that arrives from OPC UA 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 bytes of the Modbus registers are swapped;
If the field “
SwapWord
” is checked, the words of the 32 bit values are swapped;
In the field “
Mnemonic
” the description for the request is defined.
Figure 5a: “Set Access
Modbus Read”