IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC flexible Gets No Tag Data From a MicroLogix 1200

HMI and touchscreens Published 8 min read By IMDTouch engineering team

Short answer

RS-232 defines the wiring and voltage levels, not the PLC protocol, so WinCC flexible returns no tag data until its driver supports the MicroLogix 1200 over DF1 and the COM port, serial framing, station address, cable pinout and exclusive port access all agree. Confirm the driver list first: if no DF1 driver covers this controller, cable changes cannot fix it.

On this page
  1. What RS-232 does and does not carry
  2. The checks, in order
  3. Confirm the driver supports the MicroLogix 1200
  4. Verify the adapter and the cable
  5. Match the DF1 settings on both ends
  6. Worked example: line time is never the reason
  7. Prove the controller side without the HMI
  8. Clear one tag end to end
  9. The decision for each case
  10. Questions asked

Your screen shows no tag data because RS-232 defines only the electrical signaling on the wire, not the messages that read controller memory. WinCC flexible returns values from a MicroLogix 1200 only when its connection driver speaks DF1, the Allen-Bradley serial protocol, and the COM port, serial framing, station address, cable pinout and exclusive port access all agree with the controller's serial channel configuration. A USB adapter that installs cleanly and a cable marked pmo2 prove the electrical layer and nothing else. Work the checks below in order, driver support first: if no DF1 driver in your installed WinCC flexible version covers this controller on your runtime target, no cable, adapter or baud-rate change will ever produce tags. Each check ends with the reading that tells you which side of the link owns the fault.

What RS-232 does and does not carry #

RS-232, standardized as EIA/TIA-232, is a physical-layer standard: it fixes the signal levels, the electrical characteristics and the roles of the individual conductors between the two ends, and it says nothing about the content of the bytes those conductors carry. DF1 is Allen-Bradley's serial protocol that rides on top of it. Rockwell's DF1 protocol and command set reference manual defines the messages that read and write controller data, and for communication rates and parity it points you to the user manual of the specific module. That separation is the whole failure mode in one sentence: a link can pass an electrical test and still carry bytes neither end accepts, because the standard promised a wire, not a protocol.

Decision: treat a port that comes up in Windows and a cable that is plugged in as evidence about the physical layer only. Tag data is an application-level result and needs an application-level match.

The checks, in order #

  1. Confirm that a communication driver in your installed WinCC flexible version supports the MicroLogix 1200 over DF1 on your runtime target.
  2. Identify the COM port number the operating system assigns to the USB adapter.
  3. Verify the cable pinout against the controller's serial port and the driver's connection drawing.
  4. Match baud rate, parity, stop bits, station address, error check and duplex mode to the controller's serial channel configuration.
  5. Give the runtime exclusive use of that COM port.
  6. Prove the controller side independently with programming software on the same adapter and cable.
  7. Clear one read-only test tag end to end before touching the rest of the project.

Stop at the first check that fails and fix that layer; the later checks cannot route around it.

Confirm the driver supports the MicroLogix 1200 #

Open the driver list your installed WinCC flexible version actually offers for the runtime target you are using — a PC runtime and a panel target do not necessarily carry the same driver set — and look for an Allen-Bradley DF1 driver whose supported CPU list includes the MicroLogix 1200. The vendor documents this per runtime: the SIMATIC communication-driver table lists, for each WinCC runtime, which drivers can be configured and the CPU types under each family, with MicroLogix types named under the Allen-Bradley connections, and even the newer WinCC Unified support note for the Allen-Bradley DF1 driver spells its supported CPU types out model by model. Those lists are the deciding documents, they differ between versions and between targets, so read the one that ships with your software rather than one from another release.

Brand familiarity is not support: two common products sharing a plant floor prove nothing until a driver table names this controller — the same principle as why an HMI terminal is not compatible with a PLC by brand alone.

