OPC UA for PROFINET Encoder – Part <mm>: <Part Name>
10 OPC UA DataTypes
10.1 LogEntryDataType
Table 38 – LogEntryDataType Structure
Name
Type
Description
LogEntryDataType
structure
FaultSituationNumber
0:Byte
Identification of fault situation. 0 means current fault situation. Values greater than 0 identify historic fault situations (See [PDP] 6.3.8.3 Fault Buffer Mechanism).
EventNumber
0:UInt32
Unique number of log entry, analogous to Fault message counter (See [PDP] 6.3.8.3 Fault Buffer Mechanism).
EventType
EventTypeEnumeration
Characterization of the event (fault, warning, etc.). Must never have the value “UNSPECIFIED”.
EventCode
0:Int32
Fault-code identifying a fault or warning (See Table 69 fault codes).
EventText
0:LocalizedText
Brief description of the fault or warning.
EventComing
0:UtcTime
Time when the event appears.
EventGoing
0:UtcTime
Time when the event disappears. May not be set when the log entry is created. The field shall be set to “1900-01-01T00:00:00Z” to indicate an “empty” value in this case. Must be set when the event disappears.
EventAcknowledged
0:UtcTime
Time when the event is acknowledged. May not be set when the log entry is created. The field shall be set to “1900-01-01T00:00:00Z” to indicate an “empty” value in this case. Must be set when the event is acknowledged.
Its representation in the AddressSpace is defined in Table 39
Table 39 – LogEntryDataType Definition
Attribute
Value
BrowseName
LogEntryDataType
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:Structure type defined in OPC 10000-3
Conformance Units
PNENC Logbook Readable
10.2 EventTypeEnumeration
Table 40 – EventTypeEnumeration Items
Name
Value
Description
FAULT
0
The log entry indicates a malfunction of the Encoder, e.g. position fault.
WARNING
1
The log entry is a warning, e.g. for battery status.
UNSPECIFIED
255
No information about the type of the event is given. The intended purpose for the definition is usage by the GetFilteredLogbookEntries Method to specify “don’t care” for the EventType parameter. Must not be used for log entries and Encoder diagnosis events as EncoderDiagnosisEventType and LogbookEventType.
Its representation in the AddressSpace is defined in Table 43.
Table 41 – EventTypeEnumeration Definition
Attribute
Value
BrowseName
EventTypeEnumeration
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:Enumeration type defined in OPC 10000-5
0:HasProperty
Variable
EnumValues
0:EnumValueType []
0:PropertyType
Conformance Units
PNENC Logbook Readable
PNENC Logbook Events
PNENC Diagnosis Events
10.3 EncoderChannelStateEnumeration
Table 42 – EncoderChannelStateEnumeration Items
Name
Value
Description
NORMAL_OPERATION
0
The position feedback interface operates normally.
ERROR_ACKNOWLEDGEMENT
1
Error acknowledgement is being processed.
ERROR
2
There is an error present.
REFERENCE_VALUE_Gx_XIST2
3
The reference value is loaded in Gx_XIST2.
WAIT_FOR_REFERENCE_MARKS
4
The reference mark is expected.
SET_SHIFT_HOME_POSITION
5
Gx_XIST1 and Gx_XIST2 are set or shifted by a predefined preset value.
WAIT_FOR_MEASURED_VALUE
6
Measurement task active, waiting for measurement values.
MEASURED_VALUE_IN_XIST2
7
The requested measured value is loaded into Gx_XIST2.
PARKING
8
The position feedback interface is inactive and does not deliver a valid Gx_XIST1 value.
PARKING_ERROR
9
There is an error present and Gx_XIST1 is signaled invalid.
PARKING_ERROR_ACK
10
Error acknowledgement is being processed and Gx_XIST1 is signaled invalid.
Its representation in the AddressSpace is defined in Table 43.
Subtype of the 0:Enumeration type defined in OPC 10000-5
0:HasProperty
Variable
0:EnumValues
0:EnumValueType []
0:PropertyType
Conformance Units
PNENC Config Writable
10.11 EncoderConfigTypeEnumeration
Table 58 – EncoderConfigTypeEnumeration Items
Name
Value
Description
STATIC
0
Static configuration type. Passed and verified configuration parameters are made persistent (written to NVRAM) and will be available for next startup.
DYNAMIC
1
Dynamic configuration type. Passed and verified configuration parameters are not made persistent (not written to NVRAM) and are not available for next startup.
Its representation in the AddressSpace is defined in Table 59.