On this page
MC 1E ASCII
This plugin uses A-compatible 1E ASCII frames. ASCII describes the frame encoding, not the variable type: read integer D100 as UInt16 and REAL as Float. Framing, monitoring timers and bit handling differ from 3E ASCII and 1E Binary.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| MELSEC-Q + QJ71E71-100 | Configure the module for A-compatible 1E frames and match ASCII/binary encoding to the plugin. Access is limited to A-compatible devices; a Q-series CPU’s built-in Ethernet port does not by itself imply 1E support. |
| MELSEC-L + LJ71E71-100 | The Ethernet module must expose A-compatible 1E services with matching ASCII/binary encoding. Use the 1E device ranges. |
| MELSEC iQ-F: FX5U, FX5UC, FX5UJ, FX5S | Enable SLMP 1E with matching data code. FX5U/FX5UC require firmware 1.210 or later, FX5UJ 1.030 or later; FX5S supports 1E from its initial version. Use only 1E device areas supported by both plugin and CPU. |
Configure the PLC’s ASCII 1E connection
| Peer | Requirements |
|---|---|
| FX5U / FX5UC | CPU firmware 1.210 or later for 1E. Open SLMP in GX Works3 and match the ASCII data code. |
| FX5UJ | Firmware 1.030 or later, GX Works3 1.085P or later. |
| FX5S | 1E from the initial CPU version, GX Works3 1.080J or later. |
| Q/L + QJ71E71/LJ71E71 modules | Check the actual module’s A-compatible 1E ASCII support, CPU compatibility, open settings, remote path and A-compatible devices. Do not infer built-in CPU port support from the series name. |
- Read the actual CPU project and firmware. Under Parameter → CPU module → Module Parameter → Ethernet Port, set the PLC IP/mask and ensure network reachability.
- Select ASCII in Communication Data Code. The FX5 manual distinguishes X,Y OCT and X,Y HEX. This plugin encodes numeric device indices as hexadecimal fields; match ASCII(X,Y HEX) when accessing X/Y. Raw X010 is first parsed as octal 8, then sent as numerical 8 in hexadecimal. A leading zero in gateway text does not replace the PLC data-code setting.

- In External Device Configuration, add SLMP Connection Module, select TCP and set the PLC listening port, for example decimal 2000. A MELSOFT connection is insufficient. FX5 user ports are 1–5548 and 5570–65534; avoid 5549–5569. Other modules use their own manual and project values.

- Write the parameters, reset or power-cycle as instructed, and verify online. An SLMP server needs neither an
SP.SLMPSNDclient program nor a separate 1E switch. For Q/L modules use their own Ethernet operation/open settings; this FX5 CPU menu is not an external-module screenshot. - Reserve a D area not overwritten by the program and set D100=1234 in engineering monitoring. Establish a D-register read before introducing X/Y radix, data-code and bit-layout concerns.
See Mitsubishi’s FX5 communication manual, chapters 6/36 and added functions and MC Protocol Reference, chapter 15 . The 1E A-compatible range does not inherit all newer 3E devices or capacity.
Gateway channel and all nine device properties
Create a TCP Client channel in Development Configuration → Collection Configuration, using the actual PLC SLMP IP and port. Add MC 1E ASCII, bind and enable it, and set the sampling interval. See Collection configuration for common fields.
UDP, TCP Server and Serial Port require a matching peer or transparent transport. Use TCP Client for an ordinary passive PLC Ethernet service; an FX programming port is not that service. Two listening endpoints do not establish a connection.
Set the actual endpoint and complete the PLC settings above, then enable the channel and device.


| Property | Meaning and configuration |
|---|---|
| PLC ID / PLCID | Default 255 / FFH, directly connected station. Ordinary remote PC numbers 1–64 require the corresponding module path. This byte is not an IP suffix. No network/I/O-module routing fields are exposed. |
| MaxPack | Default 64, continuous span within the same group, interval and area. Current per-frame limits are 64 WORDs or 256 bit points, not 64 variables. Periodic bit areas align to 16; see their layout limitation below. Increasing this property cannot bypass frame limits. |
| Timeout | Default 3000 ms, application response wait. The ACPU frame timer is currently fixed at 000AH × 250 ms = 2.5 seconds, independent of this property and different from the 3E ASCII 4-second timer. TCP connection timeout is separate. |
| SendDelayTime | Default 0 ms, before each request. Add only required module spacing; it lengthens the cycle. |
| RetryCount | Default 3. Retries add failure time; correct data code, station and invalid devices first. |
| DutyCycle | Default 3, minimum 1. During sustained writes, arrange a read after every n writes; not a PLC scan count. |
| WritePriority | Default false. Can cancel a read to prioritize writing; sustained writes affect sampling. |
| DataFormat | Default DCBA; ABCD/BADC/CDAB/DCBA numeric conversion after decoding. Four hexadecimal characters per WORD are already restored to raw bytes; do not select String for all numeric values. |
| IsStringReverseByteWord | Default false, applied by this ASCII plugin. Check raw WORDs and encoding before changing it for reversed character pairs. It neither reverses the whole string nor changes frame encoding. |
Open Plugin Properties and scroll down to check runtime and conversion settings as well as the protocol fields.