The decision by case:

  • A DF1 driver documented for the MicroLogix 1200 on your target: continue with the physical and settings checks below.
  • A driver that covers other Allen-Bradley families but not this one: the tags will not come, whatever the wiring does. Change the architecture, not the cable.
  • No Allen-Bradley driver at all in your version and target: the project cannot address this controller directly. Move to a runtime whose driver list covers it, or put a gateway in between.

Verify the adapter and the cable #

Start where the operating system can see the adapter: it must appear as a working serial adapter with a COM port number, and the number the runtime connection selects must be that number, not one remembered from a previous machine.

Then the cable. The pmo2 marking on the sleeve is a label, not a verified pinout. Read the full part number on the assembly, find its published drawing, and compare it conductor by conductor with the controller's serial port and the connection drawing of the selected driver: transmit, receive, signal common and any handshake lines the driver expects. A connector that fits mechanically can still be wired wrong. Where the assembly's origin is uncertain, isolate it and continuity-test each conductor against the documented pinout. The same conductor-by-conductor discipline applies as when you build an RS-232 Modbus cable between an HMI and a controller.

A USB-to-RS-232 adapter converts the PC side of the physical layer; it does not translate protocols. Decision: adapter missing or faulted, fix the adapter before anything else; pinout wrong, correct the assembly; both proven good, move to the serial settings.

Match the DF1 settings on both ends #

Read the controller's serial channel configuration online with the programming software instead of assuming defaults. Baud rate, parity and stop bits must match the runtime connection character format exactly, and the driver must use the channel's DF1 station address, error-check setting and duplex mode. The DF1 reference manual defers rates and parity to the module's user manual, so those values come from the controller configuration, not from habit.

When the framing differs, every received character is misread, no request is ever accepted, and the tags stay empty while the port still opens without an error — which is exactly the symptom that sends people back to the cable. It is the same mismatch that breaks a WinCC flexible PPI link when baud rate and station address disagree, with DF1 parameters in place of PPI ones.

Decision: record the channel settings first, set the runtime connection to match, and change the controller configuration only with the changes noted, because that channel also carries programming access.

Worked example: line time is never the reason #

Take the classic serial setting as an example: 9600 baud with 8-N-1 framing, meaning 8 data bits, no parity bit and 1 stop bit. With the mandatory start bit, one character costs 1 + 8 + 1 = 10 bits, so the line carries 9600 ÷ 10 = 960 characters per second. An illustrative DF1 exchange that reads one integer — request and reply together, assume 40 bytes — occupies 40 ÷ 960 ≈ 0.042 s, about 42 ms of line time, and leaves the wire idle for the rest of the second. These are example numbers, not a measurement of your driver, but the conclusion they support is structural: a link that works delivers a tag read in tens of milliseconds. A screen that stays empty is not a bandwidth problem; it is a link that carries no accepted requests at all.

Prove the controller side without the HMI #

With the runtime stopped, connect the controller's programming software through the same adapter and cable, set it to DF1 with the channel's configuration, go online and read a known data element. There are documented ways of reading Allen-Bradley PLC data without RSLinx running, and any independent path serves the same purpose here: it separates the physical and controller-side link from the HMI configuration.

  • Programming software online and values readable: the physical path and the channel settings are proven. Close the software completely, start WinCC flexible runtime, and if tags are still empty the fault is inside the runtime connection — the selected COM number, the framing, the station address or the driver itself.
  • Programming software fails on the same cable: the fault is below the HMI. Return to the adapter, the cable and the channel configuration.
  • Programming software connects only through a different cable: the first assembly is the fault.

A programming connection validates the path, never the tag addresses, and it must be closed, not minimized, before the runtime opens the port.

Clear one tag end to end #

On the verified connection, create one read-only test tag: the address syntax documented for the DF1 driver, a data type matching the controller element, and a plain numeric field with no scaling, no indirect addressing and no visibility logic. Compile, download to the actual runtime target — a simulation proves the tag logic, not the link — and compare the displayed value against the controller value, allowing for the acquisition cycle. Then change the element deliberately and watch the new value arrive.

