IMDTouchKnowledge BaseShop main store

How-to

WinCC flexible 2008 with a Mitsubishi Q PLC connection

HMI and touchscreens Published 8 min read

Short answer

WinCC flexible 2008 can run as a PC-based HMI against a Mitsubishi Q-series PLC. Confirm the PC runtime target, take the driver and interface combination from chapter 5 of the WinCC flexible 2008 Communication Part 2 manual and the installed online help, then match the PLC port, the PC settings and the cable to that driver. Prove the link with one read-only tag before building any screens.

On this page
  1. Set the project target to the PC runtime before you hunt for the driver
  2. Take the driver and interface combination from chapter 5
  3. Decide which Q-series port the HMI will use
  4. Worked example: same-subnet check for a PC runtime to a Q13UDEHCPU
  5. Wire the cable for the interface you actually chose
  6. Match the settings at both ends
  7. Prove one tag before you build screens
  8. Questions asked

Yes — WinCC flexible 2008 runs as a PC-based HMI against a Mitsubishi Q-series PLC. The work follows the same order as any WinCC flexible project: set the HMI device to the PC runtime, create a connection that uses the Mitsubishi driver, match the PLC port and the PC side to that driver, and only then wire the cable. The compatibility authority is the SIMATIC HMI WinCC flexible 2008 Communication Part 2 manual, chapter 5, together with the online help installed with your copy. Fix the driver and the port first; the cable drawing is the last decision, because it depends on both of them.

Set the project target to the PC runtime before you hunt for the driver #

WinCC flexible filters its communication driver list by the HMI device the project targets. A project created for an operator panel offers one driver set; a project set to the PC runtime offers another. If the Mitsubishi entries seem to be missing, the target is the first suspect: in the device selection, switch the project to the PC-based runtime, then open the Connections editor, create one connection and open its communication driver list. The Mitsubishi controllers appear there, not in a PLC model picker.

Check the target PC as well as the project. The runtime installed on the workstation must match the runtime device version the project was configured for, and the license on that PC must permit the runtime you selected. A project moved between machines can show ### where its device information belongs — the placeholder a copied WinCC flexible target shows explains exactly that failure. Fix target and license before you touch any wiring; they are separate checks from the PLC driver.

Take the driver and interface combination from chapter 5 #

Open chapter 5 of Communication Part 2 and the matching topics in the installed online help, and confirm the document is the 2008 edition rather than one for another WinCC product; Siemens publishes it through its support channels and distributors. Verify three things separately: the engineering tool version, the HMI target (PC runtime) and the controller plus interface (Q family, serial or Ethernet). Then check the runtime license on the target PC — driver support and license permission are separate approvals.

Read the supported controller and interface tables, not the chapter heading. A driver can cover the Q family without naming every CPU type individually; what must match is the interface class and the protocol the port actually runs. The table below turns the four things you can find into actions.

What you find Action Release condition
Q family and your interface listed for the PC runtime Configure that driver and interface in the Connections editor All documented prerequisites are met
Driver listed only for panel targets Recheck the target-specific support table PC runtime support is explicitly identified
Installed interface not covered Move the link to a documented interface or integration route The complete replacement path is documented before wiring
Expected driver absent Check the project target and the installed communication components The correct driver is visible for that target

If the driver really is absent after those checks, the practical alternative runs outside WinCC flexible: an OPC server with a documented Mitsubishi Ethernet driver feeding software that reads OPC. The questions at the end of this article spell that route out.

Decide which Q-series port the HMI will use #

A family name does not identify a port. Read the type designation on the CPU: a Q-series CPU with an E in its designation, such as the Q13UDEHCPU that appears in Mitsubishi Q compatibility listings, carries the built-in Ethernet port, so an Ethernet link needs no extra module. A CPU without that built-in port serves the HMI through its on-board serial port or through a separate serial or Ethernet communication module, and the connection then follows that module's configuration. Mitsubishi's documentation for Q-series Ethernet states the hardware speaks TCP/IP and UDP/IP, so the network side is ordinary Ethernet.

Whichever port you choose, check what already uses it and which protocol it is set to run. A port configured for a different protocol stays electrically alive while rejecting HMI requests, so compare the PLC-side protocol configuration with the driver's requirements before you blame the cable or raise timeouts. Take the port over through your commissioning process and read the settings back from the module afterward.

