PN_AINFO (STRUCT)

 

TYPE PN_AINFO : STRUCT

Alarm information of a profinet device (see: RALARM). (see IEC 61158-6)

InOut:

Name

Type

Comment

BlockType

UINT

BlockType

BlockLength

UINT

Length (in bytes) of field AlarmData

Version

UINT

version high + low

AlarmType

UINT

Alarm type

API

UDINT

Application Process Identifier

Slot

UINT

Slot number

Subslot

UINT

Subslot number

ModuleIdentNumber

UDINT

Module Identification number

SubmoduleIdentNumber

UDINT

Submodule Identification number

AlarmSpecifier

UINT

Alarm Specifier

Bit 0 to 10: Sequen­ceNumber

Bit 11: ChannelDiagnosis

Bit 12: ManufacturerSpe­cificDiagnosis

Bit 13: SubmoduleDiagno­sisState

Bit 14: not used

Bit 15: ARDiagnosisState

USI

UINT

UserStructure Identifier

AlarmData

ARRAY [0..(Constants.MAX_PN_ALARM_DATA - 1)] OF BYTE

Alarm information (0..n) bytes)