Make that live test on a safely stopped machine or on bench tags; never validate a write or a forced value on process equipment that is running.

When this one tag agrees, copy its pattern to the rest of the project. When the link is proven and this one tag still shows nothing, the address syntax or the data type is the fault.

The decision for each case #

Reading What it proves Decision
No DF1 driver for the MicroLogix 1200 in your version and target Application-level incompatibility Change the runtime target, or add a gateway or OPC server whose controller side is DF1 documented for the MicroLogix 1200 and whose HMI side is an interface your software supports; stop debugging the cable
Programming software online on the same cable, runtime tags still empty Physical path and channel settings are good Correct the runtime connection: COM number, framing, station address, driver selection
Programming software fails on the same cable Fault below the HMI Fix the adapter, the cable pinout or the channel configuration first
Link proven, one test tag still empty Addressing fault, not a link fault Correct the tag's address syntax and data type against the driver's documentation

A gateway is a legitimate architecture only when both of its sides are documented, the controller-facing protocol and the runtime-facing interface. An OPC server with a DF1 serial driver is one such route: TOP Server's Allen-Bradley DF1 serial driver, for example, documents MicroLogix 1200/1500 support with full-duplex operation. Verify both sides in the vendor's documentation before moving any hardware.

Questions asked

How do I find the COM port number the runtime connection should use?

In Windows, open Device Manager and expand the ports list. Note the COM number that appears when you plug the USB adapter in, then unplug it and confirm that entry disappears, so you are not reading another device. That exact COM number is what the WinCC flexible connection must select, and it can change if the adapter is later moved to a different USB socket.

What is the difference between DF1 full duplex and half duplex?

Full duplex gives the driver and the controller separate transmit and receive paths, so either side can send while the other listens. Half duplex shares one path, and the line must turn around between messages. The controller channel and the WinCC flexible driver must be set to the same mode; a driver set to the wrong mode can hold an open port and still receive nothing usable.

Can two programs use the same serial port at once?

No. A serial port is opened exclusively by the first program that claims it; the second either fails to open it, or the two streams of traffic corrupt each other. Close the programming or diagnostic software completely before starting WinCC flexible runtime, and close the runtime before reconnecting the programming software. A programming test proves the path only when it is finished, not minimized.

How fast should tags update once the link works?

At 9600 baud with 8-N-1 framing, each character costs 10 bits, so the line carries 960 characters per second. An illustrative single-integer read of about 40 bytes occupies roughly 42 ms of line time. Once the link works, the on-screen cadence comes from the driver acquisition cycle, for example one second, not from the wire, so a slow screen is a polling setting, not a serial fault.

Keep reading

  • How-to

    How to Exchange Recipe Data Records Between an HMI and a PLC

    Bind every recipe element to an external tag whose data type and byte offset match the PLC data block, then move whole records with the system functions set data record to PLC and get data record from PLC. The records live in the panel's storage and the PLC holds only the current working values. Set tag synchronization so values move only on an explicit transfer, and prove the exchange with five checks ending in a delete test.

    HMI and touchscreens

  • Explainer

    Why the WinCC I/O field shows no Real or DINT format

    The I/O field has no Real or DINT choice because its Data format list only controls how a number is rendered, not how it is stored. Create the HMI tag with the data type Floating-point number 32-bit IEEE 754 (or Signed 32-bit value) at the S7 address, leave the field's Data format on Decimal, and give the Output format pattern a decimal point for REAL or none for DINT. A worked 0 to 100 °C FC105 example shows the arithmetic end to end.

    HMI and touchscreens

  • Troubleshooting

    Why WinCC Runtime Professional Shows No Data From PLCSIM

    The runtime window opening with static screens means the runtime process runs but its path to the simulated CPU does not. Point the access point in Set PG/PC Interface at PLCSIM or the matching TCP/IP route, compile the PC station, connect the TIA project to PLCSIM, and put the CPU in RUN before the runtime starts.

    HMI and touchscreens

How to get Vijeo Designer Basic 1.1 from the official source