Cascading Multiple C_INTER5 Interlocks in SIMATIC PCS 7 CEMAT: Comprehensive Server and Client Integration
When cascading multiple C_INTER5 blocks to protect a single CEMAT drive (C_DRV_1D parameter ESVG), displaying all cascaded interlock faceplates on both OS Servers and OS Clients requires proper structural linking in CFC and script alignment in WinCC. In CFC, interconnect the output of each upstream C_INTER5 into the input of the downstream block and wire the block pointers via LNK_INT. On the Engineering Station, execute an OS Compile to generate interlock pointer tags, and ensure the CEMAT Client Project Editor has updated client GraCS scripts to pass the WinCC Server Prefix across nested child window containers.
Table of Contents
- Cascading Logic for CEMAT C_INTER5 Interlock Blocks
- Interconnecting Block Pointers (LNK_INT) in Continuous Function Charts
- OS Compilation and Interlock Tag Structure Generation
- Configuring Client Scripts for Hierarchical Interlock Popups
- Cascaded Interlock Configuration and Wiring Matrix
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Cascading Logic for CEMAT C_INTER5 Interlock Blocks
In heavy mineral processing applications, drive protection interlocks frequently exceed the 5-input capacity of a single C_INTER5 block. To accommodate 10 or 15 discrete safety permissives (such as multiple emergency pull-cords, bearing temperatures, chute overflow switches, and belt misalignment detectors), engineers cascade multiple C_INTER5 blocks in series.
In CFC, cascading involves two distinct layers: logical Boolean cascading (passing trip conditions from block to block) and diagnostic pointer cascading (enabling the WinCC faceplate to navigate through the entire chain of interlock popups).
Interconnecting Block Pointers (LNK_INT) in Continuous Function Charts
To ensure that both the PLC operating code and the WinCC faceplates understand the interlock chain:
-
Logical Interconnection: Connect the
OUTpin of Block 1 (e.g.,IL_01) into inputI1of Block 2 (IL_02). ConnectIL_02.OUTintoI1of Block 3 (IL_03). Finally, connectIL_03.OUTtoC_DRV_1D.ESVG. -
Diagnostic Pointer Interconnection: On CEMAT blocks, the structural parameter
LNK_INTestablishes the faceplate navigation hierarchy. ConnectIL_01.LNK_INTtoIL_02.LNK_INT, andIL_02.LNK_INTtoC_DRV_1D.LNK_INT.
Without the LNK_INT pointer, the AS-OS compiler cannot determine that IL_01 and IL_02 belong to the drive, leaving faceplate navigation buttons unlinked.
OS Compilation and Interlock Tag Structure Generation
When Compile OS runs, the AS-OS Engineering compiler inspects LNK_INT interconnections:
- It creates WinCC structure tags for each
C_INTER5instance under the plant hierarchy path. - It writes internal pointer tags into the drive's structure tag referencing the exact tag names of the chained interlocks.
- If this compilation is omitted or executed only for changes when structural pointers were modified, pointer tables in WinCC remain stale, breaking multi-box navigation.
Configuring Client Scripts for Hierarchical Interlock Popups
On OS Clients, opening nested interlock faceplates requires that the parent faceplate pass its Server Prefix down to the child popup container:
- In the client project, open WinCC Explorer and run the CEMAT OS Project Editor to ensure all standard
@PG_C_INTER5.PDLand@PG_C_INTER5_DIAG.PDLfiles are at the latest update level. - Verify that client
GraCScontains the C-script functionC_OpenInterlockFaceplate.fct, which parses the server prefix and opens secondary picture windows with full multi-client tag paths.
Cascaded Interlock Configuration and Wiring Matrix
The following table summarizes signal and pointer wiring across three cascaded C_INTER5 blocks:
LNK_INT)C_INTER5 #1 (Top)C_INTER5 #2.I1C_INTER5 #2.LNK_INTC_INTER5 #2 (Middle)C_INTER5 #3.I1C_INTER5 #3.LNK_INTC_INTER5 #3 (Final)C_DRV_1D.ESVGC_DRV_1D.LNK_INTC_DRV_1D (Drive)C_INTER5 #3.OUTVerification
Verify cascaded interlock navigation through the following steps:
- In WinCC Runtime on an OS Client, click the motor block icon to open
@PG_C_DRV_1D.PDL. - Click the
ESVGprotection interlock button. Confirm that the primary interlock box opens displaying inputs from Box 3. - Click the navigation link button inside Box 3. Confirm that the secondary interlock box (Box 2) opens adjacent to it.
- Click the navigation link button in Box 2. Confirm that Box 1 opens, revealing all 15 protection signals across the 3 popups.
- Trip an input on Box 1 (Sensor 2). Confirm that the fault propagates through Box 2 and Box 3, trips
C_DRV_1D.ESVG, and highlights the exact tripped sensor on Box 1.
Limitations and Operational Precautions
Consider these operational rules when cascading interlocks:
-
Inversion Settings: Remember that feeding an inverted input into another inverted input reverses logic; verify that cascaded output-to-input pins use standard non-inverted (active-high) logic.
-
Cycle Execution Order: In the CFC Runtime Editor, ensure
C_INTER5 #1executes before#2, which executes before#3, which executes beforeC_DRV_1D, preventing one-cycle propagation delays. -
APL Alternative: If more than 15 interlocks are required, consider using an APL
Intlk16block instead of cascading fourC_INTER5blocks.
Engineer FAQ
Can I bypass an input in a cascaded C_INTER5 block?
Yes, each C_INTER5 block supports software bypasses per input pin if permitted by user authorization levels in WinCC.
Does cascading C_INTER5 blocks increase AS scan time?
The computational overhead of C_INTER5 is minimal (<0.05 ms per block), but blocks should be sequenced in correct execution order in OB1.
What happens if a cascaded connection line is accidentally inverted?
Inverting the cascade connection will cause the entire downstream interlock chain to interpret a healthy upstream condition as a trip.
Technical References
- SIMATIC PCS 7 CEMAT V8.0 / V8.1 / V8.2 Engineering Manual (Entry ID: 109780813)
- CEMAT Object Description: C_INTER5 and C_INTERL Function Blocks
- WinCC V7.3 / V7.4 System Manual: Client-Server Faceplate Architecture
- Siemens Technical Guidelines: Cascading Interlock Blocks in Process Automation
Related Articles
- Resolving CEMAT Error on OS Clients: Too Many PLC-Connections
- Connecting CEMAT C_DRV_1D Instance Data Blocks to WinCC Diagnostic Faceplates
- Configuring First-In Detection (Feature Bit 31) and Interlock Diagnostics in PCS 7
Related Tags
- CEMAT
- C_INTER5
- Cascaded Interlocks
- LNK_INT
- ESVG
- Faceplate Navigation