![background image](http://html1.mh-extra.com/html/pixsys/cnv510-pnet-rtu-a/cnv510-pnet-rtu-a_user-manual_1560851028.webp)
pag. 28
B2 command
This command allows to see the number of errors for each Modbus poll defined in the section “Set Access”.
REQ:
Byte 0
0xB2
RES:
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
…
0xB2
Number of errors for Poll 1
Number of errors for Poll 2
…
Note:
In the UDP message, after the command’s identifier (0xB2), you can read the number of errors for the Modbus Reading requests and then for the Modbus writing
requests defined in the section “Set Access”.
Example:
We have defined one Modbus Reading request and one Modbus Writing request in the section “Set Access”. We want to know the number of error for each poll, so we use the
B2 command
REQ:
Byte 0
0xB2
RES:
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Identifier
Number of error for poll 1
Number of error for poll 2
0xB2
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x05
In this example, for the Modbus poll 1 (Modbus Reading request) the errors are 0 and fort he Modbus poll 2 (Modbus Writing Request) the errors are 5.
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...