Omron CP1L Operation Manual

Omron CP1L Operation Manual

Sysmac cp series
Hide thumbs Also See for CP1L:
Table of Contents

Advertisement

Quick Links

Cat. No. W471-E1-04
SYSMAC CP Series
CP1L-J_D_
CP1L-L_D_
CP1L-M_D_
CP1L CPU Unit
OPERATION MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Omron CP1L

  • Page 1 Cat. No. W471-E1-04 SYSMAC CP Series CP1L-J_D_ CP1L-L_D_ CP1L-M_D_ CP1L CPU Unit OPERATION MANUAL...
  • Page 3 CP1L-J14D@-@ CP1L-J20D@-@ CP1L-L10D@-@ CP1L-L14D@-@ CP1L-L20D@-@ CP1L-M30D@-@ CP1L-M40D@-@ CP1L-M60D@-@ CP1L CPU Unit Operation Manual Revised August 2008...
  • Page 5  OMRON, 2007 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 6 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 7 Procedure When the Device Type and CPU Type Are Known 1,2,3... 1. Set the Device Type Field in the Change PLC Dialog Box to CP1L . 2. Click the Settings Button by the Device Type Field and, when the Device Type Settings Dialog Box is displayed, set the CPU Type Field to J, L, L10 or M .
  • Page 8 3. Go online and select PLC - Edit - Information The PLC Information Dialog Box will be displayed. Unit version Use the above display to confirm the unit version of the CPU Unit. viii...
  • Page 9 If you don't know the device type and CPU type that are connected directly to the CPU Unit on a serial line, select PLC - Auto Online to go online, and then select PLC - Edit - Information from the menus.
  • Page 10 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 11 CP/CPM1A-series Expansion I/O Unit Wiring ........
  • Page 12: Table Of Contents

    Serial Communications ........... . . Analog Adjuster and External Analog Setting Input.......
  • Page 13 Appendices........
  • Page 14 Index..........721 Revision History ........727...
  • Page 15: About This Manual

    OMRON’s advanced control technologies and vast experience in automated control. Please read this manual carefully and be sure you understand the information provided before attempting to install or operate a CP-series PLC. Be sure to read the precautions provided in the fol- lowing section.
  • Page 16 Section 4 describes the structure and functions of the I/O Memory Areas and Parameter Areas. Section 5 describes the CP1L’s interrupt and high-speed counter functions. Section 6 describes all of the advanced functions of the CP1L that can be used to achieve specific application needs.
  • Page 17: Related Manuals

    Related Manuals The following manuals are used for the CP1L CPU Units. Refer to these manuals as required. Cat. No. Model numbers Manual name Description W462 CP1L-J14D@-@ SYSMAC CP Series Provides the following information on the CP Series: CP1L-J20D@-@ CP1L CPU Unit Oper- •...
  • Page 18 Provides operating procedures for creating protocol tion Manual macros (i.e., communications sequences) with the CX-Protocol and other information on protocol mac- ros. The CX-Protocol is required to create protocol mac- ros for user-specific serial communications or to customize the standard system protocols. W342 CS1G/H-CPU@@H...
  • Page 19 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 20 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 21 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 22 xxii...
  • Page 23 Conformance to EC Directives ........
  • Page 24: 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 25 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 26: 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 27: 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 28 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 29 • 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 30: 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 31 Countermeasures Countermeasures are not required if the frequency of load switching for the whole system with the PLC included is less than 5 times per minute. Countermeasures are required if the frequency of load switching for the whole system with the PLC included is more than 5 times per minute.
  • Page 32: Conditions For Meeting Emc Directives When Using Cp/Cpm1A Relay Expansion I/O Units

    Conformance to EC Directives 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 Providing a dark current of Providing a limiting resistor approx. one-third of the rated...
  • Page 33 Conformance to EC Directives 2. Connection Method As shown below, connect a ferrite core to each end of the CP1W-CN811 I/O Connecting Cable. SYSMAC CP1L L2/N 40EDR xxxiii...
  • Page 34 Conformance to EC Directives xxxiv...
  • Page 35: Features And System Configuration

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

    1-1-1 CP1L Overview The SYSMAC CP1L PLCs are the low end PLCs in the SYSMAC CP Series of package-type Programmable Controllers. They have the smallest program and I/O capacity. The CP1L PLCs are the same size as the CPM1A and CPM2A PLCs, but offer many more features and high performance.
  • Page 37 2 PWM outputs CPU Units with transistor outputs only. • Four high-speed counters for two axes and two pulse outputs for two axes can be used with the CPU Unit alone. • Using CP-series Expansion Units also allows extra functions (such as temperature sensor inputs) to be added.
  • Page 38: Features And Main Functions

    CPU Units with 14 I/O Points: CP1L-L14D@-@ and CP1L-J20D@-@ CP1L-J14D@-@ • The CPU Unit has 12 inputs and 8 outputs built in. • The CPU Unit has 8 inputs and 6 outputs built in. • The PLC can be expanded to a maximum total of •...
  • Page 39 2 PWM outputs CPU Units with transistor outputs only. • Four high-speed counters for two axes and two pulse outputs for two axes can be used with the CPU Unit alone. • Using CP-series Expansion Units also allows extra functions (such as temperature sensor inputs) to be added.
  • Page 40 J models : 2 axes, 20kHz (transistor outputs) Note (1) Three Expansion I/O Units connected to a CP-series CPU Unit with 60, 40 or 30 I/O Points. (2) One Expansion I/O Unit connected to a CP-series CPU Unit with 20 or 14 I/O Points.
  • Page 41: Features

    Input classification D: DC inputs 1-1-2 Features This section describes the main features of the CP1L. Basic CP1L Configuration CP1L CPU Unit (Example for model with 40 I/O points) CX-One Power supply/input terminal block Battery (CJ1W-BAT01) USB port Peripheral USB port...
  • Page 42 OUTPUT instruction. The position offset is calculated using an error counter for the feedback pulse input from a rotary encoder connected to an inductive motor and the internal pulse output. The error counter is then used to output a speed command to the inverter to control positioning. This enables positioning with high-capacity motors, as well as low-cost positioning with small-capacity motors (in comparison to using a servo).
  • Page 43 • Pulse outputs for 2 axes at 100 kHz maximum are provided as standard features. (See note.) • For CP1L-J PLCs, pulse outputs for 2 axes at 20 kHz maximum are pro- vided as standard features. (See note.) 16 built-in outputs (Functions assigned.)
  • Page 44 The maximum number of interrupt input points is 6 for CPU Units with 20, 30, 40 or 60 I/O points and 4 for CPU Units with 14 I/O points and 2 for CPU Units with 10 I/O points.
  • Page 45 Features and Main Functions Section 1-1 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. Analog Settings Changing Settings Using 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.
  • Page 46 Up to two Serial Communications Boards each with one RS-232C port or one Serial Ports RS-422A/485 port can be added to a CPU Unit with 30, 40 or 60 I/O points. One Serial Communications Boards can be added to a CPU Unit with 20 or 14 I/O points.
  • Page 47 ON a software switch. Modbus-RTU Inverter (2) By using the serial PLC Links, a maximum of 10 words of data per CPU Unit can be shared independently of the program among a maximum of nine CPU Units (CP1L-CP1L-CP1H/CJ1M) using RS-422A/485 Option Boards.
  • Page 48 A password registration function is provided for the CPU Unit to prevent unau- thorized copy of ladder programs. If an attempt is made to read a ladder pro- gram from a CX-Programmer, access to the program is denied if the password that is entered does not match the registered password.
  • Page 49: System Configuration

    Power supply Model Normal built- Normal built-in outputs Weight capacity voltage in inputs 60 points 100 to 240 VAC CP1L-M60DR-A 36 DC inputs 24 relay outputs 820 g max. 24 VDC CP1L-M60DR-D 730 g max. 100 to 240 VAC CP1L-M60DT-A 24 transistor (sinking) outputs 765 g max.
  • Page 50: Optional Products

    RS-422A/485 Option Board can be added. Expansion Two Option Boards can be mounted with a CPU Units with 30, 40 or 60 I/O points and one Option Board can be mounted with a CPU Units with 20 or 14 I/O points.
  • Page 51 System Configuration Section 1-2 NS-series PT, personal computer, bar code reader, etc. CP1W-CIF01 RS-232C Option Board RS-232C (Expansion) CP1W-CIF11/CIF12 RS-422A/485C Option Board RS-422A (Expansion) Inverter, etc. Option Boards for Serial Communications Appearance Name Model Port Serial communications modes RS-232C CP1W-CIF01...
  • Page 52: System Expansion

    CPU Unit with 30, 40 or 60 I/O points and one Expansion Unit or Expansion I/O Unit can be connected to a CPU Unit with 20 or 14 I/O points. The maxi- mum I/O capacity is thus achieved by connecting either one or three Expan- sion Units or Expansion I/O Units.
  • Page 53 CPM1A-20EDT CP1W-20EDT1 8 transistor outputs (sourcing) 00 01 02 03 04 05 06 07 08 09 10 11 CPM1A-20EDT1 00 01 02 03 04 05 06 07 CP1W-16ER None 16 relay outputs 280 g max. CPM1A-16ER CP1W-16ET 16 transistor outputs (sinking) 225 g max.
  • Page 54 Pt100, JPt100 CP1W-TS102 4 inputs CPM1A-TS102 DeviceNet I/O CPM1A-DRT21 As a DeviceNet Slave, 32 inputs and 32 out- 200 g max. Link Unit puts are allocated. CompoBus/S CP1W-SRT21 As a CompoBus/S slave, 8 inputs and 8 out- 200 g max.
  • Page 55: Restrictions On System Configuration

    Number of Expansion Units and Expansion I/O Units Connected A maximum of three Units can be connected to a CPU Unit with 30, 40 or 60 I/O points and one Unit can be connected to a CPU Unit with 20 or 14 I/O points.
  • Page 56 CP1L-L@@DT@-A) When CP1W or CPM1A Expansion Units or Expansion I/O Units are con- nected to a CPU Unit with 14 or 20 I/O Points and AC Power (CP1L-L@@DR- A and CP1L-L@@DT-A), the external power supply cannot be used. If no Expansion Units or Expansion I/O Units are connected, up to 200 mA can be used.
  • Page 57: Connecting The Cx-Programmer

    There are no restrictions on the transistor output load current from the CPU Unit. CPU Units with AC Power There are no restrictions on the output load current from CPU Units with AC power. Connecting the CX-Programmer The CX-Programmer (version 7.3 or higher), which runs on Windows, can be used with CP-series CP1L L model PLCs with 10 I/O points.
  • Page 58: Connecting With A Commercially Available Usb Cable

    • 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. The peripheral USB port (conforming to USB 1.1, B connector) is a dedicated port for connecting Support Software, such as the CX-Programmer.
  • Page 59 1. If the following window appears, select the No, not this time Option and then click the Next Button. This window is not always displayed. 2. The following window will be displayed. Select the Install from a list of spe- cific location Option and then click the Next Button.
  • Page 60 Connecting the CX-Programmer Section 1-3 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. The driver will be installed. (“C:\” indicates the installation drive and may be different on your computer.)
  • Page 61 Click the Finish Button. Windows 2000 Turn ON the power supply to the CP1L, and connect USB cable between the USB port of the computer and the peripheral USB port of the CP1L. After the cable has been connected, the computer will automatically recognize the device and the following message will be displayed.
  • Page 62 Section 1-3 2. The following window will be displayed. 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 63 Connecting the CX-Programmer Section 1-3 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 be displayed.
  • Page 64 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 65: Connecting To A Serial Port

    Connecting the CX-Programmer Section 1-3 Reinstalling the USB Driver 1,2,3... 1. Right-click USB Device and select Delete from the pop-up menu to delete the driver. 2. Reconnect the USB cable. The USB Driver Installation Window will be dis- played. 3. Reinstall the USB driver.
  • Page 66 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 67: Function Charts

    CPU No-battery operation Unit's built-in flash memory. Data saved in the CPU Unit's built-in flash memory can be saved to a Memory Cassette Memory Cassette (purchased separately) and transferred automatically from the Memory Cassette when the power supply is turned ON.
  • Page 68: 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 69 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 70 Function Blocks Section 1-5...
  • Page 71: Nomenclature And Specifications

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

    Show CP1L operation status. POWER Power is ON. (Green) Not lit Power is OFF. POWER The CP1L 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 73 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- 4 Analog Adjuster and External Analog Setting Input .)
  • Page 74 • The entire user program (all tasks) • All data in parameter areas (such as the PLC Setup) When SW1 is turned ON, the user program and the data in the pa- rameter areas will not be cleared even if the All Clear operation is performed from a Peripheral Device (i.e., the CX-Programmer).
  • Page 75: Cp1W-Cif01 Rs-232C Option Boards

    Link Units) can be connected. Up to three Expansion Units or Expansion I/O Units can be connected to a CPU Unit with 30, 40 or 60 I/O points and one Expansion Unit or Expansion I/O Unit can be connected to a CPU Unit with 20 or 14 I/O points.
  • Page 76: Cp1W-Cif11/Cif12 Rs-422A/485 Option Boards

    CP1W-CIF11/CIF12 RS-422A/485 Option Boards An RS-422A/485 Option Board can be mounted to an Option Board slot on the CPU Unit. With a CPU Unit with 30, 40 or 60 I/O points, either Option Board slot may be used. 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 77: 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 78 10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s in X, Y, and Z directions for 80 minutes each (time coefficient of 8 minutes × coefficient factor of 10 = total time of 80 minutes) Shock resistance...
  • Page 79 Specifications Section 2-2 Note (1) The above values are for a cold start at room temperature for an AC pow- er supply, and for a cold start for a DC power supply. • A thermistor (with low-temperature current suppression characteris- tics) is used in the inrush current control circuitry for the AC power sup- ply.
  • Page 80: Current Consumption

    CPU Unit if an Expansion Unit or Expan- sion I/O Unit is connected. (5) The external power supply cannot be used if an Expansion Unit or Expan- sion I/O Unit is connected to a CPU Unit with 14 or 20 I/O points.
  • Page 81 0.029 A Link Unit 8 outputs DeviceNet I/O Link 32 inputs CPM1A-DRT21 0.048 A Unit 32 outputs Note CP1W-32ER/32ET/32ET1’s maximum number of simultaneously ON points is 24 (75%). Characteristics Type M CPU Units L CPU Units Model CP1L-M60DR-A CP1L-M40DR-A CP1L-M30DR-A...
  • Page 82 Value range: 32 bits, Linear mode or ring mode Interrupts: Target value comparison or range comparison Pulse Pulse outputs • 2 outputs, 1 Hz to 100 kHz (J models : 1kHz to 20kHz) outputs (CCW/CW or pulse plus direction) (Tran-...
  • Page 83 It is also possible to save and read data memory initial data. The data is automatically transferred to RAM when the power supply is turned ON. (Data memory initial data, however, may or may not be transferred, depending on the selection in the PLC Setup. Battery The HR Area, DM Area, and counter values (flags, PV) are backed up by a battery.
  • Page 84: I/O Memory Details

    CIO 100.03 CIO 102.00 to CIO 102.07 1:1 Link 1,024 bits (64 words): CIO 3000.00 to CIO 3063.15 (words CIO 3000 to CIO 3063) Not Support Bit Area Serial PLC 1,440 bits (90 words): CIO 3100.00 to CIO 3189.15 (words CIO 3100 to CIO 3189)
  • Page 85: I/O Specifications

    Specifications Section 2-2 2-2-3 I/O Specifications I/O Terminal Blocks of CPU Units with 60 I/O Points Input Terminal Block (Top Block) AC Power Supply Models L2/N COM 01 Inputs (CIO 0) Inputs (CIO 1) Inputs (CIO 2) DC Power Supply Models −...
  • Page 86 Interrupt Quick- Operation settings: Origin searches inputs inputs response enabled for pulse High-speed counters enabled (See note.) inputs outputs 0 and 1 Phase-Z reset Single-phase Two-phase (differential (increment phase x4, up/down, or pulse input) pulse/direction) CIO 1 Normal input 12...
  • Page 87 CIO 101 CIO 102 DC Power Supply Models COM COM COM CIO 100 CIO 101 CIO 102 Setting Output Functions Using Instructions and PLC Setup Address When the When a pulse output When origin searches are When the PWM instructions to...
  • Page 88 Normal output 20 --- Normal output 21 --- Normal output 22 --- Normal output 23 --- I/O Terminal Blocks of CPU Units with 40 I/O Points Input Terminal Block (Top Block) AC Power Supply Models L2/N COM 01 Inputs (CIO 0)
  • Page 89 Specifications Section 2-2 Setting Input Functions Using PLC Setup Address Input operation settings High-speed counters Origin searches Word Normal Interrupt Quick- Operation settings: Origin searches inputs inputs response enabled for pulse High-speed counters enabled (See note.) inputs outputs 0 and 1...
  • Page 90 19 Normal input 20 Normal input 21 Normal input 22 Normal input 23 Output Terminal Block Arrangement (Bottom Block) AC Power Supply Models − COM COM CIO 100 CIO 101 DC Power Supply Models COM COM CIO 100 CIO 101...
  • Page 91 Normal output 12 --- Normal output 13 --- Normal output 14 --- Normal output 15 --- I/O Terminal Blocks of CPU Units with 30 I/O Points Input Terminal Block (Top Block) AC Power Supply Models L2/N COM Inputs (CIO 0)
  • Page 92 Specifications Section 2-2 Setting Input Functions Using PLC Setup Address Input operation settings High-speed counters Origin searches Word Normal Interrupt Quick- Operation settings: Origin searches inputs inputs response enabled for pulse High-speed counters enabled (See note.) inputs outputs 0 and 1...
  • Page 93 − COM COM CIO 100 CIO 101 DC Power Supply Models CIO 101 CIO 100 Setting Output Functions Using Instructions and PLC Setup Address When the When a pulse output When origin searches are When the PWM instructions to instruction (SPED, ACC, PLS2,...
  • Page 94 Specifications Section 2-2 I/O Terminal Blocks of CPU Units with 20 I/O Points Input Terminal Block (Top Block) AC Power Supply Models L2/N COM Inputs (CIO 0) DC Power Supply Models − Inputs (CIO 0) Setting Input Functions Using PLC Setup...
  • Page 95 Output Terminal Block (Bottom Block) AC Power Supply Models DC Power Supply Models − COM COM CIO 100 CIO 100 Setting Output Functions Using Instructions and PLC Setup Address When the When a pulse output When origin searches are When the PWM instructions to...
  • Page 96 Specifications Section 2-2 I/O Terminal Blocks of CPU Units with 14 I/O Points Input Terminal Block (Top Block) AC Power Supply Models DC Power Supply Models − COM 01 L2/N COM Inputs (CIO 0) Inputs (CIO 0) Setting Input Functions Using PLC Setup...
  • Page 97 Origin search 0 (Error counter reset output) Normal output 5 Origin search 1 (Error counter reset output) I/O Terminal Blocks of CPU Units with 10 I/O Points Input Terminal Block (Top Block) AC Power Supply Models DC Power Supply Models −...
  • Page 98: Input Specifications

    Specifications Section 2-2 I/O Terminal Blocks of CPU Units with 10 I/O Points Output Terminal Block (Bottom Block) AC Power Supply Models DC Power Supply Models − COM COM CIO 100 CIO 100 Setting Functions Using Instructions and PLC Setup...
  • Page 99 (2) The bits that can be used depend on the model of CPU Unit. (3) The response time is the hardware delay value. The delay set in the PLC Setup (0 to 32 ms, default: 8 ms) must be added to this value.
  • Page 100: Output Specifications

    Interrupt Inputs and With CPU Units with 20, 30, 40 or 60 I/O points, the six input bits from CIO Quick-response Inputs 0.04 to CIO 0.09 can be used as either normal inputs or as interrupt or quick- response inputs depending on the settings in the PLC Setup.
  • Page 101 250 VAC: 2 A 24 VDC: 2 A Note (1) 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. 125 VAC resistive load 30 VDC/250 VAC resistive load 30 VDC τ...
  • Page 102 (2) Also do not exceed 0.9 A for the total for CIO 100.00 to CIO 100.03. (3) The bits that can be used depend on the model of the CPU Unit. !Caution Do not connect a load to an output terminal or apply a voltage in excess of the maximum switching capacity.
  • Page 103: Cp/Cpm1A-Series Expansion I/O Unit I/O Specifications

    Note (1) The response time is the hardware delay value. The delay set in the PLC Setup (0 to 32 ms, default: 8 ms) must be added to this value. For the CP1W-40EDR/EDT/EDT1 and CPM1A-40EDR/EDT/EDT1, a fixed value of 16 ms must be added.
  • Page 104 250 VAC: 2 A 24 VDC: 2 A Note (1) 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 τ...
  • Page 105 24 (75%). Design the system considering the simultaneously ON points and load current based on the following curve. Ambient temperature(˚C) (4) There are restrictions imposed by the ambient temperature. Relay Output Load Current Derating Curves for Expansion I/O Units (CP1W- 8ER/16ER/20EDR1/32ER/40EDR and CPM1A-8ER/16ER/20EDR1/40EDR) Added to CP1L-L14DR-D, Added to CP1L-M30DR-D...
  • Page 106 (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 107: Cp1L 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 is turned ON.
  • Page 108 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 109 CX-Programmer or PT is used to transfer or edit data, edit the program online, or transfer data from a Memory Cassette.
  • Page 110 CP1L CPU Unit Operation Section 2-3 Never turn OFF the power supply to the CPU Unit when the BKUP indicator is lit. Memory Cassette Memory Cassettes can be used as required in system operation and mainte- nance. For example, they can be used to save programs, data memory con- tents, PLC Setup data, or I/O comments from the CX-Programmer.
  • Page 111: 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 112 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 When the project is transferred from the CX-Programmer,...
  • Page 113: Memory Cassette Data Transfers

    CP1L CPU Unit Operation Section 2-3 2-3-3 Memory Cassette Data Transfers Note Memory Cassette cannot be used in CP1L-J CPU Unit. Writing to a Memory Cassette Data Method Source User program and Data is written to a Memory Data in the built-in flash mem-...
  • Page 114 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 115: 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 116: I/O Refreshing And Peripheral Servicing

    • Refreshing between I/O words in the CIO Area and CPU Unit built-in I/O, CP/CPM1A-series Expansion Units, and CP/CPM1A-series Expansion I/O Units All I/O refreshing is performed in the same cycle (i.e., time slicing is not used). I/O refreshing is always performed after program execution. Units Max.
  • Page 117 Immediate Refreshing When the immediate refreshing variation of an instruction is specified and the instruction’s operand is an input bit or word in the Built-in I/O Area, the word containing the bit or the word itself will be refreshed. I/O terminal status (built-in I/O) Immediate refresh 0.00...
  • Page 118: Initialization At Startup

    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 Programmable Controllers Program- ming Manual for instruction execution times.
  • Page 119: Cpu Unit Operating Modes

    Forced Status Hold Bit at that time. (3) User program recovery is performed if online editing is performed but the power supply to the PLC is turned OFF before the CPU Unit can complete backup processing. The BKUP indicator will light during backup process- ing.
  • Page 120: Operating Mode Changes And I/O Memory

    • 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 121: 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 122: 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 123: Computing The Cycle Time

    Section 2-7 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 124: 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 125: 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 126 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 127: I/O Refresh Times For Plc Units

    CompoBus/S I/O Link Unit CP1W-SRT21 0.21 ms CPM1A-SRT21 Note The I/O refresh time for CPU Unit built-in I/O is included in overhead process- ing. 2-7-5 Cycle Time Calculation Example The following example shows the method used to calculate the cycle time...
  • Page 128: Online Editing Cycle Time Extension

    Be sure that the additional time will not adversely affect system operation. Note When there is one task, online editing is processed all in the cycle time follow- ing the cycle in which online editing is executed (written). When there are mul- tiple tasks (cyclic tasks and interrupt tasks), online editing is separated, so that for n tasks, processing is executed over n to n ×2 cycles max.
  • Page 129: 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 130: Interrupt Response Times

    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. Increasing the response Times time reduces the effects of chattering and noise.
  • Page 131: Serial Plc Link Response Performance

    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 132: 2-7-10 Pulse Output Start Time

    (ms) Slave communica- • Communications time set to Standard 0.4 + 0.286 × ((No. of slaves + 1) × No. of link words × 2 + 12) tions time (ms) • Communications time set to Fast 0.4 + 0.0955 × ((No. of slaves + 1) × No. of link words × 2 +...
  • Page 133 Mounting in a Panel ........
  • Page 134: Fail-Safe Circuits

    Fail-safe Circuits Always set up safety circuits outside of the PLC to prevent dangerous condi- tions in the event of errors in the CP1L CPU Unit or external power supply. In particular, be careful of the following points. Supply Power to the...
  • Page 135: Installation Precautions

    Installation and Wiring Precautions Always consider the following factors when installing and wiring the PLC to improve the reliability of the system and make the most of the CP1L functions. Ambient Conditions Do not install the PLC in any of the following locations.
  • Page 136 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 137: Mounting

    DIN Track installation. Surface Installation Even if a DIN Track is not used, a CP1L CPU Unit and CP/CPM1A-series Expansion Units or Expansion I/O Units can be mounted using M4 screws. For restrictions on the number of Expansion Units and Expansion I/O Units that can be connected, refer to 1-2 System Configuration .
  • Page 138 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 PLC.
  • Page 139 Section 3-3 Routing Wiring Ducts Install the wiring ducts at least 20 mm between the tops of the PLC 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 140: Connecting Expansion Units And Expansion I/O Units

    When a cable is connected to an Option Board, however, the additional height must be factored in. Always allow for the additional height when considering the depth of the control panel in which the PLC is to be mounted. 3-3-2...
  • Page 141 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...
  • Page 142: Din Track Installation

    3. Replace the cover on the CPU Unit's or the Expansion I/O Unit's expansion connector. 40 ED R 3-3-3 DIN Track Installation 1,2,3... 1. Use a screwdriver to pull down the DIN Track mounting pins from the back of the Units, and mount the Units to the DIN Track.
  • Page 143 Mounting Section 3-3 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 144: Wiring Cp1L Cpu Units

    Wiring CP1L 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 145: Wiring Power Supply And Ground Lines

    LG: Functional ground terminal 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.
  • Page 146 • To prevent electrical shock when short-circuiting between the LG and GR terminals, always use a ground of 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 147: 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 148 Output CP1L CP1L 5 mA/ 7 mA Sensor power supply • The circuit below should not be used for I/O devices with a voltage output. Sensor power supply Output CP1L − 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 149 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 150: 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 151 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 152: Wiring Cpu Unit I/O

    CIO 102 CIO 100 CP1L-M60DR-D) COM COM COM CIO 101 CIO 102 CIO 100 AC-power-supply models have a 24-VDC output terminals (+/−) on the lower terminal block. They can be used as a DC power supply for the input circuit.
  • Page 153: I/O Wiring For Cpu Units With 40 I/O Points

    CIO 100 CIO 101 CIO 102 AC-power-supply models have a 24-VDC output terminals (+/−) on the lower terminal block. They can be used as a DC power supply for the input circuit. Sourcing Transistor Outputs (CP1L-M60DT1-D) CIO 100 CIO 101...
  • Page 154 CO M COM COM COM CIO 101 CIO 100 AC-power-supply models have a 24-VDC output terminals (+/−) on the lower terminal block. They can be used as a DC power supply for the input circuit. Sinking Transistor Outputs (CP1L-M40DT-A CIO 100...
  • Page 155: I/O Wiring For Cpu Units With 30 I/O Points

    (CP1L-M30DR-A and CIO 100 CIO 101 CP1L-M30DR-D) COM COM COM CIO 100 CIO 101 AC-power-supply models have a 24-VDC output terminals (+/−) on the lower terminal block. They can be used as a DC power supply for the input circuit.
  • Page 156: I/O Wiring For Cpu Units With 20 I/O Points

    COM COM COM CIO 100 CIO 101 AC-power-supply models have a 24-VDC output terminals (+/−) on the lower terminal block. They can be used as a DC power supply for the input circuit. Sourcing Transistor Outputs (CP1L-M30DT1-D ) CIO 100...
  • Page 157 CP1L-J20DR-D) COM COM COM CIO 100 AC-power-supply models have a 24-VDC output terminals (+/−) on the lower terminal block. They can be used as a DC power supply for the input circuit. Sinking Transistor Outputs (CP1L-L20DT-A CIO 100 and CP1L-L20DT-D)
  • Page 158: I/O Wiring For Cpu Units With 14 I/O Points

    (CP1L-L14DR-A, CP1L- CIO 100 L14DR-D, CP1L-J14DR-A and CP1L-J14DR-D) COM COM COM COM NC CIO 100 AC-power-supply models have a 24-VDC output terminals (+/−) on the lower terminal block. They can be used as a DC power supply for the input circuit.
  • Page 159: I/O Wiring For Cpu Units With 10 I/O Points

    CP1L-L14DT-D) COM COM COM CIO 100 AC-power-supply models have a 24-VDC output terminals (+/−) on the lower terminal block. They can be used as a DC power supply for the input circuit. Sourcing Transistor Outputs (CP1L-L14DT1-D CIO 100 and CP1L-J14DT1-D)
  • Page 160 (CP1L-L10DR-A and CIO 100 CP1L-L10DR-D) CIO 100 AC-power-supply models have a 24-VDC output terminals (+/−) on the lower terminal block. They can be used as a DC power supply for the input circuit. Sinking Transistor Outputs (CP1L-L10DT-A CIO 100 and CP1L-L10DT-D) CIO 100 AC-power-supply models have a 24-VDC output terminals (+/−) on the lower...
  • Page 161: Pulse Input 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 CP1L CPU Unit and the motor driver.
  • Page 162 CW and CCW Pulse Outputs Pulse and Direction Outputs Pulses Direction Output ON Output OFF CW/CCW Pulse Output and Pulse Plus Direction Output Using a 24-VDC Photocoupler Input Motor Driver (CP1L-@@@DT-D) 24-V DC power supply CP1L CPU Unit Motor driver (for 24-V input) −...
  • Page 163 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Ω resistance.
  • Page 164: Cp/Cpm1A-Series Expansion I/O Unit Wiring

    CP1W-8ET 8 transistor outputs (sinking) CPM1A-8ET CP1W-8ET1 8 transistor outputs (sourcing) CPM1A-8ET1 For details on wiring Expansion Units, refer to SECTION 7 Using Expansion Units and Expansion I/O Units . 40-point I/O Units (CP1W-40ED@@/CPM1A-40ED@@) Input Wiring CIO m+1 CIO m+2 −...
  • Page 165 CP/CPM1A-series Expansion I/O Unit Wiring Section 3-6 Output Wiring CP1W-40EDR/CPM1A-40EDR (Relay Outputs) COM COM COM CP1W-40EDT/CPM1A-40EDT (Sinking Transistor Outputs) NC COM COM COM 4.5 to 30 VDC CP1W-40EDT1/CP1A-40EDT1 (Sourcing Transistor Outputs) NC COM COM COM 4.5 to 30 VDC...
  • Page 166 CP/CPM1A-series Expansion I/O Unit Wiring Section 3-6 32-point Output Units (CP1W-32E@@) Output Wiring CP1W-32ER (Relay Outputs) Upper Terminal Block Lower Terminal Block CIO n+1 CIO n+2 CIO n+4 CIO n+3 02 03 01 03 06 NC 02 COM 05 07...
  • Page 167 CP/CPM1A-series Expansion I/O Unit Wiring Section 3-6 20-point I/O Units (CP1W-20ED@@/CPM1A-20ED@@) Input Wiring CP1W-20ED@@/CPM1A-20ED@@ CIO m+1 24 VDC − − CIO m+1 Output Wiring CP1W-20EDR1/CPM1A-20EDR1 (Relay Outputs) COM COM COM 250 VAC 24 VDC CP1W-20EDT/CPM1A-20EDT (Sinking Transistor Outputs) COM COM COM...
  • Page 168 CP/CPM1A-series Expansion I/O Unit Wiring Section 3-6 CP1W-20EDT1/CP1A-20EDT1 (Sourcing Transistor Outputs) COM COM COM 16-point Output Units (CP1W-16E@@/CPM1A-16E@@) Output Wiring CP1W-16ER/CPM1A-16ER (Relay Outputs) Unit Lower Terminal Block Unit Upper Terminal Block NC COM NC COM COM COM Output Wiring CP1W-16ET (Sinking Transistor Outputs)
  • Page 169 8-point Input Units (CP1W-8ED/CPM1A-8ED) Input Wiring Unit Upper Terminal Block Unit Lower Terminal Block 24 VDC − − − The Unit's upper terminal block COM and lower terminal block COM are − connected internally, but connect them externally as well. 24 VDC...
  • Page 170 CP/CPM1A-series Expansion I/O Unit Wiring Section 3-6 8-point Output Units (CP1W-8E@/CPM1A-8E@) Output Wiring CP1W-8ER/CPM1A-8ER (Relay Outputs) Unit Upper Terminal Block Unit Lower Terminal Block Output Wiring CP1W-8ET/CPM1A-8ET (Sinking Transistor Outputs) Unit Upper Terminal Block Unit Lower Terminal Block 4.5 to −...
  • Page 171: I/O Memory Allocation

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

    (Note 3) Data Registers 16 regis- DR0 to ters DR15 Note 1. A0 to A447 are read only and cannot be written. A448 to A959 are read/write. 2. Bits can be manipulated using TST(350), TSTN(351), SET, SETB(532), RSTB(533), and OUTB(534).
  • Page 173: Overview Of The Data Areas

    6. 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). 7. Data Memory Area for CPU Units with 10, 14 or 20 I/O Points: D0 to D9999 and D32000 to D32767. 4-1-2 Overview of the Data Areas ■...
  • Page 174 Overview of I/O Memory Area Section 4-1 1:1 Link Area These bits are used by the 1:1 Link Master and Slave. They are used for data links between CP1L CPU Units and CPM2@ CPU Units. Serial PLC Link Area These words are allocated for use for data links (Serial PLC Links) with other CP1L CPU Units or CP1H CPU Units.
  • Page 175 (i.e., when the set time elapses). 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 176 Overview of I/O Memory Area Section 4-1 Counter PVs The PVs are read and written as words (16 bits). The PVs count up or down as the counter operates. Condition Flags These flags include the Arithmetic Flags, such as the Error Flag and Equals Flag, which indicate the results of instruction execution as well as the Always ON and Always OFF Flags.
  • 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 CP1L 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. CP-series...
  • Page 180: I/O Bits Allocated To Cpu Units

    I/O Area and I/O Allocations Section 4-2 4-2-1 I/O Bits Allocated to CPU Units CPU Unit with 10 I/O Points 6 inputs CIO 0 Input bits (CIO 0.00 to CIO 0.05) CIO 100 Output bits (CIO 100.00 to CIO 100.03)
  • Page 181 The bits that are allocated are input bits CIO 0.00 to CIO 0.11 (i.e., bits 00 to 11 in CIO 0) and input bits CIO 1.00 to CIO 1.11 (i.e., bits 00 to 11 in CIO 1).
  • Page 182: I/O Bits Allocated To Expansion I/O Units

    I/O Area and I/O Allocations Section 4-2 00 to 07 in CIO 0) and output bits CIO 101.00 to CIO 101.07 (i.e., bits 00 to 07 in CIO 1). The upper bits (bits 12 to 15) not used in the input words cannot be used as work bits.
  • Page 183 Units with 32 Output Points (CP1W-32E@@) Thirty-two output bits are allocated in four words (bits 00 to 07 in CIO n, bits 00 to 07 in CIO n+1, bits 00 to 07 in CIO n+2 and bits 00 to 07 in CIO n+3). Output bits Can be used as work bits.
  • Page 184: I/O Allocation Examples With Expansion I/O Units

    Section 4-2 Units with 40 I/O Points (CPM1A-40ED@@/40EDT/40ED@@) Twenty-four input bits in two words are allocated (bits 00 to 11 in CIO m and bits 00 to 11 CIO m+1). Sixteen output bits in two words are allocated (bits 00 to 07 in CIO n and bits 00 to 07 in CIO n+1).
  • Page 185: I/O Word Allocations To Expansion Units

    Example 2: Connecting Expansion I/O Units with Only Inputs or Only Outputs If Expansion I/O Units with only inputs or only outputs are connected, the input or output word not used by an Expansion I/O Unit is allocated to the next Unit that requires it. CPU Unit...
  • Page 186: 1:1 Link Area

    The 1:1 Link Area contains 1,024 bits (64 words) with addresses ranging from CIO 3000.00 to CIO 3063.15 (CIO 3000 to CIO 3063). These bits are used to create 1:1 links (i.e., shared data link areas) by con- necting the RS-232C ports of two PLCs, including the CP1L, CPM1A, CPM2A, CPM2B, CPM2C, SRM1(-V2), CQM1H, and C200HX/HG/HE(-Z).
  • Page 187: Serial Plc Link Area

    CIO 3100.00 to CIO 3189.15 (CIO 3100 to CIO 3189). Words in the Serial PLC Link Area can be used for data links with other PLCs. Serial PLC Links exchange data among CPU Units via the built-in RS-232C ports, with no need for special programming.
  • Page 188: Holding Area (H)

    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 reset.
  • Page 189: 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. Auxiliary Area (A) The Auxiliary Area contains 960 words with addresses ranging from A0 to A959).
  • Page 190: Timers And Counters

    Timers and Counters Section 4-9 In this example, a TR bit is used when an output is connected to a branch point without a separate execution condition. Operand Instruction 0.01 0.02 0.00 0.00 TR 0 0.01 0.03 0.02 TR 0 0.03...
  • Page 191: Counter Area (C)

    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 192 Completion Flag. Restrictions There are no restrictions in the order of using counter numbers or in the num- ber of N.C. or N.O. conditions that can be programmed. Counter PVs can be read as word data and used in programming.
  • Page 193: Changing The Bcd Or Binary Mode For Counters And Timers

    Changing the BCD or Binary Mode for Counters and Timers The refresh method for set values and present values for timers and counters can be changed from BCD mode (0000 to 9999) to binary method (0000 to FFFF) using the CX-Programmer This setting is made in common for all tasks for all timers and counters.
  • Page 194: Data Memory Area (D)

    4-10 Data Memory Area (D) CPU Units with 30, 40 or 60 I/O points: D0 to D32767 CPU Units with 10, 14 or 20 I/O points: D0 to D9999 and D32000 to D32767 CPU Unit with 10, 14 or 20 I/O Points...
  • Page 195: 4-11 Index Registers

    Index Registers Section 4-11 (2) If two-word data is accessed from the last address in the DM Area (D9999 for the CP1L-L@D@-@ and D32767 for other CPU Units), the Access Er- ror Flag (P_AER) will turn ON and the data at D9999 or D32767 will not be read or written.
  • Page 196 ,– –IR@ Example This example shows how to store the PLC memory address of a word (CIO 2) in an Index Register (IR0), use the Index Register in an instruction, and use the auto-increment variation. MOVR(560) Stores the PLC memory address of CIO 2 in IR0.
  • Page 197 ,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 (0C00D hex) in IR2.
  • Page 198: 4-11-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 199 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 200: 4-11-2 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 201 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 202: 4-12 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 203 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 204: 4-13 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 205 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 206: 4-15 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 207 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 208 Clock Pulses Section 4-15...
  • Page 209: Pulse And Counter Functions

    5-3-10 Memory Allocations ........
  • Page 210: High-Speed Counters

    Section 5-1 High-speed Counters 5-1-1 Overview • A rotary encoder can be connected to a built-in input to produce a high- speed pulse input. • The PRV(881) instruction can be used to measure the input pulse fre- quency (one input only).
  • Page 211: High-Speed Counter Specifications

    Linear mode: 8000 0000 to 7FFF FFFF hex Ring mode: 0000 0000 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 212 A275.10 A320.10 A321.10 1: Incrementing 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. Phase-A Phase-B Count...
  • Page 213 ↓ No change ↓ No change • The count is incremented when the direction signal is ON and decre- mented when it is OFF. • Only up-differentiated pulses (rising edges) can be counted. Up/Down Mode The up/down mode uses two signals, an increment pulse input and a decre- ment pulse input.
  • Page 214 • If the count is incremented from the max. ring count, the count will be reset to 0 automatically and incrementing will continue. • If the count is decremented from 0, the count will be set to the max. ring count automatically and decrementing will continue.
  • Page 215: Reset Methods

    Section 5-1 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 216: Procedure

    • Start comparison with the registered target value comparison Ladder program table or range comparison table. • Read the high-speed counter PVs, read the status of the high- speed counter comparison operation, or read the range- comparison results. • Turn ON the High-speed Counter Gate Bit to stop counting input...
  • Page 217: Plc Setup

    High-speed Counters Section 5-1 5-1-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 218: High-Speed Counter Terminal Allocation

    High-speed Counters Section 5-1 5-1-5 High-speed Counter Terminal Allocation The following diagrams show the input terminals that can be used for high- speed counters in each CPU Unit. Differential Phases, Up/ Input Terminal Arrangement for CPU Units with 10 I/O Points...
  • Page 219 (Phase Z or Reset input) or Direction input) Upper Terminal Block L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11 01 03 05 07 09 11 (Example: AC Power Supply Modules) 00 02 04 06 08 10 00 02 04 06 08 10 00 02 04 06 08 10...
  • Page 220 High-speed Counters Section 5-1 Increment Pulse Inputs Input Terminal Arrangement for CPU Units with 10 I/O Points High-speed counter 1 High-speed counter 3 (Phase Z or Reset input) (Increment) High-speed counter 1 (Increment) pper Terminal Block L2/N COM (Example: AC Power...
  • Page 221 01 03 05 07 09 11 (Example: AC Power Supply Modules) 00 02 04 06 08 10 00 02 04 06 08 10 00 02 04 06 08 10 High-speed counter 2 High-speed counter 0 (Phase Z or Reset input)
  • Page 222 High-speed Counters Section 5-1 CPU Units with 14 I/O Points Input terminal Default setting High-speed counter operation settings Origin searches block Word Single-phase Two-phase (differential Origin searches (increment pulse input) phases x4, up/down, or enabled for pulse pulse/direction) outputs 0 and 1...
  • Page 223 High-speed Counters Section 5-1 CPU Units with 20, 30, 40 or 60 I/O Points Address Default setting High-speed counter operation settings: Origin searches Word CPU Units CPU Units CPU Units CPU Units Single-phase Two-phase Origin searches with 60 I/O with 40 I/O...
  • Page 224: Pulse Input Connection Examples

    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 225 Range Comparison Table The range comparison table is stored in D10000 to D10039. ■ PLC Setup Select the Use high speed counter 0 Option in the PLC Setup’s Built-in Input Tab. Item Setting High-speed counter 0...
  • Page 226 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 227: Additional Capabilities And Restrictions

    High-speed Counters Section 5-1 Word Setting Function D10014 FFFF Set the fifth word for ranges 3 to 7 (listed at left) to FFFF to dis- D10019 able those ranges. D10024 D10029 D10034 D10035 to All 0000 Range 8 lower and upper limit values...
  • Page 228 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 229 High-speed Counters Section 5-1 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 230 1. High-speed Counter Enable/Disable Setting (Required) Select the Use high speed counter 0 Option in the PLC Setup. 2. Pulse Input Mode Setting (Required) Set the High-speed Counter 0 Pulse Input Mode ( Input Setting ) in the PLC Setup. 3. Counting Mode Setting (Required) Set the High-speed Counter 0 Counting Mode in the PLC Setup.
  • Page 231: Pulse Outputs

    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 232 ■ 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 233 • Origin search: To start the origin search, set the PLC Setup to enable the origin search operation, set the various origin search parameters, and execute the ORIGIN SEARCH instruction (ORG(889)). The Unit will deter- mine the location of the origin based on the Origin Proximity Input Signal and Origin Input Signal.
  • Page 234: Pulse Output Specifications

    J models : 1Hz to 20kHz (1Hz units) 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).
  • Page 235: Pulse Output Terminal Allocations

    Pulse Outputs Section 5-2 5-2-3 Pulse Output Terminal Allocations The following diagrams show the terminals that can be used for pulse outputs in each CPU Unit. ■ CPU Unit with 10 I/O Points Lower Terminal Block (Example: Transistor Outputs) Pulse output 1 (CW/pulse)
  • Page 236 Pulse Outputs Section 5-2 ■ CPU Unit with 30 I/O Points Lower Terminal Block Pulse output 1 (CW/pulse) (Example: Transistor Outputs) Pulse output 0 (CCW/direction/PWM output 0) Origin search 0 (Error counter reset output) Pulse output 0 (CW/pulse) Origin search 1 (Error counter reset output)
  • Page 237 Pulse Outputs Section 5-2 ■ Setting Functions Using Instructions and PLC Setup Input When the When a pulse output instruction When the origin search When the PWM terminal instructions to (SPED, ACC, PLS2, or ORG) is executed function is enabled in...
  • Page 238 CPU Unit with 60 I/O Points Pulse output 1: Origin input signal Pulse 1: Origin proximity input signal Upper Terminal Block COM 01 03 05 07 09 11 01 03 05 07 09 11 01 03 05 07 09 11 (Example: DC Power Supply Modules)
  • Page 239 0 CIO 0 Normal input 0 Counter 0, increment input Counter 0, A phase, up, or count input Normal input 1 Counter 1, increment input Counter 0, B phase, down, or direction input Normal input 2...
  • Page 240 PV range: 8000 0000 to 7FFF FFFF hex Rightmost 4 digits A276 A278 (−2,147,483,648 to 2,147,483,647) Reset Bits 0: Not cleared. A540.00 A541.00 The pulse output PV will be cleared when this bit is 1: Clear PV. turned from OFF to ON.
  • Page 241 CW Limit Input Signal Flags ON when turned ON from an external A540.08 A541.08 input. This is the CW limit input signal, which is used in the origin search. CCW Limit Input Signal Flags ON when turned ON from an external A540.09 A541.09...
  • Page 242: Pulse Output Patterns

    Pulse Outputs Section 5-2 5-2-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 Operation Example Frequency changes...
  • Page 243 Pulse Outputs Section 5-2 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 pulse (Continu- output...
  • Page 244 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 245 • Target fre- eration rates. target posi- quency (The target position is not tion must be • Starting changed. The original tar- specified in frequency get position is specified absolute again.)
  • Page 246 Execution of settings can- PLS2(887) tion rate ACC(888) executed to change the not be • Decelera- target frequency. (The target position is changed tion rate not changed, but the acceleration/ without main- deceleration rates are changed.) • Target fre- taining the...
  • Page 247 Pulse ing position- positioning with rel- • Absolute ACC(888) pulses frequency ative pulse specifi- pulse spec- Change of direction at the (Indepen- cation to change to ification dent) specified deceleration rate Target absolute pulses and • Port ↓...
  • Page 248 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 249 Pulse Outputs Section 5-2 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 250 8000 0000 to 7FFF FFFF 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 251 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 252 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 253 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 254: Origin Search And Origin Return Functions

    2.998 to 2.999 2.999 5-2-5 Origin Search and Origin Return Functions The CP1L 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 255 The origin location can be determined after using either method. The CP1L 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 256 The limit inputs must be connected to available normal input terminals or terminals and output from the ladder program. • Enable the origin search function for pulse output 0 to 3 by setting the Origin Search Function Enable/Disable setting to 1. • Limit Input Signal Settings Limit Input Signal Operation and Undefine Origin Settings •...
  • Page 257 Pulse Outputs Section 5-2 ■ 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.
  • Page 258 Pulse Outputs Section 5-2 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 259 Connect the phase-Z signal from the Servo Driver to the Origin Input Signal. When the Origin Input Signal is received, the pulse output will be stopped and the Error Counter Reset Signal will be output for about 20 to 30 ms.
  • Page 260 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 261 Error Counter Reset Output Positioning Completed Signal Origin Search Operation Select either of the following two reverse modes for the origin search opera- Setting tion pattern. Setting Description 0: Reversal mode 1 When the limit input signal is received in the origin search direction, reverse and continue operation.
  • Page 262 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 263 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- imity Input Sig- Origin Proximity Input Signal nal reversal not required.
  • Page 264 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 265 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 266 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 267: Related Auxiliary Area Flags

    1: Stop error occurred. gin search function. Stop Error Codes A444 A445 When a Pulse Output Stop Error occurs, the error code is stored in that pulse outputs corre- sponding Stop Error Code word. Pulse Output Stop Error Codes Error name Error code...
  • Page 268 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 269 Pulse Outputs Section 5-2 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 270 Word CIO 0 CW limit detection sensor CCW limit detection sensor Pulse Output 0 Origin Input Signal Pulse Output 0 Origin Proximity Input Signal Word Name A540 Pulse Output 0 CW Limit Input Signal Pulse Output 0 CCW Limit Input Signal ■...
  • Page 271: 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 272 (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 273: Pulse Output Procedures

    Pulse Outputs Section 5-2 5-2-7 Pulse Output Procedures Single-phase Pulse Output without Acceleration/Deceleration The number of output pulses setting cannot be changed during positioning. ■ PULS(886) and SPED(885) • Pulse output method • CW/CCW inputs: Pulse outputs 0 to 1 •...
  • Page 274 • Pulse output method • CW/CCW inputs • Pulse + direction inputs • Output frequency: 1 Hz to 100 kHz (1 Hz units) J models: 1Hz to 20 kHz (1 Hz units) Determine the pulse output method, output frequency, and port.
  • Page 275: 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 276 Pulse Outputs Section 5-2 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 accel- Pulse Pulse output eration/deceleration output output without...
  • Page 277 Pulse Outputs Section 5-2 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 278 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 279 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 280 MODE CONTROL: INI(880) In addition to the various interrupt and high-speed counter functions, INI(880) can be used to change the pulse output PV or stop the pulse output. Note This section explains the functions related to pulse outputs only. For details on the INI(880) instruction’s high-speed counter or interrupt functions, refer to 6-1...
  • Page 281 Pulse Outputs Section 5-2 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 6-1 Interrupt Functions or 5-1 High-speed Counters . Operand Contents Port specifier...
  • Page 282 It is possible to start another operation during acceleration/deceleration and start another positioning instruction during positioning. Instruction being executed Starting instruction (❍ : Can be executed., ×: Instruction Error occurs and Error Flag goes ON) INI(880) SPED(885) SPED(885) ACC(888)
  • Page 283 • The output mode and direction cannot be switched. (6) ACC(888) (Independent) to PLS2(887) • The number of pulses can be changed. (The setting can even be changed during acceleration or deceleration.) • The frequency can be changed. (The target frequency can even be changed during acceleration or deceleration.)
  • Page 284: 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 285 Pulse Outputs Section 5-2 Input interrupt task 0 (interrupt task number 140) starts a scheduled interrupt with a scheduled time of 0.5 ms. The scheduled interrupt task executes the pulse output instructions and stops the scheduled interrupt. Pulse output 0 (CIO 100.00)
  • Page 286 Pulse Outputs Section 5-2 Scheduled Interrupt Time Unit Setting PLC Setup setting details Data Set the scheduled interrupt time units to 0.1 ms. 0002 hex...
  • Page 287 (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. Scheduled Interrupt Task 0 (Interrupt Task 2) P_On PULS(886) Always ON Pulse output 0...
  • Page 288 • 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 289 Pulse Outputs Section 5-2 Jog Operation Specifications and • Low-speed jog operation (CW) will be executed from pulse output 1 while Operation input 0.00 is ON. • Low-speed jog operation (CCW) will be executed from pulse output 1 while input 0.01 is ON.
  • Page 290 Pulse Outputs Section 5-2 Setting details Address Data Target frequency (high speed): 100,000 Hz D011 86A0 0001 Deceleration rate: 100 Hz/4 ms (Not used.) 0064 Target frequency (stop): 0 Hz 0000 0000 Ladder Program 0.00 A281.04 SPED(885) Low-speed Pulse Output...
  • Page 291 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 292 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 0.00). 2. The workpiece is feed the specified distance (relative) using the Position- ing Switch Input (IN 0.01).
  • Page 293 Pulse Outputs Section 5-2 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 294 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 295 PCB Storage Completed Input (CIO 0.03). 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 296 Pulse Outputs Section 5-2 6. When the stocker is full, it is moved (CIO 100.02) and only the conveyor is lowered (absolute positioning) when stoker movement is completed (CIO 0.04). The operation can be canceled and pulse output stopped at any point using the Emergency Switch Input (CIO 0.01).
  • Page 297 Pulse Outputs Section 5-2 Setting details Address Data Number of output pulses: 10,000 × 15 pulses 49F0 0002 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...
  • Page 298 Lift positioning positioning start @PLS2(887) completed W0.03 #0000 #0000 Lift positioning progress W0.04 A280.03 Lift positioning completed Pulse Output Completed Flag Counter for Number of Lifts (Number of PCBs stored) W0.04 Lift positioning 0000 completed W0.09 #0100 Lower positioning completed...
  • Page 299 Emergency Stop (Pulse Output Stopped) 0.01 @INI(880) #0000 Emergency stop #0003 switch Repeat Limit Input Settings Limit inputs are allocated to external sensors using the following programming. A540.08 0.05 CW limit input signal Built-in input A540.09 0.07 CCW limit input...
  • Page 300 ■ 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 301 Pulse Outputs Section 5-2 Wiring Example Using SmartStep A-series Servo Driver Origin Search Switch (CIO 0.00) Emergency Stop Switch (CIO 0.01) SMARTSTEP A-series Servo Driver X axis R88A-CPU00@S and resistor Y axis SMARTSTEP A-series Servo Driver R88A-CPU00@S and resistor...
  • Page 302 ZCOM Pulse 0 origin input signal (CIO 0.06) 24VIN 24 VDC Servo Driver RUN input Pulse 0 origin proximity input signal (CIO 0.10) RESET Servo Driver alarm reset input Origin search switch (CIO 0.00) OGND Emergency stop switch (CIO 0.01)
  • Page 303 3. An emergency stop can be performed using the Emergency Stop Input (CIO 0.01) Preparation ■ PLC Setup Setting details Enable origin search function for pulse output 0 and 1. Note The origin search enable setting is read when the power supply is turned ON.
  • Page 304 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 305 07D0 Target frequency: 100,000 Hz 86A0 0001 Number of output pulses: 50,000 pulses C350 0000 PLS2(887) Settings to Move from Position A to Position C Setting details Address Data X axis Acceleration rate: 2,000 Hz/4 ms 07D0 Deceleration rate: 2,000 Hz/4 ms...
  • Page 306 Pulse Outputs Section 5-2 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 Origin Search W0.00 W1.14 000001 start (000002) <W001.14> <W000.00> W1.15...
  • Page 307 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 308 Pulse Outputs Section 5-2 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 309 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 310 Pulse Outputs Section 5-2 <0.08> <0.09> Limit Input Setting 000022 (000084) CW limit input 0.04 A540.08 signal X axis Built-in input 0.05 A540.09 CCW limit input 000023 signal X axis (000086) Built-in input CW limit input 0.08 A541.08 000024 signal Y axis...
  • Page 311 (0.04) ■ Operation 1,2,3... 1. Speed control is used to feed wrapping material to the initial position when the Start Switch (CIO 0.00) is activated. 2. When the Marker Sensor Input (0.04) is received, PLS2(887) is executed in interrupt task 140.
  • Page 312 ■ 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 313 (880) [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] P_On PLS2 (887) [OP2] Always ON Flag [OP3] [OP4]...
  • Page 314: Inverter Positioning

    Error Counter positioning with an Inverter using feedback control. The PULSE OUTPUT instruction is used in the ladder program in the CP1L CPU Unit to output inter- nal pulses to a built-in error counter. The error counter calculates the position error from the number of input inter- nal pulses and the number of feedback pulses from the rotary encoder, and sends speed commands to the inverter so that the position error goes to zero.
  • Page 315 The PLC counts the feedback pulses from the encoder using a high-speed counter. When a deceleration point is reached, the speed is changed to con- trol the stop position. If the precision of the stop position must be increased, the stop position must also be detected to control positioning.
  • Page 316 (1) The CP1L’s inverter positioning function is designed to increase position- ing speed and stopping precision by reading position information and us- ing a feedback loop with an error counter to switch speeds. It does not increase the response, stopping precision, or speed change rate of the inverter and motor.
  • Page 317: System Configuration

    Note (1) The inverter positioning function uses either serial communications or an analog output, and is thus possible with a CP1L CPU Unit with either tran- sistor or relay outputs. (2) The inverter positioning function does not use external pulse outputs.
  • Page 318: Functional Overview

    Although normally the pulse output instructions are used to output pulses from CP1L output contacts, when inverter position- ing 0 or inverter positioning 1 is enabled in the PLC Setup, the internal po- sition error counter (called simply the “error counter”) is enabled and the pulse output instruction will output internal pulses to the error counter.
  • Page 319: Other Functions

    Inverter Positioning Section 5-3 7. When a speed command is sent to the inverter, the motor will turn at the command speed and feedback pulses (i.e., the amount of movement) from the encoder will be returned to a high-speed counter of the CP1L. The CP1L will continue to send a speed command to the inverter until the error counter (i.e., the position error) goes to zero, i.e., until positioning has been...
  • Page 320: Specifications

    An inductive motor driven with an inverter is different from a servomotor in that Using Minimum Output the torque at low speeds is so low that it may not be possible to turn the motor Setting shaft at the minimum frequency. The CP1L provide a minimum output setting the ensure a minimum output to enable positioning at low speeds even when there are extremely few pulses in the error counter.
  • Page 321 If inverter positioning 1 is used, pulse output 1 and PWM1 cannot be used. (2) If inverter positioning 1 is used with a CPU Unit with 14 I/O Points, origin searches cannot be used. (3) If the continuous output mode is specified (i.e., if the number of pulses is not specified), be sure to use the high-speed counter (linear mode) so that it does not overflow.
  • Page 322: Application Procedure For Inverter Positioning

    · PLS2 patterns. · PULS + SPED · PULS + ACC · Etc. Decided to use error counter 0 or 1. For example, the control method (V/f control Determine inverter specifications or vector control) Determine inverter command · RS-485 communications (Modbus-RTU) method.
  • Page 323: Instruction Specifications

    The normal pulse output instructions are used (PLS2, PULS + SPED, or PULS + ACC). One of the inverter positioning ports is specified as the port for the instruction. Just like pulses are output externally for the normal pulse out- put instructions, error counter pulses are accumulated in the internal error counter when executing inverter positioning.
  • Page 324 PWM output 0 1001 PWM output 1 Applicable The following seven instructions can be used to execute inverter positioning. Instructions The relationship between the instructions and internal pulse outputs is as fol- lows: Instruction Overview Positioning (Independent Mode) Origin searches...
  • Page 325 Inverter Positioning 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 326 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.
  • Page 327 • Origin Return: The positioning system is returned to the origin. The parameters for pulse output 0 or pulse output 1 must be set in advance in the PLC Setup to perform either an origin search or origin return operation.
  • Page 328 0000 0000 to FFFF FFFF hex NP+1 (upper 4 digits) HIGH-SPEED COUNTER PRV(881) is used to read the present value and status of inverter positioning. PV READ: PRV(881) The following status can be read. • Operation Command Flag • Internal Pulse Acceleration/ Deceleration Flag •...
  • Page 329: Determining The Internal Pulse Output Frequency

    5-3-7 Determining the Internal Pulse Output Frequency Use the following formula to calculate the internal pulse frequency (Hz) to out- put from the pulse output instruction (e.g., PLS2) based on the power supply frequency (Hz) to be output from the inverter to the motor.
  • Page 330 For example, to output a power supply frequency of 10 Hz to the motor: Frequency of internal pulse output = 500 × 10 Hz = 5,000 Hz = 5 kHz Therefore, set a pulse output frequency of 5 kHz in the pulse output instruc-...
  • Page 331: Plc Setup

    Inverter Positioning Section 5-3 5-3-8 PLC Setup The following settings must be made in advance when using inverter position- ing 0 or 1. Basic Settings The following settings are required to use inverter positioning. Inverter Positioning Function Setting Description Set value...
  • Page 332 Set the minimum output value so that it is equal as setting when the error to or smaller than the maximum output value.
  • Page 333 1 to 255 (in 4- 0: 3 (4-ms Set when using When CPU Unit cycle counter can be set. If the cycle is ms increments) incre- a motor with a power is turned too short when using a motor with a ments) slow response.
  • Page 334 1/4, the number of encoder pulses for one motor revolution is 1,000 × 4 × (1/4) = 1,000. Operation Adjustment Use the following settings if the gain adjustment in the basic settings does not Settings produce stable operation. Limit Output during...
  • Page 335 Setting Description Set value Default Application Refresh timing Output coeffi- Upper and lower limits are placed on 1 to 255 0: 6 (0.01 This coefficient can When CPU Unit cient during the output value by multiplying the pulse (0.01 incre-...
  • Page 336: Automatic Calculation Of Inverter Frequency Command Value

    Encoder Pulses for One Motor Revolution, and Error Counter Cycle in the PLC Setup to automatically calculate the inverter frequency command value and store it in A23 for inverter positioning 0 and A33 for inverter posi- tioning 1.
  • Page 337 Refer to 6-3-3 Modbus-RTU Easy Master Function and to the inverter manual for details on Modbus-RTU communications. Note If the frequency command unit set in the inverter is 0.1 Hz, divide the com- mand frequency in A23 or A33 by 10. Analog Output The following example is for the CP1W-DA041.
  • Page 338 Inverter maximum command value output frequency (Hz) Unit: 0.01 Hz Converted in ladder program Refer to 7-3 Analog Output Units for operating procedures for the Analog Out- put Unit. ■ Calculation Example Conditions Inverter’s maximum output frequency: 60 Hz...
  • Page 339: 5-3-10 Memory Allocations

    (1) The above table shows only allocations related to inverter positioning. (2) Bits 08 to 11 are not supported by CPU Units with 14 I/O Points. Bits 06 to 11 are not supported by CPU Units with 10 I/O Points.
  • Page 340: Auxiliary Area

    Inverter Positioning Section 5-3 Auxiliary Area Read Area ■ Inverter Positioning 0 Use one of the following for the inverter frequency command. Word Bits Function Data range Refresh timing Application examples 00 to 15 Lower 4 digits of 0000 0000 to 8000...
  • Page 341 0000 to FFFF hex Cleared to zero at following times: These words con- command value (0.00 to tain the automati- • When power to CPU Unit is turned ON (0.01-Hz increments, 655.35 Hz) cally calculated • At start of operation unsigned) frequency com- •...
  • Page 342 Inverter Positioning Section 5-3 Use the following for inverter positioning status and the workpiece position. Word Bits Function Data range Refresh timing Application examples Operation Command ON: Operation Turned ON at following times: This flag is used as Flag command exe- a NO input condi- •...
  • Page 343 • When absolute value of error counter present value is greater than in-posi- tion range. • When power to CPU Unit is turned ON • When CPU Unit operation starts • When CPU Unit operation stops Error Counter Error...
  • Page 344 A271 00 to 15 Upper 4 digits of positioning. high-speed counter present value Use the following for the present values of the internal pulse and error counter of inverter positioning. Word Bits Function Data range...
  • Page 345 • Cyclically on error counter cycle (absolute value for absolute coordi- nates) ■ Inverter Positioning 1 Use one of the following for the inverter frequency command. Word Bits Function Data range Refresh timing Application examples...
  • Page 346 0000 to FFFF hex Cleared to zero at following times: These words con- command value (0.00 to tain the automati- • When power to CPU Unit is turned ON (0.01-Hz increments, 655.35 Hz) cally calculated • At start of operation unsigned) frequency com- •...
  • Page 347 Inverter Positioning Section 5-3 Use the following for inverter positioning status and the workpiece position. Word Bits Function Data range Refresh timing Application examples Operation Command ON: Operation Turned ON at following times: This flag is used as Flag command exe- a NO input condi- •...
  • Page 348 • When absolute value of error counter present value is greater than in-posi- tion range. • When power to CPU Unit is turned ON • When CPU Unit operation starts • When CPU Unit operation stops Error Counter Error...
  • Page 349 • Cyclically on error counter cycle (absolute value for absolute coordi- nates) Use the following for the present values of the internal pulse and error counter of inverter positioning. Word Bits Function Data range...
  • Page 350 The present value of the high-speed counter when inverter positioning is used is stored in the same memory location as for normal high-speed counter appli- cation. This value can be used as the present value of feedback pulses from the encoder, i.e., as the absolute position of inverter positioning. Target value and range comparisons for high-speed counters are also valid.
  • Page 351: 5-3-11 Application Example With Serial Communications

    5-3-11 Application Example with Serial Communications Positioning with Trapezoidal Control Specifications and When start input CIO 1.04 turns ON, 600,000 pulses are output internally for Operation inverter positioning 0 to turn the motor shaft. Note Refer to 5-3-7 Determining the Internal Pulse Output Frequency for the for- mula to convert the frequency and use the converted internal pulse frequency.
  • Page 352 Inverter Positioning Section 5-3 System Configuration Inverter Speed Command via Serial Communications RS-485 communications SYSMAC CP1L (Modbus-RTU) L2/N COMM CP1W-CIF11/ CIF12 CP1L 3G3MV 3G3RV Standard motor Feedback pulses Encoder Instructions Used PLS2(887) Terminal Allocations ■ Error Counter Error counter 1...
  • Page 353: Connection Example

    White Orange Phase Z +Vcc Brown Blue 24-VDC power supply +24 V Connection Example ■ Encoder (24 VDC) Connections to High-speed Counter 0 CP1L-@@DT-D Differential-phase Input Phase A Black Encoder 0.00 Error counter 0: Phase A, 0 V (Power supply: 24 VDC)
  • Page 354 When connecting the Inverter to the PLC, communications parameters must for 3G3MV Inverter be set in the Inverter. The settings of parameters n152 to n157 cannot be changed while communications are in progress. Always set them before start- ing communications.
  • Page 355 Inverter Positioning Section 5-3 Example settings of 3G3MV parameters are listed below. Refer to the User’s Manual of the Inverter for details on the parameters. Parameter Name Description Default Setting n003 RUN command selection 0: The RUN Key and STOP/RESET Key on the Digital Operator are enabled.
  • Page 356 1: RTS control disabled PLC Setup ■ Serial Port Communications Settings Note (1) Set the baud rate and parity check settings to the same value as for the Inverter communications parameters. (2) Set the serial port to the serial gateway communications mode.
  • Page 357 Section 5-3 ■ High-speed Counter Settings (on Built-in Input Tab Page) Note (1) Set high-speed counter 0 when using inverter positioning 0. Set high- speed counter 1 when using inverter positioning 1. (2) Use linear mode for inverter positioning. ■...
  • Page 358 27C0 D205 0009 Starting frequency: 100 Hz D300 0064 D301 0000 • High-speed counter 0 (i.e., error counter 0) is used for the feedback pulse input port. Stopping Internal Pulse Output to the Error 0.06 Counter @INI Port specifier #0020...
  • Page 359 Inverter Positioning Section 5-3 • Pulse outputs will not be accepted until the error counter is reset. (Execut- ing a pulse output instruction will cause an error.) Operation Outputs not accepted Error counter Inverter Inductive motor Encoder Referencing the If the following settings are made in the PLC Setup, the inverter frequency...
  • Page 360 (register 0001) and stores the result in D32206. (Reflect bit 09 D32206 of D15 in D32206 D32206 (register 0001). Move bits 08 to 15 of D2 XFRB (frequency command #0808 value) to bits 00 to 07 of D32206 (register 0001). D32206...
  • Page 361: 5-3-12 Application Example With An Analog Output

    Operation Command Flag Add the above instructions to the end of the program as a starting condition for the ladder programming example. For error processing, refer to the ladder program in 6-3-3 Modbus-RTU Easy Master Function and to the inverter’s manual.
  • Page 362 Deceleration: 100 Hz/4 ms 80 Hz/4 ms No. of output pulses: 600,000 Starting 100 Hz frequency Start input CIO 0.05 System Configuration Speed Command via Analog Output Inverter Current/Voltage Output · Frequency SYSMAC CP1L L2/N command I OUT1 VOUT2 COM2...
  • Page 363 Inverter Positioning Section 5-3 ■ Built-in Outputs − COM COM COM COM Output word CIO 100 Output word CIO 101 ■ CP1W/CPM1A-DA041 I OUT1 VOUT2 COM2 I OUT3 VOUT4 COM4 VOUT1 COM1 I OUT2 VOUT3 COM3 I OUT4 I OUT1...
  • Page 364 Inverter Positioning Section 5-3 Connection Example ■ Encoder (24 VDC) Connections to High-speed Counter 0 CP1L-@@DT-D Differential-phase Input Phase A Black Encoder 0.00 Error counter 0: Phase A, 0 V (Power supply: 24 VDC) Phase B White Error counter 0: Phase B, 0 V 0.01...
  • Page 365 When connecting the Inverter to the PLC, communications parameters must for 3G3MV Inverter be set in the Inverter. Example settings of 3G3MV parameters are listed below. Refer to the User’s Manual of the Inverter for details on the parameters. Parameter...
  • Page 366 PLC Setup ■ High-speed Counter Settings (on Built-in Input Tab Page) Note (1) Set high-speed counter 0 when using inverter positioning 0. Set high- speed counter 1 when using inverter positioning 1. (2) Use linear mode for inverter positioning. ■...
  • Page 367 D205 0009 Starting frequency: 100 Hz D300 0064 D301 0000 • High-speed counter 0 (i.e., error counter 0) is used for the feedback pulse input port. Stopping Internal Pulse Output to the Error 0.06 Counter @INI Port specifier (Error counter 0: 0020 hex)
  • Page 368 Forward/Reverse Command Analog Bit turned ON. A26.01 A26.02 conversion trigger 100.03 Forward Reverse Command Bit Command Bit In this example, the results of *U and /UL are 1, so the value in A23 is moved directly to D102 with MOV.
  • Page 369 Reverse (external output) CP1W/CPM1A-DA041 Analog output 1 is used in this example. It is set to a range of 4 to 20 mA. The Analog Output Settings scaled value is set in the analog conversion area of the Analog Output Unit.
  • Page 370: 5-3-13 Supplemental Information

    Restrictions • Inverter positioning 0 and inverter positioning 1 each use one high-speed counter and one serial port (except that a serial port is not used when an Analog Output Unit is used). (High-speed counter 0 is allocated to inverter positioning 0 and high-speed counter 1 is allocated to inverter positioning •...
  • Page 371: Advanced Functions

    6-1-4 Scheduled Interrupts ........
  • Page 372: 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 373 3. Set the Task type in the Program Properties Window. In this example, interrupt task 140 was allocated to NewProgram2. 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.
  • Page 374 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...
  • Page 375 1234* Since the interrupt occurs during BSET(071) processing and before #1234 is set in D10, the content of D0 and D10 do not match when the comparison is made in the interrupt task (*1) and output A remains OFF. In the end (*2), the D0 and D10 both contain #1234 and match, but the correct...
  • Page 376: 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. Input Terminal Block of The 2 input bits CIO 0.04 to CIO 0.05 can be used for input interrupts. CPU Units with 10 I/O Points Upper Terminal Block...
  • Page 377 Interrupt Functions Section 6-1 Input Terminal Block of The 6 input bits CIO 0.04 to CIO 0.09 can be used for input interrupts. CPU Units with 20 I/O Points Input interrupt 3 Upper Terminal Block Input interrupt 5 (Example: CPU Unit...
  • Page 378 CIO 0 00 Normal input 0 Normal input 0 Normal input 0 Normal input 0 Normal input 0 Normal input 0 --- Normal input 1 Normal input 1 Normal input 1 Normal input 1 Normal input 1 Normal input 1 ---...
  • Page 379 Section 6-1 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 380 Input interrupt 4* 144 Input interrupt 5* 145 Note *Input interrupts 4 and 5 are not supported by the CPU Units with 10 or 14 I/O Points. **Input interrupts 2 and 3 are not supported by the CPU Units with 10 I/O Points.
  • Page 381: Input Interrupts (Counter Mode)

    0.09* Input interrupt 5* 145 A545 A549 Note *Input interrupts 4 and 5 are not supported by CPU Units with 10 or 14 I/O Points. **Input interrupts 2 and 3 are not supported by CPU Units with 10 I/O Points.
  • Page 382 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 383 Input interrupt 5* 145* rupts Note *Input interrupts 4 and 5 are not supported by CPU Units with 10 or 14 I/O Points. **Input interrupts 2 and 3 are not supported by CPU Units with 10 I/O Points. Writing the Interrupt Create programs for interrupt tasks 140 to 145, which are executed by the cor- Task’s Program...
  • Page 384: Scheduled Interrupts

    Interrupt Functions Section 6-1 When CIO 0.05 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 385 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 386 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 387: High-Speed Counter Interrupts

    2 6-1-5 High-speed Counter Interrupts This function executes the specified interrupt task (0 to 255) when the CP1L 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 388 If a high- Setting speed counter is set to be used, the bits in CIO 0 and CIO 1 can no longer be used for normal inputs, input interrupts, or quick-response inputs.
  • Page 389 Interrupt Functions Section 6-1 ■ CPU Units with 20, 30, 40 or 60 I/O Points Address Default setting High-speed counter operation settings: Word CPU Units CPU Units CPU Units CPU Units Single-phase Two-phase Origin searches with 60 I/O with 40 I/O...
  • Page 390 Interrupt Functions Section 6-1 ■ CPU Units with 14 I/O Points Input terminal block Default setting High-speed counter settings Word Single-phase Two-phase Origin searches (increment pulse (differential phase x4, input) up/down, or pulse/direction) CIO 0 Normal input 0 High-speed counter 0:...
  • Page 391 For details, refer to next page. 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 255) when the specified condition is met.
  • Page 392 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 393 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 394 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 395 #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 396: Quick-Response Inputs

    Use the CX-Programmer to set a built-in input as a quick-response input in the PLC Setup. Click the Built-in Input Tab to display the Interrupt Input settings (at the bottom of the tab). Set the input function from Normal to Quick for each input that will be used as a quick-response input.
  • Page 397 Quick-response Inputs Section 6-2 CPU Units with 14 I/O The 4 input bits CIO 0.04 to CIO 0.07 can be used as quick-response inputs. Points Quick-response input 1 Upper Terminal Block (CPU Unit with Quick-response input 3 AC Power Supply)
  • Page 398 CIO 0 Normal input 0 Normal input 0 Normal input 0 Normal input 0 Normal input 0 Normal input 0 --- Normal input 1 Normal input 1 Normal input 1 Normal input 1 Normal input 1 Normal input 1 ---...
  • Page 399 Quick in the PLC Setup's Built-in Input Tab. • Use the quick-response inputs in Ladder program instructions such as LD. Restrictions Inputs cannot be used as quick-response inputs when they are being used as general-purpose (normal) inputs, input interrupts, or high-speed counter inputs.
  • Page 400: Serial Communications

    Serial Communications Section 6-3 Serial Communications 6-3-1 Overview The CP1L 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 401 1:1 connec- tions.) RS-232C NT Link CP1L 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 402: 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 403 Standard device with serial communications (e.g., barcode reader) For example, simple (non-protocol) communications can be used to input data from a barcode reader or output data to a printer. The following table lists the no-protocol communication functions supported by CP1L PLCs.
  • Page 404 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 405: Modbus-Rtu Easy Master Function

    Serial Communications Section 6-3 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 CP1L CPU Unit Programming Manual (W451) for more details on TXD(236) and RXD(235).
  • Page 406 Section 6-3 Modbus-RTU commands can be set simply by turning ON a software switch after setting the Modbus slave address, function, and data in the DM fixed allocation words for the Modbus-RTU Easy Master. The response when received is also store in the DM fixed allocation words for the Modbus-RTU Easy Master.
  • Page 407 00 to 15 Response data D32299 D32399 (92 bytes maximum) Error Codes The following error codes are stored in an allocated DM Area word when an error occurs in Modbus-RTU Easy Master function execution. Code Name Description 0x00 Normal end Not an error.
  • Page 408: Communications: Smart Active Parts And Function Blocks

    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 409 Responses are also converted in the same way. Note Serial ports 1 and 2 on the CP1L CPU Unit can be used to convert to the fol- lowing protocols. • CompoWay/F •...
  • Page 410: Serial Plc Links

    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...
  • Page 411 • Complete link method • Polling Unit link method Complete Link Method The data from all nodes in the Serial PLC Links are reflected in both the Poll- ing Unit and the Polled Units. (The only exceptions are the address allocated...
  • Page 412 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 413 Section 6-3 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 414 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 415 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 (A402.10) will turn ON.
  • Page 416 • Turns OFF when the changes to settings are completed. Note In the same way as for the existing 1:N NT Link, the status (communicat- ing/not communicating) of PTs in Serial PLC Links can be checked from the Polling Unit (CPU Unit) by reading the Serial Port 1 Communicating with PT...
  • Page 417 • Turns OFF when the changes to settings are completed. Note In the same way as for the existing 1:N NT Link, the status (communicat- ing/not communicating) of PTs in Serial PLC Links can be checked from the Polling Unit (CPU Unit) by reading the Serial Port 2 Communicating with PT...
  • Page 418 • Turns OFF when the changes to settings are completed. In the same way as for the existing 1:N NT Link, the status (communicat- ing/not communicating) of PTs in Serial PLC Links can be checked from the Polling Unit (CPU Unit) by reading the Serial Port 1 Communicating with PT...
  • Page 419 RS-232C 1:1 Link PLC Setup Set the PLC to a 1:1 Link Master or a 1:1 Link Slave in the PLC Setup. Set the other PLC to the opposite setting. Link Area Size The 1:1 Link Area in the CP1L is from CIO 3000 to CIO 3015 (16 words).
  • Page 420: N Nt Links

    Not used. CIO 3063 CP1L is set as the link master, so CIO 3000 to CIO 3007 are its write area. Any data written to these words with the OUT or MOV instructions will be automatically transferred to LR 00 to LR 07 in the CPM2A. The CPM2A will use these words as its read area.
  • Page 421 PLC and Programmable Terminals (PTs). There are two communications modes supported by the NT Link protocol: 1:1 NT Links, in which one PLC is connected to one PT, and 1:N NT Links, in which one PLC is connected to more than one PT.
  • Page 422: Host Link Communications

    PLC Setup Select “NT Link (1:1) as the serial communications mode. 6-3-9 Host Link Communications The following table shows the host link communication functions available in CP1L PLCs. Select the method that best suits your application. Command Command type Communications method...
  • Page 423 Communications method Configuration flow Create frame in the host com- FINS command (with Directly connect the host computer in a 1:1 puter and send the command to Host Link header and or 1:N system. the PLC. Receive the response terminator) sent.
  • Page 424 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 tim- ers/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 425 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 426 Undefined com- This response is returned if the header code of a command was not recog- mand nized. (response only) The following table lists the FINS commands. Refer to the FINS Commands FINS Commands Reference Manual (W227) for more details.
  • Page 427: 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 428: Battery-Free Operation

    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 429: Using Battery-Free Operation

    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 430: Memory Cassette Functions

    Select the Data Memory Option in the Backup to Flash Memory Area and click the Backup Button. The DM data will be written to the built-in flash memory. Note The DM data that is saved and written at startup is the entire DM Area (D0 to D32767). PLC Setup 1,2,3...
  • Page 431: 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 432 (2) Absolutely do not remove the Memory Cassette while the BKUP indicator is flashing (i.e., during a data transfer or verification). 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 433: Operation Using The Cx-Programmer

    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. Click the Valid Area Check Button to check the valid areas in the Memory Cassette mounted in the CPU Unit and the operating mode after automatic transfer at startup.
  • Page 434: Memory Cassette Data Transfer Function

    Cassette can be automatically read when the power is turned ON, and written to the corresponding areas in the 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.
  • Page 435 User programs can be overwritten to upgrade equipment versions without using the CX-Programmer. If writing data from the CPU Unit to the Memory Cassette and the CPU Unit is set to use the operating mode specified in the PLC Setup as the operating mode after automatic transfer at startup, operation can be started without cycling the power, enabling operation from the Memory Cassette.
  • Page 436 CPU Unit. Cassette Data • The BKUP indicator will light while data is being transferred to or verified Transfer Function in a Memory Cassette. Never turn OFF the power to the PLC or remove the Memory Cassette while the BKUP indicator is lit.
  • Page 437: Copying The System

    • CP1L CPU Units with 10, 14 or 20 I/O points. do not have D10000 to D31999. These words will be treated as follows when data from a CPU Unit with 10, 14 or 20 I/O points is transferred to a CPU Unit with 30, 40 or 60 I/O points or visa versa.
  • Page 438: Program Protection

    OFF, return the set- ting of DIP switch SW2 to OFF, and then turn the power supply back ON. If the the operating mode specified in the PLC Setup is set as the operating mode after automatic transfer at startup, operation will start without changing the DIP switch SW2 or Memory Cassette.
  • Page 439 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 440 2. Display the Protection Tab of the PLC Properties Dialog Box and register a password in the Task read protection Box. 3. Connect online and select PLC - Transfer - To PLC to transfer the pro- gram. The tasks registered in step 2 will be password-protected.
  • Page 441 Prohibiting Backing Up Overview the Programs to a Memory When a password is set for the entire user program or for a task from the CX- Cassette Programmer, prohibiting backing up the user program can be set as an option.
  • Page 442 PLC. Always transfer the program after changing the setting. Prohibiting Creating When a password is set for the entire user program or for a task from the CX- Program Files in File Programmer, prohibiting creating a program file (.OBJ) as a backup can be Memory set as an option.
  • Page 443 Program Protection Section 6-7 Properties 2. Go online and then either select PLC - Transfer - To PLC to transfer the program or select PLC - Protection - Set Password and click the OK but- ton. Application The above procedure enables using a password to protect against disclosure of the program to unauthorized persons.
  • Page 444: 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 445 Task read protection Box, select the Prohibit from overwriting to a protected program Option. 3. Either select PLC - Transfer - To PLC to transfer the program or select PLC - Protection - Set Password and click the OK button.
  • Page 446: Protecting Program Execution Using The Lot Number

    A310, as shown below. Manufacturing lot number (5 digits) A311 A310 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...
  • Page 447: 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 448 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 449: 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...
  • Page 450: Output Off Bit

    Failure Diagnosis Functions Section 6-8 3. Set the error code and error to be simulated as the second operand (two words) of FAL(006) or FALS(007). Indicate a nonfatal error for FAL(006) and a fatal error for FALS(007). To simulate more than one system error, use more than one FAL(006) or FALS(007) instruction with the same value in A529 and different values for the second operand.
  • Page 451: Clock

    Clock Section 6-9 Clock A clock is built into the CP1L CPU Unit and is backed up by a battery. The cur- rent data is stored in the following words and refreshed each cycle. Name Addresses Function Clock data: A351.00 to A351.07...
  • Page 452 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 453: Using Expansion Units And Expansion I/O Units

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

    CP1L. Up to three Expansion Units or Expansion I/O Units can be connected to a CPU Unit with 30, 40 or 60 I/O points and one Expansion Unit or Expansion I/O Unit can be connected to a CPU Unit with 20 or 14 I/O points.
  • Page 455: Analog Input Units

    Each CP1W-AD041/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 456 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 CP1L CPU Unit. For CP1L M-type CPU Unit Specifications Units, a maximum of three Units can be connected, including other Expansion Units and Expansion I/O Units.
  • Page 457: 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 458 0000 (0) ment. 10 V 11 V F448 (−3000) F31C (−3300) ■ 0 to 10 V Inputs Voltage in the 0 to 10 V range Converted data Hexadecimal (Decimal) corresponds to hexadecimal values 0000 to 1770 (0 to 189C (6300) 6,000).
  • Page 459 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 460 • 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 461 (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 462 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 463 • 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 464: Analog Output Units

    Each CP1W-DA041/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 465 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 466: Analog Output Signal Ranges

    Number of outputs 4 outputs (4 words allocated) output sec- Output signal range 1 to 5 VDC, 0 to 10 VDC, or –10 to 10 VDC 0 to 20 mA or 4 to 20 mA tion 350 Ω max. External output allow- 2 kΩ...
  • Page 467: Analog Output Units

    ■ −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 468 Section 7-3 ■ 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 469 (2) Separate wiring from power lines (AC power supply lines, high-voltage lines, etc.) (3) When there is noise in the power supply line, install a noise filter on the input section and the power supply. (4) 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 470 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 471 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 472: 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 473 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 474 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 475 Analog I/O Units Section 7-4 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 476 • 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 477 (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 478 1 to 5 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 479 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 480 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 481 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. • Expansion Unit/Expansion I/O Unit errors are output to bits 0 to 6 of word A436.
  • Page 482: Cp1W-Mad11/Cpm1A-Mad11 Analog I/O Units

    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 483 (OFF: Average processing not performed; ON: Average processing performed) Main Analog I/O Unit Analog I/O Units are connected to the CP1L CPU Unit. For CP1L M-type CPU Specifications Units, up to three Units can be connected, including any other Expansion Units and Expansion I/O Units that are also connected.
  • Page 484 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 485 0 to 10 V The 0- to 10-V 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 486 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 487 Ranges 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 488 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 489 • Connect the Analog I/O Unit. Connect the 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 •...
  • Page 490 Analog I/O Units Section 7-4 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 an Analog I/O Unit to the CPU Unit.
  • Page 491 (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 492 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 493 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 494 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 495: Temperature Sensor Units

    Temperature Sensor Units CP1W-TS002/TS102 and CPM1A-TS002/TS102 Temperature Sensor Units each provide up to four input points, and CP1W-TS001/TS001 and CPM1A- TS001/TS101 Temperature Sensor Units each provide up to two input points. The inputs can be from thermocouples or platinum resistance thermometers.
  • Page 496: Main Specifications

    Used to connect temperature sensors such as thermocouples or plati- num resistance thermometers. (2) DIP Switch Used to set the temperature unit (°C or °F) and the number of decimal places used. (3) Rotary Switch Used to set the temperature input range. Make the setting according to the specifications of the temperature sensors that are connected.
  • Page 497 Current consumption 5 VDC: 40 mA max., 24 VDC: 59 mA max. 5 VDC: 54 mA max., 24 VDC: 73 mA max. Accuracy for a K-type sensor at −100°C or less is ±4°C ±1 digit max. Note Using Temperature Sensor Units •...
  • Page 498 Temperature input terminals DIP Switch Settings The DIP switch is used to set the temperature unit (°C or °F) and the number of decimal places used. Setting °C Temperature unit °F...
  • Page 499 Thermocouples Sensors CP1W-TS001/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 500 Platinum Resistance Thermometers CP1W-TS101/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 501 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 502 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 503 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 504 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 505 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 506 Always 0 1: °F 1: Rightmost 1: Error Leftmost/Rightmost Flag: Indicates whether the leftmost or rightmost 3 digits are provided. Indicates whether the temperature is in °C or °F. Temperature Unit Flag: 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 507 Temperature Sensor Units Section 7-5 Example 2 −100.12°C Temperature: ×100: −10012 Temperature Data: FFD8E4 (hexadecimal for −10012) Leftmost 3 Digits and Flags ×16 ×16 ×16 Flags Bits 11 to 08 07 to 04 03 to 00 Data Normal Temperature Flags °C...
  • Page 508 (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 509 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 510: Compobus/S I/O Link Units

    BD L N C ( BS-) N C Special flat cable or VCTF cable From the standpoint of the CP1L CPU Unit, the 8 input bits and 8 output bits allocated to the CompoBus/S I/O Link Unit are identical to input and output bits allocated to Expansion I/O Units even though the CompoBus/S I/O Link Unit does not control actual inputs and outputs.
  • Page 511 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 512 (4) Expansion I/O Connecting Cable Connected to the expansion connector of a CP1L CPU Unit or a Expan- sion Unit or Expansion I/O Unit. The cable is provided with the Compo- Bus/S I/O Link Unit and cannot be removed.
  • Page 513: 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 514 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 515 CompoBus/S I/O Link Units Section 7-6 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 516: 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 CP1L to be used as a DeviceNet slave. A maximum of three DeviceNet I/O Link Units can be con- nected to the CP1L to create I/O Links for up to 192 points (96 inputs and 96 outputs) between the CP1L and the DeviceNet master.
  • Page 517 Used to set DeviceNet node numbers. Setting range: 0 to 63 (Do not set 64 to 99.) (3) DIP Switch (SW1) Used to set the DeviceNet baud rate and the output hold function. Baud rate setting (See note.) Pin 1...
  • Page 518 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 519 L2/N 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 520 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 521 When using Expansion Unit/Expansion I/O Unit Error Flags (A436) in the pro- gram, turn ON pin 4 on the DIP switch. If communications are set to be cleared, the timing for clearing outputs and setting the Error Flags may not agree.
  • Page 522 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 523: Lcd Option Board

    Screen Transitions........
  • Page 524: Features

    Normally the backlight is green. The automatic cutout time for the backlight can be set to occur from 2 to 30 minutes, or even set permanently to OFF or ON position. The contrast level can also be adjusted.
  • Page 525: Specifications

    Backlight color Green / Red Display language English / Japanese (Katakana) Ambient operating temperature 0 to 55°C Ambient operating humidity 10% to 90% (with no condensation) Atmosphere No corrosive gas. Humidity[%] (65 , 90%) (70 , 60%) (75 , 40%) Temperature[˚C]...
  • Page 526: Part Names

    Press and hold the button, the column cursor will move for- ward continuously. Move the line cursor up. Change numerals and parameters. Press and hold the button, the line cursor will move up contin- uously and the parameters will increase continuously. Move the line cursor down. Change numerals and parame- ters.
  • Page 527: Installation And Removing

    The following processing explains how to install and remove a LCD Option Board. !Caution Always turn OFF the power supply to the CPU Unit and wait until all the oper- ation indicators go out before installing or removing the LCD Option Board.
  • Page 528: Basic Operation

    Basic Operation 8-5-1 Startup According to the operation status of the LCD Option Board, it will display dif- ferent screens when the CPU Unit power is turned ON. Normal Startup When the CPU Unit power is turned ON, the LCD Option Board will initialize hardware and check EEPROM, then check communication between the LCD Option Board and the CPU Unit.
  • Page 529: Screen Transitions

    1. The screen will be displayed after making settings in the Setup Mode. 2. The Message Screen will disappeared automatically after control bit is OFF. 3. In the Setup Mode, if there is no operation for 10 minutes, LCD will auto- matically switch to the Monitor Mode.
  • Page 530 User Monitor Screen 1 Note 1. When one control bit is ON, the Clock Screen or the User Monitor Screen will switch to the Message Screen automatically. 2. If another control bit is ON when the Clock Screen or the User Monitor Screen is diplayed, the display will switch to another Message Screen.
  • Page 531: Operation Examples

    Screen after one of the control bit is OFF. If another control bit is smaller, the display will swtich to the Clock Screen after one of the control bit is OFF. 5. When no less than one control bit are ON at the same time, the Message Screen whose Screen No.
  • Page 532 D10002, D10003 to D10004 with unsigned decimal number will be displayed. 1,2,3... 1. Line 1 will display the default address D00000 in I/O memory, Line 2 to 4 will display one word data on D00000, D00001, D00002 with hex number when entering the Monitor Screen of I/O memory.
  • Page 533: Lcd Option Board Function

    LCD Option Board Function Section 8-6 3. Use the Forward button to move the column cursor to the data of I/O memory. Use the Down or Up button to change the value of each digit. 4. Press the OK button to save the setting.
  • Page 534 Refer to Page 510 for details. Error History Display the list of error history and the details of each error. It is possible to display up to 20 screens. User can also monitor the occurring errors. Refer to Page 512 for details.
  • Page 535 • Load user settings from DM area. • Save user settings to DM area. So user can save the user settings to the DM area of the PLC from one LCD Option Board and load to other LCD Option Boards from the DM area.
  • Page 536: Plc Mode

    The line cursor will point to the present PLC mode. The present mode is RUN . 3. Press the Down button to select PROGRAM . 4. Press the OK button, then LCD will update the present mode to PRG .
  • Page 537: I/O Memory Setting

    Line 2 to 4 will display one word data on D00000, D00001, D00002 with hex number. 6. Use the Forward button to move the column cursor to the digit to be set. Use the Up button to change the leading word address to 10001 .
  • Page 538 Signed decimal number & Unsigned decimal number 8. Use the Forward button to move the column cursor to the data length po- sition. Press the Down or Up button to select the data length LW . Select the data length in the following table.
  • Page 539 4. Press the Down button to select WR . 5. Press the OK button to enter the Monitor Screen of I/O memory WR. 6. Use the Forward button to move the column cursor to the data length po- sition. Press the Down or Up button to select the data length LW .
  • Page 540 LCD Option Board Function Section 8-6 8. Press the Forward button to move the column cursor to the digit to be set. Use the Down or Up button to change the data to 12345678 . 9. Press the OK button to save the setting.
  • Page 541 Section 8-6 14. Use the Up button to change the bit address to 05 . 15. Use the Forward button to move the column cursor to the bit flag position. The present setting is the default setting. Select the bit flag in the following table.
  • Page 542 Note Before changing the CPU Unit Operating Mode, make sure that the present PLC mode is PRG. If PLC is in RUN or MON mode, the CPU Unit Operating Mode is unchangeable. 6. Press the OK button to save the setting.
  • Page 543 After the address is changed, the value of PLC Setup will be updated im- mediately. 7. Use the Forward button to move the column cursor to the value of PLC Setup. Use the Up button to change the value to 0195 .
  • Page 544 The display format on line 2 will be flashing. 5. Use the Forward button to move the column cursor to the display format position on line 4. 6. Press the Down or Up button to change the display format to & .
  • Page 545 7. Press the ESC button to return to the previous screen. 8-6-6 Error This function can display the list of error history and the details of each error. It is possible to display up to 20 screens. User can also monitor the occurring errors in the Error Monitor Screen.
  • Page 546 LCD Option Board Function Section 8-6 6. If there is more than one error, press the Down button to scroll the screen and display the details of the next error. 7. Press the ESC button to return to the Error History Screen.
  • Page 547 9. Press the OK button to clear the memory error in the list. Note Only one error that occurs the earliest in the list will be cleared one time. 10. If the memory error itself has not been eliminated, when the Error Monitor...
  • Page 548: Before Operation

    • Memory Cassette should be equipped into the PLC. Otherwise LCD can- not operate Memory Cassette. • Make sure that the PLC mode is PRG. If the PLC is in RUN or MON mode, the operation of Memory Cassette cannot be executed.
  • Page 549 6. Press the OK button to start loading. A rate of loading will be displayed in the screen. 7. When the rate comes up to 0%, the loading is finished. Then it will display a complete screen. Saving Data from PLC to Memory Cassette Example Save data from the PLC to Memory Cassette.
  • Page 550 8. Press the OK button to start saving. A rate of saving will be displayed in the screen. 9. When the rate comes up to 0%, the saving is finished. Then it will display a complete screen. Comparing Data between PLC and MC Example Compare the data between the PLC and Memory Cassette.
  • Page 551 7. Press the OK button to start comparing. A rate of comparison will be displayed in the screen. 8. When the rate comes up to 0%, the comparing is finished. Then it will dis- play a result of comparison. Clearing Memory Cassette Example Clear the data in Memory Cassette.
  • Page 552 Selecting Cancel will result in a return to the previous menu. 7. Press the OK button to start clearing. A rate of clearance will be displayed in the screen. 8. When the rate comes up to 0%, the clearing is finished. Then it will display a complete screen. 8-6-8 User Monitor Screen This function can set or delete User Monitor Screen.
  • Page 553 I/O memory name 5. Use the Up button to change the Screen No. to 2 . 6. Use the Forward button to move the column cursor to the monitor flag position. Select the monitor flag in the following table. Monitor flag...
  • Page 554 000.00 to 959.15 Text string 10. Press the Up button to select DM . 11. Use the Forward button to move the column cursor to the memory address position. The present setting is the default address. 12. Move the column cursor to the digit to be set.
  • Page 555 User Monitor Screen. 2. One line setting will take 1 or 2 lines of space. If word or bit name length is more than 5 characters or data length is a LongWord, it will take 2 lines of space.
  • Page 556 LCD Option Board Function Section 8-6 Example 2 Display a text string "elevator" on the User Monitor Screen 2, Line 4, after the setting in example 1. 1,2,3... 1. Switch to the Setup Mode. 2. Press the Down button to select UserMonitor .
  • Page 557 2. Press the Forward + OK button simultaneously to enter the Data Change Screen. The column cursor will be flashing on the digit before the value. 3. Use the Forward button to move the column cursor to the digit to be set.
  • Page 558 Only when the cursor is on the digit before the value, press the Down or Up button to b move the cursor to other lines. 7. Use the Forward button to move the column cursor to the sign position. Press the Down or Up button to change the sign to -.
  • Page 559 2. Use the Down button to move the cursor to line 2. 3. Use the Forward button to move the column cursor to the bit state position. 4. Press the Down or Up button to change the bit state to ON .
  • Page 560 6. Use the Up button to change the Screen No. to 2 . Note Press and hold the UP button until the Screen No. changes to ALL , all the User Monitor Screen will be deleted if the setting is confirmed.
  • Page 561: Message Screen

    Section 8-6 8-6-9 Message Screen This function can set or delete Message Screen. It is possible to register up to 16 screens. User can monitor the text message in the Message Screen when control bit is ON. Creating New Message Screen Example When control bit W100.01 is ON, the Message Screen 2 will display the data...
  • Page 562 LCD Option Board Function Section 8-6 6. Use the Forward button to move the column cursor to the position of lead- ing word address. The present setting is the default address. The following table shows the default address and the setting range for each screen when the leading word address is D09000.
  • Page 563 The text message is stored in the DM area. One character is 1 byte and one DM word is 2 bytes, so 24 DM words need to be used to store one screen message. But not all of the area can be used.
  • Page 564 LCD Option Board Function Section 8-6 Select the character codes in the following table. Upper bits Lower bits...
  • Page 565 The present setting is Screen 01 . Note Press and hold the UP button until the Screen No. changes to ALL , all the User Monitor Screen will be deleted if the setting is confirmed. 6. Press the OK button to delete the screen.
  • Page 566 OFF time of PLC Word type Word address 5. Use the Up button to change the Timer No. to 16 . The following table shows the relation between the Timer No. and the con- trol bit when the word address is W001.
  • Page 567 LCD Option Board Function Section 8-6 6. Use the Forward button to move the column cursor to the timer flag position. Press the Up button to select the timer flag Y . Select the timer flag in the following table.
  • Page 568 LCD Option Board Function Section 8-6 13. Use the Forward button to move the column cursor to the position of word address. The present setting is the default address. 14. Move the column cursor to the digit to be set.
  • Page 569 Word address 6. Use the Up button to change the Timer No. to 6 . 7. Use the Forward button to move the column cursor to the timer flag posi- tion. Press the Up button to select the timer flag Y .
  • Page 570 14. Press the ESC or OK button to return to the Calander Timer Screen. Note 1. If a timer is in use, when the timer switch turns ON, the LCD Option Board will send command to PLC one time every 1 second to make control bit ON, when the timer switch turns OFF, the LCD Option Board will send com- mand to PLC one time every 1 second to make control bit OFF.
  • Page 571 LCD Option Board Function Section 8-6 Weekly Timer Calendar Timer Note Set the OFF date to 1 October, the Calendar Timer will turn OFF at 24:00 September.
  • Page 572: Data Backup

    LCD Option Board Function Section 8-6 8-6-11 Data Backup User can save the user settings to DM memory area from one LCD Option Board and load to other LCD Option Boards from the DM memory area. Note Please do not take the DM area (D8000 to D8999) for other use.
  • Page 573 7. Press the OK button to start loading. A rate of loading will be displayed in the screen. 8. When the rate comes up to 100%, the loading is finished. Then it will dis- play a complete screen. 9. Press the ESC or OK button to restart the LCD Option Board.
  • Page 574 7. Press the OK button to display a save confirming screen. 8. Press the OK button to start saving. A rate of saving will be displayed in the screen. 9. When the rate comes up to 100%, the saving is finished. Then it will display a complete screen.
  • Page 575: Language Selection

    LCD Option Board Function Section 8-6 8-6-12 Language Selection Display for the LCD Option Board is available in 2 languages - English and Japanese. Example Change the display language from English to Japanese. 1,2,3... 1. Switch to the Setup Mode.
  • Page 576: Plc Cycle Time

    The average cycle time of the CPU Unit will be displayed. 5. Press the Down button to display the max. cycle time of the CPU Unit. 6. Press the Down button to display the min. cycle time of the CPU Unit.
  • Page 577: Plc Clock Setting

    5. Press the OK button to enter the Clock Setup Screen. The present date, time and week of the CPU Unit will be displayed. 6. Use the Forward button to move the column cursor to the position of PLC time.
  • Page 578: Plc System Information

    4. Press the Down button to select SystemInfo . 5. Press the OK button to enter the System Information Screen. Line 1 to 3 will display the CPU Unit model, line 4 the lot No. 6. Press the Down button to display the CPU Unit version.
  • Page 579: Lcd Backlight Setting

    Backlight mode Backlight is always ON. Backlight is always OFF. 6. Use the Forward button to move the column cursor to the position of timer inerval. Use the Up button to change the timer interval to 05 . 7. Press the OK button to save the setting.
  • Page 580: Lcd Contrast Setting

    The contrast level of LCD display is 1 to 16. 6. Use the Up button to change the level to 08 . 7. Press the OK button to save the setting. 8. Press the ESC or OK button to return to the previous menu.
  • Page 581: Lcd Factory Setting

    LCD Option Board Function Section 8-6 8-6-18 LCD Factory Setting This function can initialize the factory setting of the LCD Option Board. The operation method will be shown in the following example. 1,2,3... 1. Switch to the Setup Mode. 2. Press the Down button to select Other .
  • Page 582: Trouble Shooting

    Do not repair the LCD Option Board by yourself. 8-7-2 Communication Error Message during Operation When communication error occurs, the error message will be displayed at the LCD Option Board and the red backlight will blink. Error message Probable cause...
  • Page 583: Deleting Eeprom Error

    According to the error message, the setting of User Monitor Screen 2, line 4 is corrupted. 2. Press the ESC button to exit the screen. Once the EEPROM Error Screen has disappeared, the display will return to normal. 3. Enter the User Monitor Setup Screen 2, line 4.
  • Page 584 Trouble Shooting Section 8-7...
  • Page 585: Program Transfer, Trial Operation, And Debugging

    Program Transfer..........Trial Operation and Debugging........
  • Page 586: 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 587: 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 588 9-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 589 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 590: 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 591 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 592 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 593: Troubleshooting

    10-4 Troubleshooting Unit Errors ........
  • Page 594: Error Classification And Confirmation

    • The BKUP indicator also lights while the user program is being restored when the power supply is turned ON. Not lit Other than the above. Note Do not turn OFF the CPU Unit power supply when this indicator is lit.
  • Page 595 BKUP 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 596: Troubleshooting

    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 597: Fatal Errors

    PRPHL BKUP 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. Data on fatal errors is displayed on the Error Tab Page of the CX-Program- mer’s PLC Error Window.
  • Page 598: Reference Information

    Memory Cassette. An error has occurred in memory. One or See below. more bits in A403 will turn ON to indicate where the error has occurred. See below for details. • Memory Error Location A403.00 is ON A checksum error Transfer the user program again.
  • Page 599 Section 10-2 I/O Bus Errors An I/O bus error occurs in data transfer between the CPU Units and Units connected to the I/O bus. Cycle the power supply. If operation is not restored when the power supply has been cycled, turn OFF the power supply and check that connections are proper and that there is no damage.
  • Page 600 Refer to A298 and A299 (instruction program address when the program fails) and take corrective actions so that illegal If the PLC Setup has been set to stop operation for an ille- area access errors will not occur. Alternatively, set the PLC...
  • Page 601: 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 602 • Errors are listed in the following table in order, with the most serious ones first. • If two or more errors occur at the same time, the most serious error code will be stored in A400. Errors Created with for FAL Instructions A FAL instruction was executed in the program to create a non-fatal error.
  • Page 603 When using battery-free operation, dis- an error in the battery in the CPU Unit able connecting battery errors in the PLC (i.e., the voltage is low or a battery is not Setup. mounted). ■ Reference Information Error flag Battery Error Flag, A402.04...
  • Page 604: Other Errors

    Confirm that the peripheral port settings in tions between the peripheral port and con- the PLC Setup are correct. nected device. Check the USB cable and replace it if neces- sary. An error has occurred in the communica- Confirm that the serial port 1/2 settings in tions between the serial port and connected the PLC Setup are correct.
  • Page 605: 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 606: Troubleshooting Unit Errors

    (2) Input bit number is used for output Correct program. instruction. 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 607 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 608 Troubleshooting Unit Errors Section 10-4...
  • Page 609: Inspection And Maintenance

    11-1-1 Inspection Points........
  • Page 610: 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 611: Unit Replacement Precautions

    Be sure to remove any lint prior to remounting the Unit. Note When replacing a CPU Unit, be sure that not only the user program but also all other data required for operation is transferred to or set in the new CPU...
  • Page 612: 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 613 Replacing User-serviceable Parts Section 11-2 Low Battery Indications The ERR/ALM indicator on the front of the CPU Unit will flash when the bat- tery is nearly discharged. ERR/ALM indicator When the ERR/ALM indicator flashes, connect the CX-Programmer to the peripheral port and read the error messages. If a low battery message appears on the CX-Programmer (see note 1) and the Battery Error Flag (A402.04) is ON (see note 1), first check whether the battery is properly con-...
  • Page 614 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 615 Replacing User-serviceable Parts Section 11-2 !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 616 Replacing User-serviceable Parts Section 11-2...
  • Page 617: A Standard Models

    High-speed counters: 100 kHz, 4 counters CP1L-L10DR-D 24 VDC 4 relay outputs Pulse outputs: CP1L-L10DT-A 100 to 4 transistor 2 axes at 100 kHz 240 VAC outputs, sinking CP1L-L10DT-D 24 VDC 4 transistor outputs, sinking CP1L-L10DT1-D 4 transistor outputs, sourcing...
  • Page 618: Programming Devices

    Remarks appearance CX-Programmer WS02-CXPC1-E- Programming and monitoring • The CP1L L or M model with 14, 20, 30, 40 Ver. 7.1 from a Windows environment or 60 points is supported by CX-Program- mer version 7.1 or higher. • The CP1L J model is supported by CX- Programmer Version 7.22 or higher.
  • Page 619: Standard Models

    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...
  • Page 620: Expansion Units

    Resolution: 1/256 Analog I/O Unit CP1W-MAD11 2 analog inputs 0 to 5 V, 1 to 5 V, 0 to 10 V, −10 to +10 V, 0 to CPM1A-MAD11 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 621 Name and appearance Model Specifications Remarks DeviceNet I/O Link Unit CPM1A-DRT21 As a DeviceNet Slave, 32 inputs and 32 outputs are allocated. CompoBus/S I/O Link CP1W-SRT21 As a CompoBus/S slave, 8 inputs and 8 outputs are allocated. Unit CPM1A-SRT21 Maintenance Products...
  • Page 622 Standard Models Appendix A...
  • Page 623: B Dimensions Diagrams

    Appendix B Dimensions Diagrams CP1L CPU Units CPU Units with 10 I/O Points Two, 4.5 dia. CPU Units with 14 or 20 I/O Points Four, 4.5 dia. CPU Units with 30 I/O Points Four, 4.5 dia.
  • Page 624 Dimensions Diagrams Appendix B CPU Units with 40 I/O Points Four, 4.5 dia. CPU Units with 60 I/O Points Four, 4.5 dia.
  • Page 625 Dimensions Diagrams Appendix B Optional Products CP1W-CIF01/CIF11/CIF12 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 0.15 36.4...
  • Page 626 Dimensions Diagrams Appendix B CP1W-DAM01 LCD Option Board 0.45 20.9 20.6 13.3 CP1W-ME05M Memory Cassette 18.6 14.7...
  • Page 627 Dimensions Diagrams Appendix B Expansion I/O Units 40-point I/O Units (CP1W/CPM1A-40EDR/40EDT/40EDT1) 110 100 90 40EDR Four, 4.5 dia. holes 32-point Output Units (CP1W-32ER/32ET/32ET1) Four Ø4.5 holes...
  • Page 628 Dimensions Diagrams Appendix B 20-point I/O Units (CP1W/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 (CP1W/CPM1A-16ER/CP1W-16ET/16ET1) 90 100±0.2 76±0.2...
  • Page 629 Dimensions Diagrams Appendix B Expansion Units CPM1A-MAD01/ CP1W/CPM1A/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 CP1W/CPM1A-TS@@@ Temperature Sensor Units 100±0.2...
  • Page 630 Dimensions Diagrams Appendix B CPM1A-DRT21 DeviceNet I/O Link Unit 100±0.2 56±0.2 Two, 4.5 dia. holes CP1W/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 631: Initial Settings

    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 632 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 633 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 634 Contain the number of pulses output from the correspond- Read-only • Cleared when power is turned ing pulse output port. PV range: 8000 0000 to 7FFF FFFF 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 •...
  • Page 635 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 636 Com- quency command value for the inverter. • Cleared when operation starts. mand Value Data range: 0000 to FFFF hex (0.00 to 655.35 Hz) (0.01- • Cleared when an error occurs in Hz increments, unsigned) the error counter. • Updated each error counter cycle.
  • Page 637 Error Counter This flag is ON while pulses are being output to the out- Read • Turned OFF when power is turned Pulse Output Flag put counter for inverter positioning.
  • Page 638 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 639: 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 640: 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 641 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 642 ON when there is a setting error in the PLC Setup. Read-only (non-fatal error) PLC Setup Error Location A406 When there is a setting error in the PLC Setup, the loca- Read-only tion of that error is written to A406 in 4-digit hexadecimal. I/O Information Name...
  • Page 643 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 644 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 645 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 646 Name Address Description Access Updated UM Read Protection Flag A99.00 Indicates whether the entire user program in the PLC is Read-only read-protected. OFF: UM not read-protected. ON: UM read-protected. Task Read Protection Flag A99.01 Indicates whether read protection is set for individual Read-only tasks.
  • Page 647 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)
  • Page 648 These flags indicate what kind of error has occurred at Read/write A528.07 the serial port 1. Serial Port 1 Send Ready A392.05 ON when the serial port 1 is able to send data in no-pro- Read-only Flag (No-protocol mode) tocol mode. Serial Port 1 Reception A392.06...
  • Page 649 ON: Execution error. 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...
  • Page 650 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...
  • Page 651 Auxiliary Area Allocations by Function Appendix C OMRON FB Library in the PLC Setup will be automatically stored in the related Auxiliary Area words A580 to A582 and used by the function blocks from the OMRON FB Library.
  • Page 652 Auxiliary Area Allocations by Function Appendix C...
  • Page 653 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 654 Error Counter This word contains the present value Cleared Every error 0 Present of the error counter for inverter posi- counter 0 Value, Signed tioning 0. cycle Data range: 8000 to 7FFF hex (−32,768 to 32,767) (signed) Inverter Fre-...
  • Page 655 0. put to error OFF: Pulse counter 0 output is started stopped Error Counter This flag is ON while pulse output to ON: Pulse Cleared When Pulse Output the output counter for inverter posi- output to the pulse out-...
  • Page 656 Every error of Unsigned value of the unsigned output value counter 1 Output Value (output value = present value of error cycle counter × error counter cycle (s) × gain) for inverter positioning 1. Data range: 0000 0000 to 8000 0000 hex (0 to 2,147,483,648)
  • Page 657 1. put to error OFF: Pulse counter 1 output is started stopped Error Counter This flag is ON while pulse output to ON: Pulse Cleared When Pulse Output the output counter for inverter posi- output to the pulse out-...
  • Page 658 Words Bits mode tings change Error Counter This flag turns ON when an alarm ON: Error Cleared When Alarm Flag 1 occurs in the error counter for counter alarm pulse out- inverter positioning 1. put to error...
  • Page 659 Is Set A99.03 Enable/Dis- Indicates whether creating a backup OFF: Retained Retained When pro- able Status for program file (.OBJ) is enabled or dis- Enabled. tection is Backing Up abled. set or ON: Disabled. the Program cleared...
  • Page 660 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 661 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 662 FFFFFFFF: A263 operation. The cycle time is recorded 0 to in 8-digit hexadecimal with the left- 429,496,729. most 4 digits in A263 and the right- 5 ms most 4 digits in A262. (0.1-ms units) A264 Present Cycle These words contain the present...
  • Page 663 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 664 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 665 (SPED(885), ACC(888), or PLS2(887)) is executed. A280 A280.00 Pulse Output This flag will be ON when pulses are Cleared Refreshed 0 Accel/Decel being output from pulse output 0 each cycle Flag according to an ACC(888) or...
  • Page 666 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 667 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 668 (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 669 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 670 Manufactur- The manufacturing lot number is Retained Retained --- ing Lot Num- stored in 6 digits hexadecimal. X, Y, ber, Lower and Z in the lot number are con- Digits verted to 10, 11, and 12, respec- tively. A311 Manufactur-...
  • Page 671 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 672 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 A339...
  • Page 673 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 674 A351.07 A351.08 Minutes (00 to 59) (BCD) A351.15 A352.00 Hours (00 to 23) (BCD) A352.07 A352.08 Day of the month (01 to 31) (BCD) A352.15 A353.00 Month (01 to 12) (BCD) A353.07 A353.08 Year (00 to 99) (BCD) A353.15 A354.00...
  • Page 675 (CP1L L-type Unit. (Not valid in Peripheral Bus CPU Units) Mode or NT Link mode.) A392.05 Serial Port 2 ON when the serial port 2 of a CP1L ON: Able-to- Retained Cleared Written Send Ready M-type CPU Unit is able to send data...
  • Page 676 • ON when a timeout error, overrun error, framing error, parity error, or BCC error occurs in Serial Gate- way mode. A392.13 Serial Port 1 ON when the serial port 1 of a CP1L ON: Able-to- Retained Cleared Written Send Ready...
  • Page 677 PT in NT Link or Serial PLC Link communicat- CPU Units) mode. response to the Bits 0 to 7 correspond to units 0 to 7. token. Serial Port 1 The corresponding bit will be ON PT Communi- when the serial port 1 of a CP1L L-...
  • Page 678 When two or more errors occur simultaneously, the highest error code will be recorded. A401 A401.00 Other Fatal ON when a fatal error that is not OFF: No Cleared Cleared Refreshed A314 Error Flag defined for A401.01 to A401.15...
  • Page 679 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 Expansion Unit or Expan- sion I/O Unit. If this happens, 0A0A hex will be output to A404.
  • Page 680 ERR/ALM indicator on the front OFF: of the CPU Unit will flash. FALS(006) The bit in A360 to A391 that corre- not executed sponds to the FAL number specified in FALS(006) will be turned ON and the corresponding error code will be written to A400.
  • Page 681 Words Bits mode tings change A406 PLC Setup When there is a setting error in the 0000 to 01FF Cleared Cleared Refreshed A402.10 Error Location PLC Setup, the location of that error when error hexadecimal is written to A406 in 4-digit hexadeci- occurs.
  • Page 682 Hexadecimal values umn. Time 8000 to 80FF correspond to task numbers 00 to FF. Bit 15 is turned ON when an interrupt has occurred. (This value is written after the inter- rupt task with the max. processing time is executed and cleared when PLC operation begins.)
  • Page 683 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 684 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 685 Retained Retained --- ON Time has been ON in 10-hour units. The hexadecimal data is stored in binary and it is updated every 10 hours. To reset this value, overwrite the current value with 0000. (This word is not cleared at startup,...
  • Page 686 Retained Cleared Restart Bit port 2 of a CP1L M-type CPU Unit. Restart (CP1L M- (Do not use this bit when the port is type CPU operating in Peripheral Bus Mode.) Units) Note This bit is turned OFF auto- matically when the restart processing is completed.
  • Page 687 2 is restarted. Bit 03: ON for (These flags are not valid in periph- framing error. eral bus mode and only bit 5 is valid Bit 04: ON for in NT Link mode.) overrun error. PLC Link Polling Unit: Bit 05: ON for Bit 05: ON for timeout error.
  • Page 688 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 689 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 690 Flags, Word Bits mode Settings change A598 A598.00 FPD Teach- Turn this bit ON to set the monitoring ON: Teach Cleared Cleared ing Bit time automatically with the teaching monitoring time function. OFF: Teaching While A598.00 is ON, FPD(269)
  • Page 691 Flags, Word Bits mode Settings change 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 Execution allocation RTU Easy 2 of a CP1L M-type CPU Unit using...
  • Page 692 Flags, Word Bits mode Settings change A641 A641.00 Serial Port 1 Turn ON this bit to send a command Turned ON: Retained Cleared DM fixed Modbus- and receive a response for serial port Execution allocation RTU Master 1 of a CP1L M-type CPU Unit using...
  • Page 693 Power ON These words contain the time at See at left. Retained Retained Written A731 Clock Data 4 which the power was turned ON four when times before the startup time stored power is in words A510 to A511. turned A729.00 to A729.07: Seconds (00 to...
  • Page 694 (failed to save) Error Flag area was not specified when starting to transfer DM initial values from the DM Area to the DM initial value area in flash memory. A751.13 DM Initial ON when an error occurred in trans- OFF: Normal...
  • Page 695 Appendix D 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-14 Condition Flags and 4-15 Clock Pulses for details.
  • Page 696 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 697 A200.15: Initial Task Flag A200.15 will turn ON during the first time a task is executed after it has reached executable status. It will be ON only while the task is being executed and will not turn ON if following cycles.
  • Page 698 0. A202.00 A202.00 The program is designed so that CMND(490) will be executed only when A202.00 is ON. A300: Error Record Pointer 00 to 14 hex Points to the next record to be used. Error record 1...
  • Page 699 Auxiliary Area Allocations by Address Appendix D A401.09: Program Error Flag Error Address Program Error Flag UM Overflow Error Flag A295.15 (A401.09): ON Illegal Instruction Flag A295.14 Distribution Overflow Error Flag A295.13 Task Error Flag A259.12 No END(001) Error Flag A295.11...
  • Page 700 Auxiliary Area Allocations by Address Appendix D...
  • Page 701: E 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 702: Memory Map

    18000 to FFFFF Reserved for system. Note (1) Do not access areas reserved for the system. (2) D10000 to D31999 (PLC memory addresses 12710 to 17CFF hex) cannot be used with CPU Units with 10, 14 or 20 I/O Points.
  • Page 703: Connection Methods

    500 m Terminal block (using ferrules) Note The CP1W-CIF11 is a non-isolated board, so the maximum transmission distance is 50 m. For distances over 50 m, use the RS-232C port on the CP1W-CIF01 and then connect through the NT-AL001-E Link...
  • Page 704 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...
  • Page 705 Note When connecting to a CP-series CPU Unit, turn OFF pin 5 and turn ON pin 6. 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.
  • Page 706 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 707 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 708 Connections to Serial Communications Option Boards Appendix F 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 709 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 710 (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 711 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 712 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. The CP1W-CIF12 is an isolated board, so the maximum transmission distance is 500m.
  • Page 713 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 714 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 715 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 716 Connections to Serial Communications Option Boards Appendix F 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 717 Connections to Serial Communications Option Boards Appendix F 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 718 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 719 (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 720 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 RS-422A/485 port on the CP1W-CIF12 directly, or the insulated NT-AL001-E, and do not use the CP1W-CIF11.
  • Page 721: 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 722 3. Connect the shield of the communications cable to the Hood (FG) terminal of the RS-232C connector on the Option Board. At the same time, ground the ground (GR) terminal of the CPU Unit to 100 Ω or less. 4. A connection example is shown below.
  • Page 723 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 724 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 725 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 726 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 727 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
  • Page 728 Connections to Serial Communications Option Boards Appendix F...
  • Page 729 (See note.) mode Monitor: MONITOR 8001 hex mode Run: RUN mode 8002 hex Note A Programming Console cannot be connected to the CP1L. If the default setting, “Use programming console,” is set, the CPU Unit will start in RUN mode.
  • Page 730 Error Stop Don't resister FAL to Register. Register. Every cycle error log Do not register. Comms Instructions Settings in FB: Settings for Communications Instructions in Function Blocks Name Default Settings When setting is read Internal Bits Settings by CPU Unit...
  • Page 731 PLC Setup Appendix G 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 732: Input Constant Settings

    PLC Setup Appendix G Input Constant Settings Name Default Settings When setting is read Internal Bits Settings by CPU Unit address 0CH: CIO 0 8 ms No filter (0 ms) When power is turned 00 to 07 10 hex Default (8ms) 0.5 ms...
  • Page 733 Communications Settings Standard Standard (9600; 1,7,2,E) Every cycle (9600; 1,7,2,E) (The standard settings (CP1L M- are as follows: 9,600 type CPU baud, 1 start bit, 7-bit Unit) data, even parity, and 2 stop bits.) (CP1L L- Custom type CPU Unit) Mode...
  • Page 734 Every cycle 00 to 00 hex (CP1L M- type CPU Unit) 1F hex (CP1L L- type CPU Unit) NT Link (1:N): 1:N NT Links 2-2-1 Baud 9,600 38,400 (standard) Every cycle 00 to 00 hex (disabled) (CP1L M- 115,200 (high speed)
  • Page 735 00 hex Code (CP1L M- type CPU Unit) 255 bytes FF hex (CP1L L- type CPU Unit) 0: 0 × 10 ms 2-3-8 Delay 0 ms Every cycle 00 to 0000 hex (CP1L M- type CPU Unit) 9999: 9999 × 10 ms...
  • Page 736 8,1,O: 8-bit data, 1 stop D hex bit, odd parity 8,1,N: 8-bit data, 1 stop E hex bit, no parity 50: 50 × 100 ms = 5 s 2-5-3 Response Every cycle 08 to 00 hex 50 × 100 ms =...
  • Page 737 PLC Setup Appendix G Name Default Settings When setting is read Internal Bits Settings by CPU Unit address PC Link (Master) 2-7-1 Baud 9,600 bps 38,400 (standard) Every cycle 00 to 00 hex (disabled) (CP1L M- type CPU Unit) 115,200 (high speed)
  • Page 738 Standard Standard (9600; 1,7,2,E) Every cycle (9600 ; 1,7,2,E) (The standard settings (CP1L M- are as follows: 9,600 type CPU baud, 1 start bit, 7-bit Unit) data, even parity, and 2 stop bits.) Custom Mode Host Link Host Link Every cycle...
  • Page 739 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 (CP1L M- length, bits, even parity...
  • Page 740 8,1,O: 8-bit data, 1 stop D hex bit, odd parity 8,1,N: 8-bit data, 1 stop E hex bit, no parity 50: 50 × 100 ms = 5 s 2-5-3 Response Every cycle 08 to 00 hex 50 × 100 ms =...
  • Page 741 PLC Setup Appendix G 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) (CP1L M- 115,200 (high speed) 0A hex...
  • Page 742 PLC Setup Appendix G 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 743 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 744: Pulse Output 0 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 745 PLC Setup Appendix G 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 746 PLC Setup Appendix G 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...
  • Page 747: 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 748 PLC Setup Appendix G 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 749 Default Settings When setting is read Internal Bits Settings by CPU Unit address Use inverter positioning Do not use When power is turned 00 to 03 0 hex Do not use 1 hex Gain 0: 10 (0.1 incre- 0: 10 (0.1 incre-...
  • Page 750 Default Settings When setting is read Internal Bits Settings by CPU Unit address Use inverter positioning Do not use When power is turned 08 to 11 0 hex Do not use 1 hex Gain 0: 10 (0.1 incre- 0: 10 (0.1 incre-...
  • Page 751 PLC Setup Appendix G Name Default Settings When setting is read Internal Bits Settings by CPU Unit address In-position range 0: 1 0: 1 When power is turned 00 to 15 0000 hex 0001 hex 65,535 FFFF hex Min. output value...
  • Page 752 PLC Setup Appendix G Name Default Settings When setting is read Internal Bits Settings by CPU Unit address Output coefficient dur- 0: 96 (0.01 0: 96 (0.01 incre- When power is turned 08 to 15 0 hex ing deceleration increments) ments) 1 (0.01 increments)
  • Page 753 The external power supply for the 30-point, 40-point and 60-point AC-power-supply CPU Units (Model CP1L-M DR-A) can be used beyond 300mA within the capacity range of the power supply built in the CPU Units. Please calculate the usable capacity of external power supply according to the following example.
  • Page 754 14-point and 20-point power-supply CPU Units manufactured since May 2008 (Model CP1L-L DR-A) can be used beyond 200mA within the capacity range of the power supply built in the CPU Units. Please calculate the usable capacity of external power supply according to the following example.
  • Page 755 Index saving and loading status Condition Flags absolute coordinates coordinate systems (absolute or relative) selecting Counter Area absolute pulse outputs countermeasures Access Error Flag noise xxxi addresses CPU Unit memory map initialization Always OFF Flag cycle time Always ON Flag...
  • Page 756 Host Link communications hot starting hot stopping failure point detection FAL Error Flag FAL errors flag I/O Hold Bit xxix FAL/FALS Number for System Error Simulation I/O interrupts FALS Error Flag response time FALS errors I/O memory flag addresses areas...
  • Page 757 IR/DR Operation between Tasks operating modes description effects of mode changes on counters operation Less Than Flag debugging Less Than or Equals Flag trial operation Limit Input Signal Type Origin Compensation...
  • Page 758 Overflow Flag Pulse Output 0 settings speed curve pulse output modes pulse output stop error codes pulse outputs Parameter Date PWM(891) outputs parts bit allocations replacing parts details peripheral port related flags/bits...
  • Page 759 Index self-maintaining bits serial communications variable duty ratio pulse outputs functions details Serial PLC Links vertical conveyor allocated words PLC Setup related flags simulating system errors software reset Work Area Special I/O Units work bits error information work words specifications...
  • Page 760 Index...
  • Page 761: 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. W471-E1-04 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 762 Revision History...
  • Page 763 Authorized Distributor: Cat. No. W471-E1-04 Note: Specifications subject to change without notice Printed in Japan This manual is printed on 100% recycled paper.

Table of Contents