Machine Automation Controller NJ-series
IO-Link Connection Guide
(EtherCAT(R) Host Communications)
Piab AB
Vacuum Ejector
(piCOMPACT ® 23 IO-Link)
[IO-Link Master Unit]
OMRON Corporation
NX-series IO-Link Master Unit
(NX-ILM[][][])
P671-E1-01
About Intellectual Property Rights and Trademarks
Microsoft product screen shots reprinted with permission from Microsoft Corporation.
Windows is a registered trademark of Microsoft Corporation in the USA and other countries.
EtherCAT(R) is registered trademark and patented technology, licensed by Beckhoff Automation
GmbH, Germany.
Sysmac is a trademark or registered trademark of OMRON Corporation in Japan and other
countries for OMRON factory automation products.
Company names and product names in this guide are the trademarks or registered trademarks
of their respective companies.
Table of Contents
1.
Related Manuals .......................................................................................... 1
2.
Terms and Definitions................................................................................. 2
3.
Precautions .................................................................................................. 3
4.
Overview ...................................................................................................... 4
5.
Applicable Devices and Device Configuration ........................................ 5
5.1. Applicable Devices .................................................................................. 5
5.2. Device Configuration ............................................................................... 6
6.
Communications Settings.......................................................................... 8
6.1. EtherCAT Connection Parameter ........................................................... 8
6.2. IO-Link Connection Parameter ............................................................... 8
6.3. Slave Terminal Configuration and Device Name .................................... 8
6.4. Device Variable ....................................................................................... 9
7.
IO-Link Connection Procedure .................................................................11
7.1. Work Flow ..............................................................................................11
7.2. Slave Terminal Setup ............................................................................ 13
7.3. Network Configuration for Host Communications................................. 16
7.4. IO-Link Master Unit Setup ..................................................................... 20
7.5. Controller Setup .................................................................................... 23
7.6. IO-Link Communication Status Check .................................................. 30
8.
Initialization method ................................................................................. 41
8.1. Initializing Controller .............................................................................. 41
8.2. Initializing Slave Terminal ...................................................................... 41
9.
Revision History ........................................................................................ 44
1.Related Manuals
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 table below lists the manuals provided by Piab AB (hereinafter referred to as Piab) and
OMRON Corporation (hereinafter referred to as OMRON), which pertain to this guide.
Manufacturer
OMRON
OMRON
OMRON
OMRON
Cat. No.
W500
W501
W505
W504
Model
Manual name
NJ501-[][][][]
NJ-series
NJ301-[][][][]
CPU Unit
NJ101-[][][][]
Hardware User's Manual
NJ501-[][][][]
NJ/NX-series
NJ301-[][][][]
CPU Unit
NJ101-[][][][]
Software User's Manual
NJ501-[][][][]
NJ/NX-series
NJ301-[][][][]
CPU Unit Built-in EtherCAT(R) Port
NJ101-[][][][]
User's Manual
SYSMAC-SE2[][][]
Sysmac Studio Version 1
Operation Manual
OMRON
W519
NX-ECC20[]
NX-series EtherCAT(R) Coupler Unit
User's Manual
OMRON
W567
NX-ILM[][][]
NX-series IO-Link Master Unit
User's Manual
OMRON
Piab
W570
0207381
NX-ILM[][][]
IO-Link System
GX-ILM[][][]
User's Manual
piCOMPACT23 IO-Link
piCOMPACT®23 IO-Link
device description
Piab
0207443
piCOMPACT23 IO-Link
MANUAL
piCOMPACT®23 IO-Link
1
2.Terms and Definitions
2. Terms and Definitions
Term
IO-Link device
Explanation and Definition
A device with a sensor or an actuator that can perform IO-Link
communications with an IO-Link master.
IO-Link master
A device that performs IO-Link communications with IO-Link devices in
an IO-Link System and that simultaneously functions as a slave for
host communications. “IO-Link Master Unit" is used to refer to a
specific Unit in this guide.
IO-Link Mode
A communication mode of an IO-Link master to perform IO-Link
communications with IO-Link devices.
Cyclic
communications
Communications that exchange data in a fixed period with no need for
I/O data
All target data in cyclic communications with a host.
programming.
IO-Link Systems contain the following two types of I/O data.
・Target data in cyclic communications with a host in an IO-Link master
・Target data in IO-Link devices for cyclic communications with an
IO-Link master
Process data
I/O data in IO-Link devices. You can allocate a maximum of 32 bytes of
process data in a master.
IODD file
A definition file for an IO-Link device. The parameter settings for an
IO-Link device can be made by installing this file in
CX-ConfiguratorFDT.
Slave unit
A generic name for a device that performs EtherCAT communications
with an EtherCAT master in an EtherCAT system. There are various
types of slaves such as servo drives that handle position data and I/O
terminals that handle bit signals.
Node address
A node address is an address to identify a unit connected to EtherCAT.
ESI file
An ESI file contains information unique to EtherCAT slave units in XML
format. You can load an ESI file into the Sysmac Studio, to allocate
EtherCAT slave process data and make other settings.
2
3.Precautions
3. Precautions
(1) Understand the specifications of devices which are used in the system. Allow some
margin for ratings and performance. Provide safety measures, such as installing a safety
circuit, in order to ensure safety and minimize the risk of abnormal occurrence.
(2) 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.
(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 guide
without the permission of OMRON Corporation.
(5) The information contained in this guide is current as of November 2016. It is subject to
change for improvement without notice.
The following notations are used in this guide.
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 significant 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.
Additional Information
Additional information to read as required.
This information is provided to increase understanding or make operation easier.
Symbol
The filled circle symbol indicates operations that you must do.
The specific operation is shown in the circle and explained in the text.
This example shows a general precaution for something that you must do.
3
4.Overview
4. Overview
This guide describes the procedures for: connecting Piab Vacuum Ejector piCOMPACT23
IO-Link (hereinafter referred to as Ejector) to OMRON NX-series IO-Link Master Unit
(NX-ILM[][][]) via IO-Link; connecting OMRON NJ-series Machine Automation Controller
(hereinafter referred to as Controller) to the IO-Link Master Unit via EtherCAT through
OMRON EtherCAT Coupler Unit (NX-ECC20[]) to which the IO-Link Master Unit is connected;
and checking their communication status.
Refer to Section 6. Communications Settings and Section 7. IO-Link Connection Procedure to
understand setting methods and key points to perform cyclic communications in the IO-Link
system.
In this guide, a generic EtherCAT slave for EtherCAT communications is called "slave unit",
and a specific EtherCAT slave configured of EtherCAT Coupler Unit and IO-Link Master Unit is
called "Slave Terminal".
<Slave Terminal Configuration>
EtherCAT Coupler Unit (NX-ECC20[])
IO-Link Master Unit (NX-ILM[][][])
Performs EtherCAT communications
with Controller
Performs IO-Link communications
with Ejector
Slave Terminal
4
5.Applicable Devices and Device Configuration
5. Applicable Devices and Device Configuration
5.1. Applicable Devices
The applicable devices are as follows:
Manufacturer
OMRON
Name
NJ-series CPU Unit
Model
NJ501-[][][][]
NJ301-[][][][]
NJ101-[][][][]
OMRON
NX-series
NX-ECC20[]
EtherCAT Coupler Unit
OMRON
NX-series
NX-ILM[][][]
IO-Link Master Unit
Piab
Vacuum Ejector
piCOMPACT23 IO-Link
Precautions for Correct Use
In this guide, the devices with models and versions listed in 5.2. Device Configuration are
used as examples of applicable devices to describe the procedures for connecting the
devices and checking their connections.
You cannot use devices with versions lower than the versions listed in 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.
Additional Information
This guide describes the procedures for establishing the network connections.
It does not provide information on operation, installation, wiring method, device functionality,
or device operation, which is not related to the connection procedures.
Refer to the manuals or contact the device manufacturer.
5
5.Applicable Devices and Device Configuration
5.2. Device Configuration
The hardware components to reproduce the connection procedures in this guide are as
follows:
Personal computer
(Sysmac Studio,
CX-ConfiguratorFDT, and
IODD DTM Configurator
installed, OS: Windows 7)
NJ501-1500
(Built-in EtherCAT port)
NX-ECC202+
NX-ILM400
Cable for I/O connector
Ethernet cable
USB cable
Unit power supply
Cable for Ejector
I/O power supply
Manufacturer
OMRON
OMRON
OMRON
OMRON
OMRON
OMRON
OMRON
OMRON
-
Piab
Piab
Name
NJ-series CPU Unit
(Built-in EtherCAT port)
Power Supply Unit
Sysmac Studio
CX-ConfiguratorFDT
IODD DTM Configurator
Personal computer
(OS: Windows 7)
USB cable
(USB 2.0 type B connector)
Ethernet cable (with industrial
Ethernet connector)
NX-series
EtherCAT Coupler Unit
NX-series
IO-Link Master Unit
Unit power supply (24 VDC)
I/O power supply (24 VDC)
Cable for I/O connector
(With a female connector on one
end (M12))
Cable for Ejector
(Male-Female connector (M12
4-pin))
Ejector (1 channel)
IODD file
piCOMPACT23 IO-Link
Model
NJ501-1500
Version
Ver.1.12
NJ-PA3001
SYSMAC-SE2[][][]
(Included in Sysmac Studio)
(Included in Sysmac Studio)
-
Ver.1.16
Ver.2.2
Ver.3.3
XS5W-T421-[]M[]-K
NX-ECC202
Ver.1.2
NX-ILM400
Ver.1.0
XS5F-D421-D80-F
-
piCOMPACT23 IO-Link
PIAB-PICOMPACT23-2016
0509-IODD1.1.xml
(Piab_iodd.zip)
Ver.1.0
Precautions for Correct Use
Prepare the IODD file listed above beforehand.
To obtain the IODD file, contact Piab AB.
6
5.Applicable Devices and Device Configuration
Precautions for Correct Use
The connection line of EtherCAT communications cannot be shared with other Ethernet
networks.
Do not use devices for Ethernet such as a switching hub.
Use an Ethernet cable (double shielding with aluminum tape and braiding) of Category 5 or
higher, and use a shielded connector of Category 5 or higher.
Connect the cable shield to the connector hood at both ends of the cable.
Precautions for Correct Use
Update Sysmac Studio and CX-ConfiguratorFDT to the versions specified in this Clause 5.2.
or to higher versions. If you use a version higher than the one specified, the procedures and
related screenshots described in Section 7. and subsequent sections may not be applicable.
In that case, use the equivalent procedures described in this guide by referring to the Sysmac
Studio Version 1 Operation Manual (Cat. No. W504) and the CX-ConfiguratorFDT Online
Help.
Precautions for Correct Use
To connect the IO-Link device with connectors to NX-series IO-Link Master Unit, you need a
cable with a connector on one end that is suitable for the connectors on the IO-Link device.
For specifications of the connectors on Ejector, refer to the MANUAL piCOMPACT®23
IO-Link (0207443).
Additional Information
For specifications of Ethernet cables and network wiring, refer to Section 4. EtherCAT
Network Wiring of the NJ/NX-series CPU Unit Built-in EtherCAT(R) Port User's Manual (Cat.
No. W505).
Additional Information
For specifications of Unit and I/O power supplies for Slave Terminal, refer to the NX-series
EtherCAT(R) Coupler Unit User's Manual (Cat. No. W519).
Additional Information
The system configuration in this guide uses USB for the connection between Personal
computer and Controller. For information on how to install the USB driver, refer to A-1 Driver
Installation for Direct USB Cable Connection of the Sysmac Studio Version 1 Operation
Manual (Cat. No. W504).
7
6.Communications Settings
6. Communications Settings
This section describes parameters and device variables that are all defined in this guide.
6.1. EtherCAT Connection Parameter
The parameter required for connecting Controller and Slave Terminal via EtherCAT is shown
below.
<Slave Terminal Setting>
Item
Set value
Node address
1
Remarks
Set the address using the hardware switches on Slave
Terminal.
6.2. IO-Link Connection Parameters
The parameters required for connecting IO-Link Master Unit and Ejector via IO-Link are
shown below.
In this guide, Ejector is connected to Port 1 on IO-Link Master Unit.
<IO-Link Master Unit Setting>
Item
Port1 IO-Link Device Configuration Data/Process data in length
Port1 IO-Link Device Configuration Data/Process data out length
Port1 IO-Link Device Configuration Data/Master Control
Set value
2(Byte) (Default)
2(Byte) (Default)
IO-Link Mode (Default)
6.3. Slave Terminal Configuration and Device Names
The Slave Terminal configuration and device names are shown below.
The default values are used for the device names. For slave units, the default device names
are "E" followed by a serial number that starts from 001. For NX Units, the default device
names are "N" followed by a serial number that starts from 1.
<Slave Terminal Configuration and Device Names>
NX Unit number
Name
0
EtherCAT
Coupler
Unit
0
1
1
IO-Link Master Unit
Model
NX-ECC202
NX-ILM400
Device name
E001
N1
8
6.Communications Settings
6.4. Device Variables
The process data for Ejector are allocated to the Controller's device variables as PDO
communications data for Slave Terminal. The device variables are named automatically from
a combination of the device names and the port names. The device variables and the data
types to allocate to the process data for Ejector are shown below.
Additional Information
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).
(1) BOOL[16] / (2) ARRAY[0..15] OF BOOL
In this guide, the data type is simplified by displaying BOOL[16].
(The example above means a BOOL data type with sixteen array elements.)
■Process data output area (Controller to Slave Terminal)
Device name
Device variable
[0]
BYTE
Description
Port1 Output Data01
Stores to the process data out for Ejector.
Stores to Byte 3 PDOut.
[1]
BYTE
Not used
N1_Port1_Output_Data01
N1
Data type
BYTE[2]
■Process data input area (Slave Terminal to Controller)
Device name
Device variable
[0]
BYTE
Description
Port1 Input Data01
Stores the process data in for Ejector.
Stores Byte 2 PDIn.
[1]
BYTE
Stores Byte 1 PDIn.
N1_Port1_Input_Data01
N1
Data type
BYTE[2]
9
6.Communications Settings
■Process data for Ejector
(Data to be stored in the device variable N1_Port1_Output_Data01 listed in the table for
the output area)
(Data to be stored in the device variable N1_Port1_Input_Data01 listed in the table for the
input area)
10
7.IO-Link Connection Procedure
7. IO-Link Connection Procedure
This section describes the procedures for connecting Ejector to IO-Link Master Unit via
IO-Link and for connecting Controller to Slave Terminal configured of the IO-Link Master Unit
on the EtherCAT network. The explanations of procedures for setting up Controller and Slave
Terminal given in this guide are based on the factory default settings.
For the initialization, refer to Section 8. Initialization Method.
7.1. Work Flow
Take the following steps to connect Ejector to IO-Link Master Unit via IO-Link and to connect
Controller to Slave Terminal configured of the IO-Link Master Unit on the EtherCAT network.
7.2. Slave Terminal Setup
Set up Slave Terminal.
↓
7.2.1. Hardware Settings
Configure Slave Terminal, set hardware switches,
and connect Ejector.
↓
7.3. Network Configuration for Host
Communications
Set up the network configuration for host
communications.
↓
7.3.1. Starting Sysmac Studio
Start Sysmac Studio and go online with Controller.
↓
7.3.2. Setting up the EtherCAT
Set up the EtherCAT network configuration.
Network Configuration
↓
7.4. IO-Link Master Unit Setup
Set up IO-Link Master Unit.
↓
7.4.1. Parameter Settings
Set the parameters for IO-Link Master Unit.
↓
7.4.2. I/O Allocation Settings
Set the I/O allocations for IO-Link Master Unit.
↓
7.5. Controller Setup
Set up Controller.
↓
7.5.1. Setting the Device Variables
Set the device variables to use for Slave Terminal.
↓
7.5.2. Transferring the Project Data
Go online with Sysmac Studio and transfer the
project data to Controller.
↓
11
7.IO-Link Connection Procedure
7.6. IO-Link Communication Status
Check
Confirm that cyclic communications in the IO-Link
system performs normally.
↓
7.6.1. Checking the Connection Status
Check the connection status of each device.
↓
7.6.2. Installing the IODD File
Install the IODD file for Ejector.
↓
7.6.3. Checking the Sent and
Check that the correct data are sent and received.
Received Data
12
7.IO-Link Connection Procedure
7.2. Slave Terminal Setup
Set up Slave Terminal.
7.2.1.
Hardware Settings
Configure Slave Terminal, set hardware switches, and connect Ejector.
Precautions for Correct Use
Make sure that the power supply is OFF when you set up.
1
Make sure that EtherCAT
Coupler Unit and IO-Link Master
Unit are powered OFF.
2
*If either of them is ON, the
settings described in the
following steps and subsequent
procedures may not be
applicable.
Connect IO-Link Master Unit to
EtherCAT Coupler Unit.
EtherCAT Coupler Unit
IO-Link Master Unit
End Cover
3
Check the position of the
hardware switches on EtherCAT
Coupler Unit by referring to the
figure on the right.
Rotary switches
Dip switch
13
7.IO-Link Connection Procedure
4
Set Rotary switches and DIP
switch as follows:
・Rotary switches
x10: 0
x1: 1
・DIP switch
4(ADR+100): OFF
*The node address is set to 1.
Rotary switches
5
DIP switch
Connect an Ethernet cable to
Communications connector (IN)
on EtherCAT Coupler Unit.
Communications
connector (IN)
Ethernet cable
6
Connect Unit power supply and
I/O power supply to Unit power
supply terminals and I/O power
Unit power supply terminals
supply terminals on EtherCAT
Coupler Unit, respectively.
Unit power supply
*For connecting the power
supplies for NX-series Slave
Terminals, refer to the
NX-series EtherCAT(R)
Coupler Unit User's Manual
(Cat. No. W519).
I/O power supply
I/O power supply terminals
14
7.IO-Link Connection Procedure
7
Connect Ejector to Port 1 on
IO-Link Master Unit using the
IO-Link
Master Unit
Ejector
cables for both I/O connector
and Ejector.
Cable for Ejector
Cable for
I/O connector
Black
Port 1
Brown
Blue
15
7.IO-Link Connection Procedure
7.3. Network Configuration for Host Communications
Set up the network configuration for host communications.
7.3.1.
Starting Sysmac Studio
Start Sysmac Studio and go online with Controller.
Install Sysmac Studio and the USB driver on Personal computer beforehand.
Additional Information
For details on the online connections to Controller, refer to Section 6. Online Connections to a
Controller of the Sysmac Studio Version 1 Operation Manual (Cat. No. W504).
1
Connect the Ethernet cable to
the built-in EtherCAT port
Personal
computer
CPU Unit
Controller
(PORT2) on Controller, and
connect a USB cable to the
USB cable
End Cover
peripheral (USB) port. As shown
in 5.2. Device Configuration,
connect Personal computer and
Ejector
Power Supply Unit
Ethernet
cable
Slave
Terminal
Slave Terminal to Controller.
2
3
4
Turn ON Controller and Unit
power supply for Slave Terminal.
*The I/O power supply for Slave
Terminal remains OFF.
Start Sysmac Studio.
*If the User Account Control
Dialog Box is displayed at start,
make a selection to start
Sysmac Studio.
Sysmac Studio starts.
Click Connect to Device.
16
7.IO-Link Connection Procedure
5
The Connect to Device Dialog
Box is displayed.
Select Direct connection via
USB in the Connection type
Field.
Uncheck both Transfer from
Device and Display the
Troubleshooting Dialog Box in
the Operation after Connection
Field.
Click Connect.
6
A confirmation dialog box is
displayed. Check the contents
and click OK.
7
*The contents of the dialog box
vary depending on the status of
Controller. Check the contents
and click on an appropriate
button to proceed with the
processing.
The dialog box on the right is
displayed. Check the contents
and click OK.
8
The Auto Connect Project
Dialog Box is displayed online.
When an online connection is
established, a yellow bar is
Toolbox
displayed under the toolbar.
The following panes are
displayed in this window.
Multiview
Explorer
Edit Pane
Left: Multiview Explorer
Controller
status
Pane
Top right: Toolbox
Bottom right: Controller Status Pane
Top middle: Edit Pane
The following tabs are displayed
Output Tab
Page
Build Tab
Page
in the bottom middle of this
window.
Output Tab Page
Build Tab Page
17
7.IO-Link Connection Procedure
7.3.2.
Setting up the EtherCAT Network Configuration
Set up the EtherCAT network configuration.
1
Double-click EtherCAT under
Configurations and Setup in
the Multiview Explorer.
2
The EtherCAT Tab Page is
3
Right-click Master on the
displayed in the Edit Pane.
EtherCAT Tab Page of the Edit
Pane and select Compare and
Merge with Actual Network
Configuration.
A screen is displayed stating
"Get information is being
executed".
4
The Compare and Merge with
Actual Network Configuration
Dialog Box is displayed.
Node address 1 and
NX-ECC202 Rev:1.2 are added
to the Actual network
configuration after the
comparison.
Click Apply actual network
configuration.
18
7.IO-Link Connection Procedure
5
A confirmation dialog box is
displayed. Check the contents
and click Apply.
The dialog box on the right is
displayed. Check the contents
and click Close.
6
As the node address 1 slave,
E001 NX-ECC202 Rev:1.2 is
added to the Network
configuration on Sysmac Studio.
Check that the data above is
added. Click Close.
7
Node address 1 and E001
NX-ECC202 Rev:1.2 are added
to the EtherCAT Tab Page of the
Edit Pane.
8
Select Offline from the
Controller Menu.
The yellow bar under the toolbar
disappears.
19
7.IO-Link Connection Procedure
7.4. IO-Link Master Unit Setup
Set up IO-Link Master Unit.
7.4.1.
Parameter Settings
Set the parameters for IO-Link Master Unit.
In this guide, the default values are used for the parameter settings of IO-Link Master Unit.
Check that IO-Link Mode is set as the communications mode for Port 1 to which Ejector is
connected.
Additional Information
If you use the functions such as "connected device verification" and "backup and restoration
of parameter settings in IO-Link devices", refer to the NX-series IO-Link Master Unit User's
Manual (Cat. No. W567) and the IO-Link System User's Manual (Cat. No. W570).
1
Select NX-ECC202 Rev:1.2 on
the EtherCAT Tab Page of the
Edit Pane.
Check that the device name is
E001.
*The device name can be
changed as desired.
The device name you set is
used at the beginning of a
device variable name.
Click Edit Slave Terminal
Configuration.
2
The Node1:NX-ECC202(E001)
Tab Page is displayed.
Select the device icon of IO-Link
Master Unit (NX Unit number 1).
The setting details are displayed
on the right side of the tab page.
Check that the device name is
N1.
*The device name can be
changed as desired.
The device name you set is
used at the beginning of a
device variable name.
Click Edit Unit Operation
Settings.
20
7.IO-Link Connection Procedure
3
The Unit 1[Node1]:NX-ILM400
(N1)Unit Operation Settings Tab
Page is displayed.
4
Select ▼Port1 - Port1 IO-Link
Device Configuration Data
from the pull-down list (just
above the column "Item name")
to narrow down the parameters.
5
The setting items of Port1
IO-Link Device Configuration
Data are displayed. Check that
IO-Link Mode is selected as the
set value of Master Control.
*If IO-Link Mode is not displayed
in the Value Column, select the
mode from the pull-down list.
21
7.IO-Link Connection Procedure
7.4.2.
I/O Allocation Settings
Set the I/O allocations for IO-Link Master Unit.
As the default values are used for the I/O allocations in this guide, the I/O allocation settings
are made without editing any of the values.
Additional Information
To save the I/O data size for
unused ports, delete the I/O
entries for the unused ports from
the I/O allocation settings.
The Edit I/O Allocation Settings
Pane is displayed by clicking
Edit I/O Allocation Settings
shown on the right.
For information on how to edit,
refer to the IO-Link System
User's Manual (Cat. No. W570).
22
7.IO-Link Connection Procedure
7.5. Controller Setup
Set up Controller.
7.5.1.
Setting the Device Variables
Set the device variables to use for Slave Terminal.
1
Double-click I/O Map under
Configurations and Setup in
the Multiview Explorer.
2
The I/O Map Tab Page is
displayed in the Edit Pane.
Check that Node1 is displayed
in the Position Column and that
the added Slave Terminal is
displayed in the Port Column.
3
4
*To manually set a variable
name for Slave Terminal, click
an entry cell in the Variable
Column and enter a name.
Right-click Node1 and select
Create Device Variable.
The variable names and types
are set.
23
7.IO-Link Connection Procedure
Additional Information
The device variables are named automatically from a combination of the device names and
the port names. For slave units, the default device names are "E" followed by a serial number
that starts from 001. For NX Units, the default device names are "N" followed by a serial
number that starts from 1.
Additional Information
In this guide, device variables are automatically named for each unit (each slave).
They can also be manually named for each port.
24
7.IO-Link Connection Procedure
7.5.2.
Transferring the Project Data
Go online with Sysmac Studio and transfer the project data to Controller.
When you transfer a user program, configuration data, setup data, device
variables, or values in memory used for CJ-series Units from Sysmac Studio,
the devices or machines may perform unexpected operation regardless of the
operating mode of CPU Unit.
Always confirm safety at the destination node before you transfer the project
data.
If you use EtherCAT slaves, check the specifications of those slaves in manuals
or other documentation and confirm that the system will not be adversely
affected before you transfer parameters.
After you transfer the project data, CPU Unit restarts, and communications with
the slave unit is cut off. During the period, the outputs of the slave unit behave
according to the slave unit settings. The time that communications is cut off
depends on the EtherCAT network configuration.
Before you transfer the project data, confirm that the slave unit settings will not
adversely affect the device.
1
2
Select Check All Programs
from the Project Menu.
The Build Tab Page is displayed.
Check that "0 Errors" and "0
Warnings" are displayed.
3
Select Rebuild Controller from
the Project Menu.
25
7.IO-Link Connection Procedure
4
The dialog box on the right is
displayed. Confirm that there is
no problem, and click Yes.
5
Check that "0 Errors" and "0
Warnings" are displayed on the
Build Tab Page.
6
Select Online from the
Controller Menu.
When an online connection is
established, a yellow bar is
displayed under the toolbar.
7
8
Select Synchronize from the
Controller Menu.
The Synchronization Dialog Box
is displayed.
Check that the data to transfer
(NJ501 in the right dialog box) is
selected.
Uncheck Do not transfer the
following. (All items are not
transferred.) to make "Slave
Terminal Unit operation settings"
transfer.
Click Transfer To Controller.
*After executing Transfer To
Controller, the Sysmac Studio
data is transferred to
Controller, and the data is
synchronized.
26
7.IO-Link Connection Procedure
9
The dialog box on the right is
displayed. Confirm that there is
no problem, and click Yes.
A screen is displayed stating
"Synchronizing".
The dialog box on the right is
displayed. Confirm that there is
no problem, and click No.
*Do not return to RUN mode.
10
As shown in the figure on the
right, the font color that is used
to display the text of
synchronized data changes to
the same color as the one used
to specify "Synchronized".
Check that a message is
displayed stating "Cycle the
power supply to the slave(s) to
apply the settings". Click Close.
*When the Sysmac Studio
project data coincides with the
Controller data, the
synchronized data will have the
same font color as the one
used to specify “Synchronized".
11
*If the synchronization fails,
check the wiring and repeat
from step 1.
To reflect the settings, turn OFF
Unit power supply for Slave
Terminal, then turn it back ON.
27
7.IO-Link Connection Procedure
12
Check that the LED status is as
shown below, which indicates
that Slave Terminal is able to
communicate.
RUN
: Not lit
ERR
: Not lit
TS
: Green flashing
L/A IN : Green flickering
L/A OUT: Not lit
13
The LED status of Controller is
as shown below when an error
occurs in EtherCAT
communications due to the
temporary interruption of Unit
power supply for Slave Terminal.
NET RUN: Not lit
NET ERR: Red flashing
LINK/ACT: Yellow flashing
14
15
Select Troubleshooting from
the Tools Menu.
The Troubleshooting Dialog Box
is displayed. Check that a Link
OFF Error occurs as shown in
the figure on the right.
Click Reset All.
16
The dialog box on the right is
displayed. Check the contents
and click Yes.
28
7.IO-Link Connection Procedure
17
Check that the error is not
displayed. Click × at the top
right of the Troubleshooting
Dialog Box to close.
18
Turn ON I/O power supply for
Slave Terminal.
29
7.IO-Link Connection Procedure
7.6. IO-Link Communication Status Check
Confirm that cyclic communications in the IO-Link system performs normally.
7.6.1.
Checking the Connection Status
Check the connection status of each device.
1
Check with LED indicators on
Controller that PDO
communications via EtherCAT
performs normally.
The LED indicators in normal status
are as follows:
NET RUN: Green lit
NET ERR: Not lit
LINK/ACT: Yellow flashing
2
Check the LED indicators on
EtherCAT Coupler Unit.
The LED indicators in normal status
are as follows:
RUN: Green lit
TS: Green lit
ERR: Not lit
L/A IN: Green flickering
L/A OUT: Not lit
3
Check the LED indicators on
IO-Link Master Unit.
The LED indicators in normal status
are as follows:
Port number
TS: Green lit
Port 1-C: Green lit
Port 1-E: Not lit
30
7.IO-Link Connection Procedure
4
Check the OLED display on Ejector.
Power ON diode
OLED display
The OLED display in normal status
indicates only the Ejector status.
When an error occurs, the OLED
・Display of the Ejector status
display alternately shows the
Ejector status and an error message
"IO-LINK CONNECTION LOST".
・Display at IO-Link communications error
31
7.IO-Link Connection Procedure
7.6.2.
Installing the IODD File
Install the IODD file for Ejector.
If you use an IO-Link device other than the one produced by OMRON in CX-ConfiguratorFDT,
you need beforehand to install an IODD file for your intended IO-Link device on Personal
computer.
The IODD DTM Configurator that is included in the Sysmac Studio package is used to install
the file. Check that IODD DTM Configurator is being installed on Personal computer.
Precautions for Correct Use
Prepare the IODD file listed in 5.2. Device Configuration beforehand.
IODD files are usually provided in a compressed folder; hence, you need to decompress it.
Some image files (png) may be stored along with IODD files (xml) in the decompressed
folder. Leave those image files in the same folder with the IODD files (xml).
1
Start the IODD DTM Configurator.
2
IODD DTM Configurator is started.
The Add IODD Button shows on the top right of the
Click Add IODD.
screen of IODD DTM Configurator.
3
Select the
The dialog box to select the file is opened.
The startup icon shows under IO-Link in All Programs
in the Windows Start menu.
PIAB-PICOMPACT23-20160509-IO
DD1.1.xml to install, and click Open.
4
The message (dialog box) on the
"Please close any running FDT frame application."
right is displayed. Confirm that there
is no problem, and click OK.
5
Check that the IODD "piab
Check the installed file on the screen of IODD DTM
piCOMPACT23" is installed.
Configurator.
Click Close.
The Close Button is on the bottom right of the screen
of IODD DTM Configurator.
6
The message (dialog box) on the
"Please ensure that at next startup of the FDT frame
right is displayed. Check the
application the device catalogue becomes updated."
contents and click OK.
32
7.IO-Link Connection Procedure
7.6.3.
Checking the Sent and Received Data
Check that the correct data are sent and received.
Check that CX-ConfiguratorFDT is being installed on Personal computer.
The CX-ConfiguratorFDT is included in the Sysmac Studio package.
In this procedure, a trigger for start vacuuming is ON, which may have a risk of
unexpected operation of the devices.
Ensure safety before you proceed with this operation check described here.
If you cannot ensure safety, do not proceed. When you perform this operation
check, make sure to complete all the steps and make the Ejector output safe.
If you wire the I/O in the state where the devices are powered ON, this may
cause damage to the devices.
Always read and follow the information provided in all safety precautions in the
manuals for each device to be wired.
If you change the variable values on a Watch Tab Page when Sysmac Studio is
online with CPU Unit, the devices connected to the output unit may operate
regardless of the operating mode of CPU Unit.
Always ensure safety before you change the variable values on a Watch Tab
Page when Sysmac Studio is online with CPU Unit.
1
2
Select Watch Tab Page from the
View Menu.
Select the Watch1 Tab.
33
7.IO-Link Connection Procedure
3
Click Input Name and enter the
following variable names for
monitoring. Select the display
・・・
format of each variable as shown
below.
Name: N1_Port1_Input_Data01[1]
Display format: Binary
Name: N1_Port1_Output_Data01[0]
Display format: Binary
4
Start CX-ConfiguratorFDT.
*When starting CX-Configurator
FDT, the dialog box on the right is
displayed to update the device
catalog. Click Yes.
5
CX-ConfiguratorFDT starts.
Right-click MyNetwork in the
Network View and select Add from
the menu.
6
The Add Dialog Box is displayed.
Select Nx built-in EtherCAT.
Click OK.
34
7.IO-Link Connection Procedure
7
Check that <OMRON EtherCAT>
Nx built-in EtherCAT is added under
MyNetwork in the Network View.
8
Right-click <OMRON EtherCAT>
Nx built-in EtherCAT and select
Scan - Create Network from the
menu.
35
7.IO-Link Connection Procedure
9
The Lifelist Dialog Box is displayed
after completing the network scan.
Check that <OMRON EtherCAT:1>
NX-ECC Coupler is added under Nx
built-in EtherCAT.
Click Add All and Continue.
10
The Lifelist Dialog Box is displayed
again after completing the network
scan.
Check that <IO-Link
Port_1:NOT_APPLICABLE>
piCOMPACT23 IODD1.1 is added
under NX-ILM400.
Click Add All and Continue.
36
7.IO-Link Connection Procedure
11
Check that the network
configuration is created in the
Network View as shown on the right.
12
Right-click <IO-Link Port_1:->
piCOMPACT23 IODD1.1 and select
Go online from the menu.
13
Check that Ejector is online.
Right-click <IO-Link Port_1:->
piCOMPACT23 IODD1.1 and select
Load from device from the menu.
*When <IO-Link Port_1:->
piCOMPACT23 IODD1.1 is
displayed in bold italic font, Ejector
is online.
37
7.IO-Link Connection Procedure
14
The parameters of Ejector are
uploaded. The dialog box on the
right is displayed during the
parameter upload.
The dialog box is closed after the
upload is completed.
Right-click <IO-Link Port_1:->
piCOMPACT23 IODD1.1 and select
Configuration from the menu.
15
The Parameter shows under Menu
on the <IO-Link Port_1:->
piCOMPACT23 IODD1.1 Configuration Tab Page.
You can check the paramters set for
Ejector.
16
Check that the OLED display on
Ejector shows as follows:
IDLE (Idling)
■BOC (Blow-Off Complete)
38
7.IO-Link Connection Procedure
17
Check that the online value of
N1_Port1_Input_Data01[1] on the
Watch Tab Page of Sysmac Studio
is as shown below.
N1_Port1_Input_Data01[1]:
0000 1000 (Bit 3: Blow-off
sequence completed)
18
*For details on each of the
variables, refer to 6.4. Device
Variables.
Enter 0000 0001 for
N1_Port1_Output_Data01[0] in the
Modify Column.
*The Ejector is in "Vacuum ON".
Check that the online values change
as follows:
N1_Port1_Input_Data01[1]:
0000 0000
N1_Port1_Output_Data01[0]:
0000 0001 (Vacuum ON)
19
The OLED display on Ejector shows
VAC (Vacuum ON). Check that BOC
(Blow-Off Complete) is disappeared.
20
Enter 0000 0000 for
N1_Port1_Output_Data01[0] in the
Modify Column.
Check that the online values change
as follows:
N1_Port1_Input_Data01[1]:
0000 1000 (Bit 3: Blow-off
sequence completed)
N1_Port1_Output_Data01[0]:
0000 0000 (Vacuum OFF)
39
7.IO-Link Connection Procedure
21
Check that the OLED display on
Ejector shows as follows:
IDLE (Idling)
■BOC (Blow-Off Complete)
40
8.Initialization method
8. Initialization method
The setting procedures in this guide are based on the factory default settings.
Some settings may not be applicable unless you use the devices with the factory default
settings.
8.1. Initializing Controller
To initialize the Controller settings, it is necessary to initialize CPU Unit.
Change the operating mode of Controller to PROGRAM mode and select Clear All Memory
from the Controller Menu in Sysmac Studio. The Clear All Memory Dialog Box is displayed.
Check the contents and click OK.
8.2. Initializing Slave Terminal
To initialize the Slave Terminal settings, connect Slave Terminal directly to Personal computer
on which Sysmac Studio runs.
(1) Connect the USB cable to the peripheral USB port on EtherCAT Coupler unit.
EtherCAT Coupler Unit
USB cable
41
8.Initialization method
(2) Select NX-ECC202 on the EtherCAT Tab Page of the Edit Pane.
Click Edit Slave Terminal Configuration for the setting of Slave Terminal Configuration.
(3) The connected Slave Terminal configuration is displayed. Click Online.
(4) Right-click the device icon of EtherCAT Coupler Unit (Unit 0) after checking the online
connection. Select Clear All Memory from the menu.
42
8.Initialization method
(5) The Clear All Memory for Coupler Dialog Box is displayed. Check that Coupler + NX Units
is selected. Click Execute.
Precautions for Correct Use
In the initialization of Slave Terminal, the backup data for the IO-Link devices that is stored in
IO-Link Master Unit is not cleared. If you need to clear the backup data stored in IO-Link
Master Unit, refer to Clearing Backup Data in 7-4-2 Backing Up Settings of the IO-Link
System User's Manual (Cat. No. W570) to clear the backup data.
43
9.Revision History
9. Revision History
Revision
Date of revision
Description of revision
code
01
January 10, 2017
First edition
44
2017
P671-E1-01
0117-(-)
Download PDF
Similar pages