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 22 of 47
Page 22 of 47
M
ODBUS
W
RITE
The means of the fields are:
In the field “
Slave ID
” the address of
the Modbus device to write is defined;
In the field “
Type
” the data type of
the register to write is defined. The
following options are available:
o
Coil Status;
o
Holding Register;
In the field “
Address
” the starting
address of the register to write is
defined;
In the field “
NPoint
” the number of
consecutive
registers
to
write is
defined;
In the field “
Poll Time
” the delay time between two Modbus requests is defined;
If the field “
On Change
” is checked, the converter sends the writing request only when the data from PROFINET change the value;
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 taking the information is defined;
In the field “
Start Bit
” the bit of the selected byte of the field “Position” where starting to take the data is defined. Valid only for the
“Coil 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.
Note:
In order to write the data only “On Change”, the “Poll Time” must be set to ‘0’.
Note:
If the field “On change” is checked and the “Poll Time” is different from 0, the converter sends the writing request cyclically and also
when the data is changed.
Figure 4b: “Set Access
Modbus Write” window