DP_AINFO (STRUCT)

 

TYPE DP_AINFO : STRUCT

Alarm information of a profibus device (see: RALARM).

(see IEC 61158-6)

InOut:

Name

Type

Comment

D_LEN

BYTE

Length of the alarm information: 4 .. 63 bytes

ATYPE

BYTE

Alarm Type

SLOT

BYTE

Slot number

ASPEC

BYTE

Alarm Specifier

Bit 0 to 1:

0: no further differentiation

1: Alarm appears and the related module is disturbed

2: Alarm disappears and the related module has no further errors

3: Alarm disappears and the related module is still disturbed

Bit 2: Additional acknowledge

Bit 3 to 7: Sequence number of alarm

ADD_INFO

ARRAY [0..58] OF BYTE

Additional alarm information