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 30 of 47
Page 30 of 47
ADVANCED COMMANDS:
In the HD674-A006 are implemented some advanced commands that allows to check the functioning of the converter and send some
Modbus commands directly from Ethernet side (they are the same commands used in “Advanced Functions” section of SW674-A006). To use
them, it is necessary to send UDP messages to the port 5000.
The function of each command and the structure of the UDP messages are described below.
B0 command
This command allows to enable/disable the Modbus polls on Modbus side.
REQ:
Byte 0
B1/bit7
B1/bit6
B1/bit5
B1/bit4
B1/bit3
B1/bit2
B1/bit1
B1/bit0
…
Bn/bitn
0xB0
Poll 0
Poll 1
Poll 2
Pol 3
Poll 4
Poll 5
Poll 6
Poll 7
…
Poll x
1 = Poll disabled
0 = Poll enabled
If the message is received correctly, the same message will be sent back by the converter.
Note:
In the UDP message, after the command’s identifier, you have to enable/disable the Modbus reading requests and then the Modbus
Writing requests.
Example:
In the section “Set Access” are defined 8 Modbus reading requests (“Modbus Read” table) and 8 Modbus writing requests (“Modbus Write”
table). We want to disable the firsts 4 Modbus reading requests and the firsts 4 Modbus writing requests.
Byte 0
Byte 1
Byte 2
0xB0
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Poll0 Poll1 Poll2 Poll3 Poll4 Poll5 Poll6 Poll7 Poll8 Poll9 Poll10 Poll11 Poll12 Poll13 Poll14 Poll15
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0