Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Add a Triggering Event

  • Last UpdatedJul 18, 2023
  • 3 minute read

You can use a triggering event to initiate an action, such as a command or set of commands.

To configure a triggering event:

  1. In the Setup activity, select the Events.

  2. Add a row to the Grid Editor.

  3. Type the required information in each column, or in the fields in the Property Grid.

    For a description of the properties, see below.

  4. Click Save.

    Note: The events server needs to be enabled for triggering events to work. See Triggering Events.

Event Properties

General Properties

Property

Description

Name

For a single computer system, specify GLOBAL for the event name.

If you are using a network and want to run an event on every computer, specify GLOBAL for the event name. If you want to run an event only on specific computers, specify an event name and use the Setup Wizard (Custom setup) to specify which computer(s) will run the event. The event name does not have to be unique: you can specify many events with the same name.

Enter a value of 16 characters max.

Note: Make event names conform to correct Tag Name Syntax. The use of any other characters such as spaces will result in a compiler error. Instead of a space, use an underscore character (_).

Time

The time of day to synchronize the Period in hh:mm:ss (hours:minutes:seconds). If you do not specify a time, Period is synchronized at 00:00:00 (that is, midnight). Enter a value of 32 characters maximum.

Period

The period to check for the event, in hh:mm:ss (hours:minutes:seconds). Enter a value of 32 characters maximum. Alternatively you can specify:

  • A weekly period by entering the day of the week to check for the event, for example, Monday, Tuesday, Wednesday.

  • A monthly period by entering the day of the month to check for the event, for example, 1st, 2nd, 3rd, 4th, 5th.

  • A yearly period by entering the day and the month to check for the event, for example, 1st January, 25th February, and so on. The day and month needs to be separated by a space.

    If you do not specify a period or time, the period defaults to one second. If you do not specify a period, but do specify the time, the period defaults to one day.

Trigger

The Cicode expression (or Variable tag) which is used to determine whether the event Action is executed. This expression is checked every one second. Enter a value of 254 characters maximum.

Action

The commands to execute. Enter a value of 64 characters maximum. These commands will execute in the following circumstances:

  • When the specified Time and Period occurs, and the Trigger condition is TRUE or blank.

  • When the Trigger becomes TRUE, and the Time and Period field are blank. The Trigger needs to become FALSE and TRUE again for the action to re-execute.

Comment

Any useful comment. Enter a value of 48 characters maximum.

Cluster Name

The default cluster to be used when the event action and event trigger Cicode is run. Any tags in these Cicode expressions will resolve to this default cluster if they don't have their cluster specified inside the expression. This field can be left blank in single cluster systems or if every tag inside the expressions are declared in the <ClusterName>.<TagName> format.

Project Properties

Property

Description

Project

The project in which the triggering event is included.

See Also

Specify Event Times and Periods

Use Event Triggers

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in