Omron Fins Serial
Review the following information for setting up and configuring the Omron Fins Serial driver.
Overview
The Omron Fins Serial driver enables communication with Omron PLCs using the FINS (Factory Interface Network Service) protocol over serial RS-232/RS-422/RS-485 connections. This driver supports reading and writing data from various memory areas including CIO, Work Area, Holding Area, Auxiliary Relay, Counter, Timer, Data Memory, and Extended Memory.
Manufacturing Connect Edge Compatible Series
Compatibility parameter | Compatible items |
|---|---|
Driver type | Serial |
Validated devices/series | Omron CS/CJ/CP/NJ/NX Series |
Replaces Gen 1 driver(s) | N/A |
To set up and configure this device in Manufacturing Connect Edge, you will need to do the following:
- Step 1: Set up and Configure the PLC Device
- Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub
- Step 3: Configure the List of Registers
Step 1: Set up and Configure the PLC Device
- Configure the PLC's serial communication port settings. Record the following parameters:
- Baud Rate: Communication speed (default: 9600)
- Data Bits: Number of data bits (default: 7)
- Stop Bits: Number of stop bits (default: 2)
- Parity: Parity setting (default: Even)
- Note the PLC's node addresses:
- Source Address: The PC/Manufacturing Connect Edge address (default: 0)
- Source Node ID: The PC/Manufacturing Connect Edge node ID (default: 0)
- Destination Address: The PLC network address (default: 0)
- Destination Node ID: The PLC node ID (default: 0)
- Destination Unit ID: The PLC unit ID (default: 0)
- Identify the serial port connection on your Manufacturing Connect Edge device (for example, /dev/ttyS0 or /dev/ttyUSB0).
Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub
Configure the following parameters when you Connect a DeviceConnect a Device with this driver. Update default values to the specific setup of your device.
Parameter | Value |
|---|---|
Type | Omron |
Driver | Omron Fins Serial |
Communication Port | /dev/ttyS0 (or your specific serial port) |
Baud Rate | 9600 |
Data Bits | 7 |
Stop Bits | 2 |
Parity | Even |
Source Address | 0 |
Source Node ID | 0 |
Destination Address | 0 |
Destination Node ID | 0 |
Destination Unit ID | 0 |
Step 3: Configure the List of Registers
When you Add TagsAdd Tags to the connected device, refer to the following register table and tag parameters. Refer to the following additional resources:
- Organize Device and Tag Data by Using MetadataOrganize Device and Tag Data by Using Metadata
- Tag Formula VariablesTag Formula Variables
Register Table
Name | Value Types | Access Types | Address Format | Min Address | Max Address | Description |
|---|---|---|---|---|---|---|
CIO | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDD | 0 | 6143 | Channel I/O |
CIO_bit | bit | R/W | DDDDdd | 0 | 614315 | Channel I/O |
W | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDD | 0 | 511 | Work Area |
W_bit | bit | R/W | DDDdd | 0 | 51115 | Work Area |
H | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDD | 0 | 511 | Holding Area |
H_bit | bit | R/W | DDDdd | 0 | 51115 | Holding Area |
A | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDD | 0 | 959 | Auxiliary Relay |
A_bit | bit | R/W | DDDdd | 0 | 95915 | Auxiliary Relay |
C | flag, int, bcd, word | R/W | DDDD | 0 | 4095 | Counter |
T | flag, int, bcd, word | R/W | DDDD | 0 | 4095 | Timer |
D | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Data Memory |
D_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Data Memory |
EM0 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 0 |
EM0_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 0 |
EM1 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 1 |
EM1_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 1 |
EM2 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 2 |
EM2_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 2 |
EM3 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 3 |
EM3_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 3 |
EM4 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 4 |
EM4_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 4 |
EM5 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 5 |
EM5_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 5 |
EM6 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 6 |
EM6_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 6 |
EM7 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 7 |
EM7_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 7 |
EM8 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 8 |
EM8_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 8 |
EM9 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 9 |
EM9_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 9 |
EM10 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 10 |
EM10_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 10 |
EM11 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 11 |
EM11_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 11 |
EM12 | int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string | R/W | DDDDD | 0 | 32767 | Extend Memory Bank 12 |
EM12_bit | bit | R/W | DDDDDdd | 0 | 3276715 | Extend Memory Bank 12 |
Tag Parameters
- Name: Select a register name from the drop-down list. The available options depend on the names in the register table.
- Value Type: Select a data type from the drop-down list. The available options depend on the register name selected.
- Polling Interval: Enter a value in milliseconds. 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.
- Address: Enter a tag address in decimal format, within the allowed min/max range. Omit leading zeros. The lowercase letters in the address format indicate how many digits you should enter for the bit address. For bit tags, append the bit address (0-15) without a separator to the word address. Example Addresses:
- CIO100 - Channel I/O word 100
- CIO10005 - Channel I/O word 100, bit 5
- D1000 - Data Memory word 1000
- W50 - Work Area word 50
- Count: Enter the number of register values to read. A count higher than 1 will generate an array of values from the address value configured and respective subsequent address values.
- 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: power(x) performs the operation 10^x
- log: log (x) is the natural logarithm (the logarithm is in base e)
- exp: exp (x) performs the operation e^x
- Only Publish on Change of Value: Select the checkbox to customize NATS messages to be published only when the value parameter changes 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.
Note: If you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload. This can cause two key names to be combined into one. For example, configuring the key names a**b and a&&b will cause only one key name to be created (a__b).