Page 2
Introduction ■ This guide provides reference information together with case examples on using the sample project for the Easy Tuning Library and merging them with the user application. It does not provide safety information. Be sure to obtain the related manuals, read and understand the safety points and other information required for use, and test sufficiently before actually using the equipment.
Note about Use Please be aware of and accept the following when you introduce or use Omron products: (1) Please use Omron products in compliance with usage conditions including rating and performance limits.
Page 4
(4) When using Omron products, please make sure to (i) maintain a margin of safety between the published rated and performance values, and the application requirements, (ii) design to minimize risks to customer application in case of failure...
Page 5
The warranty set out in these Terms and Conditions is the whole and sole liability for Omron products. There are no other warranties, expressed or implied. Omron and the distributors of Omron products are not liable for any damages which may arise from or be related to Omron products.
(5) The information in this guide is current as of September 2019. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this guide is subject to change without notice.
Introduction 3-1 Overview This guide describes the procedure to use, operate and partially customize the NJ/NX sample program and NA sample pages that are intended to adjust gains of the 1S-series Servo System ( R88D-1SN□-ECT/R88D-1SAN□-ECT, R88M-1□) using the NJ/NX-series Machine Automation Controller (hereinafter called “NJ/NX”) and NA-series Programmable Terminal (hereinafter called “NA”).
Applicable Products The sample project file described in this guide covers the following products: Name Model Version NX-series NX701-□□□□ Version 1.08 or later Machine Automation Controller NJ-series NJ501-1□□□ Version 1.08 or later Machine Automation Controller NA-series NA5-12W101□ Version 1.03 or later Programmable Terminal Sysmac Studio SYSMAC-SE2□□□...
How To Use NA Sample Pages This section describes how to use the NA sample pages. 5-1 NA Sample Pages Functions The NA sample pages include the following functions: Function Description Easy Tuning This function allows you to easily adjust gains of servomotors from the NA.
5-4 Operation Procedure for Easy Tuning This section describes the procedure to adjust the gains of servomotors using Easy Tuning. 1. Main Menu Press the “Easy Tuning” button. (The Axis Selection Page appears.) Press a flag button on this page to change the display language. Flag button Description Change the display language to Japanese.
Page 13
2. Axis Selection Page Press the “Select” button next to the type of the motor to tune. (The selected “Select” button turns blue.) Press the “Next” button. (The Tuning Method Selection Page appears.) Note: 1. Refer to 6-1 Adding and Deleting Axes for how to add and delete axes. 2.
Page 14
3. Tuning Method Selection Page Select the tuning method and press the “Next” button. (The Issuing Command Setting Page appears.) Tuning is performed based on the selection for the following items. Item Option Description Inertia ratio Update The amount of load inertia is automatically estimated according to the and the setting of Inertia Ratio (3001 hex - 01 hex) is estimation result...
Page 15
4. Motion Profile Setting Page Set the motor rotation direction, travel amount, command speed, and acceleration and *1, *2 deceleration speed during tuning *1. The same motion profile is applied to all the selected axes. *2. The command units of the axis that you selected first on the Axis Selection page are displayed as the operation command units.
Page 16
Completion of the tuning is determined based on the selection for the following items. Item Option Description Stabilization time Manual setting Set the stabilization time that is applied as the tuning completion condition. Automatic The function block automatically sets the adjustment stabilization time as short as possible within the range that does not cause micro vibration...
Page 17
6. Tuning Execution Page Press the “Start” button to start auto tuning. (The Tuning Monitor Page appears.) When the completion criteria are satisfied, torque is saturated or torque vibration of the motor is detected, the auto tuning is finished. *1. The Servo Drive Unit Version 1.2 or later can detect torque saturation. Precautions for Correct Use Be careful because the motor will start running by pressing the “Start”...
Page 18
7. Tuning Monitor Page Make sure that the Status changed to “Normal end” and press the “Next” button. (The Tuning Result Check Page appears.) Stopping the tuning Press the “Stop” button. The tuning and commands for the axis to tune are aborted. Please note that the motor will not stop immediately depending on the operation command.
Page 19
Additional Information Depending on the machine and tuning conditions, tuning may be aborted if torque vibration or saturation is detected in the motor during the tuning. In that case, take the following measures and perform the tuning again. Change the criteria for finishing the tuning If the setting values for in-position width and/or stabilization time are too small, it is difficult to satisfy the completion criteria.
Modifying the Program This section describes how to modify the NJ/NX sample program. Use the Sysmac Studio to modify the program. For details on operating the Sysmac Studio, refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504). 6-1 Adding and Deleting Axes The sample project file includes the NJ/NX sample program (hereinafter called “NJ/NX project”) and the NA sample pages (hereinafter called “NA project”).
Page 21
1st line Function block (FB_1SEasyTuningReadServoInfo) Note: When adding a circuit part, change the instance variable name of the function block, axis variable names, and number of Tuning_Parameters[].Servo_Info. 2nd line Input, output, and function block Note: When adding circuit parts, change the instance variable name of the function block, axis variable names, and number of Tuning_Parameters[].
Page 22
3rd line Input and function block Note: When adding circuit parts, change the instance variable name of the function block, axis variable names, and number of Tuning_Parameters[]. 4th and 5th lines Add the same circuit parts as the 4th and 5th lines. Note: Change the numbers of ErrorID_0, ErrorIDEx_0, and Tuning_Parameters[].
2. Replace the 3rd line of the ladder program with your desired program. Additional Information Set the dwell time in the operation command. For details, refer to the EasyTuning_1S in the Sysmac Library User’s Manual for 1S Series Library (Cat. No. W571). ® EtherCAT...
Merging with the User Project This section describes how to merge the NJ/NX project and the NA project with the user-designed project (user project). Use the Sysmac Studio to merge the projects. For details on operating the Sysmac Studio, refer to the Sysmac Studio Version 1 Operation Manual (Cat.
7-2 Merging Flow The following is the procedure required to merge the NJ/NX project and NA project in the sample project file with those in the user project. Merging NJ/NX projects Refer to a library file Copy data types Copy global variables Copy POUs ・...
7-3 Merging NJ/NX Projects This section describes the procedure to merge the NJ/NX projects. 7-3-1 Referring to a Library File The NJ/NX project in the sample project file employs the Easy Tuning Library. To use the Easy Tuning Library in the user project after merging, open the Library Reference Dialog Box from the user project and read the following library file.
7-3-5 Resetting a task The following task is set in the NJ/NX project in the sample project file. Task name Task type Period Priority Remarks PrimaryTask Primary periodic task 2 ms If a task with the same settings exists in the user project, assign the merged program to the task.
Page 28
7-4-3 Copying Data Types In the NA project in the sample project file, the data types of the global variables required to interface with the NJ/NX and to control the NA pages are declared. Copy all the information to the user project. 7-4-4 Copying Global Variables In the NA projects in the sample project file, the global variables required to interface with the NJ/NX and to control the NA pages are declared.