1. Introduction This document shows the basic steps for connecting Omron CJ1W-ECT21 EtherCAT Slave Unit to a CJ to make it a slave on an EtherCAT network. In this application, an Omron NJ is used as the EtherCAT master. 2. Applicable Devices The applicable devices are as follows.
3. Setting Condition if using CJ as Slave The following conditions are used in this example. 3.1. EtherCAT Slave Unit Settings Set the I/O Communication Area Setting Table with the following values. Name Setting value Unit number Node address Name Setting value OUT data area type CIO First word in OUT data area 0000 hex...
4. Setting up the EtherCAT Slave Devices, CJ 4.1. Setting the CJ1W-ECT21 with CJ2 Set up the EtherCAT Slave Unit with CJ2. With the power OFF, set the unit number and node address with the corresponding hardware switches. ・Unit number: 01 ・Address:01...
Page 6
Double click CJ1W-ECT21 to open its parameters. Set the I/O Communication Area Setting Table. OUT data area type: CIO Area First word in OUT data area: 0 Out data area size: 50 IN data area type: CIO Area First word IN data area: 1A Hex...
The setting procedure of the EtherCAT master is provided below. In this example, the EtherCAT master is an Omron NJ. Refer to the Sysmac Studio Version 1 Operating Manual (Cat. No. W504) for Sysmac studio operating procedures. The ESI files for OMRON EtherCAT slaves are already installed in the Sysmac Studio.
Page 8
Create the EtherCAT network configuration offline. Register the EtherCAT Slave Unit in the network configuration and set the node address of the EtherCAT Slave Unit Set the PDO mapping of the EtherCAT Slave Unit. Assign the PDOs of the same size as the setting value of the IN and OUT data area size in the I/O Communication Area Setting...
Page 9
Set the EtherCAT master parameters if necessary. Refer to the NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (Cat. No. W505) for details on the parameters of the built-in EtherCAT port of the NJ-series CPU Unit. Assign the I/O data that is assigned in the PDO mapping settings to device variables.
6. Checking the EtherCAT Communications 6.1. Checking the Connection Status Check the connection status of EtherCAT. If the I/O Communication Area Setting Table, PDO mapping and switch settings are configured properly, EtherCAT communications should occur. Verify EtherCAT Communications by checking the indicators and I/O data exchange.
Page 11
Send to EtherCAT Slave Figure 4.Sysmac Studio I/O Map, monitor and manipulate variables Received from EtherCAT Master Figure 5.CX-Programmer, Monitor received values from EtherCAT master...
Page 12
Send to EtherCAT Master Figure 6.CX-Programmer, monitor and manipulate variables Received from EtherCAT Slave Figure 7.Sysmac Studio, monitor received values from EtherCAT slave...
7. Revision History Cat. No. P236I-E-0 Revision code Date of revision Revision reason and revision page First edition (No.FST-ZOD090XXXA ) April 25, 2016...
Page 14
OMRON ELETRÔNICA DO BRASIL LTDA • HEAD OFFICE São Paulo, SP, Brasil • 55.11.2101.6300 • www.omron.com.br OMRON EUROPE B.V. • Wegalaan 67-69, NL-2132 JD, Hoofddorp, The Netherlands. • +31 (0) 23 568 13 00 • www.industrial.omron.eu Authorized Distributor: Controllers & I/O •...