Understanding the IDLE State and Sequencer Start Transitions in PCS 7 SFC

Understanding the IDLE State and Sequencer Start Transitions in PCS 7 SFC

In SIMATIC PCS 7 Sequential Function Charts (SFC), the 'IDLE' state (also designated as 'Ready to start') is the quiescent, unstarted condition of the state machine where all internal sequencers are inactive and waiting for a start command. An SFC enters IDLE upon initial CPU startup (OB100 initialization) or following the execution of a 'Reset' command from the 'Completed', 'Aborted', or 'Stopped' states. While in IDLE, the SFC evaluates start conditions ('ENSTART', 'START_LI', operator Start) and advances into 'Starting' and 'Run' once triggered.

Table of Contents

Executive Summary

The ISA-88 state model underpinning SIMATIC PCS 7 SFCs defines a deterministic lifecycle ensuring that equipment units and procedural sequences operate predictably. Novice automation engineers frequently ask why an SFC requires an 'IDLE' or 'Ready to start' state, why completed sequences cannot be restarted immediately without resetting, and what transitions govern idle execution. This guide explains the functional necessity of the IDLE state, state machine reset paths, faceplate representations, and automated restart techniques.

Architecture and Fundamental Mechanics

SFC State Machine Architecture and the IDLE State Mechanics:

  • Role of the IDLE State (Ready to start):
  • Safety Baseline: Ensures that all step outputs, temporary variables, and actuator commands are de-energized before beginning a new recipe run.
  • Transition Evaluation: While in IDLE, the SFC continuously evaluates whether prerequisites are fulfilled before allowing a start.
  • State Machine Progression:
  • IDLE (Ready to start) -> Command Start -> Starting -> Run.
  • Run -> Sequence completes -> Completing -> Completed.
  • Completed -> Command Reset -> IDLE (Ready to start).
  • Why Completed Sequences Require a Reset:
  • In batch processing, a unit must verify that products have been discharged and line clearance granted before re-running.
  • The mandatory transition through Reset ensures explicit acknowledgment of sequence termination.
  • Automated Reset via Self-Resetting Logic (AUTORES / CONT):
  • For continuous or auto-recycling sequences, setting the parameter AUTORES := 1 or enabling Continuous mode allows the SFC engine to execute an instantaneous auto-reset upon completion, returning to IDLE and starting immediately.

Step-by-Step Implementation Procedure

Configuring and Navigating the IDLE State in CFC/SFC:

  1. Inspect SFC Operating State Outputs:
    - In CFC, inspect the SFC block outputs:
    • QIDLE: True when in IDLE / Ready to start.
    • QSTART: True when starting.
    • QRUN: True when running.
    • QCOMP: True when completed.
  2. Configure Automatic Reset in CFC:
    - If automated restart without operator intervention is required:
    • Connect SFC.QCOMP (Completed) through a pulse/delay block to SFC.RESET_LI (Reset input in Auto mode).
    • Alternatively, set SFC.AUTORES := TRUE in the block properties.
  3. Configure Start Enable Interlocks:
    - Connect process prerequisites (e.g., vessel empty, temperature safe) to ENSTART.
    - When conditions are met and the SFC is in IDLE, ENSTART enables the Start button on the faceplate.
  4. Operating from WinCC Faceplate:
    - In WinCC Runtime, observe the SFC state banner: when ready, it displays 'Ready to start' (or 'IDLE') in green/white.
    - Click Start to begin the sequence.
    - When completed, click Reset to return to 'Ready to start'.

Verification

To verify IDLE state transitions:
1. In WinCC Runtime, view the SFC faceplate in 'Ready to start' status; confirm QIDLE = 1 in CFC test mode.
2. Click 'Start'; verify state advances through 'Starting' into 'Run' (QIDLE becomes 0, QRUN becomes 1).
3. Allow sequence to finish; verify state halts at 'Completed'.
4. Click 'Reset'; confirm state immediately transitions back to 'Ready to start' (QIDLE = 1).

Limitations and Operational Precautions

Operational precautions:
- Never configure an infinite zero-time auto-reset loop without inserting a minimum dwell time or interlock check, as tight cycling can saturate controller CPU communication buffers.
- In recipe-driven units controlled by SIMATIC BATCH, BATCH manages the start and reset commands; manual resets can cause recipe synchronization faults.
- Ensure that emergency stop or trip conditions de-assert ENSTART while the SFC is in IDLE to prevent unintended restarts.

Engineer FAQ

What does the IDLE state mean in PCS 7 SFC?

It is the quiescent 'Ready to start' state where the SFC is idle, initialized, and waiting for a start command.

Why can't I restart an SFC immediately after it completes?

Because the ISA-88 state model requires the sequence to transition through a 'Reset' command to clear previous run states before returning to 'Ready to start'.

Can an SFC reset itself automatically upon completion?

Yes, by enabling the AUTORES parameter or configuring continuous mode (CONT := 1).

What output indicates the SFC is in the IDLE state?

The QIDLE boolean output parameter.

What command transitions an SFC from 'Completed' back to 'IDLE'?

The 'Reset' command (RESET_LI in Auto mode, or the Reset button on the faceplate in Manual mode).

Technical References

Related Articles

Related Tags

  • SFC IDLE State
  • Ready to Start
  • ISA-88 State Logic
  • SFC Reset
  • Sequencer Control
20 respuestas