---
title: Omron-NJ-Ethernet (Gen1)
slug: bhdo-v1/omron-nj-ethernet-gen1
createdAt: 2022-07-04T16:09:33.000Z
---

Review the following information for setting up and configuring the Omron-NJ-Ethernet (Gen1) driver.&#x20;

# Belden Horizon Data Operations Compatible Series&#x20;

| Compatibility parameter      | Compatible items                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Driver type**              | Ethernet                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Validated devices/series** | [NJ](https://www.ia.omron.com/products/category/automation-systems/programmable-controllers/controller-nj-series/index.html)<br />[NX1P&#xA;](https://www.ia.omron.com/products/category/automation-systems/programmable-controllers/controller-nx1p/index.html)<br />When configuring tags for this driver, you must enter the case-sensitive register name exactly as it is defined in the PLC. See the *Free Tags* section below to learn more. |

To set up and configure this device in Belden Horizon Data Operations, you will need to do the following:

- Step 1: Set up and Configure the PLC Device
- Step 2: Set up the PLC Device in Belden Horizon Data Operations DeviceHub
- Step 3: Configure the List of Registers

# Step 1: Set up and Configure the PLC Device

If the device is configured for Ethernet access, find its network parameters. Otherwise, follow the steps below.&#x20;

**To configure your device:**

1. Note down the following information and refer to it as needed.&#x20;
   **Device**: Omron NJ Ethernet
   **Communication I/F**: Ethernet. Refer to the following figure.
2. Connect the device with a USB cable.

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/9oG-E_KPeouzfIa_vQkQk_omron-nj-ethernet.png" size="80" width="1248" height="379" caption="Reference image of device" position="center" showCaption="true"}
3. Launch Sysmac Studio v1.20.1.0 software, select **Controller > Communication Setup**, and then set up the IP address.
4. Use a direct connection through **USB > USB Communication Test**.

# Step 2: Set up the PLC Device in Belden Horizon Data Operations DeviceHub

Configure the following parameters when you [Connect a Device](docId\:T-cWPe0_Jsfw5-aoj8WPP) with this driver. Update default values to the specific setup of your device.&#x20;

| Parameter           | Value                                        |
| ------------------- | -------------------------------------------- |
| **Type**            | Omron                                        |
| **Driver**          | Omron NJ Ethernet NJ301-1100                 |
| **Network Address** | The device address you defined during Step 1 |
| **Port**            | 44818                                        |

# Step 3: Configure the List of Registers

When you [Add Tags](docId\:Wpe2HMXelARLBnhWbuChY) to the connected device, refer to the following tag parameters and available value types.

Refer to the following additional resources:

- [Organize Device and Tag by Using Metadata](docId\:kR5ZcBhkXWK89Qti0v1t8)
- [Tag Formula Variables](docId:9m6xLAQ9IoPW5alpru96S)

## Free Tags

This driver doesn't have a list of available register names in the DeviceHub *Add Tag* form.

To add tags, you must enter the case-sensitive register name exactly as it is defined in the PLC.

a **Connected&#x20;**&#x73;tatus for the device won't display until a tag with a correct register name is created and a value is generated (not null/blank).

## Available Value Types

The following value types are available for Belden Horizon Data Operations version 3.11.0 and later.&#x20;

- `bool`
- `sint`
- `usint`
- `byte`
- `int`
- `uint`
- `word`
- `dint`
- `udint`
- `dword`
- `real`
- `lint`
- `ulint`
- `lword`
- `lreal`
- `string`
- `time`
- `date`
- `date_and_time`
- `time_of_day`

The following value types are available for Belden Horizon Data Operations version 3.10.0 and earlier.&#x20;

- `bool`
- `sint`
- `usint`
- `byte`
- `int`
- `uint`
- `word`
- `dint`
- `udint`
- `dword`
- `real`

##

## Reading DINT Arrays

If you want to read a DINT array, you need to write the element number of the array that you want to read in square brackets along with the tag name.&#x20;

:::hint{type="info"}
**Example**: If the array name is ArrayDint and you want to read the third element of the array, the format for the tag name in Belden Horizon Data Operations is `ArrayDint[2]`.&#x20;
:::

## Tag Parameters

- **Name**: Enter the case-sensitive register name exactly as it is defined in the PLC.&#x20;
- **Value Type**: Select a data type from the drop-down list.&#x20;
- **Polling Interval**: Enter a value in seconds. This determines how often the tag should poll the register for data.
- **Tag Name**: Enter a name for the tag.
- **Description** (Optional): Enter a description for the tag. &#x20;
- **Tag Formula**: Enter a formula for the tag to process the generated data. Two variables are permitted: `value` (current tag value) and `timestamp` (current tag UNIX time in milliseconds). The following math functions are available:
  - sin
  - cos
  - sqrt
  - tan
  - power
  - log
  - exp
- **Only Publish on Change of Value**: Select the checkbox to customize NATS messages to be published only when the *value&#x20;*&#x70;arameter changes from a previous value to a new one. *Change of Value* only applies to boolean, numeric (such as int or float), and simple string data types. It does not apply to complex types, such as JSON or array. Poll-once topics will not be affected by *Change of Value* settings. These topics will still only see a single message.
- **Meta Data**: Metadata summarizes basic information about data. This feature allows you to define key-value pair data for the device output payload later on. It can then be used to find, use, and reuse particular instances of data.&#x20;

