Omron 1S Series Startup Manual

Programmable multi-axis controller
Hide thumbs Also See for 1S Series:

Advertisement

Quick Links

Programmable Multi-Axis Controller
Startup Guide
for 1S-Series Servo Drive
(IDEv4)
CK5M-CPU1
1
CK3M-CPU1
1
CK3E-

O039-E1-02

Advertisement

Table of Contents
loading

Summary of Contents for Omron 1S Series

  • Page 1 Programmable Multi-Axis Controller Startup Guide for 1S-Series Servo Drive (IDEv4) CK5M-CPU1 1 CK3M-CPU1 1 CK3E-  O039-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: 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 all or part of this document without the permission of OMRON Corporation. (5) The information contained in this document is current as of September 2022. 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 (1S-series EtherCAT communication built-in type, hereafter referred to as Servo Driver) using the motion program for OMRON Programmable Multi-Axis Controller (hereafter referred to as the Controller), model CK3E-□□□□/CK3M-CPU11/ CK5M-CPU11/, 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.6 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. 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...
  • Page 13 From the File menu, select New then Project. Enter a project name, and select OK.
  • Page 14 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, click the No Device 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. Then click Delta Tau –...
  • 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: Ethercat Communications Setup

    6.4. EtherCAT Communications Setup Set up EtherCAT communications. 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 Make sure that the slave is displayed in the Solution Explorer. Distributed Clock Setup Setting Distributed Clocks (DC) for Master In the Master0 (Deactivated) tab page, select Distributed Clocks tab.
  • Page 21 Select Master Shift (EtherCAT Master Time controlled by Reference Clock).
  • Page 22 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 23 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 24 Setting PDO mapping (Outputs) Make sure that the 258th receive PDO Mapping 0x1701 check box is selected in the Outputs field. Clear the 273th receive PDO Mapping 0x1710 check box if it is selected in the Outputs field. Creation of an EtherCAT Network Information File Select System –...
  • Page 25 An eni.xml file is added under the Configuration directory in the Solution Explorer. An ECATMap.pmh file is added under the PMAC Script Language/Global Includes directory in the Solution Explorer.
  • Page 26: Controller Settings

    6.5. Controller Settings 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. In the Terminal tab page or Watch Window, make sure that the ECAT[0].Enable value turns to 1.
  • Page 27 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, EtherCAT for Topology and click the OK button. Select EtherCAT Slave Drive.
  • Page 28 Setting EtherCAT Slave Drive Specify the slave drive as shown on the right. Click the save button to apply the settings. Select Hardware Interface.
  • Page 29 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 30 Creation of Operation Check Programs Create programs to be used to check operations. A specific language is used for the operation check programs. Refer to Power PMAC User’s Manual and Power PMAC Software Reference Manual for details. Creating the Motion program In the Solution Explorer, open Project name –...
  • Page 31 Creating the PLC program In the Solution Explorer, open Project name – PMAC Script Language – PLC Programs – plc1.plc. 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. ECAT[0].Enable=1;...
  • Page 32 Setting the start of the user program In the Solution Explorer, open Project name – Configuration – pp_startup.txt. In the programming area of the pp_startup.txt tab page, add the enable plc 1; program shown on the right to the last line. The pp_startup.txt program is automatically executed when the Controller starts.
  • Page 33 Setting motor control parameters In the Solution Explorer, 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 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 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 on the Controller at this stage.
  • Page 36 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: Appendix Saving And Loading A Project

    7. Appendix Saving and Loading a Project The following describes the procedures to save a Power PMAC IDE project on the computer, and to reuse it. 7.1. Saving a Project Creating a Configuration File Create a Configuration File to save parameters you have changed.
  • Page 38 Saving a Project In the File menu, run Save All to save the project on the computer.
  • Page 39: 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 40 Right-click the project name in the Solution Explorer, 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 41 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 42: Appendix Using Safety Function

    8. Appendix Using Safety Function To use the STO function in EtherCAT communications, you need to configure the settings for the EtherCAT master and Safety CPU Unit. 8.1. Device Configuration The following shows an example of hardware components connected to the safety controller. Model NX-ECC203 Model CK3M-CPU1□1 Model NX-SL3500...
  • Page 43 ▼ 8.3.7 Output of Coupler I/O Allocations ▽ 8.4 Preparation for the Controller Prepare the Controller settings. Setup ▽ 8.5 Installation of ESI Files Install the ESI file for slaves into Power PMAC IDE. ▽ 8.6 EtherCAT Communications Setup Set up EtherCAT communications. ▼...
  • Page 44: Ethercat Coupler Unit Settings

    8.3. EtherCAT Coupler Unit Settings Configure the slave terminal settings for the EtherCAT Coupler Unit. Prepare a computer with Sysmac Studio installed. Windows computer Sysmac Studio Model NX-ECC203 Model NX-SL3500 Model NX-ID3417 Model NX-SID800 Model NX-OD3256 Model NX-SOD400 Additional Information For the setting procedures for the EtherCAT Coupler Unit and Safety CPU Unit, also refer to Programmable Multi-Axis Controller Startup Guide for EtherCAT®...
  • Page 45 Create a project in the Sysmac Studio. Enter Project name and other items of information. Select 1.10 for Version, then, click Create. Network Configuration Settings Double-click EtherCAT under Configurations and Setup in the Multiview Explorer. Select EtherCAT Coupler Unit NX-ECC203 in the toolbox, and drag and drop it directly below the master in the EtherCAT Configuration Edit tab page.
  • Page 46 Right-click NX-ECC203 in the Multiview Explorer, and select Coupler Connection (USB) then Online. After you have confirmed the destination of the USB connection, click the OK button. Double-click NX-ECC203 in the Multiview Explorer to open the NX-ECC203 edit page. Right-click in the NX-ECC203 tab page and select Compare and Merge with Actual Unit Configuration from the menu.
  • Page 47 Right-click NX-ECC203 in the Multiview Explorer, and select Coupler Connection (USB) then Offline. Precautions for Correct Use You can read only the Unit configuration in the Slave Terminal by comparing and merging with the actual Unit configuration. You cannot read the I/O allocation information, Unit operation settings, and Unit application data.
  • Page 48 I/O Map Settings Configure the PDO mapping settings for Servo Driver. Select R88D-1SN01L-ECT, then click Edit PDO Map Settings. In the Edit PDO Map Settings page, select output 273th and input 273th, then click OK. In the Multiview Explorer, select Configurations and Setup, then I/O map tab page to open the I/O map pane.
  • Page 49 Right-click on EtherCAT Network, and select Create Device Variable from the menu. Safety I/O Function Settings From the controller selection box in the Multiview Explorer, select the target Safety CPU Unit. Double-click Parameters under NX-SID800 of Configurations and Setup. Select an output device according to the type of external device that is connected to the safety input...
  • Page 50 Double-click Parameters under NX-SOD400 of Configurations and Setup. Select an input device according to the type of external device that is connected to the safety output terminal from the tool box, and drag and drop it on to output terminal So00. Creation of Safety Programs Registering programs Right-click Programs under...
  • Page 51 Select the tab for internal variables, and then register and edit the local variables. Name : s_StartReset DataType : SAFEBOOL Initial Value : TRUE Name : s_AutoReset DataType : SAFEBOOL Initial Value : TRUE Register and edit the local variables. Name : activate DataType : SAFEBOOL Initial Value : FALSE...
  • Page 52 Select Controller, then Communications Setup from the menu. Select Connect via Coupler in the Communications Setup dialog box, then click the OK button. Select Controller, then Online from the menu. The unit is in online connection with slave terminals. From the controller selection box in the Multiview Explorer, select a Controller Unit.
  • Page 53 Output of Coupler I/O Allocations Select Controller, then Offline from the menu. Double-click EtherCAT under Configurations and Setup in the Multiview Explorer. Right-click on Master, then select Export All Coupler’s I/O Allocations. Changing to DEBUG Mode Select the Safety CPU Unit from the Controller Selection Box in the Multiview Explorer.
  • Page 54 The following Connect to Safety Device Dialog Box is displayed. Click the Yes Button. The following transfer confirmation Dialog Box is displayed. Click the safety of the system and then click the Yes Button. The following password confirmation dialog box is displayed.
  • Page 55 Click the Yes Button. Click the OK Button Changing to RUN Mode Select Mode – RUN Mode from the Controller Menu. Click the Yes Button. Click the Yes Button. Click the OK Button.
  • Page 56: Preparation For The Controller Setup

    Click the OK Button. 8.4. Preparation for the Controller Setup Perform the procedure provided in 6.2 Preparation for the Controller Setup. 8.5. Installation of ESI Files Perform the procedure provided in 6.3 Installation of ESI Files. 8.6. EtherCAT Communications Setup Communications Setup for the EtherCAT Master Perform the procedure provided in 6.4.1 Communications Setup for the EtherCAT Master.
  • Page 57 Safety Controller Variable Settings (1) Checking the coupler I/O allocations Decompress the ZIP file you saved in 0 Output of Coupler I/O Allocations, open the expanded “CouplerMemoryMap.xml”, and check the contents. (2) Setting Input Data Register the following input data. - Slot1(NX-SL3500)Input Data Set1 - Slot1(NX-SL3500)Input Data Set2 Select a safety controller in the...
  • Page 58 [Slot1(NX-SL3500)Input Data Set1] Registering Node1/Unit2 (NX-SID800) Click New in the Variables tab page, and register 4 variables shown on the right. FSoE Slave CMD #x6020:01 USINT Group: Module 1(NX-SL3500).Input Data Set 1 Datatype: USINT Count: 1 Safety Input 1st Word #x6021:01 UINT FSoE Slave CRC_0...
  • Page 59 [Slot1(NX-SL3500)Input Data Set1] FSoE Master CMD #xE700:01 USINT Registering Node2 Group: Module 1(NX-SL3500).Input Data Set 1 Datatype : USINT Click New in the Variables tab Count : 1 page, and register 19 variables shown on the right. STO Command #x6640:00 BOOL BOOL BOOL...
  • Page 60 Checking Input Data Make sure that the settings (Input) in the Variables tab page are correct. (3) Setting Output Data Register the following output data. - Slot1(NX-SL3500)Output Data Set1 - Slot1(NX-SL3500)Output Data Set2 Select a safety controller in the Solution Explorer pane of Power PMAC IDE.
  • Page 61 [Slot1(NX-SL3500)Output Data Set1] FSoE Master CMD #x7040:01 USINT Registering Node1/Unit3 Safety Output 1st Byte #x7041:01 USINT (NX-SOD400) Group: Module 1(NX-SL3500).Output Data Set 1 Datatype : USINT Click New in the Variables tab Count : 2 page, and register 4 variables shown on the right.
  • Page 62 [Slot1(NX-SL3500)Output Data Set1] FSoE Slave CMD #xE600:01 USINT Registering Node2 Group: Module 1(NX-SL3500).Output Data Set 1 Datatype : USINT Click New in the Variables tab Count : 1 page, and register three variables shown on the right. STO Command #x6640:00 BOOL BOOL BOOL...
  • Page 63 Checking Output Data Make sure that the settings (Output) in the Variables tab page are correct. 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.
  • Page 64 Setting PDO mapping (Inputs) Make sure that the 258th transmit PDO Mapping 0x1B01 , 273th transmit PDO Mapping 0x1B10 check boxes are selected. Setting PDO mapping (Outputs) Make sure that the 258th receive PDO Mapping 0x1701 and 273th receive PDO Mapping 0x1710 check boxes are selected.
  • Page 65 Select Master in the Solution Explorer of Power PMAC IDE. Display the Slave to Slave tab page. Expand Slave_1001 [NX-ECC203] – Module 1 (NX-SL3500).Input Data Set 1 in Inputs. Expand Slave_1001 [NX-ECC203] – Module 2 (NX-SID800).Output Data Set 1 Associate the following items: in Outputs.
  • Page 66 Expand Slave_1001 [NX-ECC203] – Module 1 (NX-SL3500).Input Data Set 1 in Inputs. Expand Salve_002 – Module 1 (Safety Process Data). 273th receive PDO Mapping in Outputs. Associate the following items: Inputs Outputs Select an Inputs item, then Variable 8 FSoE Master Command select the corresponding Variable 9 Outputs item and click >>.
  • Page 67: Controller Settings

    Expand Slave_1001[R88D-1SN01L-EC T] – Module 1 (Safety Process Data). 273th receive PDO Mapping in Inputs. Expand Module 1 (NX-SL3500).Output Data Set 1 in Outputs. Associate the following items: Inputs Outputs Select an Inputs item, then FSoE Slave Command Variable 8 select the corresponding Variable 9 Outputs item and click >>.
  • Page 68: Appendix Troubleshooting

    9. Appendix Troubleshooting 9.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 69: How To Check For Errors

    9.2. How to Check for Errors 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 You can check the status of the slaves in the Diagnosis Mode page.
  • Page 71 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.  Global Status You can check system errors such as the WDT error.
  • Page 72  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 73: Appendix Ecat[I] Structure Elements

    10. 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 74: Revision History

    11. Revision History Revision Revised date Revised content code Apr, 2019 First edition Jan, 2023 ・Made changes accompanying the addition of CK5M-CPU1 □1 Unit. ・Made changes accompanying the modification of GUI of PowerPMAC IDE.
  • Page 76 Tel: (31) 2356-81-300 Fax: (31) 2356-81-388 Tel: (1) 847-843-7900 Fax: (1) 847-843-7787 ©OMRON Corporation 2019 - 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:

Ck5m-cpu1 1 seriesCk3m-cpu1 1 seriesCk3e series

Table of Contents