Omron NJ and NX Series CPU Unit Motion Control Owner's manual

Category
Software
Type
Owner's manual
Machine Automation Controller
NJ/NX-series
CPU Unit
CPU Unit
Motion Control
User’s Manual
W507-E1-23
NX701-1
NX102-1
NX102-90
NX1P2-1
NX1P2-9
NJ501-
NJ301-1
NJ101-10
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in
any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior
written permission of OMRON.
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 manual is
subject to change without notice. Every precaution has been taken in the preparation of this manual. Neverthe-
less, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages
resulting from the use of the information contained in this publication.
• Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other
countries for OMRON factory automation products.
• Microsoft, Windows, Excel, and Visual Basic are either registered trademarks or trademarks of Microsoft Corpora-
tion in the United States and other countries.
• EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany.
• ODVA, CIP, CompoNet, DeviceNet, and EtherNet/IP are trademarks of ODVA.
• The SD and SDHC logos are trademarks of SD-3C, LLC.
Other company names and product names in this document are the trademarks or registered trademarks of their
respective companies.
Trademarks
Copyrights
NOTE
• Microsoft product screen shots reprinted with permission from Microsoft Corporation.
• This product incorporates certain third party software. The license and copyright information associated with this
software is available at http://www.fa.omron.co.jp/nj_info_e/.
Introduction
Thank you for purchasing an NJ/NX-series CPU Unit.
This manual contains information that is necessary to use the Motion Control Function Module of an
NJ/NX-series CPU Unit. Please read this manual and make sure you understand the functionality and
performance of the NJ/NX-series CPU Unit before you attempt to use it in a control system.
Keep this manual in a safe place where it will be available for reference during operation.
Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical sys-
tems (an electrical engineer or the equivalent).
Personnel in charge of introducing FA systems.
Personnel in charge of designing FA systems.
Personnel in charge of installing and maintaining FA systems.
Personnel in charge of managing FA systems and facilities.
For programming, this manual is intended for personnel who understand the programming language
specifications in international standard IEC 61131-3 or Japanese standard JIS B 3503.
Applicable Products
This manual covers the following products.
NX-series CPU Units
• NX701-17££
• NX701-16££
• NX102-12££
• NX102-11££
• NX102-10££
• NX102-90££
• NX1P2-11££££
• NX1P2-11££££1
• NX1P2-10££££
• NX1P2-10££££1
• NX1P2-90££££
• NX1P2-90££££1
• NX1P2-9B££££
• NX1P2-9B££££1
NJ-series CPU Units
• NJ501-£5££
• NJ501-£4££
• NJ501-£3££
• NJ301-12££
• NJ301-11££
• NJ101-10££
Introduction
1
NJ/NX-series CPU Unit Motion Control Users Manual (W507)
Part of the specifications and restrictions for the CPU Units are given in other manuals. Refer to Rele-
vant Manuals on page 3 and Related Manuals on page 28.
Introduction
2NJ/NX-series CPU Unit Motion Control Users Manual (W507)
Relevant Manuals
The following table provides the relevant manuals for the NJ/NX-series CPU Units. Read all of the
manuals that are relevant to your system configuration and application before you use the NJ/NX-ser-
ies CPU Unit.
Most operations are performed from the Sysmac Studio Automation Software. Refer to the Sysmac
Studio Version 1 Operation Manual (Cat. No. W504) for information on the Sysmac Studio.
Manual
Basic information
Purpose of use
NX-series CPU Unit
Hardware Users Manual
NX-series NX102 CPU Unit
Hardware Users Manual
NX-series NX1P2 CPU Unit
Hardware Users Manual
NJ-series CPU Unit
Hardware Users Manual
NJ/NX-series CPU Unit
Software Users Manual
NX-series NX1P2 CPU Unit
Built-in I/O and Option Board User's Manual
NJ/NX-series
Instructions Reference Manual
NJ/NX-series CPU Unit
Motion Control Users Manual
NJ/NX-series
Motion Control Instructions Reference Manual
NJ/NX-series CPU Unit
Built-in EtherCAT Port User´s Manual
NJ/NX-series CPU Unit
Built-in EtherNet/IP Port Users Manual
NJ/NX-series CPU Unit OPC UA
Users Manual
NX-series CPU Unit
FINS Users Manual
NJ/NX-series Database Connection CPU Units
User's Manual
NJ-series SECS/GEM CPU Units
User's Manual
NJ-series Robot Integrated CPU Unit
Users Manual
NJ-series NJ Robotics CPU Unit
User's Manual
NJ/NY-series NC Integrated Controller
Users Manual
NJ/NX-series
Troubleshooting Manual
Introduction to NX701 CPU
Units ¡
Introduction to NX102 CPU
Units
¡
Introduction to NX1P2 CPU
Units ¡
Introduction to NJ-series Con-
trollers ¡
Setting devices and hardware
¡¡¡¡
Using motion control ¡
Using EtherCAT ¡
Using EtherNet/IP ¡
Using robot control for OM-
RON robots ¡
Relevant Manuals
3
NJ/NX-series CPU Unit Motion Control Users Manual (W507)
Manual
Basic information
Purpose of use
NX-series CPU Unit
Hardware Users Manual
NX-series NX102 CPU Unit
Hardware Users Manual
NX-series NX1P2 CPU Unit
Hardware Users Manual
NJ-series CPU Unit
Hardware Users Manual
NJ/NX-series CPU Unit
Software Users Manual
NX-series NX1P2 CPU Unit
Built-in I/O and Option Board User's Manual
NJ/NX-series
Instructions Reference Manual
NJ/NX-series CPU Unit
Motion Control Users Manual
NJ/NX-series
Motion Control Instructions Reference Manual
NJ/NX-series CPU Unit
Built-in EtherCAT Port User´s Manual
NJ/NX-series CPU Unit
Built-in EtherNet/IP Port Users Manual
NJ/NX-series CPU Unit OPC UA
Users Manual
NX-series CPU Unit
FINS Users Manual
NJ/NX-series Database Connection CPU Units
User's Manual
NJ-series SECS/GEM CPU Units
User's Manual
NJ-series Robot Integrated CPU Unit
Users Manual
NJ-series NJ Robotics CPU Unit
User's Manual
NJ/NY-series NC Integrated Controller
Users Manual
NJ/NX-series
Troubleshooting Manual
Software settings
¡
Using motion control ¡
Using EtherCAT ¡
Using EtherNet/IP ¡
Using OPC UA ¡
Using FINS ¡
Using the database connec-
tion service ¡
Using the GEM Services ¡
Using robot control for OM-
RON robots ¡
Using robot control by NJ Ro-
botics function ¡
Using numerical control ¡
Using the NX1P2 CPU Unit
functions ¡
Writing the user program
¡ ¡
Using motion control ¡ ¡
Using EtherCAT ¡
Using EtherNet/IP ¡
Using OPC UA ¡
Using FINS ¡
Using the database connec-
tion service ¡
Using the GEM Services ¡
Using robot control for OM-
RON robots ¡
Using robot control by NJ Ro-
botics function ¡
Using numerical control ¡
Programming error process-
ing ¡
Using the NX1P2 CPU Unit
functions ¡
Relevant Manuals
4NJ/NX-series CPU Unit Motion Control Users Manual (W507)
Manual
Basic information
Purpose of use
NX-series CPU Unit
Hardware Users Manual
NX-series NX102 CPU Unit
Hardware Users Manual
NX-series NX1P2 CPU Unit
Hardware Users Manual
NJ-series CPU Unit
Hardware Users Manual
NJ/NX-series CPU Unit
Software Users Manual
NX-series NX1P2 CPU Unit
Built-in I/O and Option Board User's Manual
NJ/NX-series
Instructions Reference Manual
NJ/NX-series CPU Unit
Motion Control Users Manual
NJ/NX-series
Motion Control Instructions Reference Manual
NJ/NX-series CPU Unit
Built-in EtherCAT Port User´s Manual
NJ/NX-series CPU Unit
Built-in EtherNet/IP Port Users Manual
NJ/NX-series CPU Unit OPC UA
Users Manual
NX-series CPU Unit
FINS Users Manual
NJ/NX-series Database Connection CPU Units
User's Manual
NJ-series SECS/GEM CPU Units
User's Manual
NJ-series Robot Integrated CPU Unit
Users Manual
NJ-series NJ Robotics CPU Unit
User's Manual
NJ/NY-series NC Integrated Controller
Users Manual
NJ/NX-series
Troubleshooting Manual
Testing operation and debug-
ging
¡
Using motion control ¡
Using EtherCAT ¡
Using EtherNet/IP ¡
Using OPC UA ¡
Using FINS ¡
Using the database connec-
tion service ¡
Using the GEM Services ¡
Using robot control for OM-
RON robots ¡
Using robot control by NJ Ro-
botics function ¡
Using numerical control ¡
Using the NX1P2 CPU Unit
functions ¡
Learning about error manage-
ment and corrections*1 rrrrrrr¡
Maintenance
¡¡¡¡
Using motion control ¡
Using EtherCAT ¡
Using EtherNet/IP ¡
*1. Refer to the NJ/NX-series Troubleshooting Manual (Cat. No. W503) for the error management concepts and the error items. However,
refer to the manuals that are indicated with triangles for details on errors corresponding to the products with the manuals that are indi-
cated with triangles.
Relevant Manuals
5
NJ/NX-series CPU Unit Motion Control Users Manual (W507)
Manual Structure
Page Structure
The following page structure is used in this manual.
4-9
4 Installation and Wiring
NJ-series CPU Unit Hardware User’s Manual (W500)
s
t
i
n
U
gnitn
u
oM
3-4
4
s
t
ne
no
p
m
o
C
rel
l
o
r
t
n
oC
g
n
i
tc
e
n
noC
1
-
3-
4
4-3 Mounting Units
The Units that make up an NJ-series Controller can be connected simply by pressing the Units together
and locking the sliders by moving them toward the back of the Units. The End Cover is connected in the
same way to the Unit on the far right side of the Controller.
1Join the Units so that the connectors fit exactly.
2The yellow sliders at the top and bottom of each Unit lock the Units together. Move the sliders
toward the back of the Units as shown below until they click into place.
Precautions for Correct UsePrecautions for Correct Use
4-3-1 Connecting Controller Components
Connector
Hook Hook holes
Slider
Lock
Release
Move the sliders toward the back
until they lock into place.
Level 1 heading
Level 2 heading
Level 3 heading
Level 2 heading
A step in a procedure
Manual name
Special information
Level 3 heading
Page tab
Gives the current
headings.
Indicates a procedure.
Icons indicate
precautions, additional
information, or reference
information.
Gives the number
of the main section.
This illustration is provided only as a sample. It may not literally appear in this manual.
The sliders on the tops and bottoms of the Power Supply Unit, CPU Unit, I/O Units, Special I/O
Units, and CPU Bus Units must be completely locked (until they click into place) after connecting
the adjacent Unit connectors.
Special Information
Special information in this manual is classified as follows:
Precautions for Safe Use
Precautions on what to do and what not to do to ensure safe usage of the product.
Precautions for Correct Use
Precautions on what to do and what not to do to ensure proper operation and performance.
Manual Structure
6NJ/NX-series CPU Unit Motion Control Users Manual (W507)
Additional Information
Additional information to read as required.
This information is provided to increase understanding or make operation easier.
Version Information
Information on differences in specifications and functionality for Controller with different unit versions
and for different versions of the Sysmac Studio is given.
Precaution on Terminology
In this manual, "download" refers to transferring data from the Sysmac Studio to the physical Control-
ler and "upload" refers to transferring data from the physical Controller to the Sysmac Studio.
For the Sysmac Studio, "synchronization" is used to both "upload" and "download" data. Here,
"synchronize" means to automatically compare the data for the Sysmac Studio on the computer with
the data in the physical Controller and transfer the data in the direction that is specified by the user.
Manual Structure
7
NJ/NX-series CPU Unit Motion Control Users Manual (W507)
Manual Structure
8NJ/NX-series CPU Unit Motion Control Users Manual (W507)
Sections in this Manual
1
10
2
11
3
4
A
5
6
7
8
9
1
10
2
11
3
4 I
A
6
5
7
8
9
Sample Programming
Troubleshooting
Configuring Axes
and Axes Groups Appendices
Checking Wiring from
the Sysmac Studio Index
I
Motion Control Parameters
Motion Control Programming
Manual Operation
Homing
Motion Control Functions
Introduction to the
Motion Control
Function Module
Motion Control
Configuration and
Principles
10
11
A
1
2
3
4
I
Sections in this Manual
9
NJ/NX-series CPU Unit Motion Control Users Manual (W507)
CONTENTS
Introduction .............................................................................................................. 1
Intended Audience...........................................................................................................................................1
Applicable Products .........................................................................................................................................1
Relevant Manuals..................................................................................................... 3
Manual Structure...................................................................................................... 6
Page Structure.................................................................................................................................................6
Special Information ..........................................................................................................................................6
Precaution on Terminology ..............................................................................................................................7
Sections in this Manual ........................................................................................... 9
Terms and Conditions Agreement........................................................................ 16
Warranty, Limitations of Liability ....................................................................................................................16
Application Considerations ............................................................................................................................17
Disclaimers ....................................................................................................................................................17
Safety Precautions................................................................................................. 19
Precautions for Safe Use ...................................................................................... 20
Precautions for Correct Use ................................................................................. 21
Regulations and Standards .................................................................................. 22
Versions .................................................................................................................. 23
Checking Versions .........................................................................................................................................23
Unit Versions of CPU Units and Sysmac Studio Versions .............................................................................27
Related Manuals..................................................................................................... 28
Revision History..................................................................................................... 32
Section 1 Introduction to the Motion Control Function Module
1-1 Features ..................................................................................................................................1-2
1-2 System Configuration............................................................................................................1-3
1-3 Basic Flow of Operation........................................................................................................1-5
1-4 Specifications.........................................................................................................................1-7
1-4-1 General Specifications ................................................................................................................1-7
1-4-2 Performance Specifications ........................................................................................................1-7
1-4-3 Function Specifications .............................................................................................................1-11
Section 2 Motion Control Configuration and Principles
2-1 Internal Configuration of the CPU Unit ................................................................................2-2
2-2 Motion Control Configuration...............................................................................................2-3
2-3 Motion Control Principles .....................................................................................................2-5
CONTENTS
10 NJ/NX-series CPU Unit Motion Control Users Manual (W507)
2-3-1 CPU Unit Tasks ...........................................................................................................................2-5
2-3-2 Example of Task Operations for Motion Control........................................................................2-12
2-4 EtherCAT Communications and Motion Control ..............................................................2-19
2-4-1 CAN Application Protocol over EtherCAT (CoE) .......................................................................2-19
2-4-2 Relationship between EtherCAT Master Function Module and MC Function Module...............2-19
2-4-3 Relationship between Process Data Communications Cycle and Motion Control Period.........2-22
Section 3 Configuring Axes and Axes Groups
3-1 Axes ........................................................................................................................................3-2
3-1-1 Introduction to Axes ....................................................................................................................3-2
3-1-2 Introduction to Axis Parameters ..................................................................................................3-3
3-1-3 Introduction to Axis Variables ......................................................................................................3-6
3-1-4 Synchronizing Axis Variables ......................................................................................................3-8
3-1-5 Specifying an Axis in the User Program......................................................................................3-9
3-2 Axis Setting Procedure .......................................................................................................3-10
3-2-1 Axis Configuration Procedure ...................................................................................................3-10
3-2-2 Setting Procedure .....................................................................................................................3-10
3-3 Axes Groups.........................................................................................................................3-21
3-3-1 Introduction to Axes Groups......................................................................................................3-21
3-3-2 Introduction to Axes Group Parameters....................................................................................3-21
3-3-3 Introduction to Axes Group Variables........................................................................................3-22
3-3-4 Specifying an Axes Group in the User Program .......................................................................3-24
3-4 Setting Procedures for Axes Groups.................................................................................3-26
3-4-1 Setting Procedure for an Axes Group .......................................................................................3-26
3-4-2 Setting Procedure .....................................................................................................................3-26
Section 4 Checking Wiring from the Sysmac Studio
4-1 MC Test Run Function ...........................................................................................................4-2
4-1-1 List of MC Test Run Functions ....................................................................................................4-2
4-1-2 Application Procedure .................................................................................................................4-3
4-1-3 Axis Parameter Setting Example ................................................................................................4-4
4-1-4 Starting the MC Test Run Function .............................................................................................4-5
4-2 Monitoring Sensor Signals ...................................................................................................4-7
4-3 Checking Motor Operation....................................................................................................4-8
4-3-1 Turning ON the Servo .................................................................................................................4-8
4-3-2 Jogging........................................................................................................................................4-9
4-3-3 Homing........................................................................................................................................4-9
4-3-4 Absolute Positioning..................................................................................................................4-10
4-3-5 Relative Positioning................................................................................................................... 4-11
Section 5 Motion Control Parameters
5-1 Introduction ............................................................................................................................5-2
5-2 Axis Parameters.....................................................................................................................5-5
5-2-1 Axis Parameters..........................................................................................................................5-5
5-2-2 Axis Basic Settings......................................................................................................................5-8
5-2-3 Unit Conversion Settings...........................................................................................................5-13
5-2-4 Operation Settings ....................................................................................................................5-21
5-2-5 Other Operation Settings ..........................................................................................................5-24
5-2-6 Limit Settings.............................................................................................................................5-25
5-2-7 Position Count Settings.............................................................................................................5-26
5-2-8 Servo Drive Settings .................................................................................................................5-28
5-2-9 Homing Settings........................................................................................................................5-29
CONTENTS
11
NJ/NX-series CPU Unit Motion Control Users Manual (W507)
5-2-10 Axis Parameter Setting Example ..............................................................................................5-31
5-3 Axes Group Parameters ......................................................................................................5-34
5-3-1 Axes Group Parameters............................................................................................................5-34
5-3-2 Axes Group Basic Settings .......................................................................................................5-35
5-3-3 Axes Group Operation Settings ................................................................................................5-37
5-3-4 Enabling an Axes Group ...........................................................................................................5-38
Section 6 Motion Control Programming
6-1 Introduction ............................................................................................................................6-2
6-2 Motion Control Instructions..................................................................................................6-5
6-2-1 Function Blocks for PLCopen® Motion Control ...........................................................................6-5
6-2-2 Motion Control Instructions of the MC Function Module .............................................................6-5
6-3 State Transitions....................................................................................................................6-7
6-3-1 Status of the Motion Control Function Module ............................................................................6-7
6-3-2 Axis States ..................................................................................................................................6-7
6-3-3 Axes Group States ......................................................................................................................6-9
6-4 Execution and Status of Motion Control Instructions......................................................6-12
6-4-1 Basic Rules for Execution of Instructions..................................................................................6-12
6-4-2 Execution Timing Charts ...........................................................................................................6-14
6-4-3 Timing Chart for Re-execution of Motion Control Instructions...................................................6-17
6-4-4 Timing Chart for Multi-execution of Motion Control Instructions................................................6-17
6-5 Positions...............................................................................................................................6-19
6-5-1 Types of Positions .....................................................................................................................6-19
6-5-2 Valid Positions for Each Axis Type ............................................................................................6-20
6-6 System-defined Variables for Motion Control ...................................................................6-21
6-6-1 Overview of System-defined Variables for Motion Control ........................................................6-21
6-6-2 System for System-defined Variables for Motion Control..........................................................6-23
6-6-3 Tables of System-defined Variables for Motion Control.............................................................6-24
6-7 Cam Tables and Cam Data Variables .................................................................................6-37
6-8 Programming Motion Controls ...........................................................................................6-41
6-9 Creating Cam Tables ...........................................................................................................6-43
Section 7 Manual Operation
7-1 Outline.....................................................................................................................................7-2
7-2 Turning ON the Servo ............................................................................................................7-3
7-2-1 Turning ON the Servo .................................................................................................................7-3
7-2-2 Setting Axis Parameters..............................................................................................................7-4
7-2-3 Programming Example................................................................................................................7-4
7-3 Jogging ...................................................................................................................................7-6
7-3-1 Jogging Procedure ......................................................................................................................7-6
7-3-2 Setting Axis Parameters..............................................................................................................7-7
7-3-3 Setting Example for Input Variables ............................................................................................7-7
7-3-4 Programming Example................................................................................................................7-8
Section 8 Homing
8-1 Outline of Homing..................................................................................................................8-2
8-2 Homing Procedure.................................................................................................................8-5
8-2-1 Setting Homing Parameters ........................................................................................................8-5
8-2-2 Monitoring the Homing Operation .............................................................................................8-11
CONTENTS
12 NJ/NX-series CPU Unit Motion Control Users Manual (W507)
8-3 Homing Operation................................................................................................................8-13
8-4 Homing with an Absolute Encoder ....................................................................................8-14
8-4-1 Outline of Function ....................................................................................................................8-15
8-4-2 Setting Procedure .....................................................................................................................8-17
8-5 High-speed Homing .............................................................................................................8-19
Section 9 Motion Control Functions
9-1 Single-axis Position Control .................................................................................................9-3
9-1-1 Outline of Operation ....................................................................................................................9-3
9-1-2 Absolute Positioning....................................................................................................................9-4
9-1-3 Relative Positioning.....................................................................................................................9-4
9-1-4 Interrupt Feeding.........................................................................................................................9-4
9-1-5 Cyclic Synchronous Positioning ..................................................................................................9-6
9-1-6 Stopping ......................................................................................................................................9-6
9-1-7 Override Factors .......................................................................................................................9-11
9-2 Single-axis Synchronized Control......................................................................................9-13
9-2-1 Overview of Synchronized Control............................................................................................9-13
9-2-2 Gear Operation .........................................................................................................................9-13
9-2-3 Positioning Gear Operation.......................................................................................................9-14
9-2-4 Cam Operation..........................................................................................................................9-15
9-2-5 Cam Tables ...............................................................................................................................9-16
9-2-6 Synchronous Positioning...........................................................................................................9-24
9-2-7 Combining Axes ........................................................................................................................9-25
9-2-8 Master Axis Phase Shift ............................................................................................................9-26
9-2-9 Slave Axis Position Compensation ...........................................................................................9-27
9-2-10 Achieving Synchronized Control in Multi-motion.......................................................................9-28
9-3 Single-axis Velocity Control................................................................................................9-30
9-3-1 Velocity Control .........................................................................................................................9-30
9-3-2 Cyclic Synchronous Velocity Control.........................................................................................9-30
9-4 Single-axis Torque Control .................................................................................................9-32
9-5 Common Functions for Single-axis Control......................................................................9-33
9-5-1 Positions....................................................................................................................................9-33
9-5-2 Velocity......................................................................................................................................9-35
9-5-3 Acceleration and Deceleration ..................................................................................................9-36
9-5-4 Jerk ...........................................................................................................................................9-38
9-5-5 Specifying the Operation Direction............................................................................................9-39
9-5-6 Re-executing Motion Control Instructions .................................................................................9-43
9-5-7 Multi-execution of Motion Control Instructions (Buffer Mode) ...................................................9-48
9-6 Multi-axes Coordinated Control .........................................................................................9-55
9-6-1 Outline of Operation ..................................................................................................................9-55
9-6-2 Linear Interpolation ...................................................................................................................9-57
9-6-3 Circular Interpolation .................................................................................................................9-58
9-6-4 Axes Group Cyclic Synchronous Positioning ............................................................................9-59
9-6-5 Stopping Under Multi-axes Coordinated Control.......................................................................9-59
9-6-6 Overrides for Multi-axes Coordinated Control...........................................................................9-61
9-7 Common Functions for Multi-axes Coordinated Control.................................................9-63
9-7-1 Velocity Under Multi-axes Coordinated Control ........................................................................9-63
9-7-2 Acceleration and Deceleration Under Multi-axes Coordinated Control.....................................9-64
9-7-3 Jerk for Multi-axes Coordinated Control....................................................................................9-65
9-7-4 Re-executing Motion Control Instructions for Multi-axes Coordinated Control .........................9-66
9-7-5 Multi-execution of Motion Control Instructions (Buffer Mode) for Multi-axes Coordinat-
ed Control..................................................................................................................................9-67
9-8 Other Functions ...................................................................................................................9-76
9-8-1 Changing the Current Position ..................................................................................................9-76
9-8-2 Torque Limit...............................................................................................................................9-77
9-8-3 Latching.....................................................................................................................................9-77
9-8-4 Zone Monitoring ........................................................................................................................9-78
CONTENTS
13
NJ/NX-series CPU Unit Motion Control Users Manual (W507)
9-8-5 Software Limits..........................................................................................................................9-78
9-8-6 Following Error Monitoring ........................................................................................................9-80
9-8-7 Following Error Counter Reset..................................................................................................9-81
9-8-8 Axis Following Error Monitoring ................................................................................................9-82
9-8-9 In-position Check ......................................................................................................................9-82
9-8-10 Changing Axis Use....................................................................................................................9-84
9-8-11 Enabling Digital Cam Switch .....................................................................................................9-85
9-8-12 Displaying 3D Motion Monitor for User Coordinate System......................................................9-86
Section 10 Sample Programming
10-1 Overview of Sample Programming ....................................................................................10-2
10-1-1 Devices .....................................................................................................................................10-2
10-1-2 Installation and Wiring...............................................................................................................10-2
10-1-3 Setup.........................................................................................................................................10-2
10-2 Basic Programming Samples .............................................................................................10-3
10-2-1 Monitoring EtherCAT Communications and Turning ON Servos ..............................................10-3
10-2-2 Interlocking Axis Operation with Master Control Instructions....................................................10-4
10-2-3 Error Monitoring and Error Resetting for Single-axis Operation and Synchronized Operation .10-6
10-2-4 Error Monitoring and Error Resetting for Multi-axes Coordinated Operation ............................10-8
10-2-5 Monitoring for Instruction Errors..............................................................................................10-14
10-2-6 Checking to See If Errors Are Reset .......................................................................................10-16
10-2-7 Stopping Axes during Single-axis Operation...........................................................................10-18
10-2-8 Stopping an Axes Group in Coordinated Motion.....................................................................10-22
10-2-9 Homing and Absolute Positioning ...........................................................................................10-30
10-2-10 Changing the Target Position by Re-execution of an Instruction ............................................10-35
10-2-11 Interrupt Feeding .....................................................................................................................10-40
10-2-12 Changing the Cam Table by Re-execution of an Instruction ...................................................10-45
10-2-13 Using a Cam Profile Curve to Correct the Sync Position ........................................................10-55
10-2-14 Shifting the Phase of a Master Axis in Cam Motion ................................................................10-66
10-2-15 Changing the Actual Position during Velocity Control .............................................................10-74
10-2-16 Changing a Cam Data Variable and Saving the Cam Table....................................................10-80
10-2-17 Temporarily Changing Axis Parameters..................................................................................10-91
10-2-18 Updating the Cam Table End Point Index ...............................................................................10-94
Section 11 Troubleshooting
11-1 Overview of Troubleshooting ............................................................................................. 11-2
Appendices
A-1 Connecting the 1S-series Servo Drive................................................................................ A-2
A-1-1 Wiring the Servo Drive ............................................................................................................... A-2
A-1-2 Servo Drive Settings .................................................................................................................. A-2
A-2 Connecting the G5-series Servo Drive ............................................................................. A-11
A-2-1 Wiring the Servo Drive ..............................................................................................................A-11
A-2-2 Servo Drive Settings .................................................................................................................A-11
A-3 Connecting to Encoder Input Terminals........................................................................... A-21
A-3-1 Wiring to Encoder Input Terminals ........................................................................................... A-21
A-3-2 Settings for Encoder Input Terminals ....................................................................................... A-21
A-4 Connecting to NX Units...................................................................................................... A-27
A-5 PDS State Transition........................................................................................................... A-28
A-5-1 PDS State Control Method....................................................................................................... A-28
A-5-2 Main Circuit Power Supply OFF Detection............................................................................... A-29
A-6 Terminology......................................................................................................................... A-30
A-6-1 NJ/NX-series Controller ........................................................................................................... A-30
CONTENTS
14 NJ/NX-series CPU Unit Motion Control Users Manual (W507)
A-6-2 Motion Control.......................................................................................................................... A-31
A-6-3 EtherCAT Communications ...................................................................................................... A-32
A-7 Version Information ............................................................................................................ A-34
Index
CONTENTS
15
NJ/NX-series CPU Unit Motion Control Users Manual (W507)
Terms and Conditions Agreement
Warranty, Limitations of Liability
Warranties
Exclusive Warranty
Omron’s exclusive warranty is that the Products will be free from defects in materials and work-
manship for a period of twelve months from the date of sale by Omron (or such other period ex-
pressed in writing by Omron). Omron disclaims all other warranties, express or implied.
Limitations
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, ABOUT
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OF
THE PRODUCTS. BUYER ACKNOWLEDGES THAT IT ALONE HAS DETERMINED THAT THE
PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE.
Omron further disclaims all warranties and responsibility of any type for claims or expenses based
on infringement by the Products or otherwise of any intellectual property right.
Buyer Remedy
Omron’s sole obligation hereunder shall be, at Omron’s election, to (i) replace (in the form originally
shipped with Buyer responsible for labor charges for removal or replacement thereof) the non-com-
plying Product, (ii) repair the non-complying Product, or (iii) repay or credit Buyer an amount equal
to the purchase price of the non-complying Product; provided that in no event shall Omron be re-
sponsible for warranty, repair, indemnity or any other claims or expenses regarding the Products
unless Omron’s analysis confirms that the Products were properly handled, stored, installed and
maintained and not subject to contamination, abuse, misuse or inappropriate modification. Return
of any Products by Buyer must be approved in writing by Omron before shipment. Omron Compa-
nies shall not be liable for the suitability or unsuitability or the results from the use of Products in
combination with any electrical or electronic components, circuits, system assemblies or any other
materials or substances or environments. Any advice, recommendations or information given orally
or in writing, are not to be construed as an amendment or addition to the above warranty.
See http://www.omron.com/global/ or contact your Omron representative for published information.
Limitation on Liability; Etc
OMRON COMPANIES SHALL NOT BE LIABLE FOR SPECIAL, INDIRECT, INCIDENTAL, OR CON-
SEQUENTIAL DAMAGES, LOSS OF PROFITS OR PRODUCTION OR COMMERCIAL LOSS IN ANY
Terms and Conditions Agreement
16 NJ/NX-series CPU Unit Motion Control Users Manual (W507)
WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED IN CONTRACT,
WARRANTY
, NEGLIGENCE OR STRICT LIABILITY.
Further, in no event shall liability of Omron Companies exceed the individual price of the Product on
which liability is asserted.
Application Considerations
Suitability of Use
Omron Companies shall not be responsible for conformity with any standards, codes or regulations
which apply to the combination of the Product in the Buyers application or use of the Product. At Buy-
er’s request, Omron will provide applicable third party certification documents identifying ratings and
limitations of use which apply to the Product. This information by itself is not sufficient for a complete
determination of the suitability of the Product in combination with the end product, machine, system, or
other application or use. Buyer shall be solely responsible for determining appropriateness of the par-
ticular Product with respect to Buyer’s application, product or system. Buyer shall take application re-
sponsibility in all cases.
NEVER USE THE PRODUCT FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
PROPERTY OR IN LARGE QUANTITIES WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE
HAS BEEN DESIGNED TO ADDRESS THE RISKS, AND THAT THE OMRON PRODUCT(S) IS
PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIP-
MENT OR SYSTEM.
Programmable Products
Omron Companies shall not be responsible for the user’s programming of a programmable Product, or
any consequence thereof.
Disclaimers
Performance Data
Data presented in Omron Company websites, catalogs and other materials is provided as a guide for
the user in determining suitability and does not constitute a warranty. It may represent the result of
Omron’s test conditions, and the user must correlate it to actual application requirements. Actual per-
formance is subject to the Omron’s Warranty and Limitations of Liability.
Change in Specifications
Product specifications and accessories may be changed at any time based on improvements and oth-
er reasons. It is our practice to change part numbers when published ratings or features are changed,
or when significant construction changes are made. However, some specifications of the Product may
Terms and Conditions Agreement
17
NJ/NX-series CPU Unit Motion Control Users Manual (W507)
be changed without any notice. When in doubt, special part numbers may be assigned to fix or estab-
lish key specifications for your application. Please consult with your Omron’s representative at any
time to confirm actual specifications of purchased Product.
Errors and Omissions
Information presented by Omron Companies has been checked and is believed to be accurate; how-
ever, no responsibility is assumed for clerical, typographical or proofreading errors or omissions.
Terms and Conditions Agreement
18 NJ/NX-series CPU Unit Motion Control Users Manual (W507)
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462

Omron NJ and NX Series CPU Unit Motion Control Owner's manual

Category
Software
Type
Owner's manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI