Industrial
Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO:
www.adfweb.com
Phone +39.0438.30.91.31
User Manual
PROFINET / Modbus Master
Document code: MN674-A006_ENG Revision 1.000 Page 21 of 47
Page 21 of 47
SET ACCESS:
By pressing the “
Set Access
” button from the main window for SW674-A006 (Fig. 2) the window “Set Modbus Access” appears.
This window is divided in two parts, the "Modbus Read" (Fig. 4a) and the "Modbus Write " (Fig. 4b).
The first part "Modbus Read" is used to read the data from the Modbus slaves and make them available to read from the PROFINET Master.
The second part "Modbus Write " is used to write the data that arrives from the PROFINET Master into the Modbus slaves.
M
ODBUS
R
EAD
The means of the fields are:
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. The
following options are available:
o
Coil Status;
o
Input Status
o
Holding Register;
o
Input Register.
In the field “
Address
” the starting
address of the register to read is defined;
In the field “
NPoint
” the number of consecutive registers to read is defined;
In the field “
Poll Time
” the delay time between two Modbus requests is defined;
In the field “
Max Error
” the number of consecutive errors that the converter waits before suspending the poll until the next reboot is
defined. If it is set to ‘0’, this function is disabled;
In the field “
Position
” the address of the PROFINET array where mapping the information is defined;
In the field “
Start Bit
” the bit of the selected byte of the field “Position” where starting to map the data is defined. Valid only for the
“Coil Status” and “Input Status” type;
If the field “
Swap
” is checked, the bytes’ order is exchanged;
If the field “
Swap Word
” is checked, the words’ order is exchanged;
In the field “
Mnemonic
” the description for the request is defined.
Figure 4a: “Set Access
Modbus Read” window