Omron V460-H Instruction Manual

Machine Automation Controller NX-series
EtherNet/IPTM Connection Guide
OMRON Corporation
Industrial Handheld DPM Reader
V460-H-series
Z482-E1-01

About Copyrights and Trademarks
Microsoft product screen shots used with permission from Microsoft.
Windows is a registered trademark of Microsoft Corporation in the USA and other countries.
ODVA, EtherNet/IP are trademarks of ODVA.
Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in
Japan and other countries for OMRON factory automation products.
Company names and product names in this document are the trademarks or registered
trademarks of their respective companies.

Contents
1. Related Manuals.......................................................................................... 3
2. Terms and Definitions ................................................................................ 4
3. Restrictions and Precautions .................................................................... 5
4. Applicable Devices and Device Configuration ........................................ 6
4.1. Applicable Devices.................................................................................. 6
5. Overview ...................................................................................................... 7
5.1. Device Configuration............................................................................... 8
6. EtherNet/IP Settings.................................................................................. 10
6.1. Parameters............................................................................................ 10
6.2. Data Types to Use for Tag Data Links.................................................. 11
6.3. Global Variables.................................................................................... 13
6.4. Tag Set.................................................................................................. 15
6.5. Tag Data Link Table.............................................................................. 15
7. EtherNet/IP Connection Procedure......................................................... 16
7.1. Operation Flow...................................................................................... 16
7.2. Code Reader Setup .............................................................................. 17
7.3. Controller Setup .................................................................................... 20
7.4. Checking the EtherNet/IP Communications ......................................... 40
8. Initializing the System .............................................................................. 44
8.1. Initializing the Controller........................................................................ 44
8.2. Initializing the Code Reader.................................................................. 44
9. Appendices How to Use the Project File................................................ 45
9.1. Operation Flow...................................................................................... 45
9.2. Controller Setup .................................................................................... 46
10. Revision History........................................................................................ 48

1. Related Manuals
3
1. Related Manuals
To ensure system safety, make sure to always read and follow the information provided in all
Safety Precautions and Precautions for Safe Use in the manuals for each device which is
used in the system.
The following OMRON Corporation (hereinafter referred to as “OMRON”) manuals are related
to this document:
Cat. No. Model Manual name
W535 NX Series NX-series CPU Unit Hardware User’s Manual
W593 NX Series NX-series NX102 CPU Unit Hardware User’s
Manual
W578 NX Series NX-series NX1P2 CPU Unit Hardware User’s
Manual
W501 NJ/NX Series NJ/NX-series CPU Unit Software User’s Manual
W506 NJ/NX Series NJ/NX-series CPU Unit Built-in EtherNet/IP Port
User’s Manual
W504
SYSMAC-SE2
Sysmac Studio Version 1 Operation Manual
W502 NJ/NX Series Machine Automation Controller Instructions
Reference Manual
Z461 V460-H Series V460-H Industrial Handheld DPM Reader
User Manual
Z462 V460-H Series V460-H Industrial Handheld DPM Reader
Communication Manual

