Diagnosing Disconnects Between Active Program Logic and Inactive Physical Digital Outputs in CEMAT and PCS 7

Diagnosing Disconnects Between Active Program Logic and Inactive Physical Digital Outputs in CEMAT and PCS 7

In SIMATIC PCS 7 and CEMAT applications, when a digital output is confirmed active (TRUE) inside the CFC program logic during online test mode, but the physical output terminal on the hardware module remains at 0V, the cause is either an unassigned Process Image Partition (PIP), module passivation, missing external 24V DC auxiliary power (L+) on the module's front connector, or simulation mode active on the channel driver. To resolve this, verify that the module front connector has 24V DC at terminal L+, check HW Config to confirm the module is assigned to the cyclic interrupt partition (PIP 1 for OB35), ensure SimOn = 0 on the driver block, and verify that the module is not passivated in the diagnostic buffer.

Table of Contents

Executive Summary

During plant commissioning of heavy industrial machinery using PCS 7 with the CEMAT library (such as kiln drives, ball mills, and bucket elevators), control engineers encounter instances where a digital control command (e.g., lubrication pump run command EAN) is visibly high inside the CFC chart, yet the physical digital output terminal fails to produce 24V DC. Because the engineer confirmed that the output address is not overwritten elsewhere in logic, teams often suspect defective output modules. This technical guide outlines the physical and logical disconnects between CFC memory states and hardware output terminals, providing a structured diagnostic checklist.

Architecture and Fundamental Mechanics

The transmission of a digital output command from CFC to field terminals traverses multiple software and electrical validation gates:
1. CFC Execution to Channel Driver Transfer:
In CEMAT/APL, technological blocks (C_DRV_1D, MotL) command an output parameter (EAN, Start). This connects to a digital output driver (Pcs7DiOu FB1871 or CEMAT output block). If SimOn = 1 is enabled on the driver block, the block reports active status internally while suppressing writes to physical hardware.
2. The Operating System Process Image Partition (PIP) Gate:
When Pcs7DiOu executes in cyclic interrupt OB35 (100 ms), it writes to its assigned process image address (Q memory). If the output module in HW Config is assigned to OB1-PA (OB1 process image) instead of PIP 1 (OB35), the operating system does not flush the process image partition to the physical I/O bus until the free-wheeling OB1 executes. If OB1 execution is delayed or unassigned, the physical hardware never updates.
3. Hardware Passivation Gate (OB82 / OB85):
If the ET 200 distributed station detects an external fault (such as a blown channel fuse, wire break, or backplane bus communication error), the S7-400 operating system automatically passivates the module. During passivation, the CPU forces all module outputs to 0V regardless of user program logic.
4. Electrical Auxiliary Power Gate (Front Connector L+):
Standard S7-300 / ET 200M digital output cards (e.g., SM 322 DO 16xDC 24V/0.5A) require external 24V DC connected to terminal pins 1 and 21 (L+) and ground to pins 20 and 40 (M). The backplane bus powers only the module's internal logic; if the external 24V L+ supply wire is loose or tripped, the module logic operates and reports green LEDs, but the output transistors have no power to drive field loads.

Step-by-Step Implementation Procedure

  1. Measure Physical Hardware Voltages at the Module:
    a. Open the control cabinet and locate the faulted digital output module.
    b. Using a digital multimeter, measure voltage between terminal pin 1 (L+) and terminal pin 20 (M).
    c. Confirm that 24.0 V DC is present. If 0V, inspect the cabinet miniature circuit breaker (MCB) or front connector fuse.
    d. Measure voltage between the specific channel terminal screw and M while commanded high in CFC: if 0V while L+ is present, proceed to logical diagnostics.

  2. Inspect Channel Driver Simulation Mode in CFC:
    a. Open the CFC chart containing the output channel driver (Pcs7DiOu).
    b. Enter CFC Test Mode.
    c. Inspect input parameter SimOn: verify it is strictly 0 (FALSE).
    d. Inspect output PV_Out: verify PV_Out.Value = 1 with Good signal quality (ST = 16#80).

  3. Check Module Process Image Partition in HW Config:
    a. Open STEP 7 HW Config for the AS station.
    b. Double-click the digital output module to open Object Properties.
    c. Under the 'Addresses' tab, check the 'Process image' field.
    d. Ensure it is assigned to the partition corresponding to the block's execution OB (e.g., 'PIP 1' for OB35).
    e. In SIMATIC Manager, recompile CFC charts with 'Generate module drivers' checked to ensure automated driver alignment.

  4. Check for Module Passivation in CPU Diagnostic Buffer:
    a. In SIMATIC Manager, select PLC -> Diagnostic Buffer.
    b. Scan for events reporting 'Module passivated' or 'I/O access error (OB85)'.
    c. If passivated, resolve the root cause (bus error or backplane fault) and depassivate the module using the operator faceplate or restarting the station.

Verification

  1. In CFC Test Mode, force the drive command high: verify that the physical channel LED on the front of the DO card turns ON.
  2. Measure voltage at the physical terminal screw: confirm 24.0 V DC relative to M.
  3. Verify that the field interposing relay or contactor energizes and field machinery starts.
  4. Deactivate the command: confirm voltage drops to 0.0 V DC and the field actuator drops out.

Limitations and Operational Precautions

Never apply external 24V DC directly to an output module terminal screw to test field wiring without disconnecting the card terminal; backfeeding 24V into an unpowered output transistor can destroy the module's output stage.

Engineer FAQ

Why does CFC show the output as TRUE while the terminal measures 0V?

Common causes include: missing external 24V DC auxiliary power (L+) on the module front connector, module passivation due to a bus error, unassigned Process Image Partition (PIP), or active simulation mode.

Does the backplane bus provide 24V DC to power output loads?

No. The backplane bus provides only 5V DC logic power. Field output loads require separate 24V DC wired to the module's L+ and M front terminals.

What is module passivation in PCS 7?

Passivation is a fail-safe state where the CPU de-energizes all outputs on a module following an internal fault, bus interruption, or diagnostic event.

How do I assign an output module to OB35?

In HW Config, open the module's Object Properties, go to the 'Addresses' tab, and set the Process Image dropdown to 'PIP 1'.

What block in APL drives digital outputs?

Pcs7DiOu (FB1871).

Technical References

Related Articles

Related Tags

  • CEMAT
  • Digital Outputs
  • Hardware Diagnostics
  • Process Image Partition
  • Module Passivation
  • Pcs7DiOu
20 respuestas