Skip to content

OMRON connector Basic & Scale ​

ConnectMQ Edge has two OMRON connectors: OMRON FINS reads memory areas of CJ, CP and CS PLCs over FINS/TCP or FINS/UDP, and OMRON NJ/NX reads NJ/NX global variables by name over EtherNet/IP. Every value is published to your ConnectMQ broker as an ISA-95 topic with value, quality, unit and timestamp.

Drivers and limits ​

TemplateDriverProtocolPLCsMax channelsMax devices per channel
OMRON FINSOmronFinsFINS/TCP or FINS/UDP, port 9600CS1, CJ1/CJ2, CP1, NJ/NX (CJ-compatible areas)51232
OMRON NJ/NXOmronNjEtherNet/IP CIP, port 44818NJ/NX symbolic variables2561024

Both drivers can run side by side: one OMRON FINS channel for CJ/CP/CS PLCs and one OMRON NJ/NX channel for NJ/NX controllers. Limits are per driver, not per project. How many values you can send to the cloud depends on your plan: see Plans & broker limits and pricing.

Prepare the PLC ​

OMRON FINS

  • Note the PLC IP address (CJ/CP/CS Ethernet unit or built-in port). FINS uses port 9600.
  • FINS/TCP needs no further setup: node numbers are agreed when the connection opens.
  • FINS/UDP: node numbers are taken from the last octet of the IP addresses. In CX-Programmer the Ethernet unit must use automatic generation (dynamic) address conversion; otherwise enter DestinationNode and SourceNode by hand.
  • Check the network: Test-NetConnection 192.168.250.1 -Port 9600 in PowerShell (TCP).

OMRON NJ/NX

  • In Sysmac Studio open the global variables and set Network Publish to Publish Only (or Input / Output) for every variable you want to read. Transfer the project to the controller.
  • Note the controller IP address. Check the network: Test-NetConnection 192.168.250.10 -Port 44818.
  • Variables are not browsed from the PLC; keep the exact names and data types from Sysmac Studio at hand.

Add the connector in ConnectMQ Edge ​

Add a channel from the template ​

In the ConnectMQ Edge desktop app open Connectors in the left menu, click + Add channel and pick the OMRON FINS or OMRON NJ/NX template. The channel is added with sample addresses.

Enter the PLC connection ​

Add one device per PLC and set its IP address (Host). For FINS the port is 9600; set "Protocol": "Udp" in the channel settings if you use FINS/UDP. For NJ/NX keep Path at 1,0 for the built-in EtherNet/IP port.

Add your tags ​

FINS tags use memory addresses such as D100, CIO0.00, H10, E0_100 or T5.F. NJ/NX tags use variable names such as Motor.Speed, Values[3] or StatusWord.5. Set the DataType, and optionally Unit, Scale and Deadband.

Validate and save ​

Click Validate project, then press Save and apply. The channel starts right away without restarting the service.

Check the values ​

On Overview the PLC shows Reading data under Field devices; problems appear in the Last problem column. Live values are on Local OPC UA Server › Live tag values, details in Windows Service Settings › Logs.

OMRON FINS reference ​

The protocol is built into ConnectMQ Edge. It uses Memory Area Read (0101) and Memory Area Write (0102); tags in the same memory area are read in contiguous blocks.

Channel settings ​

SettingDefaultDescription
ProtocolTcpTcp (FINS/TCP, node address by handshake) or Udp
ConnectTimeoutMs3000TCP connection timeout in ms
RequestTimeoutMs2000Command response timeout in ms
MaxGapWords16Tags separated by up to this many unused words are still read in one block
MaxWordsPerRead500Max words in one read (up to 999)
DemoteAfterFailures / DemoteForMs / InterRequestDelayMs3 / 10000 / 0Failures before the device is marked offline, how long it is skipped, pause between requests

Device settings ​

