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. Nevertheless, 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 CJ Series
CJ2H-CPU6@-EIP
CJ2H-CPU6@
CJ2M-CPU@@
CJ2 CPU Unit Software
User’s Manual
Revised July 2010
Introduction
Thank you for purchasing a CJ-series CJ2H-CPU6@(-EIP) or CJ2M-CPU@@ Programmable Controller.
This manual contains information required to use the CJ2H-CPU6@(-EIP) or CJ2M-CPU@@. Please
thoroughly read and understand this manual before you use the CJ2H-CPU6@(-EIP) or CJ2M-CPU@@.
Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.
Applicable Products
CJ-series CJ2 CPU Units
• CJ2H-CPU6@-EIP
• CJ2H-CPU6@
•CJ2M-CPU3@
•CJ2M-CPU1@
In this manual, the following notation is used to indicate the CPU Units.
• CJ2H-CPU6@(-EIP): Indicates the CJ2H-CPU6@-EIP and CJ2H-CPU6@ CPU Units.
• CJ2M-CPU@@: Indicates the CJ2M-CPU3@ and CJ2M-CPU1@ CPU Units.
Optional Pulse I/O Modules can be used for pulse I/O with a CJ2M CPU Unit.
Information on the CJ2 CPU Units is provided in the following manuals. Refer to the appropriate manual
for the information that is required.
This Manual
Mounting
and Setting
1
Hardware
2
Wiring
CJ-series CJ2 CPU Unit
Hardware User’s Manual
(Cat. No. W472)
• Unit part names and
specifications
• Basic system
configuration
• Unit mounting
procedure
• Setting procedure for
DIP switch and rotary
switches on the front of
the CPU Unit
For details on built-in
EtherNet/IP port, refer to
the EtherNet/IP Unit Operation Manual (W465)
CJ-series CJ2 CPU Unit
Software User’s Manual
(Cat. No. W473)
CS/CJ/NSJ Series
Instructions Reference
Manual (Cat. No. W474)
CJ2M CPU Unit Pulse
I/O Module User's
Manual (Cat. No. W486)
• Specifications and wiring
of Pulse I/O Modules
• Available pulse I/O
functions and allocations
Connecting
Online to
3
the PLC
Software
4
Setup
Creating the
5
Program
Checking
and
Debugging
6
Operation
• Wiring the Power
Supply Unit
• Wring Basic I/O Units
and external I/O
devices
CX-Programmer Support
Software Connecting
Cables
Procedures for connecting
the CX-Programmer
Support Software
Software setting methods for the
CPU Unit (including I/O memory
allocation, PLC Setup settings,
Special I/O Unit parameters,
CPU Bus Unit parameters, and
routing tables.)
For details on built-in EtherNet/IP
port, refer to the EtherNet/IP Unit Operation Manual (W465).
• Program types and basic
information
• CPU Unit operation
• Internal memory
• Data management using
file memory in the CPU
Unit
• Built-in CPU functions
• Settings
Detailed information
on programming
instructions
• Pulse I/O Module
specifications
• Wiring methods between
Pulse I/O Modules and
external I/O devices
Software setting
procedures for Pulse I/O
Modules (I/O memory
allocations and PLC
Setup settings)
Pulse I/O functions
Maintenance
and
7
Troubleshooting
2
• Checking I/O wiring, setting the
Auxiliary Area settings, and
performing trial operation
• Monitoring and debugging with
the CX-Programmer
Error codes and
remedies if a problem
occurs
CJ2 CPU Unit Software User’s Manual
Manual Configuration
The CJ2 CPU manuals are organized in the sections listed in the following tables. Refer to the appropriate section in the manuals as required.
Hardware User’s Manual (Cat. No. W472)
SectionContent
Section 1 Overview
Section 2 Basic System Configuration and Devices
Section 3 Nomenclature and
Functions
Section 4 Support Software
Section 5 Installation
Section 6 Troubleshooting
Section 7 Inspection and Maintenance
Section 8 Backup OperationsThis section describes the procedure to back up PLC data.
Appendices
This section gives an overview of the CJ2 CPU Units and describes the features and
specifications.
This section describes the system configuration for the CJ2 CPU Unit.
This section describes the part names and functions of the CPU Unit and Configuration
Units.
This section describes the types of Support Software to use to perform programming and
debugging and how to connect the PLC to the Support Software.
This section describes the installation locations and how to wire CPU Units and Configuration Units.
This section describes how to check the status for errors that occur during system operation and the remedies for those errors.
This section describes periodic inspection, the service life of the Battery and Power Supply Unit, and how to replace the Battery.
The appendices provide Unit dimensions, details on fatal and non-fatal errors, information on connecting to serial ports on the CPU Unit, the procedure for installing the USB
driver on a computer, and information on load short-circuit protection and line disconnection detection.
Section 3 CPU Unit OperationThis section describes the internal operation of the CPU Unit.
Section 4 CPU Unit InitializationThis section describes the initial setup of the CPU Unit.
Section 5 Understanding Programming
Section 6 I/O Memory AreasThis section describes the I/O memory areas in the CPU Unit.
Section 7 File Operations
Section 8 I/O Allocations and
Unit Settings
Section 9 PLC Setup
Section 10 CPU Unit FunctionsThis section describes functions that are built into the CPU Unit.
Section 11 Programming Devices
and Communications
Section 12 CPU Unit Cycle TimeThis section describes how to monitor and calculate the cycle time.
Appendices
This section gives an overview of the CJ2 CPU Units and describes the features and
specifications.
This section describes the types of memory in the CPU Unit and the data that is stored.
This section describes program types and programming details, such as symbols and
programming instructions.
This section describes the files that can be stored in the CPU Unit, the storage destination for those files, and file operations.
This section describes the I/O allocations used to exchange data between the CPU Unit
and other Units.
This section describes details on the PLC Setup settings, which are used to perform
basic settings for the CPU Unit.
This section describes the procedure for connecting the CJ2 CPU Unit to the CX-Programmer or other Support Software and to other devices.
The appendices provide information on programming instructions, execution times, number of steps, Auxiliary Area words and bits, a memory map of the continuous PLC memory addresses, I/O memory operation when power is interrupted, and a comparison of
CJ-series and CS-series PLCs.
CJ2 CPU Unit Software User’s Manual
3
Instructions Reference Manual (Cat. No. W474)
SectionContent
Section 1 Basic Understanding
of Instructions
Section 2 Summary of Instructions
Section 3 Instructions
Section 4 Instruction Execution
Times and Number of Steps
Appendices
This section provides basic information on designing ladder programs for a CS/CJ/NSJseries CPU Unit.
This section provides a summary of instructions used with a CS/CJ/NSJ-series CPU
Unit.
This section describes the functions, operands and sample programs of the instructions
that are supported by a CS/CJ/NSJ-series CPU Unit.
This section provides the instruction execution times for each CS/CJ/NSJ-series CPU
Unit instruction.
The appendices provide a list of instructions by function code and by mnemonic and an
ASCII table for the CS/CJ/NSJ-series CPU Units.
Pulse I/O Module User's Manual (Cat. No. W486)
SectionContent
Section 1 Overview
Section 2 I/O Application Procedures and Function Allocations
Section 3 I/O Specifications and
Wiring for Pulse I/O Modules
Section 4 General-purpose I/OThis section describes the general-purpose I/O.
Section 5 Quick-response Inputs
Section 6 InterruptsThis section describes the interrupt input function.
Section 7 High-speed CountersThis section describes the high-speed counter inputs and high-speed counter interrupts.
Section 8 Pulse Outputs
Section 9 PWM OutputsThis section describes the variable-duty-factor (PWM) outputs.
Appendices
This section gives an overview of the Pulse I/O Modules and the pulse I/O functions of
the CJ2M.
This section lists the pulse functions of the CJ2M CPU Units and describes the overall
application flow and the allocation of the functions.
This section provides the specifications and describes the wiring of the Pulse I/O Module.
This section describes the quick-response function that can be used to input signals that
are shorter than the cycle time.
This section describes positioning functions, such as trapezoidal control, S-curve control,
jogging, and origin search functions.
The appendices provide a table of flag changes for pulse outputs, a comparison table
with other models, and a performance table.
4
CJ2 CPU Unit Software User’s Manual
Manual Structure
Page Structure
The following page structure is used in this manual.
Level 2 heading
Level 3 heading
A step
in a procedure
Special Information
(See below.)
5-2Installation
5-2-1 Connecting PLC Components
The Units that make up a CJ-series PLC 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 PLC.
1. Join the Units so that the connectors fit exactly.
2. The 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
If the locking tabs are not secured properly, the connectors may become loose and not function
properly. Be sure to slide the locking tabs until they are securely in place.
Hook
Connector
Move the sliders toward the back
until they lock into place.
Hook holes
Release
Lock
Slider
5 Installation
Level 1 heading
Level 2 heading
Level 3 heading
Gives the current
headings.
noitallatsnI 2-5
5
Page tab
Gives the number
of the section.
gnitcennoC 1-2-5
P
opmoC CL
stnen
Manual name
CJ2 CPU Unit Hardware User’s Manual
This illustration is provided only as a sample and may not literally appear in this manual.
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 using the product safely.
Precautions for Correct Use
Precautions on what to do and what not to do to ensure proper operation and performance.
Additional Information
Additional information to increase understanding or make operation easier.
A-5 Operation for Power Interruptions .....................................................................................A-166
A-5-1Power OFF Operation.............................................................................................................A-166
A-5-2Instruction Execution for Power Interruptions .........................................................................A-168
A-6 EtherNet/IP Connections from Windows XP (SP2 or Higher), Windows Vista,
or Windows 7 .....................................................................................................................A-170
A-6-1Changing Windows Firewall Settings......................................................................................A-170
A-7 PLC Comparison Charts: CJ-series and CS-series PLCs ...............................................A-173
A-8 Functions Supported for Unit Versions.............................................................................A-177
A-8-1CJ2H CPU Unit.......................................................................................................................A-177
A-8-2CJ2M CPU Unit ......................................................................................................................A-178
Index ................................................................................................................Index-1
Revision History ....................................................................................... Revision-1
CJ2 CPU Unit Software User’s Manual
15
16
CJ2 CPU Unit Software User’s Manual
Read and Understand this Manual
Please read and understand this manual before using the product. Please consult your OMRON representative
if you have any questions or comments.
Warranty and Limitations of Liability
WARRANTY
OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a
period of one year (or other period if specified) from date of sale by OMRON.
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE
PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS
DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR
INTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.
LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES,
LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS,
WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT
LIABILITY.
In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which
liability is asserted.
IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS
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 OR REPAIR.
CJ2 CPU Unit Software User’s Manual
17
Application Considerations
SUITABILITY FOR USE
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the
combination of products in the customer's application or use of the products.
At the customer's request, OMRON will provide applicable third party certification documents identifying
ratings and limitations of use that apply to the products. This information by itself is not sufficient for a
complete determination of the suitability of the products in combination with the end product, machine,
system, or other application or use.
The following are some examples of applications for which particular attention must be given. This is not
intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses
listed may be suitable for the products:
• Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or
uses not described in this manual.
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical
equipment, amusement machines, vehicles, safety equipment, and installations subject to separate
industry or government regulations.
• Systems, machines, and equipment that could present a risk to life or property.
Please know and observe all prohibitions of use applicable to the products.
NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO
ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND
INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user's programming of a programmable product, or any
consequence thereof.
18
CJ2 CPU Unit Software User’s Manual
Disclaimers
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other
reasons.
It is our practice to change model numbers when published ratings or features are changed, or when
significant construction changes are made. However, some specifications of the products may be changed
without any notice. When in doubt, special model numbers may be assigned to fix or establish key
specifications for your application on your request. Please consult with your OMRON representative at any
time to confirm actual specifications of purchased products.
DIMENSIONS AND WEIGHTS
Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when
tolerances are shown.
PERFORMANCE DATA
Performance data given in this manual 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 users must
correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and
Limitations of Liability.
ERRORS AND OMISSIONS
The information in this manual has been carefully checked and is believed to be accurate; however, no
responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
CJ2 CPU Unit Software User’s Manual
19
20
CJ2 CPU Unit Software User’s Manual
Safety Precautions
Definition of Precautionary Information
The following notation is used in this manual to provide precautions required to ensure safe usage of a
CJ-series PLC. The safety precautions that are provided are extremely important to safety. Always read
and heed the information provided in all safety precautions.
WARNING
Caution
Precautions for Safe Use
Indicates precautions on what to do and what not to do to ensure using the product safely.
Precautions for Correct Use
Indicates precautions on what to do and what not to do to ensure proper operation and performance.
Indicates a potentially hazardous situation which, if not avoided,
could result in death or serious injury. Additionally, there may be
severe property damage.
Indicates a potentially hazardous situation which, if not avoided,
may result in minor or moderate injury, or property damage.
CJ2 CPU Unit Software User’s Manual
21
Symbols
The triangle symbol indicates precautions (including warnings).
The specific operation is shown in the triangle and explained in
text. This example indicates a precaution for electric shock.
The circle and slash symbol indicates operations that you must
not do. The specific operation is shown in the circle and
explained in text.
The filled circle symbol indicates operations that you must do.
The specific operation is shown in the circle and explained in
text. This example shows a general precaution for something
that you must do.
The triangle symbol indicates precautions (including warnings).
The specific operation is shown in the triangle and explained in
text. This example indicates a general precaution.
The triangle symbol indicates precautions (including warnings).
The specific operation is shown in the triangle and explained in
text. This example indicates a precaution for hot surfaces.
22
CJ2 CPU Unit Software User’s Manual
WARNING
Do not attempt to take any Unit apart or touch the inside of any Unit while the
power is being supplied. Doing so may result in electric shock.
Do not touch any of the terminals or terminal blocks while the power is being
supplied. Doing so may result in electric shock.
Provide safety measures in external circuits (i.e., not in the Programmable
Controller), including the following items, to ensure safety in the system if an
abnormality occurs due to malfunction of the Programmable Controller or
another external factor affecting the operation of the Programmable Controller. “Programmable Controller” indicates the CPU Unit and all other Units and
is abbreviated “PLC” in this manual. Not doing so may result in serious accidents.
• The PLC will turn OFF all outputs when its self-diagnosis function detects
any error or when a severe failure alarm (FALS) instruction is executed.
Unexpected operation, however, may still occur for errors in the I/O control
section, errors in I/O memory, and other errors that cannot be detected by
the self-diagnosis function. As a countermeasure for all such errors, external safety measures must be provided to ensure safety in the system.
• The PLC outputs may remain ON or OFF due to deposition or burning of
the output relays or destruction of the output transistors. As a countermeasure for such problems, external safety measures must be provided to
ensure safety in the system.
• Provide measures in the computer system and programming to ensure
safety in the overall system even if communications errors or malfunctions
occur in data link communications or remote I/O communications.
Confirm safety before transferring data files stored in the file memory (Memory Card or EM file memory) to the I/O area (CIO) of the CPU Unit using a
peripheral tool. Otherwise, the devices connected to the output unit may malfunction regardless of the operation mode of the CPU Unit.
Fail-safe measures must be taken by the customer to ensure safety in the
event of incorrect, missing, or abnormal signals caused by broken signal
lines, momentary power interruptions, or other causes. Serious accidents
may result from abnormal operation if proper measures are not provided.
CJ2 CPU Unit Software User’s Manual
23
Caution
Execute online edit only after confirming that no adverse effects will be
caused by extending the cycle time. Otherwise, the input signals may not be
readable.
Confirm safety at the destination node before transferring a program, PLC
Setup, I/O tables, I/O memory contents, or parameters to another node or
changing contents of the any of these items. Transferring or changing data
can result in unexpected system operation.
The CJ2 CPU Units automatically back up the user program and parameter
data to flash memory when these are written to the CPU Unit. I/O memory
including the DM, EM, and Holding Areas), however, is not written to flash
memory.
The DM, EM, and Holding Areas can be held during power interruptions with
a battery. If there is a battery error, the contents of these areas may not be
accurate after a power interruption. If the contents of the DM, EM, and Holding Areas are used to control external outputs, prevent inappropriate outputs
from being made whenever the Battery Error Flag (A402.04) is ON.
Tighten the terminal screws on the AC Power Supply Unit to the torque specified in the operation manual. The loose screws may result in burning or malfunction.
Do not touch the Power Supply Unit when power is being supplied or immediately after the power supply is turned OFF. The Power Supply Unit will be hot
and you may be burned.
When connecting a personal computer or other peripheral device to a PLC to
which a non-insulated Power Supply Unit (CJ1W-PD022) is mounted, either
ground the 0 V side of the external power supply or do not ground the external power supply at all ground. A short-circuit will occur in the external power
supply if incorrect grounding methods are used. Never ground the 24 V side,
as shown below.
Wiring in Which the 24-V Power Supply Will Short
Non-insulated
DC power supply
24 V
Peripheral
0 V
cable
0 V
24
FG
Power Supply
Unit
CPU Unit
Peripheral device (e.g.,
personal computer)
CJ2 CPU Unit Software User’s Manual
Loading...
+ 640 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.