Sysmac Omron NX Series Instruction Manual

Z441-E-01
Machine Automation Controller
NX Series
EtherNet/IPTM Connection Guide
Smart camera
F430-F Series

About Copyrights and Trademarks
Screen shots of elements of Microsoft products are used with permission from Microsoft
Corporation.
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 ................................................................................ 10
6.1. Parameters .......................................................................................... 10
6.2. Data Types to Use for Tag Data Links................................................. 10
6.3. Global Variables .................................................................................. 12
6.4. Tag Set ................................................................................................ 16
6.5. Tag Data Link Table ............................................................................ 16
7. EtherNet/IP Connection Procedure........................................................ 17
7.1. Operation Flow .................................................................................... 17
7.2. Smart Camera Setup........................................................................... 18
7.3. Controller Setup................................................................................... 23
7.4. Confirm EtherNet/IP Communications................................................. 43
8. Initializing the System............................................................................. 46
8.1. Initializing the Controller ...................................................................... 47
8.2. Initializing the Smart camera ............................................................... 47
9. Appendices: How to Use the Project File.............................................. 48
9.1. Operation Flow .................................................................................... 48
9.2. Controller Setup................................................................................... 49
10. Revision History ...................................................................................... 51

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:
Manual No. Model Manual Name
W535 NX Series NX Series CPU Unit User's Hardware 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
NJ/NX Series Instructions Reference Manual
Z433
F430-F Series
Smart Camera F430-F Series User Manual
Z444
F430-F Series
Smart Camera F430-F Series User Manual for
Communications Settings

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 network variable specified in "Tag" and the
partner device network variable or the specified I/O memory area.
Tag Set When a connection is established, from 1 to 8 tags (including Controller
status) is 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. A Tag data link is established by connecting individual tag
sets. A Tag set name must be given to each tag set.
Tag Data Link The Implicit communication of the EtherNet/IP standard is called a Tag
Data Link. A Tag data link is a function to exchange data for each tag
cyclically between controllers or between a controller and other device
type on an EtherNet/IP network.
Connection A connection is a unit of data exchange that ensures data
synchronization.
Connection type
You can select a multi-cast connection or unicast (point-to-point)
connection as the connection type in the tag data link connection
settings. The multi-cast connection sends an output tag set in one
packet to more than one node. The unicast connection separately sends
one output tag set to each node. Therefore, multi-cast connections can
decrease the communications load if one output tag set is sent to
multiple nodes.
Originator and
Target
In order to perform tag data linking, it is necessary to first establish a
connection between the nodes that perform tag data linking. The node
that requests the 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 setting", "tag set setting" and "connection
setting" 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 an EtherNet/IP device.

5
3. Restrictions and Precautions
(1) Understand the specifications of devices which are used in the system. Allow some
margin for ratings and performance.
(2) Provide safety measures, such as installing a safety circuit, in order to ensure safety and
minimize the risk of abnormal occurrence.
(3) 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 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 January 2020.
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 to avoid doing to ensure proper operation and
performance.
Note
Additional information to read as required.
This information is provided to increase understanding and make operation easier.
Symbols
● This 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.

6
4. Overview
This document describes the procedures for connecting the Omron Smart Camera product
(F430-F Series) to the NX Series Machine Automation Controller (hereinafter referred to as
Controller) via EtherNet/IP), and for verifying 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
Settings described in 7.3. Controller Setup are made in advance in the Sysmac Studio project
file (hereinafter referred to as project file) listed below. For how to use this project file, see "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: SMC2)
OMRON_F430_NX_EIP_V100.
SMC2
Ver.1.00

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
higher
version as
indicated in
section 5.2.
OMRON Smart camera F430-F□□□□□□□-□□□
Note
This document describes the procedure for establishing the communication connection of the
device, and does not describe the operation, installation and wiring method of the device.
For detailed information on the above products (other than communication connection
procedure), please refer to the instruction manual of the product or contact OMRON.
Note
In this document, from among the above target devices, connection confirmation is
performed using the devices listed in section 5.2. When using a device that is not described
in section 5.2. Among the above target devices, check the connection referring to the
contents of this document.
Precautions for Correct Use
In this document, the devices with models and versions listed in section 5.2.
You cannot use devices with versions lower than the versions listed in section 5.2.
To use the above devices with models not listed in 5.2. or versions higher than those listed in
5.2., check the differences in the specifications by referring to the manuals before operating
the devices.

