pag. 26
ADVANCED FUNCTIONS:
In the CNV510-PNET-RTU-A are implemented some advanced commands that allows to check the functioning of the converter and send some Modbus commands directly from
Ethernet side. 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 must 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
Summary of Contents for CNV510-PNET-RTU-A
Page 4: ...pag 4 MECHANICAL DIMENSIONS...
Page 5: ...pag 5 EXAMPLE OF CONNECTION...
Page 6: ...pag 6 CONNECTION SCHEME...
Page 7: ...pag 7 POWER SUPPLY...