IMDHMIControls LibraryShop main store

How-to

Displaying an Omron CJ2M value in InTouch tag layers

SCADA and data logging Published 6 min read

Short answer

InTouch reads the CJ2M through a server, never directly: install the Omron FINS or Hostlink I/O Server, or use an OPC server such as Kepserver with InTouch as the OPC client. Prove four layers in order — the PLC word in CX-Programmer, the server's device connection, the item read for CIO0008, then the InTouch tag and its screen binding — and fix only the layer that fails.

On this page
  1. What owns the value on the way to the screen
  2. Confirm the PLC value first
  3. Choose one communications path
  4. Configure the server and its device
  5. Read the item before you touch the screen
  6. Create the InTouch tag and bind the display
  7. Worked example: a sign error at 48,000
  8. Match the symptom to the layer
  9. Questions asked

InTouch never reads the CJ2M by itself. The value travels through a server — the Omron FINS or Hostlink I/O Server, installed separately from InTouch, or an OPC server such as Kepserver from Kepware with InTouch acting as the OPC client — and the mapping lives in two places: the server's item for CIO0008 and the InTouch tag that reads that item. Prove four layers in order: the PLC word in CX-Programmer, the server's device connection, the item read at the server, then the InTouch tag and its screen binding. If the CJ2M is reachable on the network, use FINS over TCP; Hostlink is the serial fallback; choose OPC when the site already runs an OPC server or other clients need the same data.

What owns the value on the way to the screen #

Each layer answers one question, and normally only one layer is broken at a time.

Layer Where it lives What a pass proves
PLC word CX-Programmer, online, word CIO0008 The ladder writes the value you expect
Server device The server's device definition and status The server reaches the CJ2M
Server item The server's address mapping for CIO0008 The address is valid and the type is right
InTouch tag and binding The tag configuration and the screen object The value is displayed

Keep the PLC notation and the tag name apart: the tag is the HMI-side object, and the server maps it to the controller address. Every server has its own syntax for a CIO word, so use the syntax the installed server documents instead of pasting PLC notation unchanged.

Confirm the PLC value first #

  1. Go online in CX-Programmer and watch word CIO0008 while the logic that writes it runs.
  2. Record the facts that matter downstream: one 16-bit word or two, signed or unsigned, and the range the process can actually reach.
  3. If the word is not what the ladder should produce, fix the program or the address. No server setting corrects a wrong PLC value.

Do this before anything else. A tag bound to the wrong address, or typed differently from the word, looks exactly like a communications failure while the PLC is healthy.

Choose one communications path #

InTouch reaches the CJ2M through one of two server families. The Omron FINS I/O Server — the Wonderware DAServer for Omron FINS Ethernet — carries FINS over TCP on the plant network. The Omron Hostlink I/O Server carries the serial protocol through the PLC's serial port. The third route is an OPC server with its own Omron FINS Ethernet driver, such as Kepserver from Kepware or TOP Server, with InTouch as the OPC client.

Path Transport Choose it when What to verify
Omron FINS I/O Server FINS over TCP, Ethernet The CJ2M is on the network IP address and the FINS node number mapping
Omron Hostlink I/O Server Serial There is no network path to the PLC Serial parameters match at both ends
OPC server Its Omron FINS Ethernet driver The site already runs one, or other clients need the data Device status plus item quality

Pick one path per tag and stay on it: two paths to the same word give you two sources of truth and twice the places to misconfigure. The discipline is identical to connecting InTouch to a CLICK PLC over Modbus RTU — the server owns the protocol, the tag owns the mapping. Do not stand up an OPC server as a shortcut while the I/O server is half configured; finish the path you chose or replace it deliberately.

Configure the server and its device #

  1. Install the server. The Omron FINS and Hostlink I/O Servers are separate installs from InTouch; an OPC server installs with its Omron FINS Ethernet driver.
  2. Create the device for the CJ2M. For FINS over TCP, enter the PLC's IP address; FINS identifies a PLC by network, node and unit number, and the Ethernet configuration maps the FINS node number to that address. For Hostlink, set the serial parameters to match the PLC port.
  3. Confirm the installed server version lists the CJ2M as a supported controller.
  4. Bring the device online and read its status in the server's diagnostics before doing any item work.

The device status is where most dead paths are found, and other packages fail here the same way: fixing Citect SCADA FINS errors to an Omron NX1P2 also starts from the server's device status, not from the graphic.

Read the item before you touch the screen #

  1. With the device connected, read the item for CIO0008 at the server layer: the server's own item view for an I/O Server, or an OPC test client for the OPC path.
  2. Compare the value with CX-Programmer, and the quality with the read: a good read returns the same number you watch online.
  3. A connected device with a bad item points at address syntax or data type. Check the server's documented notation for a CIO word and the type of the read.
  4. If the value is 32-bit across CIO0008 and CIO0009, confirm which word the server treats as the low word before trusting the number.
  5. Move to InTouch only when the item returns the right number on its own.