2. Terms and Definitions
4
2. Terms and Definitions
Below is a list of terms used in this manual and their definitions.
Term
Description/Definition
Node It refers to a relay point, a branch point or a terminal on an EtherNet/IP
network comprised of equipment having an EtherNet/IP port. Devices
with one EtherNet/IP port are recognized as one node on the
EtherNet/IP network, and devices with two EtherNet/IP ports are
recognized as two nodes.
Tag A tag is a unit that is used to exchange data with tag data links. Data is
exchanged between the local network variables and remote network
variables specified in the tags or between specified I/O memory areas.
Tag Set When a tag data link connection is established, one or more tags (up to
eight tags including the controller status) are configured as a set. This is
referred to as a Tag Set. Each tag set represents the unit of data that is
linked for a tag data link connection. Tag data links are therefore created
through a connection between one tag set and another tag set. A tag set
name must be set for each tag set.
Tag Data Link The Implicit communications of the EtherNet/IP standard is called a Tag
Data Link. Tag data links enable cyclic tag data exchange between
controllers or between a controller and other devices on an EtherNet/IP
network.
Connection
A connection is used to exchange data as a unit within which data
concurrency is maintained.
Connection Type
You can select multi-cast or unicast (point-to-point) as the connection
type in the tag data link connection settings. Multi-cast sends an output
tag set in one packet to more than one node. Unicast, on the other hand,
individually sends one output tag set to each node. Therefore, using a
multi-cast connection can decrease the communications load when
sending one output tag to multiple nodes.
Originator and
Target
To use tag data links, it is necessary to first establish a connection
between the nodes that use them. The node that requests a connection
is called the originator, and the node that receives the request is called
the target.
Tag Data Link
Parameters
In tag data link setting, “tag settings”, “tag set settings” and “connection
settings” are collectively called “tag data link parameters”.
EDS File It is a file describing device-specific information such as the number of
input/output points for EtherNet/IP devices.

3. Restrictions and Precautions
5
3. Restrictions and Precautions
(1) Before building a system, understand the specifications of devices which are used in the
system. Allow some margin for ratings and performance, and provide safety measures
such as installing a safety circuit in order to minimize the risk in case of failure.
(2) To ensure system safety, make sure to read and follow the information provided in all
Safety Precautions and Precautions for Safe Use in the manuals for each device which is
used in the system.
(3) The user is encouraged to confirm the standards and regulations that the system must
conform to.
(4) It is prohibited to copy, to reproduce, and to distribute a part or the whole of this
document without the permission of OMRON Corporation.
(5) The information contained in this document is current as of November 2023.
It is subject to change for improvement without notice.
The following notations are used in this document.
Indicates a potentially hazardous situation which, if not avoided,
may result in minor or moderate injury, or may result in serious
injury or death. Additionally, there may be severe property
damage.
Indicates a potentially hazardous situation which, if not avoided,
may result in minor or moderate injury, or property damage.
Precautions for Correct Use
Precautions on what to do and what not to do to ensure proper operation and performance.
Note
Additional information to read as required.
This information is provided to increase understanding or make operation easier.
Symbols
The filled circle symbol indicates operations that
you must do.
The specific operation is shown in the circle and
explained in text.
This example shows a general precaution for
something that you must do.

4. Applicable Devices and Device Configuration
6
4. Applicable Devices and Device Configuration
4.1. Applicable Devices
The applicable devices that can be connected are as follows:
Manufacturer Name Model Version
OMRON
NX Series CPU Unit
NX701-
NX102-
NX1P2-
Same or later
version as
indicated in
section 5.2.
OMRON Code reader V460-H0PX
Note
This document describes the procedures for establishing the network connections. It does
not provide information on operation, installation, and wiring methods that are not directly
related to the connection procedures. It also does not describe the function or operation of
the equipment. Please refer to the instruction manual or contact the equipment manufacturer.
Note
From among the above applicable devices, this document uses the devices listed in section
5.2 for the connection check. When using devices that are not described in section 5.2, check
the connection according to this document.
Precautions for Correct Use
The connection and connection check procedures described in this document use the
devices listed in section 5.2, from among the above applicable devices.
You cannot use devices with versions earlier than the versions listed in section 5.2.
To use models that are not listed in section 5.2. or versions that are later than those listed in
section 5.2., check the differences in the specifications according to their instruction manuals
before operating the devices.

5. Overview
7
5. Overview
This document describes the procedures for connecting the Industrial Handheld DPM Reader
products (V460-H Series) to an NX Series Machine Automation Controller (hereinafter
referred to as the controller) via EtherNet/IP and for checking their connections.
Refer to Section 6. EtherNet/IP Settings and Section 7. EtherNet/IP Connection Procedure to
understand setting methods and key points to operate EtherNet/IP tag data links.
Note
The settings described in 7.3. Controller Setup are already made in advance in the Sysmac
Studio project file (hereinafter referred to as “project file”) listed below. For how to use this
project file, refer to 9. Appendices How to Use the Project File. Obtain the latest version of the
project file from OMRON Corporation.
Name Filename Version
Sysmac Studio Compact Project
File (Extension: csm2)
OMRON_V460_NX_EIP_V100.csm2
Ver. 1.00

