Table Of Contents

Wiring Transitions

Version:
    Last Modified: September 6, 2017

    Follow these steps to wire transitions in the Functional Safety Editor.

    1. Initiate the transition from the source simple state or compound state.
      • To create transitions from a simple state, click the terminal on the state border.
      • To create transitions from a compound state, double-click the border of a compound state to add a state machine tunnel. Then click the terminal on the state machine tunnel.
      spd-note-tip
      Tip  

      Simple states have twelve terminals for connecting transition. If you need more than twelve connections to or from a single state, consider using a compound state.

    2. Complete the transition on the destination simple state or compound state.
      • To complete a transition to a simple state, click the terminal on the state border.
      • To complete a transition to a compound state, click the terminal on the state machine tunnel.
      spd-note-note
      Note  

      Every transition must have at least one source state and only one destination state.

      spd-note-note
      Note  

      Transition direction is dependent on wiring order. Make sure you click the source state first and the destination state second.

    3. Right-click the transition and select Create transition condition.

      You can also click on the Transition condition field on the Item tab of the configuration pane.

      spd-note-note
      Note  

      When a transition wire crosses the border of a compound state, a state machine tunnel creates two wire segments. The Functional Safety Editor only allows logic statements on the wire segment closest to the target state.

      Figure 1. Transition Crossing a Compound State Border
    4. Type the transition logic into the transition condition box on the wire or the Transition condition field on the configuration pane. Always follow transition logic syntax rules.
      spd-note-note
      Note  

      You must use the channel name or variable name defined in the Name column of I/O Configuration table. Do not use the name defined in the Hardware name column.


    Recently Viewed Topics