Add Event

Explanation

Use this activity to add a new event to the configuration for the IFS/OPC Client. An event is an occurrence that is triggered based on a defined condition and value for that type of condition. The six event types are On Before Read, On After Read, On Limit Exceeded, On Limit Underpass, On Value Interval and On Timer Interval. Only one event of each type can exist on a particular tag and it may be complemented by an event script which adds more functions to the event.

§

Prerequisites

A tag must be established on the IFS/OPC client.

System Effects

An event is established on the IFS/OPC Client. 

Related Window Descriptions

N/A

Procedure

  1. Click the File menu and click Open.
  2. Browse for and select the configuration XML file you saved with tag definitions.
  3. Click the New Event button in the OPC Client toolbar (alternatively right click on a tag in the OPC Configuration pane and click New Event).
  4. Click the General tab.
  5. In the Event Type field, select the type of event for which OPC data will be monitored depending on your requirement.
Event Type Occurrence
On Before Read Triggered before the event condition is met and catches the OPC value before it has changed
On After Read Triggered after the event condition is met and catches the OPC value after it has changed
On Limit Exceeded Triggered when the OPC value exceeds the defined limit
On Limit Underpass Triggered when the OPC value falls below the defined limit
On Value Interval Triggered when the OPC value reaches and passes the initial interval and the subsequent interval
On Timer Interval Triggered when the time reaches and passes the initial interval and the subsequent interval

Additionally, for an On Limit Exceeded or On Limit Underpass event:

  1. In the Value field, enter the value beyond or below which you want to trigger the event.

Additionally for an On Value Interval or On Timer Interval event:

  1. In the First Interval field, enter the first value or time that when surpassed should trigger an event. e.g. 251
  2. In the Interval field, enter the successive value or time that when surpassed should trigger an event. e.g. 100
  3. Select the Reset if value underpass first interval check box, if required for the On Value Interval event or click the Reset button, if required for the On Timer Interval event. Note: Selecting the Reset if value underpasses the first interval check box ensures that if the OPC value falls below the First Interval, the value in the OPC Client is reset and the next event will fire when the First Interval is exceeded again. Similarly for the On Timer Interval event, click Reset to change the start time from when the event should be monitored and when the next event will be triggered. By default the start time would have been the time the configuration file was loaded and a connection to the OPC server established.
  1. Click OK.
  2. Click the File Menu and click Save.