Omron CJ1G/H-CPU series Operation Manual
Omron CJ1G/H-CPU series Operation Manual

Omron CJ1G/H-CPU series Operation Manual

Sysmac cj series
Hide thumbs Also See for CJ1G/H-CPU series:
Table of Contents

Advertisement

Quick Links

Cat. No. W393-E1-07
SYSMAC CJ Series
CJ1G/H-CPU
H, CJ1G-CPU
P
CJ1M-CPU
, CJ1G-CPU
Programmable Controllers
OPERATION MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ1G/H-CPU series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Omron CJ1G/H-CPU series

  • Page 1 Cat. No. W393-E1-07 SYSMAC CJ Series CJ1G/H-CPU H, CJ1G-CPU CJ1M-CPU , CJ1G-CPU Programmable Controllers OPERATION MANUAL...
  • Page 2 SYSMAC CJ Series CJ1G/H-CPU@@H, CJ1G-CPU@@P, CJ1M-CPU@@ CJ1G-CPU@@ Programmable Controllers Operation Manual Revised July 2004...
  • Page 3 Terms. Please EXPRESS OR IMPLIED, ABOUT NON-INFRINGEMENT, MERCHANTABIL- contact your Omron representative to confirm any additional terms for sales ITY OR FITNESS FOR A PARTICULAR PURPOSE OF THE GOODS. from your Omron company.
  • Page 4 OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con- stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
  • Page 5 Unit version Example for Unit version 3.0 Lot No. 040715 0000 Ver.3.0 OMRON Corporation MADE IN JAPAN • CS1-H, CJ1-H, and CJ1M CPU Units (except for low-end models) manu- factured on or before November 4, 2003 do not have a unit version given on the CPU Unit (i.e., the location for the unit version shown above is...
  • Page 6 Unit version Use the above display to confirm the unit version of the CPU Unit. Unit Manufacturing Information In the IO Table Window, right-click and select Unit Manufacturing informa- tion - CPU Unit. The following Unit Manufacturing information Dialog Box will be displayed.
  • Page 7 Unit version Use the above display to confirm the unit version of the CPU Unit connected online. Using the Unit Version The following unit version labels are provided with the CPU Unit. Labels These labels can be attached to the front of previous CPU Units to differenti- ate between CPU Units of different unit versions.
  • Page 8 Units on which a version is given (Ver. @.@) given Lot No. XXXXXX XXXX Ver. @ @ .@ Lot No. XXXXXX XXXX OMRON Corporation MADE IN JAPAN Meaning CS1H-CPU67H CPU Unit Ver. @.@ Designating individual Pre-Ver. 2.0 CS1-H CPU Units CPU Units (e.g., the...
  • Page 9 Unit Versions and Lot Numbers Series Model Data of manufacture Earlier Sept. 2003 Oct. 2003 Nov. 2003 Dec. 2003 Jun. 2004 Later CS1 CPU Units CS1@- Series CPU@@ No unit version CS1-V1 CPU CS1@- Units CPU@@-V1 No unit version CS1-H CPU Units CS1@- CPU@@H CPU Units Ver.
  • Page 10 Function Support by Unit Version CJ1-H/CJ1M CPU Units Function CJ1-H CPU Units CJ1M CPU Units, CJ1M CPU (CJ1@-CPU@@H) except low-end models Units, low-end (CJ1M-CPU@@) models (CJ1M- CPU11/21) Pre-Ver. 2.0 CPU Units Ver. Pre-Ver. 2.0 CPU Units Ver. CPU Units Ver. CPU Units CPU Units Downloading and Uploading...
  • Page 11 Functions Supported by Unit Version 3.0 or Later CJ1-H/CJ1M CPU Units (CJ1@-CPU@@H, CJ1G-CPU@@P, CJ1M-CPU@@) Function Unit version Pre-Ver. 2.0, Ver. 2.0 Ver. 3.0 Function blocks (supported for CX-Programmer Ver. 5.0 or higher) Serial Gateway (converting FINS commands to CompoWay/F com- mands at the built-in serial port) Comment memory (in internal flash memory) Expanded simple backup data...
  • Page 12 Unit Versions and Programming Devices CX-Programmer version 4.0 or higher must be used to enable using the func- tions added for CPU Unit version 2.0. CX-Programmer version 5.0 or higher must be used to enable using function blocks added for CPU Unit version 3.0. The following tables show the relationship between unit versions and CX-Pro- grammer versions.
  • Page 13 Troubleshooting Problems with Unit Versions on the CX-Programmer Problem Cause Solution An attempt was made using CX- Check the program or change Programmer version 4.0 or higher the CPU Unit being down- to download a program contain- loaded to a CPU Unit Ver. 2.0 ing instructions supported only by or later.
  • Page 14 Loop-control CPU Units Overview Loop-control CPU Units are CPU Units with a pre-installed Loop Controller functional element. Note The Loop Controller functional element is an inseparable part of the CPU Unit and cannot be removed. Model Numbers, The CJ1G-CPU@@P Loop-control CPU Unit is comprised of a CPU Unit ele- Functional Elements, ment with the same functionality as a CJ1G-CPU@@H CPU Unit with version 3.0 or later (see note) and a Loop Controller element.
  • Page 15 Loop-control CPU Unit Dimensions Product name and model D (mm) (mm) (mm) CJ1G-CPU45P/44P/43P/42P 65 (not including connector) Loop-control CPU Unit 73.9 (including connector) CJ1G-CPU45H/44H/43H/42H CJ1-H CPU Unit (reference) SYSMAC LCB03 EXEC ERR/ALM CJ1G-CPU44P PROGRAMMABLE INNER LOOP CONTROLLER PRPHL CONTROLLER COMM OPEN MCPWR BUSY...
  • Page 16 Indicator Name Color Status Description EXEC Running Green Not lit The system is stopped for one of the following reasons: • The Loop Control Board is initializing. • A hardware failure occurred in the Loop Control Board. • Power is not being supplied from the Power Supply Unit. •...
  • Page 17 Programming Devices Loop Controller Element Using CX-Process Tool Ver. 4.0 or later, select the Loop-control CPU Unit/Process-control CPU Unit from the LC Type field in the LCB/LC001 Dia- log Box. Then select either CJ1G-CPU42P, CJ1G-CPU43P, CJ1G-CPU44P, orCJ1G-CPU45P, from the Number-Model pull-down list in the Unit Informa- tion field.
  • Page 18 TABLE OF CONTENTS PRECAUTIONS ........xxv Intended Audience .
  • Page 19: Table Of Contents

    TABLE OF CONTENTS SECTION 4 Operating Procedures ......195 Introduction ............. . Examples .
  • Page 20 TABLE OF CONTENTS Internal I/O Area ............9-10 Holding Area.
  • Page 21 TABLE OF CONTENTS Index ..........647 Revision History .
  • Page 22 About this Manual: This manual describes the installation and operation of the CJ-series Programmable Controllers (PLCs) and includes the sections described on the following page. The CS Series and CJ Series are subdivided as shown in the following table. Unit CS Series CJ Series CPU Units...
  • Page 23 Boards to perform serial communications CJ1W-SCU21-V1/41-V1 with external devices, including the usage of stan- Serial Communications Boards/Units Operation Manual dard system protocols for OMRON products. SYSMAC WS02-PSTC1-E W344 Describes the use of the CX-Protocol to create CX-Protocol Operation Manual protocol macros as communications sequences to communicate with external devices.
  • Page 24 PRECAUTIONS This section provides general precautions for using the CJ-series Programmable Controllers (PLCs) and related devices. The information contained in this section is important for the safe and reliable application of Programmable Controllers. You must read this section and understand the information contained before attempting to set up or operate a PLC system.
  • Page 25: Intended Audience

    It is extremely important that a PLC and all PLC Units be used for the speci- fied purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PLC System to the above-mentioned appli- cations.
  • Page 26 Safety Precautions !WARNING Do not touch any of the terminals or terminal blocks while the power is being supplied. Doing so may result in electric shock. !WARNING Do not attempt to disassemble, repair, or modify any Units. Any attempt to do so may result in malfunction, fire, or electric shock.
  • Page 27: Operating Environment Precautions

    Operating Environment Precautions !Caution A CJ1-H or CJ1M CPU Unit 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 HR Areas), however, is not written to flash memory.
  • Page 28: Application Precautions

    Application Precautions Application Precautions Observe the following precautions when using the PLC System. • You must use the CX-Programmer (programming software that runs on Windows) if you need to program more than one task. A Programming Console can be used to program only one cyclic task plus interrupt tasks. A Programming Console can, however, be used to edit multitask pro- grams originally created with the CX-Programmer.
  • Page 29 Application Precautions • Always turn ON power to the PLC before turning ON power to the control system. If the PLC power supply is turned ON after the control power sup- ply, temporary errors may result in control system signals because the output terminals on DC Output Units and other Units will momentarily turn ON when power is turned ON to the PLC.
  • Page 30 Application Precautions • Be sure that all the terminal screws, and cable connector screws are tight- ened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction. • Leave the label attached to the Unit when wiring. Removing the label may result in malfunction if foreign matter enters the Unit.
  • Page 31: Conformance To Ec Directives

    Concepts EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to EMC standards (see the following note).
  • Page 32: Conformance To Ec Directives

    Conformance to EC Directives EMS (Electromagnetic Susceptibility): EN61000-6-2 EMI (Electromagnetic Interference): EN61000-6-4 (Radiated emission: 10-m regulations) Low Voltage Directive Always ensure that devices operating at voltages of 50 to 1,000 V AC and 75 to 1,500 V DC meet the required safety standards for the PLC (EN61131-2). Conformance to EC Directives The CJ-series PLCs comply with EC Directives.
  • Page 33 Conformance to EC Directives Countermeasure Examples When switching an inductive load, connect an surge protector, diodes, etc., in parallel with the load or contact as shown below. Circuit Current Characteristic Required element If the load is a relay or solenoid, there is The capacitance of the capacitor must CR method be 1 to 0.5 µF per contact current of...
  • Page 34: Introduction

    SECTION 1 Introduction This section introduces the special features and functions of the CJ-series PLCs and describes the differences between these PLCs and the earlier C200HX/HG/HE PLCs. Overview..............CJ-series Features .
  • Page 35: Overview

    Overview Section 1-1 Overview The CJ-series PLCs are very small-sized Programmable Controllers that fea- ture high speed and advanced functions with the same architecture as the CS-series PLCs. • Only 90 x 65 mm (H x D) for mounting in small spaces in machines and on the same DIN Track as components, contributing to machine downsiz- ing, increased functionality, and modularization.
  • Page 36: Cj-Series Features

    CJ-series Features Section 1-2 The CJ-series PLCs support the same task-based programming structure, instructions, high-speed instruction execution, I/O memory, functionality, and message communications as the CS-series PLCs. The main differences of the CJ-series in comparison to the CS-series PLCs are as follows (refer to page 68 for details): •...
  • Page 37 CJ-series Features Section 1-2 Up to 3 Expansion Racks By connecting an I/O Control Unit to the CPU Rack and I/O Interface Units to and 40 Units Expansion Racks, up to three Expansion Racks (but only one for CJ1M CPU Units) can be connected.
  • Page 38 CJ-series Features Section 1-2 Using Symbols Arbitrary symbols (names up to 32 characters) that are independent of I/O ter- minal allocations can be used in programming. Standard programs created with symbols are more general and easier to reuse as tasks in different pro- grams.
  • Page 39 Symbols that read and write data to the CPU Unit can be included in the com- munications frames, so data can be exchanged with the CPU Unit very easily. OMRON components (such as Temperature Controllers, ID System Devices, Bar Code Readers, and Modems) can be connected to a Serial Communica- tions Unit with the standard system protocol.
  • Page 40 CJ-series Features Section 1-2 Multilevel Network Configurations Different network levels can be connected as shown in the following diagram. The multilevel configuration provides more flexibility in networking from the manufacturing site to production management. OA network: Ethernet FA network: Controller Link Open network: DeviceNet Message communications...
  • Page 41: Versatile Functions

    CJ-series Features Section 1-2 Remote programming/monitoring of a PLC on a network up to 3 levels away (including the local net-work) for the same or different types of networks is possible through Host Link. Network 3 Network 1 Network 2 Message transfer between PLCs on a network 3 levels away (including the local network) for the same or different types of networks.
  • Page 42 CJ-series Features Section 1-2 I/O Memory Files in CSV It is now possible to save production results and other data (hexadecimal) from the CPU Unit I/O memory in a Memory Card in CSV or text format. The and Text Format data can then be read and edited using personal computer spreadsheet soft- ware by means of a Memory Card Adapter.
  • Page 43 CJ-series Features Section 1-2 Table Data Processing Instructions Stack Instructions A region of I/O memory can be defined as a stack region. Words in the stack are specified by a stack pointer for easy FIFO (first-in first-out) or LIFO (last-in first-out) data processing.
  • Page 44 CJ-series Features Section 1-2 Failure Point Detection: Diagnoses a failure in an instruction block by monitoring the time between FPD(269) execution of FPD(269) and execution of a diagnostic output and finding which input is preventing an output from being turned ON. Input preventing diagnostic output from going ON...
  • Page 45: Cj1-H And Cj1M Cpu Unit Features

    CJ1-H and CJ1M CPU Unit Features Section 1-3 Binary Refreshing of Present values of timer/counter instructions can now be refreshed in binary, in Timer/Counter Instruction addition to the existing BCD capability. (Binary refreshing, however, can be specified with only CX-Programmer Ver. 3.0 and higher.) This allows the timer/ counter setting time to be expanded to a range of 0 to 65535 (from the exist- ing 0 to 9,999).
  • Page 46 CJ1-H and CJ1M CPU Unit Features Section 1-3 Faster Execution of Extensive research on applications of CJ1 CPU Units was used to identify the 20 most commonly used instructions of the more than 400 supported instruc- Common Instructions tions (see below), and execution speed for these instructions was increased by 10 to 20 times previous performance.
  • Page 47: High-Speed Structured Programming

    CJ1-H and CJ1M CPU Unit Features Section 1-3 1-3-2 High -speed Structured Programming To further aid standardized programming, program structuring functions have been improved, as has program execution speed. More Cyclic Tasks Tasks provide better efficiency by enabling programs to be separated by func- tion or for development by different engineers.
  • Page 48: Battery-Free Operation With Flash Memory

    CJ1-H and CJ1M CPU Unit Features Section 1-3 Delayed Power OFF The DI and EI instructions can be used to disable interrupts during specific portions of the program, for example, to prevent the power OFF interrupt from Processing for Specified Program Areas being executed until a specific instruction has been executed.
  • Page 49 CJ1-H and CJ1M CPU Unit Features Section 1-3 ■ Trigger Interrupts at a Target Value or in a Specified Range Interrupts can be triggered when the high-speed counter’s PV matches a tar- get value or is within a specified range. ■...
  • Page 50 Incorporate CompoWay/F-compatible OMRON Components into FINS Network Via Serial Gateway Using the Serial Gateway mode for the CPU Unit’s serial port enables flexible access to CompoWay/F-compatible OMRON components from devices on the network (e.g., PTs, PLC CPU Units, personal computers).
  • Page 51: Features Of Cj1-H/Cj1M Cpu Units Ver. 2.0

    CJ1-H and CJ1M CPU Unit Features Section 1-3 Back Up Comment and Section Data Comment/section data in comment memory can be backed up using the sim- ple backup function. Use No-protocol Communications at Multiple Ports No-protocol communications can be performed via the serial ports of Serial Communications Boards/Units with unit version 1.2 or later.
  • Page 52 CJ1-H and CJ1M CPU Unit Features Section 1-3 ■ Enabling/Disabling Creating File Memory Program Files When read protection is set, an optional setting allows you to enable or dis- able creating program backup files (.OBJ). This setting can be used to prevent programs from being disclosed.
  • Page 53 CJ1-H and CJ1M CPU Unit Features Section 1-3 starting addresses for Input Units and Output Unit to separate I/O allocations from the program and increase the efficiency of program maintenance. Automatic Transfer at Power ON Automatic Transfers at Power ON without a Parameter File (.STD) The user program can be automatically transferred to the CPU Unit at power ON without a parameter file (.STD) if the name of the program file (.OBJ) is changed to REPLACE on the CX-Programmer and the file is stored on a...
  • Page 54: Upgrades For Cj1M Cpu Unit Ver. 2.0

    CJ1-H and CJ1M CPU Unit Features Section 1-3 EXPANDED BLOCK COMPARE (BCMP2(502)) for Comparison Judgements for Up to 256 Ranges (Upper/Lower Limits) with One Instruction This instruction determines if a value is within any of up to 256 ranges defined by upper and lower limits.
  • Page 55: Cj1-H/Cj1M Cpu Unit Ver. 3.0 Upgrades

    CJ1-H/CJ1M CPU Unit Ver. 3.0 Upgrades Section 1-4 Expanded Acceleration/ The upper limit of the acceleration/deceleration rate has been increased from Deceleration Rate Setting 2,000 Hz to 65,535 Hz for Pulse Output Instructions with accelerations/decel- erations (ACC(888), PLS2(883), and ORG(889)). Duty Ratios Set in 0.1% The duty ratio for PWM(891) can now be set in 0.1% increments.
  • Page 56: Function Blocks (Fb)

    Function blocks can be created with CX-Programmer Ver. 5.0 or higher by the user and pasted into normal programs. The standard function blocks provided by OMRON in the OMRON FB Library can also be pasted into normal pro- grams. Function blocks enable standard processing to be simply inserted into a program as a single unit.
  • Page 57: Comment Memory (In Internal Flash Memory)

    CompoWay/F command frames and transmitted on the serial line. This enables access to CompoWay/F-compati- ble OMRON components that are connected to the CPU Unit’s built-in serial port via either an NS-series Programmable Terminal (PT) or by using the CMND(490) instruction.
  • Page 58: Simple Backup Data Expanded

    CJ1-H/CJ1M CPU Unit Ver. 3.0 Upgrades Section 1-4 • Program index files (CX-Programmer section names, section comments, and program comments) CX-Programmer Ver. 5.0 or later Comment/section data can be stored in the actual PLC when downloading projects. Project CPU Unit Symbol table file Transfer Comment file...
  • Page 59: Free Running Timer (System Timer After Power On)

    CJ1-H/CJ1M CPU Unit Ver. 3.0 Upgrades Section 1-4 • Program index files (CX-Programmer section names, section comments, and program comments) Simple backup executing CPU Unit • User program • Parameters • I/O memory Memory Card CS/CJ Series (In comment memory) Symbol table file Comment file Program index file...
  • Page 60: New Special Instructions And Functions

    CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 1-4-6 New Special Instructions and Functions The following new instructions and instruction functions have been added. For details, refer to the CS/CJ Series Instructions Reference Manual (W340). These new instructions are supported by the CX-Programmer Ver. 5.0 or higher only.
  • Page 61: Downloading And Uploading Individual Tasks

    CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 1-5-1 Downloading and Uploading Individual Tasks Previous CPU Units (Pre-Ver. 2.0 CPU Units) With the Pre-Ver. 2.0 CPU Units, individual program tasks could not be down- loaded from the CX-Programmer. It was only possible to download the entire user program.
  • Page 62: Improved Read Protection Using Passwords

    CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Usage When several programmers are developing a program, it isn't necessary for a project manager to unify the data because just the debugged tasks can be downloaded/uploaded. Also, transferring individual tasks can help avoid mis- takes.
  • Page 63 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Note Task read protection cannot be set if UM read protection is already set. How- ever, it is possible to set UM read protection after task read protection has been set. CX-Programmer Set a password for particular tasks in the project directory.
  • Page 64 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Usage Apply read protection to tasks when you want to convert those tasks (pro- grams) to “black box” programs. Task 0 Accessable Task 1 Password applied. Not accessable Task converted to "black box." Task 2 Accessable Note...
  • Page 65 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Disabling the creation of file memory program files can help prevent illegal copying of the user program. CX-Programmer When a password is being registered for the entire user program or selected tasks, the creation of backup program files (.OBJ files) can be Password? enabled/disabled with an option setting.
  • Page 66 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 CPU Unit Ver. 2.0 or Later With the CPU Unit Ver. 2.0 and later CPU Units, the CPU Unit's UM area can be write protected by turning ON pin 1 of the CPU Unit's DIP switch. The pro- and CX-Programmer Ver.
  • Page 67: Write Protection From Fins Commands Sent To Cpu Units Via Networks

    CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Auxiliary Area Flags and Bits related to Password Protection Name Description address UM Read Protection A09900 Indicates whether or not the PLC (the entire user Flag program) is read-protected. 0: UM read protection is not set. 1: UM read protection is set.
  • Page 68 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Example: Write operations by FINS com- Computer #1 mands are prohibited from some nodes in the network (in this exam- ple, computer #1, PLC #1, and PLC #2). Computer #2 Network PLC #2 PLC #3 PLC #1 Network...
  • Page 69 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Connection pattern Diagram (example) Write protection From a computer through a Can be The CPU Unit in PLC #2 direct network connection applied. can be write-protected. Computer PLC #1 PLC #2 Network From another PLC in the net- Can be If the CMND instruction is used to send...
  • Page 70 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 PLC Setup Item Address in Description Settings Default setting Programming Console Use FINS Write Pro- Word 448, bit 15 Sets whether the CPU Unit is 0: Write protection 0: Write protection tection write-protected from FINS com- disabled disabled...
  • Page 71 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 By limiting the number of nodes that can write to the PLC, it is possible to pre- vent system problems caused by unintentional overwrites during data moni- toring. System control/monitoring computer Allowed to write/control PLC Equipment Network...
  • Page 72 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Operations from CX-Programmer (including CX-Net) through the Network The following CX-Programmer (including CX-Net) operations are restricted by FINS write protection when performed on the CPU Unit through the network. Operations not • Changing the Operating Mode allowed through the •...
  • Page 73: Online Network Connections Without I/O Tables

    CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 1-5-4 Online Network Connections without I/O Tables Summary With CJ-series CPU Units, the CPU Unit can recognize a CPU Bus Unit (such as a Network Communications Unit, see note) even if the I/O tables have not been created and there is no registered I/O tables as a result of using auto- matic I/O allocation at startup.
  • Page 74: Communications Through A Maximum Of 8 Network Levels

    CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 • Applicable functions: Online connections from CX-Programmer and CX- Protocol, and online functions of the applicable CPU Units and CPU Bus Units Note When a CS1W-ETN21 or CJ1W-ETN21 Ethernet Unit is being used, the Ethernet Unit's IP address is automatically set to the default value of 192.168.250.xx, where xx is the FINS node address.
  • Page 75 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Compatible Networks Only the following 2 kinds of networks can be used when communicating through a maximum of 8 networks. The network levels can be combined in any order. • Controller Link •...
  • Page 76: Connecting Online To Plcs Via Ns-Series Pts

    CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 When using communications for to 4 to 8 network levels, use only CS/CJ- series CPU Units Ver. 2.0 or later. Other CPU Units cannot be used. Rout- ing errors (error codes 0501 to 0504 hex) may occur in the relaying PLCs, preventing a FINS response from being returned.
  • Page 77: Setting First Slot Words

    CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Note Do not set the frame length higher than 1,000. If any higher value is used, the program transfer will fail and a memory error will occur. 1-5-7 Setting First Slot Words Previous CPU Units (Pre-Ver.
  • Page 78 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Operating Procedure Select Option - Rack/Slot Start Addresses in the PLC IO Table - Traffic Con- troller Window. This command will enable setting both the first Rack addresses and the first slot addresses. Select Option - Rack/Slot Start Addresses.
  • Page 79: Automatic Transfers At Power On Without A Parameter File

    CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Note The first address settings for Racks and slots can be uploaded/downloaded from/to the CPU Unit. CPU Unit Ver. 2.0 or Later and CX-Programmer Ver. 4.0 or Higher Summary When using CX-Programmer Ver.4.0 or higher with CPU Unit Ver. 2.0 or later, the first address can be set for up to 64 slots.
  • Page 80 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Even if a program file (.OBJ) was created offline without the actual PLC and then sent to a remote PLC as an email attachment, the program file could not be transferred to the CPU Unit without a Programming Device. Personal Local site (no Programming Device) computer...
  • Page 81: Operation Start/End Times

    CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 1-5-9 Operation Start/End Times Previous CPU Units (Pre-Ver. 2.0 CPU Units) The time that operation started and the time operation ended were not stored in the CPU Unit. CPU Unit Ver. 2.0 or Later The times that operation started and ended are automatically stored in the Auxiliary Area.
  • Page 82 CJ1-H/CJ1M CPU Unit Ver. 2.0 Upgrades Section 1-5 Remote site Office Units are mounted Create program files for automatic I/O not allocated according to settings in mounted Units transfer at power ON (AUTOEXEC.OBJ) and parameter User-set I/O allocation files for automatic transfer at Program file for automatic power ON (AUTOEXEC.STD).
  • Page 83: 1-5-11 New Application Instructions

    CJ1 and CJ1-H CPU Unit Comparison Section 1-6 As a result, in the above diagram for example, files for automatic transfer at power ON are created in an office where the Units are not mounted. The files are then saved in a Memory Card, which is taken and installed in a CJ-series CPU Unit at the remote site, where automatic transfer at power ON is exe- cuted and I/O is allocated according to the I/O allocations in the mounted Unit using the method recorded in the Memory Card.
  • Page 84 CJ1 and CJ1-H CPU Unit Comparison Section 1-6 Item CJ1-H CPU Unit CJ1M CPU Unit CJ1 CPU Unit (CJ1H-CPU6@H) (CJ1M-CPU@2/CPU@3) (CJ1G-CPU4@) Execu- CPU execution pro- Any of the following four Either of following two Either of following two tion timing cessing modes modes: modes:...
  • Page 85 CJ1 and CJ1-H CPU Unit Comparison Section 1-6 Item CJ1-H CPU Unit CJ1M CPU Unit CJ1 CPU Unit (CJ1H-CPU6@H) (CJ1M-CPU@2/CPU@3) (CJ1G-CPU4@) Tasks Cyclic execution of Supported. Supported. Not supported. interrupt tasks via (Up to 256 extra cyclic (Up to 256 extra cyclic (No extra cyclic tasks;...
  • Page 86 CJ1 and CJ1-H CPU Unit Comparison Section 1-6 Item CJ1-H CPU Unit CJ1M CPU Unit CJ1 CPU Unit (CJ1H-CPU6@H) (CJ1M-CPU@2/CPU@3) (CJ1G-CPU4@) I/O tables Detailed information Detailed I/O table error Detailed I/O table error Not supported. on I/O table creation information is stored in information is stored in errors A261 whenever the I/O...
  • Page 87 CJ1 and CJ1-H CPU Unit Comparison Section 1-6 Item CJ1-H CPU Unit CJ1M CPU Unit CJ1 CPU Unit (CJ1H-CPU6@H) (CJ1M-CPU@2/CPU@3) (CJ1G-CPU4@) Text Text string and table Data processing can be Data processing can be Normal processing only. string, data processing performed normally or in performed normally or in table...
  • Page 88 CJ1 and CJ1-H CPU Unit Comparison Section 1-6 Item CJ1-H CPU Unit CJ1M CPU Unit CJ1 CPU Unit (CJ1H-CPU6@H) (CJ1M-CPU@2/CPU@3) (CJ1G-CPU4@) Opera- CPU Unit startup Starting or not starting Starting or not starting CPU Unit standby (fixed) tion when (standby) the CPU Unit in (standby) the CPU Unit in Unit MONITOR or RUN mode...
  • Page 89: Function Tables

    Function Tables Section 1-7 Function Tables The following tables list functions for the CJ-series CPU Units (including the CJ1, CJ1M, and CJ1-H CPU Units). 1-7-1 Functions Arranged by Purpose Purpose Function Manual Reference Basic Opera- Studying system configura- Operation SECTION 2 tion and Sys- tion Manual...
  • Page 90 Function Tables Section 1-7 Purpose Function Manual Reference Simplifying Creating looped program Use FOR(512) and NEXT(513) or Instructions Sequence the Program sections. JMP(004) and JME(005). Reference Control Manual Instructions (W340) Indirectly addressing DM All words in the DM and EM Areas can Programming 6-2 Index words.
  • Page 91 Function Tables Section 1-7 Purpose Function Manual Reference Managing the Reducing the cycle time. • Use tasks to put parts of the pro- Programming 6-1 Cycle Cycle Time gram that don’t need to be executed Manual Time/High- into “standby” status. (W394) speed Pro- cessing...
  • Page 92 Function Tables Section 1-7 Purpose Function Manual Reference Using Inter- Monitoring operating sta- Use a scheduled interrupt task. Programming 4-3 Inter- rupt Tasks tus at regular intervals. Manual rupt Tasks (W394) Issuing an interrupt to the Use a Serial Communications Units CPU when data is received and external interrupt task.
  • Page 93 Function Tables Section 1-7 Purpose Function Manual Reference Connecting Connecting a Programming Connect to the peripheral port with pin Operation 3-3 Pro- Program- Console. 4 of the CPU Unit’s DIP switch OFF. Manual gramming ming Devices Devices Connecting a Programming Connect to the peripheral port with pin Device (e.g., the CX-Pro- 4 of the CPU Unit’s DIP switch OFF or...
  • Page 94 Function Tables Section 1-7 Purpose Function Manual Reference File Memory Automatically transferring Enable the “automatic transfer at Programming SECTION 5 the program, I/O Memory, start-up” function by turning ON pin 2 Manual File Memory and PLC Setup from the of the CPU Unit’s DIP switch and cre- (W394) Functions Memory Card when the...
  • Page 95 Function Tables Section 1-7 Purpose Function Manual Reference Maintenance Changing the program Use the online editing function from a Programming 7-2-3 Online and Debug- while it is being executed. Programming Device. Manual Editing ging (W394) (Several instruction blocks can be changed with CX-Programmer.) Sampling I/O Memory data.
  • Page 96: Communications Functions (Serial/Network)

    Function Tables Section 1-7 Purpose Function Manual Reference Other Func- Protecting the program. Write-protect the user program mem- Programming 6-4 Startup tions ory. Manual Settings and (W394) Mainte- nance Allocating words in the I/O Set the first word allocated to each 6-7 Other Area by specifying the first Rack by registering the I/O table from...
  • Page 97 Function Tables Section 1-7 Purpose Protocol: Required Equipment Reference Remote I/O High-density I/O DeviceNet: 2-5-3 Com- between PLC DeviceNet Master Unit and required munications Free word allocation and Slaves Slave Units Network Sys- Multi-vendor capability Analog I/O capability Multi-level architecture High-speed Remote I/O CompoBus/S: CompoBus/S Master Unit and...
  • Page 98: Cj1-H Functions Arranged By Purpose

    CJ1-H Functions Arranged by Purpose Section 1-8 CJ1-H Functions Arranged by Purpose Purpose Function Increas- Increasing the speed of both the instruction Use the Parallel Processing Mode with Synchronous Memory execution cycle and peripheral servicing. Access or Parallel Processing Mode with Asynchronous Memory speed Access.
  • Page 99 CJ1-H Functions Arranged by Purpose Section 1-8 Purpose Function Increas- Using more tasks. Define interrupt tasks as cyclic tasks (called “extra cyclic tasks”). Reducing the cycle time even with structured Use shared index and data registers. struc- programs using many tasks. ture Using the same index or data registers in dif- ferent tasks without saving and loading reg-...
  • Page 100 CJ1-H Functions Arranged by Purpose Section 1-8 Purpose Function Debug- Not including user-defined FAL errors in the Set the PLC Setup to not include user-defined FAL errors in the ging error log, e.g., when monitoring errors on a error log. PT.
  • Page 101: Cj1M Functions Arranged By Purpose

    CJ1M Functions Arranged by Purpose Section 1-9 CJ1M Functions Arranged by Purpose In general, CJ1M CPU Units have basically the same functions as CJ1-H CPU Units. The functions described in the following tables are unique to the CJ1M. 1-9-1 High-speed Processing Purpose I/O used Function...
  • Page 102: Controlling Pulse Outputs

    CJ1M Functions Arranged by Purpose Section 1-9 1-9-2 Controlling Pulse Outputs Purpose I/O used Function Description Perform simple posi- Built-in Pulse out- Pulse output functions The built-in outputs (bits 00 to 03 of tioning by outputting Outputs puts 0 and CIO 2961) can be used as pulse outputs 0 •...
  • Page 103 CJ1M Functions Arranged by Purpose Section 1-9 Purpose I/O used Function Description Perform fixed distance Built-in Pulse out- Execute positioning When a speed control operation started with feed interrupt. Outputs puts 0 and with the PLS2(887) the SPED(885) instruction (continuous) or instruction during an ACC(888) instruction (continuous) is in operation started with...
  • Page 104: Receiving Pulse Inputs

    CJ1M Functions Arranged by Purpose Section 1-9 1-9-3 Receiving Pulse Inputs Purpose Function Description used Receive incremental rotary encoder inputs to calculate length or position. • Counting at low- Built-in Interrupt inputs Interrupt inputs (Counter Built-in inputs (bits 00 to 03 of speed frequen- Inputs...
  • Page 105: Serial Plc Link

    1:1 connection.) In this way, up to 10 words of data can be exchanged per CPU Unit. When an OMRON PT is connected The PT can be connected via RS-422A/485 at to a CJ1M CPU Unit by NT Link the Serial PLC Link, and made to communicate (1:N mode), share the connection with the CPU Unit through a 1:N NT Link.
  • Page 106: Comparison With The Cj1W-Nc Pulse Outputs

    CJ1M Functions Arranged by Purpose Section 1-9 1-9-5 Comparison with the CJ1W-NC Pulse Outputs Item CJ1M CJ1W-NC Position Control Unit Control method Controlled with the ladder program's Pulse Controlled with the Start Command Bit (Rel- Output instructions (SPED(885), ACC(888), ative Movement Command Bit or Absolute and PLS2(887)).
  • Page 107: 1-10 Comparison To Cs-Series Plcs

    Comparison to CS-series PLCs Section 1-10 1-10 Comparison to CS-series PLCs The CS-series and CJ-series PLCs use the same architecture and are basi- cally the same in terms of program structure (tasks), instruction system, I/O memory, and other functionality. They do differ, however in that the CJ-series PLCs have a different Unit structure, support different Units, do not support Inner Boards, have different Expansion Racks, have a different I/O allocation method, etc.
  • Page 108 Comparison to CS-series PLCs Section 1-10 Item CJ-series PLCs, CJ1-H CPU Units CS-series PLCs, CS1-H CPU Units Registered Support Supported (but operation is possible with- Supported (must be created from Pro- I/O tables out creating I/O tables from a Program- gramming Device).
  • Page 109 Comparison to CS-series PLCs Section 1-10...
  • Page 110: Specifications And System Configuration

    SECTION 2 Specifications and System Configuration This section provides tables of standard models, Unit specifications, system configurations, and a comparison between different Units. Specifications ..........2-1-1 Performance Specifications .
  • Page 111: Specifications

    Specifications Section 2-1 Specifications 2-1-1 Performance Specifications CJ1-H CPU Units CJ1H- CJ1H- CJ1H- CJ1G- CJ1G- CJ1G- CJ1G- CPU67H CPU66H CPU65H CPU45H CPU44H CPU43H CPU42H I/O bits 2,560 1,280 User program memory 250 Ksteps 120 Ksteps 60 Ksteps 60 Ksteps 30 Ksteps 20 Ksteps 10 Ksteps (See note.) Data Memory 32 Kwords...
  • Page 112 Specifications Section 2-1 Item Specification CPU Units with Built-in I/O CPU Units without Built-in I/O Interrupt inputs PWM output points None Maximum subroutine 1,024 1,024 number Maximum jump 1,024 1,024 number for JMP instruction Built-in inputs • Interrupt inputs (quick-response): 4 inputs •...
  • Page 113 Specifications Section 2-1 CJ1 CPU Units CJ1G-CPU45 CJ1G-CPU44 I/O bits 1,280 User program memory 60 Ksteps 30 Ksteps (See note.) Data Memory 32 Kwords Extended Data Memory 32 Kwords x 3 banks 32 Kwords x 1 bank E0_00000 to E2_32767 E0_00000 to E0_32767 Current consumption 0.91 A at 5 V DC...
  • Page 114 Specifications Section 2-1 Item Specifications Reference Maximum number of • CJ1-H and CJ1 CPU Units: connectable Units Per CPU or Expansion Rack: 10 Units including Basic I/O Units, Special I/O Units, and CPU Bus Units. Total per PLC: 10 Units on CPU Rack and 10 Units each on 3 Expansion Racks = 40 Units total •...
  • Page 115 Specifications Section 2-1 Item Specifications Reference I/O Area 1,280: CIO 000000 to CIO 007915 (80 words from CIO The CIO 9-3 I/O Area (Core 0000 to CIO 0079) Area can I/O) be used The setting of the first word can be changed from the Area as work default (CIO 0000) so that CIO 0000 to CIO 0999 can be...
  • Page 116 Specifications Section 2-1 Item Specifications Reference Work Area 8,192 bits (512 words): W00000 to W51115 (W000 to W511) 9-2-2 Overview of the Data Areas Controls the programs only. (I/O from external I/O terminals is not pos- 9-7 Serial PLC Link sible.) Area Note When using work bits in programming, use the bits in the Work...
  • Page 117 SECTION 5: File Mem- ory Functions EM file memory (CJ1-H and CJ1 CPU Units only): Part of the EM Area can be converted to file memory (MS-DOS format). OMRON Memory Cards can be used. Function Specifications Item Specifications Reference...
  • Page 118 Specifications Section 2-1 Item Specifications Reference Input response time setting Time constants can be set for inputs from Basic I/O Units. 10-4-6 I/O Response The time constant can be increased to reduce the influence Time of noise and chattering or it can be decreased to detect Programming Manual: shorter pulses on the inputs.
  • Page 119 Specifications Section 2-1 Item Specifications Reference Error check User-defined errors (i.e., user can define fatal errors and 11-2-5 Error Messages non-fatal errors) Programming Manual: The FPD(269) instruction can be used to check the execution 6-5 Diagnostic Func- time and logic of each programming block. tions and 6-5-3 Failure Alarm Functions FAL and FALS instructions can be used with the CJ1-H and...
  • Page 120 Specifications Section 2-1 Item Specifications Reference Program check Program checks are performed at the beginning of operation Programming Manual: for items such as no END instruction and instruction errors. 2-3 Checking Programs CX-Programmer can also be used to check programs. Control output signals RUN output: The internal contacts will turn ON (close) while Programming Manual:...
  • Page 121 Specifications Section 2-1 Functions Provided by CJ1M CPU Units Only Item Specifications Reference Built-in Built-in General-pur- As with Input Units, ordinary input signals are handled Built-in I/O Operation Manual: inputs pose inputs according to the I/O refresh timing, and are reflected in 5-1-2 General-purpose Inputs I/O memory.
  • Page 122: General Specifications

    Specifications Section 2-1 Item Specifications Reference Sched- Scheduled interrupts Starts scheduled interrupt tasks with a minimum inter- Programming Manual: uled in units of 0.1 ms val of 0.5 ms, at a precision of 0.1 ms. (Set in the PLC 6-5 Using a Scheduled Inter- inter- Setup.) rupt as a High-speed Timer...
  • Page 123 Specifications Section 2-1 Note 1. Disconnect the Power Supply Unit’s LG terminal from the GR terminal when testing insulation and dielectric strength. Testing the insulation and dielectric strength with the LG terminal and the GR terminals connected will damage internal circuits in the CPU Unit. 2.
  • Page 124: Cpu Unit Components And Functions

    CPU Unit Components and Functions Section 2-2 CPU Unit Components and Functions 2-2-1 CPU Unit Components LED Indicators Refer to following table. Slider Memory Card Indicators Secures the next Unit. MCPWR (green): Lit when Peripheral Port power is supplied to Memory Card.
  • Page 125 CPU Unit Components and Functions Section 2-2 Indicators The following table describes the LED indicators on the front panel of the CPU Unit. Indicator Meaning RUN (green) Lights when the PLC is operating normally in MONITOR or RUN mode. ERR/ALM (red) Flashes if a non-fatal error occurs that does not stop the CPU Unit.
  • Page 126: Cpu Unit Capabilities

    CPU Unit Components and Functions Section 2-2 2-2-2 CPU Unit Capabilities CJ1 CPU Units Model I/O bits Program Data Memory Ladder Internal com- Optional capacity capacity instruction munications products processing ports (See Note.) speed 0.08 µs CJ1G-CPU45 1,280 bits 60 Ksteps 128 Kwords Peripheral port Memory Cards...
  • Page 127: Units Classifications

    CPU Unit Components and Functions Section 2-2 2-2-3 Units Classifications The CJ-series CPU Units can exchange data with CJ-series Basic I/O Units, CJ-series Special I/O Units, and CJ-series CPU Bus Units, as shown in the following diagram. CJ-series Basic I/O Units CJ-series CJ-series CPU Unit...
  • Page 128: Basic System Configuration

    Basic System Configuration Section 2-3 Basic System Configuration 2-3-1 Overview CJ-series CPU Rack A CJ-series CPU Rack can consist of a CPU Unit, a Power Supply Unit, Basic I/O Units, Special I/O Units, CPU Bus Units, and an End Cover. A Memory Card is optional.
  • Page 129: Cj-Series Cpu Rack

    Basic System Configuration Section 2-3 2-3-2 CJ-series CPU Rack A CJ-series CPU Rack consists of a CPU Unit, a Power Supply Unit, various I/O Units, and an End Cover. Up to 10 I/O Units can be connected. (I/O Control Unit, See note.) Power Supply Unit CPU Unit End Cover...
  • Page 130 Basic System Configuration Section 2-3 Units Name Model Specifications CJ1-H CPU Units CJ1H-CPU76H I/O bits: 2,560, Program capacity: 250 Ksteps Data Memory: 448 Kwords (DM: 32 Kwords, EM: 32 Kwords × 13 banks) CJ1H-CPU66H I/O bits: 2,560, Program capacity: 120 Ksteps Data Memory: 256 Kwords (DM: 32 Kwords, EM: 32 Kwords ×...
  • Page 131 Basic System Configuration Section 2-3 Name Model Specifications Programming Con- CQM1H-PRO01-E An English Keyboard Sheet (CS1W-KS001-E) is required. soles CQM1-PRO01-E C200H-PRO27-E Programming Con- CS1W-KS001-E For CQM1H-PRO01-E, CQM1-PRO01-E, or C200H-PRO27-E. sole Keyboard Sheet Programming Con- CS1W-CN114 Connects the CQM1-PRO01-E Programming Console. sole Connecting (Length: 0.05 m) Cables...
  • Page 132 CPU Unit to OFF. C200H-PRO27-E Programming Console Peripheral port Note When an OMRON Programmable Terminal (PT) is connected to the RS-232C port and Programming Console functions are being used, do not connect the Programming Console at the same time.
  • Page 133 Basic System Configuration Section 2-3 Connecting Personal Computers Running Support Software Connecting to Peripheral Port RS-232C Connecting Cables for Peripheral Port Computer Cable Length Computer connector DOS computer 0.1 m D-Sub, CS1W-CN118 (RS-232C, 9-pin) 9-pin CS1W-CN226 2.0 m CS1W-CN626 6.0 m Peripheral port Note...
  • Page 134 Basic System Configuration Section 2-3 Connecting Personal Computers Running Programming Devices (Using USB-Serial Conversion Cable) Connecting to the Peripheral Port Cable Connection Diagram Using a CS1W- CN226/626 cable USB type A plug, male CS1W-CIF31 D-sub Connector (9-pin male) CS/CJ-series PLC connection Customizable Counter Unit connection CS/CJ-series peripheral connector D-sub Connector...
  • Page 135 Basic System Configuration Section 2-3 Cable Connection Diagram Using a XW2Z- 200S-CV/500S-CV or XW2Z-200S-V/ 500S-V cable for an RS-232C connection USB type A plug, male CS1W-CIF31 D-sub Connector (9-pin male) CS/CJ-series PLC connection Customizable Counter Unit connection D-sub Connector (9-pin male) D-sub Connector (9-pin female) Peripheral port...
  • Page 136: Cj-Series Expansion Racks

    Basic System Configuration Section 2-3 2-3-3 CJ-series Expansion Racks To expand the number of Units in the system, CJ-series Expansion Racks can be connected to CPU Racks. Up to 10 I/O Units can be mounted to each Expansion Rack and a total of 3 Expansion Racks can be connected. (Only one Expansion Rack can be connected to a CJ1M CPU Unit.) The maximum number of I/O Units that can be connected in one PLC is thus 40 (or 20 for CJ1M CPU Units).
  • Page 137: Connectable Units

    Basic System Configuration Section 2-3 Rack Configurations Rack Configuration Remarks CJ-series CJ-series Power Supply Unit One of each Unit required for every Expansion Rack. Expansion Racks Refer to the following table for details on applicable models. I/O Interface Unit (one End Cover included.) CJ-series Basic I/O Units A total of up to 10 Units can be connected.
  • Page 138: I/O Units

    I/O Units Section 2-4 Note A fatal error will occur and the CPU Unit will not operate if more than 10 I/O Units are connected to the CPU Rack or any Expansion Rack. I/O Units 2-4-1 CJ-series Basic I/O Units Basic Input Units Name Specifications...
  • Page 139 I/O Units Section 2-4 Basic Output Units Name Specifications Model Number Mountable Racks of bits CJ-series CJ-series allocated CPU Rack Expansion Racks Relay Output Units Terminal block, 250 V AC/24 V DC, 2 A; CJ1W-OC201 16 (See 8 points, independent contacts note 2.) Terminal block, 250 V AC, 0.6 A;...
  • Page 140 Note 1. The cable-side connector is not provided with Units equipped with cables. Purchase the cable separately (see page 244), or use an OMRON Con- nector-Terminal Block Conversion Unit or I/O Terminal (see page 247). 2. Although 16 I/O bits are allocated, only 8 of these can be used for external I/O.
  • Page 141: Cj-Series Special I/O Units

    I/O Units Section 2-4 2-4-2 CJ-series Special I/O Units Name Specifications Model Number of Number Mountable Racks Unit No. words of words CJ-series CJ-series allocated allocated CPU Rack Expansion (CIO 2000 (D20000 Racks CIO 2959) D29599) Analog 8 inputs (4 to 20 mA, 1 to 5 V, CJ1W-AD081 10 words 0 to 95...
  • Page 142 I/O Units Section 2-4 Name Specifications Model Number of Number Mountable Racks Unit No. words of words CJ-series CJ-series allocated allocated CPU Rack Expansion (CIO 2000 (D20000 Racks CIO 2959) D29599) Position 1 axis, pulse output; open col- CJ1W-NC113 10 words 0 to 95 Control lector output...
  • Page 143: Cj-Series Cpu Bus Units

    Expanded System Configuration Section 2-5 2-4-3 CJ-series CPU Bus Units Name Specifications Model Number Mountable Racks Unit No. of words CJ-series CJ-series allocated CPU Rack Expansion (CIO 1500 to Racks CIO 1899) Controller Link Units Wired CJ1W-CLK21-V1 25 words 0 to F (4 Units max.) Serial Communications...
  • Page 144 Expanded System Configuration Section 2-5 1,2,3... 1. If the CPU Unit built-in ports or Serial Communications Unit ports are used, various protocols can be allocated, such as Host Link and protocol macros. 2. Up to 16 Serial Communications Units can be connected for one CPU Unit. The system configuration can then be expanded by connecting devices with RS-232C or RS-422/485 ports, such as Temperature Sensor Units, Bar Code Readers, ID Systems, personal computers, Board Computers,...
  • Page 145: Systems

    Personal computer Communications between Host Link commands/ FINS slave the Host computer and the commands. Commands can OMRON Programmable Ter- PLC. Commands can be be sent to a computer from minals sent to a computer from the the PLC. PLC.
  • Page 146 Expanded System Configuration Section 2-5 Protocol Main connection Applicable commands, communications instructions NT Links (1: N) OMRON Programmable Ter- High-speed communica- None minals tions with Programmable Terminals via direct access. Peripheral bus (See note 1.) Programming Devices CX- Communications between...
  • Page 147 Expanded System Configuration Section 2-5 Host computer FINS commands sent via SEND/RECV/CMND Applicable port instructions from the PLC Serial Communi- CPU Unit cations RS-232C Unit Peripheral port RS-232C port (See note 1.) (See note 2.) Host Link commands or FINS commands Note 1.
  • Page 148 Expanded System Configuration Section 2-5 Note 1. Set pin 5 of the DIP switch on the front panel of the CPU Unit to OFF, and set the serial communications mode in the PLC Setup to no-protocol com- munications. 2. No-protocol communications are supported for Serial Communications Units with unit version 1.2 or later only.
  • Page 149 Serial Communications Unit, enabling data to be sent to and received from the external devices by simply executing the PMCR(260) instruction in the CPU Unit. Protocols for data communications with OMRON devices, such as Temperature Controller, Intelligent Signal Processors, Bar Code Readers, and Modems, are supported as standard protocols.
  • Page 150 The CJ-series CPU Unit can operate as a host to send CompoWay/F com- (Host Function) mands to OMRON components connected in the system. CompoWay/F com- mands are executed by using the CompoWay/F send/receive sequences in the standard protocols of the protocol macro function.
  • Page 151 Expanded System Configuration Section 2-5 Host Link FINS FINS CX-Programmer or other Programming Device that Network Serial Communications uses CX-Server as the FINS command CMND(490) Board/Unit with unit communications driver sent version 1.2 or later Note: Not supported for CPU Units FINS Serial Gateway...
  • Page 152 Expanded System Configuration Section 2-5 FINS Commands Host Link FINS Host Link terminator Host Link header Note In Host Link mode, FINS commands contained between a header and termi- nator can be sent from the host computer to any PLC on the Network. Com- munications are possible with PLCs on the same or different types of interconnected Networks up to two levels away (three levels including the local level but not including the Host Link connection).
  • Page 153 FINS Messages FINS (Factory Interface Network Service) messages are commands and responses that are used as a message service in an OMRON Network. FINS messages enable the user to control operations such as sending and receiv- ing data and changing operating modes when necessary. The features of...
  • Page 154 Expanded System Configuration Section 2-5 Flexible Communications FINS messages are defined in the application layer and do not rely on the physical layer, data link layer, or other lower-level layers. This enables flexible communications on the CPU bus and different types of networks. Basically, communications with Ethernet, Controller Link, or Host Link Networks, and between the CPU Unit and CPU Bus Units is possible via the CPU bus.
  • Page 155 Expanded System Configuration Section 2-5 Network-to-Serial Conversion or Network-to-Serial-to-Network Conversion Using a Serial Communications Board/Unit with unit version 1.2 or later and Serial Gateway mode enables received FINS commands to be automatically converted into CompoWay/F, Modbus-RTU, Modbus-ASCII, or Host Link FINS commands according to the FINS message.
  • Page 156: Communications Network System

    Expanded System Configuration Section 2-5 2-5-3 Communications Network System Communications Networks The following network systems can be configured when using CJ-series Units. Ethernet Message Communications Host computer to PLC PLC to PLC or Host computer Ethernet Unit FTP Server Function Socket Service Host computer to PLC Sends/receives data using TCP...
  • Page 157 Ethernet Unit Controller Link The Controller Link Network is the basic framework of the OMRON PLC FA Network. Connecting a Controller Link Unit to the network enables data links between PLCs, so that data can be shared without programming, and FINS message communications between PLCs, which enable separate control and data transfer when required.
  • Page 158 Expanded System Configuration Section 2-5 DeviceNet DeviceNet is a multi-vendor network consisting of multi-bit control and infor- mation systems and conforms to the Open Field DeviceNet specification. Connecting a DeviceNet Master Unit to the network enables remote I/O com- munications between the PLC and the Slaves on the network. Remote I/O communications enable large-capacity I/O and user-set allocations.
  • Page 159 PLC and Network devices Large-capacity remote I/O (Slaves). (fixed or free allocation) in an open network CompoBus/S High-speed remote I/O in a CompoBus/S Master network with OMRON Unit devices only (fixed alloca- tions). PROFIBUS-DP Large-capacity remote I/O PROFIBUS-DP Master (user-set allocation) in an...
  • Page 160: Unit Current Consumption

    Unit Current Consumption Section 2-6 Communications Specifications Network Communications Max. baud rate Commu- Max. Commu- Data link Max. Connectable devices nica- nica- capacity remote Mes- Data tions tions (per net- sages link mote distance Units medium work) points Ethernet 10 Mbps 2.5 km Twisted- Host computer-to-...
  • Page 161: Example Calculations

    Unit Current Consumption Section 2-6 2-6-2 Example Calculations Example 1: CPU Rack In this example, the following Units are mounted to a CPU Rack with a CJ1W- PA205R Power Supply Unit. Unit Model Quantity Voltage group 5-V DC 24-V DC CPU Unit CJ1G-CPU45 0.910 A...
  • Page 162: Current Consumption Tables

    Unit Current Consumption Section 2-6 2-6-3 Current Consumption Tables 5-V DC Voltage Group Name Model Current consumption (A) CPU Units (including power CJ1H-CPU66H 0.99 (See note.) supplied to Programming CJ1H-CPU65H 0.99 (See note.) Console) CJ1G-CPU45H 0.91 (See note.) CJ1G-CPU44H 0.91 (See note.) CJ1G-CPU43H 0.91 (See note.) CJ1G-CPU42H...
  • Page 163 Unit Current Consumption Section 2-6 Category Name Model Current consumption (A) Basic Output Units Transistor Output CJ1W-OD201 0.09 Units CJ1W-OD202 0.11 CJ1W-OD203 0.10 CJ1W-OD204 0.10 CJ1W-OD211 0.10 CJ1W-OD212 0.10 CJ1W-OD231 0.14 CJ1W-OD232 0.15 CJ1W-OD233 0.14 CJ1W-OD261 0.17 CJ1W-OD262 0.17 CJ1W-OD263 0.17 Relay Output Units CJ1W-OC201...
  • Page 164: Cpu Bus Unit Setting Area Capacity

    CPU Bus Unit Setting Area Capacity Section 2-7 CJ-series CPU Bus Units Category Name Model Current consumption (A) CPU Bus Units Controller Link CJ1W-CLK21-V1 0.35 Unit Serial Communi- CJ1W-SCU41 0.38 (See note.) cations Unit CJ1W-SCU21 0.28 (See note.) Ethernet Unit CJ1W-ETN11 0.38 CJ1W-ETN21...
  • Page 165: I/O Table Settings List

    I/O Table Settings List Section 2-8 I/O Table Settings List The following settings are used in the I/O tables on the CX-Programmer. 2-8-1 CJ-series Basic I/O Units Name Model Unit type setting Addresses Input Output per Unit Words Words CS/CJ 8pt Unit − 8pt Input --- DC Input Units CJ1W-ID201 16pt Unit −...
  • Page 166: Cj-Series Special I/O Units

    I/O Table Settings List Section 2-8 2-8-2 CJ-series Special I/O Units Name Model Unit type setting Addresses Input Output per Unit Words Words CS/CJ SIO Unit − Analog Input Unit Analog Input Unit CJ1W-AD041 CJ1W-AD081 (-V1) CS/CJ SIO Unit − Analog Output Unit Analog Output Unit CJ1W-DA021 CJ1W-DA041...
  • Page 167: Cj-Series Cpu Bus Units

    I/O Table Settings List Section 2-8 2-8-3 CJ-series CPU Bus Units Name Model Unit type setting Addresses Input Output per Unit Words Words CS/CJ CPU SIO Unit − Controller Link Unit Controller Link Unit CJ1W-CLK21 CSJW-MCH71 CS/CJ CPU SIO Unit − High Function Motion High-resolution Motion Control Unit Control Unit...
  • Page 168: Nomenclature, Functions, And Dimensions

    SECTION 3 Nomenclature, Functions, and Dimensions This section provides the names of components and their functions for various Units. Unit dimensions are also provided. CPU Units ........... . 3-1-1 Models .
  • Page 169: Cpu Units

    CPU Units Section 3-1 CPU Units 3-1-1 Models CJ1-H CPU Units I/O points Expansion Program Data Memory LD instruction Model Weight Racks capacity (DM + EM) processing time 0.02 µs 2,560 3 max. 250 Ksteps 448 Kwords CJ1H-CPU67H 200 g max.
  • Page 170: Components

    CPU Units Section 3-1 3-1-2 Components CJ1 and CJ1-H CPU Units LED Indicators SYSMAC ERR/ALM CJ1G-CPU44 DIP Switch Battery Compartment PROGRAMMABLE PRPHL (Inside the battery compartment) CONTROLLER COMM Used for initial settings. Memory Card Indicators OPEN MCPWR (green): Lit when power is Memory Card Power supplied to Memory Card.
  • Page 171 CPU Units Section 3-1 CJ1M CPU Units Models without Built-in I/O (CJ1M-CPU1@) SYSMAC ERR/ALM CJM1 PROGRAMMABLE PRPHL CONTROLLER COMM CPU12 BKUP OPEN SW SETTING BATTERY MCPWR BUSY PERIPHERAL PORT Note The nomenclature and functions are the same as for the CJ1 and CJ1-H CPU Units above.
  • Page 172 CPU Units Section 3-1 Note All nomenclature and functions other than those shown in the above diagram are the same as for CJ1 and CJ1-H CPU Units. Indicators The following table describes the LED indicators located on the front panel of the CPU Units.
  • Page 173 CPU Units Section 3-1 DIP Switch The CJ-series CPU Unit has an 8-pin DIP switch that is used to set basic operational parameters for the CPU Unit. The DIP switch is located under the cover of the battery compartment. The DIP switch pin settings are described in the following table.
  • Page 174: Cpu Unit Memory Block Map

    CPU Units Section 3-1 SYSMAC ERR/ALM CJ1G-CPU44 PROGRAMMABLE PRPHL CONTROLLER COMM OPEN MCPWR BUSY Note The language displayed for the CJ-series CPU Units is not set on the DIP switch, but rather is set using Programming Console keys. 3-1-3 CPU Unit Memory Block Map The memory of CJ-series CPU Units is configured in the following blocks.
  • Page 175: Fb Pro

    CPU Units Section 3-1 CJ1 CPU Unit Built-in RAM I/O Memory Area Backup Battery The battery life is 5 years at an ambient Drive 1: EM file memory (See Note 2.) temperature of 25°C. User program Drive 0: Memory Card (flash memory) Parameter Area (See Note 1.)
  • Page 176 CPU Units Section 3-1 2. Part of the EM (Extended Data Memory) Area can be converted to file memory to handle data files and program files in RAM memory format, which has the same format as Memory Cards. Both EM file memory or memory cards can be treated as file memory (i.e., can be used to store files).
  • Page 177: Dimensions

    CPU Units Section 3-1 3-1-4 Dimensions CJ1 and CJ1-H CPU Units SYSMAC ERR/ALM CJ1G-CPU44 PROGRAMMABLE PRPHL CONTROLLER COMM OPEN MCPWR BUSY PERIPHERAL PORT 73.9 CJ1M CPU Units CPU Units without Built-in I/O (CJ1M-CPU1@) 73.9...
  • Page 178: (Kbytes) Com

    File Memory Section 3-2 CPU Units with Built-in I/O (CJ1M-CPU2@) 48.75 83.6 File Memory For CJ-series CPU Units, the Memory Card and a specified part of the EM Area can be used to store files. All user programs, the I/O Memory Area, and the Parameter Area can be stored as files.
  • Page 179: Files Handled By Cpu Unit

    File Memory Section 3-2 2. The HMC-AP001 Memory Card Adapter is shown below. 3-2-1 Files Handled by CPU Unit Files are ordered and stored in the Memory Card or EM file memory accord- ing to the file name and the extension attached to it. General-use Files File type Contents...
  • Page 180: Initializing File Memory

    File Memory Section 3-2 Easy Backup Files File type Contents File name Extension Data files Words allocated to Special I/O BACKUP .IOM Units, and CPU Bus Units in the DM area CIO area BACKUPIO .IOR General-purpose DM area BACKUPDM .IOM General-purpose EM area BACKUPE@ .IOM...
  • Page 181: Using File Memory

    File Memory Section 3-2 3-2-3 Using File Memory Note For details on using file memory, refer to the CS/CJ Series Programming Man- ual. Memory Card Reading/Writing Files Using Programming File File name and extension Data transfer direction Device (CX-Programmer ∗∗∗∗∗∗∗∗.OBJ Program files Between CPU Unit and Mem- or Programming Console)
  • Page 182 File Memory Section 3-2 4. Using the FREAD(700) instruction, read the I/O memory files from the Memory Card to the I/O memory in the CPU Unit. Note When using spreadsheet software to read data that has been written to the Memory Card in CSV or text format, it is now possible to read the data using Windows applications by mounting a Memory Card in the personal computer card slot using a HMC-AP001 Memory Card Adapter.
  • Page 183 File Memory Section 3-2 Reading/Writing EM File Memory Files Using Programming Device (CJ1 and CJ1-H CPU Units Only) (CX-Programmer or Programming Console) File File name and extension Data transfer direction ∗∗∗∗∗∗∗∗.OBJ Program files Between CPU Unit and EM file memory ∗∗∗∗∗∗∗∗.IOM Data files ∗∗∗∗∗∗∗∗.STD...
  • Page 184: Memory Card Dimensions

    File Memory Section 3-2 3-2-4 Memory Card Dimensions 3-2-5 Installing and Removing the Memory Card Installing the Memory Card 1,2,3... 1. Pull the top end of the Memory Card cover forward and remove from the Unit. 2. Insert the Memory Card with the label facing to the left. (Insert with the ∆ on the Memory Card label and the ∆...
  • Page 185 File Memory Section 3-2 Removing the Memory Card 1,2,3... 1. Press the Memory Card power supply switch. Memory Card power supply switch OPE N MCP WR BUS Y 2. Press the Memory Card eject button after the BUSY indicator is no longer lit.
  • Page 186: Programming Devices

    Programming Devices Section 3-3 Note 1. Never turn OFF the PLC while the CPU is accessing the Memory Card. 2. Never remove the Memory Card while the CPU is accessing the Memory Card. Press the Memory Card power supply switch and wait for the BUSY indicator to go OFF before removing the Memory Card.
  • Page 187 Programming Devices Section 3-3 The following table provides a comparison between the CX-Programmer func- tions and the Programming Console functions. Function Programming Console CX-Programmer Editing and referencing I/O tables Deleting I/O tables Selecting tasks Writing pro- Inputting instructions Writes instructions one at a time using Writes multiple blocks using mnemon- grams mnemonics...
  • Page 188: Programming Consoles

    Programming Devices Section 3-3 3-3-2 Programming Consoles There are three Programming Consoles that can be used with the CJ-series CPU Units: The CQM1H-PRO01-E, CQM1-PRO01-E, and C200H-PRO27-E. These Programming Consoles are shown here. CQM1H-PRO01-E Programming Console Connection PRO01 PROGRAMMING CONSOLE PROGRAMMING CONSOLE LCD area MONITOR PROGRAM...
  • Page 189: Cx-Programmer

    Programming Devices Section 3-3 C200H-PRO27-E Programming Console PRO27 PROGRAMMING CONSOLE PROGRAMMING CONSOLE LCD area MONITOR PROGRAM Mode selector switch Operation keys (Install the CS1W-KS001-E Key Sheet CS1W-CN224 (Cable length: 2.0 m) EAR MIC CS1W-CN624 (Cable length: 6.0 m) Casette jacks (See note.) C200H-PRO27-E Connect the CPU Unit to the Programming Console with the following cables.
  • Page 190 Programming Devices Section 3-3 Note 1. The following versions of CX-Programmer are required for the different CPU Units CPU Unit CX-Programmer version CS1 CPU Units Version 1.0 or higher CJ1 CPU Units Version 2.04 or higher CS1-H CPU Units Version 2.10 or higher CJ1-H CPU Units Version 2.10 or higher CJ1M CPU Units excluding...
  • Page 191 Programming Devices Section 3-3 CX-Programmer Connecting Cables Unit Unit port Com- Computer Serial Model Length Cable notes puter port communications mode CPU Units Built-in D-Sub, 9-pin, Peripheral Bus or CJ1W-CN226 2.0 m peripheral male Host Link CJ1W-CN626 6.0 m port Built-in D-Sub, 9-pin, Peripheral Bus or...
  • Page 192 Programming Devices Section 3-3 Using a RS-232C Cable for a IBM PC/AT or Compatible Unit Unit port Com- Computer Serial Model Length Cable notes puter port communications mode CPU Units Built-in D-Sub, 9-pin, Host Link XW2Z-200S-V RS-232C male XW2Z-500S-V port D-Sub, 9- pin, female...
  • Page 193 Programming Devices Section 3-3 CX-Programmer Connecting Cables Cables Connecting to CPU Units Cable 1 Cable 2 Unit port Serial Con- communications Connec- Cable model Connec- Connec- Cable model Connec- necting mode Cable (network) Model CS1W- D-sub, 9- CS1W-CN226/626 CS/CJ- Not required. CS/CJ- Peripheral Bus CIF31...
  • Page 194 Programming Devices Section 3-3 Communications Modes when Connecting a CX-Programmer to a CJ-series CPU Unit Serial communications mode Characteristics Peripheral Bus High-speed communications are possible. Conse- quently, connecting via a peripheral bus is recom- mended when using a CX-Programmer. Only 1:1 connection is possible. When using a CJ-series CPU Unit, the baud rate of the communications devices can be automatically recognized for connection.
  • Page 195: Peripheral Port Specifications

    Programming Devices Section 3-3 3-3-4 Peripheral Port Specifications Protocol PLC Setup and DIP Switch Settings Pin No. 4 Peripheral port settings (in PLC Setup) Default value: 0 hex NT Link: 2 hex Peripheral bus: 4 hex Host Link: 5 hex Programming Console or other CX-Programmer through peripheral bus (automatically detects the Pro- gramming Device’s communications parameters) Host computer or CX-...
  • Page 196 Plug: XM2A-0901 (9-pin male) Provided with CPU Unit Note Use the special cables provided from OMRON for all connections whenever possible. If cables are produced in-house, be sure they are wired correctly. External devices and the CPU Unit may be damaged if general purpose (e.g., computer to modem) cables are used or if wiring is not correct.
  • Page 197: Power Supply Units

    Power Supply Units Section 3-4 RS-232C Port Specifications Item Specification Communications method Half duplex Synchronization Start-stop Baud rate 0.3/0.6/1.2/2.4/4.8/9.6/19.2/38.4/57.6/115.2 kbps (See note.) Transmission distance 15 m max. Interface EIA RS-232C Protocol Host Link, NT Link, 1:N, No-protocol, or Peripheral Bus Note Baud rates for the RS-232C are specified only up to 19.2 kbps.
  • Page 198: Components

    Power Supply Units Section 3-4 3-4-2 Components POWER Indicator Lit when 5 V are being output from the Power Supply Unit. PA205R POWER External connection terminals AC100-240V AC input INPUT L2/N OUTPUT RUN output AC240V DC24V AC Input Supply 100 to 240 V AC (allowable: 85 to 264 V AC). (Voltage selection is not required.) DC Input Supply 24 V DC (allowable:19.2 to 28.8 V DC).
  • Page 199: Power Supply Confirmation

    Power Supply Units Section 3-4 CJ1W-PA202 PA202 POWER AC100 -240V INPUT L2/N 81.6 CJ1W-PD025 PD025 POWER DC24V+ INPUT 81.6 3-4-4 Power Supply Confirmation After determining what power supply voltage is required, calculate the current and power requirements for each Rack. Condition 1: There are two voltage groups for internal power consumption: 5 V DC and Current Requirements...
  • Page 200: I/O Control Units And I/O Interface Units

    I/O Control Units and I/O Interface Units Section 3-5 Current Consumption at 24 V DC (Relay Driving Power Supply) The following table shows the current that can be supplied to Units that use 24-V DC power. Power Supply Unit Maximum current at 24 V DC CJ1W-PA205R 0.8 A CJ1W-PA202...
  • Page 201: System Configuration

    I/O Control Units and I/O Interface Units Section 3-5 3-5-2 System Configuration The I/O Control Unit is connected directly to the CPU Unit. If it is not immedi- ately to the right of the CPU Unit, correct operation may not be possible. The I/O Interface Unit is connected directly to the Power Supply Unit.
  • Page 202: Dimensions

    CJ-series Basic I/O Units Section 3-6 3-5-4 Dimensions CJ1W-IC101 I/O CJ1W-II101 I/O Control Unit Interface Unit (140) (140) IC101 II101 69.3 69.3 Note Attached the enclosed cover to the I/O Connecting Cable connector on the I/O Interface Unit when it is not being used to protect it from dust. CJ-series Basic I/O Units 3-6-1 CJ-series Basic I/O Units with Terminal Blocks...
  • Page 203 CJ-series Basic I/O Units Section 3-6 Part Names of Units with 18-point Terminal Blocks OD21 1 0 1 2 8 9 10 11 12 13 14 15 Connector indicators Connect to the connector on the next Unit. OD211 CJ1W-ID211 0 1 2 CJ1W-ID201 8 9 10 11 12 13 14 15 CJ1W-IA201...
  • Page 204 CJ-series Basic I/O Units Section 3-6 Interrupt Input Unit CPU Unit 1 cyclic task I/O interrupt task is executed when the input MSKS(690) turns ON (or OFF). Input Immediate I/O interrupt task (rising or interrupt falling edge) Applicable Units Either of the following Interrupt Input Units can be used with a CJ1-H or CJ1M CPU Unit.
  • Page 205: Cj-Series 32/64-Point Basic I/O Units With Connectors

    CJ-series Basic I/O Units Section 3-6 The input response time cannot be changed for the CJ1W-INT01, and the related portions of the Basic I/O Unit input time constants in the PLC Setup, and the setting status in A220 to A259 will not be valid. Input Signal Width Input signals must meet the following conditions.
  • Page 206 CJ-series Basic I/O Units Section 3-6 Part Names 32-point Units (CJ1W-@D23@) Model number Indicator Switch ID231 ID232 I/O indicators Changes the 16 I/O displayed on the I/O indicators. I/O wiring connector Setting Fujitsu connector MIL connector (40-pin x 1) 1: Wd m Row A on connector Bottom of connector 2: Wd m+1 Row B on connector Top of connector Unit with Fujitsu-compatible...
  • Page 207 CJ-series Basic I/O Units Section 3-6 Dimensions 32-point Units (Input Units and Output Units) ■ Units with Fujitsu-compatible Connector (40-pin x 1) CJ1W-ID231 (32 inputs: 24 V DC) CJ1W-OD231 (32 outputs: 12 to 24 V DC, 0.5 A) (112.5) 66.5 ID231 1 2 3 4 5 6 7...
  • Page 208 CJ-series Basic I/O Units Section 3-6 32-point Units (24-V DC Input/Transistor Output Units) ■ Units with Fujitsu-compatible Connector (24-pin x 2) CJ1W-MD231(16 inputs: 24 V DC, 16 outputs: 12 to 24 V DC, 0.5 A) (112.5) 66.5 MD231 ■ Units with MIL Connector (20-pin x 2) CJ1W-MD232 (16 inputs: 24 V DC, 16 outputs: 24 V DC, 0.5 A, load short-cir- cuit protection) CJ1W-MD233 (16 inputs: 24 V DC, 16 outputs: 12 to 24 V DC, 0.5 A)
  • Page 209 CJ-series Basic I/O Units Section 3-6 64-point Units (Input Units, Output Units, 24-V DC Input/Transistor Output Units, TTL I/O Units) ■ Units with Fujitsu-compatible Connector (40-pin x 2) CJ1W-ID261 (64 inputs: 24 V DC) CJ1W-OD261 (64 outputs: 12 to 24 V DC, 0.3 A) CJ1W-MD261 (32 inputs: 24 V DC, 32 outputs: 12 to 24 V DC, 0.3 A) (112.5) 66.5...
  • Page 210 CJ-series Basic I/O Units Section 3-6 Connecting to Connector-Terminal Block Units The CJ-series 32/64-point Basic I/O Units can be connected to Connector- Terminal Block Conversion Units as shown in the following table. Units with Fujitsu-compatible Connectors Basic I/O Unit Connecting Connector-Terminal Block Conversion Unit Required for Cable...
  • Page 211 CJ-series Basic I/O Units Section 3-6 Units with MIL Connectors Basic I/O Unit Connecting Connector-Terminal Block Conversion Unit Required for Cable connection Model Specifications Model number Specifications number CJ1W- 32-point 24-V DC XW2Z-@@@K XW2B-40G5 Standard, M3.5 screw terminal block 1 Connecting Cable ID232 Input Unit and 1 Conversion Unit...
  • Page 212 CJ-series Basic I/O Units Section 3-6 Basic I/O Unit Connecting Connector-Terminal Block Conversion Unit Required for Cable connection Model Specifications Model number Specifications number CJ1W- 32-point 24-V DC Inputs: XW2B-40G4 Standard, M3 screw terminal block 1 Connecting Cable MD263 Input/32-point Tran- XW2Z-@@@K and 1 Conversion Unit XW2B-40G5...
  • Page 213 CJ-series Basic I/O Units Section 3-6 Basic I/O Unit Connecting I/O Terminal Required for Cable connection Model Specifications Model number Type Input voltage/ number output type CJ1W- 64-point Transistor Out- G79-O@C-@ G7TC-OC16 Output Block Input: 24 V DC 2 Connecting Cables OD261 put Unit with Sinking Output: Relay...
  • Page 214 CJ-series Basic I/O Units Section 3-6 Units with MIL Connectors Basic I/O Unit Connecting I/O Terminal Required for Cable connection Model Specifications Model number Type Input voltage/ number output type CJ1W- 32-point 24-V DC G79-O@-@-D1 G7TC-ID16 Input Block Input: 24 V DC 1 Connecting Cable ID232 Input Unit...
  • Page 215 CJ-series Basic I/O Units Section 3-6 Basic I/O Unit Connecting I/O Terminal Required for Cable connection Model Specifications Model number Type Input voltage/ number output type CJ1W- 16-point 24-V DC Inputs: G7TC-ID16 Input Block Input: 24 V DC 1 Connecting Cable MD232 Input/16-point Tran- G79-O@@C...
  • Page 216: B7A Interface Unit

    B7A Interface Unit Section 3-7 B7A Interface Unit 3-7-1 Overview The B7A is a 1:1 transmission path that does not require a master. A total of 16 signals are transmitted using a two-conductor or three-conductor VCTF cable (maximum length: 500 m). The CJ1W-B7A@@ B7A Interface Unit is a CJ-series Basic I/O Unit that exchanges up to 64 points of I/O data mainly with B7A Link Terminals using a B7A transmission path.
  • Page 217: B7A Communications Specifications

    2. When a common power supply is used, the B7A Interface Unit and B7A Link Terminal are supplied by the same external power supply. 3. We recommend OMRON S8@@-series Power Supply Units for the exter- nal power supplies. 4. The capacity of the external supply current does not include the capacity required by the B7A Link Terminal.
  • Page 218: Common Specifications

    B7A Interface Unit Section 3-7 3-7-5 Common Specifications Item Specifications Applicable PLCs CJ Series Unit classification CJ-series Basic I/O Unit Transmission delay Standard (19.2 ms typical) or high-speed (3 ms typical), switchable (Switchable by using the setting switch on the front panel. Settings are read when power is turned ON or Unit is restarted.) Factory setting: Standard (19.2 ms typical)
  • Page 219: Transmission Error Processing

    B7A Interface Unit Section 3-7 3-7-7 Transmission Error Processing Input Ports The B7A Interface Unit detects transmission errors at the input ports. When a transmission error is detected at an input port, the corresponding indicator and Transmission Error Flag turn ON. Indicators When a transmission occurs at an input port, indicators ERR1 to ERR4 on the front panel will turn ON according to the port where the error occurred.
  • Page 220: Parts And Names

    B7A Interface Unit Section 3-7 3-7-8 Parts and Names B7A14 ERR1 Indicators ERR2 ERR3 ERR4 Transmission 19ms delay switch − Connection terminals (Screwless connectors) − − − − Indicators CJ1W-B7A14 B 7A 14 R U N E R R 1 E R R 2 E R R 3 E R R 4...
  • Page 221 B7A Interface Unit Section 3-7 CJ1W-B7A04 B 7A 04 R U N Display Name Color Status Condition B7A operating Green The B7A Unit is operating. status The B7A Unit is stopped. CJ1W-B7A22 B 7A 22 R U N E R R 1 E R R 2 Display Name...
  • Page 222: Preparing And Connecting Cables

    B7A Interface Unit Section 3-7 Terminal Arrangement Terminal Name Function Word Appearance Port 1 power supply: V1 Connect to the + terminal of the B7A Link Termi- Connector with clamps nal to be connected to port 1 (only when using a common power supply).
  • Page 223 B7A Interface Unit Section 3-7 2. Use vinyl tape or a heat-shrink tube to cover the end of the VCTF cable sheath, as shown in the following diagram. Cover with vinyl tape or heat-shrink tube. 2) Preparing Cable Signal Attach the crimp terminals to the cable's signal lines. Lines 1,2,3...
  • Page 224: 3-7-10 Connection Diagrams

    B7A Interface Unit Section 3-7 • Power Supply on One Side (Common Power Supply) SIG1 • Power Supply on Both Sides (Separate Power Supplies) SIG1 Note To remove the signal lines from the connector, press down on the orange tab while pulling out the signal line, as shown in the following diagram.
  • Page 225 B7A Interface Unit Section 3-7 Standard Mode Power Supply on One Side (Common Power Supply) B7A Interface Unit B7A Link Terminal Transmission distance: 100 m max. SIG1 SIG2 SIG3 B7A Link Terminal SIG4 Transmission cable: VCTF 0.75mm min. − 12 to 24 V DC Power Supply on Both Sides (Separate Power Supplies) B7A Interface Unit 12 to 24 V DC...
  • Page 226: Dimensions (Unit: Mm)

    B7A Interface Unit Section 3-7 Power Supply on Both Sides (Separate Power Supplies) B7A Interface Unit 12 to 24 V DC Transmission distance: B7A Link Terminal 100 m max. SIG1 Shielded cable: SIG2 VCTF 0.75mm min. Ground 12 to 24 V DC SIG3 B7A Link Terminal SIG4...
  • Page 227 B7A Interface Unit Section 3-7...
  • Page 228: Operating Procedures

    SECTION 4 Operating Procedures This section outlines the steps required to assemble and operate a CJ-series PLC System. Introduction ........... Examples .
  • Page 229: Introduction

    Introduction Section 4-1 Introduction The following procedure outlines the recommended steps to follow when pre- paring CJ-series PLCs for operation. 1,2,3... 1. Installation Set the DIP switches on the front of each Unit as required. Connect the CPU Unit, Power Supply Unit, I/O Units, and End Cover. In- stall a Memory Card if required.
  • Page 230 Introduction Section 4-1 10. Testing Operation a) Checking I/O Wiring Output wiring With the PLC in PROGRAM mode, force-set output bits and check the status of the corresponding outputs. Input wiring Activate sensors and switches and either check the status of the indicators on the Input Unit or check the status of the corresponding input bits with the Programming Device’s Bit/Word Monitor operation.
  • Page 231: Examples

    Examples Section 4-2 Examples 1. Installation Connect the Units. When necessary, install a Memory Card. PA205 R SYSMAC POWER SCU41 ERR/ALM CJ1G-CP U44 TER1 PROGRAMMAB LE PRPHL CONTROLLER COMM TERM OPEN UNIT WIRE MCPWR BUSY PORT1 AC100 -240V (RS422 INPUT /485) L2/N PERI PHER AL...
  • Page 232 Examples Section 4-2 Note When devices other than a Programming Console and Programming Device are connected to the peripheral port and RS-232C port, turn ON pin 4 and turn OFF pin 5. SYSMAC ERR/ALM CJ1G-CPU44 PROGRAMMABLE PRPHL CONTROLLER COMM OPEN MCPWR BUSY Progra mming Console...
  • Page 233 Examples Section 4-2 4. Check that the Power Supply Unit’s POWER indicator is lit. PA205R POWER 5. Check that the Programming Console has the following display. <PRG> 3:JPN~ENG PASSWORD! 6. Press the password (the Clear and Monitor Keys) and check that the Pro- gramming Console has the following display.
  • Page 234 Examples Section 4-2 Using the CX-Programmer Offline Use the following procedure to create the I/O table offline with the CX-Pro- grammer and later transfer the I/O table from to the CPU Unit. Write the Transfer the I/O table. I/O table. 1,2,3...
  • Page 235 Examples Section 4-2 000000 I/O TBL Specify holding or clearing WRIT OK CPU Bus Unit information. 000000 CT00 6. PLC Setup Settings These settings are the CPU Unit’s software configuration. The PLC Setup settings are arranged by word addresses when a Program- ming Console is used to make PLC Setup settings.
  • Page 236 Examples Section 4-2 Example: Input 8064. WRITE PC SETUP +209 8064 7. DM Area Settings The following table shows the parts of the DM Area are allocated to Special I/ O Units and CPU Bus Units for initial settings. The actual settings depend on the model of Unit being used.
  • Page 237 Examples Section 4-2 10. Testing Operation Before performing a Trial Operation in MONITOR mode, check the I/O wiring. 10-a) I/O Wiring Checks Check Output Wiring With the PLC in PROGRAM mode, force-set and force-reset output bits and verify that the corresponding outputs operate properly. Force-reset Check Input Wiring Activate input devices such as sensors and switches and verify that the corre-...
  • Page 238 Examples Section 4-2 IOM Hold Bit Status at Startup When the IOM Hold Bit has been turned ON and the PLC Setup is set to pro- tect the status of the IOM Hold BIt at startup (PLC Setup address 80 bit 15 turned ON), the contents of I/O memory that would otherwise be cleared will be retained when the PLC is turned on.
  • Page 239 Examples Section 4-2 Using a Programming Console The PLC can be put into MONITOR mode with a host computer running CX- Programmer. Trial Operation Select PC, Mode, MONITOR. Actual operation CX-Programmer Select PC, Mode, RUN. 10-d) Monitoring and Debugging There are several ways to monitor and debug PLC operation, including the force-set and force-reset operations, differentiation monitoring, time chart monitoring, data tracing, and online editing.
  • Page 240 Examples Section 4-2 Time Chart Monitoring The CX-Programmer’s time chart monitor operation can be used to check and debug program execution. Data Tracing The CX-Programmer’s data trace operation can be used to check and debug program execution. Online Editing When a few lines of the program in the CPU Unit have to be modified, they can be edited online with the PLC in MONITOR mode or PROGRAM mode from a Programming Console.
  • Page 241 Examples Section 4-2...
  • Page 242: Installation And Wiring

    SECTION 5 Installation and Wiring This section describes how to install a PLC System, including mounting the various Units and wiring the System. Be sure to follow the instructions carefully. Improper installation can cause the PLC to malfunction, resulting in very dangerous situations.
  • Page 243: Fail-Safe Circuits

    Fail-safe Circuits Section 5-1 Fail-safe Circuits Be sure to set up safety circuits outside of the PLC to prevent dangerous con- ditions in the event of errors in the PLC or external power supply. Supply Power to the PLC If the PLC’s power supply is turned on after the controlled system’s power before Outputs supply, outputs in Units such as DC Output Units may malfunction momen- tarily.
  • Page 244 Fail-safe Circuits Section 5-1 An external relay (CR1) is connected to the RUN output from the Power Sup- ply Unit as shown in the following diagram. MCB1 Power supply MCB2 Controlled system Transformer or noise filter CJ-series PLC Twisted-pair wires DC voltage input/output –...
  • Page 245: Installation

    Installation Section 5-2 Installation 5-2-1 Installation and Wiring Precautions Be sure to consider the following factors when installing and wiring the PLC to improve the reliability of the system and make the most of the PLC’s functions. Ambient Conditions Do not install the PLC in any of the following locations. •...
  • Page 246 Installation Section 5-2 Accessibility for Operation and Maintenance • To ensure safe access for operation and maintenance, separate the PLC as much as possible from high-voltage equipment and moving machinery. • The PLC will be easiest to install and operate if it is mounted at a height of about 1.3 m (4 feet).
  • Page 247: Installation In A Control Panel

    Installation Section 5-2 • Do not install a Rack in any of the following positions. 5-2-2 Installation in a Control Panel A CJ-series PLC must be mounted inside a control panel on DIN Track. Nor- mally the CPU Rack is installed on top and the Expansion Racks under it. Note ACJ-series PLC must be mounted on DIN Track.
  • Page 248 Installation Section 5-2 • Whenever possible, route I/O wiring through wiring ducts or raceways. Install the duct so that it is easy to fish wire from the I/O Units through the duct. It is handy to have the duct at the same height as the Racks. Duct 20 mm min.
  • Page 249: Assembled Appearance And Dimensions

    Installation Section 5-2 Routing Wiring Ducts Install the wiring ducts at least 20 mm between the tops of the Racks and any other objects, (e.g., ceiling, wiring ducts, structural supports, devices, etc.) to provide enough space for air circulation and replacement of Units. Output duct Power duct Input duct...
  • Page 250 Installation Section 5-2 Dimensions (Unit: mm) 35.4 27.6 The width the CJ-series Power Supply Unit depends on the model. The width of the Power Supply Unit when computing the width of a Rack, is “a.” Name Model number Specifications Unit width Power Supply Unit CJ1W-PA205R 100 to 240 V AC, 25 W 80 mm...
  • Page 251 Installation Section 5-2 Other than the CPU Units and Power Supply Units, CJ-series Units come in two widths: 20 mm and 31 mm. When computing the width of a Rack, the number of 20-mm Units is “n.” Name Model number Unit width I/O Control Unit CJ1W-IC101...
  • Page 252 Installation Section 5-2 Installation Height The installation height of the CJ-series CPU Rack and Expansion Racks var- ies from 81.6 to 89.0, depending on the I/O Units that are mounted. When a Programming Device (CX-Programmer or Programming Console) is con- nected, however, even greater height is required.
  • Page 253 Installation Section 5-2 Unit Dimensions CJ-series CPU Unit CJ1G/H-CPU@@H CJ1G-CPU@@ CPU Unit End Cover SYSMAC ERR/ALM CJ1G-CPU44 PROGRAMMABLE PRPHL CONTROLLER COMM OPEN MCPWR BUSY PERIPHERAL PORT 14.7 Unit Depth 73.9 The depth is the same for all Units.
  • Page 254 Installation Section 5-2 CJ1M-CPU1@ 73.9 CJ1M-CPU2@ SYSMAC CJ1M PROGRAMMABLE PRPHL CONTROLLER COMM CPU22 BKUP OPEN SW SETTING BATTERY MCPWR BUSY PERIPHEARL PORT 83.6 48.75...
  • Page 255 Installation Section 5-2 End Cover 14.7 CJ-series Power Supply Units CJ1W-PA205R PA205R POWER AC100-240V INPUT L2/N OUTPUT AC240V DC24V 81.6 CJ1W-PA202 PA202 POWER AC100 -240V INPUT L2/N 81.6...
  • Page 256 Installation Section 5-2 CJ1W-PD025 PD025 POWER DC24V+ INPUT 81.6 CJ1W-IC101 I/O Control Unit (140) IC101 IC101 69.3 CJ1W-II101 I/O Interface Unit (140) II101 II101 IN IN 69.3...
  • Page 257 Installation Section 5-2 CJ-series Basic I/O Units Note Refer to individual Unit operation manuals for the dimensions of CJ-series Special I/O Units and CJ-series CPU Bus Units. 8/16-point Basic I/O Units CJ1W-ID201 (8 inputs) CJ1W-ID211 (16 inputs) CJ1W-IA201 (8 inputs) CJ1W-IA111 (16 inputs) CJ1W-INT01 (16 interrupt inputs) CJ1W-IDP01 (16 quick-response inputs)
  • Page 258 Installation Section 5-2 32-point Basic I/O Units, MIL Connector CJ1W-ID232 (32 inputs) CJ1W-OD232 (32 outputs) CJ1W-OD233 (32 outputs) 83.6 ID231 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 32-point Basic Mixed I/O Units, Fujitsu-compatible Connector CJ1W-MD231 (16 inputs/16 outputs) (112.5) 66.5...
  • Page 259 Installation Section 5-2 64-point Basic I/O Units, Fujitsu-compatible Connector CJ1W-ID261 (64 inputs) CJ1W-OD261 (64 outputs) (112.5) 66.5 ID232 64-point Basic I/O Units, MIL Connector CJ1W-ID262 (64 inputs) CJ1W-OD262 (64 outputs) CJ1W-OD263 (64 outputs) 83.6 ID262 64-point Basic Mixed I/O Units, Fujitsu-compatible Connector CJ1W-MD261 (32 inputs/32 outputs) (112.5) 66.5...
  • Page 260 Installation Section 5-2 64-point Basic I/O Units, MIL Connector CJ1W-MD263 (32 inputs/32 outputs) CJ1W-MD563 (32 TTL inputs/32 TTL outputs) 83.6 MD563 0 ch 3 ch 1 ch 2 ch B7A Interface Units CJ1W-B7A14 (64 inputs (4 B7A ports)) CJ1W-B7A04 (64 outputs (4 B7A ports)) CJ1W-B7A22 (32 inputs/32 outputs (4 B7A ports)) 79.5...
  • Page 261: Cj-Series Unit Weights

    Installation Section 5-2 5-2-4 CJ-series Unit Weights Name Model number Weight CJ-series Power Supply Unit CJ1W-PA205R 250 g max. CJ1W-PA202 200 g max. CJ1W-PD025 300 g max. CJ-series CPU Units CJ1H-CPU66H 200 g max. (See note.) CJ1H-CPU65H 200 g max. (See note.) CJ1G-CPU45H 190 g max.
  • Page 262: Connecting Plc Components

    Installation Section 5-2 Name Model number Weight CJ-series Basic I/O Units Input Units CJ1W-ID201 110 g max. CJ1W-ID211 110 g max. CJ1W-ID231 70 g max. CJ1W-ID232 70 g max. CJ1W-ID261 110 g max. CJ1W-ID262 110 g max. CJ1W-IA201 130 g max. CJ1W-IA111 130 g max.
  • Page 263 Installation Section 5-2 1,2,3... 1. The following diagram shows the connection of two Units that make up a CJ-series PLC. Join the Units so that the connectors fit exactly. Hook holes Hook Connector PA205 R POWER SYSMAC ERR/ALM CJ1G-CP U44 PROGRAMMAB LE PRPHL CONTROLLER...
  • Page 264: Din Track Installation

    Installation Section 5-2 Expansion Rack Power Supply End Cover I/O Interface Unit I/O Units (10 max.) Unit (included with I/O Interface Unit) Note Connect the I/O Interface Unit directly to the Power Supply Unit. There is no Backplane for the CJ-series. The PLC is constructed by connect- ing Units together using the connectors on the sides.
  • Page 265 Installation Section 5-2 2. Fit the back of the PLC onto the DIN Track by inserting the top of the track and then pressing in at the bottom of the PLC, as shown below. DIN Track 3. Lock the pins on the backs of the CJ-series Units. DIN Track mounting pins 4.
  • Page 266 Installation Section 5-2 DIN Track and Use the DIN Track and DIN Track End Plates shown below. Accessories DIN Track Model numbers: PFP-50N (50 cm), PFP-100N (100 cm), PFP-100N2 (100 cm) Secure the DIN Track to the control panel using M4 screws separated by 210 mm (6 holes) or less and using at least 3 screws.
  • Page 267: Connecting Cj-Series Expansion Racks

    Installation Section 5-2 5-2-7 Connecting CJ-series Expansion Racks CS/CJ-series I/O Connecting Cables are used to connect the CPU Rack and Expansion Racks. CS/CJ-series I/O Connecting Cables The CS/CJ-series I/O Connecting Cables have connectors with a simple lock mechanism are used to connect the CPU Rack to an Expansion Rack or to connect two Expansion Racks.
  • Page 268 Installation Section 5-2 • The top and bottom of the connector are different. Be sure the connector is facing the correct direction before connecting it. Power CPU Unit I/O Control Unit Supply Unit CPU Rack I/O Interface Unit I/O Connecting Cable Power Supply Unit Expansion Rack Total cable...
  • Page 269 Installation Section 5-2 Note 1. When using an I/O Connecting Cable with a locking connector, be sure that the connector is firmly locked in place before using it. 2. Always turn OFF the power supply to the PLC before connecting a cable. 3.
  • Page 270: Wiring

    Wiring Section 5-3 Wiring 5-3-1 Power Supply Wiring CJ1W-PA205R Power Supply Unit (AC) PA205R POWER M4 self-raising screw terminals AC power supply Isolation AC power supply AC100-240V transformer INPUT 100 to 240 V L2/N OUTPUT RUN output AC240V DC24V ON when CPU Unit is in RUN or MONITOR mode. OFF when CPU Unit is in PROGRAM mode or stopped for a fatal error.
  • Page 271 Wiring Section 5-3 Crimp Terminals The terminals on the Power Supply Unit are M4, self-raising terminals with screws. Use crimp terminals for wiring. Do not connect bare stranded wires directly to terminals. Tighten the terminal block screws to the torque of 1.2 N·m.
  • Page 272 Wiring Section 5-3 DC Power Supplies CJ1W-PD025 Power Supply Unit Screw (M4 head with self-raising pressure plate) PD025 POWER DC24V+ INPUT DC power source DC Power Source Supply 24 V DC. Keep voltage fluctuations within the specified range (19.2 to 28.8 V DC).
  • Page 273 Wiring Section 5-3 Grounding The diagram below shows the location of the ground and line ground termi- nals. PA205R POWER AC100-240V INPUT L2/N LG (Noise-filter neutral terminal) Ground this terminal to less than 100 Ω to improve noise resistance and prevent electric shock. OUTPUT AC240V GR (Ground terminal)
  • Page 274: Wiring Cj-Series Basic I/O Units With Terminal Blocks

    Wiring Section 5-3 • Do not share a ground line with other equipment. CJ-series PC Other equipment Ground Ground (100 Ω or less) (100 Ω or less) CJ-series PC Other equipment Ground Ground (100 Ω or less) (100 Ω or less) •...
  • Page 275 Wiring Section 5-3 Electric Wires The following wire gauges are recommended. Terminal Block Connector Wire Size 18-terminal AWG 22 to 18 (0.32 to 0.82 mm Note The current capacity of electric wire depends on factors such as the ambient temperature and insulation thickness as well as the gauge of the conductor. Crimp Terminals The terminals on the I/O Unit are M3, self-raising terminals with screws.
  • Page 276: Wiring I/O Units With Connectors

    CJ-series Basic I/O Units with connectors use special connectors to connec- tor to external I/O devices. The user can combine a special connector with cable or use a preassembled OMRON cable to connect to a terminal block or I/O Terminal. The available OMRON cables are described later in this section.
  • Page 277 24-V DC Input/Transistor Output Units, 32 Inputs, 32 Outputs CJ1W-MD231 24-V DC Input/Transistor Output Units, 16 Inputs, 16 Outputs Applicable Cable-side Connectors Connection Pins OMRON set Fujitsu parts Solder-type C500-CE404 Socket: FCN-361J040-AU Connector cover: FCN-360C040-J2 C500-CE241 Socket: FCN-361J024-AU Connector cover: FCN-360C024-J2...
  • Page 278 Wiring Section 5-3 Wire Size We recommend using cable with wire gauges of AWG 24 or AWG 28 (0.2 mm to 0.08 mm ). Use cable with external wire diameters of 1.61 mm max. Wiring Procedure 1,2,3... 1. Check that each Unit is installed securely. Note Do not force the cables.
  • Page 279 Wiring Section 5-3 4. Assemble the connector (purchased separately). Small screws (3) Connector bar Small screws (2) Socket Connector-attaching screws Nuts (3) Cable-securing bracket Nuts (2) 5. Insert the wired connector. ID261 0 1 2 3 4 5 6 7 10 11 12 13 14 15 0 1 2 3 4 5 6 7...
  • Page 280 Section 5-3 Connecting to Connector-Terminal Block Conversion Units or I/O Terminals Basic I/O Units with Connectors can be connected to OMRON Connector-Ter- minal Block Conversion Units or OMRON I/O Terminals. Refer to CJ-series 32/64-point Basic I/O Units with Connectors on page 172 for a list of models.
  • Page 281 Wiring Section 5-3 CJ-series 32-point Basic I/O Units CJ-series 64-point Basic I/O Units CJ1W-ID232 (Input Unit, MIL connector) CJ1W-ID262 (Input Unit, MIL connectors) CJ1W-OD232 (Output Unit, MIL connector) CJ1W-OD262 (Output Unit, MIL connectors) CJ1W-OD233 (Output Unit, MIL connector) CJ1W-OD263 (Output Unit, MIL connectors) Connecting Cable Connecting Cable XW2Z-@@@N (MIL connector)
  • Page 282 Wiring Section 5-3 CJ-series 32-point Basic I/O Units (16 inputs, 16 outputs) CJ-series 64-point Basic I/O Units (32 inputs, 32 outputs) CJ1W-MD232 (Mixed I/O Units, MIL connectors, 24-V DC CJ1W-MD263 (Mixed I/O Units, MIL connectors, 24-V DC inputs/transistor outputs) inputs/transistor outputs) CJ1W-MD233 (Mixed I/O Units, MIL connectors, 24-V DC CJ1W-MD563 (Mixed I/O Units, MIL connectors, TTL inputs/TTL inputs/transistor outputs)
  • Page 283 Wiring Section 5-3 Connecting to I/O Terminals The following Connecting Cables and I/O Terminals are required to connect to terminal blocks. CJ-series 32-point Basic I/O Units CJ1W-ID231 (Input Unit, Fujitsu connector) CJ-series 64-point Basic I/O Units CJ1W-OD231 (Output Unit, Fujitsu connector) CJ1W-ID261 (Input Unit, Fujitsu connector) CJ1W-ID232 (Input Unit, MIL connector) CJ1W-OD261 (Output Unit, Fujitsu connector)
  • Page 284 Wiring Section 5-3 CJ-series 32-point Basic I/O Units, 16 inputs, 16 outputs CJ-series 32-point Basic I/O Units, 16 inputs, 16 outputs CJ1W-MD232 (Mixed I/O Units, MIL connectors, CJ1W-MD232 (Mixed I/O Units, MIL connectors, 24-V DC inputs/transistor outputs) 24-V DC inputs/transistor outputs) Connecting Cable Connecting Cable G79-O@@C...
  • Page 285: Connecting I/O Devices

    Wiring Section 5-3 5-3-4 Connecting I/O Devices Input Devices Use the following information for reference when selecting or connecting input devices. DC Input Units The following types of DC input devices can be connected. Contact output IN DC Input Unit Two-wire DC output IN DC Input Unit Sensor...
  • Page 286 Wiring Section 5-3 NPN current output Current regulator IN DC Input Unit Output Sensor 7 mA Power Supply PNP current output Sensor Power Supply Output IN DC Input Unit 7 mA Voltage output Output IN DC Input Unit Sensor Power Supply The circuit below should NOT be used for I/O devices having a voltage output.
  • Page 287 Wiring Section 5-3 AC Input Units The following types of AC input devices can be connected. Contact output IN AC Input Unit AC Switching IN AC Input Unit Proximity switch main circuit Note When using a reed switch as the input contact for an AC Input Unit, use a switch with an allowable current of 1 A or greater.
  • Page 288 Example In this example, the sensor’s power supply voltage is used as the input to CIO 000000 and a 100-ms timer delay (the time required for an OMRON Proximity Sensor to stabilize) is created in the program. After the Comple- tion Flag for the timer turns ON, the sensor input on CIO 000001 will cause output bit CIO 000100 to turn ON.
  • Page 289: Reducing Electrical Noise

    Wiring Section 5-3 Method 1 Add a resistor that draws about 1/3 of the current consumed by the bulb. Method 2 Add a control resistor as shown in the following diagram. 5-3-5 Reducing Electrical Noise I/O Signal Wiring Whenever possible, place I/O signal lines and power lines in separate ducts or raceways both inside and outside of the control panel.
  • Page 290 Wiring Section 5-3 Note Use surge suppressors and diodes with the following specifications. Surge suppressor specifications Diode specifications Resistor: 50 Ω Breakdown voltage: 3 times load voltage min. Capacitor: 0.47 µF Mean rectification current: 1 A Voltage: 200 V External Wiring Observe the following precautions for external wiring.
  • Page 291 Wiring Section 5-3...
  • Page 292 SECTION 6 DIP Switch Settings This section describes the initial hardware settings made on the CPU Unit’s DIP switch. Overview ........... . . Details .
  • Page 293: Plc Setup

    Overview Section 6-1 Overview There are two kinds of initial settings for a CJ-series PLC: Hardware settings and software settings. Hardware settings are made with the CPU Unit’s DIP switch and software settings are made in the PLC Setup (using a Program- ming Device).
  • Page 294 Details Section 6-2 Details Function Setting Description Write-protection for Write-protected User program memory is write-protected when this pin user program is ON. Turn ON to prevent the program from being Read/write memory (UM) (See changed accidentally. note 1.) Automatic transfer The program (AUTOEXEC.OBJ) and PLC Setup of the program at (AUTOEXEC.STD) will be transferred from the Memory...
  • Page 295 Details Section 6-2 3. The auto-detect operation goes through baud rates in the following order: Peripheral bus at 9,600 bps, 19,200 bps, 38,400 bps, and 115,200 bps. Programming Devices that aren’t in Peripheral Bus Mode and devices in Peripheral Bus Mode operating at any other speeds will not be detected. 4.
  • Page 296: Explanations Of Plc Setup Settings

    SECTION 7 PLC Setup This section describes initial software settings made in the PLC Setup. PLC Setup ........... . 7-1-1 Overview of the PLC Setup .
  • Page 297 PLC Setup Section 7-1 PLC Setup 7-1-1 Overview of the PLC Setup The PLC Setup contains basic CPU Unit software settings that the user can change to customize PLC operation. These settings can be changed from a Programming Console or other Programming Device. Note To read or set parameters in the PLC Setup, use the version of CX-Program- mer that corresponds to the parameters.
  • Page 298 PLC Setup Section 7-1 Cases when settings must be changed Setting(s) to be changed The RS-232C port will not be used with the Programming Console RS-232C Port Settings or CX-Programmer (peripheral bus) communications speed auto- detection and will not use the default host link communications set- tings such as 9,600 bps.
  • Page 299 PLC Setup Section 7-1 Cases when settings must be changed Setting(s) to be changed You want to set the various parameters for the origin search func- • Pulse outputs 0/1: Origin search, origin return ini- tion. (See note 4.) tial speed •...
  • Page 300 PLC Setup Section 7-1 IOM Hold Bit Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0: Cleared This setting determines whether or not the A50012 (IOM At startup 1: Retained status of the IOM Hold Bit (A50012) is Hold Bit)
  • Page 301 PLC Setup Section 7-1 7-1-2-2 CPU Settings Tab Page Execute Process Detect Low Battery Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0: Detect This setting determines whether CPU Unit A40204 (Bat- At the next battery errors are detected.
  • Page 302 PLC Setup Section 7-1 Do Not Register FAL to Error Log (User-defined FAL Error Storage, CJ1-H and CJ1M CPU Units Only) Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0: Record user- This setting determines if user-defined FAL...
  • Page 303 (internal logical execution. ports) 7-1-2-3 CPU Settings Tab Page: FB Communications Instruction Settings (Settings for OMRON FB Library) The following PLC Setup settings are used only when using the OMRON FB Library. Number of Resends Address in Settings Function Related...
  • Page 304 OMRON FB Library to execute FINS messages or DeviceNet explicit messages communications. The values set in this PLC Setup for OMRON FB Library will be automatically stored in the related Auxiliary Area words A580 to A582 and used by the function blocks from the OMRON FB Library.
  • Page 305 PLC Setup Section 7-1 Cycle Time (Minimum Cycle Time Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0 to 15 0001 to 7D00: 1 to Set to 0001 to 7D00 to specify a minimum At start of 32,000 ms cycle time.
  • Page 306 PLC Setup Section 7-1 7-1-2-5 SIOU Refresh Tab Page Special I/O Unit Cyclic Refreshing Item Address in Settings Function Related When set- Programming flags and ting is Console words read by CPU Unit Word Bit(s) Cyclic Refresh- 0 to 15 0: Enabled These settings determine whether At start of...
  • Page 307 PLC Setup Section 7-1 7-1-2-7 Host Link (RS-232C) Port Tab Page The following settings are valid when pin 5 on the DIP switch on the CPU Unit is OFF. Host Link Settings Communications Settings Address in Settings Function Related When set- Programming flags and ting is read...
  • Page 308 PLC Setup Section 7-1 Format: Parity Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0 to 1 00: Even These settings are valid only when the com- A61902 At the next 01: Odd munications mode is set to host link or no-...
  • Page 309 PLC Setup Section 7-1 Baud Rate (bps) Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0 to 7 00: Standard * Set to 115,200 bps when setting this value A61902 At the next 0A: High-speed NT...
  • Page 310 PLC Setup Section 7-1 Baud Rate (bps) Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0 to 7 00: 9,600 bps Settings 00 and 06 through 0A are valid A61902 At the next 06: 9,600 bps...
  • Page 311 PLC Setup Section 7-1 Polling Unit: Number of Link Words Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 4 to 7 1 to A This setting specifies the number of words A61902 At the next per node in the Serial PLC Link Area to be...
  • Page 312 PLC Setup Section 7-1 No-protocol Settings Standard/Custom Settings Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0: Standard The standard settings are as follows: A61902 At the next 1: Custom (RS-232C cycle.
  • Page 313 PLC Setup Section 7-1 Baud Rate Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 00 to 07 00 Hex: 9,600 bps This setting is valid only in no-protocol A61902 At the next 01 Hex: 300 bps...
  • Page 314 PLC Setup Section 7-1 Delay Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0 to 15 0000 to 270F: 0 to This setting determines the delay from exe- A61902 At the next 99990 ms (10-ms...
  • Page 315 PLC Setup Section 7-1 Stop Bits Address in Settings Function Related New set- Programming flags and ting’s effec- Console words tiveness Word Bit(s) 0: 2 bits These settings are valid when the RS-232C A61901 Takes effect 1: 1 bit Port Settings Selection is set to 1: PLC (RS-232C the next Setup.
  • Page 316 PLC Setup Section 7-1 7-1-2-8 Peripheral Port Tab Page The following settings are valid when pin 4 on the DIP switch on the CPU Unit is ON. Host Link Settings Communications Settings Address in Settings Function Related When set- Programming flags and ting is read Console...
  • Page 317 PLC Setup Section 7-1 Format: Parity Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0 and 1 00: Even These setting is valid only when the commu- A61901 At the next 01: Odd nications mode is set to Host link.
  • Page 318 PLC Setup Section 7-1 NT Link Max. (Maximum Unit Number in NT Link Mode Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0 to 3 0 to 7 This setting determines the highest unit A61901 At the next...
  • Page 319 PLC Setup Section 7-1 Serial Gateway Settings Communications Setting Address in Settings Function Related New set- Programming flags and ting’s effec- Console words tiveness Word Bit(s) 0: Default (stan- *The default settings are for a baud rate of A61901 Takes effect dard)* 9,600 bps.
  • Page 320 PLC Setup Section 7-1 Format: Parity Address in Settings Function Related New set- Programming flags and ting’s effec- Console words tiveness Word Bit(s) 0 to 1 00: Even These setting is valid only when the commu- A61901 Takes effect 01: Odd nications mode is set to Host Link.
  • Page 321 PLC Setup Section 7-1 Peripheral Service Execution Time Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 00 to 07 00 to FF (hex) 00: Disable priority servicing A266 and At start of A267 operation...
  • Page 322 PLC Setup Section 7-1 Fixed Servicing Time Address in Settings Function Related When set- Programming flags and ting is read Console words by CPU Unit Word Bit(s) 0 to 7 00 to FF: Set the peripheral servicing time. At start of 0.0 to 25.5 ms operation This setting is valid only when bit 15 of 218...
  • Page 323 PLC Setup Section 7-1 High-speed Counter 0 Operation Settings High-speed Counter 0 Enable/Disable Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 12 to 15 0 hex: Don’t Use 0 hex Specifies whether or not high-speed When power is...
  • Page 324 PLC Setup Section 7-1 High-speed Counter 0 Reset Method Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 04 to 07 0 hex: Z phase, 0 hex Specifies the reset method for high- When power is software reset...
  • Page 325 PLC Setup Section 7-1 High-speed Counter 1 Counting Mode Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 08 to 11 0 hex: 0 hex Specifies the counting mode for high- When operation speed counter 1.
  • Page 326 PLC Setup Section 7-1 High-speed Counter 1 Pulse Input Setting (Pulse Input Mode) Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 00 to 03 0 hex: Differential 0 hex Specifies the pulse-input method for When power is...
  • Page 327 PLC Setup Section 7-1 Input Operation Setting for IN2 Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 08 to 11 0 hex: 0 hex Specifies the kind of input that is When power is being received at built-in input IN2.
  • Page 328 PLC Setup Section 7-1 7-1-2-12 Origin Search Function The following tables show the settings for the origin search function in the CX- Programmer. These settings are for CJ1M CPU Units equipped with the built- in I/O functions. Note CX-Programmer Tabs CX-Programmer Ver.
  • Page 329 PLC Setup Section 7-1 Pulse Output 0 Origin Detection Method Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 08 to 11 0 hex: Method 0 0 hex Specifies the origin detection method When operation (Origin detection...
  • Page 330 PLC Setup Section 7-1 Pulse Output 0 Origin Proximity Input Signal Type Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 04 to 07 0 hex: NC 0 hex Specifies whether the Origin Proxim- When operation...
  • Page 331 PLC Setup Section 7-1 Pulse Output 0 Search Compensation Value (Origin Compensation) Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 00 to 15 80000000 to Sets the pulse output 0 origin com- When operation 7FFFFFFF hex pensation (−2,147,483,648 to...
  • Page 332 PLC Setup Section 7-1 Pulse Output 1 Settings Note CX-Programmer Tabs CX-Programmer Ver. 3.1 or lower: Define Origin Operation Settings Field of Define Origin 2 CX-Programmer Ver. 3.2 or higher: Pulse Output 1 Pulse Output 1 Use Origin Operation Settings (Origin Search Function Enable/Disable) Programming Settings Default...
  • Page 333 PLC Setup Section 7-1 Pulse Output 1 Origin Detection Method Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 08 to 11 0 hex: Method 0 0 hex Specifies the origin detection method When operation (Origin detection...
  • Page 334 PLC Setup Section 7-1 Pulse Output 1 Origin Proximity Input Signal Type Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 04 to 07 0 hex: NC 0 hex Specifies whether the Origin Proxim- When operation...
  • Page 335 PLC Setup Section 7-1 Pulse Output 1 Search Compensation Value 1 (Origin Compensation) Programming Settings Default Function Related Time when Console setting Auxiliary setting is read address Area flags/ by CPU Unit bits Word Bits 00 to 15 80000000 to Sets the pulse output 1 origin com- When operation 7FFFFFFF hex...
  • Page 336 PLC Setup Section 7-1 7-1-2-13 Origin Return Function The following tables show the settings for the origin return function in the CX- Programmer. These settings are for CJ1M CPU Units equipped with the built- in I/O functions. Note CX-Programmer Tabs CX-Programmer Ver.
  • Page 337 PLC Setup Section 7-1 Pulse Output 1 Settings Note CX-Programmer Tabs CX-Programmer Ver. 3.1 or lower: Define Origin Operation Settings Field of Define Origin 2 CX-Programmer Ver. 3.2 or higher: Pulse Output 1 Speed (Target Speed for Pulse Output 1 Origin Return) Programming Settings Default...
  • Page 338 Explanations of PLC Setup Settings Section 7-2 Explanations of PLC Setup Settings Basic I/O Unit Input The input response time can be set for Basic I/O Units by Rack and Slot num- Response Time ber. Increasing this value reduces the effects of chattering and noise. Decreasing this value allows reception of shorter input pulses, (but do not set the ON response time or OFF response time to less than the cycle time).
  • Page 339 Explanations of PLC Setup Settings Section 7-2 OFF (0): IOM Hold Bit cleared at start-up Non-retained parts Power Power Non-retained parts of I/O memory: of I/O memory Cleared Mode switch Retained Power on Not retained Not retained when IOM Hold Bit: 0 IOM Hold Bit: 1 power is turned ON.
  • Page 340 Explanations of PLC Setup Settings Section 7-2 Note If the backup battery fails or is disconnected, the Forced Status Hold Bit will be cleared whether this setting is ON or OFF. OFF (0): Forced Status Hold Bit cleared at start-up Power Power Forced bit status...
  • Page 341 Explanations of PLC Setup Settings Section 7-2 Detect Low Battery This setting determines whether CPU Unit battery errors are detected. Set the PLC Setup so that battery errors are not detected when using battery-free operation. Refer to the CS/CJ Series Programming Manual for details. If this setting is set to detect errors (0) and a battery error is detected, the Bat- tery Error Flag (A40204) will be turned ON.
  • Page 342 Explanations of PLC Setup Settings Section 7-2 The following example shows EM bank 2 converted to file memory. EM File Memory setting: 1 EM Starting Bank setting: 2 → (EM file memory enabled) Bank 0 ↓ Bank 1 Converted EM file memory Bank 2 Peripheral Port Settings These settings are effective only when pin 4 of the DIP switch on the front of...
  • Page 343 Explanations of PLC Setup Settings Section 7-2 Note When pin 5 of the DIP switch on the front of the CPU Unit is ON, the CPU Unit automatically detects the communications parameters of a Programming Device (including Programming Consoles) connected to the RS-232C port. Those automatically detected parameters are not stored in the PLC Setup.
  • Page 344 Explanations of PLC Setup Settings Section 7-2 Scheduled Interrupt Time This setting determines the time units for the scheduled interrupt interval set- tings. Set the scheduled interrupt interval from the program with MSKS(690). Units Note This setting cannot be changed while the CPU Unit is in RUN or MONITOR mode.
  • Page 345 Explanations of PLC Setup Settings Section 7-2 Watch Cycle Time If the cycle time exceeds the watch (maximum) cycle time setting, the Cycle Time Too Long Flag (A40108) will be turned ON and PLC operation will be stopped. This setting must be changed if the normal cycle time exceeds the default watch cycle time setting of 1 s.
  • Page 346 Explanations of PLC Setup Settings Section 7-2 The following table shows a breakdown of the peripheral servicing time. Peripheral servicing time Default value Setting range Event service time for 4% of the previous Uniform servicing time in ms: Special I/O Units cycle’s cycle time 0.0 to 25.5 ms in 0.1-ms units Event service time for...
  • Page 347: Special I/O Unit Area

    Explanations of PLC Setup Settings Section 7-2 Note The power OFF detection delay time setting cannot be changed while the CPU Unit is in RUN mode or MONITOR mode. 100 V 85 V Time Power Interrupt Detection Time Power interrupt Power OFF AC power supply: 10 to 25 ms detection time...

This manual is also suitable for:

Cj1m-cpu seriesCj1g-cpu series

Table of Contents

Save PDF