Engineering Best Practices for Implementing SFC Types, EMTs, and EPHTs with CMTs in SIMATIC PCS 7
In SIMATIC PCS 7 (V9.0 and higher), implement the technological hierarchy by structuring low-level field devices as Control Module Types (CMTs) in the Master Data Library, encapsulating sequential phase logic into SFC Types within Equipment Module Types (EMTs), and orchestrating multi-unit coordination via Equipment Phase Types (EPHTs). Rather than hardcoding direct block interconnections, configure technological commands (such as SetAuto) and statuses (such as IsAuto) using CMT block contacts, and assign technological roles (e.g., 'FillValve', 'Agitator') within the EMT. When instantiating EMTs and CMTs in the Plant Hierarchy, PCS 7 automatically establishes inter-block signal connections based on role assignments, ensuring seamless multiproject synchronization and full compatibility with SIMATIC BATCH and Plant Automation Accelerator (PAA).
Table of Contents
- Executive Summary
- Architecture and Fundamental Mechanics
- Step-by-Step Implementation Procedure
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Executive Summary
Sequential control in process automation encompasses diverse operations ranging from simple equipment sequencing (such as automated CIP flush cycles) to multi-vessel batch manufacturing governed by ANSI/ISA-88 standards. Historically, automation engineers created standalone SFC charts (Sequential Function Charts) tied directly to specific chart blocks. While functional for single-use applications, SFC charts cannot be centrally updated or instantiated as standardized types, leading to engineering duplication and severe maintenance overhead across multi-line production facilities.
Beginning in SIMATIC PCS 7 V9.0, Siemens fundamentally modernized sequential engineering by introducing the technological type concept: combining Control Module Types (CMTs), Equipment Module Types (EMTs), and Equipment Phase Types (EPHTs) under the unified framework detailed in PCS 7 Compendium Part C. This role-based architecture decouples sequence phase logic from specific physical tag addresses. This guide outlines the core architecture of SFC Types, EMTs, and EPHTs, provides the verified step-by-step workflow to configure role-based technological commands and statuses, and establishes engineering best practices to maximize code reusability and simplify SIMATIC BATCH integration.
Architecture and Fundamental Mechanics
The technological architecture of PCS 7 V9.0+ establishes a four-tier hierarchical execution model conforming to ISA-88:
1. Control Module Type (CMT):
* Represents individual physical sensors, actuators, and basic control loops (e.g., analog valves, variable speed drives, PID controllers).
* Configured in the Master Data Library (MDL) with standardized Advanced Process Library (APL) blocks (VlvL, MotL, PIDConL).
* Defines Block Contacts: technological interfaces exposing control commands (e.g., SetAuto, ModLiOp) and feedback status bits (e.g., IsAuto, FbkOpenOut).
2. Equipment Module Type (EMT):
* Represents an autonomous functional group of equipment performing a specific technological task (e.g., a dosing manifold, temperature control loop, or pump skid).
* Integrates an SFC Type that defines the state machine, operating states (Ready, Running, Holding, Held, Completing, Completed), step actions, and transition conditions.
* Employs Roles: abstract placeholders for required CMTs (e.g., role InletValve, role RecircPump). In the SFC steps, actions command the role interface (e.g., InletValve.SetAuto = 1) rather than physical I/O pins.
3. Equipment Phase Type (EPHT):
* Operates at the supervisory process cell level, coordinating multiple subordinate EMTs and CMTs to execute complex batch phases (e.g., a multi-step reactor heating and dosing phase).
* Acts as the direct procedural interface to SIMATIC BATCH recipes.
4. Automated Interconnection Engine:
* During instantiation in the Plant Hierarchy (Plant View), the engineer assigns concrete Control Module instances (CMs) to the designated roles in the EMT instance.
* The PCS 7 engineering system automatically generates all cross-chart signal interconnections, eliminating manual pin wiring and preventing connection errors.
Step-by-Step Implementation Procedure
Step 1: Create Control Module Types (CMTs) in the Master Data Library
- In SIMATIC Manager, open the Master Data Library of your multiproject.
- Navigate to
Plant Types > Control Module Types. - Create a new CMT (e.g.,
CMT_Valve_AnalogorCMT_Motor_1Speed). - Open the technological editor and insert the required APL blocks (e.g.,
VlvAnLandPcs7AnOu). - Define technological Block Contacts:
* UnderCommands, addSetAuto(mapped toVlvAnL.ModLiOpandVlvAnL.AutModLi = 1) andOpen(mapped toVlvAnL.OpenAut = 1).
* UnderStatuses, addIsAuto(mapped toVlvAnL.AutAct.Value) andIsOpen(mapped toVlvAnL.FbkOpenOut.Value).
Step 2: Create the SFC Type and Equipment Module Type (EMT)
- In the Master Data Library, navigate to
Plant Types > Equipment Module Typesand insert a new EMT (e.g.,EMT_Dosing_Unit). - Open the EMT in the Technological Editor and insert an SFC Type.
- In the SFC Type interface, define the required setpoints, process values, timers, and control strategies (e.g., Strategy 1: 'Fast Dose', Strategy 2: 'Trickle Dose').
- Under the EMT
Rolesfolder, insert the required equipment roles:
* Role 1:DosingValve(associated with typeCMT_Valve_Analog).
* Role 2:FeedPump(associated with typeCMT_Motor_1Speed).
Step 3: Program SFC Steps and Transitions Using Role Commands
- Open the SFC Type editor to author the sequencer state logic.
- In a step action (e.g., Step
START_DOSING):
* Add statement:DosingValve.Open = 1
* Add statement:FeedPump.Start = 1 - In the subsequent transition condition (e.g., Transition
FLOW_CONFIRMED):
* Add condition:DosingValve.IsOpen == 1 AND FeedPump.IsRunning == 1 - In the termination step (
STOP_DOSING):
* Add statement:FeedPump.Stop = 1
* Add statement:DosingValve.Close = 1 - Save and compile the SFC Type.
Step 4: Instantiate EMTs and CMTs in the Plant Hierarchy
- Switch to the
Plant Viewin SIMATIC Manager. - Navigate to the target hierarchy folder (e.g.,
Reactor_01 > Additions). - Instantiate the CMTs required for the unit (e.g., creating
XV_101andP_101). - Instantiate the EMT (e.g.,
EMT_Reactor01_Dose). - In the technological view of the EMT instance, drag and drop the concrete CM instances into their matching roles:
* AssignXV_101-> RoleDosingValve.
* AssignP_101-> RoleFeedPump. - Select
Options > Synchronize Shared Declarationsor compile charts: confirm that all interconnections are automatically generated in the background.
Step 5: Compile and Download to the AS Controller
- Execute a complete CFC and SFC compilation (
Chart > Compile > Changes only). - Ensure 'Generate module drivers' is selected.
- Download changes to the AS controller and verify runtime sequencing.
Verification
- In SIMATIC Manager, open the instantiated SFC Type in test mode (
Debug > Test Mode). - Switch the SFC instance from 'Manual' to 'Auto' mode.
- Command the sequence to 'Start': verify that the SFC transitions smoothly into step
START_DOSING. - Open the online CFC chart for valve
XV_101: verify thatOpenAuttransitions to1as commanded by the SFC role action. - Simulate feedback: toggle
FbkOpenOut = 1on the valve. Verify that the SFC transition validates and the sequencer advances to the next step. - In WinCC Runtime, open the standard SFC faceplate and confirm that the active step name, elapsed time, and operating state display accurately without script errors.
Limitations and Operational Precautions
- Modifying an SFC Type or EMT in the Master Data Library requires synchronizing all instances across the multiproject; test changes in an isolated test project prior to library synchronization.
- Changing the interface of an SFC Type (adding/deleting technological I/O parameters) requires an AS program download; verify whether the download can be performed in RUN mode (CiR) or requires a planned CPU stop.
- Role-based interconnections rely strictly on block contact names; renaming a block contact in a CMT breaks associated SFC actions until the role assignments are refreshed.
- EPHT coordination requires appropriate licensing when linked to SIMATIC BATCH recipes.
Engineer FAQ
What is the key advantage of an SFC Type over a standard SFC chart?
An SFC Type is a centralized, reusable template stored in the Master Data Library. Updating an SFC Type automatically synchronizes all instantiated SFC instances across the entire plant, whereas SFC charts must be updated individually by hand.
What is the difference between an EMT and an EPHT?
An EMT (Equipment Module Type) controls a group of actuators/sensors performing a single functional operation within a unit. An EPHT (Equipment Phase Type) is a higher-level phase that orchestrates multiple EMTs and interfaces directly with SIMATIC BATCH recipes.
How do roles simplify engineering in PCS 7 V9.0?
Roles allow sequence logic to be written against abstract equipment functions (e.g., 'FillValve.Open') rather than hardcoded chart block pins. When creating instances, you simply link a physical valve to the role, and the system automatically wires all connections.
Can I convert existing SFC charts into SFC Types?
While there is no automated 'one-click' converter, you can copy the phase topology and step logic from an SFC chart into a newly created SFC Type in the Master Data Library and bind its actions to CMT block contacts.
Where can I find detailed official guidelines for SFC Types and EMTs?
Siemens publishes comprehensive architectural guidelines and application examples in the PCS 7 Compendium Part C - Equipment Phases with SFC Types (V9.0) (Entry ID: 109780587).
Technical References
- SIMATIC Process Control System PCS 7 Compendium Part C - Equipment Phases with SFC Types (Entry ID: 109780587)
- SIMATIC Process Control System PCS 7 SFC Visualization Manual (Entry ID: 109780587)
- ANSI/ISA-88.01-1995 Batch Control Models and Terminology Standard
Related Articles
- Understanding Step Actions and Signal Retention in SIMATIC PCS 7 SFC Sequences
- Replacing and Synchronizing Equipment Phase Types (EPHT) in the PCS 7 Master Data Library
- Evaluating CPU Memory Consumption Differences Between Control Module Types (CMT) and Standard CFCs
Related Tags
- SFC Type
- EMT
- EPHT
- CMT
- ISA-88