On this page
Mitsubishi FX Serial
Mitsubishi FX Serial reads and writes Mitsubishi FX programming-port addresses and exposes the PLC activation command.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| MELSEC FX3U, FX3UC | Use an interface supporting this plugin’s FX programming-port frames and the appropriate programming cable/level converter. Computer Link and programming-port frames are different protocols. |
Prepare the programming interface
FX Serial uses the programming communication interface of the FX3U/FX3UC. An RS-422 programming socket, an RS-232 communication board and an Ethernet port require different interfaces. Use the correct programming cable/converter for the CPU, install its driver and identify the actual COM port. Do not connect RS-232 levels directly to the RS-422 socket or reuse another model’s pin assignment.
- In GX Works2, open the actual CPU project and select Parameter → PLC Parameter → PLC System(2). For the programming communication channel described in the manual, clear Operate Communication Setting and select End. Dedicated Protocol is the Computer Link setup used by FX Links.

- Select Online → Write to PLC → Parameter + Program → Execute, following the site’s maintenance procedure. The built-in programming interface normally needs no Computer Link serial configuration; initialization of an optional board/adapter depends on that hardware’s manual.
- Open Connection Destination View → connection destination → Transfer Setup, then double-click Serial. Select the appropriate RS-232C/virtual serial entry for FX-USB-AW or FX3U-USB-BD; a USB cable does not always mean the direct USB mode in the software. Set the COM port and supported speed and confirm online monitoring first.
- Start at 9600 bps to exclude high-speed converter restrictions. The manufacturer’s high-speed FX3U/FX3UC conditions require the corresponding FX-232AWC-H, FX-USB-AW or FX3U-USB-BD interface. Raising only the gateway speed is insufficient. Release the engineering software’s COM connection before the gateway connects.
- Prepare D100=1234 in a test area the program does not overwrite. Record the CPU, interface, cable and serial settings. The gateway example below uses 9600 / 7 / Even / 1; use the confirmed settings of the actual interface on site.
See Mitsubishi’s FX Data Communication Manual JY997D16901-R, H-3–H-4, H-39 and H-41–H-43 . This page describes the FX3U/FX3UC programming interface. Select the manual section matching the CPU, communication board and programming cable.
Configure the gateway
Under Development → Collection configuration, create a SerialPort channel with the actual COM port and confirmed serial settings. Use one master per port. A TCP client may connect to a transparent serial server; TCP service is for a converter that connects back to the gateway. The converter must pass programming-port frames transparently.

Create a Mitsubishi FX Serial device and bind that channel. Confirm the interface and CPU settings, then enable the channel and device. See Collection configuration for common intervals, logging and variable permissions.

| Parameter | Meaning and selection |
|---|---|
| Use new programming-port commands and address mapping | Enabled by default. Selects command prefixes and internal address mappings. Start with the default for FX3U/FX3UC. Changing it changes the internal location of the same logical D/M address; it cannot correct wiring errors. Establish reads before attempting writes. |
| Maximum package length | Default 127, in WORDs for WORD acquisition plans; each frame allows 254 raw bytes. Each variable has its own plan. An oversized periodic variable is rejected rather than automatically split. Bit reads must also account for the starting bit’s byte offset. |
| Read/write timeout | Default 3000 ms per request. Include serial transfer, conversion and PLC response time. Too short loses valid responses; too long delays failure detection. |
| Delay before sending | Default 0 ms. Adds a delay before transmission for the converter/link’s spacing requirements; it does not change baud rate. |
| Reverse string bytes within each word | Disabled by default. Swaps the two text bytes within a WORD. It cannot resolve the periodic String length limitation below. |
| Data format | Default DCBA. Match the actual WORD layout. D110=5678H and D111=1234H should decode as UInt32 12345678H. |
| Retry count | Default 3. Communication failure retry policy; correct interface, addressing and mapping first. |
| Read/write duty cycle | Default 3, minimum 1. Schedules a read after n writes during sustained writing. This is neither a sampling interval nor a serial speed. |
| Write priority | Disabled by default. Writing may cancel an active read when enabled. Leave off for ordinary read-only collection. |


