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.
Содержание CNV510-PNET-RTU-A
Страница 1: ...pag 1 CNV510 PNET RTU A Software version SW67602 PROFINET Slave Modbus Master Converter User Manual...
Страница 4: ...pag 4 MECHANICAL DIMENSIONS...
Страница 5: ...pag 5 EXAMPLE OF CONNECTION...
Страница 6: ...pag 6 CONNECTION SCHEME...
Страница 7: ...pag 7 POWER SUPPLY...
Страница 25: ...pag 25 5 Load the configuration into the PLC...