Omron G5 Series Startup Manual

Omron G5 Series Startup Manual

Programmable multi-axis controller, servo drivers, idev4
Hide thumbs Also See for G5 Series:
Programmable Multi-Axis Controller
Startup Guide
G5-series Servo Drivers
(IDEv4)
CK3E-□□□□
CK3M-CPU1□1
NY51□-A□□□
O038-E1-01
Table of Contents
loading

Summary of Contents for Omron G5 Series

  • Page 1 Programmable Multi-Axis Controller Startup Guide G5-series Servo Drivers (IDEv4) CK3E-□□□□ CK3M-CPU1□1 NY51□-A□□□ O038-E1-01...
  • Page 2 EtherCAT® is a patented technology and registered trademark 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 document are trademarks or registered trademarks...
  • Page 3: Table Of Contents

    Contents Related Manuals ................. 4 Terms and Definitions ................ 5 Precautions ..................6 Overview ..................... 7 Applicable Devices and Device Configuration ........ 8 5.1. Applicable Devices ................8 5.2. Device Configuration ................9 EtherCAT Connection Procedure ........... 10 6.1. Workflow .................... 10 6.2.
  • Page 4: Related Manuals

    To ensure system safety, always read and follow the information provided in all Safety Precautions and Precautions for Safe Use in the manuals for each device that is used in the system. The following shows the manuals for OMRON Corporation (hereafter referred to as OMRON) and Delta Tau Data Systems, Inc (DT). Manufacturer Manual No.
  • Page 5: Terms And Definitions

    2. Terms and Definitions Term Explanation and Definition Slave Slaves are devices connected to EtherCAT. There are various types of slaves such as servo drivers handling position data and I/O terminals handling the bit signals. Object Represents information such as in-slave data and parameters. One type of EtherCAT communications in which Process Data Objects communications (PDOs) are used to exchange information cyclically and in real time.
  • Page 6: Precautions

    (4) It is prohibited to copy, reproduce, or distribute a part or the whole of this document without the permission of OMRON Corporation. (5) The information contained in this document is current as of April 2019. It is subject to change without prior notice for improvement purposes.
  • Page 7: Overview

    4. Overview This document describes the procedures used to operate the OMRON servo drivers (G5-series EtherCAT communication built-in type, hereafter referred to as Servo Driver) using the motion program for OMROM Programmable Multi-Axis Controller (hereafter referred to as the Controller), model CK3E-□□□□/CK3M-CPU11/NY51□-A□□□, as well as for checking the operation.
  • Page 8: Applicable Devices And Device Configuration

    This document describes the procedures to establish the network connections. It does not provide information on operations, installations, wiring methods, device functionalities, or device operations, which are not related to the connection procedures. For more information, refer to the manuals or contact your OMRON representative.
  • Page 9: Device Configuration

    Power PMAC IDE Ver.4.2.1.19 Precautions for Correct Use Prepare the ESI file described in this section in advance. Contact your OMRON representative for information on how to procure the ESI file. Precautions for Correct Use Do not share the connection line of EtherCAT communications with other Ethernet networks.
  • Page 10: Ethercat Connection Procedure

    6. EtherCAT Connection Procedure This section describes the procedures to connect the Controller and Servo Driver via EtherCAT, and to operate the motion control devices. The description assumes that the Controller is set to factory default. If an uninitialized Controller is used, the motion control devices may perform unexpected operations upon power-on depending on the Controller status, resulting in a personal injury to the user.
  • Page 11 ▼ 6.5.2 Motor Setup ▼ 6.5.3 Creation of Operation Check Programs ▼ 6.5.4 Project Data Transfer and Operation Check...
  • Page 12: Preparation For The Controller Setup

    6.2. Preparation for the Controller Setup Prepare the Controller settings. Install Power PMAC IDE on the computer in advance. 6.2.1. Creation of a New Project Turn on the power to the Controller. Start Power PMAC IDE. * If the dialog for confirming access rights appears upon start-up, select starting of Power PMAC IDE.
  • Page 13 From the File menu, select New then Project. Enter a project name and location, and select OK.
  • Page 14 6.2.2. Initial Settings of the Controller Configure the initial settings for the Controller. Precautions for Correct Use Configuring the initial settings clears all data in the Controller memory. Back up necessary data in advance. In the Terminal tab page, type the $$$*** command to reset the Controller to factory default.
  • Page 15 Specify Servo Frequency. Select the Servo Frequency setting from 4 kHz, 2 kHz, or 1 kHz. Click the Accept button. If you have changed the servo frequency setting, type the save command in the Terminal tab page of Power PMAC IDE. When complete, the “Save Complete”...
  • Page 16 In the Device Properties dialog box, select No Device for IP Address, then click the Apply button. This operation sets the Controller to the offline state. Restart the Controller. The servo frequency that has been set is reflected. Wait until the startup process of the Controller is complete.
  • Page 17: Installation Of Esi Files

    Install the ESI file for Servo Driver into Power PMAC IDE. Precautions for Correct Use Prepare the ESI file described in this section in advance. Contact your OMRON representative for information on how to procure the ESI file. From the EtherCAT menu of Power PMAC IDE, select ESI Manager.
  • Page 18 Depending on the Controller status, unexpected operations of the motion control devices may occur when the power to the Controller is turned on, resulting in a personal injury to the user. Pay attention to safety when the power is turned on. Precautions for Correct Use Before taking the following steps, make sure that the devices are connected via an Ethernet cable.
  • Page 19 In the Master tab page, specify a communication period for Cycle Time [us]. * You must specify the communication period in accordance with the servo frequency of the Controller. 1000 us is set in this document. Correspondence between the servo frequencies of the Controller and communication periods is as follows: 4 kHz : 250 us 2 kHz : 500 us...
  • Page 20 6.4.2. Distributed Clock Setup Setting Distributed Clocks (DC) for Master In the Master0 (Deactivated) tab page, select Distributed Clocks tab. Select Master Shift (EtherCAT Master Time controlled by Reference Clock).
  • Page 21 Setting Distributed Clock (DC) for the Slave In the Solution Explorer, select the target slave and display the Distributed Clock tab page. Select the Overwrite Mode check box and specify Shift Time. Correspondence between the servo frequencies of the Controller and the Shift Time values is as follows: 4 kHz : 125 us 2 kHz : 250 us 1 kHz : 500 us...
  • Page 22 6.4.3. PDO Map Settings PDO entries without axis settings are subjected to PDO communications as indefinite values. For this reason, unexpected operations of the motion control devices may occur, resulting in a personal injury to the user. Only objects to be configured in Section 6.5.2. Motor Setup must be mapped to PDO entries.
  • Page 23 Setting PDO mapping (Outputs) Clear the 258th receive PDO Mapping 0x1701 check box in the Outputs field. Select the 258th receive PDO Mapping 0x1704 check box.
  • Page 24 6.4.4. Creation of an EtherCAT Network Information File Select System – EtherCAT in the Solution Explorer and right-click on Master0 (Deactivated), then select Load Mapping to PowerPMAC. An eni.xml file is added under the Configuration directory in the Solution Explorer.
  • Page 25: Controller Settings

    An ECATMap.pmh file is added under the PMAC Script Language/Global Includes directory in the Solution Explorer. 6.5. Controller Settings 6.5.1. EtherCAT Communications Check Take the following steps to ensure that EtherCAT communications are available. From the Terminal tab page, run the ECAT[0].Enable=1 command to start EtherCAT communications.
  • Page 26 After making sure that correct communications are available, run the ECAT[0].Enable=0 command from the Terminal tab page to stop EtherCAT communications. In the Terminal tab page or Watch Window, make sure that the ECAT[0].Enable value turns to 0.
  • Page 27 6.5.2. Motor Setup Configure the motor settings for the Controller. Select System – Motor in the Solution Explorer and right-click on it, then select Add a Motor…. Adding motor #1 Specify 1 for Motor Number and click the OK button. Select Amplifier.
  • Page 28 Setting motor Amplifier Specify the settings as shown on the right. Click the Accept button to apply the settings. Manufacturer Select OMRON Corporation. Part Number Select #x00000002. 4.ECAT Slave Settings Enter a slave number into Slave Number. Select Encoder.
  • Page 29 Specify the settings as shown on the right. Click the Accept button to apply the settings. Control Type Select Cyclic Position. Primary Feedback Select ECAT. Select Hardware Interface.
  • Page 30 Specify the settings as shown on the right. Click the Accept button to apply the settings. Command Signal Channel Select #x607A(Target Position), and specify the motor control indication value for Target Position. Amplifier Enable Signal Output Channel Select #x6040(Controlword), and specify Controlword for the motor output.
  • Page 31 In the programming area of the &1; prog1.pmc tab page, write a #1->131072X; program as shown on the right. OPEN PROG 1 INC; This example program rotates a TA800; motor in the normal direction, TS300; LINEAR; stops the rotation, then repeats While (1 <...
  • Page 32 In the programming area of the open plc 1 plc1.plc tab page, write a while(sys.ecatMasterReady==0){}; program as shown on the right. P1000=Sys.Time+1; while(P1000>Sys.Time){}; This example program turns a servo ON, starts user program 1 ECAT[0].Enable=1; for the motor, then exits periodic P1000=Sys.Time+1;...
  • Page 33 Setting motor control parameters In the Solution Explorer pane, open Project name – PMAC Script Language – Global Includes – global definitions.pmh. In the programming area of the Motor[1].FatalFeLimit=0; Motor[1].AbortTa= -0.1; global definitions.pmh tab page, Motor[1].AbortTs= 0; write the set values to be set Motor[1].MaxSpeed= 5000;...
  • Page 34 6.5.4. Project Data Transfer and Operation Check Transfer the created project data to the Controller. When a project is transferred, the program starts automatically and the motor starts rotating. When the user program and “configuration and setting” data are transferred from Power PMAC IDE, devices or the machine may perform unexpected operations.
  • Page 35 Downloading a project Right-click the project name in the Solution Explorer pane on the upper right of the IDE screen, and select Build and Download All Programs to run the build and download. * The transferred project is not yet saved to the Controller at this stage.
  • Page 36: Appendix Saving And Loading A Project

    After you have confirmed an appropriate operation, save the project to the Controller. Run the save command from the Terminal tab page. * The save command stores the downloaded project in the Controller. This operation saves the settings to be executed automatically when the power to the Controller is turned on.
  • Page 37 Right-click on the Configuration File, and from the menu, select Check To Download Config File to include it in files to be downloaded. Saving a Project In the File menu, run Save All to save the project on the computer.
  • Page 38: Loading And Downloading A Project

    7.2. Loading and Downloading a Project Start Power PMAC IDE, and connect to the Controller. In the Terminal tab page, type the $$$*** command to reset the Controller settings to factory default. In the File menu, click Open – Project/Solution to load the project that you saved.
  • Page 39 Right-click the project name in the Solution Explorer pane, and select Build and Download All Programs to run the build and download. When the download process is complete, make sure that there are no errors in the Output Window. Stopping a program If a program is running, execute the following command from the Terminal tab page to stop the...
  • Page 40 Saving the downloaded settings and programs After the download process is complete and you make sure that there are no errors in the Output Window, run the save command from the Terminal tab page. * The save command stores the downloaded project in the Controller.
  • Page 41: Appendix Troubleshooting

    8. Appendix Troubleshooting 8.1. Factors Causing EtherCAT Communications To Be Unavailable, and Corrective Actions Description Factor Corrective Action The link is not established. The Ethernet cable is broken or If the Ethernet cable is broken the specified cable is not being or if the specified cable was not used.
  • Page 42: How To Check For Errors

    8.2. How to Check for Errors 8.2.1. Checking the EtherCAT Status You can check the EtherCAT status from Diagnosis Mode of Power PMAC IDE. Right-click on Master0 (Deactivated) under EtherCAT in the Solution Explorer, then select Diagnosis Mode to open the Diagnosis Mode page.
  • Page 43 You can check the status of the slaves in the Diagnosis Mode page. 8.2.2. Checking the Controller Status In the Status page of Power PMAC IDE, you can check the status of the motor, coordinate system, and system. To display the Status page, click Status on the toolbar. ...
  • Page 44  Motor Status You can check deviation errors, limit errors, and other states of the motor.  Coordinate Status You can check deviation errors, limit errors and other states of the coordinate system.
  • Page 45: Appendix Ecat[I] Structure Elements

    9. Appendix ECAT[i] Structure Elements The Controller uses motion controller technology developed by Delta Tau Data Systems, Inc., (hereafter referred to as DT) in the U.S., however, the ECAT[i] structure elements differ from those of DT controllers. The following table shows the major changes that have been made from DT controllers.
  • Page 46: Revision History

    10. Revision History Revision Revised date Revised content code 5-Apr, 2019 First edition...
  • Page 47 Note: Do not use this document to operate the Unit. 2019 O038-E1-01 0419 (0419)

Table of Contents