Skip to Content
On this page

Mitsubishi CIP

Mitsubishi EtherNet/IP CIP tag read and write driver

Compatible devices and models

Device series / model examplesConnection requirements
Mitsubishi controllers exposing EtherNet/IP CIP symbolic tag servicesThe controller or communication module must expose symbolic tag services matching this plugin, route, slot and permissions. Use MC 3E for the FX5U built-in SLMP interface.

Confirm symbolic tag services first

This plugin actively connects to EtherNet/IP TCP44818 and uses unconnected CIP symbolic tag services: read 4CH, write 4DH. The endpoint must expose these services and permit access to the variables. A Mitsubishi SLMP port, cyclic EtherNet/IP I/O or Class/Instance/Attribute Explicit messaging does not by itself provide these tag services.

For example, the RJ71EIP91 Application Manual SH-081915ENG-G  describes Class3, UCMM and instance/object messaging. Those capabilities alone do not establish that DemoValue can be read symbolically with this plugin. Use MC3E for an FX5U’s built-in SLMP interface.

Before a read-only test, check the actual CPU, module and firmware manuals for:

  1. Server support for the symbolic tag services above, rather than only I/O scanner or generic object client operation.
  2. The externally visible variable name, scope, case, type and read permission. A variable’s presence in a project does not prove external publication.
  3. The actual module IP, mask, route and TCP44818 reachability from the gateway.
  4. The required backplane/slot path and actual array/string layouts. Another manufacturer’s engineering screenshots do not configure a Mitsubishi endpoint.

Use DemoValue=1234 below only after the endpoint provides that externally readable UInt16 tag. Confirm model compatibility and variable publication settings against the service requirements first.

Module network parameters in GX Works3

For RJ71EIP91, open Module Parameter → Basic Setting → Own Node Setting → IP Address Setting. Enter the site-specific IP Address, Subnet Mask and Default Gateway, write the settings and confirm the online address. The manufacturer window below has blank address fields. Use the module’s actual IP and port44818 in the gateway, then check the service type and variable publication requirements above.

GX Works3 RJ71EIP91 Basic Setting IP, Subnet Mask and Default Gateway fields

Source: Mitsubishi RJ71EIP91 Application Manual SH-081915ENG-G, printed page46 (PDF48), GX Works3 module parameters.

Configure the TCP client and device

Under Development → Collection configuration, create a TCP client channel using the actual module address. 192.168.10.20:44818 is an example, not a default PLC address. UDP, TCP service and serial channels are unavailable for this plugin.

Mitsubishi CIP TCP client and example 44818 endpoint

Select Mitsubishi CIP and associate the channel. See Collection configuration for common intervals, connection settings, logging and permissions. Check the actual endpoint and PLC settings, then enable the channel and device.

Selecting Mitsubishi CIP and the TCP channel

ParameterMeaning and selection
Target slotDefault 0. Slot segment in the target path, not a TCP port, station or array index. A Byte field does not establish that all 0–255 values work.
Backplane portDefault 1. Backplane port segment, not a PC network interface. This entry is not a complete multihop Logix route editor.
Maximum package lengthDefault 200, valid 1–474 bytes. Groups requests by tag paths, services and estimated responses. It is not a tag/register count. Long names, arrays and strings consume the budget; do not assume automatic fragmented reads.
Read/write timeoutDefault 3000 ms per session/read/write response. Allow for network/controller time. A CIP service rejection is different from a timeout.
Delay before sendingDefault 0 ms. Adds pre-transmission delay when required; it does not set cyclic I/O RPI. This plugin exposes no RPI setting.
Reverse string bytes within each wordThe UI default is off. The current Mitsubishi entry does not apply this switch to the connection; do not rely on it for string byte swapping. Check the endpoint layout and raw bytes.
Data formatDefault DCBA. Match the actual CIP base type and known value; changing byte order does not turn an INT response into DINT.
Retry countDefault 3. Failure retry policy. Correct missing tags, permissions and type mismatches rather than raising retries.
Read/write duty cycleDefault 3, minimum 1. A read after n writes during sustained writing; not array length or RPI.
Write priorityDefault off. May cancel active reads for writes. Leave off during read-only commissioning.

