Skip to content

Omron FINS

The Omron FINS connection reads and writes the memory of Omron controllers over FINS, the protocol of CX-Programmer and Omron Ethernet units. FINS/UDP (port 9600) is used by default, FINS/TCP when it is enabled in the unit.

Controllers Note
CP1L-E, CP1H with an Ethernet option board FINS/UDP
CJ1, CJ2 with built-in Ethernet or CJ1W-ETN21 FINS/UDP and FINS/TCP
CS1 with CS1W-ETN21 FINS/UDP and FINS/TCP
NJ, NX Only memory areas compatible with CJ (variables mapped to D, W, H in Sysmac Studio)

The implementation is Scadora’s own, with no third-party libraries.

  1. In the editor: Connection → Omron FINS.
  2. Address is the IP of the controller or Ethernet unit. Leave the nodes at 0: Scadora takes them from the last number of the IP addresses, as Omron does by default.
  3. Create a tag with an address as in CX-Programmer, for example D100 (Int16) or W10.05 (Bool).
  4. Start the project.
Setting Default Meaning
Address, Port —, 9600 IP address and FINS port of the controller
Transport UDP UDP — standard for FINS. TCP — for units and controllers with FINS/TCP enabled
Controller node 0 FINS node of the controller (DA1). 0 — the last number of its IP address
Scadora node 0 FINS node of this computer (SA1) for UDP. 0 — the last number of the computer’s IP address. With TCP the controller assigns it
Network, Unit 0, 0 Destination network (DNA) and unit (DA2). 0 — the same network and the CPU
Timeout, ms 3000 Wait for a reply

Nodes over UDP. The Ethernet unit answers only nodes it knows. With the default automatic address conversion it is enough that the PC node equals the last number of its IP address and the PC is in the same subnet. If the unit uses an IP address table, add the PC there or set Scadora node to the node from the table.

Omron address panel

Address Area Words
D100, DM100 Data memory 0–32767
W10, W10.05 Work area, word or bit 0–511
H0, H0.15 Holding area 0–1535
A100 Auxiliary area 0–959
100, CIO100, 0.01 CIO: inputs, outputs, internal bits 0–6143
E0_100 … EC_100 Extended memory, banks E0–EC 0–32767
T3, C3 Timer or counter: present value, or the completion flag for a Bool tag 0–4095
D200:20 String of 20 characters, two per word, high byte first —

Value size. A word is 16 bits. Int32, UInt32 and Float32 take two words with the low word first, as CX-Programmer stores them (D200 and D201); 64-bit types take four. The next tag after a Float32 at D100 is D102.

Bits. W10.05 is bit 5 of W10, numbers 00–15, for Bool tags. Bits of D words are written with bit access and work on CJ2 and CP1; on older CPUs use W, H or CIO bits.

Tags of one area that lie close together are read with one Memory Area Read (up to 400 words), timer and counter flags with a bit read. If the controller rejects a block, those tags are read one by one and only the wrong address gets Bad. A write is a separate Memory Area Write: a bit goes to the bit area, a number is written as words.

Symptom Cause and what to do
“No connection”, “did not answer” Wrong IP or port, UDP 9600 is blocked by a firewall, or the unit does not know the PC node: see “Nodes over UDP”
“Node not on the network”, “no destination node address in the table” Wrong Controller node, Network or the IP address table of the unit
Tag Bad, “address beyond the area” The address is outside the area of this CPU (for example an EM bank that does not exist)
Writes fail, “command not available in the current mode” The CPU is in PROGRAM mode or write protection is on
Wrong Int32 or Float32 The value starts at the wrong word or is stored high word first in the program
NJ/NX: all tags Bad Variables are not mapped to CJ memory areas in Sysmac Studio
  • Only CS/CJ/CP memory areas; NJ/NX variables by name (CIP) are not supported.
  • FINS over Host Link (serial port) is not supported.
  • Timer and counter completion flags are read only.
  • Checked against an in-test controller simulator, not yet on a real controller.