Troubleshooting
Why One FX3U Port Cannot Serve GX Works2 and WinCC Flexible
Short answer
No, one FX3U serial port carries one master conversation, so GX Works2 and an HMI cannot share it. Keep GX Works2 on the CPU programming port and give WinCC flexible a second serial port through an expansion board, or move the HMI to Ethernet. When both run on one PC, Windows hands the single COM port of the USB-RS232 cable to one application.
On this page
- Why one port carries only one master
- Two faults that look the same
- Counting ports and masters for one FX3U with GX Works2 and WinCC flexible
- Give the HMI its own serial port
- Second serial port or Ethernet
- Pass-through, the one way one port has served two tools
- Connection fault or tag fault
- Prove both links hold together
- Questions asked
No. One FX3U serial port carries one master conversation, and both GX Works2 and a WinCC flexible runtime act as the master, so they cannot share the port and no setting changes that. Give the HMI its own link, an expansion-board port on the PLC or Ethernet, and keep the CPU programming port for GX Works2. When both tools run on the same PC, a second lockout sits in front of the PLC: the Mitsubishi USB-RS232 cable enumerates as one Windows COM port, and Windows hands a COM port to one application.
Why one port carries only one master #
The CPU port of an FX3U is an RS-422 point-to-point link on an 8-pin connector; the Mitsubishi USB-RS232 cable adapts it to a PC. On that link the protocol has fixed roles: the tool asks, the PLC answers, and the PLC never starts a transfer itself. Mitsubishi's FX communication material sets every link up as master and slave stations.
A second master on the same wires produces one of two failures. Either both tools send requests that interleave into corrupted frames, or the tool holding the line keeps it and the second tool times out. Which one you see depends on timing. Neither is a configuration fault you can tune away, because the single-master structure belongs to the protocol itself.
Two faults that look the same #
The symptom is the same, one application communicates and the other does not, but the causes and the fixes differ. Identify your case before changing anything:
- Case A, a panel and a PC on one port. The HMI is wired to the CPU port and the laptop is bridged onto the same line. Two masters, one wire.
- Case B, two applications on one PC. GX Works2 and the WinCC flexible runtime share one USB-RS232 cable. The cable enumerates as a single COM port, Windows opens a COM port for one process at a time, and the second application fails at port open, before a single byte reaches the PLC.
The fix for Case A is a second port on the PLC. The fix for Case B is a second COM port on the PC, which in practice also means a second PLC port for the second cable. Ethernet cures both at once.
Counting ports and masters for one FX3U with GX Works2 and WinCC flexible #
Inputs, with where each comes from:
- Masters that must talk to the PLC: GX Works2 = 1 master, WinCC flexible runtime = 1 master (the two tools named in the question).
- Serial ports fitted to the FX3U CPU: 1, the RS-422 programming port.
- Master capacity of one point-to-point FX serial port: 1 master (the protocol structure above).
- On the PC: USB-RS232 cables = 1, COM ports per cable = 1, applications that must open a COM port = 2.
Rule in words: on a point-to-point serial link, count the masters and count the ports; every master beyond the first needs its own port. On the PC, count applications against COM ports the same way.
Arithmetic:
- Masters = 1 + 1 = 2. Master capacity of one port = 1. Surplus = 2 − 1 = 1 master with no line.
- Ports needed = 2. Ports fitted = 1. Ports to add = 2 − 1 = 1.
- Applications = 2. COM ports = 1. Shortfall = 2 − 1 = 1 COM port, supplied by a second cable on the added port.
Result: the FX3U needs one added port, an FX3U-422-BD or FX3U-485-BD board, or an Ethernet interface in place of a board. The PC needs one added COM port if both tools stay on that PC.
Decision: at one master, the CPU port alone is enough. At two masters or more, add one port per extra master, keep GX Works2 on the CPU port, and put the HMI on the added port.
Give the HMI its own serial port #
- Match the board to the HMI's serial interface, not to the PC: FX3U-422-BD for an RS-422 panel port, FX3U-485-BD for an RS-485 one.
- Fit the board with the FX3U powered down, and close the cover before powering up.
- Set the added port's parameters the way the FX communication manual describes. A setting shown in Mitsubishi material for an FX com port is 9600 baud, 7 data bits, even parity, 1 stop bit; whatever you choose, record baud, data length, parity, stop bits and station number.
- In WinCC flexible, open Communication > Connections, select the Mitsubishi FX driver from the driver list for your version, select the panel serial interface that is physically wired, and enter the same baud, parity, stop bits and station number as the PLC port.
- Wire the panel cable to the board connector and check the TX/RX pairing against the board manual. A crossed pair shows up as no response at all, the same failure as an FX3GE RS-422 to HMI wiring that returns no response.
- Leave the GX Works2 cable on the CPU programming port, with its connection set to that cable's COM port.
- Transfer the HMI project and power-cycle the panel so the runtime reopens the link.
An RS-485 board also leaves room to grow: sharing one RS-485 PLC port between multiple HMIs works when the multidrop rules are followed. Each station you add loads the line, so check bus loading and arbitration on a multidrop RS-485 line before planning a third drop.
Second serial port or Ethernet #
For one panel, fit the second serial port. Each tool gets a physical link, nothing sits between the HMI and the PLC, and the CPU port stays free for a laptop at any time.
Move to Ethernet when you need several clients at once, such as a second panel, a SCADA client or a historian, or when the panel has no serial driver for the FX but does carry one for the FX over Ethernet. That route needs an Ethernet interface fitted and configured on the FX3U and matching driver settings on the HMI side. Ethernet is also the clean answer for Case B, because each client holds its own connection and no COM port is shared.
Pass-through, the one way one port has served two tools #
A transparent HMI can forward programming traffic between the PC and the PLC, so the PC reaches the CPU through the panel. The documented example is an E1000 panel on an RS-422 link to a Mitsubishi CPU, with transparent mode enabled on the HMI and IP-serial software named Serial-IP on the PC. Use this route only when the panel's own manual names a transparent or pass-through mode; whether a Siemens panel offers an equivalent must be confirmed in its documentation, not assumed. Pass-through also routes your programming traffic through the HMI, so the panel becomes a single point of failure for both tools.
Connection fault or tag fault #
Read the screen before touching the wiring:
- Every object bad at once and GX Works2 cannot connect either: shared port or cable. Look for a second master on the line.
- Every object bad at once, GX Works2 fine on the CPU port: the HMI connection settings. Check driver, serial interface selection, baud, parity, stop bits and station number against the PLC port, then the RS-232 versus RS-422 wiring.
- Some objects bad while the rest update: tag definitions. Check device type, address and data type in the tag table.
- Link intermittent whenever a laptop appears: the HMI is still on the CPU port. Move it to the added port.
Timeouts with causes of their own survive the port split; fixing HMI PLC communication timeouts over serial covers the settings and delays to check next.
Prove both links hold together #
- Go online with GX Works2 through the CPU port and open the HMI screen on live data.
- Force a bit or write a value in GX Works2 and watch it change on the HMI.
- Write a value from the HMI and confirm it in the GX Works2 device monitor.
- Leave both running for several minutes; neither tool may drop the link or raise a communication error.
If both directions hold and the link stays up, the port problem is closed.
Questions asked
Can a Y-splitter cable put the panel and the laptop on the CPU port together?
No. A splitter ties two transmitters to one receiver pair: both masters send requests onto the same line, the frames interleave, and the PLC cannot tell which tool asked. You get errors on both sides, and the RS-422 CPU port stays point-to-point no matter how the cable branches. One master per port is a property of the protocol, not of the wiring.
Is a USB hub or USB switch a workaround when both tools run on one PC?
No. The USB-RS232 cable enumerates as one Windows COM port no matter which socket it uses, and Windows grants a COM port to one process at a time. A manual USB switch only swaps which tool is attached, which is the same as taking turns. Two PC applications need two COM ports, meaning a second cable on a second PLC port, or an Ethernet link, which needs no shared COM handle.
Can GX Works2 program through the FX3U-422-BD instead of the CPU port?
Yes. The FX3U-422-BD documentation lists program write, read and monitoring over RS-422, so either port can carry the programming tool. The assignment is your choice; the rule is not. Keep one master per port: for example the HMI on the CPU port and GX Works2 on the board, or the reverse, as long as no two tools share one port.
Why does Ethernet allow both tools online when serial does not?
Each client opens its own connection to the PLC's Ethernet interface, so there is no single master slot to arbitrate and no shared COM handle on the PC. GX Works2 and the HMI runtime hold separate connections at the same time. The requirements are an Ethernet interface fitted to the FX3U and a driver for it on the HMI side.