Mitsubishi CIP slot, backplane and byte budget

Mitsubishi CIP runtime and conversion fields

Create variables from actual published tags

Enter an external symbolic path, not an SLMP D address or Class/Instance number. The example is DemoValue, UInt16, read-only. Match the declared and returned base type.

Read-only DemoValue configuration

The field editor’s tag path contains one or more segments with names and optional array indices. Adding a segment creates a member path, not another collection variable.

FieldMeaning and example
Tag or member nameUse the actual published name. One segment gives DemoValue; segments Machine and SpeedgiveMachine.Speed. Segment names cannot contain dots, brackets, semicolons or equals signs; the editor supplies separators.
Array indicesUse the actual dimensions and nonnegative indices, such as Samples[3] or Matrix[1,2]. Indices select a starting element, not a byte offset. Array length separately specifies the number of elements. Do not assume every PLC array starts at 1.
Data format overrideUnset inherits DCBA. Confirm with known integer/REAL values; it cannot correct a wrong base type.
Encoding overrideText decoding only; leave unset for numbers. Current string writes construct UTF-8 bytes, so a read encoding override does not change write encoding.
String byte lengthConversion capacity, default100 bytes in the converter. Not a character count or CIP array count. First confirm the structure below; do not reuse Omron’s header.
BCD overrideUse C8421, C5421, C2421, C3 or Gray only when the endpoint stores that code. Leave unset for ordinary CIP integers.
Variable string length overrideDefault string conversion uses the actual length. A fixed-length override cannot make another Mitsubishi STRING layout compatible. Check LEN and payload first.

Mitsubishi CIP path segments, indices and conversion fields

The following comparisons apply only after endpoint service compatibility is established:

Endpoint definitionGateway configurationCompare
Published UInt16 DemoValue=1234DemoValue / UInt16 / one element1234, valid quality and advancing time.
Published REAL member Machine.Speed=12.5Machine.Speed / Float12.5, not its integer bit pattern.
Published UInt16 Samples, indices3–5 contain100,200,300Samples[3] / UInt16 / array length 3Three elements within the array boundary, not byte offset 3.
Published BOOL ReadyReady / BooleanValidate individual BOOLs first; BOOL array packing is not UInt16 array layout.

Decimal has no corresponding CIP write type here, even if it appears in the general type selector. Check whole structures, packed BOOL arrays, large objects and fragmented reads against the actual endpoint separately.

Establish the string layout before using String

Current string reads expect a 2-byte structure identifier, a 4-byte LEN and the payload. LEN cannot exceed the returned payload. String writes addresstag.LEN and tag.DATA[0], using the UTF-8 byte count for LEN; an empty string writes only LEN=0. These are multiple service operations, not an indivisible PLC memory update.

A Mitsubishi STRING with another length header, fixed character area, zero termination or member names does not match this contract. Do not attempt writes solely because a String length can be entered. Check the endpoint type and raw response; where appropriate, use explicitly supported base-type members and a defined business conversion.

Verify tags after session registration

Enable the confirmed endpoint and first read one UInt16 tag, count 1, in Protocol debugging → Read/write. Inspect the EtherNet/IP session, CIP status and returned type, then compare the engineering software. A TCP connection or registered session proves only interface reachability.

Mitsubishi CIP saved variable list

SymptomCheck
TCP connection failsActual interface, IP/mask/route, TCP44818 and server setup. Use the EtherNet/IP symbolic-service port; an SLMP port serves a different protocol.
Session works but service is unsupportedConfirm4CH/4DH symbolic services, not only object messaging or cyclic I/O.
Missing tag or permission errorPublished name, scope, case, external access and actual backplane/slot path.
Shifted values or failing arraysBase type, start index, dimensions, count, byte budget and endpoint boundaries.
String length errorCheck2+4-byte header, LEN, payload, UTF-8 writes and.LEN/.DATA members. Manufacturer STRING layouts differ.