5. Overview
8
5.1. Device Configuration
The system components required for reproducing the connection procedures described in this
document are as follows.
Manufacturer
Name
Model
Version
OMRON
NX Series CPU Unit
(Built-in EtherNet/IP Port)
NX1P2-9024DT
Ver. 1.16
OMRON
Power Supply Unit
NJ-PA3001
---
OMRON
Switching hub
W4S1-05C
---
OMRON
Sysmac Studio
SYSMAC-SE2
Ver. 1.28
OMRON
Sysmac Studio Project File
OMRON_V460_NX_EIP_
V100.csm2
Ver. 1.00
---
PC (OS: Windows 10)
---
---
OMRON
Ethernet cable
V430-WE-3M
---
---
LAN cable (Standard Ethernet cable)
---
---
OMRON Code reader V460-H0PX Ver. 1.0
---
Single port PoE injector 98-9000311-01 ---
---
24 VDC power supply
---
---
PoE hub
LAN cable
Switching
hub
W4S1-05C
LAN cable
PC
(Sysmac Studio
installed, OS:
Windows 10)
24 VDC power supply
NX1P2-9024DT
(Built-in EtherNet/IP Port)
Ethernet cable
V430-WE-3M
PoE hub
V460-H0PX

5. Overview
9
Precautions for Correct Use
Ensure that the Sysmac Studio is updated to the version specified in this documentation, or
to a higher version.
If you use versions other than the versions specified in this section, there may be differences
in the procedures in Section 7 and later. In that case, refer to the Sysmac Studio Version 1
Operation Manual (Cat. No. W504) to perform the equivalent procedures.
Note
Refer to the Industrial Switching Hub W4S1 Series User Manual (0969584-7) for power
supply specifications that can be used for 24 VDC power supply (for the switching hub).

6. EtherNet/IP Settings
10
6. EtherNet/IP Settings
This section shows the specifications of the parameters, global variables, tag sets, and tag
data link table that you set in this document.
In subsequent sections, the code reader may also be referred to as “target device” depending
on the description.
6.1. Parameters
The parameters that you set in this document are shown below.
6.1.1. EtherNet/IP Communication Settings
The parameters used for connecting the controller and the code reader via EtherNet/IP are as
follows.
Parameter name Controller Code reader
Ethernet --- Enabled
IP address
192.168.188.1
192.168.188.2
Subnet mask 255.255.0.0 255.255.0.0 (default)
Gateway --- 0.0.0.0 (default), any value
IP Address Mode
---
Fixed
EtherNet/IP --- Enabled
---
Keep Alive
Enabled (default)
* For the use cases in this document, setting the gateway is unnecessary because the devices
are connected within the same segment of the network.
Set the code reader’s gateway setting to any value. It must not be left blank.
6.1.2. About the Code Reader Assemblies
The code reader has six types of Input Assemblies and two types of Output Assemblies, and
one type can be selected for each.
The data structure changes based on the selected assembly.
Assembly Type Assembly Name Assembly Number
Input Assembly Small Input Assembly 100
Input Assembly
Large Input Assembly
101
Input Assembly MXL/SLC Input Assembly 102
Input Assembly
1 Decode Input Assembly
103
Input Assembly
4 Decode Input Assembly
104
Input Assembly N Decode Input Assembly 105
Output Assembly
Output Assembly
197
Output Assembly Output Assembly (Legacy) 198
For a detailed explanation of memory allocation and the data structure of each assembly, refer
to Appendices A-2 EtherNet/IP Specifications in the V460-H Industrial Handheld DPM Reader
Communication Manual (Cat. No. Z462).

