Skip to Content
On this page

Omron CIP

This plugin reads NJ/NX symbolic variables using unconnected CIP explicit messages over an EtherNet/IP TCP session. “Unconnected” means that tag requests do not use a Class 3 connection; it does not mean UDP. Use Omron Connected CIP for connected tag services, or FINS for supported traditional memory areas. Changing the port does not convert a FINS address into a CIP tag.

Compatible devices and models

Device series / model examplesConnection requirements
NJ101, NJ301, NJ501Use the CPU’s EtherNet/IP port and CIP tag services. Configure the variables’ Network Publish attributes in Sysmac Studio for the required access.
NX1P2, NX102, NX701Use an EtherNet/IP-capable port and check connection resources and variable publication permissions. The EtherCAT port is not the communication interface for this plugin.

Controller and Sysmac Studio setup

Controller/interfaceRequirements
NJ101, NJ301, NJ501 built-in EtherNet/IPPublish global variables. Access to CJ-compatible memory requires a published NJ variable with an AT mapping; a raw memory address such as D0000 is not directly addressed by this plugin.
NX1P2, NX102, NX701 EtherNet/IPUse the enabled EtherNet/IP port, not EtherCAT. Check the connected port and its actual IP. The two EtherNet/IP ports on NX102/NX701 must not belong to the same IP network.
Other CIP devicesSelect the appropriate vendor plugin. Shared protocol names do not guarantee compatible BOOL, STRING or connection layouts. Another vendor’s server is not an NJ/NX simulator.

The following original Sysmac Studio images come from Omron W506-E1-37 . Variable publication is defined in W501-E1-49, section 6-3 .

1. Configure the actual EtherNet/IP port

Open the matching CPU project and select Configurations and Setup → Controller Setup → Built-in EtherNet/IP Port Settings → TCP/IP. Set the allocated fixed IP, mask and required gateway. For example, PLC 192.168.10.20/24 and gateway 192.168.10.10/24 lead to gateway destination 192.168.10.20:44818. The image retains the manufacturer’s 192.168.250.1; use the actual site address.

NJ built-in EtherNet/IP fixed IP and mask settings, W506 printed page 4-2

Synchronize/download to the correct CPU and apply network changes as instructed by the engineering software. Reconnect at the new IP and check Controller Status for the active address. An offline project value does not prove that the CPU uses it. Check Port 1/Port 2 separately on CPUs with multiple ports.

2. Enable the CIP message server

Select CIP → CIP Message Server → Use. If Packet Filter is enabled, permit CIP traffic from the gateway’s actual source address. This plugin uses TCP 44818; a UDP 2222 Tag Data Link or scanner I/O connection is not required.

Sysmac Studio project tree and CIP Message Server set to Use, W506 printed page 4-21

The configurable server switch applies to NJ/NX102/NX1P2 unit version 1.49+, and NX701 1.29+. An older version lacking this switch does not by itself lack CIP support. Disabling the server prevents external UCMM/Class 3 access; increasing the gateway timeout cannot fix that.

3. Declare and publish global test variables

Open Programming → Data → Global Variables. For example, declare DemoValue : UINT, Temperatures : ARRAY[0..9] OF REAL, and Message : STRING[21]. Set Network Publish = Publish Only, synchronize/download, and monitor the active values. Program/function-block local variables are not interchangeable with global tags.

Global Variables and Network Publish column; the original Input setting belongs to Omron's Tag Data Link example

The original image shows Input for a Tag Data Link example. Publish Only permits the explicit CIP access used here without creating a Tag Data Link. Do not publish blocks external CIP access, although engineering software can still monitor the variable. Input/Output also permit CIP access; their directions describe Tag Data Links, not gateway read/write permissions. Constants, read-only variables and PLC task ownership still constrain writes.

Monitor a test DemoValue at 1234 before configuring the gateway. For NJ CJ-compatible memory, an engineering definition such as CjWords : ARRAY[0..9] OF WORD AT %D0 is accessed as CjWords[0], not %D0 or a raw D0 address. Confirm the actual AT capability and range in the NJ project.

