Communication manual 8400 motec PROFIBUS
Diagnostics
Querying the current bus status
74 L EDS84DMOTPBUS EN 3.0 - 11/2011
11.3 Querying the current bus status
Code C13861
displays the current PROFIBUS status is a bit-coded form:
Bit assignment Description
Bit 3 Bit 2 Bit 1 Bit 0 Reserved
Bit 5 Bit 4 State of the DP state machine (DP-STATE)
0 0 WAIT_PRM The slave waits for a parameter data telegram after
acceleration. Other types of telegrams will not be processed.
Data exchange is not yet possible.
0 1 WAIT_CFG The slave waits for the configuration telegram that specifies
the number of input and output bytes. The master informs
the slave about the number of I/O bytes that will be
transferred.
1 0 DATA_EX If the parameter settings and the configuration have been
accepted by the firmware and by the application, the slave
state changes to "Data_Exchange" (exchange of user data
with the master).
1 1 Not possible
Bit 7 Bit 6 State of the Watchdog-State-Machine (WD-STATE)
0 0 BAUD_SEARCH The slave is able to recognise the baud rate automatically.
0 1 BAUD_CONTROL After recognising the correct baud rate, the slave status
changes to BAUD_CONTROL, and the baud rate is monitored.
1 0 DP_CONTROL The DP_CONTROL status serves for response monitoring of
the master.
1 1 Not possible
Bit 11 Bit 10 Bit 9 Bit 8 Detected PROFIBUS baud rate
000012 Mbps
00016 Mbps
00103 Mbps
00111.5 Mbps
0 1 0 0 500 kbps
0 1 0 1 187.5 kbps
011093.75 kbps
011145.45 kbps
100019.2 kbps
10019.6 kbps
Bit 15 Bit 14 Bit 13 Bit 12 Reserved