6. EtherNet/IP Settings
11
6.2. Data Types to Use for Tag Data Links
This section describes an example of using data types for the code reader’s tag data link data.
<Input and Output Assemblies>
• Input Assembly: 1 Decode Input Assembly (103)
• Output Assembly: Output Assembly (197)
6.2.1. Output Area
The Output Area is an area where you can send commands to the code reader, such as
trigger input commands and commands for registering Match strings.
■ Definition of Output Area access data types (structure)
Data types for accessing the Output Area.
Name of data type Data type Code reader data
S_EIPOutput197
STRUCT
---
COMMANDS
COMMAND
Control signal (32 bits)
■ Definition of control signal area access data types (structure)
Data types for accessing the control signal area.
Name of data type Data type Code reader data
COMMAND ARRAY[0..31]
OF BOOL
---
Run_Mode BOOL Run Mode
Trigger BOOL Trigger
Enable_MatchCode BOOL Enable MatchCode
Omitted
Reserved
ARRAY[0..21]
OF BOOL
Reserved for future use

6. EtherNet/IP Settings
12
6.2.2. Input Area
The Input Area is an area where you can check the control status and output character strings
of the code reader, such as Accept Trigger confirmation and Read OK/NG results.
■ Definition of Input Area access data types (structure)
Data types for accessing the Input Area.
Name of data type
Data type
Code reader data
S_EIPInput103
STRUCT
---
RESERVED1
BYTE
Reserved for future use
RESERVED2 BYTE Reserved for future use
RESERVED3 BYTE Reserved for future use
RESERVED4
BYTE
Reserved for future use
DEVICE_STATUS Device_Status Status Signal (32 bits)
FAULT CODE DINT Error code
COUNTERS ARRAY[0..5]
OF DINT Read Count Information
READ_CYCLE_REPORT ARRAY[0..3]
OF INT Read Cycle Report
DECODE_CYCLE_REPORT ARRAY[0..3]
OF DINT Decode Cycle Report
CODE_TYPE DINT Read Symbol Type
PIXELS_PER_ELEMENT REAL Read Symbol PPE Size
DECODE_LENGTH DINT Decoded String Length
DECODE_DATA ARRAY[0..435]
OF BYTE Decoded String
■ Definition of Status Signal area access data types (structure)
Data types for accessing the Status Signal area.
Name of data type
Data type
Code reader data
Device_Status ARRAY[0.31]
OF BOOL
---
Run_Mode BOOL Run Mode
Trigger_Acknowledge BOOL Accept trigger
Exposure_Done BOOL Exposure Done
Omitted
Reserved3
BOOL
Reserved for future use
Buffer_Overflow BOOL Buffer Overflow
Reserved4 ARRAY[0..9]
OF BOOL
Reserved for future use
Note
Please refer to Appendices A-2 EtherNet/IP Specifications in the V460-H Industrial Handheld
DPM Reader Communication Manual (Cat. No. Z462) for a description of how to use each
bit.

6. EtherNet/IP Settings
13
6.3. Global Variables
The controller treats the data in tag data links as global variables. The settings for global
variables are shown below.
The global variables below are set in the “project file”.
Variable Network Publish Data type Application
EIPOutput Out S_EIPOutput197
For data links to the Output Area
EIPInput In S_EIPInput103 For data links to the Input Area
■ EIPOutput Structure
Code reader data
Variable name
Data type
Control signal (32 bits) EIPOutput.COMMANDS*1 BOOL[32]
*1. Control Signal Assignment
Variable: EIPOutput.COMMANDS Assignment
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Trigger
Run_
Mode
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Trigger: Execute Read Bit: When ON, Read is executed.
Run_Mode: When ON, Trigger can be accepted and Read Cycle is enabled.