8
5.2. 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
Switching hub
W4S1-05C
OMRON
Sysmac Studio
SYSMAC-SE2□□□
Ver.1.29
OMRON
Sysmac Studio Project File
OMRON_F430_NX_EIP_
V100.csm2
Ver.1.00
Computer (OS: Windows 10)
LAN cable (STP (shielded,
twisted-
pair) cable of Ethernet
category 5 or higher)
OMRON
Smart camera
F430-F000M12M
Ver.5.2.0
OMRON
I/O cable
V430-W8-3M
OMRON
Ethernet cable
V430-WE-3M
-
DC24V Power supply (Smart
camera)
-
LAN cable
NX1P2-9024DT
(Built-in EtherNet/IP Port)
Switching
hub
W4S1-05C
PC/
(Windows 10, with Sysmac
Studio installed OS: Windows
10)
Ethernet cable
V430-WE-3M
F430-F000M12M
I/O cable
V430-W8-3M
DC24V
DC24V

9
Precautions for Correct Use
Ensure that Sysmac Studio is updated to at least 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 chapter 7 and after. In that case, use the equivalent procedures
described in this document by referring to the Sysmac Studio Version 1 Operation Manual
(Cat. No. W504).
Note
Refer to "Industrial Switching Hub W4S1 Series User Manual" (0969584-7) for power supply
specifications that can be used for 24 VDC power supply (for switching hub).
Note
Refer to the "Smart Camera F430-F Series User Manual" (Z433
) for the power supply
specifications that can be used for DC24V power supply (for Smart camera).

10
6. EtherNet/IP Settings
The specifications for the parameters, global variables, tag sets, and tag data link table are
shown.
In subsequent chapters, the smart camera may also be referred to as the "Partner device",
depending on the description.
6.1. Parameters
The parameters that are set in this document are shown below.
6.1.1. EtherNet/IP Communication Settings
The parameters used for connecting the controller and smart camera via EtherNet/IP are as
follows.
Setting item Controller Smart camera
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: As needed)
IP Address Mode - Fixed
EtherNet/IP - Enabled
KeepAlive 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 Smart camera gateway setting to any value other than blank.
6.2. Data Types to Use for Tag Data Links
For the data of the tag data link of the smart camera, an example of using the data type is
described.
■ Define the Data type (common format) for signal access.
Data type for handling control signals and status signals.
Data type name Data type
U_EIPFlag16
STRUCT
F
BOOL[16]
W
WORD
U_EIPFlag32
STRUCT
F
BOOL[32]
W
DWORD
■ Data type definition (structure) for Command Area access
Data type for accessing the Command Area.

11
Data type name Data type Smart camera data
S_EIPOutput
STRUCT
-
CONTROL
U_EIPFlag16
Control signal (16bit)
ECHO
WORD
Echo
CmdCode
DWORD
Command code
CmdArg
DWORD
Command parameters
reserved1
U_EIPFlag32
Reserved for future use
VIO
U_EIPFlag16
Virtual IO
reserved2
U_EIPFlag16
Reserved for future use
bool_val
BOOL[64]
Global Data Service (GDS
*
1) bool101 to
bool164
int_val
INT[10]
GDS int101 to int110
long_val
DINT[10]
GDS long101 to long110
float_val
REAL[10]
GDS float101 to float110
string101_length
DINT
GDS string101 String length
string101
STRING[92]
GDS string101
string102_length
DINT
GDS string102 String length
string102
STRING[28]
GDS string102
string103_length
DINT
GDS string103 String length
string103
STRING[28]
GDS string103
string104_length
DINT
GDS string104 String length
string104
STRING[28]
GDS string104
*1: For more detailed GDS information, please click on the [Omron Microscan] link that can
be found in the Help menu of the AutoVision software.
■ Data type definition (Structure) for Response / Output Area access
Data type for accessing the Response / Output Area.
Data type name
Data type
Smart camera data
S_EIPIntput
STRUCT
-
STATUS
U_EIPFlag16
Control signal (16bit)
ECHO
WORD
Echo
CmdCodeRslt
DWORD
The result of executing CmdCode
CmdRet
DWORD
Value returned for CmdCode
reserved1
U_EIPFlag16
Reserved for future use
State
U_EIPFlag16
State
VIO
U_EIPFlag16
Virtual IO
reserved2
U_EIPFlag16
Reserved for future use
bool_val
BOOL[64]
GDS bool1 to bool64
int_val
INT[10]
GDS int1 to int10
long_val
DINT[10]
GDS long1 to long10
float_val
REAL[10]
GDS float1 to float10

