Migrating Classic Channel Drivers from PCS 7 V7.1 to V8.2: APL Replacement Strategies vs Legacy Library Retention

Migrating Classic Channel Drivers from PCS 7 V7.1 to V8.2: APL Replacement Strategies vs Legacy Library Retention

When migrating a SIMATIC PCS 7 project from V7.1 (Windows XP) to V8.2 (Windows 7/10) and encountering compilation failures on classic channel drivers (CH_AI, CH_DI, CH_DO), you do not need to manually delete and replace hundreds of drivers with modern APL blocks (Pcs7AnIn, Pcs7DiIn). Replacing them manually is completely unnecessary because Siemens provides the PCS 7 Standard Library V7.1 / V7.4 Legacy Package for modern PCS 7 releases. Installing this legacy library on the PCS 7 V8.2 Engineering Station enables the AS compiler and Driver Generator to compile the original classic channel blocks cleanly without modifying a single chart.

Table of Contents

The Operating System Migration Barrier: Windows XP to Windows 7/10

Many legacy process plants running SIMATIC PCS 7 V7.1 operate on obsolete Windows XP or Windows Server 2003 workstations. Because modern computer hardware cannot run Windows XP, facilities must migrate to PCS 7 V8.2 or V9.0 on Windows 7 or Windows 10.

When engineers copy their legacy V7.1 project directly into a fresh PCS 7 V8.2 installation and attempt to compile CFC charts, the AS compiler throws severe errors: 'Block type CH_AI not found in library', 'Module driver generation aborted'. Engineers mistakenly believe they must spend weeks manually deleting every classic channel driver and reconnecting APL channel blocks.

Classic Channel Drivers (CH_AI, CH_DI) vs APL Drivers (Pcs7AnIn, Pcs7DiIn)

