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. 3. 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 Device and System Configuration EtherNet/IP Connection Procedures Appendices CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Creating a User Program ......................3-19 3-5-2 Transferring Project Data and Checking the Operation ............3-19 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/CK5M Series EtherNet/IP Connection Guide (O903)
Precautions on what to do and what not to do to ensure correct operation and performance. Additional Information Additional information to read as required. This information is provided to increase understanding and make operation easier. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
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.
You can use EDS files provided by EtherNet/IP device manufacturers to easily configure connec- tions. Power This is computer software that is used to configure the PMAC, create user programs, and perform PMAC IDE monitoring. PMAC is an abbreviation for Programmable Multi-Axis Controller. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual. O903-E1-02 Revision code Revision Date Revised content code September 2020 Original production • Revisions due to the addition of the CK5M-CPU1£1 January 2023 • Corrected mistakes. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
About This Guide This section describes the overview of this guide. Introduction ....................1-2 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
1 About This Guide Introduction This document describes the connecting procedure and confirmation for an OMRON Programmable Multi-Axis Controller CK3E-££££/CK£M-CPU1£1 (hereinafter sometimes abbreviated as "PMAC") to an NJ/NX-series CPU Unit via EtherNet/IP. CK3E/CK3M/CK5M 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 Device Configuration ..................2-3 Connection Configuration ................2-4 CK3E/CK3M/CK5M 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/CK5M Series EtherNet/IP Connection Guide (O903)
Additional Information This manual describes the connection example of the NJ501-1500 and CK3M-CPU1£1. The same procedure can be used to connect a CK3E-££££ or a CK5M-CPU1£1 and other NJ/NX-series CPU Unit. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
The correspondence of variables between each node is listed below. Variable name on the NJ/NX-series CPU Unit side Variable name on the NJ/NX side eip_from_ppmac_XX Eip[XX].Output.Udata[YY] (XX: Connection number) (XX: Connection number, YY: Number of array elements) eip_to_ppmac_XX Eip[XX].Input.Udata[YY] CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
PMAC EtherNet/IP Settings ................. 3-16 3-4-1 Setting Connection 1 ..................3-16 3-4-2 Setting Connections 2 to 16 ................3-18 PMAC Settings....................3-19 3-5-1 Creating a User Program ................3-19 3-5-2 Transferring Project Data and Checking the Operation......... 3-19 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
3-4-2 Setting Connections 2 to 16 on page 3-18 3-5 PMAC Settings on page 3-19 Perform the PMAC settings. 3-5-1 Creating a User Program on page 3-19 3-5-2 Transferring Project Data and Checking the Operation on page 3-19 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Change the IP address of the NJ/NX-series CPU Unit to one that enables connection to the PMAC. In the Multiview Explorer, double-click Built-in EtherNet/IP Port Settings un- der Configurations and Setup – Controller Setup. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
126 varia- bles of the UDINT data type, which add up to 504 bytes. Add variables to use. In the Multiview Explorer, double-click Global Variables under Programming – Data. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Adding a user program (ST) In the Multiview Explorer, right-click Programs under Programming and select Add – ST from the menu. Selecting the user program (Program1) In the Multiview Explorer, double-click Program1 under Programming – Programs. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Page 20
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. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Page 22
Click the Transfer to Controller button. • If the message shown on the right ap- pears, click the Yes button. • If the message shown on the right ap- pears, click the Yes button. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Setting the input tags Right-click on the Input tab page and select Create New Tag from the menu. Enter eip_from_ppmac_01 as the tag name. Similarly, create the subsequent tag sets and tags up to eip_from_ppmac_16. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Display EDS Library from the menu. Click the Install button. Select the check box for the EDS file to install and click the Open button. Click the + icon in the Toolbox pane. 3-10 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
For the added row, set the items as fol- lows. Target Device: PMAC to use Connection I/O Type: Exclusive Owner RPI: 50.0 ms Target Variable: 768 for inputs and 769 for outputs Size: 504 Originator Variable: eip_from_ppmac_01, eip_to_ppmac_01 3-11 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
The default IP address for the PMAC is "192.168.0.200". • If necessary, change the Windows IP address to "192.168.0.X". Power PMAC IDE starts up, and the PMAC goes online. From the File menu, select New – Project. 3-13 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
PMAC that you may need. Execute the $$$*** command from the Terminal to set the PMAC to the factory default state. In the Solution Explorer, select System – CPU – System. Select Clock Settings. 3-14 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Page 29
Wait until the PMAC starts up, and click the Communication Setup icon in the toolbar to display the Communication Setup dialog box. In the Communication Setup dialog box, click the Connect button. The Terminal goes online. 3-15 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Setting Connection 1 In the Solution Explorer, select System – EtherNet/IP(Deactivated) – Connection1. Selecting the type of variables to add to Connection 1 (Input) Select the data type of variables to add to Connection1. 3-16 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Page 31
Connection1. Add variables as many as the specified number to Connection 1 (Output). Select the Add Variables button for Connection1, specify the number of variables to add, and click the OK but- ton. 3-17 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
In the Solution Explorer, right-click EtherNet/IP(Deactivated) under System and select Paste from the menu. To add the settings to Connections 2 to 16, enter as shown on the right and click the OK button. 3-18 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
The pp_startup.txt is automatically executed when the PMAC starts up. In this example, the PLC1 script is exe- cuted. 3-5-2 Transferring Project Data and Checking the Operation Transfer the created project data to the PMAC. 3-19 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Page 34
PMAC is turned ON. Enabling EtherNet/IP (Restart) Execute the $$$ command from the Terminal. The EtherNet/IP settings are enabled when the PMAC restarts using the downloaded project. 3-20 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Page 35
Network Configurator’s Device Monitor function to perform trouble- shooting. Refer to 16-2 Checking Status with the Network Configurator in the NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (Cat. No. W506) for details. 3-21 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
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/CK5M Series EtherNet/IP Connection Guide (O903)
Start up and connect Power PMAC IDE to the Controller. Execute the $$$*** command from the Terminal to revert the PMAC to the fac- tory default settings. From the File menu, select Open – Project/Solution to read the saved project. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Page 39
PMAC is turned ON. Restarting the PMAC after download Execute the $$$ command from the Terminal and use the downloaded project to restart the PMAC. CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Page 40
Appendices CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
Need help?
Do you have a question about the CK5M Series and is the answer not in the manual?
Questions and answers