Step 2.3. Modify Source Alarms Default Logging and Deletion Requirements for the Client Display
About this task
Alarm | Dynamically creates |
---|---|
$OPC_MODEL_ALARM | Point alarms |
$OPC_MODEL_EVENT | Events |
You can modify these alarms to change the default behavior for the source alarms.
Procedure
-
Double-click either
$OPC_MODEL_ALARM
or$OPC_MODEL_EVENT
in the Alarms folder on the client computer.The Alarm Definition dialog box for the selected alarm opens. - Select the Alarm Definition tab.
- Optional:
Check one or more of the Alarm Logging options.
Alarm Option Description Default Value $OPC_MODEL_ALARM Alarm Logging Alarms are logged to the Alarm log for checked options. All check boxes are clear. $OPC_MODEL_EVENT Alarm Logging Event alarms are logged to the Event log for checked options. All check boxes are clear. Note: Do not change the Alarm class and Alarm type. - Select the Alarm Options tab.
- Optional:
Change default options to your system requirements.
Letter Alarm Option Default Value A $OPC_MODEL_ALARM Deletion requirements Acknowledge Checked Reset Checked B Automatic actions Printer repeat <None> Auto acknowledge <None> Auto reset <None> C Manual reset allowed Clear D Maximum stacked 0 A $OPC_MODEL_EVENT Deletion requirements Acknowledge Checked Reset Clear B Automatic actions Printer repeat <None> Auto acknowledge <Immediate> Auto reset <None> C Manual reset allowed Clear D Maximum stacked 0 Important:- If you change any of these requirements, e.g. check Manual reset allowed, you can delete the Alarm from the client Alarm Viewer display. However, this action is not sent back through the OPC server to the source project.
- Change the default $OPC_MODEL_EVENT Auto acknowledge to <None> if you want users to view event alarms in the client Alarm Viewer.