Omron CP1H-CPU - 05-2006 Operation Manual

Omron CP1H-CPU - 05-2006 Operation Manual

Cp1h cpu unit
Table of Contents

Advertisement

Quick Links

Cat. No. W450-E1-02
SYSMAC CP Series
CP1H-X40D @ @ - @ @
CP1H-XA40D @ @ - @ @
CP1H-Y20DT-D
CP1H CPU Unit
OPERATION MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Omron CP1H-CPU - 05-2006

  • Page 1 Cat. No. W450-E1-02 SYSMAC CP Series CP1H-X40D @ @ - @ @ CP1H-XA40D @ @ - @ @ CP1H-Y20DT-D CP1H CPU Unit OPERATION MANUAL...
  • Page 2 CP1H-X40D@-@ CP1H-XA40D@-@ CP1H-Y20DT-D CP1H CPU Unit Operation Manual Revised May 2006...
  • Page 4 1. Indicates lists of one sort or another, such as procedures, checklists, etc. OMRON, 2005 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
  • Page 5 Unit upgrades. Notation of Unit Versions The unit version is given to the right of the lot number on the nameplate of the on Products products for which unit versions are being managed, as shown below.
  • 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 U n i t s . P l a c e t h e a p p r o p r i a t e l a b e l...
  • Page 8: Table Of Contents

    TABLE OF CONTENTS PRECAUTIONS ........xxi Intended Audience .
  • Page 9 Built-in Analog I/O Area (XA CPU Units Only) ....... . .
  • Page 10 Index..........629 Revision History ........635...
  • Page 11 TABLE OF CONTENTS...
  • Page 12: About This Manual

    The CP Series is centered around the CP1H CPU Units and is designed with the same basic architec- ture as the CS and CJ Series. The Special I/O Units and CPU Bus Units of the CJ Series can thus be used.
  • Page 13 Section 4 describes the structure and functions of the I/O Memory Areas and Parameter Areas. Section 5 describes the CP1H’s interrupt and high-speed counter functions. Section 6 describes all of the advanced functions of the CP1H that can be used to achieve specific application needs.
  • Page 14: Related Manuals

    Related Manuals The following manuals are used for the CP-series CPU Units. Refer to these manuals as required. Cat. No. Model numbers Manual name Description W450 CP1H-X40D@-@ SYSMAC CP Series Provides the following information on the CP Series: CP1H-XA40D@-@ CP1H CPU Unit •...
  • Page 16 WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY. In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted. IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS...
  • Page 17 The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses listed may be suitable for the products: •...
  • Page 18 PERFORMANCE DATA Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements.
  • Page 20: Precautions

    Conformance to EC Directives ........
  • Page 21: Intended Audience

    !WARNING 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 22 As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system. • The PLC or outputs may remain ON or OFF due to deposits on or burning of the output relays, or destruction of the output transistors. As a counter- measure for such problems, external safety measures must be provided to ensure safety in the system.
  • Page 23: Operating Environment Precautions

    • Locations subject to possible exposure to radioactivity. • Locations close to power supplies. !Caution The operating environment of the PLC System can have a large effect on the longevity and reliability of the system. Improper operating environments can lead to malfunction, failure, and other unforeseeable problems with the PLC System.
  • Page 24: Application Precautions

    • Connecting or disconnecting the connectors !Caution Failure to abide by the following precautions could lead to faulty operation of the PLC or the system, or could damage the PLC or PLC Units. Always heed these precautions. • Install external breakers and take other safety measures against short-cir- cuiting in external wiring.
  • Page 25 Doing either of these may break the cables. • Do not place objects on top of the cables. Doing so may break the cables. • When replacing parts, be sure to confirm that the rating of a new part is correct.
  • Page 26 • If the I/O Hold Bit is turned ON, the outputs from the PLC will not be turned OFF and will maintain their previous status when the PLC is switched from RUN or MONITOR mode to PROGRAM mode.
  • Page 27: Conformance To Ec Directives

    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 28: Relay Output Noise Reduction Methods

    The CP1H PLCs conforms to the Common Emission Standards (EN61131-2) of the EMC Directives. However, noise generated by relay output switching may not satisfy these Standards. In such a case, a noise filter must be con- nected to the load side or other appropriate countermeasures must be pro- vided external to the PLC.
  • Page 29: Conditions For Meeting Emc Directives When Using Cpm1A Relay Expansion I/O Units

    100 to 200 V, insert the varistor between the con- tacts. When switching a load with a high inrush current such as an incandescent lamp, suppress the inrush current as shown below. Countermeasure 1 Countermeasure 2...
  • Page 30 Conformance to EC Directives Recommended Connection Method 1,2,3... 1. Cable Connection Method 2. Connection Method As shown below, connect a ferrite core to each end of the CP1W-CN811 I/O Connecting Cable. SYSMAC CP1H AC100-240V L2/N BATTERY POWER PERIPHERAL ERR/ALM BKUP...
  • Page 31 Conformance to EC Directives xxxii...
  • Page 32: Features And System Configuration

    System Expansion........
  • Page 33: Features And Main Functions

    The SYSMAC CP1H is an advanced high-speed, package-type Programma- ble Controller. While the CP1H employs the same architecture as the CS/CJ Series and provides the same I/O capacity of 40 I/O points as the CPM2A, the CP1H is approximately ten times faster.
  • Page 34 • The CPU Unit has 4 analog voltage/current inputs and 2 analog voltage/ current outputs built in. • The CP1H can be expanded to a maximum total of 320 I/O points by using CPM1A Expansion I/O Units. • Using CPM1A Expansion Units also allows extra functions (such as tem- perature sensor inputs) to be added.
  • Page 35 Features and Main Functions Section 1-1 CPU Unit with In place of the X CPU Units' more numerous built-in I/O points, the Y CPU Dedicated Pulse I/O Unit provides dedicated pulse I/O terminals (1 MHz). Terminals: Y 12 built-in inputs (Functions Pulse inputs can be assigned.) (See note.)
  • Page 36 500 kHz (differ- ential phases) Pulse out- Built-in I/O termi- Unit version 1.0 and earlier: 2 axes; 100 kHz, 2 axes, 30 kHz 2 axes, 100 kHz puts nal allocation Unit version 1.1 and later: 4 axes, 100 kHz...
  • Page 37: Features

    CP1W-CIF11 RS-422A/485 Option Board Option Board Faster Processing • Top-class performance has been achieved in a micro PLC, with an Speed (All Models) instruction processing speed equivalent to the CJ1M. • Approximately 500 instructions are processed at high speed. • Program creation and control are simplified by using function blocks (FB)
  • Page 38 (Functions can be assigned.) High-speed counter (4 axes) 100 kHz (single phase) Note Settings in the PLC Setup determine whether each input point is to be used as a normal input, interrupt input, quick-response input, or high-speed counter. • Y CPU Units...
  • Page 39 CPU Unit's built-in out- puts. Four axes (X,Y, Z, and ) can be controlled. A 1-MHz speed pulse rate is also possible for Y CPU Units. • X and XA CPU Units Pulse outputs for 4 axes at 100 kHz maximum are provided as standard features.
  • Page 40 PLS2 instruction. Positioning Changes during Speed Control (Interrupt Feeding) While speed control in continuous mode is in effect, it is possible to change to positioning in independent mode by executing a PULSE OUTPUT (PLS2) instruction. By this means, interrupt feeding (moving a specified amount) can...
  • Page 41 By using quick-response inputs, built-in inputs up to a minimum input signal Inputs (All Models) width of 30 s can be read regardless of the cycle time. The maximum number of points is 8 for X and XA CPU Units and 6 for Y CPU Units. (See note.) Note For each input, a PLC Setup parameter determines whether it is to be used as a normal input, interrupt input, quick-response input, or high-speed counter.
  • Page 42 By adjusting the analog adjuster with a Phillips screwdriver, the value in the Analog Adjustment Auxiliary Area can be changed to any value between 0 and 255. This makes it easy to change set values such as timers and counters without Programming Devices.
  • Page 43 A maximum of two Serial Communications Boards each with one RS-232C Two Serial Ports (All port or one RS-422A/485 port can be added. With a total of up to three ports, Models) including the USB port, this makes it possible to simultaneously connect a computer, PT, CP1H, and/or various components, such as an Inverter, Tem- perature Controller, or Smart Sensor.
  • Page 44 Modbus-RTU Inverter (2) By using the serial PLC Links (available for all models), a maximum of 10 words of data per CPU Unit can be shared independently of the program among a maximum of nine CPU Units (CP1H-CP1H-CJ1M) using RS- 422A/485 Option Boards.
  • Page 45 ON. This allows programs and initial values (such as recipe setup data) in the DM Area to be saved in the CPU Unit without the need to maintain a backup bat- tery.
  • Page 46: System Configuration

    A maximum of two CJ-series Special I/O Units or CPU Bus Units can be con- for CJ-series Special nected via a CJ Unit Adapter. It is also possible to connect to upper level and lower level networks, and to expand the system by using analog I/O.
  • Page 47: Optional Products

    DM initial values, comment memory, FB pro- grams, and data in RAM. Serial When serial communications are required for a CP1H CPU Unit, an RS-232C Communications or RS-422A/485 Option Board can be added. Expansion This enables connection by serial communications to NS-series PTs, Bar Code Readers, components such as Inverters, and computers without USB ports (such as when using the CX-Programmer).
  • Page 48: System Expansion

    POWER PERIPHERAL ERR/ALM CP1W-CN811 BKUP I/O Connecting Cable MEMORY 100CH 101CH Up to seven Units can be added, and the maximum number of I/O points per Unit is 40, so the maximum total number of expansion I/O points is 280.
  • Page 49 CPM1A-20EDT 8 transistor outputs (sinking) 00 01 02 03 04 05 06 07 08 09 10 11 CPM1A-20EDT1 8 transistor outputs (sourc- 00 01 02 03 04 05 06 07 ing) CPM1A-16ER None 16 relay outputs 280 g max. CPM1A-8ED...
  • Page 50 Pt100, JPt100 08 09 10 11 00 01 02 03 04 05 06 07 DeviceNet I/O CPM1A-DRT21 As a DeviceNet Slave, 32 inputs and 32 out- 200 g max. Link Unit puts are allocated. 00 01 02 03 04 05 06 07...
  • Page 51: System Expansion With Cj-Series Units

    1-2-3 System Expansion with CJ-series Units A maximum of two CJ-series Special I/O Units or CPU Bus Units can be con- nected. In order to connect them, a CP1W-EXT01 CJ Unit Adapter and a CJ1W-TER01 End Cover are required. These Units make it possible to add serial communication functions, such as network communications or protocol macros.
  • Page 52 Expansion I/O Units and CJ-series Units As shown in the diagram below, use a DIN Track to mount the CP1H CPU Unit and CJ-series Units, and use CP1W-CN811 I/O Connecting Cable to connect the Expansion Units or Expansion I/O Units.
  • Page 53: Restrictions On System Configuration

    Units, Expansion I/O Units, and CJ-series Units must be no more than 2 A for 5 V and 1 A for 24 V and the total power consumption must be no more than 30 W. For CPU Units with AC power supply, the current consumption from external 24-VDC power supply output must be included.
  • Page 54 Units with DC Power and Transistor Outputs (CP1H-X40DT(1)-D, CP1H- XA40DT(1)-D, and CP1H-Y40DT(1)-D), use a power supply voltage of 24 VDC 10% if connecting more than three Expansion I/O Units or if the ambient temperature is greater than 45 C. Mounting Restriction...
  • Page 55: Connecting Programming Devices

    CP-series Programmable Controllers. (See note.) Note A Programming Console cannot be used with CP-series Program- mable Controllers. Devices can be connected to the USB port or to a serial port. 1-3-1 Connecting to a USB Port Connect the computer running the CX-One Support Software (e.g., the CX- Programmer) using commercially available USB cable to a standard periph- eral USB port.
  • Page 56 Windows XP and Windows 2000. Windows XP Turn ON the power supply to the CP1H, and connect USB cable between the USB port of the computer and the peripheral USB port of the CP1H. After the cable has been connected, the computer will automatically recognize the device and the following message will be displayed.
  • Page 57 Section 1-3 Connecting Programming Devices 2. The following window will be displayed. Select the Install from a list of spe- cific location Option and then click the Next Button. 3. The following window will be displayed. Click the Browse Button for the In- clude this location in the search Field, specify C:\Program Files\ OMRON\CX-Server\USB\win2000_XP\Inf, and then click the Next Button.
  • Page 58 Connecting Programming Devices Section 1-3 4. Ignore the following window if it is displayed and click the Continue Any- way Button. 5. The following window will be displayed if the installation is completed nor- mally. Click the Finish Button. Windows 2000 Turn ON the power supply to the CP1H, and connect USB cable between the USB port of the computer and the peripheral USB port of the CP1H.
  • Page 59 Section 1-3 Connecting Programming Devices 1,2,3... 1. The following message will be displayed. Click the Next Button. 2. The following window will be displayed.
  • Page 60 Section 1-3 Connecting Programming Devices 3. Select the Search for a suitable driver for the device (recommended) Op- tion and then click the Next Button. The following window will be displayed. From the list in the window, select the Specify location Checkbox and then click the Next Button.
  • Page 61 Section 1-3 Connecting Programming Devices 5. A search will be made for the driver and the following window will be dis- played. Click the Next Button. The driver will be installed. 6. After the driver has been successfully installed, the following window will...
  • Page 62 Connection Setup Using the CX-Programmer 1,2,3... 1. Select CP1H as the device type in the Change PLC Dialog Box and con- firm that USB is displayed in the Network Type Field. 2. Click the OK Button to finish setting the PLC model. Then connect to the...
  • Page 63 If the USB driver installation fails for some reason or is cancelled in progress, Driver the USB driver must be reinstalled. Checking USB Driver Status 1,2,3... 1. Display the Device Manager on the computer. 2. If USB Device is displayed for Other devices, it means that the USB driver installation has failed.
  • Page 64: Connecting To A Serial Port

    Support Software. • Windows 98: If the USB cable is disconnected while online, an error message may be displayed on a blue screen. If that occurs, it will be necessary to re- boot the computer. 1-3-2...
  • Page 65 7 bits, even parity, and 2 stop bits. Note When a Serial Communications Option Board is mounted in Option Board Slot 1, it is called “Serial Port 1.” When mounted in Option Board Slot 2, it is called “Serial Port 2.”...
  • Page 66: Function Charts

    Analog inputs 4 inputs (XA models only) 0 to 5 V, 1 to 5 V, 0 to 10 V, 10 to 10 V, 4 to 20 mA, 0 to 20 mA Resolution: 1/6,000 or 1/12,000 Conversion time: 1 ms/input Analog outputs...
  • Page 67: Cpu Units

    CIO 0 and 1, bits 00 to 03: Used as origin search-related inputs. Origin inputs: CIO 0, bits 02 to 03 (line driver); CIO 1, bits 02 to 03 (open collector); CIO 1 (bits 00 to 01) Origin proximity inputs: Word 0, bits 00/01; word 1, bits 04/05 Origin return Execute the ORG instruction to move from any position to the origin.
  • Page 68 Units CPM1A-MAD11 Analog I/O Unit (Resolution: 1/6,000) Two analog inputs: 0 to 5 V, 1 to 5 V, 0 to 10 V, 10 to +10 V, 0 to 20 mA, or 4 to 20 mA One analog output: 1 to 5 V, 0 to 10 V, 10 to +10 V,...
  • Page 69: Function Blocks

    Function blocks allow complex programming units to be reused easily. Once standard program sections have been created as function blocks and saved in files, they can be reused just by placing a function block in a program and set- ting the parameters for the function block's I/O. Reusing standardized function blocks reduces the time required for programming/debugging, reduces coding errors, and makes programs easier to understand.
  • Page 70 The I/O operands are displayed as local variable names in the program, so Design the program is like a “black box” when entering or reading the program and no extra time is wasted trying to understand the internal algorithm. Different Processes Easily...
  • Page 71 Section 1-5 Function Blocks...
  • Page 72: Nomenclature And Specifications

    I/O Memory Details ........
  • Page 73: Part Names And Functions

    BKUP PRPHL POWER Power is ON. (Green) Not lit Power is OFF. The CP1H is executing a program in either RUN or (Green) MONITOR mode. Not lit Operation is stopped in PROGRAM mode or due to a fatal error. ERR/ALM...
  • Page 74 By applying 0 to 10 V of external voltage, it is possible to adjust the value of A643 within a range of 0 to 256. This input is not isolated. (Refer to 6- 2 Analog Adjuster and External Analog Setting Input.)
  • Page 75 While setting this switch, be very careful not to damage the wiring on the PCB. (10) Memory Cassette Slot Used for mounting a CP1W-ME05M Memory Cassette. When mounting a Memory Cassette, remove the dummy cassette.
  • Page 76 Input terminals Used to connect input devices. (12) Option Board Slots The following Option Boards can be mounted in either slot 1 or slot 2. • CP1W-CIF01 RS-232C Option Board • CP1W-CIF11 RS-422A/485 Option Board !Caution Always turn OFF the power supply to the PLC before mounting or removing an Option Board.
  • Page 77: Cp1W-Cif01 Rs-232C Option Boards

    Units or CPU Bus Units can be connected 2-1-2 CP1W-CIF01 RS-232C Option Boards RS-232C Option Boards can be mounted to Option Board slots 1 or 2 on the CPU Unit. When mounting an Option Board, first remove the slot cover. Grasp both of the cover's up/down lock levers at the same time to unlock the cover, and then pull the cover out.
  • Page 78: Cp1W-Cif11 Rs-422A/485 Option Boards

    CPU Unit. When mounting an Option Board, first remove the slot cover. Grasp both of the cover's up/down lock levers at the same time to unlock the cover, and then pull the cover out. Then to mount the Option Board, check the alignment and firmly press it in until it snaps into place.
  • Page 79: Specifications

    (2) To disable the echo-back function, set pin 5 to ON (RS control enabled). (3) When connecting to a device on the N side in a 1: N connection with the 4-wire method, set pin 6 to ON (RS control enabled).
  • Page 80 590 g max. 560 g max. Note The above values are for a cold start at room temperature for an AC power supply, and for a cold start for a DC power supply. • A thermistor (with low-temperature current suppression characteristics) is used in the inrush current control circuitry for the AC power supply.
  • Page 81 Expansion I/O Unit 7 Units) Number of connectable CJ-series 2 Units Units (CPU Bus Units or Special I/O Units only. Basic I/O Units cannot be used. A CP1W- EXT01CJ Unit Adapter is required.) Built-in Normal I/O 40 terminals 20 (12 inputs and 8 outputs)
  • Page 82 2-digit 7-segment LED display (red) • At startup: The Unit version is displayed. • When a CPU Unit error occurs: The error code and error details are displayed in order (fatal error, non-fatal error). • When a special instruction is executed: The DISPLAY 7-SEGMENT LED WORD...
  • Page 83: I/O Memory Details

    15,360 bits (960 words): CIO 2000.00 to CIO 2959.15 (words CIO 2000 to CIO 2959) I/O Unit Area Serial PLC Link Area 1,440 bits (90 words): CIO 3100.00 to CIO 3189.15 (words CIO 3100 to CIO 3189) DeviceNet Area 9,600 bits (600 words): CIO 3200.00 to CIO 3799.15 (words CIO 3200 to CIO 3799) Work bits 4,800 bits (300 words): CIO 1200.00 to CIO 1499.15 (words CIO 1200 to CIO 1499)
  • Page 84: I/O Specifications For Xa And X Cpu Units

    DM Area 32 Kwords: D0 to D32767 Note Initial data can be transferred to the CPU Unit's built-in flash memory using the data memory initial data transfer function. A setting in the PLC Setup can be used so that the data in flash memory is transferred to RAM at startup.
  • Page 85 Section 2-2 Specifications Setting Input Functions in Functions for the normal input terminals in the built-in inputs can be individu- the PLC Setup ally allocated by making selections in the PLC Setup. Input Input operation High-speed counter Origin search function...
  • Page 86: Input Specifications

    Input bits: CIO 1.04 to CIO 1.11 Input LED Internal 4.7 k circuits Inputs CIO 0.00 to CIO 0.11 and CIO 1.00 to CIO 1.11 can be used not only as normal inputs but also as high-speed counter, interrupt, or quick-response inputs.
  • Page 87 Up/down input mode Differential phase mode 20.0 s min. 10.0 s min. 2.5 s 2.5 s min. min. Input bits: CIO 0.00 to CIO 0.03 and CIO 1.00 to CIO 1.03 : 2.5 s min. 50 s 50 s min. min.
  • Page 88 Section 2-2 Specifications Interrupt Inputs and Input bits CIO 0.00 to CIO 0.03 and CIO 1.00 to CIO 1.03 can be used not Quick-response Inputs only as normal inputs but also as interrupt or quick-response inputs depend- ing on the settings in the PLC Setup.
  • Page 89: Output Specifications

    Internal circuits Maximum 250 VAC: 2 A 24 VDC: 2 A Under the worst conditions, the service life of output contacts is as shown above. The service life of relays is as shown in the following diagram as a guideline.
  • Page 90 CIO 101.02 to CIO 101.01 CIO 101.07 Max. switching capac- 4.5 to 30 VDC, 300 mA/output, 0.9 A/common, 3.6 A/Unit (See notes 2 and 3.) Min. switching capacity 4.5 to 30 VDC, 1 mA Leakage current 0.1 mA max. Residual voltage 0.6 V max.
  • Page 91 Common terminal current (A) Ambient temperature ( C) !Caution Do not connect a load to an output terminal or apply a voltage in excess of the maximum switching capacity. Pulse Outputs (CIO 100.00 to CIO 100.07) Item Specification Max.
  • Page 92: Built-In Analog I/O Specifications (Xa Cpu Units Only)

    Section 2-2 Specifications Note (1) The load for the above values is assumed to be the resistance load, and does not take into account the impedance for the connecting cable to the load. (2) Due to distortions in pulse waveforms resulting from connecting cable im- pedance, the pulse widths in actual operation may be smaller than the values shown above.
  • Page 93 4 inputs (4 words allocated) Input Sec- inputs tion Input signal 0 to 5 V, 1 to 5 V, 0 to 10 V, or 10 to 10 V 0 to 20 mA or 4 to 20 mA range Max. rated input 15 V...
  • Page 94: I/O Specifications For Y Cpu Units

    CIO 0 CIO 1 Normal input terminals Setting Input Functions in Functions for the normal input terminals in the built-in inputs can be individu- the PLC Setup ally allocated by making selections in the PLC Setup. Note High-speed counter terminals are line -river inputs, so they cannot be used as normal inputs.
  • Page 95 Normal input Pulse 0 origin proxim- ity input signal Note Set using the MSKS instruction in direct mode or counter mode. Input Specifications Special High-speed Counter Inputs Item High-speed counter inputs, phase A and High-speed counter inputs, phase Z...
  • Page 96 B0+/B0 B-phase pulse Direction input Decrement Normal input B1+/B1 input pulse input Z0+/Z0 Z-phase pulse input or hardware reset input (Can be used as ordi- Z1+/Z1 nary inputs when high-speed counter is not being used.)
  • Page 97 50 s min. min. Interrupt Inputs and The following inputs can be used not only as normal inputs but also as inter- Quick-response Inputs rupt or quick-response inputs depending on the settings in the PLC Setup. Input bit Interrupt inputs Quick-response inputs CIO 0.00...
  • Page 98 CIO 101 terminals Normal output terminals Setting Output Functions Pulses can be output from the normal output terminals in the built-in outputs by Instructions and PLC by executing pulse output instructions. Setup To use the ORIGIN SEARCH (ORG) instruction, all of the pulse output set- tings in the PLC Setup must be set.
  • Page 99 1 MHz Circuit configuration CWn+ CCWn+ CCWn !Caution Connect a load of 20 mA or less to the output load. Connecting a load exceeding 20 mA may cause the Unit to malfunction. Normal Outputs Item Specification CIO 100.04 to CIO 100.07 CIO 101.00 and...
  • Page 100 Common terminal current (A) Ambient temperature ( C) !Caution Do not connect a load to an output terminal or apply a voltage in excess of the maximum switching capacity. Pulse Outputs (CIO 100.04 to CIO 100.07) Item Specification Max.
  • Page 101: Cpm1A Expansion I/O Unit I/O Specifications

    CO M Note (1) This setting can be changed to 0, 0.5, 1/2, 4, 8, 16, or 32 ms in the PLC Setup. For the CPM1A-40EDR/EDT/EDT1, it is fixed at 16 ms. (2) Do not apply voltage in excess of the rated voltage to the input terminal...
  • Page 102 Section 2-2 Note Under the worst conditions, the service life of output contacts is as shown above. The service life of relays is as shown in the following diagram as a guideline. 120 VAC resistive load 24 VDC = 7 ms 120 VAC cos = 0.4...
  • Page 103 (2) If the ambient temperature is maintained below 50 C, up to 0.9 A/com- mon can be used. 50 55 ( C) Ambient temperature !Caution Do not connect a load to an output terminal or apply a voltage in excess of the maximum switching capacity.
  • Page 104: Cp1H Cpu Unit Operation

    • A CX-Programmer operation can be used to transfer DM Area initial values from RAM to the built-in flash memory. • The PLC Setup can be set so that DM Area initial values are trans- ferred from the built-in flash memory to RAM when the power supply...
  • Page 105 There can be up to 32 cyclic tasks and up to 256 interrupt tasks. Cyclic tasks are executed in the order of the task numbers.
  • Page 106 PLC to remote PLCs connected on other networks must be regis- tered in all the CPU Units in network PLCs to send and receive data between networks. These tables are called the routing tables. The routing tables con- sist of the relay network table and local network table.
  • Page 107 CX-Programmer or PT is used to transfer or edit data, edit the program online, or transfer data from a Memory Cassette.
  • Page 108: Flash Memory Data Transfers

    This data is automatically transferred from RAM to flash mem- parameter data ory when a project is transferred from the CX-Programmer, when the data is written to RAM from a PT or other external device, or when the data is transferred from a Memory Cas- sette.
  • Page 109 User program and This data is automatically read to RAM when power is turned parameter data DM Area data Reading this data when power is turned ON can be enabled or disabled in the PLC Setup. Comment memory Not read.
  • Page 110: Memory Cassette Data Transfers

    Memory Cassette Data Transfers Writing to a Memory Cassette Data Method Source User program and Data is written to a Memory Data in the built-in flash mem- parameter data Cassette using write opera- ory is written to the Memory tions from the CX-Program- Cassette.
  • Page 111 DM Area data originally from RAM is trans- ferred to RAM. CPU Unit Power turned ON with SW2 turned ON Built-in flash memory Memory Cassette User program User program User program...
  • Page 112: Cpu Unit Operation

    CPU Unit Operation 2-4-1 General Flow The following flowchart shows the overall operation of the CPU Unit. First the user program is executed and then I/O is refreshed and peripheral servicing is performed. These processes are then repeated in cyclic fashion.
  • Page 113: I/O Refreshing And Peripheral Servicing

    CPM1A Expansion I/O Units and I/O words in the CIO Area • Refreshing between CJ-series Special I/O Units and CJ-series CPU Bus Units and the words allocated to these in the CIO Area (and for CPU Bus Units, words allocated in the DM Area) All I/O refreshing is performed in the same cycle (i.e., time slicing is not used).
  • Page 114: I/O Refresh Methods

    CJ-series Special I/O Unit, CJ-series CPU Bus Unit, USB port, serial port, and communications port servicing is allocated 4% of the previous cycle time by default (the default can be changed) for each service. If servicing is sepa- rated over many cycles, delaying completion of the servicing, set the same allocated time (same time for all services) rather than a percentage under execute time settings in the PLC Setup.
  • Page 115 Note IORF(097) has a relatively long execution time which increases with the num- ber of words being refreshed. Be sure to consider the affect of this time on the overall cycle time. Refer to the CP Series CP1H Programmable Controllers...
  • Page 116: Initialization At Startup

    • Restore the user program. (See note 3.) Note (1) The I/O memory is held or cleared according to the status of the IOM Host Bit and the setting for IOM Hold Bit Status at Startup in the PLC Setup (read only when power is turned ON).
  • Page 117: Cpu Unit Operating Modes

    • Any task that has not yet been executed, will be in disabled status (INI). Executed if inter- rupt condition is • A task will go to READY status if the task is set to go to READY status at star- met. tup or the TASK ON (TKON) instruction has been executed for it.
  • Page 118: Operating Mode Changes And I/O Memory

    MONITOR to RUN Note 1. The following processing is performed if the I/O Memory Hold Bit is ON. Outputs from Output Units will be turned OFF when operation stops even if I/O bit status is held in the CPU Unit.
  • Page 119: Power Off Operation

    85% or less to return to 85% or higher is less than 10 ms for AC power or the time it takes the rated voltage at 90% or less to return to 90% or higher is less than 2 ms for DC power.
  • Page 120: Description Of Operation

    CPU reset signal Power OFF detection time: The time from when the power supply voltages drops to 85% or less of the rated voltage for AC power or 90% for DC power until the power OFF condition is detected. Holding time for 5 V internal power supply after power OFF detection: The maximum time that the 5 V internal power supply voltage will be maintained after the power OFF condition is detected.
  • Page 121: Computing The Cycle Time

    Computing the Cycle Time Computing the Cycle Time 2-7-1 CPU Unit Operation Flowchart The CPU Unit processes data in repeating cycles from the overseeing pro- cessing up to peripheral servicing as shown in the following diagram. Power ON Checks Unit connection status.
  • Page 122: Cycle Time Overview

    • Fixed peripheral servicing time in the PLC Setup Note 1. The cycle time is not affected by the number of tasks that are used in the user program. The tasks that affect the cycle time are those cyclic tasks that are READY in the cycle.
  • Page 123 Details Processing time and fluctuation cause Services events for CJ-series Special I/O If a uniform peripheral servicing time hasn’t been set in the PLC Setup for Units. this servicing, 4% of the previous cycle’s cycle time (calculated in step (3)) will be allowed for peripheral servicing.
  • Page 124: Minimum Cycle Time

    Minimum Cycle Time Set the minimum cycle time to a non-zero value to eliminate inconsistencies in I/O responses. A minimum cycle time can be set in the PLC Setup between 1 and 32,000 ms in 1-ms increments. Minimum cycle time...
  • Page 125: I/O Refresh Times For Plc Units

    32-bit binary (0 to FFFF FFFF, or 0 to 429,496,729.5 ms). (A265 is the leftmost word.) The average cycle time for the past eight cycles can be read from the CX-Pro- grammer. Note The following methods are effective in reducing the cycle time.
  • Page 126: Cycle Time Calculation Example

    When pulse output ports 2 and 3 are used, the cycle time increases in propor- tion to the output frequency. Cycle time rate of increase (%) from pulse output ports 2 and 3 = Output fre- quency (kHz) 0.1.
  • Page 127: Online Editing Cycle Time Extension

    Online Editing Cycle Time Extension When online editing is executed to change the program from the CX-Program- mer while the CPU Unit is operating in MONITOR mode, the CPU Unit will momentarily suspend operation while the program is being changed. The period of time that the cycle time is extended is determined by the following conditions.
  • Page 128: I/O Response Time

    The I/O response time is the time it takes from when an input turns ON, the data is recognized by the CPU Unit, and the user program is executed, up to the time for the result to be output to an output terminal. The length of the I/O response time depends on the following conditions.
  • Page 129: Interrupt Response Times

    0.1 ms Cycle time 20 ms Minimum I/O response time = 1 ms + 20 ms + 0.1 ms = 21.1 ms Maximum I/O response time = 1 ms + (20 ms 2) + 0.1 ms = 41.1 ms Input Response Input response times can be set in the PLC Setup.
  • Page 130 1 ms max. There is also an error of 80 s in the time to the first scheduled interrupt (0.5 ms min.). Note Scheduled interrupt tasks can be executed during execution of the user pro- gram (even while an instruction is being executed by stopping the execution of an instruction), I/O refresh, peripheral servicing, or overseeing.
  • Page 131: Serial Plc Link Response Performance

    The response times for CPU Units connected via a Serial PLC Link (master to slave or slave to master) can be calculated as shown below. If a PT is in the Serial PLC Link, however, the amount of communications data will not be fixed and the values will change.
  • Page 132: 2-7-11 Pulse Output Change Response Time

    PLS2: triangular 76 s 2-7-11 Pulse Output Change Response Time The pulse output change response time is the time for any change made by executing an instruction during pulse output to actually affect the pulse output operation. Pulse output instruction...
  • Page 133 Section 2-7 Computing the Cycle Time...
  • Page 134: Installation And Wiring

    Mounting in a Panel ........
  • Page 135: Fail-Safe Circuits

    When a fatal error occurs, all outputs from Output Units will be turned OFF even if the IOM Hold Bit has been turned ON to protect the contents of I/O memory. (When the IOM Hold Bit is ON, the outputs will retain their previous status after the PLC has been switched from RUN/MONITOR mode to PRO- GRAM mode.)
  • Page 136: Installation Precautions

    Panels Temperature Control The ambient temperature within the enclosure must be within the operating range of 0 C to 55 C. When necessary, take the following steps to maintain the proper temperature. • Provide enough space for good air flow.
  • Page 137 Maintenance • The PLC will be easiest to install and operate if it is mounted at a height of about 1,000 to 1,600 mm. !Caution Do not touch the power supply or the area around the I/O terminals while power is being supplied or immediately after power has been turned OFF.
  • Page 138: Mounting

    DIN Track installation. Surface Installation Even if a DIN Track is not used, a CP1H CPU Unit and CPM1A Expansion Units or Expansion I/O Units can be mounted using M4 screws. For restric- tions on the number of Expansion Units and Expansion I/O Units that can be connected, refer to 1-2 System Configuration.
  • Page 139 Section 3-3 Mounting DIN Track Installation CJ-series Special I/O Units or CPU Bus Units must be mounted to a DIN Track, along with the CP1H CPU Unit. Secure the DIN Track with screws in at least three places. CJ1W-TER01 CP1W-EXT01...
  • Page 140 Wiring Ducts Whenever possible, route I/O wiring through wiring ducts. Install the duct so that it is easy to wire from the I/O Units through the duct. It is handy to have the duct at the same height as the Racks.
  • Page 141 Mounting 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.
  • Page 142: Connecting Cpm1A Expansion Units And Expansion I/O Units

    Mounting Dimensions 140 0.5 100 0.2 Four, M4 For the dimensions of Units other than CP1H CPU Units, refer to Appendix B Dimensions Diagrams. Mounting Height The mounting height is approximately 90 mm. When a cable is connected to an Option Board, however, the additional height must be factored in.
  • Page 143 10 mm min. 25 mm max. 15 mm max. 1,2,3... 1. Remove the cover from the CPU Unit's or the Expansion I/O Unit's expan- sion connector. Use a flat-blade screwdriver to remove the cover from the Expansion I/O Connector. Expansion connector cover 2.
  • Page 144: Connecting Cj-Series Units

    Connect an End Cover to the Unit on the end on the right. 1,2,3... 1. After the CPU Unit has been mounted to the DIN Track, mount a CJ Adapt- PFP-M End Plate DIN Track...
  • Page 145: Din Track Installation

    3. Attach the End Cover to the Unit on the far right side of the Rack. Note Attach the End Cover to the Unit on the far right side of the Rack. An I/O bus error will occur and CP1H CPU Unit will not operate in either RUN or MONI- TOR mode if the End Cover is not connected.
  • Page 146 Section 3-3 Mounting 2. Lower the Units so that they catch on the top of the DIN Track, and then press them forward all the way to the DIN Track at the bottom. 3. Press in all of the DIN Track mounting pins to securely lock the Units in place.
  • Page 147: Wiring Cp1H Cpu Units

    Wiring CP1H CPU Units Note (1) Do not remove the protective label from the top of the Unit until wiring has been completed. This label prevents wire strands and other foreign mat- ter from entering the Unit during wiring procedures.
  • Page 148: Wiring Power Supply And Ground Lines

    GR: Protective ground terminal Ground (100 or less) • Wire a separate circuit for the power supply circuit so that there is no volt- age drop from the inrush current that flows when other equipment is turned ON. • When several CP1H PLCs are being used, it is recommended to wire the PLCs on separate circuits to prevent a voltage drop from the inrush cur- rent or incorrect operation of the circuit breaker.
  • Page 149 100 or less. • Do not connect ground lines to other devices or to the frame of a building. Doing so will reverse the effectiveness of the ground and instead have a bad influence.
  • Page 150: Wiring Built-In I/O

    For the DC power supply connected to a DC-power-supply CPU Unit, use a power supply with a minimum output holding time of 10 ms. (4) Do not pull on the cables or bend the cables beyond their natural limit. Do- ing either of these may break the cables.
  • Page 151 Section 3-4 Wiring CP1H CPU Units Connecting I/O Use the following information for reference when selecting or connecting input Devices devices. DC Input Devices Connectable DC Input Devices (for DC Output Models) Contact output CP1H Two-wire DC output CP1H Sensor...
  • Page 152 Wiring CP1H CPU Units Section 3-4 • The circuit below should not be used for I/O devices with a voltage output. Sensor power supply Output CP1H Precautions when When using a two-wire sensor with a 24-V DC input device, check that the fol- Connecting a Two-wire DC lowing conditions have been met.
  • Page 153 0.00 and a 100-ms timer delay (the time required for an OMRON Proximity Sensor to stabilize) is created in the program. After the Completion Flag for the timer turns ON, the sensor input on input bit CIO 0.01 will cause output bit CIO 100.00 to turn ON.
  • Page 154: Wiring Safety And Noise Controls

    In-floor duct Conduits Suspended duct If the I/O wiring and power wiring must be routed in the same duct, use shielded cables and connect the shields to the GR terminal to reduce noise. Inductive Loads When an inductive load is connected to an I/O Unit, connect a surge suppres- sor or diode in parallel with the load as shown below.
  • Page 155: Wiring Methods

    Power cables Power lines Ground to 100 or less • If the I/O wiring and power cables must be placed in the same duct, they must be shielded from each other using grounded steel sheet metal. PLC power supply cable...
  • Page 156 Lower Terminal Block CP1H-X40DT1-D CIO 100 CIO 101 (Sourcing Transistor Output) NC 00 01 03 COM COM COM COM CIO 100 CIO 101 To use as pulse outputs, make the setting under Pulse Output 0 to 3 in the PLC Setup.
  • Page 157: Example I/O Wiring For Y Cpu Units

    Setup. Set the high-speed counters to be used under Enable using the high- speed counters with Built-in Input - High Speed Counter 2 and 3 - Use high speed counter 2 and 3. For details on high-speed counter inputs, refer to 2-2- 5 I/O Specifications for Y CPU Units.
  • Page 158: Pulse Input Connection Examples

    Section 3-5 3-5-3 Pulse Input Connection Examples For a 24-VDC Open- This example shows the connections to an encoder with phase-A, phase-B, collector Encoder and phase Z inputs. CP1H CPU Unit (X or Y CPU Unit) (Differential phase input mode)
  • Page 159: Pulse Output Connection Examples

    This example shows a connection to a motor driver. Always check the specifi- cations of the motor driver before actually connecting it. For open-collector output, use a maximum of 3 m of wiring between the CP1H CPU Unit and the motor driver.
  • Page 160 In this example, a 5-V input motor driver is used with a 24-VDC power supply. Be careful to ensure that the Position Control Unit output current does not damage the input circuit at the motor driver and yet is sufficient to turn it ON. Take into account the power derating for the 1.6-k...
  • Page 161: Wiring Built-In Analog I/O (Xa Cpu Units Only)

    The values inside the parentheses are for using pulse and direction outputs. 3-5-5 Wiring Built-in Analog I/O (XA CPU Units Only) XA CPU Units come with an analog I/O terminal block. To use the analog I/O, first set the voltage/current input switch and then mount the terminal block. XA CPU Unit...
  • Page 162 (1) When using a current input, turn ON voltage/current input switch pins IN1 to IN4, and make the suitable setting in the PLC Setup. (2) For any inputs that are not to be used, set them to not be used by clearing the selection of the Use checkbox.
  • Page 163 Section 3-5 Wiring Methods circuiting the plus and minus terminals. If the range is set for 1 to 5 V and 4 to 20 mA, however, the Open-circuit Detection Flag will turn ON when the plus and minus terminals are short-circuited.
  • Page 164: Cpm1A Expansion I/O Unit Wiring

    CPM1A Expansion I/O Unit Wiring I/O Wiring Precautions To enable using the analog I/O under optimal conditions, be careful of the fol- lowing points for noise reduction. • Use 2-conductor shielded twisted-pair cable for the I/O wiring, and do not connect the shield.
  • Page 165 Section 3-6 CPM1A Expansion I/O Unit Wiring Output Wiring CPM1A-40EDR (Relay Output) NC COM COM COM 03 COM 06 COM COM 06 250 VAC 24 VDC CPM1A-40EDT (Sinking Transistor Output) NC COM COM COM 03 COM 06 COM COM 06 4.5 to...
  • Page 166 CPM1A Expansion I/O Unit Wiring 20-point I/O Units (CPM1A-20ED@@) Input Wiring CIO m+1 24 VDC COM 01 CIO m+1 Output Wiring CPM1A-20EDR1 (Relay Output) COM COM COM 03 COM 06 250 VAC 24 VDC CPM1A-20EDT (Sinking Transistor Output) COM COM COM 03 COM 06...
  • Page 167 Input Wiring Unit Upper Terminal Block Unit Lower Terminal Block 24 VDC COM 01 The Unit's upper terminal block COM and lower terminal block COM are connected internally, but connect them externally as well. 24 VDC 8-point Output Units (CPM1A-8E@)
  • Page 168 Section 3-6 CPM1A Expansion I/O Unit Wiring CPM1A-8ET (Sinking Transistor Output) Output Wiring Unit Upper Terminal Block Unit Lower Terminal Block 4.5 to 30 VDC 4.5 to 30 VDC CPM1A-8ET1 (Sourcing Transistor Output) Output Wiring Unit Upper Terminal Block Unit Lower Terminal Block 4.5 to...
  • Page 169 Section 3-6 CPM1A Expansion I/O Unit Wiring...
  • Page 170: I/O Memory Allocation

    Overview of I/O Memory Area........
  • Page 171: Overview Of I/O Memory Area

    4-1-1 I/O Memory Area This region of memory contains the data areas that can be accessed as instruction operands. I/O memory includes the CIO Area, Work Area, Holding Area, Auxiliary Area, DM Area, Timer Area, Counter Area, Task Flag Area, Data Registers, Index Registers, Condition Flag Area, and Clock Pulse Area.
  • Page 172 3. Index registers and data registers can be used either individually by task or they can be shared by all the tasks (the default is individual use by task). 4. Timer PVs can be refreshed indirectly by force-setting/resetting the Timer Completion Flags.
  • Page 173: Overview Of The Data Areas

    Units. Words that aren’t used in data links may be used in programming. Data Link Area These words are used when the Controller Link auto-setting area is set to the link area or for PLC links. Words that aren’t used in data links may be used in programming.
  • Page 174 Work Area before using words in the Internal I/O Area or other unused words in the CIO Area. It is possible that these words will be assigned to new functions in future versions of the CPU Units. The parts of the CIO Area that are labelled “Not used”...
  • Page 175 Overview of I/O Memory Area Section 4-1 Note H512 to H1535 are used as a Function Block Holding Area. These words can be used only for function block instances (internally allocated variable area). These words cannot be specified as instruction operands in the user program.
  • Page 176 Section 4-1 Overview of I/O Memory Area Timer PVs The PVs are read and written as words (16 bits). The PVs count up or down as the timer operates. Counter Area (C) There are two parts to the Counter Area: the Counter Completion Flags and the Counter Present Values (PVs).
  • Page 177: Clearing And Holding I/O Memory

    Hot Start/Hot Stop Functions Operating Mode Changes Hot Start Turn ON the IOM Hold Bit to retain all data* in I/O memory when the CPU Unit is switched from PROGRAM mode to RUN/MONITOR mode to start program execution. I/O memory...
  • Page 178 PLC Power ON In order for all data* in I/O memory to be retained when the PLC is turned ON, the IOM Hold Bit must be ON and it must be protected in the PLC Setup using the IOM Hold Bit Status at Startup parameter.
  • Page 179: I/O Area And I/O Allocations

    The starting words for inputs and outputs are predetermined for CP1H CPU Unit. Input bits in CIO 0 and CIO 1 and output bits in CIO 100 and CIO 101 are automatically allocated to the built-in I/O on the CPU Unit. CPM1A Expan-...
  • Page 180: Allocations To Built-In General Purpose I/O On The Cpu Unit

    For X and XA CPU Units, a total of 24 input bits are allocated: 12 bits in CIO 0 from bit 00 to bit 11 and 12 bits in CIO 1 from bit 00 to bit 11. Bits 12 to 15 in CIO 0 and CIO 1 are always cleared and cannot be used as work bits.
  • Page 181: Allocations To Cp1H Y Cpu Units (12 Inputs/8 Outputs)

    Allocation area for 12-input or 24-input Unit As shown above, a total of 12 input bits in CIO 0 and CIO 1 are allocated for the Y CPU Unit. Unused bits in CIO 0 and CIO 1 are always cleared and can- not be used as work bits.
  • Page 182 Two input words (24 bits) and two output words (16 bits) are allocated to a 40- point Expansion I/O Unit, just as for X and XA CPU Units. Input bits 12 to 15 are always cleared and cannot be used as work bits. Output bits 08 to 15, however, can be used as work bits.
  • Page 183: Expansion Units

    None CIO 11.00 to CIO 11.07 CIO 8 CIO 10 CIO 106.00 to CIO 106.07 None None None If there is a Unit that does not use input or output words, the words are allo- cated to the next Unit.
  • Page 184: Built-In Analog I/O Area (Xa Cpu Units Only)

    None None A total of up to seven Expansion Units and Expansion I/O Units can be con- nected. Four input words, however, are allocated to one TS002/TS102 Unit. Therefore, a maximum of three TS002/TS102 Units can be connected due to the input word limit.
  • Page 185: Data Link Area

    PROGRAM and RUN or MONITOR mode when the built-in analog output is being used and the I/O Memory Hold Bit is set to ON to retain analog values output externally, the values will change; the analog values out- put externally will not be retained while Memory Cassette data is being trans- ferred or verified.
  • Page 186: Cpu Bus Unit Area

    The CPU Bus Unit Area contains 400 words with addresses ranging from CIO 1500 to CIO 1899. Words in the CPU Bus Unit Area can be allocated to CPU Bus Units to transfer data such as the operating status of the Unit. Each Unit is allocated 25 words based on the Unit’s unit number setting.
  • Page 187: Special I/O Unit Area

    1. When the operating mode is changed from PROGRAM to RUN or MONI- TOR mode or vice-versa and the IOM Hold Bit is OFF 2. When the power is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup 3.
  • Page 188: Serial Plc Link Area

    Serial PLC Link Area The Serial PLC Link Area contains 90 words with addresses ranging from CIO 3100 to CIO 3189 (bits CIO 3100.00 to CIO 3189.15). Words in the Serial PLC Link Area can be used for data links with other PLCs.
  • Page 189: Devicenet Area

    • With user-set allocations, the user can allocate words to Slaves from the following words. CIO 0 to CIO 235, CIO 300 to CIO 0511, CIO 1000 to CIO 1063 W0 to W511 H0 to H511...
  • Page 190: Internal I/O Area

    Note 1. If a Holding Area bit is not used for the self-maintaining bit, the bit will be turned OFF and the self-maintaining bit will be cleared when the power is...
  • Page 191: Auxiliary Area (A)

    H1.00 Unit Reset input There are no restrictions in the order of using bit address or in the number of N.C. or N.O. conditions that can be programmed. 4-11 Auxiliary Area (A) The Auxiliary Area contains 960 words with addresses ranging from A0 to A959).
  • Page 192: 4-12 Tr (Temporary Relay) Area

    The TR bits can be used as many times as required and in any order required as long as the same TR bit is not used twice in the same instruction block.
  • Page 193: 4-13 Timers And Counters

    MONITOR mode or vice-versa. The PV and Completion Flag will be cleared when power is cycled. 2. If the IOM Hold Bit (A50012) is ON and the PLC Setup’s IOM Hold Bit Sta- tus at Startup setting is set to protect the IOM Hold Bit, the PV and Com- pletion Flag will be retained when the PLC’s power is cycled.
  • Page 194: Counter Area (C)

    JMP and JME instructions or when in a task that is on standby. The present value of timers programmed with timer numbers 2048 to 4095 will be held when jumped or when in a task that is on standby.
  • Page 195: Data Memory Area (D)

    D32767. This data area is used for general data storage and manipulation and is accessible only by word. Data in the DM Area is retained when the PLC’s power is cycled or the PLC’s operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
  • Page 196 When a “*” character is input before a DM address, the content of that DM word is treated as BCD and the instruction will operate on the DM word at that BCD address. Only part of the DM Area (D0 to D09999) can be indirectly addressed with BCD values 0000 to 9999.
  • Page 197: 4-15 Index Registers

    Index Registers CPU Bus Units (D30000 to D31599) Each CPU Bus Unit is allocated 100 words (based on unit numbers 0 to F). Refer to the Unit’s operation manual for details on the function of these words. With some CPU Bus Units such as Ethernet Units, initial settings must be reg- istered in the CPU Unit’s Parameter Area;...
  • Page 198 MOVR(560) or MOVRW(561). Note It is possible to specify regions outside of I/O memory and generate an Illegal Access Error when indirectly addressing memory with Index Registers. Refer to Appendix E Memory Map for details on the limits of PLC memory addresses.
  • Page 199 ,IR2 +5 , IR2 When the operand is treated as a bit, the leftmost 7 digits of the Index Reg- ister specify the word address and the rightmost digit specifies the bit num- ber. In this example, MOVR(560) sets the PLC memory address of CIO 13 (0C000D hex) in IR2.
  • Page 200: 4-15-1 Using Index Registers

    The SRCH(181), MAX(182), and MIN(183) instructions can output the PLC memory address of the word with the desired value (search value, maximum, or minimum) to IR0. In this case, IR0 can be used in later instructions to access the contents of that word.
  • Page 201 If, for example, instruction A above is a comparison instruction, table data could be read from start to the end of the table to compare all of the data with a specific value. In this way, blocks of user-defined processing can be freely created depending by applying Index Registers.
  • Page 202: Precautions For Using Index Registers

    Each Index Register task is processed independently, so they do not affect each other. For example, IR0 used in Task 1 and IR0 used in Task 2 are differ- ent. Consequently, each Index Register task has 16 Index Registers.
  • Page 203 FINS commands, write a program to store Index Register values from each task to another area (e.g., DM area) at the end of each task, and to read Index Register values from the storage words (e.g., DM area) at the beginning of each task.
  • Page 204: 4-16 Data Registers

    Index Registers when addressing words indirectly. The value in a Data Register can be added to the PLC memory address in an Index Register to specify the absolute memory address of a bit or word in I/O memory.
  • Page 205 1. When the operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa and the IOM Hold Bit is OFF 2. When the power is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup IOM Hold Bit Operation If the IOM Hold Bit (A500.12) is ON, the Data Registers won’t be cleared...
  • Page 206: 4-17 Task Flags

    Note The CX-Programmer treats condition flags as global symbols beginning with All Condition Flags are cleared when the program switches tasks, so the sta- tus of the ER and AER flags are maintained only in the task in which the error occurred.
  • Page 207 Turned ON when there is a carry in the result of an arithmetic opera- tion or a “1” is shifted to the Carry Flag by a Data Shift instruction. The Carry Flag is part of the result of some Data Shift and Symbol Math instructions.
  • Page 208: 4-19 Clock Pulses

    Flag status (CCS(282) and CCL(283)). These can be used to access the sta- tus of the Condition Flags at other locations in a task or in a different task. The following example shows how the Equals Flag is used at a different loca- tion in the same task.
  • Page 209 The Clock Pulses are read-only; they cannot be overwritten from instructions or the CX-Programmer. The Clock Pulses are cleared at the start of operation. Using the Clock Pulses The following example turns CIO 100.00 ON and OFF at 0.5 s intervals. 100.00 Instruction Operand 100.00...
  • Page 210: Basic Cp1H Functions

    External Interrupts ........
  • Page 211: Interrupt Functions

    This function executes an interrupt task at a fixed time interval measured by the CPU Unit’s built-in timer. The time interval units can be set to 10 ms, 1 ms, or 0.1 ms. The minimum timer SV is 0.5 ms.
  • Page 212 Creating an Interrupt Task Program 1,2,3... 1. Select NewPLC1 [CP1H] Offline in the project workspace, right-click, and select Insert Program in the pop-up menu. A new program called NewProgram2 (unassigned) will be inserted in the project workspace. 2. Right-click NewProgram2 (unassigned) and select Properties from the pop-up menu to display the Program Properties Window.
  • Page 213 Section 5-1 Interrupt Functions If you click the X Button in the upper-right corner of the window, you can cre- ate the program that will be executed as interrupt task 140. The programs allocated to each task are independent and an END(001) instruction must be input at the end of each program.
  • Page 214 The interrupt occurs during processing of the +B instruction and the result is saved temporarily without being written to the destination word (D0). The interrupt task transfers the value of #0010 to D0, but the saved result of the +B instruction (1235) is written to D0 when processing returns to the cyclic task.
  • Page 215: Input Interrupts (Direct Mode)

    The following diagrams show the input bits and terminals that are used for the Terminal Allocations input interrupt function in each CPU Unit. X/XA CPU Units The 8 input bits CIO 0.00 to CIO 0.03 and CIO 1.00 to CIO 1.03 can be used for input interrupts.
  • Page 216 Interrupt task 147 04 to 11 Normal inputs 16 to 23 --- Y CPU Units The 6 input bits CIO 0.00 to CIO 0.01 and CIO 1.00 to CIO 1.03 can be used for input interrupts. Input Terminal Arrangement Input...
  • Page 217 Interrupt Functions Setting the Input Functions in the PLC Setup Normally, bits CIO 0.00 to CIO 0.01 and CIO 1.00 to CIO 1.03 are used as normal inputs. When using these inputs for input interrupts, use the CX-Pro- grammer to change the input’s setting in the PLC Setup.
  • Page 218 Interrupt Functions PLC Setup Click the Built-in Input Tab to display the Interrupt Input settings (at the bottom of the tab). Set the input function to Interrupt for each input that will be used as an input interrupt. Note (1) Interrupt Input settings IN0 to IN7 correspond to input interrupt numbers 0 to 7.
  • Page 219 1,2,3... 1. Connect an input device to input 0.00. 2. Use the CX-Programmer to set input 0 as an input interrupt in the PLC Set- 3. Use the CX-Programmer to create the program to use for interrupt pro- cessing and allocate the program to interrupt task 140.
  • Page 220: Input Interrupts (Counter Mode)

    Refer to 5-1-2 Input Interrupts (Direct Mode) for details. • The counter input mode can be set to up or down (incrementing or decre- menting) with MSKS(690). • The counter-mode input interrupts start the same interrupt tasks (140 to 147) as the direct-mode input interrupts.
  • Page 221 Note The input interrupt (counter mode) function is one of the input interrupt func- tions and executes an interrupt based on the pulse count. If the input pulse frequency is too high, interrupts will occur too frequently and prevent normal cyclic task processing.
  • Page 222 Settings 1,2,3... 1. Connect an input device to input 0.00. 2. Use the CX-Programmer to set input 0.01 as an input interrupt in the PLC Setup. 3. Use the CX-Programmer to create the program to use for interrupt pro- cessing and allocate the program to interrupt task 141.
  • Page 223: Scheduled Interrupts

    Section 5-1 Interrupt Functions When CIO 0.01 goes from OFF to ON 200 times, processing of the cyclic task that is currently being executed will be interrupted and processing of interrupt task 141 will start. When the interrupt task processing is completed, process- ing of the interrupted ladder program will restart.
  • Page 224 Scheduled Interrupt Interval Setting Note (1) Set a scheduled interrupt time (interval) that is longer than the time re- quired to execute the corresponding interrupt task. (2) If the scheduled time interval is too short, the scheduled interrupt task will be executed too frequently, which may cause a long cycle time and ad- versely affect the cyclic task processing.
  • Page 225 0.5 to 999.9 ms 4: Start without reset Writing the Scheduled Create the program for interrupt task 2 (scheduled interrupt 0), which is exe- Interrupt Task’s Program cuted by the input interrupt. Always put an END(001) instruction at the last address of the program.
  • Page 226: High-Speed Counter Interrupts

    2 5-1-5 High-speed Counter Interrupts This function executes the specified interrupt task (0 to 255) when the CP1H CPU Unit’s built-in high-speed counter PV matches a pre-registered value (target value comparison) or lies within a pre-registered range (range compar- ison).
  • Page 227 Section 5-1 Interrupt Functions PLC Setup Click the Built-in Input Tab to and set the high-speed counters that will be used for interrupts. PLC Setup Item Setting Use high speed counter 0 to 3 Use counter Counting mode Linear mode Circular mode (ring mode) Circular Max.
  • Page 228 The CPU Unit’s built-in inputs can be set for high-speed counter inputs in the PLC Setup’s Built-in Input Tab. (When an input is set for use as a high-speed counter input, the corresponding words and bits cannot be used for general- purpose (normal) inputs, input interrupts, or quick-response inputs.)
  • Page 229 The CPU Unit’s built-in inputs can be set for high-speed counter inputs in the PLC Setup’s Built-in Input Tab. (When an input is set for use as a high-speed counter input, the corresponding words and bits cannot be used for general- purpose (normal) inputs, input interrupts, or quick-response inputs.)
  • Page 230 For details, refer to 5-2 High-speed Counters. REGISTER CTBL(882) compares the PV of a high-speed counter (0 to 3) to target values COMPARISON TABLE or target value ranges and executes the corresponding interrupt task (0 to Instruction: 255) when the specified condition is met.
  • Page 231 The range comparison table requires a continuous block of 40 words because comparison conditions 1 to 8 require 5 words each (2 words for the upper range value, 2 words for the lower range value, and one word for the interrupt task number).
  • Page 232 Change the PV. #0003 Stop pulse output. First word of NV and NV+1 contain the new PV when C is set to #0002 new PV (change the PV). New PV Setting in NV and NV+1 New PV (rightmost 4 digits)
  • Page 233 Software reset (continue comparing) Input Setting Up/Down inputs 2. Set the range comparison table starting at word D20000. Even though range 1 is the only range being used, all 40 words must still be dedicated to the range comparison table. Word Setting...
  • Page 234 #0000 (Not used and don’t need to be set.) D20009 #FFFF Disables range 2. D20014 #FFFF Set the fifth word for ranges 3 to 7 (listed at left) to #FFFF to disable those ranges. D20019 D20024 D20029 D20034 D20035 to...
  • Page 235: High-Speed Counters

    An external interrupt task performs interrupt processing in the CPU Unit in response to an input from a CJ-series Special I/O Unit or CPU Bus Unit con- nected to the CPU Unit. The reception of these interrupts is always enabled.
  • Page 236: High-Speed Counter Specifications

    • The counting mode can be set to linear mode or circular (ring) mode. • The counter reset method can be set to Z phase signal + software reset, software reset, Z phase signal + software reset (continue comparing), or software reset (continue comparing).
  • Page 237 Count values Linear mode: 80000000 to 7FFFFFFF hex Ring mode: 00000000 to Ring SV (The Ring SV (Circular Max. Count) is set in the PLC Setup and the setting range is 00000001 to FFFFFFFF hex.) High-speed counter PV storage locations...
  • Page 238 PV will not be changed even if pulse inputs are received for the counter. Counter Input Modes Differential Phase Mode The differential phase mode uses two phase signals (phase A and phase B) (4x) and increments/decrements the count according to the status of these two signals.
  • Page 239 No change • Only up-differentiated pulses (rising edges) can be counted. Note The count of the high-speed counter can be monitored to see if it is currently being incremented or decremented. The count in the current cycle is com- pared with the count in the previous cycle to determine if it is being incre- mented or decremented.
  • Page 240 00000001 and FFFFFFFF hex. Restrictions • There are no negative values in ring mode. • If the max. ring count is set to 0 in the PLC Setup, the counter will operate with a max. ring count of FFFFFFFF hex. Reset Methods...
  • Page 241 Counter Reset Bit only at the beginning of the PLC cycle during the oversee- ing processes. Reset processing is performed at the same time. The OFF-to- ON transition will not be recognized if the Reset Bit goes OFF again within the same cycle.
  • Page 242: Procedure

    Procedure High-speed counters 0 to 3 on X/XA CPU Units and high-speed counters 2 and 3 on Y CPU Units: 24 VDC input, Response Select high-speed counter 0 to 3. frequency: 50 kHz for single-phase, 100 kHz for differential phase...
  • Page 243: Plc Setup

    High-speed Counters Section 5-2 5-2-4 PLC Setup The settings for high-speed counters 0 to 3 are located in the Built-in Input Tab of the CX-Programmer’s PLC Settings Window. Settings in the Built- in Input Tab Item Setting Use high speed counter 0 to 3 Use counter...
  • Page 244 The CPU Unit’s built-in inputs can be set for high-speed counter inputs in the PLC Setup’s Built-in Input Tab. (When an input is set for use as a high-speed counter input, the corresponding words and bits cannot be used for general- purpose (normal) inputs, input interrupts, or quick-response inputs.)
  • Page 245 The CPU Unit’s built-in inputs can be set for high-speed counter inputs in the PLC Setup’s Built-in Input Tab. (When an input is set for use as a high-speed counter input, the corresponding words and bits cannot be used for general- purpose (normal) inputs, input interrupts, or quick-response inputs.)
  • Page 246: Pulse Input Connection Examples

    Section 5-2 High-speed Counters 5-2-6 Pulse Input Connection Examples Encoders with 24 VDC Open-collector Outputs This example shows how to connect an encoder that has phase-A, phase-B, and phase-Z outputs. X/XA CPU Unit (Differential Input Mode) Phase A Black (High-speed counter 0: Phase A, 0 V)
  • Page 247: Ladder Program Example

    Counting Pulse Inputs • High-speed counter 0 is used. • When the edge of the workpiece is detected, the counter PV is reset by a phase-Z pulse. • The workpiece is passes inspection if the final count is between 30,000 and 30,300, otherwise the workpiece fails.
  • Page 248 10 and 11 Not used. (normal input) CIO 1 00 to 11 Not used. (normal input) Note The high-speed counter inputs are enabled when the Use high speed counter 0 Option is selected in the PLC Setup’s Built-in Input Tab. Output Terminals Output terminal Usage...
  • Page 249 Range Comparison Table Settings The inspection standards data is set in the DM Area with the CX-Programmer. Even though range 1 is the only range being used, all 40 words must still be dedicated to the range comparison table. Word...
  • Page 250: Additional Capabilities And Restrictions

    #0000 (Not used and don’t need to be set.) D10009 #FFFF Disables range 2. D10014 #FFFF Set the fifth word for ranges 3 to 7 (listed at left) to #FFFF to D10019 disable those ranges. D10024 D10029 D10034 D10035 to...
  • Page 251 The specified interrupt task will be executed when the high- speed counter PV matches the registered target value. • Up to 48 target values (between 1 and 48) can be registered in the com- parison table. • A different interrupt task can be registered for each target value.
  • Page 252 High-speed Counters Section 5-2 Set the target values so that they do not occur at the peak or trough of count value changes. Match Match Target value 1 Target value 1 Target value 2 Target value 2 Match Match not recognized.
  • Page 253 PV will be refreshed. Restrictions • The Gate Bit will be disabled if the high-speed counter's reset method is set to Phase-Z signal + Software reset and the Reset Bit is ON (waiting for the phase-Z input to reset the counter PV.)
  • Page 254 The pulse frequency input to a high-speed counter can be converted to a rota- tional speed (r/min) or the PV of the counter can be converted to the total number of rotations. The converted value is output as 8-digit hexadecimal.
  • Page 255: Pulse Outputs

    Unit version 1.1 and later Pulse outputs 0, 1, 2, 3: 1 Hz to 100 kHz (Unit version 1.0 and earlier: Pulse outputs 0 and 1: 1 Hz to 100 kHz; pulse outputs 2 and 3: 1 Hz to 30 kHz) •...
  • Page 256 Use Variable Duty Factor Pulse Outputs for Lighting, Power Control, Etc. The PULSE WITH VARIABLE DUTY FACTOR instruction (PWM(891)) can be used to output variable duty factor pulses from the CPU Unit's built-in outputs for applications such as lighting and power control.
  • Page 257: Pulse Output Specifications

    X/XA CPU Units: Unit version 1.1 and later: Pulse outputs 0, 1, 2, 3: 1 Hz to 100 kHz (1 Hz units) Unit version 1.0 and earlier: Pulse outputs 0 and 1: 1 Hz to 100 kHz (1 Hz units)
  • Page 258 Section 5-3 Item Specifications Frequency acceleration and decel- Set in 1 Hz units for acceleration/deceleration rates from 1 Hz to 65,635 Hz (every 4 eration rates ms). The acceleration and deceleration rates can be set independently only with PLS2(887). Changing SVs during instruction...
  • Page 259: Pulse Output Terminal Allocations

    Section 5-3 Pulse Outputs 5-3-3 Pulse Output Terminal Allocations The following diagrams show the terminals that can be used for pulse outputs in each CPU Unit. X/XA CPU Units Output Terminal Block Arrangement Lower Terminal Block (Example: Transistor Outputs) Pulse output 0...
  • Page 260 Normal output 14 Normal output 15 Input Terminal Block Arrangement Upper Terminal Block (Example: AC Power Supply Models) Pulse 0: Origin proximity input signal Pulse 1: Origin proximity input signal Pulse 2: Origin proximity input signal Pulse 3: Origin proximity input signal...
  • Page 261 Section 5-3 Pulse Outputs Setting Input Functions in the PLC Setup Input Input operation High-speed counters Origin search terminal block Word Normal inputs Interrupt inputs Quick-response High-speed counter Pulse output origin inputs operation enabled. (Use search function high speed counter @ enabled for pulse Option selected.)
  • Page 262 Pulse output 0 Pulse output 2 Pulse output 1 Pulse output 3 PWM output 0 Origin search 2 (Error counter reset output) CW0+ CCW0+ CW1+ CCW1+ CW0 CCW0 CW1 CCW1 Origin search 0 (Error counter reset output) CIO 100 CIO 101...
  • Page 263 Input Terminal Block Arrangement Pulse output 3: Origin proximity input signal Pulse output 2: Origin input signal Pulse output 0: Origin input signal (line driver) Upper Terminal Block Pulse output 0: Origin input signal (open collector) Dedicated high-speed counter terminals...
  • Page 264 (Use high speed counter @ search function Option selected.) enabled for pulse outputs 0 and 1. CIO 1 00 Normal input 6 Interrupt input 2 Quick-response High-speed counter 3 (phase-Z/reset) Pulse 3: Origin input input 2 signal Normal input 7 Interrupt input 3 Quick-response...
  • Page 265: Pulse Output Patterns

    Stop Error Codes A444 A445 A438 A439 5-3-4 Pulse Output Patterns The following tables show the kinds of pulse output operations that can be performed by combining various pulse output instructions. Continuous Mode (Speed Control) Starting a Pulse Output...
  • Page 266 •Port Pulse frequency speed speed smoothly quency from the SPED(885) •Continu- smoothly during operation present frequency (Continu- Target frequency at a fixed rate. The ous) Acceleration/ •Target fre- deceleration frequency can be rate quency accelerated or Present frequency ACC(888) decelerated.
  • Page 267 Section 5-3 Pulse Outputs Stopping a Pulse Output Operation Example Frequency changes Description Procedure application Instruction Settings Stop pulse Immediate Stops the pulse out- SPED(885) •Port Pulse frequency output stop put immediately. or ACC(888) •Stop (Continu- pulse out- Present frequency...
  • Page 268 Note Triangular Control If the specified number of pulses is less than the number required just to reach the target frequency and return to zero, the function will automatically reduce the acceleration/deceleration time and perform triangular control (acceleration and deceleration only.) An error will not occur.
  • Page 269 SPED(885) The target position Time (Indepen- •Port (specified number dent) of pulses) is not •“CW/ Execution of SPED(885) changed. CCW” or (independent mode) SPED(885) (independent “Pulse + mode) executed again to direction” change the target •Indepen-...
  • Page 270 •Accelera- eration rates. target posi- tion rate (The target position is not tion must be changed. The original tar- •Decelera- specified in get position is specified tion rate absolute again.) coordinates.
  • Page 271 Note When the Execution of CCW” or settings can- PLS2(887) ACC(888) executed to change the not be “Pulse + target frequency. (The target position is changed direction” not changed, but the acceleration/ without main- •Accelera- deceleration rates are changed.) taining the...
  • Page 272 Pulse Outputs Section 5-3 Stopping a Pulse Output Operation Example applica- Frequency changes Description Procedure tion Instruction Settings Stop pulse Immediate stop Stops the pulse out- PULS(886) •Stop output put immediately Pulse frequency pulse out- (Number of and clears the num-...
  • Page 273 The pulse output PV's coordinate system (absolute or relative) is selected Absolute Coordinates automatically, as follows: • When the origin is undetermined, the system operates in relative coordi- nates. • When the origin has been determined, the system operates in absolute coordinates.
  • Page 274 Section 5-3 Pulse Outputs Relationship between the The following table shows the pulse output operation for the four possible Coordinate System and combinations of the coordinate systems (absolute or relative) and the pulse Pulse Specification output (absolute or relative) specified when PULS(886) or PLS2(887) is exe- cuted.
  • Page 275 80000000 to 7FFFFFFF hex Operations Affecting the Origin Status (Established/Not Established Status) The following table shows the operations that can affect the origin status (ori- gin established or no-origin), such as changing the operating mode and exe- cuting certain instructions.
  • Page 276 Pulse outputs will stop when either the CW or CCW limit input signals turns ON. It is also possible to select whether or not the established origin will be cleared when a CW or CCW limit input signal turns ON for an origin search or other pulse output function.
  • Page 277 The same type of S-curve acceleration/deceleration can be used for ACC(888) as well. Note The curve for S-curve acceleration/deceleration is formed by applying a cubic equation to the straight line of the set acceleration/deceleration rates (a cubic polynomial approximation). The curve’s parameters cannot be changed.
  • Page 278 Pulse source clock frequency by an integer ratio. (The source clock frequency for ports 0 and 1 is 20 MHz and the frequency for ports 2 and 3 is 16.4 MHz.) Output Function Consequently, there may be a slight difference between the set frequency and the actual frequency, and that difference increases as the frequency increases.
  • Page 279 Equations Source clock frequency Actual frequency (kHz) = Dividing ratio (Clock frequency x 2) + Set frequency Dividing ratio = INT Set frequency (kHz) x 2 The INT function extracts an integer from the fraction. The non-integer remainder is rounded.
  • Page 280: Origin Search And Origin Return Functions

    2.998 to 2.999 2.999 5-3-5 Origin Search and Origin Return Functions The CP1H CPU Units have two functions that can be used to determine the machine origin for positioning. 1,2,3... 1. Origin Search The ORG instruction outputs pulses to turn the motor according to the pat- tern specified in the origin search parameters.
  • Page 281 The origin location can be determined after using either method. The CP1H CPU Units are also equipped with the origin return function, which can be executed to return the system to the origin after the origin location has been determined by one of the methods above.
  • Page 282 Specify the origin search operation by setting the third operand to 0000. Restrictions • The Phase-Z signal + Software reset method cannot be used for a high- speed counter when the origin search function has been enabled in the PLC Setup.
  • Page 283 Section 5-3 Pulse Outputs Limit Input Signal Setting Specify in the following PLC Setup whether to use the CW/CCW limit input signals only for origin searches or for all pulse output functions. These set- tings affect all pulse outputs. (This setting is called the Limited Input Signal Operation setting.)
  • Page 284 (0 to 9,999 ms) operation Note An origin search will not be started unless the origin search proximity speed is less than the origin search high speed and unless the origin search/return ini- tial speed is less than the origin search proximity speed.
  • Page 285 Note There are stepping motor drivers that are equipped with a positioning com- pleted signal like a Servo driver. Operating modes 1 and 2 can be used with these stepping motor drivers. Remarks: Operations Detecting the Origin During Deceleration from High...
  • Page 286 When the Origin Proximity Input Signal is received, the motor will begin decel- erating from the origin search high speed to the origin search proximity speed. In this operating mode, the motor will stop at the Origin Input Signal after deceleration is completed.
  • Page 287 Operating Mode 1 with Origin Proximity Input Signal Reverse (Origin Detection Method Setting = 0) When the deceleration time is short, the Origin Input Signal can be detected immediately after the Origin Proximity Input Signal goes from ON to OFF. Set a Origin Proximity Input Signal dog setting that is long enough (longer than the deceleration time.)
  • Page 288 This operating mode is the same as mode 1, except the Positioning Com- pleted Signal (INP) from the Servo Driver is used. Connect the Positioning Completed Signal from the Servo Driver to a normal input (origin search 0 to 3 input).
  • Page 289 Proximity speed for origin search Initial speed Start when Stop ORG(889) is executed. Origin Detection Method 1: Origin Proximity Input Signal Reversal Not Required Deceleration starts when Origin Proximity Input Signal goes OFF ON. Origin Proximity Input Signal After the Origin Proximity Input Signal has gone from OFF ON OFF, the motor is stopped when the Origin Input Signal goes OFF ON.
  • Page 290 Mode and Origin origin search operation and origin detection method settings. Detection Method Settings These examples have a CW origin search direction. (The search direction and limit input signal direction would be different for an origin search in the CCW direction.)
  • Page 291 Start Stop CW limit input signal (See note.) Start Stop Start Note When the limit input signal is received, the motor stops without decel- eration, reverses direction, and accelerates. 1: Origin Prox- Origin Proximity imity Input Sig- Input Signal nal reversal not Origin Input required.
  • Page 292 CW limit input signal Stop (See note.) Start Limit stop Start (error code 0200) Note When the limit input signal is received, the motor stops without deceleration. 1: Origin Proximity Input Origin Proximity Signal reversal not Input Signal required. Origin Input...
  • Page 293 Stop Start Start Limit stop (error code 0201) Note When the limit input signal is received, the motor stops without deceleration. Specifying the Origin Sets the direction to move when detecting the Origin Input Signal. Search Direction (CW or Typically, the origin search is performed so that the Origin Input Signal's rising CCW Direction) edge is detected when moving in the origin search direction.
  • Page 294 The actual monitoring time will be the Positioning Monitor Time rounded up to the nearest 10-ms unit + 10 ms max. If the Positioning Monitor Time is set to 0, the function will be disabled and the Unit will continue waiting for the Positioning Completed Signal to come ON. (A Positioning Timeout Error will not be generated.)
  • Page 295: Related Auxiliary Area Flags

    If an error occurs that stops pulse output, the pulse output's Output Stopped Error Flag will be turned ON and the Pulse Output Stop Error Code will be written to Error Code word. Use these flags and error codes to identify the cause of the error.
  • Page 296 Corrective action Operation after error Origin Input Signal 0202 During an origin search in oper- Take one or both of the following Decelerates to a Error ating mode 0, the Origin Input steps so that the Origin Input stop, Signal was received during the...
  • Page 297 Section 5-3 Pulse Outputs Origin Search Examples Operation Connect a Servo Driver and execute an origin search based on the Servomo- tor's built-in encoder phase-Z signal and a Origin Proximity Input Signal. Conditions • Operating mode: 1 (Uses the Servomotor encoder's phase-Z signal as the Origin Input Sig- nal.)
  • Page 298 Pulse Output 0 Origin Search Deceleration Rate 0032 hex (50 Hz/4 ms) Pulse Output 0 Limit Input Signal Type 1: NO Pulse Output 0 Origin Proximity Input Signal Type 1: NO Pulse Output 0 Origin Input Signal Type 1: NO...
  • Page 299: Origin Return

    Moves the motor to the origin position from any other position. The origin return operation is controlled by ORG(889). The origin return operation returns the motor to the origin by starting at the specified speed, accelerating to the target speed, moving at the target speed, and then decelerating to a stop at the origin position.
  • Page 300 Sets the motor's starting speed when the origin return is executed. Specify Initial Speed the speed in the number of pulses per second (pps). Origin Return Target Sets the motor's target speed when the origin return is executed. Specify the Speed speed in the number of pulses per second (pps).
  • Page 301: Pulse Output Procedures

    (Origin return and CW/CCW method: #1000, Origin search and pulse + direction method: #1100) Note An instruction execution error will occur if the origin is not determined (relative coordinate system) when ORG(889) is executed to perform an origin return operation.
  • Page 302 Unit version 1.1 and later: Pulse outputs 0 to 3: 1 Hz to 100 kHz (1 Hz units) Unit version 1.0 and earlier: Pulse outputs 0 and 1: 1 Hz to 100 kHz (1 Hz units)
  • Page 303: Instructions Used For Pulse Outputs

    Instructions used for Pulse Outputs The pulse output functions can be used by executing the pulse control instruc- tions in the ladder program. For some instructions, the PLC Setup must be set in advance. The following instructions can be combined for positioning and speed control.
  • Page 304 Section 5-3 Pulse Outputs The following table shows the kinds of pulse outputs controlled by each instruction. Instruction Function Positioning (independent mode) Speed control Origin (continuous mode) search Pulse Pulse output with Pulse Pulse output acceleration/deceler- output output without ation...
  • Page 305 Pulse Outputs Section 5-3 SET PULSES: PULS(886) PULS(886) is used to set the pulse output amount (number of output pulses) for pulse outputs that are started later in the program using SPED(885) or ACC(888) in independent mode. PULS(886) P: Port specifier...
  • Page 306 Either independent mode positioning or constant mode speed control is possi- ble when used in combination with PULS(886). ACC(888) can also be exe- cuted during pulse output to change the target frequency or acceleration/ deceleration rate, enabling smooth (sloped) speed changes.
  • Page 307 PLS2(887) tion rate, and output a specified number of pulses. Only independent mode positioning is supported. PLS2(887) can also be executed during pulse output to change the number of output pulses, target frequency, acceleration rate, or deceleration rate. PLS2(887) P: Port specifier...
  • Page 308 #0001: Absolute pulse output Bits 4 to 7 Direction 0 hex: CW 1 hex: CCW Bits 8 to 11 Pulse output method (See note.) 0 hex: CW/CCW 1 hex: Pulse + direction Bits 12 to 15 Not used. (Always 0 hex.)
  • Page 309 First starting fre- F and F+1 contain the starting frequency setting, in units quency word of 1 Hz. (F contains the rightmost 4 digits and F+1 con- tains the leftmost 4 digits.) X/XA CPU Units: Unit version 1.1 and later: •...
  • Page 310 PLC Setup parameters must be set before performing an origin search or ori- gin return operation. Origin Search Positions the system to the origin based on the origin proximity input and ori- gin input signals. Origin Return Returns the system from its present position to the pre-established origin.
  • Page 311 P: Port specifier C: Control data D: First destination word Note This section explains the functions related to pulse outputs only. For details on the PRV(881) instruction’s high-speed counter or interrupt functions, refer to 5-1 Interrupt Functions or 5-2 High-speed Counters. Operand...
  • Page 312 Contents First Reading PV After the pulse output PV is read, the 8-digit hexadecimal desti- data is stored in D and D+1. (D contains the rightmost 4 (D and D+1) nation digits and D+1 contains the leftmost 4 digits.) word...
  • Page 313 It is possible to start another operation during acceleration/deceleration and start another positioning instruction during positioning. Instruction being Starting instruction executed ( : Can be executed., ×: Instruction Error occurs and Error Flag goes ON) INI(880) SPED(885) SPED(885) ACC(888) ACC(888)
  • Page 314: Variable Duty Factor Pulse Outputs (Pwm(891) Outputs)

    PWM (Pulse Width Modulation) pulse outputs can be output with a specified duty factor. The duty factor is the ratio of the pulse's ON time and OFF time in one pulse cycle. Use the PWM(891) instruction to generate variable duty fac- tor pulses from a built-in output.
  • Page 315: 5-3-10 Example Pulse Output Applications

    Execute PWM(891). Restrictions on the PWM(891) Outputs • In the Y CPU Units, PWM outputs 0 and 1 cannot be used for pulse out- puts 2 and 3 if the origin search function is enabled for pulse outputs 2 and 3.
  • Page 316 PLC Setup Built-in Input Settings PLC Setup setting details Use built-in input 0.00 as the interrupt input. Pulse Output 0 Settings PLC Setup setting details Do not use high-speed counter 0. Do not use the pulse output 0 origin search function.
  • Page 317 Built-in Input 0 Interrupt Task (Interrupt Task 140) A280.04 MSKS(690) Pulse Output 0 Scheduled interrupt 2 #0014 Output In-progress (Reset start) Flag Scheduled interrupt time #0005 (5 x 0.1 ms* = 0.5 ms) * Select 0.1 ms for the setting units in the PLC Setup.
  • Page 318 100 Hz Start input (1.04) Instructions Used PLS2(887) Preparation PLC Setup There are no settings that need to be made in the PLC Setup. DM Area Settings PLS2(887) Settings (D00000 to D00007) Setting details Address Data Acceleration rate: 300 Hz/4 ms...
  • Page 319 • Absolute pulses can be specified when the origin position has been deter- mined. • If a target frequency that cannot be reached has been set, the target fre- quency will be reduced automatically, i.e., triangular control will be per- formed.
  • Page 320 Starts and stops (decelerate to a stop) the high-speed jog opera- tions. Preparation PLC Setup There are no settings that need to be made in the PLC Setup. DM Area Settings Settings to Control Speed while Jogging (D0 to D1 and D10 to D15)
  • Page 321 1.04 A281.04 SPED(885) Low-speed Pulse Output Pulse output 1 #0001 CW Start in Progress Specifies CW/CCW output method, #0000 CW side, and continuous mode. Target frequency SET 200.00 200.00 1.04 SPED(885) Low-speed Low-speed #0001 CW output in CW Start progress...
  • Page 322: Cutting Long Material Using Fixed Feeding

    Cutting Long Material Using Fixed Feeding Specifications and Operation Outline In this example, first jogging is used to position the material and then fixed- distance positioning is used to feed the material. 10,000 Hz Acceleration: 1,000 Hz/4 ms (03E8 hex)
  • Page 323 Built-in I/O other than pulse outputs are used. Operation 1,2,3... 1. The workpiece is set at the starting position using the Jogging Switch Input (IN 1.04). 2. The workpiece is feed the specified distance (relative) using the Position- ing Switch Input (IN 1.05).
  • Page 324 Section 5-3 Pulse Outputs Settings for PLS2(887) for Fixed-distance Feeding (D10 to D20) Setting details Address Data Acceleration rate: 1,000 Hz/4 ms #03E8 Deceleration rate: 1,000 Hz/4 ms #03E8 Target frequency: 10,000 Hz #2710 #0000 Number of output pulses: 50,000 pulses...
  • Page 325 Pulse Output 0000 Completed Flag [OP2] Count Value in 0.01 Positioning Switch Cutting Operation C0000 100.02 000005 Finished (000016) Emergency Stop (Pulse Output Stopped) 000006 (000018) [OP1] 0.02 (880) [OP2] Emergency [OP3] Stop <0.00> a00 a04 <0.01> a08 a14 <0.02>...
  • Page 326 1. PLS22(887) used a relative pulse setting. This enables operation even if the origin is not defined. The present position in A276 (lower 4 digits) and A277 (upper 4 digits) is set to 0 before pulse output and then contains the specified number of pulses.
  • Page 327 Section 5-3 Pulse Outputs 3. The system is returned to the original position. Origin (servo Origin limit phase Z) proximity limit 1. Origin search 2. Fixed-distance positioning repeated 50,000 Hz (C350 hex) 10000 (2710 hex) Acceleration/ 3. Return to start...
  • Page 328 PCB Storage Completed Input (CIO 1.02). 4. Storing PCBs is repeated until the stocker is full. 5. The number of PCBs in the stocker is counted with counter C0 by counting the number of times the stocker is raised.
  • Page 329 Section 5-3 Pulse Outputs 6. When the stocker is full, it is moved (CIO 1.01) and only the conveyor is lowered (absolute positioning) when stoker movement is completed (CIO 0.03). The operation can be canceled and pulse output stopped at any point using the Emergency Switch Input (CIO 0.01).
  • Page 330 Section 5-3 Pulse Outputs Setting details Address Data Starting frequency: 100 Hz #0000 #0000 Number of Repeats of Fixed-distance Positioning Operation (D20) Setting details Address Data Number of repeats of fixed-distance positioning operation #0015 (number of PCBs in stocker)
  • Page 331 [OP3] positioning [OP4] progress Lift positioning A280.03 W0.04 completed <W000.04> Pulse Output b16 a21 a24 a27 Completed Flag Counter for Number of Lifts (Number of PCBs stored) 000003 (000021) [OP1] W0.04 <C0000(bit)> Lift b25 a28 0000 positioning #100 [OP2] completed W0.09...
  • Page 332 Section 5-3 Pulse Outputs When the stocker is not full (C0=OFF), store PCB, and repeat lift positioning after PCB storage is completed. 000004 (000024) W0.04 C0000 W0.05 PCB Stored <W000.05> Lift Stocker positioning full completed When the stocker is full (C0=ON), move the stocker, and start lower positioning after stocker movement is 000005 completed.
  • Page 333 Operation Pattern 1,2,3... 1. An origin search is performed. 2. A workpiece is grasped and moved to position A. 3. The workpiece is grasped at one position and moved back and forth to sev- eral assembly positions. 1. Origin search 50000...
  • Page 334 Section 5-3 Pulse Outputs Wiring Example Using SmartStep A-series Servo Driver, XW2Z Cables, and XW2B I/O Terminal Origin Search Switch (CIO 0.00) Emergency Stop Switch (CIO 0.01) SmartStep A-series Servo Driver XW2Z-100J-B5 (1 m) XW2Z-200J-B5 (2 m) XW2Z-100J-B5 (1 m)
  • Page 335 Section 5-3 Pulse Outputs Preparation PLC Setup Setting details Enable origin search function for pulse output 0. Note The origin search enable setting is read when the power supply is turned ON. DM Area Settings Starting Frequency Setting details Address Data...
  • Page 336 #07D0 Target frequency: 100,000 Hz #86A0 #0001 Number of output pulses: 5,000 pulses #1388 #0000 PLS2(887) Settings to Move from Position A to Position B Setting details Address Data X axis Acceleration rate: 2,000 Hz/4 ms #07D0 Deceleration rate: 2,000 Hz/4 ms...
  • Page 337 Section 5-3 Pulse Outputs PLS2(887) Settings to Move from Position A to Position D Setting details Address Data X axis Acceleration rate: 2,000 Hz/4 ms #07D0 Deceleration rate: 2,000 Hz/4 ms #07D0 Target frequency: 100,000 Hz #86A0 #0001 Number of output pulses: 25,000 pulses...
  • Page 338 Section 5-3 Pulse Outputs Ladder Program [Program Name: New Program1] 000000 (000000) [Section Name: Section1] Origin Search for X and Y Axis <W000.00> 0.00 a02 a06 Origin W0.00 Search Switch W0.00 W1.14 Origin Search 000001 start (000002) <W001.14> <W000.00> W1.15...
  • Page 339 Positioning to A W0.07 W3.02 000015 start (000044) <W003.02> <W000.07> W2.00 RSET Positioning W0.07 to A completed Origin Search Start and Completion for X and Y Axis 000016 (000048) [OP1] W1.14 @ORG (889) [OP2] Origin Search start [OP1] @ORG (889)
  • Page 340 Section 5-3 Pulse Outputs Origin Search A280.05 A281.05 W1.15 completed No Origin No Origin <W001.15> Flag Flag Positioning to A Start and Completion for X and Y axis 000017 (000054) [OP1] W1.00 @PLS2 (887) [OP2] Positioning [OP3] to A [OP4] start <cD00000>...
  • Page 341 Positioning to C A280.03 A281.03 W2.02 completed Pulse pulse <W002.02> output output completed completed Positioning to D Start and Completion for X and Y axis 000020 (000075) [OP1] W1.03 @PLS2 (887) [OP2] Positioning [OP3] to D [OP4] start <cD00000>...
  • Page 342 Section 5-3 Pulse Outputs <0.08> <0.09> Limit Input Setting 000022 (000084) CW limit input 0.06 A540.08 signal X axis Built-in input IN6 CCW limit input 0.07 A540.09 000023 signal X axis (000086) Built-in input IN7 CW limit input 0.08 A541.08...
  • Page 343 (IN0) Operation 1,2,3... 1. Speed control is used to feed wrapping material to the initial position when the Start Switch (CIO 1.04) is activated. 2. When the Marker Sensor Input (IN0) is received, PLS2(887) is executed in interrupt task 140.
  • Page 344 PLC Setup Setting details Enable using built-in input IN0 as an interrupt input. Note The interrupt input setting is read when the power supply is turned ON. DM Area Settings Speed Control Settings to Feed Wrapping Material to Initial Position...
  • Page 345 [OP2] Emergency [OP3] stop <0.00> switch <0.01> Program for Interrupt Task [Program Name: New Program2] 000000 (000000) [Section Name: Section1] Interrupt Task for Master Sensor ON Starting interrupt Feed [OP1] CF113 PLS2 (887) [OP2] P_On [OP3] Always [OP4] ON Flag...
  • Page 346: Quick-Response Inputs

    The following diagrams show the input bits and terminals that can be used for Quick-Response quick-response inputs in each CPU Unit. Inputs X/XA CPU Units The 8 input bits CIO 0.00 to CIO 0.03 and CIO 1.00 to CIO 1.03 can be used as quick-response inputs.
  • Page 347 Input interrupt 7 Quick-response input 7 04 to 11 Normal inputs 16 to 23 --- Y CPU Units The 6 input bits CIO 0.00 to CIO 0.01 and CIO 1.00 to CIO 1.03 can be used as quick-response inputs. Input Terminal Arrangement Quick-response input 3...
  • Page 348 Quick-response Inputs Setting the Input Functions in the PLC Setup Normally, bits CIO 0.00 to CIO 0.01 and CIO 1.00 to CIO 1.03 are used as normal inputs. When using these inputs for input interrupts, use the CX-Pro- grammer to change the input’s setting in the PLC Setup.
  • Page 349: Analog I/O (Xa Cpu Units)

    Section 5-5 Analog I/O (XA CPU Units) Analog I/O (XA CPU Units) The XA CPU Units of the CP1H CPU Units are equipped with 4 built-in analog inputs and 2 built-in analog outputs. Built-in analog inputs (A/D) Built-in analog Analog Voltage/Current...
  • Page 350 10 to 10 V Input Ranges When the resolution is set to 1/6,000, the 10 to 10-V range corresponds to hexadecimal values F448 to 0BB8 ( 3,000 to 3,000). The entire data range is F31C to 0CE4 ( 3,300 to 3,300).
  • Page 351 FED4 ( 300) 0 to 5 V Input When the resolution is set to 1/6,000, the 0 to 5-V range corresponds to hexa- decimal values 0000 to 1770 (0 to 6,000). The entire data range is FED4 to 189C ( 300 to 6,300).
  • Page 352 FED4 ( 300) 0 to 20 mA Inputs When the resolution is set to 1/6,000, the 0 to 20-mA range corresponds to hexadecimal values 0000 to 1770 (0 to 6,000). The entire data range is FED4 to 189C ( 300 to 6,300).
  • Page 353 ( 3,000 to 3,000) correspond to an analog voltage range of 10 to 10 V. When the resolution is set to 1/12,000, the hexadecimal values E890 to 1770 ( 6,000 to 6,000) correspond to an analog voltage range of 10 to 10 V. The entire output range is 11 to 11 V.
  • Page 354 6,000) correspond to an analog voltage range of 0 to 5 V. When the resolution is set to 1/12,000, the hexadecimal values 0000 to 2EE0 (0 to 12,000) correspond to an analog voltage range of 0 to 5 V. The entire output range is 0.25 to 5.25 V.
  • Page 355 The open-circuit detection function is activated when the input range is set to Function for Analog 1 to 5 V and the voltage drops below 0.8 V, or when the input range is set to 4 Inputs to 20 mA and the current drops below 3.2 mA. When the open-circuit detec- tion function is activated, the converted data will be set to 8,000.
  • Page 356 I/O points.) • Set the analog input range: Set the PLC Setup. 0 to 5 V, 1 to 5 V, 0 to 10 V, or 10 to 10 V (Each input is set independently.) • Set the analog output range: 0 to 20 mA or 4 to 20 mA (Each output is set independently.)
  • Page 357 I/O points. • The input range can be set to 10 to 10 V, 0 to 10 V, 1 to 5 V, 0 to 5 V, 0 to 20 mA or 4 to 20 mA.
  • Page 358 (1) Use 2-conductor shielded twisted-pair cable for the I/O wiring, and do not connect the shield. (2) If an input is not being used, connect (short) the input’s + and terminals. (3) Wire I/O lines apart from power lines (AC power supply lines, three-phase power lines, etc.).
  • Page 359 1 to 5 V, open-circuit detection may not be possible. Also, if a disconnec- tion occurs at point C in the diagram, the negative (-) side will be used in for both devices and open-circuit detection will not be possible.
  • Page 360 The ladder program can be used to write data to the memory area words Data where the set value is stored. Write the output SV data to CIO 210 to CIO 211. The Analog Initialization Completed Flag (A434.04) indicates when the built-in analog I/O has been initialized.
  • Page 361 1 to 5 V or 4 to 20 mA. For any other fatal errors in the CPU Unit, 1 V or 4 mA will be output if the output range is 1 to 5 V or 4 to 20 mA.
  • Page 362: Advanced Functions

    Memory Cassette Functions ........
  • Page 363: Serial Communications

    Section 6-1 Serial Communications Serial Communications 6-1-1 Overview The CP1H CPU Units support the following serial communications functions. Protocol Connected devices Description Serial Serial port 1 port 2 No-protocol Standard devices supporting serial communications Communicates with standard devices with an RS-232C or...
  • Page 364 1:1 connec- tions.) RS-232C NT Link CP1H CPU Unit Host Link Host computer or OMRON PT (Programmable Terminal) 1) Various control commands such as reading and writing I/O memory, changing the operating mode, and force- Personal computer setting/resetting bits can be...
  • Page 365: No-Protocol Communications

    (e.g., no retry processing, data type conversion, or process branching based on received data). The communica- tions mode for the serial port must be set for no-protocol communications in the PLC Setup. No-protocol communications are used to send data in one direction to or from standard devices that have an RS-232C or RS-422A/485 port using TXD(236) or RXD(235).
  • Page 366 256 bytes max. 256 bytes max. 256 bytes max. • When more than one start code is used, the first start code will be effec- tive. • When more than one end code is used, the first end code will be effective.
  • Page 367: Modbus-Rtu Easy Master Function

    Section 6-1 Serial Communications Note A setting can be made to delay the transmission of data after the execution of TXD(236). Delay time Transmission Time Execution of TXD(236) Refer to the SYSMAC CP Series CP1H CPU Unit Programming Manual (W451) for more details on TXD(236) and RXD(235).
  • Page 368 Modbus-RTU commands are stored in the DM Area in D32200 to D32249 for Words for the serial port 1 and in D32300 to D32349 for serial port 2. When a response is received after turning ON the Modbus-RTU Master Execution Bit, it is stored...
  • Page 369 The Modbus-RTU command set in the DM fixed allocation words for the Mod- and Bits bus-RTU Easy Master is automatically sent when the Modbus-RTU Master Execution Bit is turned ON. The results (normal or error) will be given in corre- sponding flags. Word...
  • Page 370: Communications: Smart Active Parts And Function Blocks

    Responses are also converted in the same way. Note Serial ports 1 and 2 on the CP1H CPU Unit can be used to convert to the fol- lowing protocols. • CompoWay/F...
  • Page 371: Serial Plc Links

    2 on CPU Unit 2804 FINS header Modbus-RTU command Modbus-RTU command The serial gateway functionality is enabled when serial port 1 or 2 is set to the Serial Gateway Mode. CPU Unit Serial Gateway Function Specifications Item Specification Pre-conversion data...
  • Page 372 Serial PLC Links cannot be used on serial ports 1 and 2 at the same time. If one port is set as a Serial PLC Link slave or master, it will not be possible to set the other port for a Serial PLC Link. A PLC Setup error will occur if an attempt is made to set both ports for Serial PLC Links.
  • Page 373 Example: Complete Link Method, Highest Unit Number: 3 In the following diagram, Polled Unit No. 2 is either a PT or is a Unit not present in the network, so the area allocated for Polled Unit No. 2 is undefined in all nodes.
  • Page 374 Serial Communications Example: Polling Unit Link Method, Highest Unit Number: 3 In the following diagram, Polled Unit No. 2 is a PT or a Unit not participating in the network, so the corresponding area in the Polling Unit is undefined.
  • Page 375 Polling Unit CIO 3100 CIO 3100 to CIO 3100 to CIO 3100 to CIO 3101 CIO 3102 CIO 3109 Polled Unit No. 0 CIO 3101 CIO 3102 to CIO 3103 to CIO 3110 to CIO 3103 CIO 3105 CIO 3119 Polled Unit No.
  • Page 376 Unit number 0 to 7 Note Both serial ports cannot be used for PLC Links at the same time. If both ports are set for PLC Links (either as polling node or polled node), a PLC Setup set- ting error (non-fatal error) will occur and the PLC Setup Setting Error Flag (A40210) will turn ON.
  • Page 377 • Turns OFF when the changes to settings are completed. Note In the same way as for the existing 1:N NT Link, the status (communicating/ not communicating) of PTs in Serial PLC Links can be checked from the Poll- ing Unit (CPU Unit) by reading the Serial Port 1 Communicating with PT Flag...
  • Page 378 • Turns OFF when the changes to settings are completed. Note In the same way as for the existing 1:N NT Link, the status (communicating/ not communicating) of PTs in Serial PLC Links can be checked from the Poll- ing Unit (CPU Unit) by reading the Serial Port 2 Communicating with PT Flag...
  • Page 379: N Nt Links

    Set the PT as follows: 1,2,3... 1. Select NT Link (1:N) from Comm. A Method or Comm. B Method on the Memory Switch Menu under the System Menu on the PT Unit. 2. Press the SET Touch Switch to set the Comm. Speed to High Speed.
  • Page 380: Host Link Communications

    Section 6-1 Serial Communications 6-1-7 Host Link Communications The following table shows the host link communication functions available in CP1H PLCs. Select the method that best suits your application. Command Command type Communications method Configuration flow Create frame in the host com-...
  • Page 381 Reads the contents of the specified number of timer/counter PVs (present values) starting from the specified timer/counter. T/C STATUS READ Reads the status of the Completion Flags of the specified number of timers/ counters starting from the specified timer/counter. DM AREA READ Reads the contents of the specified number of DM Area words starting from the specified word.
  • Page 382 LINK AREA WRITE Writes the specified data (word units only) to the Link Area, starting from the specified word. HR AREA WRITE Writes the specified data (word units only) to the Holding Area, starting from the specified word.
  • Page 383 Undefined com- This response is returned if the header code of a command was not recog- mand nized. (response only) FINS Commands The following table lists the FINS commands. Refer to the FINS Commands Reference Manual (W227) for more details.
  • Page 384: Analog Adjuster And External Analog Setting Input

    Setting the value for timer T100 in A642 makes it possible to use T100 as a variable timer with a range of 0 to 25.5 s (0 to 255). A change in the set value is reflected with the next scan.
  • Page 385: External Analog Setting Input

    Setting the value for timer T101 in A643 makes it possible to use T101 as a variable timer with a range of 0 to 25.6 s (0 to 256). A change in the set value is reflected with the next scan.
  • Page 386: 7-Segment Led Display

    When an error occurs at the CPU Unit, the error code is displayed. If multiple errors occur simultaneously, they are prioritized for display in order of impor- tance. Then, as each error is cleared, the error code for the next one is dis- played.
  • Page 387 When the analog adjuster is used to change a set value, that value is dis- Display played in the 7-segment LED from 00 to FF hex (0 to 255). The set value is displayed regardless of the operating mode of the CP1H CPU Unit. The dis- play is cleared when the set value remains unchanged for at least 4 seconds.
  • Page 388: Battery-Free Operation

    In that case it is necessary to set the required values in the ladder program. It is also possible to save to the built-in flash memory in advance the DM initial values that are to be set for the DM on RAM at startup.
  • Page 389 Required) 1,2,3... 1. First set in the DM Area the data that is to be set as initial values at startup. 2. Execute a backup to flash memory from the CX-Programmer's Memory Cassette Transfer/Data Memory Backup Dialog Box.
  • Page 390: Memory Cassette Functions

    CPU Unit. Also, the CX- Programmer can be used to save all of the data in the DM Area to the flash memory for use as initial values when the power supply is turned ON. Neither...
  • Page 391: Mounting And Removing A Memory Cassette

    Therefore it is not possible to simultaneously store multiple items of the same type of data (e.g., two user programs). Also, the data can only be read to a CPU Unit. It cannot be directly managed from a personal computer like files.
  • Page 392 7-segment LED are flashing (i.e., during a data transfer or verifica- tion). Doing so could make the Memory Cassette unusable. (3) The Memory Cassette is small, so be careful to not let it be dropped or lost when it is removed.
  • Page 393: Operation Using The Cx-Programmer

    1. Select PLC - PLC data - Memory Cassette/DM. The following Memory Cassette Transfer/Data Memory Backup Dialog Box will be displayed. 2. Under Transfer Data Area, check whatever types of data are to be trans- ferred. 3. Execute any of the following operations.
  • Page 394: Memory Cassette Data Transfer Function

    Memory Cassette Data Transfer Function Writing from the CPU The CX-Programmer's Memory Cassette function can be used to write data Unit to the Memory from the CPU Unit to the Memory Cassette. The data to be written can be individually specified. Cassette CX-Programmer...
  • Page 395 CPU Unit. Cassette at Startup Mount a Memory Card and set DIP switch pin SW2 to ON, and then turn the power OFF and back ON. All valid data in the Memory Card will be automatically transferred to the CPU Unit.
  • Page 396 While the BKUP and 7-segment LED indicators are flashing, 1) do not turn OFF the power supply to the PLC and 2) do not remove the Memory Cas- sette. If either of these is done, in the worst case it may make the Memory Cassette unusable.
  • Page 397 1,2,3... 1. Prepare a Memory Cassette with the required data stored. 2. With the power supply turned OFF to the CPU Unit, remove the cover from the Memory Cassette slot and insert the Memory Cassette. 3. Open the cover for the CPU Unit's PERIPHERAL section and set DIP switch pin SW2 to ON.
  • Page 398: Program Protection

    Program Protection 7. Remove the Memory Cassette, and replace the Memory Cassette slot cov- 8. Return the setting of DIP switch pin SW2 to OFF, and close the cover. 9. Turn the power supply to the CPU Unit back ON.
  • Page 399 Task Read Protection 3. If an incorrect password is input five times consecutively, read protection will not be released even if the correct password is input on the sixth at- tempt and displaying and editing the entire user program or the specified tasks will be disabled for two hours.
  • Page 400 1. If the CX-Programmer is used to read a task with task read protection ap- plied, an error will occur and the task will not be read. Likewise, if the PT Ladder Monitor function is used to read a password protected task, an er-...
  • Page 401: Write Protection

    The user program can be write-protected by turning ON pin 1 of the CPU Using the DIP Switch Unit’s DIP switch. When this pin is ON, it won’t be possible to change the user program or parameter area (e.g., PLC Setup and routing tables) from the CX- Programmer.
  • Page 402 BCD. The format is the same as that for the User Program Date given above. Write-protection The program (or selected tasks) can also be write-protected if the write pro- Using Passwords tection option is selected from the CX-Programmer when a password is being registered for the entire program or those selected tasks.
  • Page 403: Protecting Program Execution Using The Lot Number

    6-6-3 Protecting Program Execution Using the Lot Number The lot number is stored in A310 and A311 and can be used to prevent the program from being executed on a CPU Unit with the wrong lot number. The lot number stored in A310 and A311 cannot be changed by the user.
  • Page 404 Section 6-6 Program Protection X, Y, and Z in the lot number are converted to 10, 11, and 12, respectively, in A310 and A311. Some examples are given below. Lot number A311 A310 01805 0005 0801 30Y05 0005 1130 Application Examples...
  • Page 405: Failure Diagnosis Functions

    3. The error code and time of occurrence are stored in the Error Log. 4. The error indicator on the front of the CPU Unit will flash or light. 5. If FAL(006) has been executed, the CPU Unit will continue operating.
  • Page 406 ON. Time Monitoring FPD(269) starts timing when it is executed and turns ON the Carry Flag if the Function diagnostic output isn’t turned ON within the specified monitoring time. The Carry Flag can be programmed as the execution condition for an error pro- cessing block.
  • Page 407: Simulating System Errors

    Use the following procedure. 1,2,3... 1. Set the FAL or FALS number to use for simulation in A529. A529 is used when simulating errors for both FAL(006) and FALS(007). 2. Set the FAL or FALS number to use for simulation as the first operand of FAL(006) or FALS(007).
  • Page 408: Output Off Bit

    Generate a battery error using FAL number 100. Note Use the same methods as for actual system errors to clear the simulated sys- tem errors. Refer to the 9-2 Troubleshooting for details. All system errors sim- ulated with FAL(006) and FALS(007) can be cleared by cycling the power supply.
  • Page 409: Clock

    Section 6-8 Clock Clock A clock is built into the CP1H CPU Unit and is backed up by a battery. The current data is stored in the following words and refreshed each cycle. Name Addresses Function Clock data: A351.00 to A351.07...
  • Page 410 CALENDAR ADD CADD(730) Adds time to the calendar data in the speci- fied words. CALENDAR SUBTRACT CSUB(731) Subtracts time from the calendar data in the specified words. CLOCK ADJUSTMENT DATE(735) Changes the internal clock setting to the set-...
  • Page 411 Section 6-8 Clock...
  • Page 412: Using Cpm1A Expansion Units And Expansion I/O Units

    CompoBus/S I/O Link Units........
  • Page 413: Connecting Cpm1A Expansion Units And Expansion I/O Units

    15 words can be used for outputs. • Be careful not to exceed a total current consumption of 2 A at 5 V or 1 A at 24 V, or a total power consumption of 3W, for the Expansion Units and...
  • Page 414: Analog Input Units

    Each CPM1A-AD041 Analog Input Unit provides four analog inputs. • The analog input signal ranges are 0 to 5 V, 1 to 5 V, 0 to 10 V, -10 to +10 V, 0 to 20 mA, and 4 to 20 mA. The resolution is 1/6,000. The open-circuit detection function is activated in the ranges of 1 to 5 V and 4 to 20 mA.
  • Page 415 Connected to the next Expansion Unit or Expansion I/O Unit to enable ex- pansion. Main Analog Input Analog Input Units are connected to a CP1H CPU Unit. A maximum of seven Unit Specifications Units can be connected, including other Expansion Units and Expansion I/O Units.
  • Page 416: Analog Input Signal Ranges

    I/O signals. Current consumption 5 VDC: 100 mA max.; 24 VDC: 90 mA max. Analog Input Signal Analog input data is digitally converted according to the input signal range as Ranges shown below. Note When the input exceeds the specified range, the A/D conversion data will be...
  • Page 417 10 V 11 V F448 ( 3000) F31C ( 3300) 0 to 10 V Inputs Converted data Voltage in the 0 to 10 V range Hexadecimal (Decimal) corresponds to hexadecimal 189C (6300) values 0000 to 1770 (0 to 1770 (6000) 6,000).
  • Page 418 The open-circuit detection function is activated when the input range is set to Function 1 to 5 V and the voltage drops below 0.8 V, or when the input range is set to 4 to 20 mA and the current drops below 3.2 mA. When the open-circuit detec- tion function is activated, the converted data will be set to 8,000.
  • Page 419 • Select input signals using range codes. • Set use of averaging. • Read A/D conversion values from input words (m+1 to m+4). • For current inputs, confirm that there is no open circuit. Writing Set Data and Reading A/D...
  • Page 420 (3) Separate wiring from power lines (AC power supply lines, high-voltage lines, etc.) (4) When there is noise in the power supply line, install a noise filter on the input section and the power supply. (5) Refer to the following information on open circuits when using voltage in-...
  • Page 421 1/3 to 1/2. If the 1 to 5-V range is being used, the open-circuit detec- tion function will not operate. Also, if there is an open circuit at C, the open-cir- cuit detection function will not operate because the negative sides are the same.
  • Page 422 • The Analog Input Unit will not start converting analog I/O values until the range code has been written. • Once the range code has been set, it is not possible to change the setting while power is being supplied to the CPU Unit. To change the I/O range, turn the CPU Unit OFF then ON again.
  • Page 423: Analog Output Units

    Each CPM1A-DA041 Analog Output Unit provides four analog outputs. • The analog output signal ranges are 1 to 5 V, 0 to 10 V, -10 to +10 V, 0 to 20 mA, and 4 to 20 mA. The resolution is 1/6,000. The open-circuit detec- tion function is activated in the ranges of 1 to 5 V and 4 to 20 mA.
  • Page 424 COM4 Output common 4 2. Expansion I/O Connecting Cable Connected to the CPU Unit or previous Expansion Unit. The cable is pro- vided with the Unit and cannot be removed. Note Do not touch the cables during operation. Static electricity may cause operat- ing errors.
  • Page 425: Analog Output Signal Ranges

    I/O signals. Current consumption 5 VDC: 80 mA max.; 24 VDC: 124 mA max. Analog Output Signal The analog values depend on the output signal ranges, as shown in the fol- Ranges lowing diagrams. Note When the output exceeds the specified range, the output signal will be fixed at...
  • Page 426 10 to 10 V The hexadecimal values F448 to 0BB8 (–3000 to 3000) correspond to an ana- log voltage range of –10 to 10 V. The entire output range is –11 to 11 V. Spec- ify a negative voltage as a two’s complement.
  • Page 427 Analog Output Units 0 to 20 mA The hexadecimal values 0000 to 1770 (0 to 6000) correspond to an analog current range of 0 to 20 mA. The entire output range is 0 to 21 mA. 21 mA 20 mA...
  • Page 428 (1) Separate wiring from power lines (AC power supply lines, high-voltage lines, etc.) (2) When there is noise in the power supply line, install a noise filter on the input section and the power supply. (3) When external power is supplied (when range codes are set), or when the power is interrupted, there may be a pulse status analog output of up to 1 ms.
  • Page 429 0 V or 0 mA will be output in the 0 to 10 V, -10 to +10 V, and 0 to 20 mA ranges, and 1 V or 4 mA will be output in the 1 to 5 V and 4 to 20 mA ranges.
  • Page 430 0 V or 0 mA. If a CPU Unit fatal error occurs when analog outputs are set in the 1 to 5 V or 4 to 20 mA range, 0 V or 0 mA will be output for a CPU error I/O bus error, and 1 V or 1 mA will be output for all other errors.
  • Page 431: Analog I/O Units

    Each CPM1A-MAD01 Analog I/O Unit provides 2 analog inputs and 1 analog output. • The analog input range can be set to 0 to 10 VDC, 1 to 5 VDC, or 4 to 20 mA with a resolution of 1/256.
  • Page 432 I OUT VIN1 COM1 I IN2 VOUT I IN1 V IN2 COM2 Note When using current inputs, short terminal V IN1 with I IN1 and ter- minal V IN2 with I IN2. V OUT Voltage output I OUT Current output...
  • Page 433 5 VDC: 66 mA max., 24 VDC: 66 mA max. Note (1) The conversion time is the total time for 2 analog inputs and 1 analog out- put. (2) With analog outputs it is possible to use both voltage outputs and current outputs at the same time.
  • Page 434 Section 7-4 Analog I/O Units Analog I/O Signal Ranges Analog Input Signal Ranges 0 to 10 V inputs 1 to 5 V inputs 4 to 20 mA inputs Conversion value Conversion value Conversion value 0 mA 4 mA 10 V...
  • Page 435 Write the range code. Create a ladder program Analog input: 0 to 10 V, 1 to 5 V, 4 to 20 mA Analog output: 0 to 10 V, 10 to 10 V, 4 to 20 mA Analog input: Read converted data.
  • Page 436 (3) Wire away from power lines (AC power supply wires, power lines, etc.) (4) When an input is not being used, short V IN and I IN to the COM terminal. (5) Use crimp terminals. (Tighten terminals to a torque of 0.5 N·m.)
  • Page 437 10 to 10 V/4 to 20 mA • The voltage/current selection is made by switching the wiring. • Write the range code to the Analog I/O Unit output word (n + 1) in the first cycle of program execution. First Cycle Flag A200.11...
  • Page 438 The Open-circuit Detection Flag is turned ON if the input signal range is set to 1 to 5 V or 4 to 20 mA and the input signal falls below 1 V or 4 mA. (Open cir- cuits are not detected when the input signal range is set to 0 to 10 V.)
  • Page 439 Analog output data will be 0 V or 0 mA until the range code has been written. After the range code has been written, the analog output data will be 0 V or 4 mA if the range is 0 to 10 V, 10 to 10 V, or 4 to 20 mA.
  • Page 440 MOV(021) Handling Unit Errors • When an error occurs in the Analog I/O Unit, analog input data will be 0000 and 0 V or 4 mA will be output as the analog output. • CPM1A Expansion Unit/Expansion I/O Unit errors are output to bits 0 to 6 of word A436.
  • Page 441: Cpm1A-Mad11 Analog I/O Units

    Each CPM1A-MAD11 Analog I/O Unit provides 2 analog inputs and 1 analog output. • The analog input range can be set to 0 to 5 VDC, 1 to 5 VDC, 0 to 10 VDC, 10 to 10 VDC, 0 to 20 mA, or 4 to 20 mA. The inputs have a resolution of 1/6000.
  • Page 442 (OFF: Average processing not performed; ON: Average processing performed) Main Analog I/O Unit Analog I/O Units are connected to the CP1H CPU Unit. Up to seven Units can Specifications be connected, including any other Expansion Units and Expansion I/O Units that are also connected.
  • Page 443 No isolation between analog I/O signals. Current consumption 5 VDC: 83 mA max., 24 VDC: 110 mA max. Analog I/O Signal Analog I/O data is digitally converted according to the analog I/O signal range Ranges as shown below. Note When the input exceeds the specified range, the AD converted data will be...
  • Page 444 Ranges The 10- to 10-V range corresponds to the hexadecimal values F448 to 0BB8 ( 3000 to 3000). The entire data range is F31C to 0CE4 ( 3300 to 3300). A negative voltage is expressed as a two’s complement. Converted Data...
  • Page 445 0 to 20 mA The 0- to 20-mA range corresponds to the hexadecimal values 0000 to 1770 (0 to 6000). The entire data range is FED4 to 189C ( 300 to 6300). A negative voltage is expressed as a two’s complement.
  • Page 446 The hexadecimal values F448 to 0BB8 ( 3000 to 3000) correspond to an ana- log voltage range of 10 to 10 V. The entire output range is 11 to 11 V. Spec- ify a negative voltage as a two’s complement.
  • Page 447 The open-circuit detection function is activated when the input range is set to Function for Analog 1 to 5 V and the voltage drops below 0.8 V, or when the input range is set to 4 Inputs to 20 mA and the current drops below 3.2 mA. When the open-circuit detec- tion function is activated, the converted data will be set to 8,000.
  • Page 448 Using Analog I/O Connect the Unit. Connect the Analog I/O Unit. Analog inputs: 0 to 5 VDC, 1 to 5 VDC, 0 to 10 VDC, –10 to Set the I/O ranges. 10 VDC, 0 to 20 mA, or 4 to 20 mA Analog output: 1 to 5 VDC, 0 to 10 VDC, –10 to 10 VDC, 0 to...
  • Page 449 Section 7-4 Analog I/O Units Note Word (n + 1) can be used for either the range code or the analog output set value. Connecting the Analog I/O This section describes how to connect a CPM1A-MAD11 Analog I/O Unit to Unit and Setting the DIP the CPU Unit.
  • Page 450 (2) When an input is not being used, short the + and terminals. (3) Separate wiring from power lines (AC power supply lines, high-voltage lines, etc.) (4) When there is noise in the power supply line, install a noise filter on the input section and the power supply terminals.
  • Page 451 1 to 5 V, open-circuit detection may not be possible. Also, if a disconnec- tion occurs at point C in the diagram, the negative (-) side will be used in for both devices and open-circuit detection will not be possible.
  • Page 452 0 V or 0 mA will be output. • After the range code has been set, 0 V or 0 mA will be output for the 0 to 10-V, 10 to 10-V, or 0 to 20-mA ranges, and 1 V or 4 mA will be output for the 1 to 5-V and 4 to 20-mA ranges until a convertible value has been written to the output word.
  • Page 453 After the range code has been written, the analog output data will be 0 V or 0 mA if the range is 0 to 10 V, 10 to 10 V, or 0 to 20 mA, or it will be 1 V or 4 mA if the range is 1 to 5 V or 4 to 20 mA.
  • Page 454: Temperature Sensor Units

    CPM1A-TS002 and CPM1A-TS102 Temperature Sensor Units each provide up to four input points, and CPM1A-TS001 and CPM1A-TS101 Temperature Sensor Units each provide up to two input points. The inputs can be from ther- mocouples or platinum resistance thermometers. CPM1A-TS002 and CPM1A-TS102 Temperature Sensor Units are each allo- cated four input words, so no more than three Units can be connected.
  • Page 455: Main Specifications

    Photocouplers between all temperature input signals Current consumption 5 VDC: 40 mA max., 24 VDC: 59 mA max. 5 VDC: 54 mA max., 24 VDC: 73 mA max. Note Accuracy for a K-type sensor at 100 C or less is ±4 C ±1 digit max.
  • Page 456 Unit operation. Static electricity may cause operating errors. The Temperature Sensor Unit’s DIP switch and rotary switch are used to set the temperature unit, to select 2-decimal-place Mode is to be used, and to set the temperature input range. DIP Switch...
  • Page 457 Section 7-5 Temperature Sensor Units DIP Switch Settings The DIP switch is used to set the temperature unit ( C or F) and the number of decimal places used. Setting Temperature unit Number of decimal Normal (0 or 1 digit after the decimal places used (See note.)
  • Page 458 Thermocouples Sensors CPM1A-TS001 Either K or J thermocouples can be connected, but both of the thermocouples must be of the same type and the same input range must be used for each. Input 0 Input 1 Input 0 Input 1...
  • Page 459 Platinum Resistance Thermometers CPM1A-TS101 One or two Pt or JPt platinum resistance thermometers can be connected, but both of the thermometers must be of the same type and the same input range must be used for each. Input 0 Input 1...
  • Page 460 Converted temperature data from input 2 Converted temperature data from input 3 ”m” is the last input word allocated to the CPU Unit, Expansion I/O Unit, or Expansion Unit connected immediately before the Temperature Sensor Unit. • Negative values are stored as 2’s complements.
  • Page 461 After power is turned ON, approximately 1 s is required for the first conversion data to be stored in the input word. During that period, the data will be 7FFE. Therefore, create a program as shown below, so that when operation begins simultaneously with startup it will wait for valid conversion data.
  • Page 462 2. The following programming example shows how to convert the data for temperature input 0 to BCD and store the result in D0 and D1. “0001” is stored in D1 when the input data is a negative value. The following system configuration is used.
  • Page 463 Programming with BCD(24) Instruction Always ON P_On Detects completion of input 0 initialization. CMP(020) #7FFE 1000.00 ON when input 0 has been initialized Execution condition 1000.00 Detects an open-circuit alarm or Unit CMP(020) error by checking whether the error code...
  • Page 464 0: If data non-negative, "0000" stored in D1. 1: If data negative, "0001" stored in D1. Two-decimal-place If pin 2 on the DIP switch is turned ON, values are stored to two decimal Mode places. In this case, temperature data is stored as 6-digit signed hexadecimal (binary) data with 4 digits in the integer portion and 2 digits after the decimal point.
  • Page 465 Always 0 1: Rightmost 1: Error 1: F Leftmost/Rightmost Flag: Indicates whether the leftmost or rightmost 3 digits are provided. Temperature Unit Flag: Indicates whether the temperature is in C or F. Open-circuit Flag: Turns ON (1) when an open-circuit is detected. The temperature data will be 7FF FFF if this flag is ON.
  • Page 466 Section 7-5 Temperature Sensor Units Example 2 Temperature: 100.12 C 100: 10012 Temperature Data: FFD8E4 (hexadecimal for 10012) Leftmost 3 Digits and Flags Flags Bits 11 to 08 07 to 04 03 to 00 Data Normal Temperature Flags data Leftmost...
  • Page 467 (2) Be sure that the data is read at least once every 125 ms to allow for the CPU Unit’s cycle time and communications time. Correct data may not be obtained if the read cycle is greater than 125 ms.
  • Page 468 SET 2000.02 Data rearrangement completed. 2000.02 2002.07 (non-negative data) BCDL(059) If the temperature data is non-negative, the binary data in CIO 202 and CIO 201 is 2001 converted to BCD and placed in D101 and D100 2002.07 (negative data) D100.
  • Page 469: Compobus/S I/O Link Units

    Link Unit is connected. The CompoBus/S I/O Link Unit establishes an I/O link of 8 inputs and 8 outputs between the Master Unit and the PLC. Up to three CompoBus/S I/O Link Units, including other Expansion I/O Units, can be con- nected to a CP1H CPU Unit.
  • Page 470 The following CompoBus/S terminals are provided: CompoBus/S com- munications data high/low terminals, NC terminals for communications power supply plus (+) and minus (-), and an NC terminal. (Power is sup- plied internally for this Unit, so the NC terminals for communications...
  • Page 471 (4) Expansion I/O Connecting Cable Connected to the expansion connector of a CP1H CPU Unit or a CMP1A Expansion Unit or Expansion I/O Unit. The cable is provided with the CompoBus/S I/O Link Unit and cannot be removed.
  • Page 472: Operating Procedure

    As shown below, when “m” is the last allo- cated input word and “n” is the last allocated output word, the CompoBus/S I/ O Link Unit is allocated “m+1” as its input word and “n+1” as its output word. CompoBus/S I/O Link Unit...
  • Page 473 Determining the Node Node Number Number and Making DIP • The CompoBus/S I/O Link Unit is a Slave Unit with 8 input bits and 8 out- Switch Settings put bits. The node number setting is made using the DIP switch; the inputs and outputs share the same node number.
  • Page 474 Section 7-6 CompoBus/S I/O Link Units DIP Switch Settings Use the DIP switch to set the CompoBus/S I/O Link Unit’s node number, com- munications mode, and the status of output data when a communications error occurs. Contents Pin labels NODE NUMBER...
  • Page 475: Devicenet I/O Link Units

    Connecting a CPM1A-DRT21 DeviceNet I/O Link Unit (with 32 inputs and 32 outputs as built-in I/O) to function as a slave allows the CP1H to be used as a DeviceNet slave. A maximum of three DeviceNet I/O Link Units can be con- nected to the CP1H to create I/O Links for up to 192 points (96 inputs and 96 outputs) between the CP1H and the DeviceNet master.
  • Page 476 Holds remote outputs when communications error occurs. Note When using Expansion Unit/Expansion I/O Unit Error Flags (A436) in the program, set pin 4 on the DIP switch to ON. If communica- tions are set to be cleared, the timing for clearing outputs and set-...
  • Page 477 • Power not supplied. (5) Expansion I/O Connecting Cable Connected to the expansion connector of a CP1H CPU Unit or a CPM1A Expansion Unit or Expansion I/O Unit. The cable is included with the DeviceNet Unit and cannot be removed.
  • Page 478 If a communications error occurs while the slave is on standby, the appropri- ate bit in word A436 will turn ON. The appropriate bit is determined by the order in which the Expansion Units and Expansion I/O Units are connected.
  • Page 479 CPU Unit I/O Allocation I/O words are allocated to the DeviceNet I/O Link Unit in the same way as to Expansion I/O Units or other Expansion Units, i.e., the next available input and output words are allocated. As shown below, when “m” is the last allo- cated input word and “n”...
  • Page 480 Use rotary switches SW2 and SW3 to set DeviceNet node number. The set- Switch Settings ting range is from 00 to 63, and 64 to 99 cannot be set. Rotary switch settings go into effect when the power is turned ON.
  • Page 481 I/O Response Time Refer to the DeviceNet Slaves Operation Manual (W347) for details on the response time. The data read/write time for one cycle for the CPM1A-DRT21 is approximately 0.5 ms. Add a maximum of 1 ms to the I/O response time.
  • Page 482: Program Transfer, Trial Operation, And Debugging

    Program Transfer..........Trial Operation and Debugging........
  • Page 483: Program Transfer

    GRAM modes, but not in RUN mode. Note Turn ON the Forced Status Hold Bit (A500.13) and the IOM Hold Bit (A500.12) at the same time to retain the status of bits that have been force-set or reset when switching the operating mode.
  • Page 484: Differential Monitoring

    When the CPU Unit detects that a bit set by the CX-Programmer has changed from OFF to ON or from ON to OFF, the results are indicated in the Differenti- ate Monitor Completed Flag (A508.09). The Flag will turn ON when conditions set for the differential monitor have been met.
  • Page 485 8-2-3 Online Editing The Online Editing function is used to add to or change part of a program in a CPU Unit directly from the CX-Programmer when the CPU Unit is in MONI- TOR or PROGRAM mode. This function is designed for minor program changes without stopping the CPU Unit.
  • Page 486 5. Select Program - Online Edit - Send Changes The instructions will be check and, if there are no errors, they will be transferred to the CPU Unit. The instructions in the CPU Unit will be overwritten and cycle time will be increased at this time.
  • Page 487: Tracing Data

    2. Sampled data (after step 1 above) will be traced when the trace trigger condition is met, and the data just after the delay (see note 1) will be stored in Trace Memory.
  • Page 488 A scheduled data trace will sample data at fixed intervals. Specified sampling interval is 10 to 2,550 ms in 10-ms units. Do not use the TRSM(045) instruc- tion in the user program and be sure to set the sampling period higher than 0. One-cycle Data Trace A one-cycle data trace will sample I/O refresh data after the end of all cyclic tasks.
  • Page 489 Description Sampling Start Bit A508.15 Use the CX-Programmer to turn ON this bit to start sampling. This bit must be turned ON from the CX-Programmer. Do not turn this bit ON and OFF from the user program. Note: The bit will be turned OFF when the Data Trace has been completed.
  • Page 490: Troubleshooting

    Troubleshooting Unit Errors ........
  • Page 491: Error Classification And Confirmation

    Other than the above. PRPHL Flashing Communications (either sending or receiving) are in (yellow) progress through the peripheral port. Not lit Other than the above. Note Do not turn OFF the CPU Unit power supply when this indicator is lit.
  • Page 492 0.1. The display switches at intervals of approximately 1 s. • If two or more errors occur at the same time, the most serious error will be displayed first. When that error is cleared, the next most serious error will be displayed.
  • Page 493 0.0. 8.0. Routing tables 0.1. 0.0. CPU Bus Unit setup 0.1. 9.0. PLC system + routing tables + CPU Bus Unit setup 0.2. 0.0. Memory Cassette transfer error at startup I/O bus error for CPM1A Units 8.0. c.a. 0.a. 0.a.
  • Page 494 Illegal instruction error 8.0. 0.0. UM overflow error Cycle time too long 8.0. 9.f. FALS instruction executed for FALS number 001 c.1. 0.1. FALS instruction executed for FALS number 256 c.2. 0.0. FALS instruction executed for FALS number 511 c.2.
  • Page 495 Auxiliary Area Error Code Storage Word The error code is stored in A400 when an error occurs. If two or more errors occur at the same time, the most serious error will be stored. Error Flags Flags that indicate the type of error are allocated in the Auxiliary Area.
  • Page 496: Troubleshooting

    Use the following procedure to check error details and remove the cause of the error if the CPU Unit does not operate when the power supply is ON, oper- ation suddenly stops and the error indicator (ERR/ALM indicator) lights, or if...
  • Page 497: Error Processing Flowchart

    Unit may be faulty. 1,2,3... 1. Confirm the Unit rating (i.e., is it 24 VDC or 100 to 240 VAC?) and see if the supply power matches the rating. 2. Check the wiring to see if it is correct and that nothing is disconnected.
  • Page 498: Fatal Errors

    BKUP PRPHL There may be a CPU error or a fatal error if operation stops (i.e., the RUN indi- cator turns OFF) and the ERR/ALM indicator lights. Error code for fatal errors will be updated on the 7-segment display. If a CPU error occurs, the 7-seg- ment display will remain unlit or the display will freeze.
  • Page 499 I/O bus error details, A404 Duplicate Number Error A duplicate unit number error occurs for CJ-series Units. Turn OFF the power supply and make sure the same unit number is not set for more than one Unit. 8.0. e.9. Duplicate Unit numbers...
  • Page 500 Error information Too Many I/O Points Details, A407 I/O Setting Error An I/O setting error indicates that a Unit is connected that cannot be used in the system configuration. Turn OFF the power supply and remove the Unit. Seven-segment Probable cause and possible remedy display 8.0.
  • Page 501 8.0. f.0. 0.1. 0.0. If the PLC Setup has been set to stop operation for an instruction error, the Error Flag will be turned ON when an instruction cannot be executed due to a problem in the operand data. Refer to A298 and A299 (instruction program address when the program fails), check the spec- ifications for the relevant instruction, and set the correct operand data.
  • Page 502 This error occurs when the cycle time PV exceeds the maximum cycle time set in the PLC Setup. Review the program to decrease the cycle time or change the maximum cycle time set in the PLC Setup. Refer to the Maximum Interrupt Task Processing Time (A440) and study the maximum cycle time.
  • Page 503: Cpu Errors

    Error information None Note Just as when a CPU error occurs, the RUN indicator will turn OFF and the ERR/ALM indicator will light when a fatal error occurs. Connecting the CX- Programmer, however, is possible for fatal errors but not for CPU errors. If the CX-Programmer cannot be connected (online), a CPU error has probably occurred.
  • Page 504 An interrupt task error occurs when the Detect Interrupt task errors set- unit number 0 ting in the PLC Setup is set to Detect and an attempt is made to refresh a Special I/O Unit from an interrupt task with IORF(097) while the Unit’s I/O 8.0.
  • Page 505 0.0. 0.0. PLC Setup A set value error occurred in the PLC Setup. Internal address: 0000 hex The address of the error is stored in A406 in 16-bit binary. Correct the PLC Setup with correct values. 0.1. f.f. PLC Setup...
  • Page 506 If the PLC Setup is set to detect battery errors, this error will occur 0.0. f.7. when there is an error in the battery in the CPU Unit (i.e., the volt- age is low or a battery is not mounted). Check the battery connec- tions.
  • Page 507: Other Errors

    An error has occurred in the communications between the RS- 232C port and connected device. Confirm that the RS-232C port settings in the PLC Setup are correct. Check the cable wiring. If a host computer is connected, check the serial port settings and...
  • Page 508: Error Log

    A104) is deleted, the 19 errors stored in A105 to A199 shift one record, and the newest record is stored in A195 to A199. The number of records stored in the error log is stored in the Error Log Pointer (A300). The Error Log Pointer is not incremented after 20 records have been stored.
  • Page 509: Troubleshooting Unit Errors

    Error occurs in units of 8 or 16 points. I/O bit turns ON. All bits in one Unit do not turn ON. Special I/O Units Refer to the operation manual for the Special I/O Unit to troubleshoot any other errors. Symptom Cause...
  • Page 510 Section 9-4 Troubleshooting Unit Errors Symptom Cause Remedy Input irregularly turns ON/ (1) External input voltage is low or unstable. Adjust external input voltage to within rated OFF. range. (2) Malfunction due to noise. Take protective measures against noise, such as: •...
  • Page 511 Adjust voltage to within rated range. (3) Terminal block screws are loose. Tighten screws (4) Faulty terminal block connector contact. Replace terminal block connector. (5) An overcurrent (possibly caused by a Replace fuse or Unit. short at the load) resulted in a blown fuse for the output or the Unit is faulty.
  • Page 512: Inspection And Maintenance

    10-1-1 Inspection Points........
  • Page 513: 10-1 Inspections

    Inspection is recommended at least once every six months to a year, but more frequent inspections will be necessary in adverse environments. Take immediate steps to correct the situation if any of the conditions in the fol- lowing table are not met.
  • Page 514: Unit Replacement Precautions

    • Check the new Unit to make sure that there are no errors. • If a faulty Unit is being returned for repair, describe the problem in as much detail as possible, enclose this description with the Unit, and return the Unit to your OMRON representative.
  • Page 515: 10-2 Replacing User-Serviceable Parts

    • Retained regions of I/O memory (such as the Holding Area and DM Area) If the battery is not installed or battery voltage drops too low, the internal clock will stop and the data in RAM will be lost when the main power supply goes OFF.
  • Page 516 Section 10-2 Replacing User-serviceable Parts Note The minimum lifetime is the memory backup time at an ambient temperature of 55 C. The typical lifetime is the memory backup time at an ambient temper- ature of 25 C. Memory Backup Time...
  • Page 517 1,2,3... 1. Turn OFF the power to the CPU Unit. or If the CPU Unit has not been ON, turn it ON for at least five minutes and then turn it OFF. Note If power is not turned ON for at least five minutes before replacing the...
  • Page 518 !Caution UL standards require that batteries be replaced by experienced technicians. Always place an experienced technician in charge or battery replacement. !Caution Turn ON the power after replacing the battery for a CPU Unit that has been unused for a long time. Leaving the CPU Unit unused again without turning ON the power even once after the battery is replaced may result in a shorter battery life.
  • Page 519 Section 10-2 Replacing User-serviceable Parts...
  • Page 520: Standard Models

    • The CP1H is supported by CX-Program- Ver. 6.1 from a Windows environment mer version 6.1 or higher. • Use an off-the-shelf USB cable to connect the computer running the CX-Program- mer to the USB port on the CP1H CPU Unit.
  • Page 521 Name and appearance Model Application Remarks RS-232C Option Board CP1W-CIF01 Mounted in option slot 1 or 2 on the CPU Unit to function as an RS-232C port. COMM RS-422A/485 Option CP1W-CIF11 Mounted in option slot 1 or 2 on the CPU Board Unit to function as an RS-422A/485 port.
  • Page 522 Analog I/O Unit CPM1A-MAD11 2 analog inputs 0 to 5 V, 1 to 5 V, 0 to 10 V, 10 to +10 V, 0 to 20 mA, 4 to 20 mA 1 analog output 1 to 5 V, 0 to 10 V, 10 to +10 V, 0 to 20 mA, 4 to...
  • Page 523 CJ1W-MAD42 4 analog inputs and 2 analog outputs: Resolution can be set to 1/8000. 0 to 5 V, 1 to 5 V, 0 to 10 V, 10 to +10 V, 4 to 20 mA Resolution: 1/4000 Process I/O Tempera- CJ1W-PTS51 Thermocouple inputs R, S, K, J, T, L, or B;...
  • Page 524 CJ1W-NC413 4 control axes Open-collector outputs CJ1W-NC433 Line-driver outputs High-speed Counter Unit CJ1W-CT021 Two counter channels, 10 kHz, 50 kHz, or 500 kHz ID Sensor Units CJ1W-V600C11 Connects to one Read/Write Head. CJ1W-V600C12 Connects to two Read/Write Heads. CompoBus/S Master Unit CJ1W-SRM21...
  • Page 525 CJ1W-SCU41-V1 One RS-232C port Units One RS-422A/485 port CJ1W-SCU21-V1 Two RS-232C ports Ethernet Unit CJ1W-ETN21 100Base-TX or 10Base-T Controller Link Unit CJ1W-CLK21 Data exchange: 20,000 words maximum FL-net Unit CJ1W-FLN22 100Base-TX DeviceNet Unit CJ1W-DRM21 Control points: 3,200 maximum (2,000 words)
  • Page 526 CP1W-CN811 Used to install CPM1A Expansion Units and Expan- sion I/O Units in a second row. Only one I/O Connecting Cable can be used in each PLC. This I/O Connecting Cable is required to connect both CJ-series and CPM1A Units.
  • Page 527 Appendix A Standard Models...
  • Page 528: Dimensions Diagrams

    Appendix B Dimensions Diagrams X, XA, and Y CPU Units Four, 4.5 dia. holes Optional Products CP1W-CIF01/CIF11 Option Boards 0.15 16.5 35.9 13.5 16.5 19.7 0.15 16.5 35.9 13.5 15.7 16.5...
  • Page 529 Appendix B Dimensions Diagrams CP1W-ME01M Memory Cassette 18.6 14.7 CPM1A Expansion I/O Units 40-point I/O Units (CPM1A-40EDR/40EDT/40EDT1) 110 100 90 40EDR Four, 4.5 dia. holes...
  • Page 530 Appendix B Dimensions Diagrams 20-point I/O Units (CPM1A-20EDR1/20EDT/20EDT1) 00 01 02 03 04 05 06 07 08 09 10 11 100 0.2 20EDR1 00 01 02 03 04 05 06 07 76 0.2 Two, 4.5 dia. holes 16-point Output Unit (CPM1A-16ER) 90 100 0.2...
  • Page 531 Appendix B Dimensions Diagrams CPM1A Expansion Units CPM1A-MAD01/MAD11 Analog I/O Units 100 0.2 100 0.2 MAD01 I OUT V IN1 COM1 I IN2 V OUT I IN1 V IN2 COM2 56 0.2 76 0.2 Two, 4.5 dia. holes Two, 4.5 dia. holes CPM1A-TS@@@ Temperature Sensor Units 100 0.2...
  • Page 532 Appendix B Dimensions Diagrams CPM1A-DRT21 DeviceNet I/O Link Unit 100 0.2 56 0.2 Two, 4.5 dia. holes CPM1A-SRT21 CompoBus/S I/O Link Unit COMM 100 0.2 SRT21 BD H NC(BS+) BD L NC(BS-) 56 0.2 Two, 4.5 dia. holes...
  • Page 533 Appendix B Dimensions Diagrams Products Related to Using CJ-series Units CP1W-EXT01 CJ Unit Adapter 16.4 65.5 65.5 CJ1W-TER01 End Cover 14.7...
  • Page 534 Appendix B Dimensions Diagrams CJ-series Special I/O Units and CPU Bus Units CJ1W-MCH71 79.8 70.9...
  • Page 535 Appendix B Dimensions Diagrams...
  • Page 536: Auxiliary Area Allocations By Function

    Address Description Access Updated Status of DIP A395.12 The status of pin 6 on the DIP switch on the front of the CPU Unit Read-only Switch Pin 6 is written to this flag every cycle. Manufacturing Lot A310 and The manufacturing lot number is stored in 5 digits hexadecimal. X,...
  • Page 537 Read/Write • Retained when power is turned ON. Counter SV Sets the count value at which the interrupt task will start. The corre- • Retained when opera- sponding interrupt task will start when the interrupt counter has tion starts. counted this number of pulses.
  • Page 538 PLC in last cycle to determine the direction. OFF: Decrementing ON: Incrementing High-speed Counter When the reset method is set to Phase-Z signal + Read/Write • Cleared when power is turned ON. Reset Bit Software reset, the corresponding high-speed counter's PV will be reset if the phase-Z signal is received while this bit is ON.
  • Page 539 PV range: 80000000 to 7FFFFFFF hex (-2,147,483,648 to 2,147,483,647) • Cleared when operation starts. When pulses are being output in the CW direction, the PV • Updated each cycle during over- is incremented by 1 for each pulse.
  • Page 540 ON: Outputting pulses. stops. • Updated when pulse output starts or stops. Pulse Output Stop If a Pulse Output Stop Error occurs, the error code is writ- Read-only • Cleared when power is turned Error Code ten to this word.
  • Page 541 PROGRAM to RUN or MONITOR, for example). Initial Task Execution Flag A200.15 ON when a task is executed for the first time, i.e., when it Read-only changes from INI to RUN status. Task Started Flag A200.14...
  • Page 542: Data Tracing

    5A. Output Control Name Address Description Access Updated Output OFF Bit A500.15 Turn this bit ON to turn OFF all outputs from the CPU Read/write Unit, CPM1A Units, and Special I/O Units. Differentiate Monitor Name Address Description Access Updated Differentiate Monitor Com- A508.09...
  • Page 543: Comment Memory

    Error Log Area (A100 to A199). Error Log Pointer Reset Bit A500.14 Turn this bit ON to reset the Error Log Pointer (A300) to Read/write Error Code A400...
  • Page 544 Description Access Updated Other Fatal Error Flag A401.00 ON when a fatal error that is not defined for A401.01 to A401.15 occurs. Detailed information is output to the bits of A314. OFF: No other fatal error ON: Other fatal error Program Error Flag A401.09...
  • Page 545 10 ms during I/O refreshing of a Special I/O Unit. This flag will also be turned ON if an attempt is made to refresh a Special I/O Unit’s I/O from an interrupt task with IORF(097) while the Unit’s I/O is being updated by cyclic I/O refreshing (duplicate refreshing).
  • Page 546 Read-only Number Flags A417.15 CPU Unit and an CPU Bus Unit, the CPU Bus Unit Error Flag (A402.07) is turned ON and the bit in A417 corre- sponding to the unit number of the Unit where the error occurred is turned ON. Bits 00 to 15 correspond to unit numbers 0 to F.
  • Page 547 Name Address Description Access Updated Clock Data The clock data from the clock built into the CPU Unit is stored here in BCD. Read-only A351.00 to A351.07 Seconds: 00 to 59 (BCD) A351.08 to A351.15 Minutes: 00 to 59 (BCD) A352.00 to A352.07...
  • Page 548 Description Access Updated User Program Date A90 to A93 These words contain in BCD the date and time that the Read-only user program was last overwritten. A90.00 to A90.07: Seconds (00 to 59) A90.08 to A90.15: Minutes (00 to 59) A91.00 to A91.07: Hour (00 to 23)
  • Page 549 OFF the next time the Memory Cassette is accessed normally (initialized, written, read, or compared). A342.12: ON when the data in the CPU Unit is not the same as the data in the Memory Cassette when a verification operation is performed.
  • Page 550 UM Read Protection A99.12 Indicates when UM read protection cannot be released Read-only Release Enable Flag because an incorrect password was input five times con- secutively. OFF: Protection can be released ON: Protection cannot be released Task Read Protection A99.13...
  • Page 551 Delay accessing them for at least one cycle. First Cycle Flags after Net- A215.00 to Each flag will turn ON for just one cycle after a communi- Read-only work Communications Error A215.07 cations error occurs. Bits 00 to 07 correspond to ports 0 to 7.
  • Page 552 These flags indicate what kind of error has occurred at Read/write A528.15 the serial port 1. Serial Port 1 Send Ready A392.13 ON when the serial port 1 is able to send data in no-pro- Read-only Flag tocol mode. (No-protocol Mode) Serial Port 1 Reception A392.14...
  • Page 553 These flags indicate what kind of error has occurred at Read/write A528.07 the serial port 2. RS-232C Port Send Ready A392.05 ON when the serial port 2 is able to send data in no-pro- Read-only Flag tocol mode. (No-protocol mode) RS-232C Port Reception A392.06...
  • Page 554 OFF: Execution normal or still in progress. Note DM fixed allocation words for Modbus-RTU Easy Master for serial port 1: D32200 to D32299 DM fixed allocation words for Modbus-RTU Easy Master for serial port 2: D32300 to D32399 Instruction-related Information...
  • Page 555 OMRON FB Library to execute FINS messages or DeviceNet explicit messages communications. The values set in the Settings for OMRON FB Library in the PLC Setup will be automatically stored in the related Auxiliary Area words A580 to A582 and used by...
  • Page 556: Auxiliary Area Allocations By Address

    Free used after the power is turned ON. 10 ms after Running power is A value of 0000 hex is set when the Timer turned ON power is turned ON and this value is automatically incremented by 1 every 10 ms.
  • Page 557 These words contain in BCD the Retained Retained --- Date date and time that the parameters were last overwritten. The format is the same as above. A99.00 UM Read Pro- Indicates whether the entire user OFF: UM not Retained Retained When pro-...
  • Page 558 20 most recent errors can be Aux. Area stored. word with Each error record occupies 5 words; details or the function of these 5 words is as 0000. follows: Seconds: 1) Error code (bits 0 to 15) 00 to 59, BCD...
  • Page 559 (port busy) flag as an execution condition to pre- vent the instructions from being exe- cuted simultaneously. (The flag for a given port is turned OFF while a network instruction with that port number is being executed.) A202.15 Network Com-...
  • Page 560 A214.07 Network Com- been completed. Bits 00 to 07 corre- communica- munications spond to ports 0 to 7. Use the Used tions finish Finished Communications Port Number stored only in A218 to determine which flag to OFF: Other access.
  • Page 561 Present Cycle These words contain the present 0 to Time cycle time in 8-digit hexadecimal with FFFFFFFF: A265 the leftmost 4 digits in A265 and the 0 to rightmost 4 digits in A264. 429,496,729. 5 ms A270 High-speed Contains the PV of high-speed...
  • Page 562 Counter 0 speed counter is currently being used for incremented or decremented. The high-speed Count Direc- counter PV for the current cycle is counter, tion compared with the PLC in last cycle valid dur- to determine the direction. ing counter operation.
  • Page 563 The high-speed Count Direc- counter PV for the current cycle is counter, tion compared with the PC in last cycle to valid dur- determine the direction. ing counter operation. OFF: Decrementing ON: Incrementing A276...
  • Page 564 ON: Stop error occurred. put stop error occurs. A281 A281.00 Pulse Output This flag will be ON when pulses are Cleared Refreshed 1 Accel/Decel being output from pulse output 1 each cycle Flag according to an ACC(888) or...
  • Page 565 A281.02 Pulse Output ON when the number of output Cleared Refreshed 1 Output pulses for pulse output 1 has been when the Amount Set set with the PULS(886) instruction. PULS(886) Flag instruction Cleared when operation starts or is exe- stops.
  • Page 566 (A298 and A299 contain the program tasks: 8000 to address where program execution 80FF (task 0 was stopped.) to 255) A295 A295.08 Instruction This flag and the Error Flag (ER) will ON: Error Cleared Cleared When pro- A294, Processing be turned ON when an instruction...
  • Page 567 The Error Log Pointer can be cleared to 00 by turning A500.14 (the Error Log Reset Bit) ON. When the Error Log Pointer has reached 14 hex (20 decimal), the next record is stored in A195 to A199 when the next error occurs.
  • Page 568 A501.15 ON: Initializ- (A501.00 to A501.15) is turned ON or the power is turned ON. (Reset to 0 Bits 00 to 15 correspond to unit num- automatically bers 0 to 15. after initializa- Use these flags in the program to tion.)
  • Page 569 Counter 2 speed counter is currently being used for incremented or decremented. The high-speed Count Direc- counter PV for the current cycle is counter, tion compared with the PLC in last cycle valid dur- to determine the direction. ing counter operation.
  • Page 570 The high-speed Count Direc- counter PV for the current cycle is counter, tion compared with the PC in last cycle to valid dur- determine the direction. ing counter operation. OFF: Decrementing ON: Incrementing...
  • Page 571 (SPED(885), ACC(888), or PLS2(887)) is executed. A326 A326.00 Pulse Output This flag will be ON when pulses are Cleared Refreshed 2 Accel/Decel being output from pulse output 2 each cycle Flag according to an ACC(888) or...
  • Page 572 ON: Stop error occurred. put stop error occurs. A327 A327.00 Pulse Output This flag will be ON when pulses are Cleared Refreshed 3 Accel/Decel being output from pulse output 3 each cycle Flag according to an ACC(888) or...
  • Page 573 ON or the power is turned ON. (Reset to 0 The bits in these words correspond automatically to unit numbers 0 to 95 as follows: after initializa- A330.00 to A330.15: Units 0 to 15 tion.) A331.00 to A331.15: Units 16 to 31 ---- A335.00 to A335.15: Units 80 to 95...
  • Page 574 OFF the next time the Memory Cas- sette is accessed normally (initial- ized, written, read, or compared). A342.12 Memory Cas- ON the data in the CPU Unit is not OFF: Match Retained Cleared sette Mis- the same as the data in the Memory...
  • Page 575 2. (Not valid in Periph- when error OFF: No error eral Bus Mode or NT Link mode.) occurs. A392.05 Serial Port 2 ON when the serial port 2 is able to ON: Able-to- Retained Cleared Written Send Ready send data in no-protocol mode.
  • Page 576 PT in NT Link or Serial is a nor- OFF: Not PLC Link mode. communicat- response Bits 0 to 7 correspond to units 0 to 7. to the token. A393.08 Serial Port 2 The corresponding bit will be ON for...
  • Page 577 1 is communicating in NT umn. OFF: Priority Flags link mode. not registered Bits 0 to 7 correspond to units 0 to 7. These flags are written when the pri- ority registration command is received. A394.00 Serial Port 1...
  • Page 578 CPU Unit operation will stop and the A298 and ERR/ALM indicator on the front of A299 the CPU Unit will light. The task num- ber where the error occurred will be stored in A294 and the program address will be stored in A298 and A299.
  • Page 579 ON: Error Cleared Cleared Refreshed A404 Flag when error • When an error occurs in a data OFF: No error occurs. (fatal error) transfer between the CPU Unit and a CPM1A Expansion Unit or Expansion I/O Unit. If this hap- pens, 0A0A hex will be output to A404.
  • Page 580 10 ms during error) (Detect I/O refreshing of a Special I/O Unit. Interrupt This flag will also be turned ON if an Task attempt is made to refresh a Special Errors set- I/O Unit’s I/O from an interrupt task ting) with IORF(097) while the Unit’s I/O is...
  • Page 581 OFF: No error Transfer Error occurs during automatic transfer. An power is Flag error will occur if there is a transfer turned ON. error, the specified file does not exist, or the Memory Cassette is not installed. (This flag will be turned OFF when the error is cleared by turning the power OFF.
  • Page 582 Special I/O Unit’s unit num- duplication ber has been duplicated. Bits A411.00 to A416.15 correspond to unit numbers 000 to 05F (0 to 95). CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
  • Page 583 Error Cause Error Flag) is ON, this flag indicates cated refresh- A426.00 Flag the cause of the error. The CPU Unit will continue operating and the ERR/ A426.11 ALM indicator on the front of the CPU Unit will flash. This flag turns ON when an attempt...
  • Page 584 A439 Pulse Output If a Pulse Output Stop Error occurs Retained Cleared Refreshed 3 Stop Error for pulse output 3, the error code is when ori- Code stored. gin search starts. Refreshed when a pulse out- put stop error occurs.
  • Page 585 Flags, Word Bits mode Settings change A500 A500.12 IOM Hold Bit Turn this bit ON to preserve the sta- ON: Retained Retained See tus of the I/O Memory when shifting Function Function Setup OFF: Not from PROGRAM to RUN or MONI- column.
  • Page 586 Completed ing execution of differentiation moni- established Flag toring. OFF: Not yet (This flag will be cleared to 0 when established differentiation monitoring starts.) A508.11 Trace Trig- ON when a trigger condition is estab- ON: Trigger Retained Cleared ger Monitor...
  • Page 587 A526.00 Serial Port 2 Turn this bit ON to restart the serial OFF to ON: Retained Cleared Restart Bit port 2. (Do not use this bit when the Restart port is operating in Peripheral Bus Mode.) This bit is turned OFF automatically when the restart processing is com- pleted.
  • Page 588 2 is restarted. parity error. (These flags are not valid in periph- Bit 03: ON for eral bus mode and only bit 5 is valid framing error. in NT Link mode.) Bit 04: ON for PLC Link Polling Unit: overrun error.
  • Page 589 Flags, Word Bits mode Settings change A531 A531.08 High-speed When a counter's Gate Bit is ON, the Retained Cleared Counter 0 counter's PV will not be changed Gate Bit even if pulse inputs are received for the counter. A531.09 High-speed...
  • Page 590 0 Posi- input signal used in the origin search tioning for pulse output 0. The input signal Completed from the servo driver is output to this Signal bit from the ladder program to enable using the signal. A541 A541.00 Pulse Out-...
  • Page 591 Monitoring Time Note These Auxiliary Area bits/words are not to be written by the user. The number of resends and response monitoring time must be set by the user in the FB communications instructions settings in the PLC Setup, particularly when using function blocks from the OMRON FB Library to execute FINS messages or DeviceNet explicit messages communications.
  • Page 592 Unit 0, OFF: Not settings have been changed. Port 2 Set- changing tings Chang- It is also possible for the user to indicate ing Flag a change in serial port settings by turn- ing these flags ON. A620.03 Communica- ON: Changing...
  • Page 593 15, Ports changing 1 to 4 Set- tings Chang- ing Flag A640 A640.00 Serial Port 2 Turn ON this bit to send a command Turned ON: Retained Cleared DM fixed Modbus- and receive a response for serial port 2 Execution...
  • Page 594 Word Bits mode Settings change A720 to Power ON These words contain the time at which See at left. Retained Retained Written A722 Clock Data 1 the power was turned ON one time when before the startup time stored in words power is A510 to A511.
  • Page 595 DM Initial values area was not spec- (failed to save) Error Flag ified when starting to transfer DM initial values from the DM Area to the DM ini- tial value area in flash memory. A751.13 DM Initial ON when an error occurred in transfer-...
  • Page 596 Area Speci- fication Note The following flags are provided in a special read-only area and can be specified with the labels given in the table. These flags are not contained in the Auxiliary Area. Refer to 4-18 Condition Flags and 4-19 Clock Pulses for details.
  • Page 597 Error record The following data would be generated in an error record if a memory error (error code 80F1) occurred on 1 April 1998 at 17:10:30 with the error located in the PLC Setup (04 hex). The following data would be generated in an error record if an FALS error with FALS number 001 occurred on...
  • Page 598 3. The contents of the error flags for a duplicate number error are as follows: Bits 00 to 07: Unit number (binary), 00 to 5F hex for Special I/O Units, 00 to 0F hex for CPU Bus Units Bits 08 to 14: All zeros.
  • Page 599 A202.00 to A202.07: Communications Port Enabled Flags Port 0 SEND Port 1 PMCR Port 7 Instruction Network communications in- execution struction executed for port 0. A202.00 A202.00 The program is designed so that CMND(490) will be executed only when A202.00 is ON.
  • Page 600 Stored Stored Stored Error record 20 next A501.00 to A501.15: CPU Bus Unit Restart Bits and A302.00 to A302.15: CPU Bus Unit Initialization Flags Automatically turned OFF by system. Example: Unit No. 1 CPU Bus Unit Restart Bits A501.01 (or at startup) CPU Bus Unit Initialization Flags A302.01...
  • Page 601 A295.11 Illegal Area Access Error Flag A295.10 Indirect DM Addressing Error Flag A295.09 Instruction Processing Error Flag (ER A295.08 Flag goes ON) A426.15: Interrupt Task Error Cause Flag Special I/O Unit Interrupt task 10 ms max. IORF(097) instruction I/O refresh...
  • Page 602: Memory Map

    Parameter Areas: These areas contain CPU Unit system setting data, such as the PLC Setup, CPU Bus Unit Setups, etc. An illegal access error will occur if an attempt is made to access any of the parameter areas from an instruction in the user program.
  • Page 603 Appendix E Memory Map Memory Map Note Do not access the areas indicated Reserved for system. Classification PLC memory User addresses Area addresses (hex) Parameter 00000 to 0B0FF PLC Setup Area areas Routing Table Area CPU Bus Unit Setup Area...
  • Page 604: Connections To Serial Communications Option Boards

    Reducing Electrical Noise for External Wiring Observe the following precautions when wiring communications cables, PLC power lines, and high-power lines. When multi-conductor signal cable is being used, avoid using I/O wires and other control wires in the same cable. • If wiring racks are running in parallel, allow at least 300 mm between the racks.
  • Page 605 Appendix F Connections to Serial Communications Option Boards • If the I/O wiring and power cables must be placed in the same duct, they must be shielded from each other using grounded steel sheet metal. PLC power supply and general control...
  • Page 606 Appendix F Connections to Serial Communications Option Boards Connections for Host Link Communications Port connections for Host Link communications are shown in the following table. Up to 32 nodes can be con- nected for 1:N connections. Port Config- Schematic diagram, RS-232C ports...
  • Page 607 XW2Z-070T-1: 0.7 m XW2Z-200T-1: 2 m !Caution Do not use the 5-V power from pin 6 of the RS-232C Option Board for anything but the NT- AL001-E Link Adapter. Using this power supply for any other external device may damage the...
  • Page 608 Pin 2: ON (terminating resistance) Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: ON Note We recommend using the following NT-AL001-E Link Adapter Connecting Cables to connect to NT- AL001-E Link Adapters. XW2Z-070T-1: 0.7 m XW2Z-200T-1: 2 m...
  • Page 609 Appendix F Connections to Serial Communications Option Boards 1:1 Connections Using RS-422A/485 Port CPU Unit Computer NT-AL001-E Link Adapter Signal RS-422A Signal Signal Signal /485 Shield Option Board RS-232C Interface 4-wire Terminating resistance ON D-sub, 9-pin Terminal block connector (male)
  • Page 610 Board D-sub, 9-pin D-sub, 9-pin connector (male) connector (male) • Communications Mode: Host Link (unit number 0 only for Host Link) NT Link (1:N, N = 1 Unit only) • OMRON Cables with Connectors: XW2Z-200T-1: 2 m XW2Z-500T-1: 5 m 1:1 Connections from RS-422A/485 to RS-422A/485 Ports (See note 2.)
  • Page 611 (1) RS-422A/485 Option Board settings: Terminating resistance ON, 4-wire. (2) The terminating resistant setting shown above is an example for the NT631/NT631C. The setting method varies with the PT. Refer to the manual for you PT for details. 1:N, 4-wire Connections from RS-422A/485 to RS-422A/485 Ports...
  • Page 612 5-V power Note (1) The maximum cable length for RS-232C is 15 m. The RS-232C standard, however, does not cover baud rates above 19.2 Kbps. Refer to the manual for the device being connected to confirm support. (2) The combined cable length for RS-422A/485 is 500 m including branch lines.
  • Page 613 5-V power Note (1) The maximum cable length for RS-232C is 15 m. The RS-232C standard, however, does not cover baud rates above 19.2 Kbps. Refer to the manual for the device being connected to confirm support. (2) The CP1W-CIF11 is a non-isolated board, so the maximum transmission distance is 50 m. For dis- tances over 50 m, use the RS-232C port on the CP1W-CIF01 and then connect through the NT- AL001-E Link Adapter, which is isolated.
  • Page 614 RS-232C: Terminal Block Shield Signal Terminal D-sub, 9-pin connector (male) Connections to a Host Computer CPU Unit Computer RS232-C Option Board D-sub, 9-pin connector (male) Connections to a Personal Computer with RTS-CTS Flow Control CPU Unit RS-232C Option Board Computer...
  • Page 615 Pin 5: OFF Pin 5: OFF Pin 6: ON Pin 6: OFF Note We recommend using the following NT-AL001-E Link Adapter Connecting Cables to connect to NT- AL001-E Link Adapters. XW2Z-200T-1: 2 m XW2Z-500T-1: 5 m Connections to a Modem...
  • Page 616 Pin 2: ON Terminating resistance Pin 3: ON 2-wire Pin 4: ON Pin 5: OFF Pin 6: ON Note We recommend using the following NT-AL001-E Link Adapter Connecting Cables to connect to NT- AL001-E Link Adapters. XW2Z-070T-1: 0.7 m XW2Z-200T-1: 2 m...
  • Page 617 Appendix F Connections to Serial Communications Option Boards 1:1 Connections Using RS-422A/485 Ports Device supporting Device supporting RS-422A/485 RS-422A/485 communications communications (4-wire) (2-wire) CPU Unit Serial Communications Board/Unit Signal Signal Pin Signal Pin Shield Signal Shield RS-422A /485 in- RS-422A...
  • Page 618 Appendix F Connections to Serial Communications Option Boards 1:N Connections Using RS-422A/485 Ports Device supporting RS-422A/485 CPU Unit communications (2-wire) Signal Signal RS-422A/ 485 inter- RS-422A/ face Option Board Terminal block Device supporting RS-422A/485 communications (2-wire) Signal RS-422A/ 485 inter-...
  • Page 619 Board D-sub, 9-pin D-sub, 9-pin connector (male) connector (male) • Communications Mode: Host Link (unit number 0 only for Host Link) NT Link (1:N, N = 1 Unit only) • OMRON Cables with Connectors: XW2Z-070T-1: 0.7 m XW2Z-200T-1: 2 m...
  • Page 620 (1) RS-422A/485 Option Board settings: Terminating resistance ON, 4-wire. (2) The terminating resistant setting shown above is an example for the NT631/NT631C. The setting method varies with the PT. Refer to the manual for you PT for details. 1:N, 2-wire Connections from RS-422A/485 to RS-422A/485 Ports...
  • Page 621 Note The CP1W-CIF11 is not insulated, so the total transmission distance for the whole transmission path is 50 m max. If the total transmission distance is greater than 50 m, use the insulated NT-AL001-E, and do not use the CP1W-CIF11. If the NT-AL001-E is used, the total transmission distance for the whole trans- mission path is 500 m max.
  • Page 622: Connection Examples

    Pin No. 4: OFF Pin No. 4: OFF Pin No. 4: OFF Pin No. 5: OFF (No RS control for RD.) Pin No. 5: OFF (No RS control for RD.) Pin No. 5: OFF (No RS control for RD.) Pin No. 6: ON (With RS control for SD.) Pin No.
  • Page 623 Hitachi Cable, Ltd. 5Px28AWG (7/0.127) (non-UL product) 2. Combine signal wires and SG (signal ground) wires in a twisted-pair cable. At the same time, bundle the SG wires to the connectors on Option Board and the remote device. 3. Connect the shield of the communications cable to the Hood (FG) terminal of the RS-232C connector on the Option Board.
  • Page 624 Manufacturer CO-HC-ESV-3Px7/0.2 Hirakawa Hewtech Corp. 2. Connect the shield of the communications cable to the FG terminal on the RS-422A/485 Option Board. At the same time, ground the ground (GR) terminal of the CPU Unit to 100 or less. Note Always ground the shield only at the RS-422A/485 Option Board end. Grounding both ends of the shield may damage the device due to the potential difference between the ground terminals.
  • Page 625 70 cm XW2Z-070T-1 XW2Z-200T-1 It is recommended that one of these cables be used to connect the RS-232C port on the Option Board to the NT-AL001-E RS-232C/RS-422 Link Adapter. The recommended wiring for these cables is shown below. • Wiring for the Recommended Cables (XW2Z-070T-1 and XW2Z-200T-1, 10-conductor Cables)
  • Page 626 See the following diagrams for the length of the cable portion to be cut in each step. Shield Connected to Hood (FG) 1. Cut the cable to the required length. 2. Remove the specified length of the sheath from the cable using a knife. Be careful not to scratch the braided shield. 25 mm (RS-422A) 40 mm (RS-232C) 3.
  • Page 627 Soldering iron Heat-shrinking tube Inside diameter: 1.5 mm, l = 10 4. Return the heat-shrinking tube to the soldered portion, then heat the tube to shrink it in place. Heat-shrinking tube Assembling Connector Hood Assemble the connector hood as shown below.
  • Page 628: F Connections To Serial Communications Option Boards

    Appendix F Connections to Serial Communications Option Boards Connecting to Unit...
  • Page 629 Appendix F Connections to Serial Communications Option Boards...
  • Page 630: Plc Setup

    (See note.) mode Monitor: MONITOR 8001 hex mode Run: RUN mode 8002 hex Note A Programming Console cannot be connected to the CP1H. If the default setting, “Use programming console,” is set, the CPU Unit will start in RUN mode.
  • Page 631: Background Execution Settings

    0: Port 0 At start of operation 00 to 0 hex cal number) 7: Port 7 7 hex Comms Instructions Settings in FB: Settings for Communications Instructions in Function Blocks Name Default Settings When setting is read Internal Bits Settings...
  • Page 632 Appendix G PLC Setup Timings: Time and Interrupt Settings Cycle Time Settings Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Watch Cycle Time Use default. Use default. At start of operation (default 1000 ms) (Default: 1 s) Use user setting.
  • Page 633: Input Constant Settings

    Appendix G PLC Setup Input Constant Settings Input Constant (0-17CH): Input Constant Settings for CIO 0 to CIO 17 Name Default Settings When setting is read Internal Bits Settings by CPU Unit address 0CH: CIO 0 8 ms No filter (0 ms)
  • Page 634 Communications Settings Standard Standard (9600; 1,7,2,E) Every cycle (9600; 1,7,2,E) (The standard settings are as follows: 9,600 baud, 1 start bit, 7-bit data, even parity, and 2 stop bits.) Custom Mode Host Link Host Link Every cycle 08 to...
  • Page 635 Appendix G PLC Setup Name Default Settings When setting is read Internal Bits Settings by CPU Unit address NT Link (1:N): 1:N NT Links 2-2-1 Baud 9,600 38,400 (standard) Every cycle 00 to 00 hex (disabled) 115,200 (high speed) 0A hex...
  • Page 636 38,400 bps 08 hex 57,600 bps 09 hex 115,200 bps 0A hex 2-5-2 Format 7,2,E: 7-bit 7,2,E: 7-bit data, 2 stop Every cycle 00 to 0 hex (data data, 2 stop bits, even parity length, bits, even parity 7,2,O: 7-bit data, 2 stop...
  • Page 637 Appendix G PLC Setup Name Default Settings When setting is read Internal Bits Settings by CPU Unit address PC Link (Slave) 2-6-1 Baud 9,600 bps 38,400 (standard) Every cycle 00 to 00 hex (disabled) 115,200 (high speed) 0A hex 2-6-2...
  • Page 638 Communications Settings Standard Standard (9600; 1,7,2,E) Every cycle (9600 ; 1,7,2,E) (The standard settings are as follows: 9,600 baud, 1 start bit, 7-bit data, even parity, and 2 stop bits.) Custom Mode Host Link Host Link Every cycle 08 to...
  • Page 639 38,400 bps 08 hex 57,600 bps 09 hex 115,200 bps 0A hex 2-3-2 Format 7,2,E: 7-bit 7,2,E: 7-bit data, 2 stop Every cycle 00 to 0 hex (data data, 2 stop bits, even parity length, bits, even parity 7,2,O: 7-bit data, 2 stop...
  • Page 640 38,400 bps 08 hex 57,600 bps 09 hex 115,200 bps 0A hex 2-5-2 Format 7,2,E: 7-bit 7,2,E: 7-bit data, 2 stop Every cycle 00 to 0 hex (data data, 2 stop bits, even parity length, bits, even parity 7,2,O: 7-bit data, 2 stop...
  • Page 641 Appendix G PLC Setup Name Default Settings When setting is read Internal Bits Settings by CPU Unit address PC Link (Slave) 2-6-1 Baud 9,600 bps 38,400 (standard) Every cycle 00 to 00 hex (disabled) 115,200 (high speed) 0A hex 2-6-2...
  • Page 642 Appendix G PLC Setup Peripheral Service Settings Set Time to All Events: Time Setting for Services Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Set time to all events Default Default At start of operation (4% of cycle time) Use user setting.
  • Page 643 Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Use high speed counter 2 Do not use. Do not use. When power is turned 12 to 0 hex Use. 1 hex Counting mode Linear mode...
  • Page 644: Pulse Output 0 Settings

    Quick 2 hex Normal Normal When power is turned 08 to 0 hex (CIO 0.02) Interrupt 1 hex (Y CPU Units: CIO 1.00) Quick 2 hex Normal Normal When power is turned 12 to 0 hex (CIO 0.03) Interrupt 1 hex (Y CPU Units: CIO 1.01)
  • Page 645 Appendix G PLC Setup Define Origin Operation Settings: Origin Search Settings Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Use define origin opera- Do not use. Do not use. When power is turned 00 to...
  • Page 646 Appendix G PLC Setup Origin Return Settings Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Speed 0 pps 1 pps At start of operation 271 and 00 to 15 0000 0001 (disabled) 100,000 pps (maxi-...
  • Page 647: Pulse Output 1 Settings

    CPU Unit address Undefined Origin (oper- Hold Hold At start of operation 12 to 0 hex ation for limit signal turn- Undefined 1 hex ing ON) Limited Input Signal Search Only Search Only When power is turned 04 to...
  • Page 648 Appendix G PLC Setup Define Origin Operation Settings: Origin Search Settings Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Use define origin opera- Do not use. Do not use. When power is turned 00 to...
  • Page 649 Appendix G PLC Setup Origin Return Settings Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Speed 0 pps 1 pps At start of operation 289 and 00 to 15 0000 0001 (disabled) 100,000 pps (maxi-...
  • Page 650 CPU Unit address Undefined Origin (oper- Hold Hold At start of operation 12 to 0 hex ation for limit signal turn- Undefined 1 hex ing ON) Limited Input Signal Search Only Search Only When power is turned 04 to...
  • Page 651 Appendix G PLC Setup Define Origin Operation Settings: Origin Search Settings Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Use define origin opera- Do not use. Do not use. When power is turned 00 to...
  • Page 652 Appendix G PLC Setup Origin Return Settings Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Speed 0 pps 1 pps At start of operation 395 and 00 to 15 0000 0001 (disabled) 30,000 pps...
  • Page 653 CPU Unit address Undefined Origin (oper- Hold Hold At start of operation 12 to 0 hex ation for limit signal turn- Undefined 1 hex ing ON) Limited Input Signal Search Only Search Only When power is turned 04 to...
  • Page 654 Appendix G PLC Setup Define Origin Operation Settings: Origin Search Settings Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Use define origin opera- Do not use. Do not use. When power is turned 00 to...
  • Page 655 CPU Unit address Built-in analog resolution 6,000 6,000 (Resolution) When power is turned (for all analog I/O) (Resolution) 12,000 (Resolution) AD 0CH/AD 1CH/AD 2CH/AD 3CH: Analog Input Settings Name Default Settings When setting is read Internal Bits Settings by CPU Unit...
  • Page 656 3 hex 0 to 20 mA 4 hex 4 to 20 mA 5 hex SIOU Refresh: Special I/O Unit Refresh Settings Disable SIOU Cyclic Refresh: Special I/O Unit Refresh Disable Settings Name Default Settings When setting is read Internal Bits...
  • Page 657 Appendix G PLC Setup Name Default Settings When setting is read Internal Bits Settings by CPU Unit address SIOU 15 Disable. Disable. At start of operation Enable. SIOU 16 Disable. Disable. Enable. SIOU 31 Disable. Disable. At start of operation Enable.
  • Page 658 Appendix G PLC Setup FINS Protection Settings Settings for FINS Write Protection via Network Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Validate FINS write pro- Disable. Disable. Every cycle tection via network Enable.
  • Page 659 Appendix G PLC Setup...
  • Page 660: Index

    Index Condition Flag saving and loading status absolute coordinates Condition Flags selecting coordinate systems (absolute or relative) absolute pulse outputs Counter Area Access Error Flag countermeasures addresses noise xxix memory map CPU Bus Unit Area Always OFF Flag CPU Bus Units...
  • Page 661 Expansion I/O Racks ports troubleshooting Host Link commands external interrupts response time Host Link communications hot starting hot stopping failure point detection FAL Error Flag FAL errors I/O Hold Bit xxvii flag I/O interrupts FAL/FALS Number for System Error Simulation response time...
  • Page 662 Index I/O memory Less Than or Equals Flag addresses Limit Input Signal Type areas linear mode counting effects of operating mode changes details I/O response time Link Area calculating Low Voltage Directive xxviii immediate refreshing input bits and words increment mode...
  • Page 663 Index effects of mode changes on counters Polling Unit setting operation debugging Polling Unit link method trial operation positioning Origin Compensation vertically conveying PCBs Origin Detection Method Positioning Monitor Time Origin Input Signal Type power interruptions information Origin Proximity Input Signal Type...
  • Page 664 Index details words allocated to Special I/O Units specifications PWM(891) output startup hot starting and stopping radioactivity xxiv static electricity xxiv read/write-protection Step Flag refreshing stocker immediate refreshing IORF(097) refreshing data relative coordinates selecting target value comparison reset methods for interrupt tasks...
  • Page 665 Index work words write-protection...
  • Page 666: Revision History

    Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W450-E1-02 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 667 Revision History...
  • Page 668 Regional Headquarters OMRON EUROPE B.V. Wegalaan 67-69, NL-2132 JD Hoofddorp The Netherlands Tel: (31)2356-81-300/Fax: (31)2356-81-388 OMRON ELECTRONICS LLC 1 East Commerce Drive, Schaumburg, IL 60173 U.S.A. Tel: (1)847-843-7900/Fax: (1)847-843-8568 OMRON ASIA PACIFIC PTE. LTD. 83 Clemenceau Avenue, #11-01, UE Square,...
  • Page 669 Authorized Distributor: Cat. No. W450-E1-02 Note: Specifications subject to change without notice Printed in Japan This manual is printed on 100% recycled paper.

Table of Contents