Omron V330-F Series Instruction Manual

Machine Automation Controller NX-series
EtherNet/IPTM Connection Guide
OMRON Corporation
Auto Focus Multi Code Reader
V330-F / V430-F-series
Z420-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/IPTM 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. Overview .................................................................................................... 6
5. Applicable Devices and Device Configuration ....................................... 7
5.1. Applicable Devices ................................................................................ 7
5.2. Device Configuration ............................................................................. 8
6. EtherNet/IP Settings ................................................................................ 11
6.1. Parameters .......................................................................................... 11
6.2. Data Types to Use for Tag Data Links................................................. 12
6.3. Global Variables .................................................................................. 14
6.4. Tag Set ................................................................................................ 17
6.5. Tag Data Link Table ............................................................................ 17
7. EtherNet/IP Connection Procedure........................................................ 18
7.1. Operation Flow .................................................................................... 18
7.2. Code Reader Setup............................................................................. 19
7.3. Controller Setup................................................................................... 24
7.4. Checking the EtherNet/IP Communications......................................... 44
8. Initializing the System............................................................................. 48
8.1. Initializing the Controller ...................................................................... 48
8.2. Initializing the Code Reader................................................................. 48
9. Appendices How to Use the Project File ............................................... 49
9.1. Operation Flow .................................................................................... 49
9.2. Controller Setup................................................................................... 50
10. Revision History ...................................................................................... 52

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
Z432 V320-F/V330-F/V420-F/
V430-F Series
MicroHAWK V320-F/V330-F/V420-F/V430-F
Series Barcode Reader User Manual
Z407 V320-F/V330-F/V420-F/
V430-F Series
Autofocus Multicode Reader MicroHAWK V320-
F/V330-F/V420-F/V430-F Series User Manual
for Communication Settings

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 July 2022.
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. Overview
6
4. Overview
This document describes the procedures for connecting the OMRON code reader products
(V330-F/V430-F 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_V330_NX_EIP_V100.
csm2
Ver. 1.00
Sysmac Studio Compact Project
File (Extension: csm2)
OMRON_V430_NX_EIP_V101.
csm2
Ver. 1.01

5. Applicable Devices and Device Configuration
7
5. Applicable Devices and Device Configuration
5.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 V330-F□□□□□□□-□□□
V430-F□□□□□□□-□□□
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. Applicable Devices and Device Configuration
8
5.2. Device Configuration
The system components required for reproducing the connection procedures described in this
document are as follows.
• Configuration with V330-F
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_V330_NX_EIP_
V100.csm2
Ver. 1.00
---
PC (OS: Windows 10)
---
---
LAN cable (STP (shielded, twisted-
pair) cable of Ethernet category 5
or higher)
OMRON
Code reader
V330-F064N12M-NNX
Ver. 2.1.0
OMRON
Power over Ethernet (PoE) single
port injector
Select one that can be
powered via Ethernet.
---
---
24 VDC power supply
---
PC
(Windows 10,
with Sysmac
Studio installed)
LAN cable
(Connect to
input side)
LAN cable
Switching hub
W4S1-05C
24 VDC power supply
V330-F064N12M-NNX
LAN cable
(Connect to output side)
PoE injector
NX1P2-9024DT
(Built-in EtherNet/IP Port)

5. Applicable Devices and Device Configuration
9
• Configuration with V430-F
Manufacturer
Name
Model
Version
OMRON
NX Series CPU Unit
(Built-in EtherNet/IP Port)
NX1P2-9024DT
Ver. 1.16
OMRON
Switching hub
W4S1-05C
OMRON
Sysmac Studio
SYSMAC-SE2□□□
Ver. 1.28
OMRON
Sysmac Studio Project File
OMRON_V430_NX_EIP_
V101.csm2
Ver. 1.00
PC (OS: Windows 10)
LAN cable (STP (shielded, twisted-
pair) cable of Ethernet category 5
or higher)
OMRON
Code reader
V430-F000M12M-SRX
Ver. 2.1.0
OMRON
I/O Cable
V430-W8-3M
OMRON
Ethernet cable
V430-WE-3M
---
24 VDC power supply
---
V430-F000M12M-SRX
I/O Cable
V430-W8-3M
24 VDC power supply
LAN cable
NX1P2-9024DT
(Built-in EtherNet/IP Port)
Switching hub
W4S1-05C
PC
(Windows 10,
with Sysmac
Studio installed)
Ethernet cable
V430-WE-3M
24 VDC power supply

5. Applicable Devices and Device Configuration
10
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 a version other than the version 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).
Note
Refer to the MicroHAWK V320-F/V330-F/V420-F/V430-F Series Barcode Reader User
Manual (Cat. No. Z432) for the power supply specifications that can be used for 24 VDC
power supply (for the code reader).

6. EtherNet/IP Settings
11
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.
* 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 Autofocus Multicode Reader MicroHAWK
V320-F/V330-F/V420-F/V430-F Series User Manual for Communication Settings (Cat. No.
Z407).
Parameter name Controller Code reader
Ethernet --- Enabled
IP address 192.168.188.200 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
KeepAlive Enabled (default) ---

6. EtherNet/IP Settings
12
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.
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
COMMAND ARRAY[0..3
1] OF BOOL
---
Run_Mode BOOL Run Mode
Trigger BOOL Trigger
Enable_MatchCode BOOL Enable MatchCode
Omitted
Output_2 BOOL Output 2
Output_3 BOOL Output 3
Reserved ARRAY[0..1
7] OF BOOL
Reserved for future use

