IMDTouchKnowledge BaseShop main store

How-to

Can a Comfort Panel test PLC I/O through process-image tags

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

Yes. A Comfort Panel can switch a PLC output and read back an input for point-to-point wire testing through ordinary PLC tags: write Q0.0, let the CPU's end-of-cycle process-image transfer carry it to the terminals, and bind a separate indicator to the position-switch input, for example I0.0. No peripheral-access suffix and no force job are needed, with the CPU in RUN and an empty OB1.

On this page
  1. Can a Comfort Panel test PLC I/O with ordinary PLC tags?
  2. Do you need direct peripheral access to switch Q0.0?
  3. How long does a panel write take to reach the output terminal?
  4. How do you set up the Q0.0 test on a Comfort Panel screen?
  5. How do you read the position-switch input back on the panel?
  6. Why does the panel switch change but the output stay off?
  7. Can the test screen stay in the production program?
  8. Questions asked

Yes. A Comfort Panel can run a point-to-point wire test through ordinary PLC tags: you create a Boolean PLC tag at Q0.0, drop it on a panel screen so the engineering tool generates the HMI tag and an I/O field, and toggle the output from the panel while the CPU runs in RUN with an empty OB1. The write needs no :P peripheral access and no force job, because the CPU copies the process image of the outputs to the physical modules when the cyclic program ends. A second tag on the position-switch input, for example I0.0, drives a separate feedback indicator. This method has been reported working on an S7-1500, and the steps below reproduce it, with the timing, the failure table and the decision for a bench test versus a production screen.

Can a Comfort Panel test PLC I/O with ordinary PLC tags? #

Yes: a Comfort Panel can switch a PLC output and display a PLC input for point-to-point wire testing through normal PLC tags, and this exact method has been reported working with the CPU in RUN and an empty OB1. What the test gives you is a command source and a feedback readout at the panel, with the PLC's normal I/O machinery doing the delivery.

Keep three observations apart while you work: the requested output state inside the controller, the electrical response at the output terminal, and the position-switch input. An indicator bound to the output tag confirms only the logical state the controller holds. It does not prove terminal voltage, actuator movement or correct feedback wiring — measure the terminal and watch the actuator for those.

Do you need direct peripheral access to switch Q0.0? #

No. Q0.0 lies in the process image of the outputs, so a plain tag write is enough: the CPU transfers the assigned process-image partition to the output modules at the end of the OB, and the :P suffix adds nothing to the test. Peripheral access goes past the process image straight to the module, and it is documented to involve a much higher access time than the process image — nothing a wire test needs.

The same reasoning holds on the input side. A direct read would use the peripheral inputs area, PI, instead of the process image input; your feedback lamp does not need it, because the process image already carries the acquired input state. Decision: plain output and input addresses on both sides of the test.

How long does a panel write take to reach the output terminal? #

At most one cyclic pass on the PLC side: the panel write lands in the process image of the outputs, and the CPU carries it to the terminals at the end of the current or the next OB1 pass.

Worked example, with an example scan time: assume the CPU's online cycle-time reading is 8 ms — an illustration, so read your own value. Worst case, the panel write arrives just after the output transfer of one pass, so it is delivered at the end of the following pass: 8 ms. The feedback makes the reverse trip, because the input image is captured at the start of each pass: another 8 ms before the program can see the switch change. Command to indication through both process images: 8 ms + 8 ms = 16 ms. That figure excludes actuator travel time, the panel's display refresh and the panel-to-PLC communication time, which ride on top.

If you ever need the outputs moved ahead of that natural transfer, the instruction UPDAT_PO transfers a configured process-image partition of the outputs to the modules on demand. The wire test does not need it — one pass is already quick enough for point-to-point checking.

How do you set up the Q0.0 test on a Comfort Panel screen? #

In five steps: confirm the channel assignment in the device configuration, create the PLC tag, keep OB1 empty, drag the tag onto the screen, then load both projects and connect with the CPU in RUN.

  1. Confirm the channel. Open the device configuration and check that the output under test sits at the address your wiring documentation names and is assigned to the process image. Do not trust reference data alone: reference data can list I0.0 and Q0.0 as occupied with no physical I/O behind them, as this account of how reference data shows I0.0 and Q0.0 occupied without physical I/O shows. Expected result: configured address, terminals and drawings agree.
  2. Create the output tag. In the PLC tag table, define a Boolean tag, for example MyFirstOutput at Q0.0. Expected result: the tag resolves to the physical channel from step 1.
  3. Keep OB1 empty for the test. That was the tested arrangement, and it removes cyclic user-program writes from the competition. An empty OB1 covers only the cyclic program, so also glance at other execution paths and the force status. Expected result: the panel is the only writer.
  4. Drag the PLC tag onto a Comfort Panel screen. The engineering tool creates the matching HMI tag and an I/O field; configure the object as a switch so the operator can set and reset the bit. Expected result: the control references the PLC tag through the controller connection.
  5. Load and connect. Transfer the PLC and panel configurations, put the CPU in RUN, and confirm the tag connection shows no quality fault. Expected result: operating the switch changes the value online and the value stays changed.