Gateway channel and all device properties

Under Development Configuration → Collection Configuration, add a TCP Client channel targeting the actual PLC IP and port 44818. Add a device using Omron CIP, bind the channel, set a polling interval such as 1000 ms, and enable both. See Collection Configuration for shared connection, device and variable fields.

Set the actual endpoint and complete the PLC settings above, then enable the channel and device.

Dedicated Omron CIP channel settings

Select Omron CIP and associate its channel

PropertyMeaning, default and configuration
SlotDefault 0, stored as a byte 0–255. Together with Backplane, it is appended as request path information. Keep 0 for the direct NJ/NX setup. It is not a FINS unit number, IP suffix or array index, and does not establish arbitrary chassis/multihop routing support.
BackplaneDefault 1, byte 0–255. Keep 1 for direct access. There is no complete RoutePath editor; do not copy Sysmac’s internal CPU #00/#01 into this field. Routed installations require separate confirmation.
MaxPackDefault 200, accepted range 1–474. An estimated grouping budget including tag paths, widths and overhead, not a tag count or a strict 200-byte frame cap. An oversized single item is still requested separately. Single-tag and aggregate response limits still apply; long arrays are not automatically fragmented.
TimeoutDefault 3000 ms for protocol responses, separate from TCP connection timeout. Fix server, path, type and size errors before increasing it.
SendDelayTimeDefault 0 ms before sending. Add only the inter-request delay needed by the target; it extends the polling cycle.
RetryCountDefault 3 for failed operations. Repeating an invalid tag or range does not correct it.
DutyCycleDefault 3, minimum 1. During continuous writes, arrange a read after every n writes to refresh feedback.
WritePriorityDefault false. Enabling it can cancel the current read in favor of a write and affect periodic refresh.
DataFormatDefault DCBA, little-endian NJ/NX CIP values; choices ABCD/BADC/CDAB/DCBA. Retain the default unless an actual layout difference is established. It is not the FINS WORD-order setting.
IsStringReverseByteWordDefault false. The current Omron tag string paths do not apply this switch as per-WORD byte reversal. Enabling it cannot fix encoding or string-header errors. Use the STRING settings below.

Tags within a group are read sequentially. A group is not an atomic snapshot of one PLC scan; use a PLC snapshot/version scheme when values must remain consistent.

Open Plugin Properties and scroll down to check runtime and conversion settings as well as the protocol fields.

Omron CIP protocol and packing properties

Omron CIP runtime and conversion properties

Address editor and examples

There are no additional plugin-specific variable properties. Addresses use an ordered Segments list, rather than station, memory-area or byte-offset fields.

Editor fieldConfiguration
SegmentsAt least one segment: global variable, then each structure member. Motor[2].Speed contains two named segments.
NameActual downloaded tag/member name. It cannot be empty or contain ., [, ], ;, or =. The editor supplies separators and brackets.
IndicesNonnegative decimal indices for each dimension of that segment. For Matrix[1,2], enter 1 and 2, not byte offsets or a read count. The requested range must fit the PLC declaration. Negative indices are not expressed by the current editor.
DataFormat overrideUnset inherits device DCBA. It changes value conversion, not the tag path, declaration or data width.
Encoding overrideSTRING defaults to UTF-8, matching NJ/NX. Encoded byte length is not character count.
StringLengthlen= specifies body capacity/fixed parsing length, excluding the two-byte protocol length prefix. The converter default is 100; set an explicit value matching the known PLC capacity. It is not the array count and must not exceed available response data in fixed mode.
BCD overrideC8421/C5421/C2421/C3/Gray only for actual corresponding encodings. Leave ordinary UINT/REAL values unset. It does not change the vendor’s write type code.
VariableStringLengthConverter default true: parse the actual two-byte body length. Explicit false parses a fixed len, fails if data is too short, and trims trailing spaces/zeros. Normally retain true.

