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: SequenceNumberBit 11: ChannelDiagnosisBit 12: ManufacturerSpecificDiagnosisBit 13: SubmoduleDiagnosisStateBit 14: not usedBit 15: ARDiagnosisStateUSI
UINT
UserStructure Identifier
AlarmData
ARRAY [0..(Constants.MAX_PN_ALARM_DATA - 1)] OF BYTE
Alarm information (0..n) bytes)