beautypg.com

11 diagnostics – Lenze E84AYCPM User Manual

Page 88

background image

Lenze · E84AYCPM communication module (PROFIBUS®) · Communication Manual · DMS 5.0 EN · 11/2012 · TD17

88

11

Diagnostics

11.2

Diagnosing with the »Engineer«

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Querying the current bus status
Code

C13861

displays the current PROFIBUS status in a bit-coded form:

Bit assignment

Description

Bit 3

Bit 2

Bit 1

Bit 0

Reserved

Bit 5

Bit 4

Status 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_EXCH

If the parameter settings as well as the configuration have

been accepted by the firmware and by the application, the

slave state changes to DATA_EXCH ("Data Exchange",

exchange of user data with the master).

1

1

Not possible

Bit 7

Bit 6

Status of the watchdog state machine (WD-STATE)

0

0

BAUD_SEARCH

The PROFIBUS slave is able to automatically detect the baud

rate.

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

PROFIBUS baud rate detected

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