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
| Template | Driver | Protocol | PLCs | Max channels | Max devices per channel |
|---|---|---|---|---|---|
| OMRON FINS | OmronFins | FINS/TCP or FINS/UDP, port 9600 | CS1, CJ1/CJ2, CP1, NJ/NX (CJ-compatible areas) | 512 | 32 |
| OMRON NJ/NX | OmronNj | EtherNet/IP CIP, port 44818 | NJ/NX symbolic variables | 256 | 1024 |
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
DestinationNodeandSourceNodeby hand. - Check the network:
Test-NetConnection 192.168.250.1 -Port 9600in 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
| Setting | Default | Description |
|---|---|---|
Protocol | Tcp | Tcp (FINS/TCP, node address by handshake) or Udp |
ConnectTimeoutMs | 3000 | TCP connection timeout in ms |
RequestTimeoutMs | 2000 | Command response timeout in ms |
MaxGapWords | 16 | Tags separated by up to this many unused words are still read in one block |
MaxWordsPerRead | 500 | Max words in one read (up to 999) |
DemoteAfterFailures / DemoteForMs / InterRequestDelayMs | 3 / 10000 / 0 | Failures before the device is marked offline, how long it is skipped, pause between requests |
Device settings
| Setting | Default | Description |
|---|---|---|
Host | required | PLC IP address |
Port | 9600 | FINS port |
DestinationNetwork / DestinationUnit | 0 / 0 | Destination network and unit (CPU = 0) |
DestinationNode | automatic | TCP: from the handshake. UDP: last octet of the PLC IP address |
SourceNetwork / SourceUnit | 0 / 0 | Source network and unit |
SourceNode | automatic | TCP: assigned by the PLC when 0. UDP: last octet of the local IP address |
WordOrder | LowFirst | Word order of 32/64-bit values. OMRON stores the low word first (D100 = low word) |
StringByteSwap | false | true: the first character of each word is read from the low byte |
Address syntax
| Area | Word | Bit (.00–.15) |
|---|---|---|
| CIO | CIO100 or 100 | CIO100.03 |
| Work (WR) | W10 | W10.00 |
| Holding (HR) | H5 | H5.15 |
| Auxiliary (AR) | A200 | A200.01 |
| DM | D1000 | D1000.05 |
| EM bank | E0_100, E0:100, EM2_50 (bank 0–24) | E0_100.07 (bank 0–15) |
| Timer | T5 / TIM5 (present value) | T5.F (completion flag) |
| Counter | C3 / 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
DataType | Words | Notes |
|---|---|---|
Boolean | 1 | Bit value on a bit address; word ≠ 0 on a word address |
Int8 / UInt8 | 1 | Low byte of the word |
Int16 / UInt16 | 1 | Default is UInt16 |
Int32 / UInt32 / Float32 | 2 | DINT / UDINT / REAL, ordered by WordOrder |
Int64 / UInt64 / Float64 | 4 | LINT / ULINT / LREAL |
Bcd16 / Bcd32 | 1 / 2 | Also for timers and counters in BCD mode |
String | Length ÷ 2 | 2 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
| Setting | Default | Description |
|---|---|---|
RequestTimeoutMs | 3000 | Tag read/write timeout in ms |
MaxParallelReads | 32 | Number of reads sent at the same time |
DemoteAfterFailures / DemoteForMs / InterRequestDelayMs | 3 / 10000 / 0 | Common polling settings |
Device settings
| Setting | Default | Description |
|---|---|---|
Host | required | PLC IP address (add :port if needed) |
Path | 1,0 | CIP path. 1,0 for the built-in EtherNet/IP port |
UseConnectedMessaging | true | Connected (Class 3) messaging |
Address syntax
The address is the variable name in the PLC:
| Example | Meaning |
|---|---|
Motor1_Speed | Simple variable |
Line.Motor.Speed | Structure member |
Values[3] | Array element |
Matrix[1,2] | Element of a multi-dimensional array |
StatusWord.5 | Bit 5 of an integer variable (Boolean) |
Values with Length 10 | First 10 array elements, returned as a JSON array (read-only) |
Data types
DataType | NJ/NX type |
|---|---|
Boolean | BOOL |
Int8 / UInt8 | SINT / USINT, BYTE |
Int16 / UInt16 | INT / UINT, WORD |
Int32 / UInt32 | DINT / UDINT, DWORD (Auto uses Int32) |
Int64 / UInt64 | LINT / ULINT, LWORD |
Float32 / Float64 | REAL / LREAL |
String | STRING |
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.
| Name | Address | DataType | Unit | Notes |
|---|---|---|---|---|
Counter | D100 | UInt16 | ||
Running | CIO0.00 | Boolean | ||
Temperature | D200 | Float32 | °C | |
TotalProduction | D210 | Int32 | ||
Recipe | D300 | String | Length 16 | |
Setpoint | H10 | Int16 | Writable | |
TimerDone | T5.F | Boolean | Read-only |
{
"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:
{
"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:
connectmq/site1/production/line2/packing/CJ2M/Temperaturewith this payload:
{
"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 just12.5) to the tag topic plus/set, for exampleconnectmq/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
| Symptom | Cause and fix |
|---|---|
| FINS timeout, device offline | The PC cannot reach port 9600, or the IP is wrong. Check with Test-NetConnection. |
| FINS/UDP gets no answer | Node 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 wrong | Word order. OMRON uses LowFirst; change WordOrder on the device if the PLC program stores the high word first. |
| Strings show swapped characters | Set "StringByteSwap": true on the device. |
NJ/NX tag bad | The 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 fails | Wrong IP or Path, or port 44818 blocked. Use Path 1,0 for the built-in port. |
| Writing a completion flag or array fails | These are read-only. Write single array elements instead. |