CJ-series CJ1M CPU Units (with Built-in I/O) CJ1M-CPU2@ CSM_CJ1M-CPU2_DS_E_5_3 Compact, Applications-oriented Controllers with Built-in Pulse I/O for High Potential * The compact, high-potential CJ1M PLCs provide built-in pulse I/O for high-precision performance * Pulse I/O for two axes to achieve higher machine precision. CJ1M-CPU21 Features Two 100-kHz Pulse Outputs * Use special instructions to easily implement various types of positioning, such as positioning with trapezoidal acceleration/deceleration, positioning with different acceleration/deceleration rates, and triangular control. * Combine positioning instructions to handle many different applications, such as interrupt feeding and target position changes during positioning. * Pulse startup is as fast as 46 s and is 70 s even for trapezoidal acceleration/deceleration. Two Pulse Inputs * Two high-speed counters and four interrupt inputs are also built in. The high-speed counters operate at up to 100 kHz for single-phase and 50 kHz for differential-phase operation. These inputs enable controlling with high-speed response. Use the Rich Lineup of CJ1 Units * Handle a wide range of applications with the rich lineup of CJ1 Units, including Ethernet and other Communications Units and Analog I/O Units. * Easier maintenance is also possible using Memory Cards. 1 CJ1M-CPU2@ Ordering Information Applicable standards Refer to the OMRON website (www.ia.omron.com) or ask your OMRON representative for the most recent applicable standards for each model. CJ1M CPU Units (with Built-in I/O) Current consumption (A) Specifications Product name Built-in I/O (See note 2.) CJ1M CPU Units I/O capacity/Mountable Units (Expansion Racks) Program capacity 640 points/20 Units (1 Expansion Racks max.) 20K steps 320points/10 Units (No Expansion Rack) 32K words 10K steps (DM: 32K words, EM: None) 160 points/10 Units (No Expansion Rack) Data memory capacity LD instruction execution time Built-in I/O 0.1 s 10 inputs and 6 outputs, 2 counter inputs, 2 pulse outputs 5K steps Model 5V 24 V 0.64 (See note 1.) - CJ1M-CPU23 (See note 3.) 0.64 (See note 1.) - CJ1M-CPU22 (See note 3.) 0.64 (See note 1.) - CJ1M-CPU21 (See notes 2 and 3.) Note: 1. Current consumptions include current for a Programming Console. Add 0.15 A per Adapter when using NT-AL001 RS-232C/RS-232A Adapters. Add 0.04 A per Adapter when using CJ1W-CIF11 RS-422A Adapters. 2. Some of the specifications for the low-end CJ1M CPU Units (CJ1M-CPU11(-ETN)/21) are different from the specifications for the other CJ1M CPU Units (CJ1M-CPU12(-ETN)/13(-ETN)/22/23), including the specifications for overhead time, pulse start time, the number of subroutines and jumps, the number of scheduled interrupt tasks, and the number of PWM outputs. For details, refer to the CJ Series Programmable Controllers Operation Manual (Cat. No. 393) and the CJ Series Built-in I/O Operation Manual (Cat. No. 395). 3. The connector for built-in I/O in the CJ1M-CPU21/22/23 is not included. Purchase one of the connectors or connector cables in the following table separately. Connector Cables for Built-in I/O in CJ1M-CPU2@ CPU Units The connector for built-in I/O in the CJ1M-CPU21/22/23 is not included. Purchase one of the connectors or connector cables in the following table separately. For details, refer to Built-in I/O MIL Connector Wiring Methods. Product name Specifications MIL Flat Cable Connectors *1 MIL Loose Wire Connectors *2 Model 40-pin Pressurewelded Connectors XG4M-4030-T 40-pin Crimped Connectors XG5N-401 *4 Standards - Applicable Connectors Crimp Contacts for XG5N *3 Loose contacts XG5W-0232 Reel contacts XG5W-0232-R Manual Crimping Tool for XG5N XY2B-7007 Phillips screw (M3 screw terminals,40-terminals) XW2R-J40G-T Slotted screw (M3 European type ,40-terminals) Connector-Terminal Block Conversion Units XW2R-E40G-T - Push-in spring (Clamp 40-terminals) XW2R-P40G-T Cable length: 0.25 m XW2Z-C25K Cable for Connector-Terminal Block Conversion Unit Cable length: 0.5 m XW2Z-C50K Cable length: 1 m XW2Z-100K Cable length: 1.5 m XW2Z-150K Cable length: 2 m XW2Z-200K Cable length: 3 m XW2Z-300K Cable length: 5 m XW2Z-500K - *1. Socket and Stain Relief set *2. Crimp Contacts (XG5W-0232) are sold separately. *3. Applicable wire size is 28 to 24 AWG. For applicable conductor construction and more information, visit the OMRON website at www.ia.omron.com. *4. Crimp Contacts are also required. Note: Minimum ordering quantity for loose contacts is 100 pieces and for reel contacts is 1 reel (10,000 pieces). 2 CJ1M-CPU2@ Product name Specifications Model Standards Servo Relay Unit for 1 axis XW2B-20J6-8A Servo Relay Units - Servo Relay Unit for 2 axes XW2B-40J6-9A Cable for CJ1M CPU Unit Cable length: 0.5 m XW2Z-050J-A33 Cable length: 1 m XW2Z-100J-A33 Cable length: 1 m XW2Z-100J-B31 Cable length: 2 m XW2Z-200J-B31 Cable length: 0.5 m XW2Z-050J-A33 Cable length: 1 m XW2Z-100J-A33 Cable length: 1 m XW2Z-100J-B32 Cable length: 2 m XW2Z-200J-B32 Cable length: 1 m XW2Z-100J-A26 Cable length: 1 m XW2Z-100J-B17 Cable length: 2 m XW2Z-200J-B17 Cable length: 1 m XW2Z-100J-A26 Cable length: 1 m XW2Z-100J-B5 Cable length: 2 m XW2Z-200J-B5 Cable length: 0.5 m XW2Z-050J-A27 Cable length: 1 m XW2Z-100J-A27 Cable length: 1 m XW2Z-100J-B4 Cable length: 2 m XW2Z-200J-B4 OMNUC G Series Servo Driver Connecting Cables Cable for CJ1M CPU Unit SMARTSTEP2 Servo Driver Connecting Cables Cable for CJ1M CPU Unit Cables for Servo Relay Units SMARTSTEP Junior - Servo Driver Connecting Cables Cable for CJ1M CPU Unit SMARTSTEP A Series Servo Driver Connecting Cables Cable for CJ1M CPU Unit OMNUC W Series Servo Driver Connecting Cables Accessories The following accessories come with CPU Unit: Item Specification Battery CJ1W-BAT01 End Cover CJ1W-TER01 (necessary to be mouned at the right end of CPU Rack) End Plate PFP-M (2 pcs) 3 CJ1M-CPU2@ Specifications Common Specifications Item Specifications Control method Stored program I/O control method Cyclic scan and immediate processing are both possible. Programming LD (Ladder), SFC (Sequential Function Chart), ST (Structured Text), Mnemonic CPU processing mode Normal Mode or Peripheral Servicing Priority Mode Instruction length 1 to 7 steps per instruction Ladder instructions Approx. 400 (3-digit function codes) Execution time Basic instructions: 0.10 s min. Special instructions: 0.15 s min. Overhead time * CJ1M CPU Units (CPU22/23): 0.5 ms min. * CJ1M CPU Units (CPU21): 0.7 ms min. Unit connection method No Backplane: Units connected directly to each other. Mounting method DIN Track (screw mounting not possible) Maximum number of connectable Units Total of 20 Units in the System, including 10 Units on CPU Rack and 10 Units on one Expansion Rack. Maximum number of Expansion Racks * CJ1M CPU Units (CPU 13/23 only): 1 max. (An I/O Control Unit is required on the CPU Rack and an I/O Interface Unit is required on the Expansion Rack.) * CJ1M CPU Units (CPU11/12/21/22): Expansion is not possible. Number of tasks 288 (cyclic tasks: 32, interrupt tasks: 256) Interrupt tasks can be defined as cyclic tasks called "extra cyclic tasks." Including these, up to 288 cyclic tasks can be used. Note: 1. Cyclic tasks are executed each cycle and are controlled with TKON(820) and TKOF(821) instructions. 2. The following 4 types of interrupt tasks are supported. Power OFF interrupt tasks: 1 max. Scheduled interrupt tasks: 2 max. I/O interrupt tasks: 32 max. External interrupt tasks: 256 max. Interrupt types Scheduled Interrupts: Interrupts generated at a time scheduled by the CPU Unit's built-in timer. (See note. 1) I/O Interrupts: Interrupts from Interrupt Input Units. Power OFF Interrupts (See note 2.): Interrupts executed when the CPU Unit's power is turned OFF. External I/O Interrupts: Interrupts from the Special I/O Units or CPU Bus Units. Note: 1. Scheduled interrupt time interval is 0.5 ms to 999.9 ms (in increments of 0.1 ms), 1 ms to 9,999 ms (in increments of 1 ms), or 10 ms to 99,990 ms (in increments of 10 ms) 2. Not supported when the CJ1W-PD022 Power Supply Unit is mounted. Calling subroutines from more than one task Supported (called "global subroutines"). Function blocks (CPU Unit with unit version 3.0 or later only) Languages in function block definitions: ladder programming, structured text I/O Area 1,280: CIO 000000 to CIO 007915 (80 words from CIO 0000 to CIO 0079) The setting of the first word can be changed from the default (CIO 0000) so that CIO 0000 to CIO 0999 can be used. I/O bits are allocated to Basic I/O Units. Link Area 3,200 (200 words): CIO 10000 to CIO 119915 (words CIO 1000 to CIO 1199) Link bits are used for data links and are allocated to Units in Controller Link Systems. CPU Bus Unit Area 6,400 (400 words): CIO 150000 to CIO 189915 (words CIO 1500 to CIO 1899) CPU Bus Unit bits store the operating status of CPU Bus Units. (25 words per Unit, 16 Units max.) Special I/O Unit Area 15,360 (960 words): CIO 200000 to CIO 295915 (words CIO 2000 to CIO 2959) Special I/O Unit bits are allocated to Special I/O Units. (10 words per Unit, 96 Units max.) Note: Special I/O Units are I/O Units that belong to a special group called "Special I/O Units." Example:CJ1W-AD081 Analog Input Unit Serial PLC Link Area 1,440 (90 words): CIO 310000 to CIO 318915 (words CIO 3100 to CIO 3189) 9,600 (600 words): CIO 320000 to CIO 379915 (words CIO 3200 to CIO 3799) DeviceNet bits are allocated to Slaves for DeviceNet Unit remote I/O communications when the Master function is used with fixed allocations. CIO (Core I/O) Area DeviceNet Area Fixed allocation setting 1 Outputs: CIO 3200 to CIO 3263 Inputs: CIO 3300 to CIO 3363 Fixed allocation setting 2 Outputs: CIO 3400 to CIO 3463 Inputs: CIO 3500 to CIO 3563 Fixed allocation setting 3 Outputs: CIO 3600 to CIO 3663 Inputs: CIO 3700 to CIO 3763 The CIO Area can be used as work bits if the bits are not used as shown here. The following words are allocated to the Master function even when the DeviceNet Unit is used as a Slave. Internal I/O Area Fixed allocation setting 1 Outputs: CIO 3370 (Slave to Master) Inputs: CIO 3270 (Master to Slave) Fixed allocation setting 2 Outputs: CIO 3570 (Slave to Master) Inputs: CIO 3470 (Master to Slave) Fixed allocation setting 3 Outputs: CIO 3770 (Slave to Master) Inputs: CIO 3670 (Master to Slave) 4,800 (300 words): CIO 120000 to CIO 149915 (words CIO 1200 to CIO 1499) 37,504 (2,344 words): CIO 380000 to CIO 614315 (words CIO 3800 to CIO 6143) These bits in the CIO Area are used as work bits in programming to control program execution. They cannot be used for external I/O. 4 CJ1M-CPU2@ Item Specifications Work Area 8,192 bits (512 words): W00000 to W51115 (W000 to W511) Controls the programs only. (I/O from external I/O terminals is not possible.) Note: When using work bits in programming, use the bits in the Work Area first before using bits from other areas. Holding Area 8,192 bits (512 words): H00000 to H51115 (H000 to H511) Holding bits are used to control the execution of the program, and maintain their ON/OFF status when the PLC is turned OFF or theoperating mode is changed. Note: The Function Block Holding Area words are allocated from H512 to H1535. These words can be used only for the function block instance area (internally allocated variable area). Auxiliary Area Read only: 7,168 bits (448 words): A00000 to A44715 (words A000 to A447) Read/write: 8,192 bits (512 words): A44800 to A95915 (words A448 to A959) Auxiliary bits are allocated specific functions. Temporary Area 16 bits (TR0 to TR15) Temporary bits are used to temporarily store the ON/OFF execution conditions at program branches. Timer Area 4,096: T0000 to T4095 (used for timers only) Counter Area 4,096: C0000 to C4095 (used for counters only) DM Area 32 Kwords: D00000 to D32767 Used as a general-purpose data area for reading and writing data in word units (16 bits). Words in the DM Area maintain their status when the PLC is turned OFF or the operating mode is changed. Internal Special I/O Unit DM Area: D20000 to D29599 (100 words x 96 Units) Used to set parameters for Special I/O Units. CPU Bus Unit DM Area: D30000 to D31599 (100 words x 16 Units) Used to set parameters for CPU Bus Units. EM Area None Index Registers IR0 to IR15 Store PLC memory addresses for indirect addressing. Index registers can be used independently in each task. One register is 32 bits (2words). Setting to use index registers either independently in each task or to share them between tasks. Task Flag Area 32 (TK0000 to TK0031) Task Flags are read-only flags that are ON when the corresponding cyclic task is executable and OFF when the corresponding task is not executable or in standby status. Trace Memory 4,000 words (trace data: 31 bits, 6 words) File Memory Memory Cards: Compact flash memory cards can be used (MS-DOS format). OMRON Memory Cards can be used. Function Specifications Item Specifications Constant cycle time 1 to 32,000 ms (Unit: 1 ms) Cycle time monitoring Possible (Unit stops operating if the cycle is too long): 10 to 40,000 ms (Unit: 10 ms) I/O refreshing Cyclic refreshing, immediate refreshing, refreshing by IORF(097). IORF(097) refreshes I/O bits allocated to Basic I/O Units and Special I/O Units. The CPU BUS UNIT I/O REFRESH (DLNK(226)) instruction can be used to refresh bits allocated to CPU Bus Units in the CIO and DM Areas whenever required. Timing of special refreshing for CPU Bus Units Data links for Controller Link Units and SYSMAC LINK Units, remote I/O for DeviceNet Units, and other special refreshing for CPU Bus Units is performed at the following times: I/O refresh period and when the CPU BUS UNIT I/O REFRESH (DLNK(226)) instruction is executed. I/O memory holding when changing operating modes Depends on the ON/OFF status of the IOM Hold Bit in the Auxiliary Area. Load OFF All outputs on Output Units can be turned OFF when the CPU Unit is operating in RUN, MONITOR, or PROGRAM mode. Timer/Counter PV refresh method BCD or binary (CX-Programmer Ver. 3.0 or higher). Input response time setting Time constants can be set for inputs from Basic I/O Units. The time constant can be increased to reduce the influence of noise and chattering or it can be decreased to detect shorter pulses on the inputs. Mode setting at power-up Possible (By default, the CPU Unit will start in RUN mode if a Programming Console is not connected.) Flash memory The user program and parameter area data (e.g., PLC Setup) are always backed up automatically in flash memory. (automatic backup and restore.) * CPU Units with unit version 3.0 or later only: When downloading projects from CX-Programmer Ver. 5.0 or higher, symbol table files (including CX-Programmer symbol names, I/O comments), comment files (CX-Programmer rung comments, other comments), and program index files (CX-Programmer section names, section comments, or program comments) are stored in comment memory within the flash memory. Memory Card functions Automatically reading programs (autoboot) from the Memory Card when the power is turned ON. Possible Program replacement during PLC operation Possible Format in which data is stored in Memory Card User program: Program file format PLC Setup and other parameters: Data file format I/O memory: Data file format (binary format), text format, or CSV format Functions for which Memory Card read/write is supported User program instructions, Programming Devices (including CX-Programmer and Programming Consoles), Host Link computers, AR Area control bits, easy backup operation Filing Memory Card data and the EM (Extended Data Memory) Area can be handled as files. Debugging Control set/reset, differential monitoring, data tracing (scheduled, each cycle, or when instruction is executed), instruction error tracing, storing location generating error when a program error occurs. 5 CJ1M-CPU2@ Item Specifications Online editing When the CPU Unit is in MONITOR or PROGRAM mode, multiple program sections ("circuits") of the user program can be edited together. This function is not supported for block programming areas. (With the CX-Programmer is used, multiple program sections of the user program can be edited together. When a Programming Console is used, the program can be edited in mnemonics only.) Program protection Overwrite protection: Set using DIP switch. Copy protection: Password set using CX-Programmer or Programming Consoles. Error check User-defined errors (i.e., user can define fatal errors and non-fatal errors) The FPD(269) instruction can be used to check the execution time and logic of each programming block. FAL and FALS instructions can be used with the CJ1M CPU Units to simulate errors. Error log Up to 20 errors are stored in the error log. Information includes the error code, error details, and the time the error occurred. A CJ1M CPU Unit can be set so that user-defined FAL errors are not stored in the error log. Serial communications Built-in peripheral port: Programming Device (including Programming Console) connections, Host Links, NT Links Built-in RS232C port: Programming Device (excluding Programming Console) connections, Host Links, no-protocol communications, NT Links, Serial Gateway (Compoway/F master) Serial Communications Unit (sold separately): Protocol macros, Host Links, NT Links, Modbus-RTU slave, No-protocol, Serial Gateway (Compoway/F master, Modbus master) Clock Provided on all models. Accuracy: Ambient temperature Monthly error 55C -3.5 min to +0.5 min 25C -1.5 min to +1.5 min 0C -3 min to +1 min Note: Used to store the time when power is turned ON and when errors occur. Power OFF detection time AC Power Supply Unit: 10 to 25 ms (not fixed) DC Power Supply Unit PD025: 2 to 5 ms; PD022: 2 to 10 ms Power OFF detection delay time 0 to 10 ms (user-defined, default: 0 ms) Note: Not supported when the CJ1W-PD022 Power Supply Unit is mounted. Memory protection Held Areas: Holding bits, contents of Data Memory and Extended Data Memory, and status of the counter Completion Flags and present values. Note: If the IOM Hold Bit in the Auxiliary Area is turned ON, and the PLC Setup is set to maintain the IOM Hold Bit status when power to the PLC is turned ON, the contents of the CIO Area, the Work Area, part of the Auxiliary Area, timer Completion Flag and PVs, Index Registers, and the Data Registers will be saved for up to 20 days. Sending commands to a Host Link computer FINS commands can be sent to a computer connected via the Host Link System by executing Network Communications Instructions from the PLC. Remote programming and monitoring Host Link communications can be used for remote programming and remote monitoring through a Controller Link, Ethernet, DeviceNet, or SYSMAC LINK network. Communicating across network levels Remote programming and monitoring from Support Software and FINS message communications can be performed across different network levels, even for different types of network. Pre-Ver. 2.0: Three levels Version 2.0 or later: Eight levels for Controller Link and Ethernet networks (See note.), three levels for other networks. Note: To communicate across eight levels, the CX-Integrator or the CX-Net in CX-Programmer version 4.0 or higher must be used to set the routing tables. Storing comments in CPU Unit I/O comments can be stored as symbol table files in the Memory Card, EM file memory, or comment memory (see note). Note: Comment memory is supported for CX-Programmer version 5.0 or higher and CS/CJ-series CPU Units with unit version 3.0 or later only. Program check Program checks are performed at the beginning of operation for items such as no END instruction and instruction errors. CX-Programmer can also be used to check programs. Control output signals RUN output: The internal contacts will turn ON (close) while the CPU Unit is operating (CJ1W-PA205R). Battery life Battery Set for CJ1M CPU Units: CJ1W-BAT01 Self-diagnostics CPU errors (watchdog timer), I/O bus errors, memory errors, and battery errors. Other functions Storage of number of times power has been interrupted. (Stored in A514.) 6 CJ1M-CPU2@ I/O Specifications of CJ1M CPU Units (CJ1M-CPU21/22/23) * CJ1M-CPU2@ CPU Units have 10 built-in inputs and 6 built-in outputs. * The 10 inputs can be used as general-purpose inputs, interrupt inputs, quick-response inputs, high-speed counters, or origin search origin input signals. * The 6 outputs can be used as general-purpose outputs, pulse outputs, or origin search deviation counter reset outputs. Data Area Allocations for Built-in I/O I/O Code IN 0 Address IN 2 IN 3 IN 4 IN 5 IN 6 IN 7 IN 8 IN 9 OUT 0 OUT 1 OUT 2 OUT 3 OUT 4 OUT 5 2961 0 1 2 3 4 General purpose inputs General purpose input 0 General purpose input 1 General purpose input 2 General purpose input 3 General General General General General General purpose purpose purpose purpose purpose purpose input 4 input 5 input 6 input 7 input 8 input 9 Interrupt inputs Interrupt input 0 Interrupt input 1 Interrupt input 2 Interrupt input 3 - - - - - Quick response inputs Quick Quick Quick Quick response response response response input 0 input 1 input 2 input 3 - - - - 5 6 7 Highspeed counter 0 (phase- Z/ reset) - - Highspeed counter 1 (phaseA, increment, or count input) 8 9 0 1 2 3 4 5 - - - - - - - - - - - - - - - - - - - - - Highspeed counter 1 (phaseB, decrement, or direction input) Highspeed counter 0 (phaseA, increment, or count input) Highspeed counter 0 (phaseB, decrement, or direction input) - - - - - - Highspeed counters - - Highspeed counter 1 (phase- Z/ reset) Generalpurpose outputs - - - - - - - - - - General- General- General- General- General- Generalpurpose purpose purpose purpose purpose purpose output 0 output 1 output 2 output 3 output 4 output 5 CW/ CCW outputs - - - - - - - - - - Pulse output 0 (CW) Pulse output 0 (CCW) Pulse output 1 (CW) Pulse output 1 (CCW) - - Pulse + direction outputs - - - - - - - - - - Pulse output 0 pulse) Pulse output 1 (pulse) Pulse output 0 (direction) Pulse output 1 (direction) - - Variable duty ratio outputs - - - - - - - - - - - - - - PWM PWM (891) (891) output 0 output 1 Origin search 0 (Origin Input Signal) Origin search 0 (Origin Proximity Input Signal) Origin search 1 (Origin Input Signal) Origin search 1 (Origin Proximity Input Signal) Origin search 0 (Positioning Completed Signal) Origin search 1 (Positioning Completed Signal) - Origin search 0 (Error Counter Reset Output) Pulse outputs Inputs Bit Outputs IN 1 2960 Origin search - - - - - - - Origin search 1 (Error Counter Reset Output) Note: CJ1M-CPU21 CPU Units have one PWM output only and do not have PWM output 1. Built-in Input Specifications Interrupt Inputs and Quick-response Inputs Item No. of interrupt inputs/ quick-response inputs Input interrupts Specifications 4 total Direct (Input Interrupt) Mode Execution of an interrupt task is started at the interrupt input's rising or falling edge. Interrupt numbers 140 to 143 are used (fixed). Response time from meeting input condition to start of interrupt task execution: 93 s min. High-speed Counter Mode Rising or falling edges of the interrupt are counted using either an incrementing or decrementing counter, and an interrupt task is started when the input count reaches the set value. Interrupt numbers 140 to 143 are used (fixed). I/O response frequency: 1 kHz Quick-response inputs Signals that are shorted than the cycle time (30 s min.) can be read and treated the same as signals that are one for more than one cycle time. High-speed Counter Inputs Item Specifications Number of high-speed counters 2 (High-speed counters 0 and 1) Pulse input mode (Selected in PLC Setup) Differential phase inputs Up/down inputs (up inputs, (phase-A, phase-B, and phasedown inputs, reset inputs) Z input) Pulse + direction inputs (pulse inputs, direction inputs, reset inputs) Increment inputs (increment inputs, reset inputs) 50 kHz 100 kHz 100 kHz 100 kHz 30 kHz 60 kHz 60 kHz 60 kHz Line-driver Response inputs frequency 24-V DC inputs Counting mode Linear mode or Ring mode (Select in the PLC Setup.) 7 CJ1M-CPU2@ Item Specifications Count value Linear mode: 80000000 to 7FFFFFFF hex Ring mode: 00000000 to Ring SV (The Ring SV is set in the PLC Setup and the setting range is 00000001 to FFFFFFFF hex.) High-speed counter PV storage locations High-speed counter 0: A271 (leftmost 4 digits) and A270 (rightmost 4 digits) High-speed counter 1: A273 (leftmost 4 digits) and A272 (rightmost 4 digits) Target value comparison interrupts or range comparison interrupts can be executed based on these PVs. Note: The PVs are refreshed in the overseeing processes at the beginning of each cycle. Use the PRV(881) instruction to read the most recent PVs. Control method Target value comparison Up to 48 target values and corresponding interrupt task numbers can be registered. Range comparison Up to 8 ranges can be registered, with an upper limit, lower limit, and interrupt task number for each. Counter reset method Phase-Z + Software reset: Counter is reset when phase-Z input goes ON while Reset Bit is ON. Software reset: Counter is reset when Reset Bit goes ON. Reset Bits: High-speed Counter 0 Reset Bit is A53100, Counter 1 Reset Bit is A53101. Built-in Output Specifications Position Control and Speed Control Item Specifications Number of pulse outputs 2 (Pulse output 0 or 1) Output frequency 1 Hz to 100 kHz (1-Hz units from 1 to 100 Hz, 10-Hz units from 100 Hz to 4 kHz, and 100-Hz units from 4 to 100 kHz) Frequency acceleration and deceleration rates Set in 1 Hz units for acceleration/deceleration rates from 1 Hz to 2 kHz (every 4 ms). The acceleration and deceleration rates can be set separately only with PLS2(887). Changing SVs during instruction execution The target frequency, acceleration/deceleration rate, and target position can be changed. Changes to the target frequency and acceleration/deceleration rate must be made at constant speed. Pulse output method CW/CCW inputs or Pulse + direction inputs Number of output pulses Relative coordinates: 00000000 to 7FFFFFFF hex (Each direction accelerating or decelerating: 2,147,483,647) Absolute coordinates: 80000000 to 7FFFFFFF hex (-2,147,483,648 to 2,147,483,647) Instruction used for origin searches and returns ORIGIN SEARCH (ORG(889)): Origin search and origin return operations according to set parameters Instructions used for position and speed control PULSE OUTPUT (PLS2(887)): Trapezoidal output control with separate acceleration and deceleration rate SET PULSES (PULS(886)): Setting the number of pulses for pulse output SPEED OUTPUT (SPED(885)): Pulse output without acceleration or deceleration (Number of pulses must be set in advance with PULS(886) for position control.) ACCELERATION CONTROL (ACC(888)): Changes frequency or pulse output with acceleration and deceleration MODE CONTROL (INI(880)): Stopping pulse output Pulse output PV's storage location The following Auxiliary Area words contain the pulse output PVs: Pulse output 0: A277 (leftmost 4 digits) and A276 (rightmost 4 digits) Pulse output 1: A279 (leftmost 4 digits) and A278 (rightmost 4 digits) The PVs are refreshed during regular I/O refreshing. PVs can be read to user-specified words with the PRV(881) instruction. Variable-duty Pulse Outputs (PWM) Item Specifications Number of PWM outputs CJ1M-CPU22/23: 2 (PWM output 0 or 1) CJ1M-CPU21: 1 (PWM output 0) Duty ratio 0% to 100%, set in 0.1% units (See note.) Frequency 0.1 Hz to 999.9 Hz, Set in 0.1 Hz units. Instruction PULSE WITH VARIABLE DUTY RATIO (PWM(891)): Sets duty ratio and outputs pulses. Note: CJ1M CPU Unit Ver. 2.0 or later only. (0% to 100%, set in 1% units for Pre-Ver. 2.0 CPU Units.) Hardware Specifications Input Specifications Item Specifications Number of inputs 10 inputs Input method 24-V DC inputs or line driver (wiring changed to select) Input voltage specifications 24 V DC IN0 to IN5 Line driver IN6 to IN9 IN0 to IN5 IN6 to IN9 RS-422A or RS-422 line driver (conforming to AM26LS31), Power supply voltage of 5 V 5% Input voltage 20.4 to 26.4 V DCV Input impedance 3.6 k 4.0 k Input current (typical) 6.2 mA 4.1 mA Minimum ON voltage 17.4 V DC/3 mA min. - Maximum OFF voltage 5.0 V DC/1 mA max. - Response speed (for generalpurpose inputs) ON response time Default setting: 8 ms max. (The input time constant can be set to 0 ms, 0.5 ms, 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, or 32 ms in the PLC Setup.) OFF response time Default setting: 8 ms max. (The input time constant can be set to 0 ms, 0.5 ms, 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, or 32 ms in the PLC Setup.) - 13 mA 10 mA 8 CJ1M-CPU2@ Input Circuit Configuration Item Input Specifications IN0 to IN5 IN6 to IN9 3.6 k 4.0 k 24 V 24 V 100 LD+ Circuit configuration 750 0V/LD- 100 LD+ Internal circuits 1000 pF 1.5 k 0V/LD- 100 1000 pF Internal circuits 100 General-purpose Output Specifications for Transistor Outputs (Sinking) Item Specifications OUT0 to OUT3 Rated voltage 5 to 24 V DC OUT4 to OUT5 Allowable voltage range 4.75 to 26.4 V DC Max. switching capacity 0.3 A/output; 1.8 A/Unit Number of circuits 6 outputs (6 outputs/common) Max. inrush current 3.0 A/output, 10 ms max. Leakage current 0.1 mA max. Residual voltage 0.6 V max. ON delay 0.1 mA max. OFF delay 0.1 mA max. Fuse None External power supply 10.2 to 26.4 V DC 50 mA min. Internal circuits Low voltage circuit Circuit configuration +V OUT0 to OUT3 COM Internal circuits Output Low voltage circuit +V OUT4 to OUT5 COM Pulse Output Specifications (OUT0 to OUT3) Item Specifications Max. switching capacity 30 mA, 4.75 to 26.4 V DC Min. switching capacity 7 mA, 4.75 to 26.4 V DC Max. output frequency 100 kHz OFF Output waveform 90% 10% ON 2 s min. 4 s min. 9 CJ1M-CPU2@ Unit Versions Units Models Unit version Unit version 4.0 Unit version 3.0 CJ1M-CPU12/13 CJ1M-CPU22/23 Unit version 2.0 CJ1M CPU Units Pre-Ver. 2.0 Unit version 4.0 CJ1M-CPU11/21 Unit version 3.0 Unit version 2.0 Function Support by Unit Version Functions Supported for Unit Version 4.0 or Later CX-Programmer 7.0 or higher must be used to enable using the functions added for unit version 4.0. Additional functions are supported if CX-Programmer version 7.2 or higher is used. CJ1M CPU Units CJ1M-CPU@@ Function Unit version 4.0 or later Other unit versions Online editing of function blocks Note: This function cannot be used for simulations on the CX-Simulator. OK - Input-output variables in function blocks OK - Text strings in function blocks OK - OK - New application instructions Number-Text String Conversion Instructions: NUM4, NUM8, NUM16, STR4, STR8, and STR16 OK - ST programming in task programs OK with CX-Programmer version 7.2 or higher - SFC programming in task programs OK with CX-Programmer version 7.2 or higher - TEXT FILE WRITE (TWRIT) User programs that contain functions supported only by CPU Units with unit version 4.0 or later cannot be used on CS/CJ-series CPU Units with unit version 3.0 or earlier. An error message will be displayed if an attempt is made to download programs containing unit version 4.0 functions to a CPU Unit with a unit version of 3.0 or earlier, and the download will not be possible. If an object program file (.OBJ) using these functions is transferred to a CPU Unit with a unit version of 3.0 or earlier, a program error will occur when operation is started or when the unit version 4.0 function is executed, and CPU Unit operation will stop. Functions Supported for Unit Version 3.0 or Later CX-Programmer 5.0 or higher must be used to enable using the functions added for unit version 3.0. CJ1M CPU Units CJ1M-CPU@@ Function Unit version 3.0 or later Other unit versions Function blocks OK - Serial Gateway (converting FINS commands to CompoWay/F commands at the built-in serial port) OK - Comment memory (in internal flash memory) OK - Expanded simple backup data OK - TXDU(256), RXDU(255) (support no-protocol communications with Serial Communications Units with unit version 1.2 or later) OK - Model conversion instructions: XFERC(565), DISTC(566), COLLC(567), MOVBC(568), BCNTC(621) OK - Special function block instructions: GETID(286) OK - PRV(881) and PRV2(883) instructions: Added high-frequency calculation methods for calculating pulse frequency. (CJ1M CPU Units only) OK - New application instructions Additional instruction functions User programs that contain functions supported only by CPU Units with unit version 3.0 or later cannot be used on CS/CJ-series CPU Units with unit version 2.0 or earlier. An error message will be displayed if an attempt is made to download programs containing unit version 3.0 functions to a CPU Unit with a unit version of 2.0 or earlier, and the download will not be possible. If an object program file (.OBJ) using these functions is transferred to a CPU Unit with a unit version of 2.0 or earlier, a program error will occur when operation is started or when the unit version 3.0 function is executed, and CPU Unit operation will stop. 10 CJ1M-CPU2@ Functions Supported for Unit Version 2.0 or Later CX-Programmer 4.0 or higher must be used to enable using the functions added for unit version 2.0. CJ1-H/CJ1M CPU Units CJ1M CPU Units CJ1M-CPU12/13/22/23 Function Unit version 2.0 or later CJ1M-CPU11/21 Other unit versions Unit version 2.0 or later Downloading and Uploading Individual Tasks OK - OK Improved Read Protection Using Passwords OK - OK Write Protection from FINS Commands Sent to CPU Units via Networks OK - OK Online Network Connections without I/O Tables OK - (Supported if I/O tables are automatically generated at startup.) OK Communications through a Maximum of 8 Network Levels OK - OK OK from lot number 030201 OK Connecting Online to PLCs via NS-series PTs OK Setting First Slot Words OK for up to 64 groups OK for up to 8 groups OK for up to 64 groups Automatic Transfers at Power ON without a Parameter File OK - OK Automatic Detection of I/O Allocation Method for Automatic Transfer at Power ON OK - OK OK - OK MILH, MILR, MILC OK - OK =DT, <>DT,