Table Of Contents

Transition Logic

    Last Modified: September 6, 2017

    Transitions require logic statements to trigger the User Program to change states. Logic statements include the channel or variable name and a keyword that defines the condition that triggers the transition.

    Follow these guidelines when writing logic statements:

    • Type logic statements directly into the field on the transition in the state machine diagram or into the field on the configuration pane.
    • You must use the channel or variable name set in the I/O Configuration table.
    • Keywords and Boolean operators are not case-sensitive.
    • Do not use = in transition logic.
    Table 1. Fault Logic
    Type Syntax Keywords
    Inputs <channel name>.<keyword> Testpulsefault
    Outputs <channel name>.<keyword> Testpulsefault
    Table 2. Boolean Logic
    Type Syntax Keywords
    Boolean operators

    <keyword><channel or variable name>

    Not: not, !
    <channel or variable name> <keyword> <channel or variable name> Or: or, +, ||
    And: and, *, &&

    Recently Viewed Topics