6. EtherNet/IP Settings
14
■ EIPInput Structure
Code reader data Variable name Data type
Reserved for future use
EIPInput.RESERVED1
BYTE
Reserved for future use EIPInput.RESERVED2 BYTE
Reserved for future use
EIPInput.RESERVED3
BYTE
Reserved for future use
EIPInput.RESERVED4
BYTE
Status Signal (32 bits) EIPInput.DEVICE_STATUS*1 BOOL[32]
Error code
EIPInput. FAULT_CODE
DINT
Read Count Information
EIPInput. COUNTERS DINT[6]
Read Cycle Report EIPInput. READ_CYCLE_REPORT INT[4]
Decode Cycle Report EIPInput. DECODE_CYCLE_REPORT INT[4]
Read Symbol Type EIPInput. CODE_TYPE DINT
Read Symbol PPE EIPInput.PIXELS_PER_ELEMENT REAL
Decoded String Length EIPInput. DECODE_LENGTH DINT
Decoded String EIPInput DecodeData BYTE[436]
*1. Control Signal Assignment
Variable: EIPInput.Device_status Assignment
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Data is
Ready
Decoding
Trigger
Acknowledge
Run_
Mode
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Run_Mode: ON when in Read Cycle
Trigger Acknowledge: ON when Output Assembly Trigger Bit is received
Decoding: ON while image is being processed
Data_is_Ready: ON when Data Output and Judgment are verified
Precautions for Correct Use
If the data size of the code reader’s tag data link data is an odd number of bytes, declare it as
BYTE instead of BOOL.
Note
The Sysmac Studio has two input methods to specify an array for a data type. If an array is
specified in (1), it is converted to (2) after input, and the data type is always displayed in (2).
(1) BOOL[16] and (2) ARRAY[0..15] OF BOOL
In this document, the data type is described in BOOL[16] for simplicity.
(The example above means a BOOL data type with sixteen array elements.)

6. EtherNet/IP Settings
15
6.4. Tag Set
The settings of a tag set to use tag data links are shown below.
Set the data in the tag set in ascending order of the OUT No. or IN No. as shown below.
■ Output Area (Controller → Code Reader)
Originator Variable (Tag set name) Data size (bytes)
EIPOutput 4
OUT No. Global Variable Name (Tag name) Data size (bytes)
1 EIPOutput 4
■ Input Area (Controller ← Code Reader)
Originator Variable (Tag set name) Data size (bytes)
EIPInput 500
IN No. Global Variable Name (Tag name) Data size (bytes)
1 EIPInput 500
6.5. Tag Data Link Table
The contents of the tag data link table (connection settings) are shown below.
The values shown in the red frames are the values defined in the EDS file of the code reader.
Connection Name
Connection I/O Type
RPI (ms)
Timeout
default_001
Input 1 Decode
10.0
RPI x 32
Connection
I/O Type
Input/
Output
Target
Variable
Size
(bytes)
Originator Variable
(Tag set name)
Size
(bytes)
Connection
Type
Input 1
Decode
In 103 500 EIPInput 500
Point to
Point
connection
Out 197 4 EIPOutput 4
Point to
Point
connection

7. EtherNet/IP Connection Procedure
16
7. EtherNet/IP Connection Procedure
This section describes the procedures for connecting the code reader and controller on an
EtherNet/IP network.
In this document, it is assumed that the controller and the code reader use the factory default
settings. For how to initialize the devices, refer to Section 8. Initializing the System.
7.1. Operation Flow
The procedures for setting up the EtherNet/IP tag data links are as follows.
7.2. Code Reader Setup
Set up the code reader.
▼
7.2.1. Setting the Parameters
Set the parameters for the code reader.
7.3. Controller Setup
Set up the controller.
▼
7.3.1. Setting the IP Address
Start the Sysmac Studio and set the IP address of
the controller.
▼
7.3.2. Installing the EDS File
Install the EDS file required for EtherNet/IP
communications with the code reader.
▼
7.3.3. Registering the Target Device Register the target device.
▼
7.3.4. Setting the Global Variables
Set the global variables to use for the tag data
links.
▼
7.3.5. Registering the Tags Register the tags and tag sets.
▼
7.3.6. Setting Up the Connections
Set the target variables and the originator
variables to add connections, and then set up the
connections.
▼
7.3.7. Transferring the Project Data
Place the Sysmac Studio online and transfer the
connection settings and project data to the
controller.
7.4. Checking the EtherNet/
IP Communications
Check that the EtherNet/IP tag data links are
operating normally.
▼
7.4.1. Checking the Connection Status
Check the EtherNet/IP connection status.
▼
7.4.2. Checking the Sent and
Received Data Check that the correct data is sent and received.

