3 querying the current bus status, Querying the current bus status, Communication manual 8400 motec profibus – Lenze E84DGFCP User Manual

Page 74

Advertising
background image

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

0

0

0

0

12 Mbps

0

0

0

1

6 Mbps

0

0

1

0

3 Mbps

0

0

1

1

1.5 Mbps

0

1

0

0

500 kbps

0

1

0

1

187.5 kbps

0

1

1

0

93.75 kbps

0

1

1

1

45.45 kbps

1

0

0

0

19.2 kbps

1

0

0

1

9.6 kbps

Bit 15 Bit 14 Bit 13 Bit 12

Reserved

Advertising