12
string1_length
DINT
GDS string1 String length
string1
STRING[92]
GDS string1
string2_length
DINT
GDS string2 String length
string2
STRING[28]
GDS string2
string3_length
DINT
GDS string3 String length
string3
STRING[28]
GDS string3
string4_length
DINT
GDS string4 String length
string4
STRING[28]
GDS string4
Note
For a description of how to use each bit, see "Chapter 2 Using EtherNet/IP" in "Smart
Camera F430-F Series AutoVISION Industrial Protocol Manual" (SDNC-752).
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 variable below is set to "Project file".
Variable
Network Publish
Data type
Usage
EIPOutput Output S_EIPOutput For Output Area data links
EIPInput Input S_EIPInput For Input Area data links
■ EIPOutput Structure
Smart camera data Variable name Data type
Control signal (32bit)
U_EIPFlag16
EIPOutput.CONTROL.F BOOL[16]
EIPOutput.CONTROL.W DWORD
Echo EIPOutput.ECHO WORD
Command code
EIPOutput.CmdCode
DWORD
Command parameters EIPOutput.CmdArg DWORD
Reserved for future use EIPOutput.reserved1 U_EIPFlag32
Virtual IO
EIPOutput.VIO
U_EIPFlag16
Reserved for future use EIPOutput.reserved2 U_EIPFlag16
Global Data Service
(GDS*1) bool101 to
bool164
EIPOutput.bool_val
BOOL[64]
GDS int101 to int110 EIPOutput.int_val INT[10]
GDS long101 to
long110
EIPOutput.long_val DINT[10]
GDS float101 to
float110 EIPOutput.float_val REAL[10]

13
GDS string101 String
length EIPOutput.string101_length DINT
GDS string101
EIPOutput.string101
STRING[92]
GDS string102 String
length EIPOutput.string102_length DINT
GDS string102 EIPOutput.string102 STRING[28]
GDS string103 String
length EIPOutput.string103_length DINT
GDS string103 EIPOutput.string103 STRING[28]
GDS string104 String
length EIPOutput.string104_length DINT
GDS string104 EIPOutput.string104 STRING[28]
*1: Control Signal Assignment
Variable: The EIPOutput.CONTROL assignment
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RESET
DATA
VALID
TRIGG
ER
EXE
CMD RESET
COUNT
RESET
ERR
GO
OFFLIN
E
GO
ONLIN
E
Name Description
GO ONLINE Starts all executed Inspections
GO OFFLINE Stops all inspections
RESET ERROR
Reset Status Register ERROR
RESET COUNT Resets the Count for all inspections
EXE CMD Executes the command specified by Control.cmdCode
TRIGGER Triggered inspection. The inspection is performed on the images
acquired by the trigger.
RESET DATA VALID Reset the Valid Status Register Data
■ EIPInput Structure
*1: Control Signal Assignment
Variable: EIPInput. STATUS assignment
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
VALID
INSP
STAT
INSP
BUSY
TRIGG
ER
ACK
EXE
CMD
ACK
RESET
COUNT
ACK
ERROR
TRIGG
ER
READY
ACQ
BUSY
EXP
BUSY
ONLIN
E
Name
Description
ONLINE The inspection is being executed.
EXP BUSY The camera is busy capturing images. Make sure the camera is
not triggered and the object under inspection is not moved during
this time.

14
ACQ BUSY The camera is busy acquiring images. A trigger cannot be
received while the camera is in the Busy state.
TRIGGER READY The camera is ready to receive a trigger. This is equivalent to
ONLINE == 1 and ACQBUSY == 0.
ERROR An error occurred.
Clear the RESET ERROR control bit by setting it to High.
RESET COUNT ACK This bit mirrors the RESET COUNT control bit.
The PLC can confirm that the camera has received a reset
command when this goes High.
The PLC can then return the RESET COUNT control signal to
Low.
EXE CMD ACK This bit mirrors the EXE CMD control bit.
This bit mirrors the TRIGGER control bit.
TRIGGER ACK This bit mirrors the TRIGGER control bit.
INSP BUSY When Inspection 1 is processing an image, this bit is High.
INSP STAT This bit indicates the Result Status of Inspection 1.
If the inspection passed, it will be 1. It is valid only when DataValid
becomes High.
DATA VALID When Inspection 1 completes, this bit becomes High.
The PLC should set RESET DV to High to clear this signal when a
Read result is available.
Note
For more detailed information on Commands and their Responses, please refer to "Chapter 2
Using EtherNet/IP" in "Smart Camera F430-F Series AutoVISION Industrial Protocol Manual"
(SDNC-752).
Precautions for Correct Use
If the number of bytes of data for the smart camera Tag data link is an odd byte number,
declare it as BYTE type instead of declaring it as BOOL type.
Note
With Sysmac Studio, two methods can be used to specify an array for a data type. After
specifying, (1) is converted to (2), and the data type is always displayed as (2).
①BOOL[16] /②ARRAY[0..15] OF BOOL
In this document, the data type is simplified by displaying BOOL[16].
(The example above means a BOOL data type with sixteen array elements.)

