On this page
MC 3E Binary
This plugin accesses Mitsubishi PLC devices using MC 3E binary frames. Enable a matching MC/SLMP connection on the PLC and select Binary data code. An engineering-tool connection does not establish that the MC port is open. This is neither the FX programming-port protocol nor Modbus 40001 addressing. Use MC 3E ASCII when the target requires ASCII frames.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| MELSEC iQ-F: FX5U, FX5UC, FX5UJ, FX5S | Enable SLMP 3E in GX Works3 Ethernet settings and match the ASCII/binary data code, TCP/UDP transport, port and destination. Use devices within the CPU supported ranges. |
| MELSEC-Q (QnU CPU with built-in Ethernet, or QJ71E71-100) | Enable QnA-compatible 3E frames. Match encoding, port and destination to the CPU’s built-in interface or Ethernet module configuration. |
| MELSEC-L (LCPU with built-in Ethernet, or LJ71E71-100) | Configure an MC 3E service and match ASCII/binary encoding, port and destination to the plugin. |
Select the actual PLC interface
| PLC/interface | Requirements |
|---|---|
| FX5U, FX5UC, FX5UJ, FX5S built-in Ethernet | Configure an SLMP Connection Module in GX Works3 with Binary data code. Device areas and capacity depend on the CPU. Do not confuse 3E support with version-dependent 1E support. |
| QnU built-in Ethernet QCPU, built-in Ethernet LCPU | Enable an MC Protocol open connection and Binary code in the matching PLC project. QnU steps are illustrated below; use the corresponding LCPU project for L. |
| QJ71E71-100, LJ71E71-100 Ethernet modules | Configure the module’s IP, open connection and code; connect to that IP. Multiple CPUs, redundancy and remote networks also require the correct target route. |
| FX3 Ethernet modules or third-party MC-compatible devices | Check the exact module’s frame generation, commands and areas. An Ethernet socket or a Mitsubishi-compatible label does not establish 3E support. |
Connect the appropriate Ethernet interface to the gateway/switch and check link indicators. For example, PLC 192.168.3.250/24 and gateway 192.168.3.10/24 share a network; routed networks require working routes at both ends. Do not treat CC-Link IE or EtherCAT interfaces as ordinary MC TCP ports.
FX5: enable SLMP in GX Works3
These original GX Works3 images are from Mitsubishi SH-082625ENG-F, section 6.2 .
- Open the project matching the CPU. Select Parameter → module → Module Parameter → Ethernet Port → Basic Settings → Own Node Settings. Set the actual IP, mask and required default gateway. Select Communication Data Code = Binary. The image’s
192.168.3.250is a manufacturer example, not a universal default.

- Open External Device Configuration → Detailed Setting → Ethernet Configuration (Built-in Ethernet Port). Drag SLMP Connection Module from Module List, choose TCP and set the PLC Port No., for example 2000. A MELSOFT Connection Module or a plain no-protocol connection does not replace SLMP.

The FX5 setting permits decimal ports 1–5548 and 5570–65534; 5549–5569 are reserved. UDP additionally requires the actual peer IP and a matching gateway local binding/return path. This TCP example gives gateway destination 192.168.3.250:2000; this is the PLC listening port, not the gateway web port.
- Reflect the settings, write the module/PLC parameters to the correct CPU and apply them as instructed by the engineering tool. Reconnect and confirm the active configuration. Passive SLMP collection does not require an
SP.SLMPSNDinstruction in the PLC program. Editing an offline project alone does not activate the port.
QnU: configure built-in Ethernet
Open Parameter → PLC Parameter → Built-in Ethernet Port Setting. These original dialogs are from Mitsubishi’s QnUCPU built-in Ethernet manual SH-080813CHN-C, printed pages 35–36.
- Set the actual IP/mask and select Communication Data Code = Binary Code. Read-only collection does not require enabling RUN-state writes. If writing an approved test device, separately check Enable online change (FTP, MC Protocol) and project restrictions.

- Click Open Setting and add Protocol = TCP, Open System = MC Protocol. Set Host Station Port No. The original input format is HEX:
0401means decimal 1025, which is the gateway port when following the image. Decimal 2000 requires DEC input 2000 or HEX input07D0.

This QnU edition permits 0401H–1387H and 1392H–FFFEH, reserving 1388H–1391H; do not copy the FX5 reserved range. Write and activate parameters according to the CPU’s reset/power-cycle requirements, then confirm online. QJ/LJ Ethernet modules use their own Ethernet Operation/Open Settings; the CPU’s built-in port dialog is not their universal menu.
Gateway channel and all device properties
Under Development Configuration → Collection Configuration, create a TCP Client channel targeting the actual PLC IP/open port. Bind a device using MC 3E Binary, start with an observable interval such as 1000 ms and enable both. Shared fields are documented in Collection Configuration.
UDP, TCP Server and Serial Port are also selectable, but require a peer or transparent link that actually supports that transport. A normal passive PLC Ethernet connection uses TCP Client. The Serial Port choice does not turn an FX programming port or Q serial module into a 3E connection.
Set the actual endpoint and complete the PLC settings above, then enable the channel and device.