Logical addresses and lengths
Add D100 / UInt16 / read-only / array length 1. The current periodic plan uses array length directly; enter 1 even for one value. Zero is not normalized to one. Enter logical D100, not the internal hexadecimal byte address.

| Address field | How to use it |
|---|---|
| Device area | WORD: D, TN, CN. Bit: M, S, X, Y, TS, TC, CS, CC. TN/CN are present values, TS/CS states and TC/CC coils. R in a shared area definition is not accepted by this plugin’s actual parser. |
| Offset | X/Y use octal: X10 is offset 8 and X8 is invalid. Other areas use decimal. D100 means WORD100, not byte100. Observe the actual CPU capacity. |
| Bit number | Leave unset: compound addresses such as D100.0 are rejected. Read UInt16 and mask it in the appropriate conversion process, or use a direct Boolean area such as M0. Editor ranges do not prove protocol support. |
| Data format override | Unset inherits DCBA. data= changes only this variable’s conversion, not the address or new/old mapping. |
| Encoding override | encoding= selects the text encoding. Leave unset for numbers; encoding does not define length. |
| String byte length | len= is byte capacity. The current periodic planner does not use it to supply the missing String read size. Do not treat periodic String acquisition as working. Check raw UInt16/Byte arrays before processing text in a defined conversion process. |
| BCD override | Select C8421, C5421, C2421, C3 or Gray only for the actual stored code. Leave unset for binary integers. This is not address radix or display precision. |
| Variable string length override | vsl= changes string conversion, not the programming frame. It cannot fix the periodic String length calculation; ordinary FX D memory has no automatic Logix STRING header. |

There is no station field; s=2; D100 is invalid. D/M requests cannot cross8000, and CN requests cannot cross200. Split a two-WORD request starting at D7999. CN200 and above use a four-byte internal stride: do not interpret successive counters as ordinary consecutive16-bit D registers. Check the actual32-bit counter definition separately.
| Prepared PLC value | Gateway configuration | Expected comparison |
|---|---|---|
| D100=1234 | D100 / UInt16 / length 1 | 1234 with advancing timestamps. |
| D110=5678H, D111=1234H | D110 / UInt32 / length 1 / DCBA | 305419896, or 12345678H; two WORDs per element. |
| D120–D121 contain REAL 12.5 | D120 / Float / length 1 | 12.5. |
| Three REALs in D130–D135 | D130 / Float / length 3 | Three elements occupy six WORDs; remain inside CPU and mapping boundaries. |
| M0 is ON | M0 / Boolean / length 1 | True; bit points and WORD counts differ. |
| X10 is ON | X10 / Boolean / length 1 | Compare the engineering software’s X10, not X8. |
WORD writes require an even number of bytes. A single Byte write does not provide arbitrary half-register access. Single Boolean writes use the force-point command. A Boolean block write requires both its starting point and count to be multiples of 16, for example16 points starting at M16. PLC permissions and program behavior still determine whether an area may be written.
Activation and checking results
Enable the confirmed site connection, read D100 as UInt16 count 1 in Protocol debugging → Read/write, and compare the known value. Check periodic quality, advancing time and changing values. The saved variable list is shown below.

Activate PLC sends ENQ followed by two programming-interface activation commands to establish its receive state. It does not perform remote RUN/STOP. Use it only after confirming the interface, serial settings and exclusive port ownership. Command acknowledgement alone does not prove variable acquisition.
| Symptom | Check first |
|---|---|
| Engineering software cannot connect | CPU interface, cable/converter, driver, COM port, baud rate and PLC channel setup. |
| Engineering software works, gateway times out | Release the COM port; check transparent mode, all serial fields, new/old mapping and activation responses. |
| D works but X/Y fails | Octal numbering and actual I/O capacity. X8 is invalid. |
| Periodic values fail | Explicit array length 1, the current String length limitation, and 127 WORD/254-byte limits. |
| Boundary/CN values are shifted | D/M8000 and CN200 boundaries; check32-bit CN counters separately. |
| Boolean block write is rejected | Both start and count must align to 16 points; a WORD bit suffix is not an FX bit address. |
Related operations
- Collection configuration: common channel, interval and permission settings.
- FX Links: Computer Link dedicated protocol.
- Plugin index: other protocols.