Diagnostic Processing Architecture for ET 200SP HA in SIMATIC PCS 7

Diagnostic Processing Architecture for ET 200SP HA in SIMATIC PCS 7

In SIMATIC PCS 7 (V9.0 and V9.1), engineers do not manually program hardware diagnostics for ET 200SP HA remote I/O modules in user CFC charts. When standard APL channel driver blocks (Pcs7AnIn, Pcs7DiIn, Pcs7DiOu, Pcs7AnOu) are used, executing the CFC 'Generate Module Drivers' compilation wizard automatically generates the complete diagnostic hierarchy in system charts (@charts). This creates interface module drivers (MOD_HA_PA / MOD_HA_IM) and module diagnostic blocks (MOD_HA_AI, MOD_HA_DI) that detect wire breaks, short circuits, and overflow/underflow. Supervisory visualization is provided without extra engineering by configuring the integrated Maintenance Station Basic.

Table of Contents

Executive Summary

When deploying redundant S7-410-5H controllers paired with PROFINET-native SIMATIC ET 200SP HA distributed I/O in PCS 7 V9.0 SP2, engineering teams frequently inquire how to program module and channel-level diagnostics (e.g., detecting field wire breaks, sensor short circuits, actuator ground faults, and analog underflow/overflow). Programmers accustomed to classical STEP 7 often assume they must write complex SFC51/RDSYSST system function calls or manual diagnostic blocks. In SIMATIC PCS 7, manual diagnostic programming is completely unnecessary. The PCS 7 driver generator automatically creates the entire diagnostic block structure, interconnects hardware alarms, and feeds the built-in Maintenance Station Basic without purchasing additional software licenses.

Architecture and Fundamental Mechanics

The automated diagnostic architecture of ET 200SP HA in PCS 7 operates across three coordinated tiers:

1. Hardware-Level Diagnostic Reporting (PROFINET IO)

The ET 200SP HA distributed I/O line provides granular per-channel diagnostics:
- Interface Modules (IM 155-6 PN HA) evaluate PROFINET S2 system redundancy, carrier backplane bus integrity, and 24 VDC redundant power feeds.
- I/O modules (e.g., AI 16xI 2-wire HART HA, DI 16x24VDC HA) evaluate per-channel wire break ($< 3.6\text{ mA}$ for 4-20 mA), short circuit ($> 22.8\text{ mA}$), channel passivation, and hardware parameter faults.
- When an anomaly occurs, the module transmits standard PROFINET diagnostic interrupts (OB82) and pull/plug interrupts (OB83) to the S7-410 CPU.

2. The Driver Generator and System @Charts