| Property | Meaning and configuration |
|---|---|
| NetWorkID | Default 0 for the connected station. For remote networks, use the actual target network parameters; ordinary remote MC network numbers are 1–239. Byte storage 0–255 does not make every value a valid route. It is not part of the IP address. |
| PLCID | Default 255 (FFH), together with network 0 for the connected station. For remote access it represents the target network-module station, not an IP suffix or Modbus station. |
| IOModuleID | Default 1023 (03FFH), normally the connected station’s control CPU. Enter decimal values. Multiple CPU No.1–4 can use 03E0H–03E3H, decimal 992–995, only in a matching system; do not guess from a physical slot. |
| IOModuleStation | Default 0 for ordinary CPU access. For multidrop module routing use the actual destination module station with its I/O number. This is a different routing level from PLCID. |
| MaxPack | Default 256, controlling contiguous address span within the same collection group, interval and area. It is not a variable count or frame-byte size. WORD areas use register spans; bit areas are organized into 16-point WORD reads. Use a positive budget that fits an individual variable and the PLC’s actual range/command limits. |
| Timeout | Default 3000 ms for responses, separate from TCP connection timeout. Binary also converts this to 250 ms PLC monitoring units after a 16-bit millisecond value; values above 65535 ms do not reliably extend that timer. Prefer ordinary multiples of 250 ms. |
| SendDelayTime | Default 0 ms before each request. Increase only for required peer pacing; it extends the total collection cycle. |
| RetryCount | Default 3. Repeating invalid addresses/routes or protected writes cannot repair them. |
| DutyCycle | Default 3, minimum 1; arrange a read after every n writes under continuous writing. It is not the PLC scan period. |
| WritePriority | Default false. Enabling can cancel a current read to prioritize writing and affect polling refresh. |
| DataFormat | Default DCBA, choices ABCD/BADC/CDAB/DCBA for numeric conversion. Establish the order using known UInt16 and 32-bit patterns. This does not change Binary/ASCII or device numbering. |
| IsStringReverseByteWord | Visible default false. This Binary plugin currently does not apply the switch during initialization, so it cannot be relied on to fix swapped string bytes. Check original WORD bytes and use an appropriate data conversion when necessary. |
Ordinary direct access uses network 0 / PLC ID 255 / module I/O 1023 / module station 0. See MC Reference, section 6.2 for routing and multiple CPU constraints. There is no additional per-variable MC station property; a Modbus-style s= suffix does not replace these device routes.
Open Plugin Properties and scroll down to check runtime and conversion settings as well as the protocol fields.


Address editor and PLC device areas
There are no additional plugin-specific variable properties. Configure address, type, array length, permission and collection group. Array length counts typed elements: one UInt32 occupies two D registers.
| Address field | Rule |
|---|---|
| Area | Select an area actually present on the CPU. The editor filters for this 3E profile; it is not the complete R extended-device list. |
| Offset | Numeric device location, not a byte offset. D/100 produces D100. W/100 produces W64; W100 requires numeric offset 256. Check the generated address. |
| Bit | Empty means a whole device. A WORD Boolean requires explicit 0–15, e.g. D100.3. Although the generic control can show 0–31, 3E rejects 16–31. Bit devices such as M/X do not accept another .0. |
| DataFormat override | Empty inherits device DCBA. Changes conversion only, not the PLC declaration. |
| Encoding override | Default UTF-8; explicitly choose ASCII for ASCII text stored by the PLC program. Raw D memory does not declare its encoding. |
| StringLength | len= is the string slot size in bytes, with no MC default. Specify it for periodic strings. len=4 occupies two WORDs, not four. |
| BCD override | Select C8421/C5421/C2421/C3/Gray only for matching actual encoded data. Leave ordinary binary integers/REAL unset. |
| VariableStringLength | Default false. Raw MC strings use the specified len; this does not automatically recognize or skip a custom PLC string-length header. Keep false and address the actual body. |
For example, D200;len=4;encoding=ASCII uses common register options. D200.4 instead identifies WORD bit 4.
| Area | Purpose and numbering |
|---|---|
| M, SM, S, L, F, V | Internal/special/step/latch/annunciator/edge bits, decimal numbers. Special states and inputs are not ordinary writable memory. |
| X, Y, B, SB, DX, DY | Input/output/link/special-link/direct I/O bits, normally hexadecimal. A leading zero in raw X/Y/DX/DY numbers selects octal: X10 = hex 10 = decimal 16; X010 = octal 10 = decimal 8. Do not add zero padding casually. |
| D, SD, R, Z, ZR | Data/special/file/index/continuous-file WORDs, decimal user addresses. ZR100 means device 100. Actual file capacity/bank settings come from the PLC project. |
| W, SW | Link/special-link WORDs, hexadecimal: W100 means 0x100. |
| TN, TS, TC | Timer current WORD, contact bit and coil bit, decimal. Current value and completion contact differ; the PLC program defines the time base. |
| CN, CS, CC | Counter current WORD, contact bit and coil bit, decimal. A single UInt16 rule does not describe all CPUs’ long counters. |
| SN, SS, SC | Retentive-timer current/contact/coil spellings accepted by the current raw 3E parser. They are absent from structured-editor candidates. Do not substitute R-frame STN/STS/STC; retain manual addresses and confirm CPU support. |
The Binary start field is three bytes, up to FFFFFFH; this is a frame limit, not allocated PLC memory or a guarantee for periodic grouping. Confirm every complete requested range.
Create a read-only variable with the address and actual PLC type described here. Open Field Editor, check the decoded fields and confirm to fill the address back in. For this single-element example, set array length to 1.


