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 36 of 47
Page 36 of 47
MODBUS DIAGNOSTIC OVER PROFINET:
It is possible to save the Modbus Diagnostic on PROFINET array using the field “Diagnostic” of the section “Set Communication”.
In this case, the status of each Modbus request defined in the section “Set Access” is saved starting from the byte of the PROFINET array
defined in the section “Set Communication”.
Each bit will represent the status of a Modbus request:
If for a request the converter receives a correct response, the status bit is put to ‘0’;
If for a request the converter receives a wrong response or it doesn’t receive any response, the status bit is put to ‘1’.
Example:
In the section “Set Access” are defined 8 Modbus reading requests (“Modbus Read” table) and 8 Modbus writing requests (“Modbus Write”
table). The Modbus reading requests are working and the Modbus writing request are not working.
The status bits of the Modbus Diagnostic on PROFINET will be:
Byte x
Byte x+1
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
where ‘x’ is the starting byte of the PROFINET array where the Modbus diagnostic is saved.