Page 2
Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. • Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsi- bility for errors or omissions.
Page 3
Sections in this Manual Sections in this Manual Summary of Materials Target Equipment and Device Configuration EtherNet/IP Connection Procedures Appendices CK3E/CK3M-series EtherNet/IP Connection Guide (O903)
CONTENTS CONTENTS Sections in this Manual ................... 3 Related Manuals....................... 5 Revision History....................... 6 Terms and Definitions....................7 Precautions ......................8 Section 1 About This Guide About This Guide ........................1-2 Section 2 Target Device and System Configuration Target Device..........................2-2 System Configuration......................2-3 Connection Configuration.....................2-4 Section 3 EtherNet/IP Connection Procedures...
Review the entire contents of these materials, including all safety precautions, precautions for safe use, and other precautions. The related manuals of OMRON Corporation (hereafter may be called “OMRON”) and Delta Tau Data Systems Inc. (hereafter may be called “DT”) are as shown below.
Revision History Revision History A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual. O903-E1-01 Revision code Revision Date Revised content code September 2020 Original production CK3E/CK3M-series EtherNet/IP Connection Guide (O903)
Terms and Definitions Terms and Definitions Terms Descriptions and Definitions Node Controllers and devices are connected to an EtherNet/IP network through EtherNet/IP ports. EtherNet/IP recognizes each EtherNet/IP port connected to the network as a node. This means that a connected device that has two EtherNet/IP ports is recognized as two nodes. EtherNet/IP achieves communications between Controllers, or communications between a Con- troller and devices, through data exchange between the nodes connected to the network.
Precautions Precautions • For actual system construction, check the specifications for each device and piece of equipment that makes up the system, use a method with sufficient margin for ratings and performance, and adopt safety circuits and other safety measures to minimize risks even if a breakdown occurs. •...
About This Guide This section describes the overview of this guide. About This Guide ................... 1-2 CK3E/CK3M-series EtherNet/IP Connection Guide (O903)
Page 10
1 About This Guide About This Guide This guide summarizes the procedures for connecting the OMRON Programmable Multi-Axis Control- ler CK3E-££££/CK3M-CPU1£1 (hereinafter may be called “PMAC”) with an NJ/NX-series CPU Unit via EtherNet/IP and how to check the connections. CK3E/CK3M-series EtherNet/IP Connection Guide (O903)
Target Device and System Config- uration This section describes the target devices and system configuration to be used for EtherNet/IP connection in this guide. Target Device ....................2-2 System Configuration ..................2-3 Connection Configuration ................2-4 CK3E/CK3M-series EtherNet/IP Connection Guide (O903)
This document provides the connection procedures to establish communications. It does not provide information other than the connection procedures, such as the operation, installation, wiring, and functions and motions of the devices. Refer to the relevant manuals or user’s guides, or contact your OMRON representative. CK3E/CK3M-series EtherNet/IP Connection Guide (O903)
CK3M-CPU1 1 NJ501-1500 Power PMAC IDE Sysmac Studio EtherNet/IP EtherNet/IP Ethernet W4S1-05B Manufacturer Name Model Version OMRON NJ/NX-series CPU Unit (With built-in EtherNet/IP NJ501-1500 Ver. 1.21 or later port) OMRON Power Supply Unit NJ-PA3001 OMRON Industrial Switching Hub W4S1-05B OMRON Sysmac Studio SYSMAC-SE2£££...
2 Target Device and System Configuration Connection Configuration This section describes the connection configuration of the PMAC and NJ/NX-series CPU Unit that you will set in this guide. Number of con- Originator Target Connection I/O Type Size nections NJ/NX-series CPU PMAC Exclusive Owner 504 bytes each for input 50 ms 16...
EtherNet/IP Connection Proce- dures This section describes the procedures for connecting the NJ/NX-series CPU Unit and PMAC via EtherNet/IP to enable communications between them. The description as- sumes that the NJ/NX-series CPU Unit and PMAC are set to factory default. Work Flow .......................
3 EtherNet/IP Connection Procedures Work Flow The procedures for connecting the NJ/NX-series CPU Unit and PMAC via EtherNet/IP to enable com- munications between them are shown below. 3-2 NJ/NX-series CPU Unit Settings on page Perform the preparation for connecting the NJ/NX-series CPU Unit.
3 EtherNet/IP Connection Procedures NJ/NX-series CPU Unit Settings Configure the devices for connection to the network. 3-2-1 Creating a New Project Connect the CPU Unit and a computer with a USB cable. Turn ON the power supply to the CPU Unit.
3 EtherNet/IP Connection Procedures In the TCP/IP Settings view of the Built-in EtherNet/IP Port Settings tab page, set the IP Address to enable connection to the PMAC. Set this to the same network address as that of the PMAC. 3-2-3 Setting Variables Add variables to use in the user program and for EtherNet/IP communications.
3 EtherNet/IP Connection Procedures As shown on the right, add a variable with the name eip_from_ppmac_01, the data type eip_Connection, and the net- work publish setting of Input. Similarly, add the subsequent variables up to eip_from_ppmac_16. Variables are added in this way be- cause the test program and EtherNet/IP use 16 connections for input.
Page 20
3 EtherNet/IP Connection Procedures Adding variable definitions to use in the user program Click Variables and, in the Externals tab page, add a variable with the name eip_from_ppmac_01 and the data type eip_Connection. Similarly, add the subsequent variables up to eip_from_ppmac_16. Similarly, add variables from eip_to_ppmac_01 up to eip_to_ppmac_16.
Page 21
3 EtherNet/IP Connection Procedures In the programming area, write the program eip_to_ppmac_01.i_1 := eip_from_ppmac_01.i_1; listed on the right. eip_to_ppmac_01.i_63 := eip_from_ppmac_01.i_63; eip_to_ppmac_01.i_126 := eip_from_ppmac_01.i_126; eip_to_ppmac_02.i_1 := eip_from_ppmac_02.i_1; This program example outputs the values of eip_to_ppmac_02.i_63 := eip_from_ppmac_02.i_63; the first, middle, and last variables for Input eip_to_ppmac_02.i_126 := eip_from_ppmac_02.i_126;...
Page 22
3 EtherNet/IP Connection Procedures Adding the user program execution settings In the Multiview Explorer, double-click Task Settings under Configurations and Setup. Click the Program Assignment Settings button and set Program1 to Run. Transferring the non-EtherNet/IP settings and user program Click the Online icon in the toolbar. Then, click the Synchronization icon on the right side.
3 EtherNet/IP Connection Procedures • The transfer is successful if the The Synchronization process successfully finished. message is displayed. Click the Close button. 3-2-5 Setting EtherNet/IP (Tag Sets) Select EtherNet/IP Connection Settings from the Tools menu. Double-click the row that contains 192.168.0.1.
3 EtherNet/IP Connection Procedures Setting the output tag sets Click the Output tab to switch to the Output tab page. Right-click on the Output tab page and select Create New Tag Set from the menu. Enter eip_to_ppmac_01 as the tag set name.
3 EtherNet/IP Connection Procedures Select the IP address and model name of the PMAC to use. For the revision, select 1. When you finished entering the data, click the Add button. • In this document, the default PMAC address (192.168.0.200) is used. 3-2-7 EtherNet/IP (Connection) Setting Click the Connection icon.
Page 26
3 EtherNet/IP Connection Procedures Setting Connections 2 to 16 Set connections 2 to 16 in the same way as described above. For each connection, change the Exclusive Owner number and other data from 1 to up to 16. For the Target Variable, set the value in increments of +4, i.e., 768 is followed by 772 for inputs and 769 is followed by 773 for outputs.
3 EtherNet/IP Connection Procedures Preparations for Setting the PMAC Perform the preparations for setting the PMAC. 3-3-1 Creating a New Project Turn ON the power supply to the PMAC. Start up Power PMAC IDE. • If a dialog box for checking access rights is displayed at the time of start- up, select the option for starting up.
3 EtherNet/IP Connection Procedures Enter the type of project for which EtherNet/IP can be set, desired project name, and the save destination, and click the OK button. 3-3-2 Performing the Initial Settings for the PMAC Perform the initial settings for the PMAC. Precautions for Correct Use Since all memory is cleared by the initial settings, be sure to save any data remaining in the PMAC that you may need.
Page 29
3 EtherNet/IP Connection Procedures Set the servo frequency. In Servo Frequency, select 4 kHz, 2 kHz, or 1 kHz. • This document gives an example of setting this to 1 kHz. Click the Accept button. If you change the servo frequency set- ting, execute the save command from the Power PMAC IDE Terminal.
3 EtherNet/IP Connection Procedures PMAC EtherNet/IP Settings Perform the EtherNet/IP settings. Precautions for Correct Use Check that devices are connected with Ethernet cables before you perform the following proce- dures. If devices are not connected, turn OFF the power supply to them, and then connect Ethernet cables.
Page 31
3 EtherNet/IP Connection Procedures Add variables as many as the specified number to Connection 1 (Input). Select the Inputs tab page for Connection1. Click the Add Variables button, specify the number of variables to add, and click the OK button. Checking and completing Connection 1 (Input) Check the size of the Connection1 in-...
3 EtherNet/IP Connection Procedures Checking and completing Connection 1 (Output) Check the size of the Connection1 out- put settings and click the Accept but- ton. 3-4-2 Setting Connections 2 to 16 Copy the settings of Connection 1 to other connections. In the Solution Explorer, right-click Connection1 under System –...
3 EtherNet/IP Connection Procedures PMAC Settings 3-5-1 Creating a User Program Create a program for the operations check. The operations check program uses the special language. For details, refer to the Power PMAC User’s Manual (Cat. No. O014) and Power PMAC Software Reference Manual (Cat. No. O015). In the Solution Explorer, select PMAC Script Language –...
Page 34
3 EtherNet/IP Connection Procedures Downloading the project In the Solution Explorer at the upper right of the Power PMAC IDE window, right-click the project name and select Build and Download All Programs to build and download all programs. • Transfer alone will not save the project to the PMAC.
Page 35
3 EtherNet/IP Connection Procedures Checking that EtherNet/IP is enabled In the Solution Explorer, check that there is EtherNet/IP (Activated) folder under System. This indicates that the EtherNet/IP settings are enabled. Checking that EtherNet/IP is operating Check that the variables shown on the right are added and counted up in the Watch window.
Appendices Saving and Reading the Project ..............A-2 A-1-1 Saving the Project ................... A-2 A-1-2 Reading and Downloading the Project ............A-2 CK3E/CK3M-series EtherNet/IP Connection Guide (O903)
Appendices A-1 Saving and Reading the Project This appendix describes the procedure to save the Power PMAC IDE project to the computer for the purpose of reuse. A-1-1 Saving the Project Saving the Project Select Save All from the File menu to save the project to the computer.
Page 39
Appendices In the Solution Explore, right-click the project name and select Build and Download All Programs to build and download all programs. After the download is completed, make sure that there are no errors in the Out- put tab page. Saving the downloaded settings and programs After the download is completed and...
Need help?
Do you have a question about the CK3E Series and is the answer not in the manual?
Questions and answers