6.EtherNet/IP Settings
13
*1. The original data type is defined as "SINT". In this document, it is defined as "BYTE" that can be
displayed in “ASCII” for readability when monitoring with the Watch Tab Page of Sysmac Studio.
■ Definition of Status Signal area access data types (structure)
Data types for accessing the Status Signal area.
Note
Please refer to Appendices A-2 EtherNet/IP Specifications in the Autofocus Multicode
Reader MicroHAWK V320-F/V330-F/V420-F/V430-F Series User Manual for Communication
Settings (Cat. No. Z407) for a description of how to use each bit.
Name of data type
Data type
Code reader data
S_EIPInput103 STRUCT
---
INFO_BITS BYTE INFO BIT
RESERVED1
BYTE
Reserved for future use
RESERVED2 BYTE Reserved for future use
RESERVED3BYTE 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 *1 Decoded String
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
Output3_Status
BOOL
Output3 Status
Buffer_Overflow
BOOL
Buffer Overflow
Reserved
ARRAY
[0..9] OF
BOOL
Reserved for future use

6. EtherNet/IP Settings
14
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_EIPInput102 For data links to the Input Area
■ EIPOutput Structure
*1. Control Signal Assignment
Variable: EIPOutput.COMMAND Assignment
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TRIG
RUN_
MODE
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TRIG: Execute Read Bit: When ON, Read is executed.
RUN MODE: When ON, Trigger can be accepted and Read Cycle is enabled.
Code reader data
Variable name
Data type
Control signal (32 bits) EIPOutput.COMMAND*1 BOOL[32]

6.EtherNet/IP Settings
15
■ EIPInput Structure
*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
DataIs
Ready
Deco
ding
Trigger
Acknow
ledge
Run
Mode
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RunMode: ON when in Read Cycle
Trigger Acknowledge: ON when Output Assembly Trigger Bit is received
Decoding: ON while image is being processed
DataIsReady: 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.
Code reader data
Variable name
Data type
INFO BIT EIPInput.INFO_BITS BYTE
Reserved for future use EIPInput. RESERVED1BYTE
Reserved for future use EIPInput. RESERVED2BYTE
Reserved for future use EIPInput. RESERVED3BYTE
Status Signal (32 bits) EIPInput.DEVICE_STATUS*1 BOOL[32]
Error code EIPInput. FAULT 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]

6. EtherNet/IP Settings
16
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
17
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)
■ Input Area (Controller ← Code reader)
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
Originator Variable (Tag set name)
Data size (bytes)
EIPOutput 4
OUT No. Global Variable Name (Tag name) Data size (bytes)
1
EIPOutput
4
Originator Variable (Tag set name) Data size (bytes)
EIPInput
500
IN No. Global Variable Name (Tag name) Data size (bytes)
1 EIPInput 500

7.EtherNet/IP Connection Procedure
18
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
▼
7.2.1. Setting the Parameters
7.3. Controller Setup
▼
7.3.1. Setting the IP Address
▼
7.3.2. Installing the EDS File
▼
7.3.3. Registering the Target Device
▼
7.3.4. Setting the Global Variables
▼
7.3.5. Registering the Tags
▼
7.3.6. Setting Up the Connections
▼
7.3.7. Transferring the Project Data
7.4. Checking the EtherNet/IP
Communications
▼
7.4.1. Checking the Connection Status
▼
7.4.2. Checking the Sent and
Received Data
Set up the code reader.
Set the parameters for the code reader.
Set up the controller.
Start the Sysmac Studio and set the IP address
of the controller.
Install the EDS file required for EtherNet/IP
communication with the code reader.
Register the target device.
Set the global variables to use for the tag data
links.
Register the tags and tag sets.
Set the target variables and the originator
variables to add connections, and then set up the
connections.
Place the Sysmac Studio online and transfer the
connection settings and project data to the
controller.
Check that the EtherNet/IP tag data links are
operating normally.
Check the EtherNet/IP connection status.
Check that the correct data is sent and received.

7. EtherNet/IP Connection Procedure
19
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
[Using V330-F]
Connect the cord reader and
the switching hub to the PoE
injector with a LAN cable.
[Using V430-F]
Connect the Ethernet connector
of the code reader to the
switching hub with the Ethernet
cable.
Connect the I/O cable to the I/O
connector and turn ON the 24
VDC power supply.
* In this document, only the
power supply wires of the I/O
cable are connected and
checked. Be careful not to
short-circuit any other wires.
* Ground the shield wire as
needed. For more information
on grounding, please refer to
Grounding in Appendices of
the MicroHAWK V320-F/V330-
F/V420-F/V430-F Series
Barcode Reader User Manual
(Cat. No. Z432).
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
LAN cable
Switching hub
W4S1-05C
LAN cable
LAN cable
V330-F064N12M
-NNX
PoE injector
I/O Cable
V430-W8-3M
24 VDC
power
supply
I/O
Connector
Switching
hub
Ethernet cable
V430-WE-3M
Ethernet
Connector
Other manuals for V330-F Series
3
This manual suits for next models
5
Table of contents
Other Omron Industrial Equipment manuals

Omron
Omron F3SG-RA User manual

Omron
Omron SYSMAC FH Series User manual

Omron
Omron V680S Series User manual

Omron
Omron FH-5550 User guide

Omron
Omron S82Y-TS01 User manual

Omron
Omron SYSMAC CS Series User manual

Omron
Omron S8PE-J User manual

Omron
Omron MX-Z2000H-V1 Series User manual

Omron
Omron V460-H Use and care manual

Omron
Omron V460-H Instruction Manual