One safety note, and it is Mitsubishi's own: the Q-series communication manuals require safety circuits external to the PLC so the whole system stays safe when a controller fault occurs, and Mitsubishi's Ethernet documentation warns that disconnecting a cable on a live network can destabilize communication for multiple stations. Keep the HMI link out of the safety function, and pull cables only with the machine in a safe state.

Worked example: same-subnet check for a PC runtime to a Q13UDEHCPU #

Inputs, and where each comes from: the PLC is a Q13UDEHCPU, a Q-series CPU with the built-in Ethernet port; the model name comes from Mitsubishi Q compatibility listings and the designation from the label on your CPU. Its Ethernet parameters come from the CPU's parameter settings in the PLC project; for this exercise they are example values — IP 192.168.1.30, subnet mask 255.255.255.0, no gateway — not factory defaults, so read the real ones from the project before you type anything. The PC network card gets a static setting on the same dedicated link; example 192.168.1.50 with the same 255.255.255.0 mask.

The rule, in words: two IPv4 hosts on a direct link exchange frames without a router only when each address, ANDed bit for bit with the subnet mask, yields the same network address — and both hosts must carry the same mask.

The arithmetic, one octet at a time:

  • CPU: 192.168.1.30 AND 255.255.255.0 gives 192 AND 255 = 192, 168 AND 255 = 168, 1 AND 255 = 1, 30 AND 0 = 0, so the CPU's network address is 192.168.1.0.
  • PC: 192.168.1.50 AND 255.255.255.0 works through the same steps and also lands on 192.168.1.0.

Result: both hosts sit in one /24 network, so neither side needs a default gateway entry on a dedicated link.

Decision: enter 192.168.1.30 as the controller address in the WinCC flexible connection, set the PC network card statically to 192.168.1.50 with that mask, and confirm with a ping from the runtime PC before you open the runtime. The threshold is equality: if the two ANDed network addresses differ, fix an address first — an address change takes a minute, while a wrong subnet looks exactly like a bad cable or a missing driver once the runtime starts.

Wire the cable for the interface you actually chose #

There is no single PC-to-Q diagram, because the wiring follows the interface pair you selected. On Ethernet, ordinary patch leads through a small dedicated switch are the safe default. On serial, identify both electrical interfaces first: where the PC side and the PLC port differ — an RS-232 adapter against an RS-422 port, for example — the converter is part of the cable, not an optional extra. Take signal names, directions and the signal reference from the connection drawing in Mitsubishi's serial communication documentation together with the driver's cable notes in the WinCC flexible help; a connector that fits proves nothing about wiring. On Q-series serial modules, Mitsubishi's manual has you unplug a connector by hand and loosen the terminal-block screws on terminal-style connections — rough treatment on a live port bends pins.

A working link from the PLC programming tool proves the cable and the port, not the HMI driver: the programming tool and the HMI driver can run different protocols over the same physical interface. That separation is a problem class of its own — the walkthrough of reaching a PLC-5/30 DH+ network from a PC HMI driver works the same driver-versus-port reasoning on another controller family.

Match the settings at both ends #

With the driver, port and cable fixed, configure one connection and prove it before any production screen exists. The groups below cover both the serial and Ethernet cases; skip the fields your connection does not use.

Setting group What to match How you confirm
PC interface The connection's interface selection and the physical network card or serial port the runtime will open Runtime connection status shows active on the expected interface
Serial parameters Character format, transmission speed and required flow control, identical on PC and PLC sides Values read back from the PLC module match the project
Ethernet parameters The CPU address in the connection and the PC network card's subnet from the worked example A ping from the runtime PC reaches the CPU address
PLC port protocol The port's operating protocol or mode set to what the driver expects Parameters read back from the controller after download
Controller identification Controller type plus any station or network values the driver requires Values agree with the documented connection path

Read the PLC settings back after every download: a value typed into an engineering project is not proof that the active module is using it.

Prove one tag before you build screens #

  1. Pick one non-critical PLC value — a status word or a counter you can also watch in the PLC programming tool.
  2. Create one external tag on the configured connection, using the driver's documented address syntax and data type.
  3. Deploy the project to the runtime PC with the steps in running a WinCC Flexible 2008 project in PC runtime.
  4. Open the runtime and read both the displayed value and the connection status; a retained initial value is not communication.
  5. Change the value safely from the PLC side, or watch a naturally changing counter, and confirm the screen tracks the PLC monitor.
  6. Only now build the real screens, and put writes, disconnects and restarts on a bench with verified test tags — the checklist for proving a PC-based HMI before replacing panel terminals covers that acceptance run.

