Integrating ADDFEM Frontend Electronic Modules in SIMATIC PCS 7 v8.2 - Library Compatibility and Rack Failure (RACF_P) Resolution
In SIMATIC PCS 7 v8.2, integrating ADDFEM (Frontend Electronic Module) high-speed analog/discrete sub-racks requires installing the official ADDFEM Library V8.2. Utilizing older library blocks from PCS 7 v8.1 or v7.x results in severe communication driver incompatibilities, manifesting as a persistent primary rack failure (RACF_P = TRUE) on channel driver blocks like CH_AFCO and CH_AFAI. The root cause is that older ADDFEM driver blocks execute legacy system calls (SFCs) and diagnostic data structures rejected by modern PCS 7 Basis Library compilers. To resolve this, update the Master Data Library with ADDFEM V8.2 blocks and recompile CFC with module driver generation.
Table of Contents
- ADDFEM Hardware Architecture and High-Speed Signal Processing
- Root Causes of RACF_P Rack Failures on CH_AFCO Blocks
- Remediation Procedure - Upgrading ADDFEM Library and Regenerating Drivers
- ADDFEM Software Compatibility and Error Status Matrix
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
ADDFEM Hardware Architecture and High-Speed Signal Processing
The Siemens ADDFEM (Frontend Electronic Module) is a specialized, high-performance I/O system engineered for demanding turbine control, power generation, and high-speed process acquisition:
* Autonomous High-Speed Sampling: Operates dedicated front-end DSP processors that sample analog inputs at sub-millisecond rates (up to 10 kHz) and execute autonomous fast closed-loop controllers.
* Controller Interface: Connects to the SIMATIC S7-400 / CPU 410-5H controller via high-speed PROFIBUS DP or dedicated optical links.
* Driver Block Architecture: The ADDFEM software package provides specialized PCS 7 driver blocks (such as MOD_AFCO, CH_AFAI, CH_AFCO) that interface between the hardware module and CFC technological logic.
Root Causes of RACF_P Rack Failures on CH_AFCO Blocks
When an engineering station running PCS 7 v8.2 compiles charts containing ADDFEM v8.1 blocks:
1. Module Driver Version Incompatibility: The PCS 7 v8.2 compiler generates modernized diagnostic structures (DIAG_INF) expecting compatible Basis Library subroutines. Older ADDFEM v8.1 driver blocks contain mismatched OB execution interfaces, failing to initialize the hardware link and latching RACF_P (Rack Failure Primary).
2. Missing ADDFEM Hardware Support Package (HSP): If the exact ADDFEM firmware profile is missing from the STEP 7 HW Config catalog, the DP slave parameterization record fails during controller startup.
3. Baud Rate and Active Bus Module Timing: ADDFEM modules require precise bus parameter settings (constant bus cycle time / isochronous mode). Any jitter on the PROFIBUS master line flags communication timeout.
Remediation Procedure - Upgrading ADDFEM Library and Regenerating Drivers
Follow this procedure to resolve RACF_P rack failures and restore communication:
[Phase 1: Install Official ADDFEM Library for PCS 7 v8.2]
│ • Obtain the dedicated installation media: "SIMATIC PCS 7 ADDFEM Library V8.2"
│ • Execute setup to deploy updated blocks (FB/FC) and HW Config HSP profiles
│ • In Automation License Manager: Verify valid ADDFEM Engineering/Runtime license
│
[Phase 2: Update Multiproject Master Data Library]
│ • Open: File -> Open -> Libraries -> "PCS 7 ADDFEM Library V8.2"
│ • Copy all updated blocks (CH_AF*, MOD_AF*, AF_DIAG) into your Master Data Library
│ • In CFC: Select Options -> Block Types -> Select Master Data Library
│ • Click "Clean Up" -> Click "New Version..." to update all block instances
│
[Phase 3: Compile Hardware and Module Drivers]
│ • Open HW Config: Execute "Station -> Save and Compile" -> Download HW Config to AS
│ • Open CFC: Select "Chart -> Compile -> Entire program"
│ • Ensure [x] "Generate module drivers" is checked!
│ • Download changes to the AS controller
Procurement Notice: Validate all final license quantities, media packages, and part numbers against current Siemens Industry Mall catalogs and with an authorized Siemens distributor quotation prior to procurement.
ADDFEM Software Compatibility and Error Status Matrix
Verify software package compatibility across SIMATIC PCS 7 releases:
RACF_P = TRUEVerification
To confirm that ADDFEM communication is restored:
1. In CFC Editor, open the chart containing the CH_AFCO and MOD_AFCO blocks.
2. Switch CFC to Test Mode online.
3. Verify that parameter RACF_P (Rack Failure Primary) transitions from TRUE to FALSE.
4. Confirm that output QBAD de-energizes and live analog process values (V_OUT) update cyclically.
5. In HW Config Online, verify that the ADDFEM sub-rack indicates operational status without DP bus fault alarms.
Limitations and Operational Precautions
Never mix driver blocks from different ADDFEM library versions within the same S7 program. Mixing v8.1 and v8.2 blocks causes conflicting memory structures in shared diagnostic data blocks, leading to intermittent controller halts (OB121). Always compile the entire S7 program with 'Generate module drivers' following any library update.
Engineer FAQ
Can ADDFEM v8.1 library blocks be used in PCS 7 v8.2 as a temporary fix?
No. Due to internal architecture changes in the PCS 7 v8.2 Basis Library, v8.1 ADDFEM driver blocks cannot communicate with the v8.2 module driver generator, permanently triggering rack failure.
Where can I obtain the ADDFEM V8.2 software package?
ADDFEM is an add-on product available through Siemens energy and turbine automation sales channels or via Siemens Industry Mall.
What does the block CH_AFCO do?
The CH_AFCO block is the channel driver for ADDFEM continuous analog outputs and high-speed closed-loop control references.
Does ADDFEM support redundant PROFIBUS DP connections?
Yes. ADDFEM sub-racks can be equipped with redundant interface modules supporting bumpless DP communication across redundant S7-400H controllers.
Technical References
- SIMATIC PCS 7 Add-on ADDFEM System Manual - A5E00278782-04
- SIMATIC Process Control System PCS 7 Released Modules Catalog - A5E00078081-30
- Siemens Industry Online Support (SIOS) Entry ID 109780813 - ADDFEM Library Compatibility
Related Articles
- Resolving Module Driver Generation Failures for Unsupported CPU Profiles in PCS 7
- Troubleshooting 'Go to I/O Module' Navigation Failures Between CFC and HW Config in SIMATIC PCS 7
- Evaluating Migration Paths from SIMATIC PCS 7 v7.1 to v8.2 and v9.0 - Architecture, OS, and Hardware Prerequisites
Related Tags
- ADDFEM
- CH_AFCO
- RACF_P
- PCS 7 v8.2
- Turbine Control