Define an event

The
Events
editor has both a form and a spreadsheet section. You can enter event information in either section, however, when you use the form section, the
Expression
editor is available. The buttons in the
Expression
editor provide lists of available operators, functions and tags, and If-Then-Else syntax.
TIP:
Events are processed on exception, rather than sequentially. Because of this, do not set up events to rely on other events.
To define an event in the form section:
  1. In
    FactoryTalk View Studio
    , in the Explorer windows, navigate to
    Logic and Control
    , right-click
    Events
    and select
    New
    , or double-click an existing events file in the list.
  2. In the
    Events
    editor, in the
    Action
    field, type the command, macro, or symbol that will run when the expression is True.
  3. If you do not want the event to be active, clear the
    Enabled
    check box.
  4. In the
    Description
    field, type a brief description if needed.
  5. In the
    Expression
    editor, create an expression that triggers the action when it is True.
  6. Click
    Accept
    to confirm and save the event definition.
  7. To define another event, click
    Next
    .
  8. When finished, from the menu, select
    File >
    Save
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal