Configuring Mass Digital Input State Alarms in SIMATIC PCS 7 Without OS Compile Overwrites

Configuring Mass Digital Input State Alarms in SIMATIC PCS 7 Without OS Compile Overwrites

In SIMATIC PCS 7, logging edge-triggered (0->1 and 1->0) state alarms for thousands of digital inputs cannot be accomplished by manually creating bit alarms in WinCC Alarm Logging because subsequent OS compilations will delete or overwrite manually configured messages. The supported, resilient PCS 7 architecture implements time-stamped multi-channel event blocks (such as EventTS / Event16TS) or standard APL channel blocks (Pcs7DiIn) in CFC charts, utilizing Process Object View (POV) CSV import/export to bulk-configure message texts and ensure seamless synchronization to WinCC OS.

Table of Contents

The PCS 7 Architectural Rule: Why Manual WinCC Alarms Fail

Engineers transitioning from classical SCADA platforms (such as WinCC flexible, FactoryTalk, or InTouch) often attempt to configure alarms by moving digital input words into a global data block and manually typing hundreds of discrete alarm records into WinCC Alarm Logging.

In SIMATIC PCS 7, this approach causes critical maintenance failures:
* The OS Compilation Paradigm: PCS 7 enforces a strict single-source-of-truth architecture. WinCC Alarm Logging configuration tables are automatically synchronized from the Automation Station (AS) via the OS Compilation process.
* Overwrites and Orphans: Performing a full OS compilation or an OS compile with memory reset overwrites manually added WinCC alarms or strips their plant hierarchy references, leading to unmonitored plant trips.

Comparison of Methods: Pcs7DiIn vs. Event16TS for Mass Digital Alarming

When an engineering specification mandates edge-triggered alarms for over 2,000 digital inputs, two compliant engineering patterns exist:

CriterionMethod 1: APL Pcs7DiIn Channel BlocksMethod 2: Multi-Channel Event16TS BlocksBlock Count1 CFC block per digital input (2,000 blocks).1 block per 16 inputs (125 blocks total).Process Object (PO) ImpactHigh (each Pcs7DiIn with alarms consumes an AS/OS PO).Low (1 Event16TS block represents 1 technological object).CPU Execution OverheadModerate local data and memory footprint.Highly optimized memory usage and execution cycles.Sequence of Events (SOE)Standard cyclic OB sampling.Sub-millisecond hardware timestamping supported.Recommended Use CaseIndividual process interlocks and technological signals.Mass status monitoring, electrical breakers, marshalling racks.

Step-by-Step Procedure: Bulk Configuration Using Event16TS and Process Object View

To configure alarms for 2,000 digital inputs efficiently without manual data entry:

  1. Instantiate Event16TS Blocks in CFC:
    * Create standardized CFC charts containing the Event16TS (FB 1218) block from the PCS 7 Advanced Process Library.
    * Interconnect the 16 binary inputs (In1 to In16) to the corresponding digital input symbols (e.g., I 100.0 to I 101.7).
  2. Configure Edge Detection Parameters:
    * Set signal edge triggering attributes on each input: select 0->1 transition (rising edge), 1->0 transition (falling edge), or both.
  3. Mass-Edit Message Texts via Process Object View (POV):
    * In SIMATIC Manager, navigate to View -> Process Object View (or press Ctrl+Alt+P).
    * Select the Messages tab.
    * Filter by Event16TS block instances.
    * Right-click and choose Export to CSV File....
  4. Edit in Microsoft Excel:
    * Open the exported CSV file in Excel.
    * Bulk-paste alarm descriptions, event identifiers, and location prefixes into the Event text columns for signals 1 through 16.
    * Save the file preserving CSV formatting.
  5. Import into SIMATIC Manager:
    * In Process Object View, right-click and select Import from CSV File....
    * Process Object View populates all 2,000 message attributes across all charts in seconds.
  6. Compile and Download OS:
    * Execute an OS compilation. All 2,000 edge alarms are automatically created in WinCC Alarm Logging with verified plant hierarchy paths.

Hardware Timestamping Considerations with ET 200 Stations

  • For high-speed electrical switchgear or turbine trips, connect digital inputs to decentralized I/O modules supporting High-Precision Hardware Timestamping (e.g., ET 200M IM 153-2 with SM 321 or ET 200SP HA).
  • Signals receive a hardware timestamp accurate to 1 millisecond at the input terminal, which Event16TS passes directly into the WinCC alarm archive.

Verification

  • In CFC dynamic test mode, toggle input In1 on an Event16TS block from 0 to 1.
  • In WinCC OS Runtime, verify that the corresponding alarm message appears immediately in the incoming alarm list with the exact text configured in POV.
  • Toggle the input from 1 to 0: confirm that the outgoing event logs cleanly with accurate timestamps.
  • Perform a full OS compilation: confirm that all 2,000 messages remain present and functional.

Limitations and Operational Precautions

  • Alarm Flood Mitigation: Generating alarms for every digital input can overwhelm operators during plant power outages; apply alarm shelving or group alarms logically by unit operation.
  • Process Image Partitioning: Assign Event16TS blocks to cyclic interrupt OBs (e.g., OB35 at 100 ms) matching the peripheral process image partition of the I/O modules.
  • CSV Character Encoding: When exporting and importing through Process Object View, ensure files use UTF-8 without BOM or ANSI encoding to prevent character corruption.

Engineer FAQ

  • Can I create alarms directly in WinCC Alarm Logging in PCS 7?
    No, manual WinCC alarms will be deleted or orphaned upon performing an OS compilation.
  • Which block is best for monitoring 16 digital signals simultaneously?
    The Event16TS (FB 1218) block is specifically designed for 16-channel time-stamped event processing.
  • How many Process Objects does Event16TS consume?
    Event16TS consumes one AS Process Object for the entire 16-channel block rather than 16 individual POs.
  • What tool in PCS 7 supports bulk CSV import of alarm texts?
    Process Object View (POV) supports exporting and importing all message texts in CSV format.
  • Can Event16TS capture both rising and falling edges?
    Yes, each input channel can be configured independently for positive, negative, or dual edge evaluation.
  • Does hardware timestamping require special I/O cards?
    Yes, sub-millisecond timestamping requires interface modules and digital input cards that support hardware SOE.
  • What is the maximum number of digital inputs that can be configured via POV?
    Process Object View can handle tens of thousands of channel parameters within project database limits.
  • Can alarm priorities be set in Process Object View?
    Yes, alarm priority (1 to 16) and message class can be configured per channel directly in the POV Messages grid.
  • Does compiling charts after POV import require a CPU stop?
    No, changes to block parameters and message texts can be downloaded in RUN mode.
  • Where should PCS 7 licensing rules for Process Objects be confirmed?
    All PO consumption rules must be validated against the PCS 7 Licenses and Configuration Limits manual.

Technical References

  • Siemens Manual: SIMATIC Process Control System PCS 7 Advanced Process Library (A5E43360408-AA).
  • Siemens Manual: SIMATIC PCS 7 High-Precision Time Stamping (A5E00807897-02).
  • ANSI/ISA-18.2: Management of Alarm Systems for the Process Industries.

Related Articles

Related Tags

PCS 7, Alarm Logging, Event16TS, Pcs7DiIn, Process Object View, Hardware Timestamping, SOE, WinCC

20 respuestas