Source filter and request for archived messages
To be able to request the archived messages, the OPC A&E client must support the "SetFilter"
functionality for a subscription. If you add the additional keyword "OPCHAEServer" in the array
of the "Source Filter" of a subscription, the OPC A&E server sends archived messages. Along
with this keyword, you can use the following parameters to specify how messages are read:
● Method
● Time period
● With or without limits
The list of sources specified in the filter can include other source names in addition to the
"OPCHAEServer" source. In this case, the subscription returns the historical events of the
specified sources. The order of the source names has no effect. After configuring the source
filter, you can call up the selected period from the OPC A&E client with a "Refresh" call.
6.6.4
Syntax for access to archived messages
Syntax for access to archived messages
OPCHAEServer hMode=(read|advise) htStartTime=szTime
[htEndTime=szTime] [bBounds=(TRUE|FALSE)]
Parameter hMode = [read|advise]
This parameter specifies how the archived messages and events are read.
htStartTime parameter
This parameter specifies the time at which the messages and events are read from the archive.
htEndTime parameter
This parameter specifies the time up to which messages and events are read from the archive.
bBounds = [TRUE|FALSE] parameter
This parameter specifies how messages close to the start and end time are handled.
OpenPCS 7 interface
6.6 OPC Historical Alarms and Events (OPC "H" A&E)
OpenPCS 7
76
Function Manual, 05/2012, A5E02780178-02
Содержание SIMATIC OpenPCS 7
Страница 6: ......
Страница 16: ......
Страница 22: ......
Страница 32: ...System configurations 5 1 General configuration OpenPCS 7 32 Function Manual 05 2012 A5E02780178 02 ...
Страница 94: ......