Control Variables (TecIO) vs Block Variables in SIMATIC PCS 7 Plant Automation Accelerator (PAA) and COMOS
In SIMATIC PCS 7 Plant Automation Accelerator (PAA) and COMOS bulk engineering, Control Variables (Technological I/Os or TecIOs) and Block Variables represent two fundamentally different levels of abstraction. A Control Variable is a standardized, high-level technological interface element (Signal, Parameter, or Message) explicitly exposed within the Control Module Type (CMT) interface. A Block Variable reference is a low-level, absolute connection path directly addressing any arbitrary block I/O connector on the CFC level. While Textual References in PAA connect only TecIO-to-TecIO interfaces via standardized drag-and-drop, Block Variable references allow deep, non-standardized connections to non-TecIO block pins on CFC charts using full project hierarchy syntax.
Table of Contents
- Technological Abstraction in Plant Automation Accelerator and COMOS
- Control Variables (TecIOs): Standardized CMT Interface Boundaries
- Block Variable References: Direct Access to CFC Block Connectors
- Five Connection Types in the PAA and COMOS Connection Manager
- Comparative Architecture Matrix: TecIOs vs Block Variables vs Global Operands
- Engineering Best Practices and Lifecycle Protection Rules
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Technological Abstraction in Plant Automation Accelerator and COMOS
Modern industrial plant engineering requires tight integration between process design (P&ID), electrical planning, and automation software. Siemens Plant Automation Accelerator (PAA), fully integrated within COMOS, establishes an automated bidirectional engineering workflow with SIMATIC PCS 7. Rather than programming individual Continuous Function Charts (CFCs) manually, automation engineers define Control Module Types (CMTs) and instantiate thousands of Control Modules (CMs) through automated data exchange.
A core conceptual challenge in this integrated workflow is distinguishing between technological objects defined at the CMT interface layer and low-level software elements residing within the underlying CFC execution engine. Conflating Control Variables (CV / TecIO) with Block Variables leads to fragile interconnections, broken Master Data Library synchronizations, and loss of template inheritance.
Control Variables (TecIOs): Standardized CMT Interface Boundaries
A Control Variable—formally designated as a Technological I/O (TecIO) in PAA and COMOS—is a parameter, signal, message, or characteristic that has been deliberately elevated to the technological interface of a Control Module Type in the PCS 7 Master Data Library.
Key characteristics of Control Variables (TecIOs):
- Standardized Abstraction: A TecIO decouples functional engineering from raw software addressing. For example, the open command of an actuated valve is exposed as TecIO OpenAut, regardless of whether the internal block algorithm is an APL VlvL, VlvMotL, or a custom driver.
- Bidirectional Synchronization: In PAA, TecIOs are automatically parsed and displayed as connectable terminal pins in the Connection Manager. Changes made in PAA synchronize cleanly into PCS 7 without manual address mapping.
- Strict Type Validation: A Textual Reference in PAA can only link a TecIO on one Control Module to a TecIO on another Control Module. Syntax follows the high-level technological path: Project\HierarchyPath\CM.CV.
Block Variable References: Direct Access to CFC Block Connectors
A Block Variable Reference provides a low-level, non-standardized connection mechanism designed to bypass the CMT interface layer when unforeseen automation requirements arise.
Key characteristics of Block Variable References:
- Direct CFC Connector Addressing: A Block Variable reference targets an internal block connector (input or output) on a CFC chart that was not defined as a TecIO in the CMT interface. For example, connecting to an internal timing pin or diagnostic flag on a helper block.
- Absolute String Path Syntax: Because the target connector is not exposed in the PAA object tree, the engineer must enter the full project string manually: Project\HierarchyPath\BlockName.BlockVariable (e.g., Plant_01\Boiler_Area\V410\V.LockAct).
- Engineering Risk: Connecting a TecIO to a non-TecIO block variable breaks the encapsulation of the Control Module Type. If the underlying library template is subsequently updated, the compiler or synchronization wizard may sever the unmanaged block variable connection.
Five Connection Types in the PAA and COMOS Connection Manager
The PAA Connection Manager categorizes automation wiring into five distinct connection models:
- Channel Request: Connects CM Signals directly to physical hardware I/O channels (e.g. mapping
PT_101.PV_Into ET 200SP analog input module). - Connections (Standard CM-to-CM): Creates direct, closed interconnections between CM inputs and outputs via drag-and-drop within the same project container.
- Textual References (TecIO-to-TecIO): Creates open string-based interconnections between two standardized TecIO interfaces across different plant hierarchies or uninstantiated units.
- Block Variable References: Creates deep interconnections from a TecIO to an arbitrary internal CFC block connector that lacks a TecIO definition.
- Global Data References: Connects a CM parameter to a global shared Data Block (
DB) or memory operand (M) for legacy communication.
Comparative Architecture Matrix: TecIOs vs Block Variables vs Global Operands
The following table compares the attributes and engineering constraints of interconnection types across PAA and PCS 7:
%IW, %QW, %M, or DBProject\Hierarchy\CM.TecIOProject\Hierarchy\Block.ParameterDB_Name.Variable or %IW100Engineering Best Practices and Lifecycle Protection Rules
To maintain codebase integrity across multi-year plant lifecycles:
- Rule of Encapsulation: Always avoid connecting a TecIO to a non-TecIO block variable. If a specific block parameter is required for plant interlocking or control, open the Master Data Library CMT and formally expose the parameter as a TecIO.
- Automated Bulk Verification: Use the PAA Query and Rule Checker tools to audit all interconnections. Flag any Block Variable references for technological review prior to exporting to PCS 7.
- Preserve Naming Conventions: Ensure that technological names in COMOS/PAA match the Plant Hierarchy and chart naming conventions in SIMATIC Manager to prevent unresolved textual references during XML import.
Verification
Validate the integrity of PAA and PCS 7 interconnections using the following steps:
- In PAA / COMOS, open the Connection Manager and verify that all standard interlocks and process links display green status indicators.
- Execute the PCS 7 Data Exchange export from PAA to generate the project XML transfer file.
- In SIMATIC Manager, import the XML via the PCS 7 Import/Export Assistant (IEA) or PAA Interface.
- In SIMATIC Manager, open
Options -> Charts -> Manage Textual Interconnectionsand click Make Interconnections to close all open TecIO references. - Verify that no broken links or missing block parameters are flagged in the CFC compilation report.
Limitations and Operational Precautions
Adhere to the following engineering precautions:
- Type Synchronization Overwrites: If an engineer rewires a block variable inside an individual CFC chart instance, running 'Update Block Types' or 'Match Type and Instances' from the Master Data Library can silently overwrite or disconnect the custom link.
- Case-Sensitive Paths: Block variable strings are strictly case-sensitive and must match the exact block name and pin mnemonic in the CFC chart.
- Cross-CPU Communication: PAA cannot bridge Block Variable references across separate AS controllers; cross-controller links require configured AS-AS communication blocks (
BSEND/BRCV).
Engineer FAQ
Can a Block Variable reference connect across different PCS 7 multiprojects?
No. Block Variable references rely on internal CFC chart pointers within a single AS project. Cross-project or cross-CPU connections require configured AS-OS or AS-AS communication links.
What happens if a target block pin is renamed after creating a Block Variable reference?
The connection breaks immediately upon compilation, reporting an unresolved textual reference or invalid pin name error in the compiler log.
How do I convert a Block Variable reference into a standardized TecIO in PAA?
Open the CMT in the PCS 7 Master Data Library, drag the internal block pin into the CMT interface window to expose it as a TecIO, and re-import the library into PAA.
Technical References
- SIMATIC PCS 7 Plant Automation Accelerator (PAA) System Manual (Entry ID: 109746516)
- SIMATIC Process Control System PCS 7 CFC for SIMATIC S7 (Entry ID: 109746517)
- COMOS Platform & Automation Interface Manual (Entry ID: 109756844)
- Siemens Industry Online Support (SIOS) CMT & EMT Configuration Guide (Entry ID: 109475571)
Related Articles
- Understanding Textual References, Block Variables, and Global Data References in PCS 7 CFC and CMT
- Activating the 'Select I-O' Function in SIMATIC PCS 7 Process Object View
- Batch Editing Sequential Function Charts (SFC) and SFC Types
Related Tags
- Plant Automation Accelerator (PAA)
- COMOS Integration
- Control Module Types (CMT)
- Technological I/O (TecIO)
- Block Variable References
- Textual References