Define known PLC values and compare
Use an independent test region monitored online by the engineering tool. Compare the configured address and type with the online PLC value.
| PLC value | Gateway address/type/count | Expected comparison |
|---|---|---|
| D100 = decimal 1234 = 04D2H | D100, UInt16, 1 | 1234; use Int16 only for an actual signed value. |
| D110=5678H, D111=1234H | D110, UInt32, 1, DCBA | 12345678H = 305419896, consuming two WORDs. |
| D120–D121 contain REAL 12.5 | D120, Float, 1, DCBA | Compare 12.5, not the raw integer pattern. |
| D130–D135 contain three REALs | D130, Float, 3 | Three elements occupy six WORDs. |
| M100 is ON | M100, Boolean, 1 | Compare M100, not M100.0; periodic reads may align down to a 16-point boundary. |
| D140=0008H | D140.3, Boolean, 1 | Bit 3 is true; bit 0 is the least significant bit. D140.16 is invalid. |
| D200=4241H, D201=4443H | D200;len=4;encoding=ASCII, String, 1 | Low-byte-first text is ABCD. Check original bytes before changing conversion. |
A Byte is a view into WORD data, not a separate byte-device address. WORD writes require even byte counts; scalar Byte or odd-length string writes are not arbitrary byte writes. Int64/UInt64/Double occupy four WORDs per element. Decimal uses a generic 16-byte layout, not PLC REAL or decimal display formatting; avoid it without an explicit matching PLC layout.
For numeric WORD reads of bit devices, start at a multiple of 16, e.g. M96 UInt16 represents M96–M111. Do not assume M100 UInt16 is automatically shifted to M100–M115. Grouping can include address gaps; separate sparse ranges to avoid invalid/protected memory.
Debug and write checks
-
Select Protocol Debug → Read/Write and start with D100 / UInt16 / count 1. Configure the actual TCP channel and known value, then use this panel to run the read.
-
Compare messages: standard Binary 3E request starts
50 00, responseD0 00; normal end code is0000H. Confirm the response source and retain the complete nonzero end code when checking the CPU manual. -
After the value matches engineering monitoring, save the same periodic variable. Check quality/timestamps and an independent PLC value change before adding arrays and bits. A scalar success does not validate a large grouped range.
-
For an approved writable independent D test, record the original, check RUN-state writing and gateway permission, write 2345, confirm in the PLC, restore and reread. WORD-bit writing performs read WORD → change bit → write whole WORD; it is not atomic and can overwrite concurrent changes. Do not batch Boolean writes across a WORD boundary.
| Symptom | Checks |
|---|---|
| Engineering tool connects, TCP fails | A separate MC/SLMP connection, active port, HEX/DEC conversion; not a MELSOFT-only connection. |
| TCP connects, no valid response | Binary/ASCII, 3E/1E, actual IP/port, four routing fields and active PLC parameters. |
| Some addresses fail | CPU area support, radix, array WORD span and grouping across invalid boundaries. |
| UInt16 works, larger values/text swap | Original WORD/byte values; numeric DataFormat versus text encoding/len and the Binary switch limitation. |
| Reads work, writes fail/revert | PLC RUN writing, region access, gateway permission and program ownership. |
| Debug bit works, periodic bit differs | 16-point alignment, group start, mixed bit/numeric variables and array boundaries. |
After saving, check the name, address and type under Real-time Variables. Enable the channel, device and variable, then compare the known value, quality and advancing collection time as described above.
