• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - Sequencer
  • Sequencer - StateTransition

Sequencer - StateTransition

The Basic Block Execution Control Chart (ECC) State blocks can have StateTransition to other states.

The StateTransition may require an input event to traverse. For this connect the EventIn input to the StateTransition.

It is also possible to set expressions on StateTransition Value property. The transitions expression must evaluate to True value for the transition to be possible to traverse.

Note: When StateTransition is not connected to EventIn input and does not have a condition expression set, it will always be taken, if not limited by the allowed number of transitions.

There are two different transition count limits:

  • Basic Block has TransitionLimit property
  • Basic Block TransitionMode property O option can limit transition count to one per process run.

The State blocks can also have run operation(s) that indicate what logic to execute when the state becomes the current state in ECC.

Note: With Basic Block TransitionMode property option P makes it also possible to run RunOperation linked logic when the ECC stays in the same state during the process run.

Properties

PropertyDescription
ValueWhen set, expression syntax must evaluate to true. When not set, there is no condition for the transition. All Argument names, <state_name>.Time, <state_name>.Visited, <state_name>.Active, <port_name>.Connected and <port_name>.<api_name> can be used in the expression as immutable variables. See Expression Syntax for more details.

Note: All the available variables in the transition's Chai script expression, like Arguments and Port values, are immutable.

See Chai script for syntax help.

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top