Omron CK5M Series Connection Manual
Omron CK5M Series Connection Manual

Omron CK5M Series Connection Manual

Programmable multi-axis controller

Advertisement

Quick Links

Machine Automation Controller NJ-series
EtherNet/IP™ Connection Guide
OMRON Corporation
Programmable Multi-Axis Controller
CK3E/CK3M/CK5M-series
O903-E1-02

Advertisement

Table of Contents
loading

Summary of Contents for Omron CK5M Series

  • Page 1 Machine Automation Controller NJ-series EtherNet/IP™ Connection Guide OMRON Corporation Programmable Multi-Axis Controller CK3E/CK3M/CK5M-series O903-E1-02...
  • 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)
  • Page 4: Table Of Contents

    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)
  • Page 5: Precautions

    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)
  • Page 6: Related Manuals

    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.
  • Page 7: Terms And Definitions

    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)
  • Page 8: 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-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)
  • Page 9: About This Guide

    About This Guide This section describes the overview of this guide. Introduction ....................1-2 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
  • Page 10: Introduction

    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)
  • Page 11: Target Device And System Configuration

    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)
  • Page 12: Target Device

    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)
  • Page 13: Device Configuration

    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)
  • Page 14: Connection Configuration

    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)
  • Page 15: Ethernet/Ip Connection Procedures

    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)
  • Page 16: Work Flow

    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)
  • Page 17: Nj/Nx-Series Cpu Unit Settings

    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)
  • Page 18: Setting Variables

    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)
  • Page 19: Creating And Checking The User Program

    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 21 := eip_from_ppmac_13.i_1; eip_to_ppmac_13.i_63 := eip_from_ppmac_13.i_63; eip_to_ppmac_13.i_126 := eip_from_ppmac_13.i_126; eip_to_ppmac_14.i_1 := eip_from_ppmac_14.i_1; eip_to_ppmac_14.i_63 := eip_from_ppmac_14.i_63; eip_to_ppmac_14.i_126 := eip_from_ppmac_14.i_126; eip_to_ppmac_15.i_1 := eip_from_ppmac_15.i_1; eip_to_ppmac_15.i_63 := eip_from_ppmac_15.i_63; eip_to_ppmac_15.i_126 := eip_from_ppmac_15.i_126; eip_to_ppmac_16.i_1 := eip_from_ppmac_16.i_1; eip_to_ppmac_16.i_63 := eip_from_ppmac_16.i_63; eip_to_ppmac_16.i_126 := eip_from_ppmac_16.i_126; 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)
  • Page 23: Setting Ethernet/Ip (Tag Sets)

    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)
  • Page 24: Installing The Eds File

    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)
  • Page 25: Setting Ethernet/Ip (Connections)

    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)
  • Page 26 CK5M-series Programmable Multi-Axis Controller User's Manual Hardware (Cat. No. O036), A-7-2 Assembly Object (Class ID: 04 Hex) or CK3E-series Programmable Multi-Axis Controller Hardware User’s Manual (Cat. No. I610), A-3-2 Assembly Object (Class ID: 04 Hex). 3-12 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
  • Page 27: Preparations For Setting The Pmac

    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)
  • Page 28: Performing The Initial Settings For The Pmac

    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)
  • Page 30: Pmac Ethernet/Ip Settings

    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)
  • Page 32: Setting Connections 2 To 16

    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)
  • Page 33: Pmac Settings

    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)
  • Page 36 3 EtherNet/IP Connection Procedures 3-22 CK3E/CK3M/CK5M Series EtherNet/IP Connection Guide (O903)
  • Page 37: Appendices

    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)
  • Page 38: A-1 Saving And Reading The Project

    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)
  • Page 42 Tel: (31) 2356-81-300 Fax: (31) 2356-81-388 Tel: (1) 847-843-7900 Fax: (1) 847-843-7787 ©OMRON Corporation 2020 - 2023 All Rights Reserved. OMRON ASIA PACIFIC PTE. LTD. OMRON (CHINA) CO., LTD. In the interest of product improvement, 438B Alexandra Road, #08-01/02 Alexandra Room 2211, Bank of China Tower, specifications are subject to change without notice.

This manual is also suitable for:

Ck3m seriesCk3e series

Table of Contents