Skip to Content
On this page

Mitsubishi FX Links

Computer Link serial address read/write and control for MELSEC FX3U/FX3UC.

Compatible devices and models

Device series / model examplesConnection requirements
MELSEC FX3U, FX3UCUse a serial board or module supporting Computer Link and match frame format, station and checksum. Use the separate FX Serial plugin for the programming-port protocol.

FX Links uses Computer Link (Dedicated Protocol) on the appropriate communication board/adapter. Use FX Serial for the CPU programming port. TCP channels require a converter that transparently carries these serial frames; neither a Modbus TCP port nor an MC 3E connection supplies this service.

  1. Identify the FX3U/FX3UC communication hardware and CH1/CH2. Follow that module’s wiring diagram for RS-232C or RS-422/485, including paired signals, termination, shield and reference ground. Do not connect RS-232 voltage levels directly to the CPU’s RS-422 programming port.
  2. In the actual GX Works2 project open Parameter → PLC Parameter → PLC System(2). Select the channel, check Operate Communication Setting, select Dedicated Protocol, and configure serial framing, speed, hardware type, Sum Check, transmission format and station.

Vendor GX Works2 Computer Link example: 9600/7/Odd/1, Format 1, station 00, no sum check

  1. To match the image, use 9600 / 7 / Odd / 1, station 0, format 1 and disable sum check in the gateway. If the actual project uses another parity or checksum option, change both ends. Do not add arbitrary Header/Terminator settings.
  2. Online → Write to PLC → Parameter + Program → Execute, then power-cycle as required. Parameter settings take precedence over a program writing D8120. Configure FX3U/FX3UC CH2 through parameters; changing D8420 alone does not establish the setting.
  3. Reserve a D test area not overwritten by the program, set D100=1234, and monitor it online. The FX Computer Link station range is 0–15 (00H–0FH); gateway inputs are decimal. A Byte field’s storage range does not extend the PLC’s supported stations.

See Mitsubishi’s FX Data Communication Manual JY997D16901-R, D-40–D-43 and D-94–D-95 . Use the D-chapter wiring for the actual module, not another board’s pinout.

Channel and all device properties

Create a SerialPort channel under collection configuration. Select the actual OS COM port and match every serial field. Release the engineering tool’s connection before the gateway uses the same port. A TCP client connects to a transparent serial server; a TCP server is appropriate only when that converter initiates the connection.

FX Links serial channel matching the vendor's Odd-parity example

Select Mitsubishi FX Links, bind the channel, and set the collection interval described in Collection configuration. Enable the channel, device and variable after checking the PLC settings.

Selecting the FX Links plugin and its channel

PropertyMeaning and selection
StationDefault 0. Target station when the address has no s=; match the FX project, 0–15 for this interface.
WaitingTimeDefault 0, range 0–15 in 10 ms units (0–150 ms). A response-wait requirement carried in the request, useful for turnaround; it is not the polling interval. Allow it in the timeout budget.
SumCheckDefault true. Match the PLC’s ASCII additive checksum setting; disable it for the vendor example above. It is separate from Odd/Even serial parity and is not Modbus CRC.
FormatDefault 1; only 1 and 4 are valid. Format 4 appends CR/LF, format 1 does not. Match Transmission Control Procedure.
MaxPackDefault 64 WORD. A WORD variable cannot exceed the protocol’s 64-WORD frame limit. Each variable retains its own read plan; adjacent variables are not automatically merged. The bit-command limit is 256 points.
TimeoutDefault 3000 ms per request. Cover wire time, PLC waiting and converter delay; too short causes false timeouts, too long delays failure detection.
SendDelayTimeDefault 0 ms before sending. Select from the converter/peer’s timing requirements; it does not replace protocol response waiting or required command spacing.
IsStringReverseByteWordDefault false. Swaps the two character bytes within each WORD. Select from the actual text storage; it does not change numeric WORD order.
DataFormatDefault DCBA. Confirm 16/32-bit values against raw PLC WORDs before selecting ABCD/BADC/CDAB. It does not change logical addresses.
RetryCountDefault 3. Retry policy after communication failures; correct framing, checksum and station errors first.
DutyCycleDefault 3, minimum 1. Allows a read after n writes under sustained write load; it is a scheduling ratio, not a baud rate.
WritePriorityDefault false. May cancel an in-progress read for faster writes, reducing read continuity. Leave disabled for ordinary monitoring.