The two block families represent distinct architectural eras in PCS 7:

  • Classic Standard Library (V7.1): Uses CH_AI (FB33), CH_AO (FB34), CH_DI (FB35), and CH_DO (FB36). Outputs are elementary data types (REAL, BOOL) accompanied by a separate quality bit (QBAD).

  • Advanced Process Library (V8.2): Uses Pcs7AnIn (FB1869), Pcs7DiIn (FB1871), etc. Outputs are structured APL records (Out.Value and Out.ST), containing IEEE status bytes (16#80 = Good, 16#60 = Simulated, 16#00 = Bad).

Because elementary pins cannot connect directly to APL structured inputs, replacing channel drivers requires completely rewiring all downstream motor, valve, and monitoring blocks.

Why Replacing Channel Drivers Manually Causes Project Compile Failures

Attempting manual channel driver replacement without full library modernization introduces project-wide instability:

  • If classic control blocks (MOTOR, VALVE, MEAS_MON) remain in the chart, they cannot evaluate APL structured signal statuses.
  • Mixed driver generation creates address collisions between classic diagnostic blocks (MOD_1, MOD_D1) and APL diagnostic blocks (MOD_PAL0).
  • The workload to replace thousands of channel blocks manually is cost-prohibitive and introduces human wiring errors.

The Siemens Legacy Library Strategy: PCS 7 Standard Library on V8.2

To protect customer investments, Siemens provides the PCS 7 Standard Library Legacy Package:

  • Available on DVD 2 of the PCS 7 installation media or via SIOS download.
  • Installs the exact legacy block types (CH_AI, CH_DI, MOD_1) and their driver generator definitions into STEP 7 on the V8.2 ES.
  • With the legacy library installed, the PCS 7 V8.2 AS compiler recognizes CH_AI and generates module drivers identically to V7.1.
  • The plant runs seamlessly on modern Windows 7/10 hardware without altering a single CFC connection.

Comparative Migration Strategy Matrix: Legacy Retention vs APL Conversion

The following table compares the two primary migration paths for PCS 7 V7.1 projects:

| Migration Criterion | Legacy Standard Library Retention | Full Modernization to APL |
|---|---|---|---|
| Engineering Effort | Minimal (1 to 2 days) | Extensive (Weeks to months) |
| Block Modification in CFC | Zero (Keep existing charts) | Must replace drivers AND control blocks |
| Operating System Support | Runs on Windows 7 / 10 via PCS 7 V8.2 | Runs on Windows 7 / 10 via PCS 7 V8.2 |
| WinCC Faceplate Appearance | Classic PCS 7 Faceplates | Modern APL Grayscale Faceplates |
| AS Process Object Licensing | Unchanged | Unchanged (Driver blocks do not consume AS PO) |
| Recommended Scenario | Fast hardware modernization on tight budget | Complete plant revamp with new HMI standards |

Step-by-Step Migration Workflow for PCS 7 V7.1 Projects in V8.2

Follow this sequence to migrate a V7.1 project to V8.2 cleanly without block replacement:

  1. Install PCS 7 V8.2: Perform standard installation of PCS 7 V8.2 on the new Engineering Station.
  2. Install Standard Library Legacy: Insert PCS 7 V8.2 DVD 2. Navigate to Additional_Products\PCS7_Standard_Library_V71 and execute setup.
  3. Open and Retrieve Project: In SIMATIC Manager, retrieve the archived V7.1 project.
  4. Update Project Master Data Library: Open the project Master Data Library. Copy the installed Standard Library blocks into the library.
  5. Check Consistency: Run Options -> Check Block Consistency in SIMATIC Manager. Confirm all classic blocks resolve without interface errors.
  6. Compile Charts: Open CFC. Click Options -> Customize -> Compile/Download. Ensure 'Generate module drivers' is enabled. Execute a complete compilation.
  7. Compile OS and Validate: Compile the WinCC OS and verify that classic faceplates render accurately in WinCC Runtime.

Verification

Confirm migration success through these diagnostic steps:

  1. CFC Compilation Log: Verify the CFC compilation log finishes with 0 Errors and generates classic driver charts @(1).
  2. S7-PLCSIM Test Run: Download the compiled program into S7-PLCSIM. Verify analog and digital signals process normally via CH_AI.
  3. Module Driver Health: Check diagnostic blocks (MOD_1) online in CFC; confirm MODF = 0 and quality codes are healthy.
  4. OS Compilation Validation: Confirm WinCC Tag Management populates tags matching classic channel driver outputs.

Limitations and Operational Precautions

Observe the following migration constraints:

  • Do Not Mix Classic and APL Drivers on Same Module: An individual I/O module (e.g. an 8-channel analog input card) must not have channels split between CH_AI and Pcs7AnIn, as this causes module driver generation conflicts.

  • Eventual Modernization Planning: While the legacy library is supported in V8.2, future major releases (such as PCS 7 V10+) will eventually deprecate classic standard blocks entirely. Plan an orderly transition to APL during future plant overhauls.

  • Commercial Accuracy Disclaimer: Software order numbers (MLFBs), package structures, and hardware capacity prerequisites vary across PCS 7 versions and hardware platforms. System integrators must confirm exact software entitlements and licensing requirements against the official Siemens Catalog CA 01 and obtain an authorized Siemens distributor quotation prior to purchasing.

Engineer FAQ

Where do I find the installer for the PCS 7 Standard Library V7.1?

It is located on PCS 7 V8.2 DVD 2 under the Additional_Products folder, or downloadable directly from Siemens Industry Online Support (SIOS).

Does replacing classic drivers with APL drivers improve CPU memory?

APL drivers provide richer diagnostics but consume slightly more work memory and execution time due to structured status byte processing.

Do channel driver blocks consume AS Process Object (PO) licenses?

No. Signal channel driver blocks (such as CH_AI, CH_DI, Pcs7AnIn, Pcs7DiIn) are license-neutral and do not count against AS RT PO licenses.

Technical References

Related Articles

Related Tags

  • SIMATIC PCS 7
  • Migration
  • CH_AI
  • CH_DI
  • Pcs7AnIn
  • Legacy Library
  • Standard Library
  • PCS 7 V8.2
6 respuestas