15

16
6.4. Tag Set
The Tag set settings to perform Tag data links is shown below.
The data within the Tag set is in ascending order with the following OUT No. and IN No.
■ Output Area (Controller → Smart Camera)
Originator Variable (Tag set name) Data size (byte)
EIPOutput 320
OUT No. Global Variable Name (Tag
Name) Data size (byte)
1 EIPOutput 320
■ Input Area (Smart Camera → Controller)
Originator Variable (Tag set name)
Data size (byte)
EIPInput 320
IN No. Global Variable Name (Tag
Name) Data size (byte)
1 EIPInput 320
6.5. Tag Data Link Table
The content of tag data link table settings (connection settings) is shown below.
The values shown in the red frame are those values defined in the EDS file of the smart
camera.
Connection name
Connection I/O Type
RPI (ms)
Timeout
default_001 IO320 50.0 RPI x 4
Connection
I/O Type
Input /
Output
Target Variable
Size
(Byte)
Originator Variable
(Tag set name)
Size
(Byte)
Connection
type
IO320
Input 102 320 EIPInput 320
Point to
Point
connection
Output 114 320 EIPOutput 320
Point to
Point
connection

17
7. EtherNet/IP Connection Procedure
This section describes the procedures for connecting the Smart camera and Controller on an
EtherNet/IP network.
The explanations of procedures for setting up the Controller and smart camera given in this
document are based on the use of the factory default settings. For the initialization, refer to
Section 8. Initialization Method.
7.1. Operation Flow
The procedures for setting up the EtherNet/IP Tag data links are as follows.
7.2. Smart Camera Setup
Set up the Smart camera.
▼
7.2.1. Install the (AutoVision) software
Install the (AutoVision) software application used
for setting up the Smart camera.
▼
7.2.2. Set Parameters
Set the parameters for the Smart camera.
▽
7.3. Controller Setup
Set up the Controller.
▼
7.3.1. Set IP Address
Launch Sysmac Studio and set the IP address of
the controller.
▼
7.3.2. Target Device Registration Register the target device.
▼
7.3.3. Set the Global Variables Set the global variables to use for Tag data links.
▼
7.3.4. Tag Registration
Register the Tags and Tag Sets.
▼
7.3.5. Set the connections
Set the target variables and the originator
variables, and then set the connections.
▼
7.3.6. Transfer the Project Data
Connect online and transfer the connection
settings and the project data to the Controller.
▽
7.4. Confirm EtherNet/IP
Communications Confirm that the EtherNet/IP
tag data links
operate normally.
▼
7.4.1. Check the Connection Status
Confirm that the EtherNet/IP Tag data links
operate normally.
▼
7.4.2. Check the Sent and Received
Data Check that the correct data is sent and received.

18
7.2. Smart Camera Setup
Setting up the Smart camera.
7.2.1. Install the (AutoVision) software
Install the (AutoVision) software application used for setting up the Smart camera. For more
details on installing the AutoVision software, please refer to the “AutoVISION Quick Start
Guide” (Z434).
7.2.2. Set Parameters
Set the parameters for the Smart camera.
Set the IP address of your computer to "192.168.188.100" and its subnet mask to
"255.255.0.0".
1
Connect the [Ethernet
connector] of the smart camera
to the switching hub with the
[Ethernet cable].
Connect the [I/O cable] to [I/O
connector] and turn on the
24VDC power supply.
*This document is only for
verification of the power
supply wiring of the I/O cable
connection. Be careful not to
short-circuit any other wires.
*Ground the shielded wire as
needed. For more information
on Grounding, please refer to
the "Smart Camera F430-F
Series User Manual” (Z433) -
"2-7 Grounding and Power"
2
Connect the computer to the
switching hub with the LAN
cable.
Connect 24 VDC power supply
(for Switching hub) to Switching
hub.
DC24V Power supply
DC24V
Power
I/O
Connector
Switching
hub
Ethernet
Connector
I/O cable
V430-W8-3M
Ethernet cable
V430-WE-3M
LAN Cable

19
3
Set the IP Address of the
computer.
For the IP address,
“192.168.188.100”,
set the subnet mask to
"255.255.0.0".
For the procedure to open the
screen on the right,
please refer to Step 4 below.
4
Static connection (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
Launch the AutoVision software.
This manual suits for next models
1
Table of contents