Echoes A Query (Sub-Function 0); Bus Coupler Reset (Sub-Function 1); Delete All Counter Contents (Sub-Function 10); Bus Communication Error Counter (Sub-Function 11) - Beckhoff BC7300 Manual

Modbus bus terminal controller
Table of Contents

Advertisement

EXAMPLE
BC7300
Query
Byte Name
Example
Start frame
Slave address 11
Function code 8
Subfunction high 0
Subfunction low 0
Data high 2
Data low 3
Error Check
LRC / CRC
End of frame
Response
Byte Name
Example
Start frame
Slave address 11
Function code 8
Subfunction high 0
Subfunction low 0
Data high 2
Data low 3
Error Check
LRC / CRC
End of frame

Echoes a query (Sub-Function 0)

Sub-function 0 causes the data that is sent to the slave by the master to be
returned.

Bus Coupler Reset (Sub-Function 1)

Sub-function 1 re-initialises the BC7300. Error counters are reset, and the
coupler executes a self-test. No telegrams are either received or sent while
the coupler is being reset.
Sub-function
00 01

Delete All Counter Contents (Sub-Function 10)

Calling this sub-function deletes the contents of all error counters in the
coupler.
Sub-function
00 0B

Bus Communication Error Counter (Sub-Function 11)

Returns the number of faulty communications.
Sub-function
00 0C

Error Answer Counter (Sub-Function 13)

This counter contains the number of error answer telegrams that the
coupler has sent.
Sub-function
00 0D
RTU
0x0B
0x08
0x00
0x00
0x02
0x03
0xA1
0xC0
t1-t2-t3
RTU
0x0B
0x08
0x00
0x00
0x02
0x03
0xA1
0xC0
t1-t2-t3
Data field (query)
00 00
Data field (query)
00 00
Data field (query)
00 00
Data field (query)
00 00
ASCII
„:"
0x3A
„0B"
0x30, 0x42
„08"
0x30, 0x38
„00"
0x30, 0x30
„00"
0x30, 0x30
„02"
0x30, 0x32
„03"
0x30, 0x33
„E8"
0x45, 0x38
CRLF
0xD, 0xA
ASCII
„:"
0x3A
„0B"
0x30, 0x42
„08"
0x30, 0x38
„00"
0x30, 0x30
„00"
0x30, 0x30
„02"
0x30, 0x32
„03"
0x30, 0x33
„E8"
0x45, 0x38
CRLF
0xD, 0xA
Data field (response)
00 00
Data field (response)
Echo Query Data
Data field (response)
CRC error counter
Data field (response)
Error Answer Counter
35

Advertisement

Table of Contents
loading

Table of Contents