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:
- In, or double-click an existing events file in the list.FactoryTalk View Studio, in the Explorer windows, navigate toLogic and Control, right-clickEventsand selectNew
- In theEventseditor, in theActionfield, type the command, macro, or symbol that will run when the expression is True.
- If you do not want the event to be active, clear theEnabledcheck box.
- In theDescriptionfield, type a brief description if needed.
- In theExpressioneditor, create an expression that triggers the action when it is True.
- ClickAcceptto confirm and save the event definition.
- To define another event, clickNext.
- When finished, from the menu, selectFile >Save.
Provide Feedback