SettingDefaultDescription
HostrequiredPLC IP address
Port9600FINS port
DestinationNetwork / DestinationUnit0 / 0Destination network and unit (CPU = 0)
DestinationNodeautomaticTCP: from the handshake. UDP: last octet of the PLC IP address
SourceNetwork / SourceUnit0 / 0Source network and unit
SourceNodeautomaticTCP: assigned by the PLC when 0. UDP: last octet of the local IP address
WordOrderLowFirstWord order of 32/64-bit values. OMRON stores the low word first (D100 = low word)
StringByteSwapfalsetrue: the first character of each word is read from the low byte

Address syntax ​

AreaWordBit (.00–.15)
CIOCIO100 or 100CIO100.03
Work (WR)W10W10.00
Holding (HR)H5H5.15
Auxiliary (AR)A200A200.01
DMD1000D1000.05
EM bankE0_100, E0:100, EM2_50 (bank 0–24)E0_100.07 (bank 0–15)
TimerT5 / TIM5 (present value)T5.F (completion flag)
CounterC3 / CNT3 (present value)C3.F (completion flag)

Bit tags in word areas are read in a block together with their word. Completion flags are read from the bit area.

Data types ​

DataTypeWordsNotes
Boolean1Bit value on a bit address; word ≠ 0 on a word address
Int8 / UInt81Low byte of the word
Int16 / UInt161Default is UInt16
Int32 / UInt32 / Float322DINT / UDINT / REAL, ordered by WordOrder
Int64 / UInt64 / Float644LINT / ULINT / LREAL
Bcd16 / Bcd321 / 2Also for timers and counters in BCD mode
StringLength ÷ 22 characters per word, cut at the first null character

OMRON NJ/NX reference ​

Reads and writes network-published global variables of NJ/NX CPUs by name over EtherNet/IP CIP. Reads are sent in parallel and packed into CIP multi-service requests.

Channel settings ​

SettingDefaultDescription
RequestTimeoutMs3000Tag read/write timeout in ms
MaxParallelReads32Number of reads sent at the same time
DemoteAfterFailures / DemoteForMs / InterRequestDelayMs3 / 10000 / 0Common polling settings

Device settings ​

SettingDefaultDescription
HostrequiredPLC IP address (add :port if needed)
Path1,0CIP path. 1,0 for the built-in EtherNet/IP port
UseConnectedMessagingtrueConnected (Class 3) messaging

Address syntax ​

The address is the variable name in the PLC:

ExampleMeaning
Motor1_SpeedSimple variable
Line.Motor.SpeedStructure member
Values[3]Array element
Matrix[1,2]Element of a multi-dimensional array
StatusWord.5Bit 5 of an integer variable (Boolean)
Values with Length 10First 10 array elements, returned as a JSON array (read-only)

Data types ​

DataTypeNJ/NX type
BooleanBOOL
Int8 / UInt8SINT / USINT, BYTE
Int16 / UInt16INT / UINT, WORD
Int32 / UInt32DINT / UDINT, DWORD (Auto uses Int32)
Int64 / UInt64LINT / ULINT, LWORD
Float32 / Float64REAL / LREAL
StringSTRING

The DataType must have the same size as the type in the PLC; with a wrong size the read returns bad quality.

Example ​

A CJ2M on a packing line, read over FINS/TCP. The project's ISA-95 levels are connectmq / site1 / production, and the device sets Line: line2 and Cell: packing.