7. EtherNet/IP Connection Procedure
17
7.2. Code Reader Setup
Set up the code reader.
7.2.1. Setting the Parameters
Set the parameters for the code reader.
Set the IP address of your PC to 192.168.188.100 and its subnet mask to 255.255.0.0.
1
Connect the cord reader and the
switching hub to the PoE injector
with cables.
2
Connect the PC to the switching
hub with a LAN cable.
Connect 24 VDC power supply
(for the switching hub) to the
switching hub.
24 VDC power supply
3
Set the IP Address of the PC.
For the IP address, enter
192.168.188.100. For the
subnet mask, enter
255.255.255.0.
For the procedure to open the
screen on the right, please refer
to step 4.
PoE injector
Switching
hub
W4S1-05C
V460-H0PX
Ethernet cable
LAN cable
LAN cable

7. EtherNet/IP Connection Procedure
18
4
Static connection (Setting the fixed IP address)
(1) From the Windows Start Menu, select Control Panel – Network and Internet – Network
and Sharing Center.
(2) Click on Local Area Connection. The Local Area Connection Status Dialog Box is
displayed. Click Properties.
(3) In the Local Area Connection Properties Dialog Box, select Internet Protocol Version 4
(TCP/IPv4), and click the Properties Button. Set the IP Address of the PC to
192.168.188.100.
(4) Click the OK Button.
5
Start your browser and enter
http://192.168.188.2.
“Google Chrome” is the
recommended browser.
6
When the WebLinkHH startup
screen is displayed, go to step 8.
If the WebLInkHH startup screen
does not appear, go to step 7
7
If the WebLink
HH
startup screen does not appear, it means that communications are not
established between the code reader and the PC. Please check the following.
• Does the code reader and the PC have a proper physical (cable) connection?
• Are the IP Addresses of the PC and code reader set correctly?
→ Refer to step 4 for setting the IP address of the PC.
For other measures that can be taken, please refer to When unable to access by WebLinkHH
in Q&A in Appendices of the V460-H Industrial Handheld DPM Reader User Manual (Cat. No.
Z461).
8
The WebLinkHH screen appears.

7. EtherNet/IP Connection Procedure
19
9
Click on the gear icon on the
upper right of the screen and
select Advanced.
10
The Advanced Settings Screen
appears.
Check the settings shown in the
red frames.
EtherNet/IP connection is
Enabled by default.
However, to connect with the CJ
Series, change the subnet mask
to 255.255.255.0.
If you need to change the IP
address, for example when
connecting multiple code
readers, change the IP Address
and subsequent settings as
necessary.
11
Click on the icon shown in the
red frame to save the settings to
the code reader.
Other manuals for V460-H
4
Table of contents
Other Omron Industrial Equipment manuals

Omron
Omron V680S Series User manual

Omron
Omron S8PE-J User manual

Omron
Omron sysmac FH Series User guide

Omron
Omron AnyFeeder Series Quick setup guide

Omron
Omron V330-F Series Instruction Manual

Omron
Omron MX-Z2000H-V1 Series User manual

Omron
Omron V460-H Use and care manual

Omron
Omron F3SG-RA User manual

Omron
Omron FH-5550 User guide

Omron
Omron SYSMAC FH Series User manual