During CFC Compilation with 'Generate module drivers' enabled:
- The compiler scans the HW Config architecture and automatically instantiates diagnostic blocks into hidden @ charts:
- MOD_HA_PA / MOD_HA_IM: Monitors the IM 155-6 PN HA interface module and PROFINET communication.
- MOD_HA_AI / MOD_HA_DI / MOD_HA_DO / MOD_HA_AO: Monitors slot-level health, supply voltage, and channel diagnostics.
- The compiler automatically interconnects the diagnostic outputs (Subn1Id, Rack, Slot, DXchg) to the APL channel driver blocks (Pcs7AnIn, Pcs7DiIn) in user charts.
- If a wire break occurs, Pcs7AnIn.Bad is set to 1, PV_Out.ST drops to Bad quality ($16#00$), and a localized process alarm is generated automatically.

3. Supervisory Visualization: Maintenance Station Basic

  • Every SIMATIC PCS 7 system includes the Maintenance Station Basic license free of charge.
  • OS Compilation parses the hardware catalog and diagnostic @ charts, generating a dedicated 'Maintenance View' in the Picture Tree.
  • Operators and technicians can navigate directly from an analog faceplate into the hardware diagnostic faceplate of the ET 200SP HA rack, displaying the exact faulty terminal and slot.

Step-by-Step Implementation Procedure

To deploy ET 200SP HA diagnostics in PCS 7:

Step 1: Enable Channel Diagnostics in HW Config

  1. Open HW Config for the AS station.
  2. Select the ET 200SP HA remote station on the PROFINET network.
  3. Double-click the target I/O module (e.g., AI 16xI 2-wire HART HA).
  4. Under Parameters, check the diagnostic boxes:
    - Check for wire break
    - Short-circuit to ground
    - Overflow / Underflow
  5. Save and compile HW Config.

Step 2: Use Standard APL Channel Drivers in CFC

  1. Open user CFC charts.
  2. Place standard APL channel driver blocks from the library (Pcs7AnIn for analog in, Pcs7DiIn for digital in).
  3. Interconnect the PV_In pin to the symbolic or absolute hardware address (e.g., IW 512).
  4. Do not attempt to program manual diagnostic queries; leave diagnostic pins for automatic interconnection.

Step 3: Execute Generate Module Drivers

  1. In the CFC Editor, select Chart -> Compile -> Objects.
  2. Ensure the option 'Generate module drivers' is checked.
  3. Click OK to execute compilation.
  4. Open the generated chart folder; observe the @ charts containing MOD_HA_... blocks automatically created.
  5. Download the AS changes to the CPU 410-5H.

Step 4: Configure Maintenance Station Basic on the OS

  1. In SIMATIC Manager, right-click the OS station and select Open Object.
  2. In WinCC Explorer, ensure the Picture Tree includes the Maintenance Station hierarchy.
  3. Execute a full OS Compilation.
  4. In WinCC Runtime, open the System Diagnostics / Maintenance overview to view the ET 200SP HA status.

Verification

To verify automated diagnostic operation:

  1. Wire Break Simulation Test:
    - Disconnect one field wire from Channel 0 of the ET 200SP HA analog input module.
    - Confirm that the physical module LED lights yellow/red (DIAG LED blinking).

  2. CFC Channel Driver Response:
    - Open the CFC chart online.
    - Verify that Pcs7AnIn.Bad switches to TRUE and PV_Out.ST transitions to $16#00$ (Bad).
    - Confirm that the downstream PIDConL enters fallback safe state.

  3. WinCC Alarm and Maintenance View Inspection:
    - Confirm that a system alarm appears in the WinCC Alarm List: ET200SP HA Slot 2 Channel 0 Wire Break.
    - Open the Maintenance Station faceplate; confirm that the rack graphic highlights Slot 2 in red.

Limitations and Operational Precautions

Operational limitations and precautions:

  1. Never Manually Edit @Charts: Manually modifying or adding blocks inside system @ charts is strictly prohibited; the driver generator overwrites these charts upon every compilation.
  2. Maintenance Station Standard Upgrade: While Maintenance Station Basic is included free of charge, advanced features like maintenance request workflows, component lifecycle tracking, and calibration intervals require the Maintenance Station Standard option license.
  3. PROFINET S2 Switchover: During a redundant CPU switchover, diagnostic interrupts are preserved without generating false rack failure alarms.
  4. Commercial Disclaimer: Verify all software libraries, engineering licenses, and system packages with an authorized Siemens distributor or the Siemens Industry Mall.

Engineer FAQ

Do I need to program diagnostic blocks for ET 200SP HA in CFC?

No. PCS 7 automatically generates all diagnostic blocks (MOD_HA_...) in system @ charts when you compile CFC with 'Generate module drivers' enabled.

Which blocks diagnose ET 200SP HA modules in PCS 7?

The system instantiates MOD_HA_PA / MOD_HA_IM for interface modules, and MOD_HA_AI, MOD_HA_DI, MOD_HA_DO, and MOD_HA_AO for signal modules.

What is Maintenance Station Basic in PCS 7?

It is a free, built-in feature of SIMATIC PCS 7 that automatically generates supervisory diagnostic screens for controllers, PCs, network switches, and remote I/O racks.

How does an APL channel driver report a wire break?

The channel driver (e.g., Pcs7AnIn) sets Bad = 1, changes signal quality (PV_Out.ST) to Bad ($16#00$), and triggers a WinCC system diagnostic alarm.

Where can I see the diagnostic blocks created by PCS 7?

In SIMATIC Manager, open the AS chart folder; the generated blocks reside within the system charts named @....

Technical References

Related Articles

Related Tags

  • ET 200SP HA
  • Hardware Diagnostics
  • Generate Module Drivers
  • Maintenance Station Basic
  • MOD_HA
20 respuestas