FX Links station, waiting and disabled sum-check example

FX Links frame format, data order and 64-WORD limit

Addresses and known values

Enter a logical soft-device address in the configuration string. Start with D100, UInt16 and read-only access. The current periodic planner uses the configured array length directly: enter 1 even for one element, rather than 0.

FX Links D100, UInt16, read-only and explicit length 1

Editor fieldHow to use it
AreaWORD: D/R/TN/CN; bit: M/X/Y/S/TS/CS. Capacity and access permissions depend on the CPU. Do not import extra MC3E areas such as TC/CC.
OffsetLogical device index. X/Y are octal: X10 is numerical offset 8; X8 is invalid. D100 is decimal WORD100. The editor converts numeric indices to the area’s notation.
BitPresent in the shared editor, but FX Links parsing rejects .bit. Leave unset. Read a D WORD as UInt16 and apply the business mask; use M0/Boolean for a bit device.
Station overrideUnset inherits Station. For a multidrop target use decimal s=2;D100. Model/run/stop methods always use the device’s default station.
Data order overrideSemantically overrides conversion for one variable. The current periodic FX Links station parser accepts only s= options: do not add data= to periodic addresses. Prefer a verified device-level format.
Encoding overrideSelects ASCII/UTF-8 text decoding, not numeric conversion. It has the same periodic-parser restriction; successful editor round-trip does not prove successful acquisition.
String byte lengthlen= means byte capacity, not WORD count or character count. Current periodic addresses accept only the s= station option. For text, first read raw UInt16/Byte arrays, then convert them using the actual source layout.
BCD overrideC8421/C5421/C2421/C3/Gray only when the source actually uses that encoding. Leave ordinary integers unset; do not append bcd= to current periodic addresses.
Variable string lengthControls actual/fixed text-length decoding, not frame format. Ordinary FX D memory has no automatic Logix STRING header; leave unset.

FX Links address editor with unused bit and conversion overrides

PLC definition/valueGateway configurationExpected comparison
D100=1234D100 / UInt16 / length 11234.
D110=5678H, D111=1234HD110 / UInt32 / length 1 / DCBA12345678H = 305419896; one element spans two WORDs.
D120–D121 hold REAL 12.5D120 / Float / length 112.5, rather than its integer bit pattern.
Three REALs in D130–D135D130 / Float / length 3Six WORDs in total, within the actual CPU range.
M0=ONM0 / Boolean / length 1Compare a single bit. Current responses use one byte per bit while the generic Boolean-array converter expects packed bits: use individual Boolean points rather than bit arrays or numeric bit blocks.
Station 2 D100=2345s=2;D100 / UInt16 / length 1Compare station 2, not the default station’s 1234.

WORD writes require even byte pairs; a single Byte or odd-length string is not an arbitrary byte write. Int64/UInt64/Double span four WORDs per element. Decimal is a 16-byte layout, not a PLC decimal display setting. Verify raw WORD/Byte values before implementing text conversion; do not append generic string options to periodic addresses for this plugin.

Read, control and diagnose

After enabling the checked site connection, open Protocol debug → Read/write, read D100/UInt16/count 1, and compare the value, quality and advancing sample time with GX Works2.

FX Links saved variable list

Read PLC type uses the PC command and does not change RUN state. Remote run/stop use RR/RS and require site authorization; they are not connectivity probes. All three use Station, regardless of a selected variable’s s= override.

SymptomChecks
No responseActual electrical interface, Dedicated Protocol, COM ownership, all serial fields, then station/format/checksum.
Checksum/tail errorsSeparate serial parity from additive checksum; only format 4 uses CR/LF. Increasing timeout does not repair a malformed frame.
D works but X/Y failsOctal notation and actual input/output capacity; X8 is invalid.
Saved variable fails to pollExplicit length 1, no unsupported generic options, and per-variable64 WORD/256 bit limits.
Bit-array mismatchCompare individual Boolean points; the current array conversion layout is not a normal reliable bit block.
Writes revertPLC program overwrite, read-only regions, RUN state and external-write permission. Use an isolated D test area and restore its value.