Variables and address editor
There are no additional plugin variable properties. Array length counts type elements: UInt32/Float occupy two WORDs each, UInt64/Double four. Ordinary integers and REAL values do not use BCD. Decimal is a generic 16-byte layout, not PLC REAL.
| Field | Rule and example |
|---|---|
| Area | Bit areas: B, CC, CS, F, M, S, TC, TS, X, Y. WORD areas: CN, D, R, TN, W. CPU availability is a separate requirement. V, ZR, SD/SM and R long devices are not included. |
| Offset | Numeric device index. D=100 produces D100; W=256 produces W100. It is neither a byte position nor literal hexadecimal text in a numeric box. |
| Bit | Explicit 0–15 for a Boolean inside a WORD, e.g. D140.3. The generic control’s limit 31 does not apply to this protocol. Do not append .0 to M100. |
| DataFormat | Blank inherits device DCBA; otherwise override this variable’s numeric conversion, not radix. |
| Encoding | Default UTF-8. Select ASCII for ASCII character data; independent of ASCII framing. |
| StringLength | len= is the byte capacity per string slot, with no MC default. len=4 occupies two WORDs. Point at actual characters; .bit is not a length field. |
| BCD | C8421/C5421/C2421/C3/Gray only for genuinely coded source data. |
| VariableStringLength | Default false. Raw MC D data does not automatically parse custom length headers; use the actual character slot. |
B/W raw numbers use hexadecimal. X/Y use octal with a leading zero, hexadecimal otherwise; other areas use decimal. X010 is numerical 8; X10 is numerical 16. Check the engineering tool’s displayed radix. Start plus length must not exceed 65536 in the editor; actual A-compatible CPU ranges can be smaller. TN/CN current values differ from TS/TC/CS/CC contacts/coils; confirm counter widths on the CPU.
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. These scalar examples keep array length at 0.


Current debug-count and periodic-bit limits
Current generic ASCII 1E numeric debug reads convert counts using a one-byte register width, while the command quantity counts WORDs. Thus UInt16 count 1 requests two WORDs; Float/UInt32 count 1 requests four WORDs. It can read additional adjacent registers and reach area ends or the 64-WORD limit earlier. Periodic WORD planning counts WORDs directly. Do not use the extra debug quantity as the periodic element count. Reserve a contiguous test range and inspect the actual request. For strict single-WORD debug access, consider 1E Binary with a matching PLC data code.
Bit responses are restored as one 0/1 byte per point, whereas periodic planning shares 16-point/WORD organization. A single successful debug bit does not verify multiple periodic bits, unaligned bits or arrays. Prefer matching Binary for periodic Boolean data. If ASCII is required, read an existing D-area status WORD as UInt16 and apply bit masks; establish and verify such a PLC mapping first if none exists. Selecting UInt16 at M96 does not force a WORD command: this ASCII path still selects a bit command by area. WORD-area D140.3 follows a different path from M100; do not apply 3E ASCII’s dedicated Boolean conversion rule to it.
Defined values and read/write steps
| PLC definition | Gateway setting | Expected comparison |
|---|---|---|
| D100=04D2H | D100 / UInt16 / 1 | 1234. Debug also requests D101, which must be valid. |
| D110=5678H, D111=1234H | D110 / UInt32 / 1 / DCBA | 305419896. Debug additionally covers D112–113; the periodic element still occupies two WORDs. |
| D120–121 hold REAL 12.5 | D120 / Float / 1 / DCBA | 12.5; reserve D122–123 for debug. |
| D130–135 hold three REALs | D130 / Float / 3 | Six WORDs periodically; twelve WORDs requested in debug. Do not change the element count to six. |
| D140=0008H | D140.3 / Boolean / 1 | bit 3=true; change it and compare the periodic path too. |
| D200=4241H, D201=4443H | D200;len=4;encoding=ASCII / String / 1 | ABCD with low byte first. Leave adjacent space for extra debug WORDs. |
-
Open Protocol Debug → Read/Write and start with D100 / UInt16 / count 1. Configure the actual TCP client channel above before using this panel.
-
In Messages/Communication Log, the ASCII 1E WORD-read request subheader is text
01, response81, completion00. Do not expect the 3E ASCII5000header. For5B, also retain the following four-character additional code and consult the module manual. -
Save periodic variables after comparison, observe quality/timestamps, then change a PLC value and compare again. Verify multibyte, array, string and Boolean paths separately.
-
WORD writes require even byte counts. A single Byte or odd-length string is not an arbitrary byte write. D140.3 writes read a WORD, change bits and write it back; they are not atomic and can overwrite concurrent changes. A Boolean batch must not cross bit15 of that WORD.
-
Confirm RUN-write permission, gateway permissions, an independent test area and the original value. Write 2345, inspect it on the PLC, then restore and reread.
| Symptom | Check |
|---|---|
| TCP connects without a response | Actual 1E support, ASCII data code, listening port, PLCID and transport; do not add 3E routing. |
| D works, X/Y does not | ASCII(X,Y HEX)/OCT, leading zeros, engineering radix, then bit layout. |
| Boundary addresses or longer arrays fail | Extra debug WORDs, 64-WORD limit, A-compatible range and periodic gaps. |
| Wrong numeric order or reversed character pairs | Raw WORDs, DataFormat, len/encoding and string-word reversal separately. |
| Single bits appear correct, periodic bits do not | Alignment, point/WORD layout and packet start; increasing retries does not correct layout. |
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.