For example, Message;len=20;encoding=UTF-8;wstring=true. See Common register options. STRING array count 1 means one string, not one character; the periodic plan treats each STRING separately. Address string-array elements individually.

Downloaded PLC definition/valueGateway configurationExpected result/boundary
DemoValue : UINT = 1234DemoValue, UInt16, count 1, read-only1234; then save the periodic variable and check quality/timestamps.
SignedValue : DINT = -123456SignedValue, Int32, count 1, DCBA-123456, not a Float interpretation of the same 4 bytes.
REAL array elements 2–4 = 20.5/21.5/22.5Temperatures[2], Float, count 3Three REALs, 12 data bytes, within the declared array.
Matrix : ARRAY[0..1,0..2] OF UINTMatrix[1,2], UInt16, count 1Two dimensions, not index 12. Confirm CPU rules before crossing rows.
Motor[2].Speed : REALSegment Motor/index 2, then Speed; Float, count 1A symbolic member path, not a structure byte offset.
RunStatus : BOOLRunStatus, Boolean, count 1, read-onlyCompare TRUE/FALSE; do not invent bit suffixes on integer tags.
Message : STRING[21] = ABCMessage;len=20;encoding=UTF-8;wstring=true, String, count 1ABC. The PLC declaration includes the final NULL, leaving 20 single-byte characters. Do not add the CIP length prefix to len.

Other ordinary choices are Byte, Int16, UInt32, Int64, UInt64 and Double; match the PLC width and signedness. Decimal is visible in the UI but unsupported by the current CIP mapping. Do not use it for polling/writes. Whole STRUCT, Union, date/time and enum compatibility is not established by selecting an ordinary numeric type; access supported members.

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.

Omron CIP variable address, type and read-only permission

Structured fields of this Omron CIP address

Array, BOOL and write boundaries

A terminal array index requests a starting element plus count. An array name without a terminal index requests the whole tag: reducing the gateway count does not guarantee a smaller response. Use an explicit start such as Temperatures[2]. Split responses exceeding the 474-byte boundary into explicitly addressed small variables; lowering MaxPack does not fragment one long tag.

Whole BOOL arrays and indexed BOOL ranges use different PLC response layouts. Keep BOOL arrays in a separate collection group and check first/last elements and byte boundaries before expanding. Do not assume that following numeric tags share a seamless offset layout.

Writes require gateway permission and a writable PLC variable with a matching type. The current scalar TRUE payload is FF FF, whereas W506 describes BOOL status/force information as 01 00; keep BOOL read-only until acceptance by the target firmware is confirmed. Byte writes use type D1, not universally USINT/C6. A same-width read does not prove write type compatibility.

STRING writes add a two-byte little-endian byte length; this unconnected path pads an odd body length to an even payload. PLC capacity, 474-byte payload and complete-frame limits still apply. Neither len nor array count enlarges the declaration, and automatic write fragmentation is not promised.

Compare against a known PLC value

Open the selected device’s Protocol Debug → Read/Write and read DemoValue, UInt16, count 1. Enter the address and type shown in these steps, then enable the configured channel and device before reading.

Compare 1234 with simultaneous Sysmac monitoring, then save the same periodic variable and observe quality, timestamps and an independent PLC test-value change. For a writable test UINT untouched by the PLC program, record the original, write 2345, confirm independently in the PLC, restore and reread.

Symptom/statusChecks
TCP 44818 failsActual EtherNet/IP port/IP, routing, Packet Filter, CIP server and available resources.
Session succeeds, status 04/05Downloaded global name, publication, member segments and indices. Engineering access to locals does not establish external access.
Size/range error or response too large 11Start with one scalar; check start+count, whole-array behavior and response capacity.
Write type/permission errorPLC declaration, constant/read-only state, gateway permission, BOOL/Byte boundaries and program overwrites.
Scalar works, later array/group values failIsolate the collection group, particularly BOOL arrays, then verify widths/counts and ranges.
STRING header characters or corruptionCorrect Omron two-byte prefix,UTF-8, body len and variable-length mode; do not apply AB STRING 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.

Saved Omron CIP variable