A good device connection proves the network, not the address; the item read proves the mapping.

Create the InTouch tag and bind the display #

  1. Create the tag that references your server connection and reads the item you just proved.
  2. Set the tag's data type to match the word exactly — the sign case below shows what a mismatch does.
  3. Place the display object on the window and bind it to that tag.
  4. Save, run the window, and compare against CX-Programmer.
  5. Change the value once under a controlled test and watch all four layers move together; the first layer that disagrees is the fault.

Run the test with the machine in a safe state — never force a word into a live machine just to see the number move.

Worked example: a sign error at 48,000 #

CX-Programmer shows CIO0008 = 48,000, an unsigned count. The server item also reads 48,000. The screen shows -17,536.

The arithmetic: a 16-bit word holds 0 to 65,535 unsigned, or -32,768 to 32,767 signed in two's complement. The tag was declared signed, and 48,000 exceeds 32,767, so the tag resolves it as 48,000 - 65,536 = -17,536. Communications were never broken; only the type was wrong.

The decision: any word that can exceed 32,767 — counters, raw analog words above half scale, anything scaled toward 65,535 — is carried unsigned at the server item and at the tag. At or below 32,767 both types display the same number, which is why this fault appears only at certain process values. Change the tag's type to unsigned and the screen shows 48,000 with no PLC change.

Match the symptom to the layer #

A display that falls back to question marks is the client saying answers stopped arriving; why HMI values show question marks covers that timeout side. For every other case, work the table:

Symptom Layer at fault Fix
Screen blank or stale, CX-Programmer correct Server device Endpoint, cable, node mapping, driver support
Question marks on the field Client-server exchange Restore the server's answers before touching addresses
Device connected, item bad quality Item mapping Address syntax and data type in the server's notation
Item reads right, tag does not follow InTouch tag Tag's server reference, item reference and type
Tag value right, screen stale Graphic binding Rebind the object to the tag
Plausible number, wrong sign or magnitude Data type Unsigned end to end, and word order for 32-bit values

Fix only the layer the table names, prove it with that layer's own read, then expand the mapping from CIO0008 to the rest of the address list.

Questions asked

Does InTouch talk to the CJ2M without an extra server?

No. InTouch reads through a server layer: either the Omron FINS or Hostlink I/O Server, which is a separate install from InTouch, or an OPC server such as Kepserver from Kepware with InTouch as the OPC client. With a network path to the PLC, the FINS server over TCP is the direct route; Hostlink is the serial fallback when no network path exists.

Can I display one bit of CIO0008 instead of the whole word?

Yes. The word is 16 bits, and a discrete tag can reference a single bit of it. Use the bit addressing syntax the installed server documents, because the word and bit position are expressed in the server's notation rather than the PLC's, and bind that tag to the screen object as a discrete value.

Why does CX-Programmer show 48,000 while the screen shows -17,536?

The tag is typed as a signed 16-bit integer while the word is unsigned. Values above 32,767 wrap under two's complement: 48,000 - 65,536 = -17,536. Set the tag, and the server item if it declares its own type, to unsigned and the screen matches the PLC with no program change.

The server says the device is connected, so why is the tag still bad?

Connection is a device-level result; the item is a separate check. A device can stay connected while the item for CIO0008 returns bad quality because the address syntax or data type is wrong in the server. Read the item at the server layer first, correct the notation, then retest the InTouch tag.

Keep reading

  • Troubleshooting

    Connecting InTouch to a CLICK PLC over Modbus RTU

    Set the Modbus I/O Server to RTU, not ASCII: the CLICK PLC is an RTU-only slave and silently discards ASCII frames. Wire to an RS-232 port, copy the PLC port's baud and framing — 38400 only if the port is set to it — and keep the 584/984PLC topic only after one known register reads back exact.

    SCADA and data logging

  • How-to

    Expose PLC values to an OPC server through guest memory blocks

    Copy every value the OPC server needs into a Do-more guest block with a ladder MOVE, cast 32-bit reals at an even DLV address and configure the server tag as REAL, and let clients write outputs only to a V-memory staging word the ladder moves to the physical output. DLY is data, not an output alias, and Modbus clients read through MRX and MWX.

    SCADA and data logging

  • How-to

    How Vijeo Citect SCADA communicates with an S7-300 PLC

    Vijeo Citect reaches an S7-300 over its native S7 driver — MPI, Profibus and TCP/IP in version 7.0 — which installs with Citect, or through a SIMATIC NET OPC server built as a PC station in the STEP 7 project and proven item by item in OPC Scout before any Citect tag points at it. On a machine with a CP 343-1, the native TCP/IP driver needs no Siemens PC software at all.

    SCADA and data logging