OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
Communication
300
Function Manual, 05/2021, A5E03735815-AJ
AddComment
You have the possibility to add comments to Alarms- objects of the
SimaticAlarmConditionType type because the support of comments is mandatory for OPC UA
Alarms and Conditions .
A comment was save in the "Comment" event field.
The following time stamp event fields belong to the comment:
•
"Comment.SourceTimestamp" for the time when the comment is transferred to the CPU??
•
"Time" for the time when the Alarms object was modified
When the "AddComment" method is called, "Time" and "Comment.SourceTimestamp" are
identical.
Special features of Alarms and Conditions comments for the OPC UA server of the CPU
The AddComment method (MethodId: i=9029) has the following parameters:
Parameter
Data type
Description
[in] EventId
ByteString
EventId identifies the event notification for
which a state was reported.
[in] comment
LocalizedText
Text for commenting the specified Alarms
object.
Method Result Codes
Result Code
Description
Good
Method was successfully executed.
BadNodeIdUnknown
Method was called with the wrong ConditionId
(see notes on calling the methods "Acknowlege"
and "AddComment").
BadEventIdUnknown
Method was called with the wrong EventId.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......