PN_AINFO (STRUCT)
TYPE PN_AINFO : STRUCT
Alarm information of a profinet device (see: RALARM). (see IEC 61158-6)
- InOut:
Name
Type
Comment
BlockTypeUINTBlockType
BlockLengthUINTLength (in bytes) of field AlarmData
VersionUINTversion high + low
AlarmTypeUINTAlarm type
APIUDINTApplication Process Identifier
SlotUINTSlot number
SubslotUINTSubslot number
ModuleIdentNumberUDINTModule Identification number
SubmoduleIdentNumberUDINTSubmodule Identification number
AlarmSpecifierUINTAlarm Specifier
Bit 0 to 10: SequenceNumberBit 11: ChannelDiagnosisBit 12: ManufacturerSpecificDiagnosisBit 13: SubmoduleDiagnosisStateBit 14: not usedBit 15: ARDiagnosisStateUSIUINTUserStructure Identifier
AlarmDataARRAY [0..(Constants.MAX_PN_ALARM_DATA - 1)] OF BYTE
Alarm information (0..n) bytes)