Beckhoff BC9000 Documentation page 71

Bus terminal controller for ethernet
Table of Contents

Advertisement

7.5.4.8
Diagnosis (Function 8)
The diagnosis function provides a series of tests for checking the communication system between the
master and the slave and for examining a variety of internal error states within the slave. A broadcast
telegram is not supported.
The function uses two bytes in the query to specify a sub-function code defining the test that is to be carried
out. The slave returns the function code and the sub-function code in the response.
The diagnostic queries use a two-byte data field to send diagnostics data or control information to the slave.
Query
Byte name
Function code
Sub-function high
Sub-function low
Data high
Data low
Response
Byte name
Function code
Sub-function high
Sub-function low
Data high
Data low
Echo a request (Subfunction 0)
Subfunction 0 causes the data that is sent to the slave by the master to be returned.
Coupler reset (Subfunction 1)
The coupler is reset with sub-function 1, error counters are reset and the controller performs a self-test. No
telegrams are either received or sent while the controller is being reset. The IP socket is closed.
Last reply with the sub-function 1
Before the Controller restarts it sends a reply with sub-function 1, after which the IP socket is
closed.
Sub-function
0x0001
Delete all counter contents (sub-function 10)
When this sub-function is called the controller clears all error counters.
Sub-function
0x000A
Bus Communication Answer Counter (Subfunction 11)
Returns the number of communication answers.
Sub-function
0x000B
BC9000 and BC9100
Sample
8
0
0
2
3
Sample
8
0
0
2
3
Data field (query)
0x0000
Data field (query)
0x0000
Data field (query)
0x0000
Version: 4.0.0
Fieldbus system
Data field (response)
0x0000
Data field (response)
Echo query data
Data field (response)
Counter value
71

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bc9100

Table of Contents