NameAddressDataTypeUnitNotes
CounterD100UInt16
RunningCIO0.00Boolean
TemperatureD200Float32°C
TotalProductionD210Int32
RecipeD300StringLength 16
SetpointH10Int16Writable
TimerDoneT5.FBooleanRead-only
json
{
  "Name": "PackingFins",
  "Driver": "OmronFins",
  "Settings": { "Protocol": "Tcp", "RequestTimeoutMs": 2000, "MaxGapWords": 16 },
  "Devices": [
    {
      "Name": "CJ2M",
      "Isa95": { "Line": "line2", "Cell": "packing" },
      "ScanRateMs": 1000,
      "Settings": { "Host": "192.168.250.1", "Port": 9600 },
      "Tags": [
        { "Name": "Counter", "Address": "D100", "DataType": "UInt16" },
        { "Name": "Running", "Address": "CIO0.00" },
        { "Name": "Temperature", "Address": "D200", "DataType": "Float32", "Unit": "°C" },
        { "Name": "TotalProduction", "Address": "D210", "DataType": "Int32" },
        { "Name": "Recipe", "Address": "D300", "DataType": "String", "Length": 16 },
        { "Name": "Setpoint", "Address": "H10", "DataType": "Int16", "Writable": true },
        { "Name": "TimerDone", "Address": "T5.F" }
      ]
    }
  ]
}

An NX1P2 read by variable name:

json
{
  "Name": "AssemblyNj",
  "Driver": "OmronNj",
  "Settings": { "RequestTimeoutMs": 3000 },
  "Devices": [
    {
      "Name": "NX1P2",
      "ScanRateMs": 500,
      "Settings": { "Host": "192.168.250.10", "Path": "1,0" },
      "Tags": [
        { "Name": "Motor.Speed", "Address": "Motor.Speed", "DataType": "Float32", "Unit": "rpm" },
        { "Name": "Motor.Running", "Address": "Motor.Running", "DataType": "Boolean" },
        { "Name": "Temperature3", "Address": "Temperatures[3]", "DataType": "Float64" },
        { "Name": "Status.Bit5", "Address": "StatusWord.5" },
        { "Name": "TargetSpeed", "Address": "Motor.SpeedSetpoint", "DataType": "Float32", "Writable": true }
      ]
    }
  ]
}

The Temperature tag of the CJ2M arrives in ConnectMQ on the topic:

text
connectmq/site1/production/line2/packing/CJ2M/Temperature

with this payload:

json
{
  "timestamp": "2026-10-21T14:29:00.123Z",
  "value": 71.4,
  "quality": "good",
  "unit": "°C",
  "dataType": "Float32",
  "tag": "Temperature",
  "device": "CJ2M",
  "channel": "PackingFins"
}

A . in a tag name creates a sub-level: the NJ tag Motor.Speed is published on .../NX1P2/Motor/Speed. See Topics and payloads.

Write values to the PLC ​

Tags with "Writable": true can be written:

  • From the cloud: turn on Allow writes from the cloud in Cloud Settings, then publish {"value": 12.5} (or just 12.5) to the tag topic plus /set, for example connectmq/site1/production/line2/packing/CJ2M/Setpoint/set.
  • Locally: write the tag from an OPC UA client on the Edge local OPC UA server.

FINS: bit tags are written as a single bit, other types as words. Completion flags (T5.F, C3.F) are read-only. NJ/NX: single variables can be written; array reads with Length greater than 1 cannot be written, so write single elements such as Values[3].

Troubleshooting ​

SymptomCause and fix
FINS timeout, device offlineThe PC cannot reach port 9600, or the IP is wrong. Check with Test-NetConnection.
FINS/UDP gets no answerNode numbers do not match. Turn on automatic address generation in the PLC, or set DestinationNode and SourceNode by hand. FINS/TCP avoids this.
32-bit values look wrongWord order. OMRON uses LowFirst; change WordOrder on the device if the PLC program stores the high word first.
Strings show swapped charactersSet "StringByteSwap": true on the device.
NJ/NX tag badThe variable is not network-published, the name is misspelled, or the DataType size does not match the PLC type (for example Float32 for an LREAL).
NJ/NX connection failsWrong IP or Path, or port 44818 blocked. Use Path 1,0 for the built-in port.
Writing a completion flag or array failsThese are read-only. Write single array elements instead.

Fully managed MQTT broker for connected devices.