Run the test only where individual actuation of the machine is permitted, with the machine's safety functions left in service — the panel switch is a commissioning aid, not a safety control.

How do you read the position-switch input back on the panel? #

Through a separate tag and a separate object: create a Boolean PLC tag on the proof-of-position input, use I0.0 only when that is the configured address, and bind an indicator to that input tag, never to the output tag.

The input image is captured at the start of the cyclic program, and the indicator reads that stored state through the panel connection, so the lamp trails the physical switch by one acquisition plus the panel's refresh. Respect the contact behavior: with a normally-closed position switch, the documented state defines what the lamp should show for in-position, and on the return transition the feedback need not equal the output bit at all. The display-side version of the same rule — one object for the command, another for the feedback — is what binding an HMI button command to a separate feedback color works through in detail.

Why does the panel switch change but the output stay off? #

Because the switch and the output are two different points: a switch that moves on screen proves only that the panel accepted the press, so check the chain in order — PLC tag, competing writers and forces, terminal, actuator, feedback input.

Observed condition What it means Next check
HMI switch changes, output tag does not The write never reached the PLC address Connection, tag binding, data quality, write access
Output tag changes, then snaps back A program write or an active force owns the value Cross-reference the output; read the force status
Output tag holds, actuator silent A logical 1 is not terminal power Module diagnostics, field power, terminals, wiring, actuator supply
Actuator moves, indicator dead The feedback path, not the command path, is broken Switch contact, input voltage, channel address, tag binding
Indicator on, actuator never moved Normally-closed contact or crossed wiring Compare the switch's documented state with the lamp logic

One related trap sits before all of these: panel objects bound to input addresses instead of outputs, the failure behind why WinCC Start and Stop buttons do not control an S7-300 output.

Can the test screen stay in the production program? #

Not as a direct write: once the real program is back in the CPU, any logic that writes the output each scan overwrites the panel's value, so a reusable test screen must give the output to PLC logic and keep the panel as a request button.

The pattern: the panel writes a request bit, authorized PLC logic evaluates the request and commands the output, and any safety-relevant permission stays inside the machine's validated safety design. The input side has the same ownership problem — it is why an HMI button press dies in RUN mode on a shared input — and the cure is identical: one owner per address.

Decisions:

  • One-off wire test on a machine commissioned for it: direct tag write at Q0.0, CPU in RUN, empty OB1 — the method above.
  • Commissioning screen that must survive the production program: request bit plus PLC ownership of the output; the panel never writes the output directly.
  • Machine in production: no direct I/O poking at all; every test action goes through the program.

Questions asked

Is writing Q0.0 from the panel the same as forcing the output?

No. A force is a controller test function that overrides normal value handling and can keep the displayed command and the physical terminal out of step. A tag write is an ordinary write: nothing is overridden, and program logic or an active force can beat it. Before a test session, read the CPU's force status and clear any force jobs so the panel is the only writer.

Does the CPU have to stay in RUN during the wire test?

Yes, keep it in RUN. The transfer that carries your write from the process image to the output terminals runs at the end of the cyclic OB, and with the CPU in STOP there is no cyclic pass to deliver it. The reported working arrangement ran in RUN with an empty OB1, which keeps that transfer running while removing program writes.

Can channels outside the process image be tested the same way?

No. This method covers only channels assigned to the process image, because the end-of-OB transfer is what moves your write to the module. If the device configuration excludes a channel from the process image or assigns it to a separate partition, a plain tag write will not reach the terminal. Move the test to a channel with a standard process-image assignment, or restore that assignment for the test.

Can one lamp show both the command and the switch state?

Not honestly. A lamp bound to the output tag proves only that the write landed; a lamp bound to the input tag proves the feedback path. If the screen needs a single in-position lamp, build it in PLC logic that combines the command and feedback bits, then bind the lamp to that result. Never wire one indicator to both addresses.

Keep reading

  • Explainer

    Why the Comfort Panel watch table rejects your S7-1500 tags

    The Watch table object is a runtime editor for absolute S7 addresses, not a tag-bound control, and its documented support covers the S7-300/400 families only, so an S7-1515 never appears on its list. Build the monitor screen from HMI tags in I/O fields instead, or display the CPU's web server watch tables in the panel browser.

    HMI and touchscreens

  • How-to

    How to Address S7 PLC Outputs in a WinCC Flexible Tag

    A WinCC flexible tag must carry the address of the real PLC operand: Bool tags on Q0.1, Q0.2 and Q0.3 for the line, delta and star outputs. DB1.DBX0.0 is bit 0 of byte 0 in data block 1 and follows an output only if the PLC program copies it there — and the S7-200 CPU family has no data blocks at all.

    HMI and touchscreens

  • Troubleshooting

    Why WinCC Start and Stop buttons do not control an S7-300 output

    The Start and Stop buttons do nothing because E0.0 and E0.1 are S7-300 input image addresses: the CPU refreshes them from the input modules every scan, so an HMI write cannot survive. Step 7 simulation changes the simulated input state itself, which is why the LED follows it. Move the two commands to memory bits such as M0.0 and M0.1, latch them in the PLC, and let the program drive A4.0.

    HMI and touchscreens

Printing a Comfort Panel audit trail CSV as a PDF