OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
Communication
Function Manual, 05/2021, A5E03735815-AJ
299
Acknowledge
The Acknowledge method (MethodId: i=9111) has the following parameters:
Parameter
Data type
Description
[in] EventId
ByteString
EventId identifies a specific event notification.
Only events whose AckedState.Id field has the
value "False", can be acknowledged with the
"Acknowledge" method.
[in] comment
LocalizedText
Text for commenting the acknowledgment,
e.g. by an operator.
See also supplementary description of the
"AddComment" method.
Method Result Codes
Result Code
Description
Good
Method was successfully executed.
BadNotSupported
Method cannot be called because the option for acknowl-
edging for Alarms and Conditions by OPC UA clients is
deactivated in the CPU properties for OPC UA.
BadConditionBranchAlreadyAcked
Acknowledgment has already been made.
BadNodeIdUnknown
Method was called with the wrong ConditionId (see notes
on ObjectId).
BadEventIdUnknown
Method was called with the wrong EventId.
ConditionRefresh
The ConditionRefresh method (MethodId: i=3875) has the following parameters:
Parameter
Data type
Description
[in] SubscriptionId
Uint32
SubscriptionId of the subscription to be updat-
ed.
Method Result Codes
Result Code
Description
Bad_SubscriptionIdInvalid
The SubscriptinId is not valid.
Bad_RefreshInProgress
The "ConditionRefresh" is currently running.
Bad_UserAccessDenied
The method "ConditionRefresh" runs in the context of a wrong ses-
sion. This means that the subscription belongs to a different session.
Note
ConditionRefresh2 method
The OPC UA server of the S7-1500 CPU does not support the ConditionRefresh2 method
which can specifically synchronize a monitored item (MonitoredItem) in a subscription. In this
case, the OPC UA Server returns the result code "Bad_MethodInvalid". Use the method
"ConditionRefresh" instead.
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: ......