When the proven runtime leaves the bench, it belongs on hardware built for the cabinet door: an industrial panel PC sized to the cut-out and the environment takes the same project without a proprietary terminal in the loop. Follow the order — target, driver, port, settings, cable, one proven tag — and the Q PLC talks to the PC runtime on the first deliberate try, not the tenth.

Questions asked

Can the Q CPU serve the programming tool and the HMI at the same time?

On a shared serial port, plan for one user of that port at a time, so the programming tool and the HMI take turns or move to separate ports. The built-in Ethernet port on an E-designation CPU handles multiple connections as normal operation; the CPU's communication manual states how many simultaneous connections your CPU accepts. Whichever path you use, document which device owns which port before the HMI goes live.

Why does my WinCC flexible project not list any Mitsubishi drivers?

The driver list is filtered by the HMI device the project targets, so a project copied from a panel template shows the panel's driver set rather than the PC runtime's. Switch the device selection to the PC-based runtime and reopen the Connections editor; the list rebuilds around the new target. If the entries are still missing on a confirmed PC runtime project, the communication components installed with your WinCC flexible 2008 copy are the next thing to check, together with its service level.

Can WinCC flexible 2008 reach the Q CPU over Ethernet instead of serial?

Check chapter 5 of the WinCC flexible 2008 Communication Part 2 manual first: if the PC runtime lists the Mitsubishi driver's Ethernet interface for the Q family, the CPU's built-in Ethernet port is the natural path, since Q-series Ethernet hardware speaks TCP/IP and UDP/IP. Put the PC network card on the same subnet as the CPU and enter the CPU's address in the connection settings. Where the Ethernet interface is not listed for your target, the serial route through the documented driver is the fallback.

What do the screens show when the PLC link drops?

Until you configure otherwise, tags can hold their last displayed values, so a frozen number can look live after the link is gone. Watch the runtime's connection status rather than the value alone, and treat any operator action that matters as unavailable while the status shows a fault. Decide the operator's response in advance, which screens stay trusted and which actions stay blocked during a link fault, before the panel goes into production.

Which route remains if the Q-series driver is genuinely absent from my installed version?

Confirm the project targets the PC runtime and that the installation includes its communication components; the list is target-dependent, so this rules out the common false alarm. If the entry is truly missing, the practical route is a standalone OPC server with a documented Mitsubishi Ethernet driver, and TOP Server documents support for the Q and L series built-in Ethernet port, feeding visualization software that reads OPC. The PLC and its settings stay untouched, and the driver question moves to a support table you can verify.

Keep reading

  • How-to

    How to Simulate a PLC Behind WinCC Flexible 2008 SP3

    WinCC Flexible 2008 SP3 simulation runs your screens on the engineering PC and executes no PLC program, so give every animated object a real data source: STEP 7 with PLCSIM for an S7-300 test, PC Access or KepServerEx OPC for an S7-200, or a PC Adapter USB cable to the physical controller. Then wire M0.0 in parallel with I0.0, M0.1 in series as the stop, and animate the motor symbol on Q0.0, not on the command bit.

    HMI and touchscreens

  • How-to

    Connecting a Pro-face HMI to a Mitsubishi FX2 PLC

    License GP-Pro EX through Pro-face or an authorized distributor, select the Mitsubishi Electric Corporation FX serial driver for the FX2's built-in programming port, build the cable to the documented pinout, and prove the link with one read-only tag before enabling any writes. A connector that fits proves nothing.

    HMI and touchscreens

  • Explainer

    WinCC Flexible Omron connection limit for multi-PLC sites

    A WinCC Flexible project carries at most 8 configured device connections, and each device is one PLC CPU. Twenty-two Omron CPUs therefore cannot live in one project: split them across three projects, or bring their data to the main CPU and configure a single connection. The courtesy Standard license covers a Siemens OP/TP panel; building a PC runtime project takes Advanced, and OPC does not lift the cap.

    HMI and touchscreens

Fixing invalid PLC type in Vijeo Designer 6.2 SP12