beautypg.com

6 alarms and warnings, 1 alarm mechanism, 2 channel related diagnosis – HEIDENHAIN PROFIBUS-DP (DPV2) User Manual

Page 51: Alarms and warnings, Alarm mechanism, Channel related diagnosis, Table 20, Channel related diagnostics

background image

Alarms and warnings

51

6 Alarms and warnings

6.1 Alarm mechanism

There are three ways to get diagnosis information from the

PROFIBUS encoder:

• By a read parameter access to the Parameter 65001 where

information on the current status of the Faults and Warnings

and the support of the individual diagnosis functions can be

read out.

• By the evaluation of the Error bit in the Sensor Status word

G1_ZSW and additionally the evaluation of the Error code

transmitted in G1_XIST2.

• By the use of the Extended Diagnosis in the Diagnosis

telegram where the diagnosis objects are transmitted by the

Channel Diagnosis mechanism further described in this

chapter.

6.2 Channel related diagnosis

The encoder diagnosis is reported to the master as channel

related diagnosis if the alarm channel control bit is set. If the

Alarm channel is switched of only the first 6 bytes of the

diagnostic telegram are realized

(Diag.Ext_Diag = 0): Station_status_1, Station_status_2,

Station_status_3,

Diag_Master_Add and Ident_Number.

The diagnostic reason is entered in turns and the length of each

entry is 3 octets

Diagnostic function

data type

Value

Comments

Octet
number

Header

Unsigned8

0x81

Identifier x

1

Channel

Unsigned8

0x40

Input

channel 0

2

Type of diagnosis

Unsigned8

See 6.3

3

Table 20

Channel related diagnostics