OMRON SYSMAC CS Series CS1G/H-CPU@@H, CS1G/H-CPU@@-EV1 Programmable Controllers Operation Manual
Pubblicità
Pubblicità
Cat. No. W339-E1-16
SYSMAC CS Series
CS1G/H-CPU@@H, CS1G/H-CPU@@-EV1
Programmable Controllers
OPERATION MANUAL
SYSMAC CS Series
CS1G/H-CPU@@H,
CS1G/H-CPU@@-EV1
Programmable Controllers
Operation Manual
Revised March 2010
iv
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property.
!DANGER
Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury. Additionally, there may be severe property damage.
!WARNING
Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury. Additionally, there may be severe property damage.
!Caution
Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PLC” means Programmable Controller. “PC” is used, however, in some Programming Device displays to mean Programmable Controller.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information.
Note Indicates information of particular interest for efficient and convenient operation of the product.
1,2,3...
1.
Indicates lists of one sort or another, such as procedures, checklists, etc.
OMRON, 1999
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of
OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
v
Unit Versions of CS/CJ-series CPU Units
Unit Versions
A “unit version” has been introduced to manage CPU Units in the CS/CJ
Series according to differences in functionality accompanying Unit upgrades.
This applies to the CS1-H, CJ1-H, CJ1M, and CS1D CPU Units.
Notation of Unit Versions on Products
CS/CJ-series CPU Unit
The unit version is given to the right of the lot number on the nameplate of the products for which unit versions are being managed, as shown below.
Product nameplate
CS1H-CPU67H
CPU UNIT
Lot No. Unit version
Example for Unit version 3.0
Lot No. 040715 0000 Ver.3.0
OMRON Corporation MADE IN JAPAN
• CS1-H, CJ1-H, and CJ1M CPU Units manufactured on or before November 4, 2003 do not have a unit version given on the CPU Unit (i.e., the location for the unit version shown above is blank).
• The unit version of the CS1-H, CJ1-H, and CJ1M CPU Units, as well as the CS1D CPU Units for Single-CPU Systems, begins at version 2.0.
• The unit version of the CS1D CPU Units for Duplex-CPU Systems, begins at version 1.1.
• CPU Units for which a unit version is not given are called Pre-Ver. @.@
CPU Units, such as Pre-Ver. 2.0 CPU Units and Pre-Ver. 1.1 CPU Units.
Confirming Unit Versions with Support Software
CX-Programmer version 4.0 can be used to confirm the unit version using one of the following two methods.
• Using the PLC Information
• Using the Unit Manufacturing Information (This method can be used for
Special I/O Units and CPU Bus Units as well.)
Note CX-Programmer version 3.3 or lower cannot be used to confirm unit versions.
PLC Information
• If you know the device type and CPU type, select them in the Change
PLC Dialog Box, go online, and select PLC - Edit - Information from the menus.
• If you don't know the device type and CPU type, but 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.
In either case, the following PLC Information Dialog Box will be displayed.
vi
Unit version
Use the above display to confirm the unit version of the CPU Unit.
Unit Manufacturing Information
In the IO Table Window, right-click and select Unit Manufacturing informa- tion - CPU Unit.
The following Unit Manufacturing information Dialog Box will be displayed.
vii
Unit version
Using the Unit Version
Labels
Use the above display to confirm the unit version of the CPU Unit connected online.
The following unit version labels are provided with the CPU Unit.
These labels can be attached to the front of previous CPU Units to differentiate between CPU Units of different unit versions.
viii
Unit Version Notation
In this manual, the unit version of a CPU Unit is given as shown in the following table.
Product nameplate CPU Units on which no unit version is given
Units on which a version is given
(Ver. @.@)
Lot No. XXXXXX XXXX
OMRON Corporation MADE IN JAPAN
Meaning
Designating individual
CPU Units (e.g., the
CS1H-CPU67H)
Designating groups of
CPU Units (e.g., the
CS1-H CPU Units)
Designating an entire series of CPU Units
(e.g., the CS-series CPU
Units)
Pre-Ver. 2.0 CS1-H CPU Units
Pre-Ver. 2.0 CS1-H CPU Units
Pre-Ver. 2.0 CS-series CPU Units
Lot No. XXXXXX XXXX Ver. @ .@
CS1H-CPU67H CPU Unit Ver. @.@
CS1-H CPU Units Ver. @.@
CS-series CPU Units Ver. @.@
ix
Unit Versions
CS Series
Units
CS1-H CPU Units
Models
CS1 @-CPU@@H
CS1D CPU Units Duplex-CPU Systems
CS1D-CPU @@H
CS1 CPU Units
CS1 Version-1 CPU Units
Single-CPU Systems
CS1D-CPU @@S
CS1 @-CPU@@
CS1 @-CPU@@-V1
Function Support by Unit Version
Unit version
Unit version 4.0
Unit version 3.0
Unit version 2.0
Pre-Ver. 2.0
Unit version 1.2
Unit version 1.1
Pre-Ver. 1.1
Unit version 2.0
No unit version.
No unit version.
• Functions Supported for Unit Version 4.0 or Later
CX-Programmer 7.0 or higher must be used to enable using the functions added for unit version 4.0.
CX-Programmer version 7.2 can be used to enable using additional functions.
CS1-H CPU Units
Function
Online editing of function blocks OK
Unit version 4.0 or later
CS1 @-CPU@@H
Other unit versions
---
Note This function cannot be used for simulations on the CX-
Simulator.
Input-output variables in function blocks
Text strings in function blocks
New application Number-Text String Conversion Instructions:
OK
OK
OK instructions NUM4, NUM8, NUM16, STR4, STR8, and STR16
TEXT FILE WRITE (TWRIT)
The ST language can be used in task programs.
The SFC language can be used in task programs.
OK
OK with CX-Programmer version 7.2 or higher
OK with CX-Programmer version 7.2 or higher
---
---
---
---
---
---
User programs that contain functions supported only by CPU Units with unit version 4.0 or later cannot be used on CS/CJ-series CPU Units with unit version 3.0 or earlier. An error message will be displayed if an attempt is made to download programs containing unit version 4.0 functions to a CPU Unit with a unit version of 3.0 or earlier, and the download will not be possible.
If an object program file (.OBJ) using these functions is transferred to a CPU
Unit with a unit version of 3.0 or earlier, a program error will occur when operation is started or when the unit version 4.0 function is executed, and CPU
Unit operation will stop.
x
• Functions Supported for Unit Version 3.0 or Later
CX-Programmer 5.0 or higher must be used to enable using the functions added for unit version 3.0.
CS1-H CPU Units
Function
Function blocks
Serial Gateway (converting FINS commands to CompoWay/F commands at the built-in serial port)
Comment memory (in internal flash memory)
Expanded simple backup data
New application instructions
TXDU(256), RXDU(255) (support no-protocol communications with Serial Communications
Units with unit version 1.2 or later)
Additional instruction functions
OK
OK
OK
Model conversion instructions: XFERC(565),
DISTC(566), COLLC(567), MOVBC(568),
BCNTC(621)
OK
Special function block instructions: GETID(286) OK
TXD(235) and RXD(236) instructions (support noprotocol communications with Serial Communications Boards with unit version 1.2 or later)
OK
Unit version 3.0 or later
CS1 @-CPU@@H
Other unit versions
OK ---
OK ---
---
---
---
---
---
---
User programs that contain functions supported only by CPU Units with unit version 3.0 or later cannot be used on CS/CJ-series CPU Units with unit version 2.0 or earlier. An error message will be displayed if an attempt is made to download programs containing unit version 3.0 functions to a CPU Unit with a unit version of 2.0 or earlier, and the download will not be possible.
If an object program file (.OBJ) using these functions is transferred to a CPU
Unit with a unit version of 2.0 or earlier, a program error will occur when operation is started or when the unit version 3.0 function is executed, and CPU
Unit operation will stop.
xi
• Functions Supported for Unit Version 2.0 or Later
CX-Programmer 4.0 or higher must be used to enable using the functions added for unit version 2.0.
CS1-H CPU Units
Function
Downloading and Uploading Individual Tasks
Improved Read Protection Using Passwords
Write Protection from FINS Commands Sent to CPU Units via Networks
Online Network Connections without I/O Tables
Communications through a Maximum of 8 Network Levels
OK
OK
OK
OK
---
---
---
---
Connecting Online to PLCs via NS-series PTs
Setting First Slot Words
Automatic Transfers at Power ON without a Parameter File OK
Automatic Detection of I/O Allocation Method for Automatic
Transfer at Power ON
---
Operation Start/End Times
OK OK from lot number 030201
OK for up to 64 groups OK for up to 8 groups
OK
---
---
---
New Application
Instructions
MILH, MILR, MILC
=DT, <>DT, <DT, <=DT, >DT, >=DT
BCMP2
GRY
OK
OK
OK
OK
---
---
---
OK from lot number 030201
TPO
DSW, TKY, HKY, MTR, 7SEG
EXPLT, EGATR, ESATR, ECHRD,
ECHWR
Reading/Writing CPU Bus Units with
IORD/IOWR
PRV2
Unit version 2.0 or later
CS1-H CPU Units
(CS1 @-CPU@@H)
Other unit versions
OK ---
OK
OK
OK
OK
---
---
---
---
OK from lot number 030418
---
User programs that contain functions supported only by CPU Units with unit version 2.0 or later cannot be used on CS/CJ-series Pre-Ver. 2.0 CPU Units.
An error message will be displayed if an attempt is made to download programs containing unit version s.0 functions to a Pre-Ver. 2.0 CPU Unit, and the download will not be possible.
If an object program file (.OBJ) using these functions is transferred to a Pre-
Ver. 2.0 CPU Unit, a program error will occur when operation is started or when the unit version 2.0 function is executed, and CPU Unit operation will stop.
xii
Unit Versions and Programming Devices
The following tables show the relationship between unit versions and CX-Programmer versions.
Unit Versions and Programming Devices
CPU Unit Functions
CS/CJ-series unit
Ver. 4.0
CS/CJ-series unit
Ver. 3.0
CS/CJ-series unit
Ver. 2.0
CS1D CPU Units for Single-CPU
Systems, unit Ver.
2.0
CS1D CPU Units for Duplex-CPU
Systems, unit
Ver.1.
Functions added for unit version 4.0
Using new functions ---
Not using new functions
OK
Using new functions --Functions added for unit version 3.0
Functions added for unit version 2.0
Functions added for unit version 2.0
Functions added for unit version 1.1
Not using new functions
OK
Using new functions ---
Not using new functions
OK
Using new functions ---
Not using new functions
Using function blocks ---
Not using function blocks
OK
Ver. 3.3 or lower
CX-Programmer
Ver. 4.0 Ver. 5.0
Ver. 6.0
Ver. 7.0
or higher
-----
OK OK
OK (See note 2.)
OK
Ver. 7.2 or higher
OK (See note 2.)
OK
---
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Programming
Console
No restrictions
Note 1.
As shown above, there is no need to upgrade to CX-Programmer version as long as the functions added for unit versions are not used.
2.
CX-Programmer version 7.0 or higher is required to use the upgraded functions for CS/CJ-series CPU Units with unit version 4.0. CX-Programmer version 7.2 can be used to enable using additional functions.
Device Type Setting
Series
CS Series
The unit version does not affect the setting made for the device type on the
CX-Programmer. Select the device type as shown in the following table regardless of the unit version of the CPU Unit.
CPU Unit group
CS1-H CPU Units
CPU Unit model Device type setting on
CX-Programmer Ver. 4.0 or higher
CS1G-CPU @@H CS1G-H
CS1H-CPU @@H CS1H-H
CS1D CPU Units for Duplex-CPU Systems CS1D-CPU @@H
CS1D CPU Units for Single-CPU Systems CS1D-CPU @@S
CS1D-H (or CS1H-H)
CS1D-S
xiii
Troubleshooting Problems with Unit Versions on the CX-Programmer
Problem Cause
An attempt was made to download a program containing instructions supported only by later unit versions or a CPU Unit to a previous unit version.
Solution
Check the program or change to a CPU Unit with a later unit version.
After the above message is displayed, a compiling error will be displayed on the Compile Tab Page in the
Output Window.
An attempt was to download a
PLC Setup containing settings supported only by later unit versions or a CPU Unit to a previous unit version.
Check the settings in the PLC
Setup or change to a CPU Unit with a later unit version.
“????” is displayed in a program transferred from the
PLC to the CX-Programmer.
An attempt was made to upload a program containing instructions supported only by higher versions of CX-Programmer to a lower version.
New instructions cannot be uploaded to lower versions of
CX-Programmer. Use a higher version of CX-Programmer.
xiv
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
SECTION 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
1-10 Comparison of CS-series PLCs and C200HX/HG/HE Operation . . . . . . . . . . . . . . . . . . . .
SECTION 2
Specifications and System Configuration. . . . . . . . . . . . . . .
77
SECTION 3
Nomenclature, Functions, and Dimensions . . . . . . . . . . . . . 163
xv
xvi
TABLE OF CONTENTS
SECTION 4
Operating Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
SECTION 5
Installation and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
SECTION 6
DIP Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
SECTION 7
PLC Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
SECTION 8
I/O Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
SECTION 9
Memory Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
TABLE OF CONTENTS
SECTION 10
CPU Unit Operation and the Cycle Time. . . . . . . . . . . . . . . 481
SECTION 11
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
SECTION 12
Inspection and Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . 577
Appendices
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 785
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795
xvii
xviii
About this Manual:
This manual describes the installation and operation of the CS-series Programmable Controllers
(PLCs) and includes the sections described on the following page. The CS Series and CJ Series are subdivided as shown in the following figure.
CS Series
CS1-H CPU Units
CS1H-CPU @@H
CS1G-CPU @@H
CS1 CPU Units
CS1H-CPU @@(-V1)
CS1G-CPU @@(-V1)
CJ Series
CJ2 CPU Units
CJ2H-CPU @@-@@@
NSJ Series
NSJ Controllers
NSJ5-TQ @@(B)-G5D
NSJ5-SQ @@(B)-G5D
NSJ8-TV @@(B)-G5D
NSJ10-TV @@(B)-G5D
NSJ12-TS @@(B)-G5D
CJ1-H CPU Units
CJ1H-CPU @@H-R
CJ1H-CPU @@H
CJ1G-CPU @@H
CJ1G -CPU @@P
(Loop-control CPU Units)
CS1D CPU Units
CS1D CPU Units for
Duplex Systems
CS1D-CPU @@H
CS1D CPU Units for
Simplex Systems
CS1D-CPU @@S
CS1D Process-control CPU Units
CS1D-CPU @@P
CJ1M CPU Units
CJ1M-CPU @@
CJ1 CPU Units
CJ1G-CPU @@
NSJ Controllers
NSJ5-TQ @@(B)-M3D
NSJ5-SQ @@(B)-M3D
NSJ8-TV @@(B)-M3D
CS-series Basic I/O Units
CS-series Special I/O Units
CS-series CPU Bus Units
CS-series Power Supply Units
Note: A special Power Supply Unit must be used for CS1D CPU
Units.
CJ-series Basic I/O Units
CJ-series Special I/O Units
CJ-series CPU Bus Units
CJ-series Power Supply Units
NSJ-series Expansion Units
Please read this manual and all related manuals listed in the following table and be sure you understand information provided before attempting to install or use CS1G/H-CPU @@-EV1 or CS1G/H-
CPU @@H CPU Units in a PLC System.
Name
SYSMAC CS Series
CS1G/H-CPU @@H, CS1G/H-CPU@@-EV1
Programmable Controllers Operation Manual
Cat. No.
W339
W394
Contents
Provides an outlines of and describes the design, installation, maintenance, and other basic operations for the CS-series PLCs. (This manual)
This manual describes programming and other methods to use the functions of the CS/
CJ-series PLCs.
SYSMAC CS/CJ/NSJ Series
CS1G/H-CPU @@-EV1, CS1G/H-CPU@@H, CS1D-CPU@@H,
CS1D-CPU @@S, CJ1H-CPU@@H-R, CJ1G-CPU@@, CJ1M-
CPU @@, CJ1G-CPU@@P, CJ1G/H-CPU@@H
Programmable Controllers Programming Manual
SYSMAC CS/CJ/NSJ Series
CS1G/H-CPU @@-EV1, CS1G/H-CPU@@H, CS1D-CPU@@H,
CS1D-CPU @@S, CJ1H-CPU@@H-R, CJ1G-CPU@@, CJ1M-
CPU @@, CJ1G-CPU@@P, CJ1G/H-CPU@@H
Programmable Controllers Instructions Reference Manual
W340 Describes the ladder diagram programming instructions supported by CS/CJ-series PLCs.
xix
Name
SYSMAC CS/CJ/NSJ Series
CQM1H-PRO01-E, C200H-PRO27-E, CQM1-PRO01-E
Programming Consoles Operation Manual
SYSMAC CS/CJ/NSJ Series
CS1G/H-CPU @@-EV1, CJ1G/H-CPU@@H, CS1D-CPU@@H,
CS1D-CPU @@S, CJ1M-CPU@@, CJ1H-CPU@@H-R, CJ1G-
CPU @@, CJ1G-CPU@@, CJ1G-CPU@@P, CJ1G/H-CPU@@H,
CS1W-SCB @@-V1, CS1W-SCU@@-V1,
CJ1W-SCU @@-V1, CP1H-X @@@@ @ , CP1H-XA @@@@ @ ,
CP1H-Y @@@@ @
Communications Commands Reference Manual
SYSMAC CS Series
CS1D-CPU @@H CPU Units
CS1D-CPU @@S CPU Units
CS1D-DPL01 Duplex Unit
CS1D-PA207R Power Supply Unit
Duplex System Operation Manual
SYSMAC WS02-CXPC @ -E-V @
CX-Programmer Operation Manual
Cat. No.
W341
W342
Contents
Provides information on how to program and operate CS/CJ-series PLCs using a Programming Console.
Describes the C-series (Host Link) and FINS communications commands used with CS/CJseries PLCs.
W405
W446
Provides an outline of and describes the design, installation, maintenance, and other basic operations for a Duplex System based on CS1D CPU Units.
SYSMAC WS02-CXPC @ -E-V @
CX-Programmer Ver. 7.0 Operation Manual Function Blocks
(CS1G-CPU @@ H, CS1H-CPU @@ H, CJ1H-CPU @@H-R,
CJ1G-CPU @@ H, CJ1H-CPU @@ H,
CJ1M-CPU @@ , CP1H-X @@@@ @ ,
CP1H-XA @@@@ @ , CP1H-Y @@@@ @ CPU Units)
SYSMAC CS/CJ Series
CS1W-SCB @@-V1, CS1W-SCU@@-V1, CJ1W-SCU@@-V1
Serial Communications Boards/Units Operation Manual
W447
W336
Provides information on how to use the CX-
Programmer for all functionality except for function blocks.
Describes the functionality unique to the CX-
Programmer and CP-series CPU Units or CS/
CJ-series CPU Units with unit version 3.0 or later based on function blocks. Functionality that is the same as that of the CX-Programmer is described in W446 (enclosed).
SYSMAC WS02-PSTC1-E
CX-Protocol Operation Manual
CXONE-AL @@C-V4/AL@@D-V4
CX-Integrator Operation Manual
CXONE-AL @@C-V4/AL@@D-V4
CX-One Setup Manual
W344
W464
W463
Describes the use of Serial Communications
Unit and Boards to perform serial communications with external devices, including the usage of standard system protocols for OMRON products.
Describes the use of the CX-Protocol to create protocol macros as communications sequences to communicate with external devices.
Describes operating procedures for the CX-
Integrator Network Configuration Tool for CS-,
CJ-, CP-, and NSJ-series Controllers.
Installation and overview of CX-One FA
Integrated Tool Package.
This manual contains the following sections.
Section 1 introduces the special features and functions of the CS-series PLCs and describes the differences between these PLCs and other PLCs.
Section 2 provides tables of standard models, Unit specifications, system configurations, and a comparison between different Units.
Section 3 provides the names of components and their functions for various Units. The Unit dimensions are also provided.
Section 4 outlines the steps required to assemble and operate a CS-series PLC system.
xx
Section 5 describes how to install a PLC System, including mounting the various Units and wiring the
System. Be sure to follow the instructions carefully. Improper installation can cause the PLC to malfunction, resulting in very dangerous situations.
Section 6 describes the settings of the DIP switch and how they affect operation.
Section 7 describes the settings in the PLC Setup and how they are used to control CPU Unit operation.
Section 8 describes I/O allocations to Basic I/O Units, Special I/O Units, and CPU Bus Units, and data exchange with Units.
Section 9 describes the structure and functions of the I/O Memory Areas and Parameter Areas.
Section 10 describes the internal operation of the CPU Unit and the cycle used to perform internal processing.
Section 11 provides information on hardware and software errors that occur during PLC operation.
Section 12 provides inspection and maintenance information.
The Appendices provide Unit specifications, current/power consumptions, Auxiliary Area words and bits, a comparison of CS-series and previous PLCs, internal I/O addresses, and PLC Setup settings.
!WARNING
Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.
xxi
xxii
Read and Understand this Manual
Please read and understand this manual before using the product. Please consult your OMRON representative if you have any questions or comments.
Warranty and Limitations of Liability
WARRANTY
OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by OMRON.
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NON-
INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE
PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS
DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR
INTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.
LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES,
LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS,
WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT
LIABILITY.
In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted.
IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS
REGARDING THE PRODUCTS UNLESS OMRON'S ANALYSIS CONFIRMS THAT THE PRODUCTS
WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO
CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
xxiii
Application Considerations
SUITABILITY FOR USE
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products.
At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product, machine, system, or other application or use.
The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses listed may be suitable for the products:
• Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or uses not described in this manual.
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles, safety equipment, and installations subject to separate industry or government regulations.
• Systems, machines, and equipment that could present a risk to life or property.
Please know and observe all prohibitions of use applicable to the products.
NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO
ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED
FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user's programming of a programmable product, or any consequence thereof.
xxiv
Disclaimers
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other reasons.
It is our practice to change model numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the products may be changed without any notice. When in doubt, special model numbers may be assigned to fix or establish key specifications for your application on your request. Please consult with your OMRON representative at any time to confirm actual specifications of purchased products.
DIMENSIONS AND WEIGHTS
Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when tolerances are shown.
PERFORMANCE DATA
Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and
Limitations of Liability.
ERRORS AND OMISSIONS
The information in this manual has been carefully checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
xxv
xxvi
PRECAUTIONS
This section provides general precautions for using the CS-series Programmable Controllers (PLCs) and related devices.
The information contained in this section is important for the safe and reliable application of Programmable
Controllers. You must read this section and understand the information contained before attempting to set up or operate a PLC system.
Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Relay Output Noise Reduction Methods . . . . . . . . . . . . . . . . . . . . .
xxvii
Intended Audience
1
1
Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.
2 General Precautions
The user must operate the product according to the performance specifications described in the operation manuals.
Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative.
Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.
This manual provides information for programming and operating the Unit. Be sure to read this manual before attempting to use the Unit and keep this manual close at hand for reference during operation.
3
!WARNING
It is extremely important that a PLC and all PLC Units be used for the specified 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 applications.
Safety Precautions
!WARNING
The CPU Unit refreshes I/O even when the program is stopped (i.e., even in
PROGRAM mode). Confirm safety thoroughly in advance before changing the status of any part of memory allocated to I/O Units, Special I/O Units, or CPU
Bus Units. Any changes to the data allocated to any Unit may result in unexpected operation of the loads connected to the Unit. Any of the following operation may result in changes to memory status.
• Transferring I/O memory data to the CPU Unit from a Programming
Device.
• Changing present values in memory from a Programming Device.
• Force-setting/-resetting bits from a Programming Device.
• Transferring I/O memory files from a Memory Card or EM file memory to the CPU Unit.
• Transferring I/O memory from a host computer or from another PLC on a network.
!WARNING
Do not attempt to take any Unit apart while the power is being supplied. Doing so may result in electric shock.
xxviii
Safety Precautions
3
!WARNING
Do not touch any of the terminals or terminal blocks while the power is being supplied. Doing so may result in electric shock.
!WARNING
Do not attempt to disassemble, repair, or modify any Units. Any attempt to do so may result in malfunction, fire, or electric shock.
!WARNING
Do not touch the Power Supply Unit while power is being supplied or immediately after power has been turned OFF. Doing so may result in electric shock.
!WARNING
Provide safety measures in external circuits (i.e., not in the Programmable
Controller), including the following items, to ensure safety in the system if an abnormality occurs due to malfunction of the PLC or another external factor affecting the PLC operation. Not doing so may result in serious accidents.
• Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits.
• The PLC will turn OFF all outputs when its self-diagnosis function detects any error or when a severe failure alarm (FALS) instruction is executed.
Unexpected operation, however, may still occur for errors in the I/O control section, errors in I/O memory, and other errors that cannot be detected by the self-diagnosis function. As a countermeasure for all such errors, external safety measures must be provided to ensure safety in the system.
• The PLC outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors. As a countermeasure for such problems, external safety measures must be provided to ensure safety in the system.
• When the 24-V DC output (service power supply to the PLC) is overloaded or short-circuited, the voltage may drop and result in the outputs being turned OFF. As a countermeasure for such problems, external safety measures must be provided to ensure safety in the system.
!Caution Confirm safety before transferring data files stored in the file memory (Memory Card or EM file memory) to the I/O area (CIO) of the CPU Unit using a peripheral tool. Otherwise, the devices connected to the output unit may malfunction regardless of the operation mode of the CPU Unit.
!Caution Fail-safe measures must be taken by the customer to ensure safety in the event of incorrect, missing, or abnormal signals caused by broken signal lines, momentary power interruptions, or other causes. Serious accidents may result from abnormal operation if proper measures are not provided.
!Caution Execute online edit only after confirming that no adverse effects will be caused by extending the cycle time. Otherwise, the input signals may not be readable.
xxix
Operating Environment Precautions
4
!Caution A CS1-H/CJ1-H/CJ1M/CS1D CPU Unit automatically back up the user program and parameter data to flash memory when these are written to the CPU
Unit. I/O memory (including the DM, EM, and HR Areas), however, is not written to flash memory. The DM, EM, and HR Areas can be held during power interruptions with a battery. If there is a battery error, the contents of these areas may not be accurate after a power interruption. If the contents of the
DM, EM, and HR Areas are used to control external outputs, prevent inappropriate outputs from being made whenever the Battery Error Flag (A40204) is
ON. Areas such as the DM, EM, and HR Areas, the contents of which can be held during power interrupts, is backed up by a battery. If a battery error occurs, the contents of the areas that are set to be held may not be accurate even though a memory error will not occur to stop operation. If necessary for the safety of the system, take appropriate measures in the ladder program whenever the Battery Error Flag (A40204) turns ON, such as resetting the data in these areas.
!Caution Confirm safety at the destination node before transferring a program to another node or changing contents of the I/O memory area. Doing either of these without confirming safety may result in injury.
!Caution Tighten the screws on the terminal block of the AC Power Supply Unit to the torque specified in the operation manual. The loose screws may result in burning or malfunction.
!Caution Be careful when connecting personal computers or other peripheral devices to a PLC to which is mounted a non-insulated Unit (CS1W-CLK1 @(-V1),
CS1W-CLK5 @(-V1), or CS1W-ETN01) connected to an external power supply. A short-circuit will be created if the 24 V side of the external power supply is grounded and the 0 V side of the peripheral device is grounded. When connecting a peripheral device to this type of PLC, either ground the 0 V side of the external power supply or do not ground the external power supply at all.
4 Operating Environment Precautions
!Caution Do not operate the control system in the following locations:
• Locations subject to direct sunlight.
• Locations subject to temperatures or humidity outside the range specified in the specifications.
• Locations subject to condensation as the result of severe changes in temperature.
• Locations subject to corrosive or flammable gases.
• Locations subject to dust (especially iron dust) or salts.
• Locations subject to exposure to water, oil, or chemicals.
• Locations subject to shock or vibration.
!Caution Take appropriate and sufficient countermeasures when installing systems in the following locations:
• Locations subject to static electricity or other forms of noise.
• Locations subject to strong electromagnetic fields.
• Locations subject to possible exposure to radioactivity.
xxx
Application Precautions
5
• 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. Be sure that the operating environment is within the specified conditions at installation and remains within the specified conditions during the life of the system.
5 Application Precautions
Observe the following precautions when using the PLC System.
• You must use the CX-Programmer (programming software that runs on
Windows) if you need to program more than one task. A Programming
Console can be used to program only one cyclic task plus interrupt tasks.
A Programming Console can, however, be used to edit multitask programs originally created with the CX-Programmer.
• There are restrictions in the areas and addresses that can be accessed in
I/O memory of the CS-series CPU Units when using the C200H Special
I/O Units in combination with the following functions. (Refer to Appendix F
Restrictions in Using C200H Special I/O Units for details.)
• There are restrictions in data transfer with the CPU Unit when programming transfers inside an ASCII Unit using the PLC READ, PLC
WRITE, and similar commands.
• There are restrictions in data transfer with the CPU Unit for allocated bits and DM area specifications (areas and addresses for source and destination specifications).
• The DeviceNet output area for a C200HW-DRM21-V1 DeviceNet Master Unit (CIO 0050 to CIO 0099) overlaps with the I/O bit area (CIO
0000 to CIO 0319). Do not use automatic allocations for I/O in any system where allocations to the DeviceNet system will overlap with allocations to I/O Units. Instead, use a Programming Device or the CX-
Programmer to manually allocate I/O for the DeviceNet devices, being sure that the same words and bits are not allocated more than once, and transfer the resulting I/O table to the CPU Unit. If DeviceNet communications are attempted when the same bits are allocated to both
DeviceNet devices and I/O Units (which can occur even if automatic allocation is used), the DeviceNet devices and I/O Units may both exhibit faulty operation.
• Special bits and flags for PLC Link Units (CIO 0247 to CIO 0250) overlap with the I/O bit area (CIO 0000 to CIO 0319). Do not use automatic allocations for I/O in any system where allocations to the I/O Units will overlap with allocations to I/O Units. Instead, use a Programming Device or the CX-Programmer to manually allocate I/O to I/O Units, being sure that the special bits and flags for PLC Link Units are not used, and transfer the resulting I/O table to the CPU Unit. If operation is attempted when the special bits and flags for PLC Link Units are also allocated to I/O Units (which can occur even if automatic allocation is used), the
PLC Link Units and I/O Units may both exhibit faulty operation.
!WARNING
Always heed these precautions. Failure to abide by the following precautions could lead to serious or possibly fatal injury.
xxxi
Application Precautions
5
• Always connect to a ground of 100 Ω or less when installing the Units. Not connecting to a ground of 100 Ω or less may result in electric shock.
• A ground of 100 Ω or less must be installed when shorting the GR and LG terminals on the Power Supply Unit.
• Always turn OFF the power supply to the PLC before attempting any of the following. Not turning OFF the power supply may result in malfunction or electric shock.
• Mounting or dismounting Power Supply Units, I/O Units, CPU Units, Inner Boards, or any other Units.
• Assembling the Units.
• Setting DIP switches or rotary switches.
• Connecting cables or wiring the system.
• 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.
• When using a CS1 CPU Unit for the first time, install the CS1W-BAT1 Battery provided with the Unit and clear all memory areas from a Programming Device before starting to program. (The Battery is installed in advance for CS1-H CPU Units, so initial Battery installation and the memory clear operation are not required.)
• When using the internal clock for a CS1 CPU Unit, turn ON power after installing the battery and set the clock from a Programming Device or using the DATE(735) instruction. The clock will not start until the time has
been set. Refer to 1-12 Initial Setup for CS1 CPU Units for details. (The
Battery is installed in advance for CS1-H CPU Units, so clock does not need to be set.)
• The user program and parameter area data in CS1-H CPU Units is backed up in the built-in flash memory. The BKUP indicator will light on the front of the CPU Unit when the backup operation is in progress. Do not turn OFF the power supply to the CPU Unit when the BKUP indicator is lit. The data will not be backed up if power is turned OFF.
• If, when using a CS1-H CPU Unit, the PLC Setup is set to specify using the mode set on the Programming Console and a Programming Console is not connected, the CPU Unit will start in RUN mode. This is the default setting in the PLC Setup. (A CS1 CPU Unit will start in PROGRAM mode under the same conditions.)
• When creating an AUTOEXEC.IOM file from a Programming Device (a
Programming Console or the CX-Programmer) to automatically transfer data at startup, set the first write address to D20000 and be sure that the size of data written does not exceed the size of the DM Area. When the data file is read from the Memory Card at startup, data will be written in the CPU Unit starting at D20000 even if another address was set when the AUTOEXEC.IOM file was created. Also, if the DM Area is exceeded
(which is possible when the CX-Programmer is used), the remaining data will be written to the EM Area. Refer to information on file operations in the CS/CJ Series Programming Manual for details.
• Always turn ON power to the PLC before turning ON power to the control system. If the PLC power supply is turned ON after the control power supply, temporary errors may result in control system signals because the
xxxii
Application Precautions
5
output terminals on DC Output Units and other Units will momentarily turn
ON when power is turned ON to the PLC.
• Fail-safe measures must be taken by the customer to ensure safety in the event that outputs from Output Units remain ON as a result of internal circuit failures, which can occur in relays, transistors, and other elements.
• Fail-safe measures must be taken by the customer to ensure safety in the event of incorrect, missing, or abnormal signals caused by broken signal lines, momentary power interruptions, or other causes.
• Interlock circuits, limit circuits, and similar safety measures in external circuits (i.e., not in the Programmable Controller) must be provided by the customer.
• Do not turn OFF the power supply to the PLC when data is being transferred. In particular, do not turn OFF the power supply when reading or writing a Memory Card. Also, do not remove the Memory Card when the
BUSY indicator is lit. To remove a Memory Card, first press the memory card power supply switch and then wait for the BUSY indicator to go out before removing the Memory Card.
• 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. Make sure that the external loads will not produce dangerous conditions when this occurs. (When operation stops for a fatal error, including those produced with the FALS(007) instruction, all outputs from Output Unit will be turned
OFF and only the internal output status will be maintained.)
• The contents of the DM, EM, and HR Areas in the CPU Unit are backed up by a Battery. If the Battery voltage drops, this data may be lost. Provide countermeasures in the program using the Battery Error Flag (A40204) to re-initialize data or take other actions if the Battery voltage drops.
• When supplying power at 200 to 240 V AC, always remove the metal jumper from the voltage selector terminals on the Power Supply Unit
(except for Power Supply Units with wide-range specifications). The product will be destroyed and must be replaced if 200 to 240 V AC is supplied
while the metal jumper is attached. Refer to 5-3 Wiring for details.
• Always use the power supply voltages specified in the operation manuals.
An incorrect voltage may result in malfunction or burning.
• Do not apply a force greater than 100 N on the terminal block when tightening the terminals.
• Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied. Be particularly careful in places where the power supply is unstable. An incorrect power supply may result in malfunction.
• Install external breakers and take other safety measures against short-circuiting in external wiring. Insufficient safety measures against short-circuiting may result in burning.
• Install Units as far as possible away from devices that generate strong, high-frequency noise.
• Do not apply voltages to the Input Units in excess of the rated input voltage. Excess voltages may result in burning.
• Do not apply voltages or connect loads to the Output Units in excess of the maximum switching capacity. Excess voltage or loads may result in burning.
xxxiii
Application Precautions
5
• Separate the line ground terminal (LG) from the functional ground terminal (GR) on the Power Supply Unit before performing withstand voltage tests or insulation resistance tests. Not doing so may result in burning.
• Change the applied voltage gradually using the adjuster on the Tester. If full dielectric strength voltage is applied or turned OFF using the switch on the Tester, the generated impulse voltage may damage the Power Supply
Unit.
• Install the Units properly as specified in the operation manuals. Improper installation of the Units may result in malfunction.
• Be sure that all the Backplane mounting screws, terminal block screws, and cable connector screws are tightened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction.
• Leave the label attached to the Unit when wiring. Removing the label may result in malfunction if foreign matter enters the Unit.
• Remove the label after the completion of wiring to ensure proper heat dissipation. Leaving the label attached may result in malfunction.
• Use crimp terminals for wiring. Do not connect bare stranded wires directly to terminals. Connection of bare stranded wires may result in burning.
• Wire all connections correctly.
• Do not drop the product or subject it to excessive vibration or shock.
• Double-check all wiring and switch settings before turning ON the power supply. Incorrect wiring may result in burning.
• Mount Units only after checking terminal blocks and connectors completely.
• Be sure that the terminal blocks, Memory Units, expansion cables, and other items with locking devices are properly locked into place. Improper locking may result in malfunction.
• Check switch settings, the contents of the DM Area, and other preparations before starting operation. Starting operation without the proper settings or data may result in an unexpected operation.
• Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected operation.
• Confirm that no adverse effect will occur in the system before attempting any of the following. Not doing so may result in an unexpected operation.
• Changing the operating mode of the PLC (including the setting of the startup operating mode).
• Force-setting/force-resetting any bit in memory.
• Changing the present value of any word or any set value in memory.
• Resume operation only after transferring to the new CPU Unit the contents of the DM Area, HR Area, and other data required for resuming operation. Not doing so may result in an unexpected operation.
• Do not pull on the cables or bend the cables beyond their natural limit.
Doing either of these may break the cables.
• Do not place objects on top of the cables or other wiring lines. Doing so may break the cables.
• Do not use commercially available RS-232C personal computer cables.
Always use the special cables listed in this manual or make cables according to manual specifications. Using commercially available cables may damage the external devices or CPU Unit.
xxxiv
Application Precautions
5
• Never connect pin 6 (5-V power supply) on the RS-232C port on the CPU
Unit to any device other than an NT-AL001, CJ1W-CIF11 Link Adapter, or
NV3W-M @20L Programmable Terminal. The external device or the CPU
Unit may be damaged.
• When replacing parts, be sure to confirm that the rating of a new part is correct. Not doing so may result in malfunction or burning.
• Before touching a Unit, be sure to first touch a grounded metallic object in order to discharge any static build-up. Not doing so may result in malfunction or damage.
• When transporting or storing circuit boards, cover them in antistatic material to protect them from static electricity and maintain the proper storage temperature.
• Do not touch circuit boards or the components mounted to them with your bare hands. There are sharp leads and other parts on the boards that may cause injury if handled improperly.
• Do not short the battery terminals or charge, disassemble, heat, or incinerate the battery. Do not subject the battery to strong shocks. Doing any of these may result in leakage, rupture, heat generation, or ignition of the battery. Dispose of any battery that has been dropped on the floor or otherwise subjected to excessive shock. Batteries that have been subjected to shock may leak if they are used.
• UL standards required that batteries be replaced only by experienced technicians. Do not allow unqualified persons to replace batteries.
• Dispose of the product and batteries according to local ordinances as they apply.
Have qualified specialists properly dispose of used batteries as industrial waste.
• Unexpected operation may result if inappropriate data link tables or parameters are set. Even if appropriate data link tables and parameters have been set, confirm that the controlled system will not be adversely affected before starting or stopping data links.
• CPU Bus Units will be restarted when routing tables are transferred from a Programming Device to the CPU Unit. Restarting these Units is required to read and enable the new routing tables. Confirm that the system will not be adversely affected before allowing the CPU Bus Units to be reset.
• When wiring crossovers between terminals, the total current for both terminals will flow in the line. Check the current capacities of all wires before wiring crossovers.
• The following precautions apply to Power Supply Units with Replacement
Notification.
• When the LED display on the front of the Power Supply Unit starts to alternately display “0.0” and “A02” or the alarm output automatically turns OFF, replace the Power Supply Unit within 6 months.
• Separate the alarm output cables from power lines and high-voltage lines.
• Do not apply a voltage or connect a load to the alarm output that exceeds the rated voltage or load.
• Maintain an ambient storage temperature of −20 to 30°C and humidity of 25% to 70% when storing the product for longer than 3 months to
xxxv
Conformance to EC Directives
6
keep the replacement notification function in optimum working condition.
• Always use the standard installation method. A nonstandard installation will decrease heat dissipation, delay the replacement notification signal, and may degrade or damage the internal elements.
• Design the system so that the power supply capacity of the Power Supply
Unit is not exceeded.
• Do not touch the terminals on the Power Supply Unit immediately after turning OFF the power supply. Electric shock may occur due to the residual voltage.
6 Conformance to EC Directives
6-1 Applicable Directives
• EMC Directives
• Low Voltage Directive
6-2 Concepts
EMC Directives
OMRON devices that comply with EC Directives also conform to the related
EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to
EMC standards (see the following note). Whether the products conform to the standards in the system used by the customer, however, must be checked by the customer.
EMC-related performance of the OMRON devices that comply with EC Directives will vary depending on the configuration, wiring, and other conditions of the equipment or control panel on which the OMRON devices are installed.
The customer must, therefore, perform the final check to confirm that devices and the overall machine conform to EMC standards.
Note Applicable EMC (Electromagnetic Compatibility) standards are as follows:
EMS (Electromagnetic Susceptibility): EN61131-2 or EN61000-6-2
EMI (Electromagnetic Interference): EN61000-6-4
(Radiated emission: 10-m regulations)
Low Voltage Directive
Always ensure that devices operating at voltages of 50 to 1,000 V AC and 75 to 1,500 V DC meet the required safety standards for the PLC (EN61131-2).
6-3 Conformance to EC Directives
The CS-series PLCs comply with EC Directives. To ensure that the machine or device in which the CS-series PLC is used complies with EC Directives, the
PLC must be installed as follows:
1,2,3...
1.
The CS-series PLC must be installed within a control panel.
2.
You must use reinforced insulation or double insulation for the DC power supplies used for the communications power supply and I/O power supplies.
3.
CS-series PLCs complying with EC Directives also conform to the Common Emission Standard (EN61000-6-4). Radiated emission characteristics (10-m regulations) may vary depending on the configuration of the control panel used, other devices connected to the control panel, wiring,
xxxvi
Conformance to EC Directives
6
and other conditions. You must therefore confirm that the overall machine or equipment complies with EC Directives.
6-4 Relay Output Noise Reduction Methods
The CS-series PLCs conforms to the Common Emission Standards
(EN61000-6-4) of the EMC Directives. However, noise generated by relay output switching may not satisfy these Standards. In such a case, a noise filter must be connected to the load side or other appropriate countermeasures must be provided external to the PLC.
Countermeasures taken to satisfy the standards vary depending on the devices on the load side, wiring, configuration of machines, etc. Following are examples of countermeasures for reducing the generated noise.
Countermeasures
(Refer to EN61000-6-4 for more details.)
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.
Countermeasure Examples
When switching an inductive load, connect an surge protector, diodes, etc., in parallel with the load or contact as shown below.
Circuit
CR method
Power supply
Current Characteristic
AC DC
Yes Yes If the load is a relay or solenoid, there is a time lag between the moment the circuit is opened and the moment the load is reset.
If the supply voltage is 24 or 48 V, insert the surge protector in parallel with the load. If the supply voltage is 100 to 200 V, insert the surge protector between the contacts.
Required element
The capacitance of the capacitor must be 1 to 0.5 µF per contact current of
1 A and resistance of the resistor must be 0.5 to 1 Ω per contact voltage of
1 V. These values, however, vary with the load and the characteristics of the relay. Decide these values from experiments, and take into consideration that the capacitance suppresses spark discharge when the contacts are separated and the resistance limits the current that flows into the load when the circuit is closed again.
The dielectric strength of the capacitor must be 200 to 300 V. If the circuit is an AC circuit, use a capacitor with no polarity.
xxxvii
Conformance to EC Directives
Circuit
Diode method
Power supply
Varistor method
Power supply
6
Current
AC DC
Characteristic
No Yes The diode connected in parallel with the load changes energy accumulated by the coil into a current, which then flows into the coil so that the current will be converted into Joule heat by the resistance of the inductive load.
This time lag, between the moment the circuit is opened and the moment the load is reset, caused by this method is longer than that caused by the CR method.
Required element
The reversed dielectric strength value of the diode must be at least 10 times as large as the circuit voltage value.
The forward current of the diode must be the same as or larger than the load current.
The reversed dielectric strength value of the diode may be two to three times larger than the supply voltage if the surge protector is applied to electronic circuits with low circuit voltages.
--Yes Yes The varistor method prevents the imposition of high voltage between the contacts by using the constant voltage characteristic of the varistor. There is time lag between the moment the circuit is opened and the moment the load is reset.
If the supply voltage is 24 or 48 V, insert the varistor in parallel with the load. If the supply voltage is 100 to 200 V, insert the varistor between the contacts.
When switching a load with a high inrush current such as an incandescent lamp, suppress the inrush current as shown below.
Countermeasure 1
OUT
R
COM
Providing a dark current of approx. one-third of the rated value through an incandescent lamp
Countermeasure 2
R
OUT
COM
Providing a limiting resistor
xxxviii
SECTION 1
Introduction
This section introduces the special features and functions of the CS-series PLCs and describes the differences between these
PLCs and other PLCs.
1-3-2 High-speed Structured Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3-4 More Instructions for Specific Applications. . . . . . . . . . . . . . . . . . . . . . . .
1-3-5 Battery-free Operation with Flash Memory . . . . . . . . . . . . . . . . . . . . . . . .
1-3-6 Better Compatibility with Other SYSMAC PLCs . . . . . . . . . . . . . . . . . . .
1-3-7 Refreshing Timer/Counter PVs in Binary . . . . . . . . . . . . . . . . . . . . . . . . .
1-3-8 Features of CS1-H CPU Units Ver. 3.0. . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3-9 Changes to CS-series Operating Specifications . . . . . . . . . . . . . . . . . . . . .
1-3-10 Features of CS1-H CPU Units Ver. 2.0. . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4-2 Input-Output Variables in Function Blocks . . . . . . . . . . . . . . . . . . . . . . . .
1-4-3 Text String Support in Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-5-2 Serial Gateway (Converting FINS to CompoWay/F Via Serial Port). . . . .
1-5-3 Comment Memory (in Internal Flash Memory) . . . . . . . . . . . . . . . . . . . . .
1-5-4 Simple Backup Data Expanded . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-5-6 New Special Instructions and Functions. . . . . . . . . . . . . . . . . . . . . . . . . . .
1-5-7 Increased Points for SYSMAC BUS Remote I/O Communications . . . . .
1-6-1 Downloading and Uploading Individual Tasks. . . . . . . . . . . . . . . . . . . . . .
1-6-2 Improved Read Protection Using Passwords . . . . . . . . . . . . . . . . . . . . . . .
1-6-3 Write Protection from FINS Commands Sent to CPU Units via Networks
1-6-4 Online Network Connections without I/O Tables. . . . . . . . . . . . . . . . . . . .
1-6-5 Communications through a Maximum of 8 Network Levels . . . . . . . . . . .
1-6-6 Connecting Online to PLCs via NS-series PTs . . . . . . . . . . . . . . . . . . . . .
1-6-8 Automatic Transfers at Power ON without a Parameter File . . . . . . . . . . .
1-7-1 CS1 and CS1-H CPU Unit Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-7-2 New Functions for Version-1 CS1 CPU Units . . . . . . . . . . . . . . . . . . . . . .
1-8-2 Communications Functions (Serial/Network) . . . . . . . . . . . . . . . . . . . . . .
1-10 Comparison of CS-series PLCs and C200HX/HG/HE Operation . . . . . . . . . . . . . .
1
2
Overview
Section 1-1
1-1 Overview
Improvements in Basic
Performance
Faster instruction execution and peripheral servicing
Larger memory capacity
Faster data exchange between Units and I/O memory access
Instruction operands can be specified binary or BCD
Programs from earlier PLCs are compatible
Note
The CS-series PLCs are medium-sized Programmable Controllers that provide improved programming efficiency by dividing the program into tasks. The
CS-series PLCs also feature faster processing, higher capacities, multiple ports supporting protocol macros, improved seamless communications across three network levels, and much more, enabling them to flexibly handle advanced information capabilities as core FA controllers.
The CS Series includes both CS1 CPU Units and the high-speed CS1-H CPU
Units.
Where differentiation is required, “CS1 CPU Units” or “CS1-H CPU Units” is specified in this manual. “CS1 CPU Units” includes model numbers CS1 @-
CPU @@-EV1. “CS1-H CPU Units” includes model numbers CS1@-CPU@@H.
CS-series PLC
Serial
Communications
Unit
CPU Unit
Serial
Communications
Board
Memory
Card
Structured Programming
The program is divided into tasks.
Symbols can be used in programming.
The overall performance of the system is improved by executing only the required tasks.
Modification and debugging are simplified.
The program arrangement can be changed.
Step control and block programming instructions can be used.
Comments can be added to make the program easier to understand.
Protocol Macro Function Serves
Multiple Ports
Up to 34 ports can be connected (Serial
Communications Boards + Serial
Communications Units).
Different Protocol Macros can be allocated to each port.
Programmable
Terminal or other device
Programming
Console
Remote Programming, Monitoring and Seamless Links between
Networks
FINS commands allow communications between nodes in different networks.
Remote programming and monitoring can be performed.
Generalpurpose
I/O device
Personal computer
Full Complement of Versatile Functions
Memory Card and file processing functions
Simplify programs with specialized instructions such as the table data and text string processing instructions
Troubleshooting functions
Data tracing function
Minimum (fixed) cycle time function
I/O refreshing method selection
PLC Setup functions
Use Windows tools to create multiple environments in a single personal computer.
CS-series Features
Section 1-2
1-2 CS-series Features
1-2-1 Features
Improvements in Basic Performance
The CS-series PLCs provide higher speed, greater capacity, and more functions in a package as compact as the C200H PLCs.
Faster Cycle Times Instruction processing times have been reduced to 0.02 µs min. for basic instructions, 0.06 µs min. for special instructions, and 0.8 µs min. for floatingpoint calculations for CS1-H CPU Units and to 0.04 µs min. for basic instructions, 0.12 µs min. for special instructions, and 10.2 µs min. for floating-point calculations for CS1 CPU Units. The time required for overseeing (overhead),
I/O refreshing, and peripheral servicing has also been reduced dramatically.
Extra Capacity for High
Value-added Programs
Binary Operand Settings
Increase Setting Ranges
Program Compatibility
CS-series and C200H
Units Supported
CS-series Long-distance
Expansion Racks
With capacity for 250,000 program steps, up to 448,000 words of Data Memory, and up to 5,120 I/O points, there is plenty of memory for complex programs, intricate interfaces, communications, and data processing.
In earlier PLCs, most instruction operands had to be specified in BCD (0 to
9,999), but in the CS-series PLCs they can be specified in binary (0 to FFFF hexadecimal or 0 to 65,535 decimal). As an example, the BLOCK TRANSFER instruction can now transfer data from up to 65,535 words rather than 9,999 words. Also the maximum DM address that can be indirectly addressed is now D32767 rather than the maximum DM address of D09999 in
C200HX/HG/HE PLCs.
Programs from earlier OMRON PLCs (such as the C200H, C200HS,
C200HX/HG/HE, and CV Series) can be imported into the CS-series PLCs.
High-density CS-series Units, such as the 96-point I/O Units and 8-point Analog I/O Units (4 inputs and 4 outputs) can be used together with the wide variety of C200H Units (about 90 models) can be used in a CS-series PLC.
I/O Control Units and I/O Interface Units can be used to create systems containing CS-series Long-distance Expansion Racks. Up to two series of Longdistance Expansion Racks can be connected, each measuring up to 50 m, for a total coverage of 100 m. CS-series Long-distance Expansion Racks can be used to create high-speed, low-cost distribution systems without using Communications Units.
Structured Programming
Division of the Program into Tasks
When the program is divided into tasks that handle separate functions, control systems, or processes, several programmers can develop these separate tasks simultaneously.
There can be up to 32 normal (cyclic) tasks and 256 interrupt tasks. There are four types of interrupts: the Power OFF Interrupt, Scheduled Interrupts, I/O
Interrupts, and External Interrupts (interrupts from Special I/O Units or CPU
Bus Units).
3
CS-series Features
Section 1-2
Earlier program
Task
Task
Task
Task
When a new program is being created, standard programs can be combined as tasks to create an entire program.
Standard programs
Using Symbols
Program ABC
Task 1 (A)
Task 2 (B)
Task 3 (C)
Program ABD
Task 1 (A)
Task 2 (B)
Task 3 (D)
Arbitrary symbols (names up to 32 characters) that are independent of I/O terminal allocations can be used in programming. Standard programs created with symbols are more general and easier to reuse as tasks in different programs.
Symbols specified for bit address:
SW1 VALVE
Global and Local Symbols
Supported
I/O names are handled as symbols which can be defined as global symbols, which apply to all of the programs in all tasks, or as local symbols, which apply to just the local task.
When the symbols are defined, you can choose to have the local symbols allocated to addresses automatically.
Improve Overall System
Response Performance
Simplify Program Modification
The response performance of the system can be improved by dividing the program into a system-management task and tasks used for control and executing only those control tasks that need to be executed.
• Debugging is more efficient when the job of modifying and debugging the tasks can be divided among several individuals.
• Program maintenance is easier because only the tasks affected by changes have to be modified when there are changes (such as changes in specifications).
• Several consecutive program lines can be modified with online editing.
• The amount the cycle time is extended during online editing has been reduced.
4
CS-series Features
Section 1-2
Change Program
Arrangement Easily
Step Control and Block
Programming
Comments
Section Function
When separate tasks have been programmed for different production models, the task control instructions can be used to switch the program quickly from production of one model to another.
The step control and block programming instructions can be used to control repetitive processes that are difficult to program with ladder programming alone.
Several types of comments can be added to the program to make it easier to understand, including Rung comments, and I/O comments.
The section function can be used to make the program easier to visualize
(CX-Programmer version 2.0 or higher).
Port-specific Protocol Macro Function
Create Protocol Functions for All Ports
The protocol macro function can be used to create versatile communications functions for any of the PLC’s communications ports. The communications functions can have host link, NT Link, or protocol macro configurations and can be directed to RS-232C and RS-422/485 ports on any of the Units.
1,2,3...
1.
One Serial Communications Board can be mounted in the CPU Unit. (A
Serial Communications Board has two serial communications ports.)
2.
Up to 16 Serial Communications Units can be connected to a CPU Unit.
(Each Serial Communications Unit has two serial communications ports.)
In total, up to 36 ports can be used.
Programming Device
PT
Host Computer
Serial Communications Unit
CPU Unit
Serial Communications Board
External device with serial port
Up to 36 ports are possible
Standard Serial
Communications with
External Devices
Messages can be transferred to and from standard serial devices with the protocol macro function (according to preset parameter settings). The protocol macro function supports processing options such as retries, timeout monitoring, and error checks.
Symbols that read and write data to the CPU Unit can be included in the communications frames, so data can be exchanged with the CPU Unit very easily.
OMRON components (such as Temperature Controllers, ID System Devices,
Bar Code Readers, and Modems) can be connected to a Serial Communications Board or Serial Communications Unit with the standard system protocol.
It is also possible to change the settings if necessary.
Note The Serial Communications Board or Serial Communications Unit must be purchased separately to take advantage of this function.
5
CS-series Features
Section 1-2
Transmit or receive data with just one instruction.
External device
Multilevel Network Configurations
Different network levels can be connected as shown in the following diagram.
The multilevel configuration provides more flexibility in networking from the manufacturing site to production management. In particular, the DeviceNet network makes it very easy to connect devices from other manufacturers.
OA Network:
FA Network:
DeviceNet*:
High-speed ON/OFF bus:
Ethernet
Controller Link
DeviceNet
CompoBus/S
Note *Units that conform to JEMANET standards are also available.
Ethernet
Controller Link
DeviceNet
CompoBus/S
6
CS-series Features
Section 1-2
Remote Monitoring and Programming
1,2,3...
1.
The host link function can operate through a modem, which allows monitoring of a distant PLC’s operation, data transfers, or even online editing of a distant PLC’s program by phone.
2.
PLCs in a network can be programmed and monitored through the Host
Link.
3.
It is possible to communicate through 3 network levels even with different types of networks.
Remote programming/monitoring of a distant PLC
Remote programming/monitoring of a
PLC on the network through Host Link
Modem Modem
Communications Across 3
Network Levels
Controller Link Network
Remote programming/monitoring of a PLC on a network up to 3 levels away
(including the local network) for the same or different types of networks is possible through Host Link.
Network 3
Network 1
Network 2
Note With CS/CJ-series CPU Units Ver. 2.0 or later, remote programming/monitoring is possible up to 8 levels away. Refer to
1-6-2 Improved Read Protection
Message transfer between PLCs on a network 3 levels away (including the local network) for the same or different types of networks.
Network 3
Network 1
Network 2
7
CS-series Features
Section 1-2
High-speed
Communications with PTs
NT Link communications between an NS-series or NT31/NT631-V2 PT and a
CS-series PLC are possible at high speed (except for pre-version 1 CS1 CPU
Units).
1-2-2 Versatile Functions
Memory Card and File Management Functions
Transfer Data to and from
Memory Cards
Data area data, program data, and PLC Setup data can be saved as files on a
Memory Card (compact flash memory). Data can be read and written from
Programming Devices, instructions in the user program, or host computers.
(From the program, only I/O memory can be read and written and it must be read or written as a file.)
I/O Memory, program, and parameter areas stored as files.
Convert EM Area Banks to
File Memory
Automatic File Transfer at
Start-up
I/O Memory Files in CSV and Text Format
Part of the EM Area can be converted to file memory to provide file management capabilities without a Memory Card and with much faster access time than a Memory Card. (I/O comments can also be stored.)
The PLC can be set up to transfer the program and/or PLC Setup files from the Memory Card when the PLC is turned ON. With this function, the Memory
Card provides a flash-ROM transfer. This function can also be used to store and change PLC configurations quickly and easily.
It is now possible to save production results and other data (hexadecimal) from the CPU Unit I/O memory in a Memory Card in CSV or text format. The data can then be read and edited using personal computer spreadsheet software by means of a Memory Card Adapter. This function is not supported by pre-version-1 CS1 CPU Units.
I/O memory data stored in CSV or text format
Via Memory Card Adapter
Spreadsheet software
File Operations (Deleting,
Creating Directories, etc.) from Ladder Programs
Program Replacement
During Operation
Memory Card
It is possible to format files, delete, copy, change file names, create new directories, and perform similar operations on a Memory Card from the ladder program during PLC operation. This function is not supported by pre-version-1
CS1 CPU Units.
It is now possible to replace the entire user program in the CPU Unit from the
Memory Card during operation. In this way, it is possible to switch PLC operation without stopping the PLC. This function is not supported by pre-version-1
CS1 CPU Units.
PLC operation .OBJ
Replacement
8
CS-series Features
Section 1-2
Easy Backups It is now possible to back up all data (user programs, parameters, and I/O memory) to the Memory Card by pressing the Memory Card power supply switch. In this way, if a malfunction arises, it is possible to back up all data in the CPU Unit at the time without using a Programming Device. This function is not supported by pre-version-1 CS1 CPU Units.
Specialized Instructions Simplify Programming
Text String Instructions The text string instructions allow text processing to be performed easily from the ladder program. These instructions simplify the processing required when creating messages for transmission or processing messages received from external devices with the protocol macro function.
Processing of text string data
External device with standard serial port
Loop Instructions The FOR(512), NEXT(513), and BREAK(514) instructions provide a very powerful programming tool that takes up little program capacity.
Index Registers Sixteen Index Registers are provided for use as pointers in instructions. An
Index Register can be used to indirectly address any word in I/O memory. The
CS-series PLCs also support the auto-increment, auto-decrement, and offset functions.
The Index Registers can be a powerful tool for repetitive processing (loops) when combined with the auto-increment, auto-decrement, and offset functions. Index Registers can also be useful for table processing operations such as changing the order of characters in text strings.
Table Data Processing Instructions
Stack Instructions
A region of I/O memory can be defined as a stack region. Words in the stack are specified by a stack pointer for easy FIFO (first-in first-out) or LIFO (last-in first-out) data processing.
Stack region
Pointer
Table Processing
Range Instructions
These instructions operate on a specified range of words to find the maximum value or minimum value, search for a particular value, calculate the sum or
FCS, or swap the contents of the leftmost and rightmost bytes in the words.
Range specified in the instruction
Data
Search, find maximum, find minimum, etc.
9
CS-series Features
Section 1-2
Record-table Instructions
Record-table instructions operate on specially defined data tables. The record table must be defined in advance with DIM(631), which declares the number of words in a record and the number of records in the table. Up to 16 record tables can be defined.
Record tables are useful when data is organized in records. As an example, if temperatures, pressures, or other set values for various models have been combined into a table, the record-table format makes it easy to store and read the set values for each model.
The SETR(635) can be used to store the first address of the desired record in an Index Register. Index Registers can then be used to simplify complicated processes such as changing the order of records in the record table, searching for data, or comparing data.
Table
Record 2
Set values for model A
Record 2
Record 3
Temperature setting
Pressure setting
Time setting
Troubleshooting Functions
Failure Diagnosis:
FAL(006) and FALS(007)
The FAL(006) and FALS(007) can be used to generate a non-fatal or fatal error when the user-defined conditions are met. Records of these errors are stored in the error log just like system-generated errors.
User-defined error condition
FAL(006) or FALS(007) error
Failure Point Detection:
FPD(269)
Diagnoses a failure in an instruction block by monitoring the time between execution of FPD(269) and execution of a diagnostic output and finding which input is preventing an output from being turned ON.
FPD
Error Log Functions
Maintenance Functions
Input preventing diagnostic output from going ON
The error log contains the error code and time of occurrence for the most recent 20 errors (user-defined or system-generated errors).
The CS-series PLCs record information useful for maintenance, such as the number of power interruptions and the total PLC ON time.
10
CS-series Features
Data Trace Function
Section 1-2
The content of the specified word or bit in I/O memory can be stored in trace memory by one of the following methods: scheduled sampling, cyclic sampling, or sampling at execution of TRSM(045).
Trace memory
Specified address in I/O memory
Fixed Cycle Time Function
A fixed (minimum) cycle time can be set to minimize variations in I/O response times.
I/O Refreshing Methods
I/O refreshing can be performed cyclically and immediately by programming the immediate-refreshing variation of the instruction.
PLC Setup Functions
PLC operation can be customized with PLC Setup settings, such as the maximum cycle time setting (watch cycle time) and the instruction error operation setting, which determines whether instruction processing errors and access errors are treated as non-fatal or fatal errors.
The PLC's initial settings can be customized with the PLC Setup.
Binary Refreshing of Timer/Counter Instruction PVs
Present values of timer/counter instructions can now be refreshed in binary, in addition to the existing BCD capability. (Binary refreshing, however, can be specified with only CX-Programmer Ver. 3.0 and higher.) This allows the timer/counter setting time to be expanded to a range of 0 to 65535 (from the existing 0 to 9,999). Also, results calculated by other instructions can be used as is for timer/counter set values.
11
CS-series Features
Windows Tools
Section 1-2
The single-port multiple-access (SPMA) function can be used to program and monitor other CPU Bus Units on the same bus (CPU Rack or Expansion racks) or other CPU Units on the same network from a serial port on the CPU
Unit or a Serial Communications Board.
CX-Programmer
Controller Link
Several CPU Bus Units on the same bus or other CPU Units on the same network can be accessed from a single port.
Power Supply Units with Replacement Notification
The C200HW-PA204C Power Supply Units with Replacement Notification provide six display levels using a 7-segment display on the front panel of the Unit to indicate the remaining service life of the Power Supply Unit. An alarm output also notifies when the estimated remaining service life drops to 6 months or shorter. This function enables Power Supply Unit replacement before the power supply reaches the end of its service life resulting in a system failure.
POWER
PA204C
C200HW-PA204C Power Supply
Unit with Replacement Notification
C200HW-PA204C
POWER
Years
TEST
Alarm output turns OFF when remaining service life is 6 months.
12
CS1-H CPU Unit Features
Section 1-3
1-3 CS1-H CPU Unit Features
1-3-1 High-speed Performance
Ultra High-speed Cycle
Time
1,2,3...
Faster Execution of
Common Instructions
The CS1-H CPU Units provide a cycle time that is three to four times faster than that of the CS1 CPU Units.
For example, a program consisting of 38 Ksteps of only basic instructions with
128 inputs and 128 outputs executes in 1 ms (4.2 ms for the CS1 CPU Units); a program consisting of 20 Ksteps of basic and special instructions in a 1:1 ratio with 128 inputs and 128 outputs executes in 1 ms (2.0 ms for the CS1
CPU Units); and a program consisting of 8 Ksteps of basic and special instructions in a 1:2 ratio with 64 inputs and 64 outputs executes in 0.5 ms
(1.0 ms for the CS1 CPU Units).
The following factors give the CS1-H CPU Units their high speed.
1.
Instruction execution times: Only about 1/2 the time required for basic instructions, and only about 1/3 the time required for special instructions.
2.
Better bus performance: Data transfers between the CPU Unit and Special
I/O or Communications Units is about twice as fast, providing greater overall system performance.
3.
Instruction execution is performed in parallel with peripheral servicing.
4.
Other factors, including background execution of text string processing and table data processing instructions.
Extensive research on applications of CS1 CPU Units was used to identify the
20 most commonly used instructions of the more than 400 supported instructions (see below), and execution speed for these instructions was increased by 10 to 20 times previous performance.
CPS (SIGNED BINARY COMPARE)
JMP (JUMP)
CPSL (DOUBLE SIGNED BINARY COMPARE)
CJP (CONDITIONAL JUMP)
XFER (BLOCK TRANSFER)
BCNT (BIT COUNTER)
MOVB (MOVE BIT)
MLPX (DATA DECODER)
MOVD (MOVE DIGITS)
BCD (BINARY-TO-BCD)
BSET (BLOCK SET)
SBS/RET (SUBROUTINE CALL/RETURN)
The speed of transferring data between the CPU Unit and CPU Bus Units has been doubled to increase overall system performance.
Transfer Speed between
CPU Unit and CPU Bus
Units Doubled
Parallel Processing of
Instructions and
Peripheral Servicing
A special mode is supported that enables parallel processing of instruction execution and peripheral device servicing to support the following types of application.
• Extensive data exchange with a host not restricted by the program capacity in the CS1-H CPU Unit
• Consistently timed data exchange with SCADA software
• Eliminating the effects on cycle time of future system expansion or increases in communications
13
CS1-H CPU Unit Features
Section 1-3
Less Cycle Time
Fluctuation for Data
Processing
Better Data Link and
Remote I/O Refreshing
Immediate Refreshing for
CPU Bus Units
Table data processing and text string processing, which often require time, can be separated over several cycles to minimize fluctuations in the cycle time and achieve stable I/O response.
CPU Bus Unit refresh response has been increased both by reductions in the cycle time itself and by the addition of an immediate I/O refresh instruction for
CPU Bus Units (DLNK(226)). This instruction will refresh data links,
DeviceNet remote I/O, protocol macros, and other special data for CPU Bus
Units.
The response of a CS1-H CPU Unit is approximately 2.4 times that of a CS1
CPU Unit. And, for a cycle time of approximately 100 ms or higher, the increase in the data link response is comparable to that for the cycle time.
Although previously, I/O refreshing for CPU Bus Units was possible only after program executions, a CPU BUS I/O REFRESH instruction (DLNK(226)) has been added to enable immediate I/O refreshing for CPU Bus Units. Data links,
DeviceNet remote I/O, an other unique CPU Bus Unit refreshing can be refreshed along with words allocated to the CPU Bus Unit in the CIO and DM
Areas whenever DLNK(226) is executed. This is particularly effective for longer cycle times (e.g., 100 ms or longer). (Data exchange for data links,
DeviceNet remote I/O, and other network communications are also affected by the communications cycle time, i.e., DLNK(226) refreshes data only between the CPU Bus Units and the CPU Unit, not the data on the individual networks.)
1-3-2 High -speed Structured Programming
To further aid standardized programming, program structuring functions have been improved, as has program execution speed.
More Cyclic Tasks
Common Processing from
Multiple Tasks
Faster Subroutine
Instructions
Shared Index and Data
Registers between Tasks
Tasks provide better efficiency by enabling programs to be separated by function or for development by different engineers. The CS1-H CPU Units support up to 288 cyclic tasks, an incredible increase over the previous maximum of
32 tasks.
Global subroutines that can be called by any task are now supported. These can be used for common processing from more than one task, for greater standardization.
Subroutine instruction are executed approximately 70 times faster to enable greater program modularization without having to be concerned about increasing the cycle time.
Although separate index and data registers can still be used in each task, they have been joined by shared index and data registers that can be used between tasks to reduce the time required to switch between tasks.
1-3-3 Function Block (FB)
When using a CPU Unit with unit version 3.0 or later, standard processes can be encapsulated as easily reusable function blocks as long as those processes only exchange I/O data externally. The function blocks can be written in ladder language or ST (structured text) language. Mathematical processing that is difficult to write in ladder language can be written easily in the ST language.
OMRON function blocks can be written in ladder language or ST (structured text) language, and conform to IEC 61131-3 standards (JIS B3503). The function blocks provide functions for more efficient design and debugging of the user equipment, as well as easier maintenance.
14
CS1-H CPU Unit Features
Section 1-3
Smart FB Library
Online Editing of FB
Definitions
Nesting
Protecting FB Definitions
Offline Debugging with the Simulator
Variable Support for
String Operations (CPU
Units with Unit Version 4.0 or Later)
FB Generation Function
The Smart FB Library is a set of function blocks that improve interoperability between OMRON PLC Units and FA components. Since it isn't necessary to create a ladder program to use basic Unit and FA component functions, the user can concentrate on more important work, such as determining how to make the most of device functions.
FB definitions can be changed during operation, so FB definitions can be edited quickly during debugging. In addition, FBs can be used with confidence even in equipment that must operate 24 hours/day. (Requires CPU Unit unit version 4.0 or later and CX-Programmer version 7.0 or higher.)
Not only can programs be created with nested OMRON FBs, it is possible to make easy-to-understand, stress-free operations by switching displays under preset conditions and displaying structures in a directory-tree format.
(Requires CX-Programmer version 6.0 or higher.)
It is possible to prevent unauthorized manipulation, editing, or misappropriation of the program by setting passwords for the function block definitions allocated in the project file and protecting the definitions based on their purpose.
(Requires CX-Programmer version 6.1 or higher.)
The Simulator enables checking the PLC program's operation on the desktop, so program quality can be improved and verified early on. Both the ladder and
ST programming can be executed in the computer application.
The functions that perform string data operations in ST language not only support string variables, they also strengthen the functions used to communicate with string data I/O. This feature simplifies the creation of programs that send and receive communications commands. (Requires CPU Unit unit version 4.0 or later and CX-Programmer version 7.0 or higher.)
Existing PLC programming can be reused by easily converting it to FBs.
(Requires CX-Programmer version 7.0 or higher.)
1-3-4 More Instructions for Specific Applications
Very specific control can be easily programmed for a much wider range of applications with the many new special instructions added to the CS1-H CPU
Units.
High-speed Positioning for XY Tables
Convert between Floating
Point and Text String Data
Accurate Line
Approximations
Realtime Workpiece Data
Management
Double-precision floating-point calculations are supported for the CS1-H CPU
Units to provide even better precision for position control operations.
To display floating-point data on PTs, the CS1-H CPU Units provide conversion instructions from floating-point data to text strings (ASCII). Conversion between ASCII and floating-point data is also possible so that ASCII data from serial communications with measurement devices can be used in calculations.
Unsigned 16-bit binary/BCD data, signed 16/32-bit binary data, or single-precision floating-point data can be used for line data, enabling precise (high data resolution) conversions, such as from a level meter (mm) to tank capacity (l) based on the shape of the tank.
When loading and unloading workpieces from conveyor lines, stack instructions can be used to manage workpiece information in realtime in table format.
15
CS1-H CPU Unit Features
Section 1-3
PID Autotuning
System Debugging through Error Simulation
Program Simplification with More Specific Basic
Instructions
Autotuning is now supported for PID constants with the PID CONTROL instruction. The limit cycle method is used to ensure rapid autotuning. Very effective for multiloop PID control.
A specified error status can be created with the FAL/FALS instructions. This can be used effectively when depending systems. For example, errors can be simulated to produce corresponding displays on a PT to confirm that the correct messages are being displayed.
Programs that use a high quantity of basic instructions can be simplified though the use of differentiated forms of the LD NOT, AND NOT and OR NOT instructions, and through the use of OUT, SET, and RSET instructions that can manipulate individual bits in the DM or EM Area.
The DI and EI instructions can be used to disable interrupts during specific portions of the program, for example, to prevent the power OFF interrupt from being executed until a specific instruction has been executed.
Delayed Power OFF
Processing for Specified
Program Areas
1-3-5 Battery-free Operation with Flash Memory
Any user program or parameter area data transferred to the CPU Unit is automatically backed up in flash memory in the CPU Unit to enable battery-free operation without using a Memory Card.
Note Refer to information on flash memory in the CS/CJ Series Programming Man-
ual (W394) for precautions on this function.
1-3-6 Better Compatibility with Other SYSMAC PLCs
C200HE/HG/HX PLCs
CVM1/CV-series PLCs
The AREA RANGE COMPARE (ZCP) and DOUBLE AREA RANGE COM-
PARE (ZCPl) instructions are supported in the CS1-H CPU Units to provide better compatibility with the C200HE/HG/HX PLCs.
The CONVERT ADDRESS FROM CV instruction allows real I/O memory addresses for the CVM1/CV-series PLCs to be converted to addresses for the
CS-series PLCs, enabling programs with CVM1/CV-series addresses to be quickly converted for use with a CS-series CPU Unit.
1-3-7 Refreshing Timer/Counter PVs in Binary
In addition to BCD, binary can also be set as the PV refresh method for timer/counter instructions. (This setting is possible, however, only with version
3.0 or higher versions of the CX-Programmer.) This means that the settable time range for timer/counter instructions is increased from 0 to 9999 to 0 to
65,535. It also means that the results of calculations made with other instructions can be used without conversion.
1-3-8 Features of CS1-H CPU Units Ver. 3.0
Encapsulate Programming into Function Blocks Using Ladder Programming or Structured Text
When using CX-Programmer Ver. 5.0 or higher, function blocks can be used to encapsulate standard processing that is often reused and for which only I/O data is output externally as the user interface. Function blocks can be written using ladder programming or structured text. Structured text is particularly effective for easily including arithmetic processing that is difficult to write in ladder programming.
16
CS1-H CPU Unit Features
Section 1-3
Incorporate CompoWay/F-compatible OMRON Components into FINS Network Via Serial Gateway
Using the Serial Gateway mode for the CPU Unit’s serial port enables flexible access to CompoWay/F-compatible OMRON components from devices on the network (e.g., PTs, PLC CPU Units, personal computers)
Store Comment/Section Data in CPU Unit’s Flash Memory
The CX-Programmer can be used to save I/O comments and other comment/section data in the comment memory contained in the CPU Unit’s flash memory.
Back Up Comment and Section Data
Comment/section data in comment memory can be backed up using the simple backup function.
Use No-protocol Communications at Multiple Ports
No-protocol communications can be performed via the serial ports of Serial
Communications Boards/Units with unit version 1.2 or later. This enables noprotocol communications at multiple ports.
Free Running Timer Calculates Intervals without Requiring Timer Instructions
The system timers used after the power is turned ON are contained in Auxiliary Area words A000 and A001.
A000 is set to 0000 hex when the power is turned ON and this value is automatically incremented by 1 every 10 ms. The value returns to 0000 hex after reaching FFFF hex (655,350 ms), and then continues to be incremented in a ring operation.
A001 is set to 0000 hex when the power is turned ON and automatically incremented by 1 every 100 ms. The value returns to 0000 hex after reaching
FFFF hex (655,350 ms), and then continues to be incremented in a ring operation.
Example:The interval can be counted between processing A and processing
B without requiring timer instructions. This is achieved by calculating the difference between the value in A000 for processing A and the value in A000 for processing B. The interval is counted in 10 ms units. With unit version 4.0 or later, the free running time is stored in
A002 in 1-s increments.
Reuse Ladder Programs Created Using C-series CPU Units
C-series ladder programs can be easily reused through the newly supported model conversion instructions (XFERC(565), DISTC(566), COLLC(567),
MOVBC(568), and BCNTC(621)).
1-3-9 Changes to CS-series Operating Specifications
Increased Points for SYSMAC BUS Remote I/O Communications
The maximum number of points for SYSMAC BUS remote I/O communications in the operating specifications has been expanded from 800 points (50 words) to 1,280 points (80 words). This change applies to all CS-series CPU
Units and Units using SYSMAC BUS remote I/O communications, including previously manufactured Units. For details, refer to
SYSMAC BUS Remote I/O Communications.
17
CS1-H CPU Unit Features
Section 1-3
1-3-10 Features of CS1-H CPU Units Ver. 2.0
Easier System Development by Teams
Download/Upload Tasks Individually with CX-Programmer Version 4.0 or Higher
The CX-Programmer (version 4.0 or higher) can be used to upload or download only the required tasks. This enables the member of a development team to work separately and then upload/download tasks after debugging them, helping to eliminate the need for unification work by a manager as well as mistakes that can easily occur in such work.
Many Protection Functions
Improved Read Protection Using Passwords with CX-Programmer Version 4.0 or Higher
■ Read Protection for Specific Tasks
Passwords can be set to read-protect individual groups of tasks. This enables creating black boxes in the program.
■ Enabling/Disabling Creating File Memory Program Files
When read protection is set, an optional setting allows you to enable or disable creating program backup files (.OBJ). This setting can be used to prevent programs from being disclosed.
■ Program Write Protection
The user program can be protected without using the DIP switch setting. This helps prohibit unauthorized or accidental program changes.
Protection for CPU Units from FINS Write Commands Sent via Networks
Write operations to a CPU Unit using FINS commands across networks can be enabled for specific nodes and disabled for all other nodes. This can be used to enable monitoring data via networks while eliminating the possibility of accidental mistakes caused by careless writing operations.
Easier Network Connections and More-advanced Seamless Network Communications
Online Connections via Networks without I/O Tables
By using the CS1W-ETN21 Ethernet Unit, online connection is possible to any
PLC in the local network from a Programming Device, such as the CX-Programmer, as soon as the network is connected by using automatic I/O allocation at startup. It’s not necessary to create the I/O tables to enable connection.
This eliminates the need to use a serial connection to create I/O tables before the CX-Programmer can be connected via Ethernet. Only an Ethernet connection is required to go online and create I/O tables.
Work Across Up to Eight Networks with CX-Net in CX-Programmer Version 4.0 or Higher
FINS commands can be sent across up to 8 network levels (including the local network). This enables a wider range of communications between devices on
Ethernet and Controller Link Networks.
FINS commands can only be sent across up to 8 network levels when the destination is a CPU Unit. FINS commands can be sent to other destinations up to 3 network levels away.
Online Connections to PLCs via NS-series PTs
Downloading, uploading, and monitoring of ladder programs or other data is possible to a PLC connected serially to an NS-series PT from the CX-Programmer connected to the NS-series PT by Ethernet.
18
CS1-H CPU Unit Features
Section 1-3
Easier Implementation of Explicit Messages with Explicit Message Instructions
Special Explicit Message Instructions are now supported to simplify using explicit messages. (Previously, CMND(490) had to be used to send a FINS command of 2801 hex to enable sending explicit messages.) The new instructions include the following: EXPLICIT MESSAGE SEND (EXPLT(720)),
EXPLICIT GET ATTRIBUTE (EGATR(721)), EXPLICIT SET ATTRIBUTE
(ESATR(722)), EXPLICIT WORD READ (ECHRD(723)), and EXPLICIT
WORD WRITE (ECHWR(724)). Of these, EXPLICIT WORD READ
(ECHRD(723)) and EXPLICIT WORD WRITE (ECHWR(724)) enable easily reading and writing data in CPU Units on networks with the same type of notation as used for SEND(290) and RECV(298). (Not supported by the
C200HX(-Z)/HG(-Z)/HE(-Z) and CV-series PLCs.)
Greater Flexibility in I/O Allocations
First Word Address Settings for Slots (Using CX-Programmer Version 3.1 or Higher)
When editing I/O tables for CS1-H CPU Units, the first word address can be set for up to 64 slots. This can be used, for example, to create fixed starting addresses for Input Units and Output Unit to separate I/O allocations from the program and increase the efficiency of program maintenance.
Automatic Power-ON Transfers without a Parameter File (.STD)
The user program can be automatically transferred to the CPU Unit at power
ON without a parameter file (.STD) if the name of the program file (.OBJ) is changed to REPLACE on the CX-Programmer and the file is stored on a
Memory Card. This can be used, for example, to enable transferring a program to a CPU Unit by creating the program offline and sending it as an email attachment, without a local Programming Device.
More Application Instruction with CX-Programmer Version 4.0 or Higher
Multiple Interlock Instructions (MILH(517), MILR(518), and MILC(519)) for Nested Interlocks
These instruction enable easy creation of nested interlocks. For example, create one interlock to control the entire program (e.g., for an emergency stop) and then nest other interlocks for separate portions of the program (e.g., conveyor operation, alarms, etc.).
TIME-PROPORTIONAL OUTPUT (TPO(685)) Instruction for Time-proportional Operation with
Temperature Controllers or Variable-duty Lighting/Power Control
This instruction is used in combination with PID instructions to create a timeproportional output based on the manipulated variable output by the PID instruction. This enables easily connecting an SSR to a Transistor Output Unit to achieve time-proportional operation of a Temperature Controller. Variableduty pulse outputs can also be created for lighting or power control.
Symbol Time Comparison Instructions for Easy Calendar Timers
Two times/dates can be compared to continue operation to the next instruction in the ladder program rung when the results of comparison is true. Opposed to normal comparison instructions, comparisons are by byte and the bytes that are compared in the time/date data can be controlled. This enables comparing built-in clock data with set times/dates to easily create a calendar timer, for example, on the hour (when the minutes is 0) or on a specific date each year).
19
CS1-H CPU Unit Features
Section 1-3
GRAY CODE CONVERSION (GRY(474)) for Easy Conversion of Parallel Inputs from Absolute Encoders to Binary, BCD, or Angle Data
This instruction converts Gray binary codes to binary, BCD, or angle data.
This enables easily handling position or angle data input as parallel signals
(2 n
) from an Absolute Encoder with a Gray code output using a DC Input Unit.
EXPANDED BLOCK COMPARE (BCMP2(502)) for Comparison Judgements for Up to 256 Ranges
(Upper/Lower Limits) with One Instruction
This instruction determines if a value is within any of up to 256 ranges defined by upper and lower limits. When used with the GRAY CODE CONVERSION
(GRY(474)) instruction, the same operation as a cam switch can be achieved by determining if an angle input from an Absolute Encoder is in a comparison table.
Easier Processing of I/O Devices with Special I/O Instructions
Previously many instructions were required to read or write data for external input devices such as digital switches and 7-segment displays connected to
Basic I/O Units. Now, I/O processing for these devices can be achieved with a single instruction. These are sometimes call Combination Instructions.
These instructions are the same as those supported by the C200HX/HG/HE and CQM1H PLCs, with the exception that more than one of each of these instructions can be executed in a single user program.
TEN KEY INPUT (TKY(211))
Sequentially reads numbers input from a ten-key connected to an Input Unit.
HEXADECIMAL KEY INPUT (HKY(212))
Sequentially reads numbers input from a hexadecimal keypad connected to an Input Unit and an Output Unit for a maximum of 8 digits.
DIGITAL SWITCH INPUT (DSW(213))
Reads numbers input from a digital switch or thumbwheel switch connected to an Input Unit and an Output Unit. Either 4 or 8 digits are read.
MATRIX INPUT (MTR(210))
Sequentially reads 64 input points input from a 8 × 8 matrix connected to an
Input Unit and an Output Unit.
7-SEGMENT DISPLAY OUTPUT (7SEG(214))
Converts 4-digit or 8-digit values to data for a 7-segment display and outputs the result.
Read/Write CPU Bus Unit Memory Areas with IORD(222)/IOWR(223)
Although INTELLIGENT I/O READ (IORD(222)) and INTELLIGENT I/O
WRITE (IOWR(223)) could previously be used only for Special I/O Units, these instructions can now be used to read and write data for CPU Bus Units.
Operation Start/End Times
The times that operation is started and ended are automatically stored in memory in the Auxiliary Area (A515 to A517). This enables easier management of the operating times of the PLC System.
20
CS1-H CPU Unit Features
Section 1-3
Power Supply Units with Replacement Notification
The C200HW-PA204C Power Supply Units with Replacement Notification provide six display levels using a 7-segment display on the front panel of the Unit to indicate the remaining service life of the Power Supply Unit. An alarm output also notifies when the estimated remaining service life drops to 6 months or shorter. This function enables Power Supply Unit replacement before the power supply reaches the end of its service life resulting in a system failure.
POWER
PA204C
C200HW-PA204C Power Supply
Unit with Replacement Notification
C200HW-PA204C
POWER
Years
TEST
Alarm output turns OFF when remaining service life is 6 months.
21
CS1-H CPU Unit Ver. 4.0 Upgrades
Section 1-4
1-4 CS1-H CPU Unit Ver. 4.0 Upgrades
This section summarizes the upgrades made for CS1-H CPU Units with unit version 4.0. CX-Programmer version 7.0 or higher must be used to enable using the following functions.
Functional Upgrades for Unit Version 4.0
Function
Online Editing of Function Blocks
Input-Output Variables in Function Blocks
Text String Support in Function Blocks
Section
1-4-1 Online Editing of Function
1-4-2 Input-Output Variables in
1-4-1 Online Editing of Function Blocks
Unit Version 3.0 or Earlier
Unit Version 4.0 or Later
Function block definitions could not be changed during operation.
Function block definitions can be changed during operation. This allows function block definitions to be quickly corrected during debugging. It also allows function blocks to be used more easily in systems that operate 24 hours a day.
1-4-2 Input-Output Variables in Function Blocks
Unit Version 3.0 or Earlier The data size of parameters that could be passed to and from function blocks was limited to four words maximum. It was thus necessary to separate elements with large data sizes, such as data tables.
D100
D101
D102
D103
D104
Pattern A
Pattern B
Pattern C
Pattern D
Pattern E
D100
D101
D102
D103
D104
FB
(INT) (INT)
Para1i Para1o
(INT) (INT)
Para2i Para2o
(INT) (INT)
Para3i Para3o
(INT) (INT)
Para4i Para4o
(INT) (INT)
Para5i Para5o
D100
D101
D102
D103
D104
Unit Version 4.0 or Later Input-output variables can be used to passed large quantities of data, such as table data.
D100
D101
D102
D103
D104
Pattern A
Pattern B
Pattern C
Pattern D
Pattern E
D100
FB
(INT)[]
Para1 --Para1
D100
1-4-3 Text String Support in Function Blocks
Unit Version 3.0 or Earlier To program text string processing for communications commands and display data in ladder diagrams, it was necessary to know the ladder string instructions and ASCII codes. Also, several instructions had to be combined to converted from numbers to text strings or text strings to numbers.
22
CS1-H CPU Unit Ver. 3.0 Upgrades
Section 1-5
MOV
#426C stBlack[0]
MOV
#6163 stBlack[1]
" Bl" is #426C in ASCII.
" ac" is #6163 in ASCII.
Unit Version 4.0 or Later Text strings can be used in ST programming to easily create text string processing programs.
Black
White
Blue
Pink
9
18
7
30
Production log file created.
06/05/28
Black: 9
White: 18
Blue: 7
Pink: 30
File name
LineA.txt
FB to Create Production Log File
GetDate(stDay)
(* Convert black quantity to string *)
(* Convert white quantity to string *)
(* Convert blue quantity to string *)
(* Convert pink quantity to string *)
(* Get date text *)
(* Create production log LineA.txt *)
FB to Create Date Text
Name: Generate Date Text
Function: To create text data for yy/mm/dd
(* Create yymm text *)
(* Create ddhh text *)
(* Insert / between yy and mm; extract only dd and combine *)
1-5 CS1-H CPU Unit Ver. 3.0 Upgrades
The following table shows the functional upgrades for CS1-H CPU Unit
Ver. 3.0.
Functional Upgrades for CS1-H CPU Unit Ver. 3.0
Function
Function blocks (when using CX-Programmer Ver. 5.0 or higher)
Serial Gateway (converting FINS commands to CompoWay/F commands at the built-in serial port)
Comment memory (in internal flash memory)
Expanded simple backup data
Free running timer (system timer after power is turned ON)
Section
23
CS1-H CPU Unit Ver. 3.0 Upgrades
Section 1-5
New instructions added
Additional instruction functions
Function
TXDU(256) and RXDU(255) instructions (support no-protocol communications with Serial
Communications Units with unit version 1.2 or later)
Model conversion instructions: XFERC(565),
DISTC(566), COLLC(567), MOVBC(568), and
BCNTC(621)
Special function block instruction: GETID(286)
TXD(236) and RXD(235) instructions (support no-protocol communications with Serial Communications Boards with unit version 1.2 or later)
Changes to Operating Specifications
Function
Maximum number of points expanded for SYSMAC BUS remote I/O communications
Section
Section
1-5-1 Function Blocks (FB)
Pre-Ver. 2.0
Unit Ver. 3.0 or Later
Earlier Units did not support function blocks (FB).
Function blocks (FB) conforming to IEC 61131-3 are supported. Use of function blocks is determined by the user.
Note IEC 61131-3 is an international standard for programmable logic controllers (PLC) established by the International Electro-technical
Commission (IEC). This standard is divided into seven parts, of which Part 3 Programming Languages (IEC 61131-3) provides regulations for programming PLCs.
Function blocks can be created with CX-Programmer Ver. 5.0 or higher by the user and pasted into normal programs. The standard function blocks provided by OMRON in the OMRON FB Library can also be pasted into normal programs. Function blocks enable standard processing to be simply inserted into a program as a single unit. Function blocks provide the following features.
• Function block algorithms can be written using ladder programming or structured text (see note).
Note Structured text is a high level textual language designed for industrial control (primarily PLCs) stipulated in IEC 61131-3. The structured text supported by CX-Programmer Ver. 5.0 conforms to IEC 61131-1.
• A single function block that has been created can be stored in a library for easy reuse of standard processing.
• Programs that contain function blocks (ladder programming or structured text), can also be uploaded or downloaded in the same way as normal programs that do not contain function blocks. Tasks that include function blocks, however, cannot be downloaded in task units (although they can be uploaded).
• Array (one-dimensional) variables are supported, making it easier to handle data specific to an application.
24
CS1-H CPU Unit Ver. 3.0 Upgrades
Section 1-5
1-5-2 Serial Gateway (Converting FINS to CompoWay/F Via Serial Port)
Pre-Ver. 2.0
Unit Ver. 3.0 or Later
Temperature Controllers, Digital Panel Meters, and other CompoWay/F-compatible OMRON Components previously could be accessed by sending userspecified CompoWay/F commands from the PLC. This required, however, the use of a Serial Communications Board/Unit protocol macro, execution of the
PMCR(260) instruction in the ladder program of the CPU Unit on the same
PLC, and implementation of the standard system protocol (CompoWay/F
Master). The use of protocol macros prevented access across networks.
Note Specific data could be shared without communications instructions if user-specified CompoWay/F commands were not required, however, by using the CJ1W-CIF21 Basic Communications Unit.
FINS commands (CompoWay/F commands encapsulated in FINS frames) received by the CPU Unit at the built-in serial port (RS-232C port or peripheral port) are converted automatically into CompoWay/F command frames and transmitted on the serial line. This enables access to CompoWay/F-compatible OMRON components that are connected to the CPU Unit’s built-in serial port via either an NS-series Programmable Terminal (PT) or by using the
CMND(490) instruction.
FINS System
Serial
Network
Serial
CMND(490)
Network
FINS
Network
CompoWay/F-compatible components can be accessed via the network from personal computers, PTs, or PLCs.
CS/CJ-series CPU Unit with unit version 3.0 or later
Protocol conversion
CompoWay/F
Serial
CompoWay/F-compatible components
25
CS1-H CPU Unit Ver. 3.0 Upgrades
Section 1-5
1-5-3 Comment Memory (in Internal Flash Memory)
Pre-Ver. 2.0
Unit Ver. 3.0 or Later
Comment data and section data could not be stored in the actual PLC when a project was downloaded from the CX-Programmer to the CPU Unit unless both a Memory Card and EM file memory were available.
A comment memory is provided within the CPU Unit’s internal flash memory.
Therefore, the following comment/section data can be stored in and read from comment memory even if neither Memory Card nor EM file memory are available.
• Symbol table files (including CX-Programmer symbol names and I/O comments)
• Comment files (CX-Programmer rung comments and other comments)
• Program index files (CX-Programmer section names, section comments, and program comments)
CX-Programmer Ver. 5.0 or later
Comment/section data can be stored in the actual PLC when downloading projects.
Project
Transfer
Symbol table file
Comment file
Program index file
CPU Unit
EM file memory
Memory Card
Comment memory
Comment/section data can be stored in this area.
When downloading projects using the CX-Programmer Ver. 5.0, either of the following storage locations can be selected as the transfer destination for comment data and section data.
• Memory Card
• EM file memory
• Comment memory (in CPU Unit’s internal flash memory)
Note When using CX-Programmer Ver. 4.0 or earlier, this data is stored in either the
Memory Card or EM file memory, whichever is available. If neither the Memory Card nor EM file memory is available, the comment/section data cannot be stored in comment memory.
1-5-4 Simple Backup Data Expanded
Pre-Ver. 2.0
Unit Ver. 3.0 or Later
The simple backup function could not be used to back up comment data or section data.
The following files stored in comment memory can be backed up to a Memory
Card when a simple backup operation is executed, or the files can be restored to comment memory from the Memory Card.
• Symbol table files (including CX-Programmer symbol names and I/O comments)
26
CS1-H CPU Unit Ver. 3.0 Upgrades
Section 1-5
• Comment files (CX-Programmer rung comments and other comments)
• Program index files (CX-Programmer section names, section comments, and program comments)
Simple backup executing
CPU Unit
• User program
• Parameters
• I/O memory
Memory Card
CS/CJ Series
(In comment memory)
Symbol table file
Comment file
Program index file
These files can also be backed up using simple backup.
This enables backup/restoration of all data in the CPU Unit including I/O comments if an error occurs or when adding a CPU Unit with the same specifications without requiring a Programming Device.
1-5-5 Free Running Timer
he system timers used after the power is turned ON are contained in the following Auxiliary Area words.
Name
10-ms Incrementing
Free Running Timer
100-ms Incrementing
Free Running Timer
1-s Incrementing Free
Running Timer
Address
A000
Function
This word contains the system timer used after the power is turned ON.
0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every 10 ms.
The value returns to 0000 hex after reaching FFFF hex (655,350 ms), and then continues to be automatically incremented by 1 every 10 ms.
(Unit version 3.0 or later)
A001
A002
This word contains the system timer used after the power is turned ON.
0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every 100 ms. The value returns to 0000 hex after reaching FFFF hex (6,553,500 ms), and then continues to be automatically incremented by 1 every
100 ms.(Unit version 3.0 or later)
This word contains the system timer used after the power is turned ON.
0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every second. The value returns to 0000 hex after reaching FFFF hex (65,535 s), and then continues to be automatically incremented by 1 every second.
(Unit version 4.0 or later)
Access
Read-only
Read-only
Read-only
27
CS1-H CPU Unit Ver. 3.0 Upgrades
Section 1-5
Note The timer will continue to be incremented when the operating mode is switched to RUN mode.
Example: The interval can be counted between processing A and processing
B without requiring timer instructions. This is achieved by calculating the difference between the value in A000 for processing A and the value in A000 for processing B. The interval is counted in 10 ms units.
CPU Units with unit version 4.0 and later also have a 1-s timer in
A002, which is incremented by 1 every 1 s.
1-5-6 New Special Instructions and Functions
The following new instructions and instruction functions have been added. For details, refer to the CS/CJ Series Instructions Reference Manual (W340).
These new instructions are supported by the CX-Programmer Ver. 5.0 or higher only.
• Serial Communications Instructions:
Supporting no-protocol communications with Serial Communications
Units with unit version 1.2 or later:
TXDU(256): TRANSMIT VIA SERIAL COMMUNICATIONS UNIT
RXDU(255): RECEIVE VIA SERIAL COMMUNICATIONS UNIT
Supporting no-protocol communications with Serial Communications
Boards with unit version 1.2 or later:
TXD(236): TRANSMIT
RXD(235): RECEIVE
• Model Conversion Instructions:
When using CX-Programmer Ver. 5.0 or higher to convert a C-series ladder program for use in a CS/CJ-series CPU Unit, the C-series
XFER(070), DIST(080), COLL(081), MOVB(082), and BCNT(067) instructions will be automatically converted to the following instructions.
The operands do not require editing.
XFERC(565) BLOCK TRANSFER
DISTC(566) SINGLE WORD DISTRIBUTE
COLLC(567) DATA COLLECT
MOVBC(568) MOVE BIT
BCNTC(621) BIT COUNTER
1-5-7 Increased Points for SYSMAC BUS Remote I/O Communications
Earlier Specifications
Updated Specifications
The maximum number of SYSMAC BUS remote I/O points per CPU Unit was
800 points (50 words), which were allocated in the SYSMAC BUS Area
(CIO 3000 to CIO 3049).
The maximum number of SYSMAC BUS remote I/O points per CPU Unit has been increased to 1,280 points (80 words), which are allocated in the SYS-
MAC BUS Area (CIO 3000 to CIO 3079).
The CS Series, including CS1 CPU Units, were designed to have a higher total number of points, the Units were initially released before the higher specification had been fully confirmed, so the official specifications were limited to ensure stable operation.
Almost coinciding with release of CPU Units with unit version 3.0, stable operation was confirmed at the higher specification, thereby enabling a change in the official operating specifications.
This expansion in the number of points is not related to any upgrade of the
Units (CPU Units or SYSMAC BUS Remote I/O Communications Units).
28
CS1-H CPU Unit Ver. 3.0 Upgrades
Section 1-5
Therefore, the increase in maximum number of points applies to all CS-series
CPU Units, including those that have already been shipped.
Refer to the following table for details.
Maximum number of points per
CPU Unit (total optical/wired points)
Maximum points per
Remote I/O
Master Unit
(RM) (Total optical/wired points)
Item
SYSMAC Bus remote I/O relay area
Number of Remote
I/O Master Units
(RM)
Number of C500
Remote I/O Slave
Units (RT) (i.e.,
Slave Racks))
2 Units
Before
800 points
(50 words)
Now
1,280 points
(80 words)
2 Units 4 Units
C500 Remote I/O Slave Unit (RT) allocated words for 2 unit numbers
Up to 20 words in total per Slave Rack.
5 Units 8 Units
Slave Rack: Any location, fixed word allocations
C200H Special I/O Unit can be connected.
Up to 10 words in total per Slave Rack.
SYSMAC BUS
Remote I/O Relay
Points
Maximum number of C500 Remote I/O
Slave Units (i.e.,
Slave Racks)
512 points (32 words)
2 Units 4 Units
C500 Remote I/O Slave Unit (RT) allocated words for 2 unit numbers
Up to 20 words in total per Slave Rack.
Remote I/O Slave Unit’s (RT) unit number cannot be used more than once.
Maximum number of C200H Remote
I/O Slave Units (RT)
(i.e., Slave Racks)
5 Units 8 Units
Slave Rack: Any location, fixed word allocations
C200H Special I/O Unit can be connected.
Up to 10 words in total per Slave Rack.
Maximum number of Remote I/O
Slaves (Slave Units,
I/O Link Units,
Remote I/O Units)
Optical: 64 Units (Repeater required if number exceeds 32).
Wired: Remote Interfaces, Remote Terminals: 32 Units total
Remote Units: 16 Units.
29
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
1-6 CS1-H CPU Unit Ver. 2.0 Upgrades
The following table shows the functional upgrades for CS1-H CPU Unit
Ver. 2.0.
Functional Upgrades for CS1-H CPU Unit Ver. 2.0
Function
Downloading and Uploading Individual Tasks
Improved Read Protection Using Passwords
Reference
Write Protection from FINS Commands Sent to CPU Units via Networks 1-6-3
Online Network Connections without I/O Tables 1-6-4
Communications through a Maximum of 8 Network Levels
Connecting Online to PLCs via NS-series PTs
Automatic Transfers at Power ON without a Parameter File
1-6-1 Downloading and Uploading Individual Tasks
Previous CPU Units (Pre-Ver. 2.0 CPU Units)
With the pre-Ver. 2.0 CPU Units, individual program tasks could not be downloaded from the CX-Programmer. It was only possible to download the entire user program.
For example, if several programmers were developing the program, the project manager had to unify each program after debugging and then download the entire user program. Furthermore, the entire user program had to be downloaded even if just a few changes were made.
Note It was possible to upload individual program tasks with CS/CJ-series PLCs.
Developer A CX-Programmer
Developer B CX-Programmer
Unification
Manager
Entire user program
Developer C CX-Programmer Download
CS/CJ Series
Individual tasks can be uploaded.
30
CS1-H CPU Unit Ver. 2.0 Upgrades
CPU Unit Ver. 2.0
Overview
Section 1-6
With CPU Unit Ver. 2.0 or later CPU Units, individual program tasks can be uploaded and downloaded from the CX-Programmer.
CX-Programmer
Individual tasks (programs)
Usage
END
END
END
Download individual tasks (programs).
CS/CJ-series
CPU Unit Ver.2.0 or later
When several programmers are developing a program, it isn't necessary for a project manager to unify the data because just the debugged tasks can be downloaded/uploaded. Also, transferring individual tasks can help avoid mistakes.
Developer A CX-Programmer
Edited
Just the edited tasks can be downloaded.
Developer B CX-Programmer
Unchanged
CS/CJ-series
CPU Unit Ver.2.0 or later
Developer C CX-Programmer
Unchanged
Download individual tasks.
Restrictions to Function
Block Use
Individual tasks cannot be downloaded for programs containing function blocks (unit version 3.0 or later only) (uploading is possible).
1-6-2 Improved Read Protection Using Passwords
Read Protection for Individual Tasks Using Passwords
Previous CPU Units (Pre-
Ver. 2.0 CPU Units)
With the pre-Ver. 2.0 CS/CJ-series CPU Units, it was possible to read-protect the entire PLC with a password (referred to as “UM read protection” below), but it was not possible to protect individual tasks.
UM read protection prevented anyone from displaying, editing, or uploading the entire user program from CX-Programmer without inputting the correct password.
CPU Unit Ver. 2.0 or Later and CX-Programmer
Ver. 4.0 or Higher
Overview
With the CPU Unit Ver. 2.0 or later CPU Units, it is possible to read-protect individual program tasks (referred to as “task read protection” below) or the entire PLC. same password controls access to all of the read-protected tasks.
31
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
Task read protection prevents anyone from displaying, editing, or uploading the read-protected set of tasks from CX-Programmer without inputting the correct password. In this case, the entire program can be uploaded, but the readprotected tasks cannot be displayed or edited without inputting the correct password. Tasks that are not read-protected can be displayed, edited, or modified with online editing.
Note Task read protection cannot be set if UM read protection is already set. However, it is possible to set UM read protection after task read protection has been set.
CX-Programmer
Set a password for particular tasks in the project directory.
Password?
Those tasks cannot be displayed without inputting the password.
CS/CJ-series CPU Unit Ver.2.0 or later
END
END
The entire user program can be uploaded, but passwordprotected tasks will not be displayed until the password is input.
The other tasks can be displayed/edited and are also accessible through online editing.
END
1,2,3...
Operating Procedure
1.
Display the Protection Tab of the PLC Properties Window and register a password in the Task read protection Box.
Right-click.
Properties
2.
Select the tasks that will be password-protected and select the Task read
protect Option in the Program Properties Tab.
Right-click.
Properties
3.
Connect online and execute either step a or b below.
a) Transferring the Program and Setting Password Protection:
Select PLC - Transfer - To PLC to transfer the program. The tasks registered in step 2 will be password-protected.
32
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
b) Setting Password Protection without Transferring the Program:
Select PLC - Protection - Set Password and click the OK button. The tasks registered in step 2 will be password-protected.
Usage
Apply read protection to tasks when you want to convert those tasks (programs) to “black box” programs.
Task 0
Accessable
END
Not accessable
Task 1
END
Password applied.
Task converted to "black box."
Task 2
Accessable
END
Note
Restrictions on Function
Block Use
1.
If CX-Programmer Ver. 3.2 or an earlier version is used to read a task with task read protection applied, an error will occur and the task will not be read. Likewise, if a Programming Console or the PT Ladder Monitor function is used to read a password protected task, an error will occur and the task will not be read.
2.
The entire program can be transferred to another CPU Unit even if individual tasks in the program are read-protected. It is also possible to connect online and create a program file (.OBJ file) with file memory operations. In both cases, the task read protection remains effective for the passwordprotected tasks.
3.
When the CX-Programmer is used to compare a user program in the computer's memory with a user program in the CPU Unit, password-protected tasks will be compared too.
For programs containing function blocks (unit version 3.0 or later only), function block definitions can be read even if the entire program or tasks are readprotected.
Enabling/Disabling Creating File Memory Program Files
Previous CPU Units (Pre-
Ver. 2.0 CPU Units)
With the pre-Ver. 2.0 CS/CJ-series CPU Units, it was possible use file memory operations to transfer a program file (.OBJ file) to a Memory Card even if the program was protected with UM read protection. (Consequently, illegal copies could be made.)
CPU Unit Ver. 2.0 or Later and CX-Programmer
Ver. 4.0 or Higher
Overview
When the entire program or individual tasks in a CPU Unit Ver. 2.0 or later are read-protected from the CX-Programmer, an option can be set to enable or disable the creation/backup of.OBJ program files. It will not be possible to create program files (.OBJ files) with file memory operations if the creation/backup of program files is prohibited with this setting. (This setting prohibits both online transfers to a Memory Card/EM file memory as well as offline storage of PLC data that was uploaded to the CX-Programmer.)
Disabling the creation of file memory program files can help prevent illegal copying of the user program.
33
CS1-H CPU Unit Ver. 2.0 Upgrades
CX-Programmer
Password?
When a password is being registered for the entire user program or selected tasks, the creation of backup program files (.OBJ files) can be enabled/disabled with an option setting.
Section 1-6
Online creation of backup program files
(.OBJ files) prohibited by option setting.
CPU Unit
CX-Programmer
Uploading of all PLC data is prohibited.
1,2,3...
Backup program files (.OBJ files) cannot be created with file memory operations.
Operating Procedure
1.
When registering a password in the UM read protection password Box or
Task read protection Box, select the Prohibit from saving into a protected
memory card Option.
Right-click.
Properties
Note
2.
Either select PLC - Transfer - To PLC to transfer the program or select
PLC - Protection - Set Password and click the OK button.
Usage
This option can be used to prevent the program from being transferred out of the PLC using the password.
1.
The simple backup operation can still be performed when the creation of program files is prohibited, but the backup program file (BACKUP.OBJ) will not be created.
2.
The program can be copied when program read protection is not enabled.
3.
The setting to enable/disable creating file memory program files will not take effect unless the program is transferred to the CPU Unit. Always transfer the program after changing this setting.
Enabling/Disabling Write Protection for Individual Tasks Using Passwords
Previous CPU Units
(Pre-Ver. 2.0 CPU Units)
With the pre-Ver. 2.0 CS/CJ-series CPU Units, the CPU Unit's user program memory (UM) can be write-protected by turning ON pin 1 of the CPU Unit's
DIP switch. In this case, it is possible to overwrite the user program memory by turning OFF pin 1.
34
CS1-H CPU Unit Ver. 2.0 Upgrades
CPU Unit Ver. 2.0 or Later and CX-Programmer
Ver. 4.0 or Higher
Section 1-6
With the CPU Unit Ver. 2.0 and later CPU Units, the CPU Unit's UM area can be write protected by turning ON pin 1 of the CPU Unit's DIP switch. The program (or selected tasks) can also be write-protected if the write protection option is selected from the CX-Programmer when a password is being registered for the entire program or those selected tasks. The write protection setting can prevent unauthorized or accidental overwriting of the program.
CX-Programmer
Password?
When a password is being registered for the entire user program or selected tasks, program write-protection can be enabled/disabled with an option setting.
The user program cannot be overwritten.
CPU Unit
Overwriting can be prohibited with password protection, regardless of the DIP switch setting.
Note
1,2,3...
Memory Card
The user program cannot be overwritten.
1.
If the selected tasks or program are write-protected by selecting this option when registering a password, only the tasks (program) that are passwordprotected will be protected from overwriting. It will still be possible to overwrite other tasks or programs with operations such as online editing and task downloading.
2.
All tasks (programs) can be overwritten when program read protection is not enabled.
3.
The setting to enable/disable creating file memory program files will not take effect unless the program is transferred to the CPU Unit. Always transfer the program after changing this setting.
Operating Procedure
1.
When registering a password in the UM read protection password Box or
Task read protection Box, select the Prohibit from overwriting to a protect-
ed program Option.
Right-click.
Properties
2.
Either select PLC - Transfer - To PLC to transfer the program or select
PLC - Protection - Set Password and click the OK button.
35
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
Auxiliary Area Flags and Bits related to Password Protection
Name
UM Read Protection
Flag
Bit address
A09900
Task Read Protection Flag
Program Write
Protection for Read
Protection
Enable/Disable Bit for Program Backup
A09901
A09902
A09903
Description
Indicates whether or not the PLC (the entire user program) is read-protected.
0: UM read protection is not set.
1: UM read protection is set.
Indicates whether or not selected program tasks are read-protected.
0: Task read protection is not set.
1: Task read protection is set.
Indicates whether or not the write protection option has been selected to prevent overwriting of password-protected tasks or programs.
0: Overwriting allowed
1: Overwriting prohibited (write-protected)
Indicates whether or not a backup program file
(.OBJ file) can be created when UM read protection or task read protection is set.
0: Creation of backup program file allowed
1: Creation of backup program file prohibited
1-6-3 Write Protection from FINS Commands Sent to CPU Units via
Networks
Previous CPU Units (Pre-Ver. 2.0 CPU Units)
With the pre-Ver. 2.0 CS/CJ-series CPU Units, there was no way to prohibit write operations and other editing operations sent to the PLC's CPU Unit as
FINS commands through a network such as Ethernet, i.e., connections other than direct serial connections.
CPU Unit Ver. 2.0 or Later
Summary With the CPU Unit Ver. 2.0 and later CS/CJ-series CPU Units, it is possible to prohibit write operations and other editing operations sent to the PLC's CPU
Unit as FINS commands through a network (including write operations from
CX-Programmer, CX-Protocol, CX-Process, and other applications using FinsGateway). Read processes are not prohibited.
FINS write protection can disable write processes such as downloading the user program, PLC Setup, or I/O memory, changing the operating mode, and performing online editing.
It is possible to exclude selected nodes from write protection so that data can be written from those nodes.
An event log in the CPU Unit automatically records all write processes sent through the network and that log can be read with a FINS command.
36
CS1-H CPU Unit Ver. 2.0 Upgrades
Example:
Computer #1
PLC #1
Write operations by FINS commands are prohibited from some nodes in the network (in this example, computer #1, PLC #1, and
PLC #2).
Network
PLC #2
Section 1-6
PLC #3
Computer #2
Network
Write access to this PLC is enabled/disabled.
Network
Write operations by FINS commands are not prohibited from selected nodes in the network
(in this example, computer #2 and PLC #3).
Note This function prohibits writing by FINS commands only, so it has no effect on write operations by functions other than FINS commands, such as data links.
Example Write Protection Patterns
Connection pattern Diagram (example)
From a computer through a direct serial connection
Direct connection to
PLC
Computer
Write-protection not effective
Peripheral port
Write protection
Cannot be applied.
Serial connection
(Peripheral bus or host link)
PLC
RS-232C port
RS-232C port or 422A/485 port on a Communications Board/Unit
Gateway connection
(Serial-to-network) to PLC
Computer
Can be applied.
The CPU Unit in PLC #2 can be write-protected.
PLC #1 PLC #2
Serial connection
(Peripheral bus or host link)
Network
37
CS1-H CPU Unit Ver. 2.0 Upgrades
Connection pattern
From a computer through a direct network connection
Computer
Diagram (example)
PLC #1
The CPU Unit in PLC #2 can be write-protected.
PLC #2
Section 1-6
Write protection
Can be applied.
From another PLC in the network
PLC #1
CMND
Network
If the CMND instruction is used to send a FINS command (requesting a write operation) to the CPU Unit of PLC #2, the operation is not performed.
The CPU Unit in PLC #2 can be write-protected.
PLC #2
Can be applied.
Operation
Network
With the CX-Programmer, open the PLC Setup's FINS Protection Tab and select the Use FINS Write Protection Option. When this option is selected, it will not be possible to execute write operations for that CPU Unit with FINS commands sent through a network. To permit write operations from particular nodes, enter network addresses and node addresses for the node under Pro-
tection Releasing Addresses. (Up to 32 nodes can be excluded from FINS
Write Protection).
38
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
PLC Setup
Item
Use FINS Write
Protection
Nodes Excluded from Write Protection (Protection
Releasing
Addresses)
Number of Nodes
Excluded from FINS
Write Protection
(Do not set this value. It is automatically calculated by the CX-Programmer.)
Address in
Programming
Console
Description
Word 448, bit 15 Sets whether the CPU Unit is write-protected from FINS commands sent through the network.
(Does not prohibit FINS commands sent through a direct serial connection).
Words 449 to
480
Settings
0: Write protection disabled
1: Write protection enabled
Bits 08 to
15
This area lists the nodes in the network that are not restricted by
FINS write protection. Up to 32 nodes can be specified.
Note These settings are effective only when FINS write protection is enabled.
Network address:
Network address of the FINS command source
00 to 7F hex
Bits 00 to
07
Word 448, bits
00 to 07
Node address:
Node address of the FINS command source
Contains the number of nodes that are not subject to the FINS write protection.
If 0 is specified (no nodes excluded from write protection),
FINS write commands are prohibited from all nodes other than the local node.
Note This setting is effective only when FINS write protection is enabled.
01 to FE hex, or FF hex
(FF hex: node address unspecified)
0 to 32
(00 to 20 hex)
(A value of 0 indicates that all nodes are subject to write protection.)
Default setting
0: Write protection disabled
0
(All nodes subject to write protection.)
Usage The system can be configured so that a PLC can be written only from authorized nodes in the network. (For example, use this function when the system's control/monitoring computer is the only node allowed to write to a Controller within a piece of equipment.)
By limiting the number of nodes that can write to the PLC, it is possible to prevent system problems caused by unintentional overwrites during data monitoring.
39
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
System control/monitoring computer
Allowed to write/control
Equipment
Network
Controller
Allowed to write/control PLC
Network
Network
CS/CJ-series PLC
Monitoring computer
Not allowed to write/control
Operations Restricted by
Network FINS Write
Protection
Code
0102 hex
0103 hex
0105 hex
0202 hex
0203 hex
0307 hex
0308 hex
0401 hex
0402 hex
0702 hex
0C01 hex
FINS Write Commands
The following FINS commands are restricted by FINS write protection when sent to the CPU Unit through the network.
Command name
MEMORY AREA WRITE
MEMORY AREA FILL
MEMORY AREA TRANSFER
PARAMETER AREA WRITE
PARAMETER AREA FILL (CLEAR)
PROGRAM AREA WRITE
PROGRAM AREA CLEAR
RUN
STOP
CLOCK WRITE
ACCESS RIGHT ACQUIRE
Code
2101 hex
2103 hex
2203 hex
2204 hex
2205 hex
2207 hex
2208 hex
220A hex
220B hex
220C hex
2215 hex
2301 hex
2302 hex
Command name
ERROR CLEAR
ERROR LOG POINTER CLEAR
SINGLE FILE WRITE
FILE MEMORY FORMAT
FILE DELETE
FILE COPY
FILE NAME CHANGE
MEMORY AREA-FILE TRANSFER
PARAMETER AREA-FILE TRANSFER
PROGRAM AREA-FILE TRANSFER
CREATE/DELETE DIRECTORY
FORCED SET/RESET
FORCED SET/RESET CANCEL
40
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
Note
Operations from CX-Programmer (including CX-Net) through the Network
The following CX-Programmer (including CX-Net) operations are restricted by
FINS write protection when performed on the CPU Unit through the network.
Operations not allowed through the network when FINS write protection is enabled.
• Changing the Operating Mode
• Transferring the ladder program to the CPU Unit
• Transferring parameter area data (PLC Setup, I/O table, and
CPU Bus Unit Setup) to the CPU Unit
• Transferring memory area data (I/O memory data) to the
CPU Unit
• Transferring the variable table, comments, or program index to the CPU Unit
• Forced Set/Reset
• Changing timer/counter set values
• Online editing
• Writing file memory
• Clearing the error log
• Setting the clock
• Releasing the access right
• Transferring the routing table
• Transferring the data link table
1.
FINS write protection does not prevent CX-Programmer operations from a computer connected through a direct serial connection.
2.
FINS write protection does not prevent the following file memory write operations.
• Automatic transfer from the Memory Card at startup
• Simple backup function (including backup operations to selected
Units/Boards)
• Writing files with the FWRIT (WRITE DATA FILE) instruction
Operations from Other Support Software
FINS write protection also prevents the following operations performed through the network by the CX-Protocol and CX-Process.
• Changing the CPU Unit's operating mode, writing memory areas, transferring PLC Setup settings, transferring the I/O table, forced set/reset, and clearing the CPU Unit's error log
Operations from Applications That Use FinsGateway
FINS write protection prevents all write operations addressed to the CPU Unit from applications that use FinsGateway, such as PLC Reporter and Compolet.
1-6-4 Online Network Connections without I/O Tables
Previous CPU Units (Pre-Ver. 2.0 CPU Units)
With the pre-Ver. 2.0 CPU Units, it was not possible to make an online connection to other PLCs in the network from CX-Programmer unless the I/O tables had been created (even if the network connections were completed) because the Network Communications Unit itself was not recognized from the
CPU Unit. Consequently, it was necessary to connect a Programming Device
(CX-Programmer or a Programming Console) to each PLC through a serial connection and create and I/O tables in each PLC in order to make online connections through the network.
41
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
CPU Unit Ver. 2.0 or Later
Summary With the CPU Unit Ver. 2.0 and later CS/CJ-series CPU Units, the CPU Unit can recognize a CPU Bus Unit (such as a Network Communications Unit, see note) even if the I/O tables have not been created and there is no registered
I/O tables.
CPU Bus Unit
(including Network Communications Units) CS/CJ-series CPU Unit Ver.2.0 or later
Network
CPU Bus Units (including Network Communications Units) can be recognized before an I/O table is created.
Online connection can be made.
Usage
Note Network Communications Units include Ethernet Units, Controller Link Units,
SYSMAC Link Units, and DeviceNet Units.
If the nodes are connected to the network, this function allows a computerbased Programming Device (such as the CX-Programmer) to connect online to PLCs in the network even if the I/O tables have not been created. Since a network connection is established with the PLCs, setup operations can be performed such as creating the I/O tables (or editing and transferring I/O tables), transferring the user program, transferring the PLC Setup, and transferring the CPU Bus Unit Setup.
This function is particularly useful when connecting the CX-Programmer via
Ethernet (using a CS1W-ETN21), because the I/O tables can be created through Ethernet so a serial cable isn't required and it isn't necessary to spend extra time establishing a serial connection.
Details
1:1 Computer-to-PLC connection 1:N Computer-to-PLC connection
CX-Programmer
CX-Programmer
Ethernet
CS/CJseries
CPU Unit
Ver.2.0
I/O table not registered
Even without an I/O table, it is possible to make an online connection, create the I/O table, transfer the program, and perform other operations.
CS/CJseries
CPU Unit
Ver.2.0
CS/CJseries
CPU Unit
Ver.2.0
CS/CJseries
CPU Unit
Ver.2.0
I/O table not registered I/O table not registered I/O table not registered
Ethernet
Even without an I/O table, it is possible to make an online connection, create the I/O table, transfer the program, and perform other operations.
• Applicable Units: All CS/CJ-series CPU Bus Units
• Applicable computer-based Programming Devices: CX-Programmer and
CX-Protocol only
• Applicable functions: Online connections from CX-Programmer and CX-
Protocol, and online functions of the applicable CPU Units and CPU Bus
Units
42
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
Note 1.
A non-fatal I/O verification error will occur if a CPU Bus Unit (including a
Network Communications Unit) is used without creating I/O tables.
2.
With a CPU Unit Ver. 2.0 or later CS1-H CPU Unit, CPU Bus Units can be used even if the I/O tables have not been created, but the purpose of this function is making an online connection through the network with a computer-based Programming Device (such as the CX-Programmer).
The I/O tables are used to identify the mounted Units and allocate I/O, so always create the I/O tables before operating the PLC.
3.
Data can be exchanged between the CPU Unit and CPU Bus Units even if the I/O tables have not been created, but do not perform any online functions other than establishing an online connection with a computer-based
Programming Device (such as the CX-Programmer).
4.
When a CS1W-ETN21 or CJ1W-ETN21 Ethernet Unit is being used, the
Ethernet Unit's IP address is automatically set to the default value of
192.168.250.xx, where xx is the FINS node address. After connecting the ethernet cable between the CX-Programmer and PLC (without making a direct serial connection and creating the I/O tables), manually set the computer's IP address (Example: 192.168.250.55) in the Windows Local Area
Connection Properties. An online connection can be established just by setting the Ethernet Unit's IP address (192.168.250.xx) and node in the
CX-Programmer.
Note When connecting the computer directly to the Ethernet Unit, use an
Ethernet crossover cable.
1-6-5 Communications through a Maximum of 8 Network Levels
Previous CPU Units (Pre-Ver. 2.0 CPU Units)
With the pre-Ver. 2.0 CPU Units, it was possible to communicate through 3 network levels max. (see note), including the local network. It was not possible to communicate through 4 or more levels.
Note 1.
This functionality is enabled only after setting routing tables with the CX-
Net in CX-Programmer version 4.0 or higher.
2.
A Gateway to the network via serial communications was not counted as a level.
FINS command source
OR Level count = 1
Network 2
Level count = 2 FINS command destination
Serial connection
Network 1
This connection is not counted as a network l evel.
Network 3
43
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
CPU Unit Ver. 2.0 or Later
Summary With the CPU Unit Ver. 2.0 or later CS/CJ-series CPU Units, it is possible to communicate through 8 network levels max. (see note), including the local network.
Note 1.
FINS commands can only be sent across up to 8 network levels, however, when the destination is a CPU Unit. FINS commands can be sent to other destinations up to 3 network levels away.
2.
CX-Net in CX-Programmer version 4.0 or higher must be used to set routing tables to enable communicating through 8 network levels.
3.
A Gateway to the network via serial communications was not counted as a level.
Compatible Networks
Only the following 2 kinds of networks can be used when communicating through a maximum of 8 networks. The network levels can be combined in any order.
• Controller Link
• Ethernet
Note Communications are restricted to a maximum of 8 networks through
DeviceNet and SYSMAC Link networks.
Configuration of Compatible Models
All of the CPU Units must be CPU Unit Ver. 2.0 or later CS/CJ-series CPU
Units. Also, the Gateway Counter Setting must be made with the CX-Net.
FINS command source
OR
Level count = 1
Network 2
Level count = 2
Level count = 3
Network 4
Level count = 4 Level count = 7
FINS command destination
Network 7
Serial connection
Network 1
This connection is not counted as a network l evel.
Network 3
Network 8
Internal Structure The Gateway Counter (GCT) is in the FINS header of the FINS command/response frame. This counter value is decremented ( −1) each time a network level is crossed.
FINS header
FINS Command Frame
Command code Text
ICF RSV GCT
GCT (Gateway counter: Number of allowed bridge passages)
The standard setting is 02 hex when sending, but this value can be user-set up to 07 hex.
The count is decremented by one each time a network level is passed.
44
CS1-H CPU Unit Ver. 2.0 Upgrades
FINS command source
Section 1-6
Example:
At this point, the gateway counter = 6 hex
Network 2
FINS command
At this point, the gateway counter = 4 hex
Network 4
FINS command
FINS command destination
FINS command
Network 1
At this point, the gateway counter = 7 hex
Operating Procedure
Note
FINS command
Network 3
At this point, the gateway counter = 5 hex
FINS command
Network 8
At this point, the gateway counter = 0 hex
Set the maximum number of network levels that can be crossed by setting the
Gateway Counter Setting to 2 or 7. The gateway counter setting can be changed in the routing table settings of the CX-Net in the CX-Programmer
Ver.4.0 or higher.
1.
The gateway counter is the maximum number of levels that can be crossed, i.e., the maximum number of junctions.
With earlier CPU Units (Pre-Ver. 2.0 CPU Units), up to 3 network levels were allowed, so the gateway counter was set to 2.
With the CPU Unit Ver. 2.0 and later CS/CJ-series CPU Units, up to 8 network levels are allowed, so the maximum gateway counter setting is 7.
2.
With CS/CJ-series CPU Units Ver. 2.0 or later, communications are possible for up to 8 network levels simply by setting the normal routing tables.
No other operations are required.
3.
When using communications only for up to 3 network levels, the CS/CJ-series CPU Units Ver. 2.0 or later can be used together with other CPU Units.
When using communications only for up to 4 to 8 network levels, use only
CS/CJ-series CPU Units Ver. 2.0 or later. Other CPU Units cannot be used.
(Routing error (error codes 0501 to 0504 hex) may occurs in one of the relaying PLCs, preventing a FINS response from being returned.
4.
With CS/CJ-series CPU Units with unit version 2.0 or later, the Gateway
Counter (GCT: Number of allowed bridges passed) for FINS command/ response frames is the value decremented from 07 hex (variable). (In earlier versions, the value was decremented from 02 hex.)
With unit version 3.0 or later, the default GCT for FINS command/response frames is the value decremented from 02 hex. CX-Net can be select to used 07 hex as the value from which to decrement.
5.
Do not use the Gateway Counter (GCT: Number of allowed bridge passages) enclosed in the FINS header of the FINS command/response frame in verification checks performed by user applications in host computers. The
GCT in the FINS header is used by the system, and a verification error may occur if it is used to perform verification checks in user applications, particularly when using CS/CJ-series CPU Units with unit version 2.0 or later.
45
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
1-6-6 Connecting Online to PLCs via NS-series PTs
Summary The CX-Programmer can be connected online to a PLC connected via a serial line to an NS-series PT that is connected to the CX-Programmer via Ethernet
(see note 2). This enables uploading, downloading, and monitoring the ladder program and other data.
CX-Programmer
(Example IP address: 192.168.0.1)
Connect online to PLC #1 to enable programming, monitoring, and other operations.
NS-series PT
(Example IP address:
192.168.0.22)
PLC #1
CS/CJ-series
CPU Unit Ver. 2.0
Ethernet (See note 1.)
(Example network address: 1)
1:N NT Link
(Example network address: 111)
Connection Method
Note 1.
The NS-series PT must be version 3.0 or higher and the CX-Programmer must be version 3.1 or higher.
2.
Connection is not possible through an NS-series PT connected serially to the CX-Programmer.
In CX-Programmer, open the Change PLC Window and set the Network Type to Ethernet. Click the Settings Button and set the IP address of the NS-series
PT on the Driver Tab Page. Also make the following settings on the Network
Tab Page.
• FINS Source Address
Set the local network address of the NS-series PT for the Network (example network address: 1).
• FINS Destination Address
Network: Set the address to 111 if the PLC is connected to serial port A on the NS-series PT and to 112 if it is connected to serial port B.
Node: Always set to 1
• Frame Length: 1,000 (See note.)
• Response Timeout: 2
Note Do not set the frame length higher than 1,000. If any higher value is used, the program transfer will fail and a memory error will occur.
46
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
1-6-7 Setting First Slot Words
Previous CPU Units (Pre-Ver. 2.0 CPU Units)
With CX-Programmer Ver. 3.0 or earlier, only the first addresses on Racks could be set. The first address for a slot could not be set.
CX-Programmer
Ver. 3.0 or earlier
First addresses on Racks
Example:
Rack No.
CPU Rack
Rack 1
Rack 2
Rack 3
Rack 4
Rack 5
Rack 6
Rack 7
First address
100
0
200
CPU Rack slot 0 1 2
CIO 0100
Rack 1 slot 0 1 2 3 4
CIO 0000
Rack 2 slot 0 1 2 CIO 0200
CX-Programmer Ver. 3.1 or Higher
Summary Starting with CX-Programmer Ver. 3.1, the first addresses for slots can be set when editing the I/O tables for CS/CJ-series CPU Units (CS1-H, CJ1-H, and
CJ1M). The first address can be set for up to eight slots. (See note.)
Note This function is supported only for CS1-H/CJ1-H CPU Units manufactured on
June 1, 2002 or later (lot number 020601 @@@@ or later). It is supported for all
CJ1M CPU Units regardless of lot number. It is not supported for CS1D CPU
Units.
47
CS1-H CPU Unit Ver. 2.0 Upgrades
Operating Procedure
Section 1-6
Select Option - Rack/Slot Start Addresses in the PLC IO Table - Traffic Con-
troller Window. This command will enable setting both the first Rack addresses and the first slot addresses.
Select Option - Rack/Slot Start. Addresses.
Double-click
48
This function can be used, for example to allocate fixed addresses to Input
Units and Output Units. (With CQM1H PLCs, input bits are from IR 000 to
IR 015 and output bits are from IR 100 to IR 115. First slot addresses can be set when replacing CQM1H PLCs with CS/CJ-series PLCs to reduce conversion work.)
CX-Programmer
Ver. 3.2 or higher
First slot addresses
Example:
Rack No.
CPU Rack
CPU Rack
Rack 1
Rack 1
Rack 2
Rack 2
Slot No.
Slot No. 00
Slot No. 02
Slot No. 00
Slot No. 02
Slot No. 00
Slot No. 01
100
0
102
1
105
5
Up to 8 settings can be made.
CPU Rack slot
0 1 2
CIO 0100
CIO 0000
Rack 1 slot
0 1 2 3 4
CIO 0102
CIO 0001
Rack 2 slot
0 1 2
CIO 0105
CIO 0005
Note The first address settings for Racks and slots can be uploaded/downloaded from/to the CPU Unit.
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
CPU Unit Ver. 2.0 or Later and CX-Programmer Ver. 4.0 or Higher
Summary When using CX-Programmer Ver.4.0 or higher with CPU Unit Ver. 2.0 or later, the first address can be set for up to 64 slots.
Note This function is supported only for CS1-H, CJ1-H, and CJ1M CPU Units
Ver. 2.0 or later. It is not supported for CS1D CPU Units.
CX-Programmer
Ver. 4.0 or higher
First slot addresses
Example:
Rack No.
Slot No.
CPU Rack
CPU Rack
Rack 1
Rack 1
Rack 2
Rack 2
Slot No. 00
Slot No. 02
Slot No. 00
Slot No. 02
Slot No. 00
Slot No. 01
100
0
102
1
105
5
Up to 64 settings can be made.
CPU Unit Ver. 2.0 or later
CPU Rack slot 0 1 2
Rack 7 Slot No. 01
CIO 0100
CIO 0000
50
Rack 1 slot 0 1 2 3 4
CIO 0102
CIO 0001
Rack 2 slot
0 1 2
CIO 0105
CIO 0005
Rack 7 slot
0 1 2
CIO 0155
CIO 0050
1-6-8 Automatic Transfers at Power ON without a Parameter File
Previous CPU Units (Pre-Ver. 2.0 CPU Units)
Previously with the CS/CJ-series CPU Units, both the program file for automatic transfer at power ON (AUTOEXEC.OBJ) and the parameter file for automatic transfer at power ON (AUTOEXEC.STD) had to be stored on the
Memory Card to enable automatic transfers to the CPU Unit at power ON.
Also, the parameter file for automatic transfer at power ON (AUTOEXEC.STD) could not be created without the actual PLC (regardless of whether it was made in online operations from the CX-Programmer or a Programming Console or by using the easy backup operation).
49
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
Personal computer
Even if a program file (.OBJ) was created offline without the actual PLC and then sent to a remote PLC as an email attachment, the program file could not be transferred to the CPU Unit without a Programming Device.
Internet
Local site (no Programming Device)
CPU Unit
Program cannot be transferred
(see note).
Program file
(AUTOEXEC.OBJ)
Note: Transfer is not possible because there is no parameter file
(AUTOEXEC.STD).
Program file (.OBJ) sent as mail attachment.
CPU Unit Ver. 2.0 or Later
Summary With CS/CJ-series CPU Unit Ver. 2.0, the user program can be automatically transferred to the CPU Unit at power ON without a parameter file (.STD) if the name of the program file (.OBJ) is changed to REPLACE.OBJ on the CX-Programmer and the file is stored on a Memory Card. If data files are included with the program file using this function, the following data file names are used: REPLACE.IOM, REPLCDM.IOM, REPLCE @.IOM.
Note 1.
If the Memory Card contains a REPLACE.OBJ file, any parameter file on the Memory Card will not be transferred.
2.
If the Memory Card contains both a REPLACE.OBJ file and a AUTOEX-
EC.OBJ file, neither will be transferred.
Personal computer
Remote site (no Programming Device)
CPU Unit
Program can be transferred
(see note).
Mail Internet
REPLACE.OBJ
Note: Transfer is possible even without a parameter file
(AUTOEXEC.STD).
Program file created on CX-
Programmer (see note), file name changed to REPLACE.OJB, and file sent as mail attachment.
Note With CX-Programmer Ver. 3.0 or higher, a program file (.OBJ) can be created offline and saved on a computer storage media. Select Transfer - To File from the PLC Menu. This enable creating a program file offline without a PLC so that the name can be changed to enable sending the program file.
50
CS1-H CPU Unit Ver. 2.0 Upgrades
Section 1-6
1-6-9 Operation Start/End Times
Previous CPU Units (Pre-Ver. 2.0 CPU Units)
The time that operation started and the time operation ended were not stored in the CPU Unit.
CPU Unit Ver. 2.0 or Later
The times that operation started and ended are automatically stored in the
Auxiliary Area.
• The time that operation started as a result of changing the operating mode to RUN or MONITOR mode is stored in A515 to A517 of the Auxiliary Area. The year, month, day, hour, minutes, and seconds are stored.
• The time that operation stopped as a result of changing the operating mode to PROGRAM mode or due to a fatal error is stored in A518 to
A520 of the Auxiliary Area. The year, month, day, hour, minutes, and seconds are stored.
This information simplifies managing PLC System operating times.
1-6-10 New Application Instructions
The following instructions have been added. Refer to the Programming Man-
ual (W340) for details.
• Multiple Interlock Instructions:
MULTI-INTERLOCK DIFFERENTIATION HOLD (MILH(517)), MULTI-
INTERLOCK DIFFERENTIATION RELEASE (MILR(518)), and MULTI-
INTERLOCK CLEAR (MILC(519))
• TIME-PROPORTIONAL OUTPUT (TPO(685))
• GRAY CODE CONVERSION (GRY(474))
• Combination Instructions:
TEN KEY INPUT (TKY(211)), HEXADECIMAL KEY INPUT (HKY(212)),
DIGITAL SWITCH INPUT (DSW(213)), MATRIX INPUT (MTR(210)), and
7-SEGMENT DISPLAY OUTPUT (7SEG(214))
• Time Comparison Instructions: =DT, <>DT, <DT, <=DT, >DT, >=DT
• Explicit Message Instructions:
EXPLICIT MESSAGE SEND (EXPLT(720)), EXPLICIT GET ATTRIBUTE
(EGATR(721)), EXPLICIT SET ATTRIBUTE (ESATR(722)), EXPLICIT
WORD READ (ECHRD(723)), and EXPLICIT WORD WRITE
(ECHWR(724))
• EXPANDED BLOCK COMPARE (BCMP2(502)) (This instruction, previously supported by only the CJ1M PLCs, is now supported by the CS1-H and CJ1-H.)
• INTELLIGENT I/O READ (IORD(222)) and INTELLIGENT I/O WRITE
(IOWR(223)) (These instructions could previously be used only for Special I/O Units, but they can now be used to read and write data for CPU
Bus Units.)
51
CS1 and CS1-H CPU Unit Comparison
Section 1-7
1-7 CS1 and CS1-H CPU Unit Comparison
1-7-1 CS1 and CS1-H CPU Unit Comparison
Instruction executions times
EM Area
Overseeing processing time
Execution timing
Item
Basic instructions
Special instructions
CPU execution processing modes
CS1-H CPU Unit
(CS1H-CPU6 @H, CS1G-CPU4@H)
LD: 0.02 µs
OUT: 0.02 µs
Example
XFER: 300 µs (for 1,000 words)
BSET: 200 µs (for 1,000 words)
BCD arithmetic: 8.2 µs min.
Binary arithmetic: 0.18 µs min.
Floating-point math: 8 µs min.
SBS/RET: 2.1 µs
1 bank (32 Kwords) min. for all models
Normal mode: 0.3 ms
Parallel mode: 0.2 ms
Any of the following 4 modes:
Normal (instructions and peripheral servicing perform consecutively)
Peripheral Servicing Priority Mode
(instruction execution interrupted to service peripherals at a specific cycle and time; consecutive refreshing also performed)
Parallel Processing Mode with Synchronous Memory Access (instruction executed and peripheral services in parallel while synchronizing access to I/O memory)
Parallel Processing Mode with
Asynchronous Memory Access
(instruction executed and peripheral services in parallel without synchronizing access to I/O memory)
0.04
0.17
µs
µs
0.5 ms
CS1 CPU Unit
(CS1H-CPU6 @-E, CS1G-CPU4@-E)
633 µs (for 1,000 words)
278 µs (for 1,000 words)
14 µs min.
0.25 µs min.
10 µs min.
37 µs
Not supported by all models
Either of following 2 modes:
Normal (instructions and peripheral servicing perform consecutively)
Peripheral Servicing Priority Mode
(instruction execution interrupted to service peripherals at a specific cycle and time; consecutive refreshing also performed) (Add for CPU
Units with lot number No.
001201 @@@@ or later.)
During I/O refresh period CPU Bus Unit special refreshing
Data links
DeviceNet remote I/O
Protocol macro send/receive data
Refreshing of CIO and DM
Areas words allocated to CPU
Bus Unit
During I/O refresh period or via special CPU BUS UNIT I/O
REFRESH instruction (DLNK(226))
52
CS1 and CS1-H CPU Unit Comparison
Section 1-7
Tasks
Data backup
I/O tables
Item
Cyclic execution of interrupt tasks via TKON instruction
(called “extra cyclic tasks”)
Independent/shared specifications for index and data registers
Initialization when tasks are started
Starting subroutines from multiple tasks
Interrupt task execution timing during instruction execution
For BIT
COUNTER
(BCNT) or
BLOCK
TRANSFER
(XFER) instructions
Backup to Memory Cards
(simple backup function)
Automatic user program and parameter area backup to flash memory
For instructions other than the following ones
CS1-H CPU Unit
(CS1H-CPU6 @H, CS1G-CPU4@H)
Supported
(Up to 255 extra cyclic tasks, increasing the total number of cyclic tasks to 288 max.)
Supported
The time to switch between tasks can be reduces if shared registers are used.
Supported
Task Startup Flags supported.
Global subroutines can be defined that can be called from more than one task.
(CS1H-CPU6
Not supported
@-E, CS1G-CPU4@-E)
(No extra cyclic tasks; 32 cyclic tasks max.)
CS1 CPU Unit
Not supported
(only independent registers for each task)
Only Task Flag for first execution
Not supported
Any instruction that is being executed is interrupted when interrupt task conditions are met to start the interrupt task. If the cyclic task (including extra cyclic tasks) access the same data area words as the instruction that was interrupted, data may not be concurrent. To ensure data concurrency, the DI and EI instructions must be used to disable and enable interrupts during a specific part of the program.
Interrupt tasks are started only after execution of the instruction has been completed, ensuring data concurrency even when the same data area words are accessed from the instruction and the interrupt task.
Only the user program parameters, and I/O memory in the CPU Unit
In addition to the data listed at the right, data from Units and Boards mounted to the CPU Rack or
Expansion Racks can also be backed up to the Memory Card (via pushbutton on front panel). This is very effective when replacing Units.
Backup data includes scan lists for
DeviceNet Units, protocol macros for Serial Communications
Units/Boards, etc.
Supported (enabling battery-free operation without a Memory Card)
The user program and parameter area data are automatically backed up the flash memory whenever they are transferred to the CPU Unit from the CX-Programmer, file memory, etc.
Not supported
Detailed information on I/O table creation errors
Displaying presence of first rack word setting on Programming Console
Detailed I/O table error information is stored in A261 whenever the I/O tables cannot be created for any reason.
It’s possible to confirm if the first rack word has been specified for the system on the Programming
Console display.
The first rack word is specified from the CX-Programmer, making it previously impossible to confirm the setting from the Programming Console.
Not supported
Not supported
53
CS1 and CS1-H CPU Unit Comparison
Section 1-7
Sequence instructions
Item
Differentiated LD NOT, AND
NOT, and OR NOT instructions
Timer/ counter instructions
Special math instructions
Floatingpoint decimal instructions
OUTB, SETB, and RSTB instructions to manipulate individual bits in DM and EM
Area words
PV refresh method for TIM,
TIMH, TMHH, TTIM, TIML,
MTIM, CNT, CNTR, CNR,
TIMW, TMHW, and CNTW instructions
32-bit signed data line coordinates and X axis starting point specification for APR instruction
Single-precision calculations and conversions
Conversions between singleprecision floating point and
ASCII
CS1-H CPU Unit
(CS1H-CPU6
Supported
Supported
@H, CS1G-CPU4@H)
Either BCD or binary can be selected (with CX-Programmer Ver.
3.0 or higher versions)
Supported
CS1 CPU Unit
(CS1H-CPU6 @-E, CS1G-CPU4@-E)
Not supported (Can be programmed by combining differentiated LD, AND, and OR instructions with the NOT instruction.)
Not supported
BCD only
Not supported
Supported (enabling standard deviation calculations)
Supported
Floating point can be converted to
ASCII for display on PTs
ASCII text strings from measurement devices can be converted to floating-point decimal for use in calculations.
Not supported
Not supported
Text string, table data, and data shift instructions
Data control instructions
Subroutine instructions
Failure diagnosis instructions
Double-precision calculations and conversions
Text string and table data processing instruction execution
Supported (enabling high-precision positioning)
Data processing can be performed normally or in the background
(specified for each instruction)
(Using time slices to process instruction over several cycles reduces the effect of these instructions on the cycle time.)
Supported
Effective for tracking workpieces on conveyor lines.
Not supported
Normal processing only
Stack insertions/deletions/replacements and stack counts with table processing instructions
PID with autotuning
Global subroutines
Error log storage for FAL
Error simulation with
FAL/FALS
Supported (eliminating the need to turn PID constants)
Supported (GSBS, GSBN, and
GRET instructions)
Enables easier structuring of subroutines.
Supported
FAL can be executed without placing an entry in the error log. (Only system FAL errors will be placed in the error log.)
Supported
Fatal and nonfatal errors can be simulated in the system to aid in debugging.
Supported
Not supported
Not supported
Not supported
Not supported
Not supported
Not supported Data comparison instructions
AREA RANGE COMPARE
(ZCP) and DOUBLE RANGE
COMPARE (ZCPL)
54
CS1 and CS1-H CPU Unit Comparison
Section 1-7
Index register real I/O address conversion for
CVM1/CV
Condition
Flag saving and loading
Item
Program and real I/O memory address compatibility with
CVM1/CV-series PLCs
Compatibility with CVM1/CVseries PLCs
CS1-H CPU Unit
(CS1H-CPU6 @H, CS1G-CPU4@H)
CVM1/CV-series real I/O memory addresses can be converted to CSseries addresses and placed in index registers or CS-series real
I/O memory addresses in index registers can be converted to
CVM1/CV-series addresses.
Condition Flag status can be saved or loading using the SAVE CONDI-
TION FLAGS (CCS) and LOAD
CONDITION FLAGS (CCL) instructions, enabling applications where
Condition Flag status must be passed between different program locations, tasks, or cycles.
RUN mode
CS1 CPU Unit
(CS1H-CPU6 @-E, CS1G-CPU4@-E)
Not supported
Not supported
PROGRAM mode Startup mode for PLC Setup defaults when no Programming Console is connected
CPU Unit startup Operation when
Unit/Inner
Board doesn’t complete startup process
Disabling power interruptions in program sections
Starting or not starting (standby) the CPU Unit in MONITOR or RUN mode even if a Unit or an Inner
Board has not completed startup processing can be specified in the
PLC Setup.
CPU Unit standby (fixed)
Condition Flag operation
Supported
Instructions between DI and EI are executed without performing power
OFF processing even if a power interruption has been detected and confirmed.
The statuses of the Equals, Negative, and Error Flags are maintained for execution of the following instructions.
TIM, TIMH, TMHH, CNT, IL, ILC,
JMP0, JME0, XCHG, XCGL,
MOVR, symbol comparison instructions, CMP, CMPL, CPS, CPSL,
TST, TSTN, STC, and CLC
Not supported
The Equals, Negative, and Error
Flags are turned OFF after executing the following instructions.
TIM, TIMH, TMHH, CNT, IL, ILC,
JMP0, JME0, XCHG, XCGL, MOVR, symbol comparison instructions,
CMP, CMPL, CPS, CPSL, TST,
TSTN, STC, and CLC
55
CS1 and CS1-H CPU Unit Comparison
Section 1-7
1-7-2 New Functions for Version-1 CS1 CPU Units
The following functions have been added or improved in the version-1 CS1
CPU Units (CS1G/H-CPU @@-EV1; previous version: CS1G/H-CPU@@-E).
Support for CSV and
TXT formats in data files
File operations for instructions (formatting, deleting, etc.)
Program replacements during operation
DM and EM files for automatic transfer at startup
Simple backup function
Item
High-speed NT Links High-speed 1:N NT Links are supported, enabling faster communications with PTs (Programmable
Terminals) than previously possible.
Only the following PTs support highspeed NT Links: NT31/NT631-V2 and the NS-series PT.
High-speed online editing
Function
The FREAD/FWRIT instructions can be used to read and write hexadecimal
I/O memory data in CSV or TXT format. (Previously, only binary format was supported.)
The CPU Unit can send commands to itself using the CMND instruction to perform file operations. (The CPU Unit could previous not send FINS commands to itself.)
The entire user program can be loaded from a Memory Card to the CPU Unit during operation to replace the program. (Previously only
AUTOEXEC.OBJ could be used at startup to replace the program.)
DM and EM files can be automatically loaded to the CPU Unit at startup.
(Previously only the data file
AUTOEXEC.IOM could be used to load the Special I/O Unit and Inner Board areas starting at D20000 to the DM
Area. For other parts of the DM Area, the FREAD instruction had to be used, i.e., automatic transfer at startup was not possible.)
The user program, parameter data, and I/O memory data can be backed up to a Memory Card by pressing the memory card power button if simple backup was specified on the DIP switch. (Previously a write operation from a Programming Device was required to back up all of this data.)
Application
Production results from I/O memory in the CPU Unit can be written to a Memory Card in CSV/TXT format, the Memory Card can be used to read the data to a computer via a Memory Card
Adapter, and the data can then be used in spreadsheet software on the computer.
Spreadsheet data from a computer can also be transferred in CSV/TXT format to the CPU Unit’s I/O memory via
Memory Cards.
Files can be formatted, deleted, copied, or renamed and directories can be created on Memory Cards using ladder program instructions during operation.
Switching operations while the PLC is running.
Replacing the program without using a
Programming Device.
Storing settings in the DM and EM
Areas at startup.
Loading data automatically at startup instead of using FREAD.
All data could be backed up easily and quickly without a Programming Device whenever a problem occurs.
Better realtime performance for setting and monitoring operations on PTs.
Less time is required to change part of the program when performing online editing in MONITOR mode. (Previously each cycle was increased by up to
90 ms, but the maximum increase for version-1 CPU Units is 12 ms.)
The effects on the system are reduced when changing the program for maintenance during operation.
Reference
Section 5 File
Memory Func-
tions in the
CS/CJ Series
Programming
Manual
NT Link System
(1:N Mode) under 2-5-2 Sys-
tems in this manual and 6-3-
3 NT Link (1:N
Mode) in CS/CJ
Series Programming Manual
7-2-3 Online
Editing in the
CS/CJ Series
Programming
Manual
56
CS-series Function Tables
Section 1-8
1-8 CS-series Function Tables
The following tables list functions for the CS-series CPU Units (including both the CS1 CPU Units and the CS1-H CPU Units).
1-8-1 Functions Arranged by Purpose
Studying Basic
Operations and the System
Purpose
Studying the system configuration
Studying I/O allocations
Finding the installation dimensions
Finding the installation method
Setting the DIP switch
Setting the PLC Setup
Using special flags in the Auxiliary
Area
Studying the cycle time
Troubleshooting
Improving
Program
Structure
Simplifying the
Program
Standardizing programs as modules.
Developing a program with several programmers working in parallel.
Making the program easier to understand.
Creating step programs.
Using BASIC-like mnemonic instructions to program processes that are difficult to enter in the ladder diagram format (such as conditional branches and loops).
Creating looped program sections.
Function Reference
SECTION 2 Specifications and System Configuration
Program with tasks to divide the program, use function blocks (FBs), specify symbols, and define local and global symbols.
Use ST (Structured Text) language.
11-2-4 Error Processing Flowchart
Programming
Manual (W394)
Use the step instructions.
Use the block programming instructions.
Use ST (Structured Text) language.
Instructions Reference Manual
(W340)
Indirectly addressing DM words.
Simplifying the program by switching to PLC memory address specification.
Consolidating instruction blocks with the same pattern but different addresses into a single instruction block.
Use FOR(512) and NEXT(513) or
JMP(004) and JME(005).
All words in the DM and EM Areas can be indirectly addressed.
Use Index Registers as pointers to indirectly address data area addresses.
The Index Registers are very useful in combination with loops, increment instructions, and table data processing instructions. The auto-increment, auto-decrement, and offset functions are also supported.
Use function blocks (FBs).
Use MCRO(099).
Instructions Reference Manual
(W340)
Programming
Manual (W394)
CX-Programmer
Operation Manual Function
Blocks (W438)
Instructions Reference Manual
(W340)
57
CS-series Function Tables
Managing the
Cycle Time
Purpose
Reducing the cycle time.
Setting a fixed (minimum) cycle time.
• Variations in I/O response times can be eliminated by suppressing processing variations.
Setting a maximum cycle time.
(Generating an error for a cycle time exceeding the maximum.)
Reducing the I/O response time for particular I/O points.
Receiving input pulses shorter than the cycle time.
Finding the I/O refresh times for
Units
Studying the I/O response times
Finding the increase in cycle time caused by online editing
Using Interrupt
Tasks
Monitoring operating status at regular intervals
• Monitoring operating status at regular intervals.
Performing interrupt processing when an input goes ON.
• Executing processing immediately with an input.
Issuing an interrupt to the CPU when data is received through serial communications.
Executing an emergency interrupt program when the power supply fails.
Studying the interrupt response time
Finding the priority of interrupt tasks
58
Section 1-8
Function
• Use tasks to put parts of the program that don’t need to be executed into “standby” status.
• Use JMP(004) and JME(005) to jump parts of the task that don’t need to be executed.
• Convert parts of the task to subroutines if they are executed only under particular conditions.
• Disable a Unit’s Special I/O Unit refreshing in the PLC Setup if it isn’t necessary to exchange data with that Special I/O Unit every cycle.
• Set sharing index and data registers by all tasks if index and data registers are not being used.
Set a minimum cycle time in the PLC
Setup.
Reference
Programming
Manual (W394)
Set a maximum cycle time (watch cycle time) in the PLC Setup. If the cycle time exceeds this value, the
Cycle Time Too Long Flag (A40108) will be turned ON and PLC operation will be stopped.
Use an I/O interrupt task, immediate refreshing, or IORF(097).
Use a quick-response input on a
Unit with High-speed Inputs or a
High-density I/O Unit (a Special I/O
Unit).
Use a scheduled interrupt task.
Programming
Manual (W394)
and
Programming
Manual (W394)
Use an I/O interrupt task.
Use a Serial Communications Board and external interrupt task or an
ASCII Unit.
Use a power OFF interrupt task.
Enable the power OFF interrupt task in the PLC Setup.
Programming
Manual (W394)
CS-series Function Tables
Data Processing
Purpose
Operating a FIFO or LIFO stack.
Performing basic operations on tables made up of 1-word records.
System
Configuration
Performing complex operations on tables made up of 1-word records.
Performing operations on tables made up of records longer than 1 word.
(For example, the temperature, pressure, and other manufacturing settings for different models of a product could be stored in separate records.)
Monitoring several different kinds of devices through the RS-232C port.
Connecting
Programming
Devices
Changing protocol during operation
(from a modem connection to host link, for example).
Connecting a Programming Console.
Connecting a Programming Device
(e.g., the CX-Programmer).
Connecting a host computer.
Connecting a PT.
Connecting a standard serial device to the CPU Unit (no-protocol mode).
Controlling Outputs
Turning OFF all outputs on basic
Output Units and High-density Output Units (a type of Special I/O Unit).
Maintaining the status of all outputs on Output Units when PLC operation stops (hot start).
Section 1-8
Function
Use the stack instructions
(FIFO(633) and LIFO(634)).
Use range instructions such as
MAX(182), MIN(183), and
SRCH(181).
Use Index Registers as pointers in special instructions.
Use Index Registers and the recordtable instructions (DIM, GETR, etc.)
Reference
Instructions Reference Manual
(W340)
Programming
Manual (W394)
Multiple serial ports can be installed with Serial Communications Units
(protocol macro) and ASCII Units.
Use STUP(237), the CHANGE
SERIAL PORT SETUP instruction.
Instructions Reference Manual
(W340)
Connect to the peripheral port with pin 4 of the CPU Unit’s DIP switch
OFF.
Connect to the peripheral port with pin 4 of the CPU Unit’s DIP switch
OFF or with pin 4 ON and the network type of the CX-Programmer set to the peripheral bus.
Connect to the RS-232C port with pin 5 of the CPU Unit’s DIP switch
ON or with pin 5 OFF and the network type of the CX-Programmer set to the peripheral bus.
Connect to the RS-232C port or peripheral port. (Set the communications mode to “host link” in the
PLC Setup.)
Connect to the RS-232C port or peripheral port. (Set the communications mode to “NT Link” in the
PLC Setup.)
Set the PT communications settings for a 1:N NT Link.
Connect to the RS-232C port.
(Set the communications mode to
“no-protocol” in the PLC Setup.)
Turn ON the Output OFF Bit
(A50015).
Programming
Manual (W394)
Turn ON the IOM Hold BIt (A50012).
59
CS-series Function Tables
Controlling
I/O Memory
Purpose
Maintaining the previous contents of all I/O Memory at the start of PLC operation (hot start).
Maintaining the previous contents of all I/O Memory when the PLC is turned on.
File Memory
Text string processing
Automatically transferring the program, I/O Memory, and PLC Setup from the Memory Card when the
PLC is turned on.
• Easily replacing the program onsite.
• Operating without a battery.
Creating a library of programs for different program arrangements.
Creating a library of parameter settings for various PLC Racks and models.
Creating a library of data files with settings for various PLC Racks, and
CPU Bus Units.
Storing I/O Comment data within the
Memory Card.
Storing operating data (trend and quality data) within the CPU Unit during program execution.
Replacing the program without stopping operation.
Reading and writing I/O memory data with a spreadsheet.
Creating data that can be read with a text editor.
Performing string processing at the
PLC which was performed at the host computer previously and reducing the program load at the host computer (operations such as read, insert, search, replace, and exchange).
Performing string processing operations such as rearranging text strings.
Receiving data from external devices (such as bar code readers) through serial communications, storing the data in DM, and reading just the required string when it is needed.
Section 1-8
Function Reference
Turn ON the IOM Hold BIt (A50012). Programming
Manual (W394)
Turn ON the IOM Hold BIt (A50012) and set the PLC Setup to maintain the status of the IOM Hold Bit at start-up.
(IOM Hold Bit Status at Startup)
Enable the “automatic transfer at start-up” function by turning ON pin
2 of the CPU Unit’s DIP switch and create an AUTOEXEC file.
Programming
Manual (W394)
Memory Card functions (Program
Files)
Memory Card functions (Parameter
Files)
Memory Card functions (Data Files)
Memory Card functions
(Symbol Table Files)
EM File Memory Functions and the
FREAD(700)/FWRIT(701) instructions
Memory Card functions (Program
Replacement during PLC Operation)
Read/write data files using instructions in CSV or text format.
Use the WRITE TEXT FILE instruction (TWRIT(704)).
• Easily replacing the program onsite
• Operating without a battery
Combine the Host Link function with the text string processing instructions.
Instructions Reference Manual
(W340)
Replacing the program without stopping operation.
Use the string comparison instructions and index registers.
Use the WRITE TEXT FILE instruction (TWRIT(704)).
Combine the protocol macro function with the text string processing instructions.
60
CS-series Function Tables
Maintenance and Debugging
Purpose
Changing the program while it is being executed.
Sampling I/O Memory data.
• Periodic sampling
• Sampling once each cycle
• Sampling at specified times
Confirming there are no errors in instruction execution.
Recording the time that power was turned on, the last time that power was interrupted, the number of power interruptions, and the total
PLC on time.
Replacing the program without stopping operation.
Reading the time/date when the user program was changed.
Reading the time/date when the parameter area was changed.
Programming/monitoring the PLC remotely.
• Programming or monitoring a PLC on the network through Host Link.
• Programming or monitoring a PLC through modems.
Programming/monitoring PLCs in other networks
Error Processing and Troubleshooting
Generating a non-fatal or fatal error for user-defined conditions.
• Non-fatal errors (Operation continues.)
• Fatal errors (PLC operation stops.)
• Not recording user-defined alarms and errors in the error log.
Other
Functions
Analyzing time and logic in execution of an instruction block.
Recording the time/date of errors and error details.
Reading recorded error details.
Allocating words in the I/O Area by specifying the first word allocated to
Rack.
Section 1-8
Function
Use the online editing function from a Programming Device.
(Several instruction blocks can be changed with CX-Programmer.)
Reference
Programming
Manual (W394)
Data trace at regular intervals
Data trace at the end of each cycle
Data trace each time that
TRSM(045) is executed
Set the PLC Setup to specify the desired operating mode at start-up.
(Startup Mode)
Read the Auxiliary Area words containing power supply information.
Startup Time: A510 and A511
Power Interruption Time: A512 and
A513
Number of Power Interruptions:
A514
Set the PLC Setup so that instruction errors are treated as fatal errors.
(Instruction Error Operation)
Host Link → Network Gateway function
Host Link through modems
Communicate with PLCs up to 2 network levels away through
Controller Link or Ethernet.
FAILURE ALARM: FAL(006)
SEVERE FAILURE ALARM:
FALS(007)
Set the PLC Setup so that userdefined FAL errors are not recorded in the error log.
FAILURE POINT DETECTION:
FPD(269)
Use the error log function. Up to 20 error records can be stored.
Programming
Manual (W394)
Set the first word allocated to Rack by registering the I/O table from the
CX-Programmer. (Words must be allocated to Racks in the order that the Racks are connected.)
Programming
Manual (W394)
61
CS-series Function Tables
Section 1-8
Purpose
Reducing input chattering and the effects of noise.
Allocating words in the I/O Area freely by specifying the word allocated to a slot.
Function
Specify the input response times for
Basic I/O Units in the PLC Setup.
(Basic I/O Unit Input Response
Time)
Set the first word allocated to a slot by registering the I/O tables from the
CX-Programmer.
Reference
1-8-2 Communications Functions (Serial/Network)
Monitoring from the Host Computer
Purpose
RS-232C or RS-422/485
Host Link communications from the
PLC
Network communications through
RS-232C or RS-422/485
Network Control system
Protocol: Required Equipment
Host Link:
Port in the CPU Unit, Serial Communications Board, or Serial Communications Unit
Enclose a FINS command with a
Host Link header and terminator and issue it from the PLC as a network communications instruction.
Controller Link and Ethernet communications are possible through the
Host Link. (Enclose a FINS command with a Host Link header and terminator and issue it from the PLC as a network communications instruction.)
Controller Link:
Controller Link Unit or Controller Link
Board
Ethernet: Ethernet Unit
Reference
Connecting to a
Standard Serial
Device
Information system
Creating a custom, user-defined protocol
Creating a simple protocol
High-speed data exchange
No protocol
Communicating with a PT
Direct access
Data Link between PLCs
High capacity or free word allocation
Low capacity and fixed word allocation
Data Link between PLC and computer
Message communications between PLCs
Normal or high capacity
Information system
Protocol written in BASIC: ASCII Unit
Protocol Macro:
Serial Communications Board or
Serial Communications Unit
No protocol:
CPU Unit’s RS-232C port, ASCII Unit, or Protocol Macro
NT Link:
Port in the CPU Unit, Serial Communications Board, or Serial Communications Unit
Controller Link: Controller Link Unit
PLC Link: PLC Link Unit
Controller Link:
Controller Link Unit or Controller Link
Board
Controller Link: Controller Link Unit
Ethernet: Ethernet Unit
62
CS-series Function Tables
Message communications between PLC and computer
Purpose
Control system
Information system
High-density I/O Remote I/O between PLC and Slaves
Free word allocation
Multi-vendor capability
Analog I/O capability
Multi-level architecture
High-speed Remote I/O
Remote I/O Slave Rack connection
Section 1-8
Protocol: Required Equipment
Controller Link:
Controller Link Unit or Controller Link
Board
Ethernet: Ethernet Unit
Reference
DeviceNet:
DeviceNet Master Unit and required
Slave Units
CompoBus/S:
CompoBus/S Master Unit and required Slave Units
SYSMAC BUS Wired Remote I/O:
SYSMAC BUS Master Unit and required Slave Units
63
CS1-H Functions Arranged by Purpose
Section 1-9
1-9 CS1-H Functions Arranged by Purpose
Increasing speed
Purpose
Reducing the cycle time and improving communications responsiveness.
• Fast large-scale data exchange with the host is needed even though the PLC program is very large.
• Consistently timed data exchange with
SCADA software is needed.
• Fast message communications and control are required between distributed PLCs.
• It is necessary to minimize the effects on the cycle time of future system expansion or increases in communications.
When using parallel processing mode, it is necessary to maintain concurrency between I/O memory data accessed for instruction execution and from communications (for data larger than one word).
When using parallel processing mode, it is not necessary to maintain concurrency between I/O memory data accessed for instruction execution and from communications (for data larger than one word).
Giving higher priority to communications response than the cycle time. (For example, to give priority to the read/write response of
CPU Unit data from SCADA software for process control).
Function
Use the Parallel Processing Mode with Synchronous Memory
Access or Parallel Processing Mode with Asynchronous Memory Access.
Using parallel processing enables the following savings.
For example, if the program consists of basic instructions with a cycle time of approximately 10 ms and one Ethernet Unit is being used, the cycle time will be reduced to approximately
90% of the time for the normal mode. and the peripheral servicing time will be reduced to approximately 40% of the time for the normal mode.
Use the Parallel Processing Mode with Synchronous Memory
Access.
Use the Parallel Processing Mode with Asynchronous Memory
Access.
Minimizing cycle time fluctuations and maintaining consistent I/O response even when extensive table data and text string data is being processed
Improving data link response with a long cycle time (Controller Link or SYSMAC LINK)
The response of peripheral servicing can be adjusted by using the following modes (listed in order from highest response):
Parallel Processing Mode with Asynchronous Memory Access,
Peripheral Servicing Priority Mode (with a long instruction execution cycle), Parallel Processing Mode with Synchronous
Memory Access, Normal Mode
Table data processing and text string processing, which often require time, can be set in the PLC Setup so that they are processed in the background. The default is for no background execution. (For background execution, time slicing is used to separate processing over several cycles.)
If background execution is used, the effect on the cycle time can be limited to 4% or less (PLC Setup default setting).
The CPU BUS UNIT I/O REFRESH instruction (DLNK(226)) can be used at one or more locations in the ladder program.
This enables refreshing data links for specified Controller Link or SYSMAC LINK Units, whenever necessary, as well as during the I/O refresh period. (The actual data that is refreshed depends on the communications cycle time.)
Improving DeviceNet remote I/O response
Improving the response of protocol macro data transfers for Serial Communications
Units
Immediately refreshing status data and other words allocated to CPU Bus Units in the CIO
Area whenever necessary (including Ethernet Units, Serial Communications Units,
Controller Link Units, etc.)
The CPU BUS UNIT I/O REFRESH instruction (DLNK(226)) can be used in the ladder program. This enables refreshing remote I/O for DeviceNet Units, whenever necessary, as well as during the I/O refresh period. (The actual data that is refreshed depends on the communications cycle time.)
The CPU BUS UNIT I/O REFRESH instruction (DLNK(226)) can be used at one or more locations in the ladder program.
This enables refreshing data transferred for protocol macros executed by Serial Communications Units, whenever necessary, as well as during the I/O refresh period. (The actual data that is refreshed depends on the communications cycle time.)
The CPU BUS UNIT I/O REFRESH instruction (DLNK(226)) can be used at one or more locations in the ladder program.
This enables refreshing words allocated to CPU Bus Units in the CIO Area (25 words) whenever necessary, in the same way that the IORF instruction is used for other Units.
64
CS1-H Functions Arranged by Purpose
Section 1-9
Increasing structure
Special applications
Purpose
Using more tasks
Function
Define interrupt tasks as cyclic tasks (called “extra cyclic tasks”).
Use shared index and data registers.
Reducing the cycle time even with structured programs using many tasks
Using the same index or data registers in different tasks without saving and loading register contents
Initializing processing when a task is started Use the Task Start Flags.
Using standard processing shared by more than one task
Use a global subroutine (GSBN to GRET) in interrupt task number 0.
User function blocks (FBs).
Standardization and program structure based on subroutines
Protecting programs so that other people cannot read them
Increase speed using subroutine instructions (SBS, SBN, and
RET) and global subroutine instructions (GSBS, GSBN, and
GRET)
Read protection for entire program
Task read protection
Displaying floating-point decimal data on a
PT
Using text string data from measurement devices in calculations
Function block protection
Use the FLOATING- POINT TO ASCII instruction (FSTR(448)).
Use function blocks (FBs).
Use the ASCII TO FLOATING-POINT instruction (FVAL(449)).
Use function blocks (FBs).
Use the Double-precision Floating-point instructions.
Performing high-precision positioning, e.g., for XY tables
Managing information on workpieces flowing on a conveyer in realtime in table form, e.g., when workpieces are added or removed from the conveyor during processing
Performing high-precision linear approximations, e.g., converting a level meter reading in mm to a capacity value in liters according to the shape of a tank
Use the stack instructions.
STACK DATA READ, STACK DATA OVERWRITE, STACK DATA
INSERT, and STACK DATA DELETE (Operate on a specified element in the stack.)
STACK SIZE READ (Counts the number of elements in the stack.)
Use the ARITHMETIC PROCESS instruction (unsigned 16-bit binary/BCD data, signed 16/32-bit binary data, or single-precision floating-point data can be used for line data).
Autotuning PID constants (particularly to automatically tune PID constants and start the system faster when using multiloop PID)
Saving and loading execution results (e.g., from comparison instructions) at different locations in a task or in different tasks
Using a CVM1/CV-series program containing real I/O memory addresses in a CS-series
CPU Unit
Using I/O memory tables containing
CVM1/CV-series real I/O memory addresses
(e.g., to return the data to a CVM1/CV-series
CPU Unit after processing by the CS-series
CPU Unit).
Disabling power interruptions during specific regions of the program
Use the PID CONTROL WITH AUTO TUNING instruction.
Use the SAVE CONDITION FLAGS (CCS) and LOAD CONDI-
TION FLAGS (CCL) instructions to save the current status of the Condition Flags or load the previous status.
Use the CONVERT ADDRESS FROM CV (FRMCV) instruction.
Use the CONVERT ADDRESS TO CV (TOCV) instruction.
Create program sections for which power interrupts have been disabled with the DI and EI instructions (set A530 to A5A5 hex).
65
Comparison of CS-series PLCs and C200HX/HG/HE Operation
Section 1-10
Debugging and maintenance
Purpose
Simulating errors in the CPU Unit when debugging the system, e.g., to check error messages displayed on a PT
Backing up CPU Unit data and internal from other Units, such as DeviceNet Units and
Serial Communications Units/Boards.
Finding errors occurring when creating I/O tables
Function
Use FAL/FALS to simulate fatal and nonfatal system errors.
Use the simple backup operation, which includes data from specific Units/Boards.
Reference the I/O Table Error Flags in A261.
Using battery-free operation (ROM operation) without a Memory Card
Starting CPU Unit operation without waiting for Units/Boards with comparatively long power-ON startup times to complete startup processing.
Use the automatic program/parameter area backup function to flash memory in the CPU Unit.
Use the startup condition settings (allowing the CPU Unit to startup immediately in RUN or MONITOR mode even when startup processing has not been completed for other
Units/Boards).
1-10 Comparison of CS-series PLCs and C200HX/HG/HE
Operation
Program
Structure
I/O allocation
Operation of the CS-series PLCs differs from that of the C200HX/HG/HE
PLCs in several basic points, which are outlined in the following table. Refer to
Appendix A PLC Comparison in the CS/CJ Series Programming Manual
(W394) for differences between the CJ-series, CS-series, C200HX/HG/HE,
CQM1H, and CV-series PLCs.
Item
Single program vs. multiple tasks
I/O Table Registration is supported in
CS-series PLCs.
C200HX/HG/HE PLCs
The program is executed as a single unit each cycle.
Interrupt programs are executed as subroutines with subroutine numbers 00 to 15 (I/O interrupts) and 99
(scheduled interrupt).
Both I/O interrupt (up to 16) and scheduled interrupt (just 1) programs are supported.
I/O allocation is determined solely by the slot location of Basic I/O
Units and the unit number settings on Special I/O Units. IR Area words are automatically allocated to I/O
Units and Special I/O Units without performing the I/O Table Registration operation.
(The I/O Table Registration operation is used to prevent Units from being installed in the wrong slots.)
CS-series PLCs
In CS-series PLCs, the program is divided into tasks (cyclic tasks) that are executed in order when they are enabled. Interrupt programs are also entered as tasks (interrupt tasks).
The operation of a CS-series PLC is the same as a C200HX/HG/HE PLC when just one cyclic task (or extra cyclic task) is enabled.
CS-series PLCs support up to 32 cyclic tasks,
32 I/O interrupt tasks, 2 scheduled interrupt tasks, 1 power OFF interrupt task, and 256 external interrupt tasks.
With the CS1-H CPU Units, up to 255 interrupt tasks can be defined as cyclic tasks (called
“extra cyclic tasks’). Thus, up to 288 extra cyclic tasks can be created (including normal cyclic tasks and extra cyclic tasks).
In CS-series PLCs, word allocation doesn’t depend only on slot position, and it isn’t necessary to allocate words to an empty slot. If a Unit requires several words, those words can be allocated.
When a CS-series PLC is being used, the I/O
Table Registration operation must be executed.
If it isn’t executed, the CPU Unit won’t recognize each Basic I/O Unit, Special I/O Unit, and CSseries CPU Bus Unit that has been installed.
66
Comparison of CS-series PLCs and C200HX/HG/HE Operation
Section 1-10
Item
Data Areas CIO
Area
I/O Area
C200HX/HG/HE PLCs
IR 000 to IR 029,
IR 300 to IR 309
(Unlike the CS Series, word allocation is fixed.)
CS-series PLCs
CIO 0000 to CIO 0319 (CIO 0000 to CIO 0999 can be set if the first word on the Rack is set.)
(Unlike the C200HX/HG/HE PLCs, word allocation is flexible.)
None
(These words are allocated in the I/O Area.)
C200H
Group-2
High-density I/O Unit and B7A
Interface
Unit Area
IR 030 to IR 049,
IR 330 to IR 341
(These words are allocated to
C200H Group-2 High-density I/O
Units.)
Special I/O
Unit Area
DeviceNet
Area and
SYSMAC
BUS Area
IR 100 to IR 199,
IR 400 to IR 459
IR 050 to IR 099
IR 350 to IR 399
(Can be used as the DeviceNet
Area or SYSMAC BUS Area, but not both.)
SR 247 to SR 250 (in SR Area) PLC Link
Words
Optical I/O
Unit and I/O
Terminal
Area
Work/Internal I/O Area
Optical I/O Unit and I/O Terminal
Area: IR 200 to IR 231
Work Areas:
IR 310 to IR 329, IR 342 to IR 349, and IR 460 to IR 511
CIO 2000 to CIO 2959
DeviceNet Area:
CIO 0050 to CIO 0099,
CIO 0350 to CIO 0399
SYSMAC BUS Area:
CIO 3000 to CIO 3079
CIO 0247 to CIO 0250 and A442
I/O Terminal Area:
CIO 3100 to CIO 3131
Work Area (WR) None
Internal I/O Area:
CIO 1200 to CIO 1499
CIO 3800 to CIO 6143
Work Area: W000 to W511
(No new functions will be assigned to this area in future CPU versions; this area has been set aside for use as work words and bits.)
TR 00 to TR 15 Temporary Relay
Area (TR)
Holding Relay Area
(HR)
Special Relay Area
(SR)
TR 00 to TR 07
HR 00 to HR 99
Auxiliary Relay
Area (AR)
Link Relay Area
(LR)
DM Area
Special Relay Area:
SR 236 to SR 255,
SR 256 to SR 299
Auxiliary Relay Area:
AR 00 to AR 27
Link Relay Area: LR 00 to LR 63
H 000 to H 511
Auxiliary Area:
A 000 to A 959
Link Area: CIO 1000 to CIO 1199
DM 0000 to DM 6143 (Normal DM):
Words in this range can be read and written by instructions and Programming Devices, although DM 6000 to
DM 6030 are used for the Error Log and DM 1000 to DM 2599 are used by Special I/O Units.
DM 6144 to DM 6655 (Fixed DM):
Words in this range are read-only for instructions and can be read or written by Programming Devices.
DM 6550 to DM 6559 and DM 6600 to DM 6655 are used for the PLC
Setup. The Programming Console can be used to convert up to 3,000 words from the user program area
(UM) to Fixed DM words (DM 7000 to DM 9999).
D00000 to D32767
D20000 to D29599 are used by Special I/O
Units, D30000 to D31599 are used by CS-series
CPU Bus Units, and D32000 to D32099 are used by Inner Boards.
The Error Log is stored in A100 to A199 and the
PLC Setup is stored in the Parameter Area (not a part of I/O Memory).
67
Comparison of CS-series PLCs and C200HX/HG/HE Operation
Section 1-10
Data
Areas, continued
Flags and
Clock
Pulses
PLC Setup
Instruction variations
Item
EM Area
Timer Area
Counter Area
Task Flag Area
Index Registers
Data Registers
Arithmetic Flags
(such as ER, EQ, and CY)
Clock pulses
C200HX/HG/HE:
DM Area
CS: Special Area
Up-differentiation
Down-differentiation
Immediate refreshing
C200HX/HG/HE PLCs
EM 0000 to EM 6143
(3 banks max., 16 banks max. for
ZE-version PLCs)
Basically, those EM Area instructions access the current bank, which can be changed.
Timer/Counter Area:
T/C 000 to T/C 511
(Timers and counters share the same numbers.)
None
None
None
Part of the SR Area
CS-series PLCs
E00000 to E32767
(13 banks max.)
Regular instructions can access data in the current bank or any other bank.
Part of the EM Area can be converted for use as file memory.
T0000 to T4095
C0000 to C4095
(Timer and counter numbers are independent.)
TK00 to TK31
IR0 to IR15
DR0 to DR15
Condition Flags:
In the CS Series, these Flags are in a separate area and are specified by labels rather than addresses. With the CX-Programmer, these are specified using global symbols, such as “P_ER” and “P_EQ.” With a Programming Console, they are specified using “ER,” “=,” etc.
Part of the SR Area
The PLC Setup is stored in the DM
Area (DM 6550 to DM 6559 and
DM 6600 to DM 6655), so PLC
Setup settings are made directly by specifying DM addresses.
Supported
Supported
Not supported
Clock Pulses:
In the CS-series PLCs these pulses are in a separate area and are specified by labels such as “P_1s” and “P_0_1s” rather than addresses.
In the CS Series, the PLC Setup isn’t stored in the DM Area, but a separate area (the Parameter Area) which isn’t a part of I/O memory. The
PLC Setup is edited with CX-Programmer in a table format and user-friendly dialogue. Individual PLC Setup addresses can also be edited with a Programming Console.
Supported
Including LD NOT, AND NOT, and OR NOT for
CS1-H CPU Units.
Supported for LD, AND, OR, RSET, and SET
Including LD NOT, AND NOT, and OR NOT for
CS1-H CPU Units.
Supported for LD, LD NOT, AND, AND NOT, OR,
OR NOT, OUT, OUT NOT, RSET, SET, KEEP,
DIFU, DIFD, CMP, CPS, and MOV
Supported for LD, LD NOT, AND, AND NOT, OR,
OR NOT, RSET, SET, and MOV
Up-differentiation and immediate refreshing
Down-differentiation and immediate refreshing
Not supported
Not supported
Instruction operand data format Basically operands are specified in
BCD. In XFER(070), for example, the number of words is specified in
BCD (0001 to 9999).
Specifying operands requiring multiple words
If an operand requiring multiple words is specified at the end of an area so that there are not enough words left in the area for the operand, the instruction will not be executed and the Error Flag will turn
ON.
Supported for LD, LD NOT, AND, AND NOT, OR,
OR NOT, RSET, and SET
Basically operands are specified in binary. In
XFER(070), for example, the number of words is specified in binary (0001 to FFFF or 1 to 65,535 decimal).
If an operand requiring multiple words is specified at the end of an area so that there are not enough words left in the area for the operand, the instruction can be executed and the Error
Flag will not turn ON. The program, however, is checked when transferred from the CX-Programmer to the CPU Unit and cannot be transferred with incorrect operand specifications.
Such programs also cannot be read from the
CPU Unit.
68
Comparison of CS-series PLCs and C200HX/HG/HE Operation
Section 1-10
Item
Instructions Sequence Input
C200HX/HG/HE PLCs
Up and down-differentiated versions of LD, AND, and OR are not supported.
TST and TSTN not supported.
Sequence Output SETA and RSTA not supported.
CS-series PLCs
Up and down-differentiated versions of LD, AND, and OR are supported.
TST and TSTN supported.
Sequence Control CJP and CJPN not supported.
Timer/Counter TIML, MTIM, TMHH, and CNR not supported.
Comparison
Data Movement
Data Shift
Increment/Decrement
Symbol Math
Conversion
Logic
Special Math
Input Comparison Instructions not supported.
MOVL, MVNL, and XCGL not supported.
NSFL/NSFR, NASL/NASR,
NSLL/NSRL, ASLL/ASRL,
ROLL/RORL, RLNC/RRNC, and
RLNL/RRNL not supported.
++, ++L, – –, – –L, ++BL, and – –BL not supported.
The same in both series.
SIGN, BINS, BCDS, BISL, and
BDSL not supported.
ANDL, ORWL, XORL, XNRL, and
COML not supported.
ROTB not supported.
Floating-point Math Not supported.
SETA and RSTA supported.
With the CS1-H CPU Units, bit addresses can be specified in the DM and EM areas using
OUT, SET, and RSET.
CJP and CJPN supported.
TIML, MTIM, TMHH, and CNTR supported.
Input Comparison Instructions supported. ZCP and ZCPL supported for CS1-H CPU Units.
MOVL, MVNL, and XCGL supported.
NSFL/NSFR, NASL/NASR, NSLL/NSRL,
ASLL/ASRL, ROLL/RORL, RLNC/RRNC, and
RLNL/RRNL supported.
ASFT can be executed in the background for
CS1-H CPU Units.
++, ++L, – –, – –L, ++BL, and – –BL supported.
SIGN, BINS, BCDS, BISL, and BDSL supported.
ANDL, ORWL, XORL, XNRL, and COML supported.
ROTB supported.
SAVE CONDITION FLAGS (CCS) and LOAD
CONDITION FLAGS (CCL) supported by CS1-
H CPU Units.
Supported.
Floating-point math, floating-point to/from ASCII conversions, and double-precision floating-point math supported by CS1-H CPU Units.
Table Data Processing
Data Control
Subroutines
Interrupt Control
SSET, PUSH, LIFO, and FIFO not supported.
SCL2 and SCL3 not supported.
The same in both series.
Interrupts controlled using one instruction (INT).
SSET, PUSH, LIFO, and FIFO supported.
Stack insertions/deletions/replacements and stack counts supported by CS1-H CPU Units.
Background execution of SRCH, SWAP, MAX,
MIN, SUM, and FCS supported by CS1-H CPU
Units.
SCL2 and SCL3 supported.
PID with autotuning supported by CS1-H CPU
Units.
Global subroutines (GSBS, GSBN, and GRET) supported by CS1-H CPU Units.
Interrupts controlled using CLI, MSKS, and
MSKR.
69
Comparison of CS-series PLCs and C200HX/HG/HE Operation
Section 1-10
Instructions, continued
Item
Step
I/O Units
Network
File Memory
Display
C200HX/HG/HE PLCs
TKY, HKY, DSW, and CMCR supported.
CS-series PLCs
The same in both series, although the specified control bit must be in the WR Area in
CS-series PLCs.
TKY, HKY, DSW, and CMCR not supported.
CPU BUS UNIT I/O REFRESH (DLNK(226)) supported by CS1-H CPU Units.
CMND not supported.
Not supported.
LMSG (32-character message display) supported.
CMND supported.
Supported.
MSG (32-character message display) available, but only 16 characters displayed on a Programming Console.
Clock CADD, CSUB, and DATE not supported.
Debugging The same in both series.
Failure Diagnosis The same in both series.
CADD, CSUB, and DATE supported.
Special
Block Programming Not supported.
Text String Processing
Task Control
I/O Comment storage
Battery installation
XDMR and IEMS supported.
Not supported.
Not supported.
A Programming Device can be used to divide the UM Area (user program memory area) into a program area,
I/O comment area, and Expansion
DM area. I/O comments can be stored in that I/O comment area.
A battery is installed in the CPU Unit when it is shipped from the factory.
Not storing user-defined FAL errors in the error log supported by CS1-H CPU Units.
FAL/FALS error simulation supported by CS1-H
CPU Units.
SCAN not available
Supported.
Supported.
Background execution supported by CS1-H
CPU Units.
Supported.
In the CS-series PLCs, I/O comments can be stored in Memory Cards or EM file memory as variable files.
Clock function
Memory
Cards and
Memory
Cassettes
I/O Memory
The internal clock is set when the
PLC is shipped from the factory.
All of I/O Memory can be saved to an EEPROM Memory Cassette by turning ON a control bit in the SR
Area. A Programming Device (other than a Programming Console) can be used to read the data back from the Memory Cassette.
The battery is not installed when a CS1 CPU
Unit is shipped from the factory. Install the provided battery before using the PLC.
A battery is installed in a CS1-H CPU Unit when it is shipped from the factory, the same as it is for a C200HX/HG/HE CPU Unit.
When the battery is installed in a CS1 CPU Unit, the clock will begin from an arbitrary value. Set the clock with a Programming Device or the
DATE(735) instruction.
The internal clock is set when a CS1-H CPU
Unit is shipped from the factory, the same as it is for a C200HX/HG/HE CPU Unit.
Any range of I/O Memory can be saved as a file in a Memory Card (flash ROM) or EM file memory with a Programming Device (including Programming Consoles) or the instruction provided for this operation. (With the -EV1 or higher CS1
CPU Units and all CS1-H CPU Units, these files can also be saved in CSV or text format.) A Programming Device or instruction can be used to read the data from file memory. These operations can also be performed with FINS commands.
70
Comparison of CS-series PLCs and C200HX/HG/HE Operation
Section 1-10
Memory
Cards and
Memory
Cassettes
Serial communications
(peripheral port or RS-
232C ports)
Item
User program
Mode Peripheral port
RS-232C port
Baud rate
Peripheral port
RS-232C port
Interrupt control modes
C200HX/HG/HE PLCs
The entire program can be saved to an EEPROM Memory Cassette by turning ON a control bit in the SR
Area. A Programming Device (other than a Programming Console) can be used to read the data back from the Memory Cassette.
A standard EPROM Writer can be used to save the entire program to an EPROM Memory Cassette. A
Programming Device can be used to read the data back from the Memory
Cassette.
The PLC can be set to automatically read the entire program from the
Memory Cassette (EEPROM or
EPROM) when the PLC is turned on.
Host link, customer (Programming
Console and peripheral bus are automatically recognized.)
CS-series PLCs
The entire program can be saved as a file in a
Memory Card (flash ROM) or EM file memory with a Programming Device (including Programming Consoles) or the instruction provided for this operation. A Programming Device or instruction can be used to read the program back from file memory.
These operations can also be performed with
FINS commands.
The PLC can be set to automatically read the entire program from the Memory Card when the
PLC is turned on.
With the -EV1 or higher, it is also possible to read (i.e., replace) the entire user program from the Memory Card during PLC operation.
Host Link, peripheral bus, NT Link (1:N), (Programming Console is automatically recognized.)
Custom protocols are not possible for the peripheral port.
Host Link, NT Link (1:1), NT Link
(1:N), custom, 1:1 link master, 1:1 link slave
2,400/4,800/9,600/19,200 bps
There are two interrupt modes in
C200HX/HG/HE PLCs: normal interrupt mode and high-speed interrupt mode.
Normal Interrupt Mode:
In this mode, the interrupt is not executed until the current process (Host
Link servicing, Remote I/O servicing, Special I/O Unit servicing, or execution of an instruction) is completed.
High-speed Interrupt Mode:
In this mode, the interrupt stops the current process (Host Link servicing, Remote I/O servicing, Special
I/O Unit servicing, or execution of an instruction) and executes the interrupt immediately.
Host Link, peripheral bus, NT Link (1:N), custom
1:1 links and Programming Console are not supported for the RS-232C port.
300/600/1,200/2,400/4,800/9,600/
19,200/38,400/57,600/115,200 bps
Baud rates of 38,400/57,600/ 115,200 bps are not standard for RS-232C. Your computer may not support these speeds. Use slower baud rates if necessary.
CS-series PLCs operate in high-speed interrupt mode only. If an interrupt occurs during peripheral servicing, I/O refreshing, or execution of an instruction, that process will be stopped immediately and the task will be executed instead.
With CS1-H CPU Units, interrupt processing will also wait for completion of the BLOCK TRANS-
FER (XFER), BLOCK SET (BSET), and BIT
COUNTER (BCNT) instructions.
71
Checking the Package
Section 1-11
Item
CPU processing mode
Startup mode
C200HX/HG/HE PLCs
Normal Mode only (including instruction execution followed by I/O refreshing and peripheral servicing)
Peripheral servicing include servicing the RS-232C port, Host Link, peripheral bus, and Communications Units (e.g., Controller Link
Units).
CS-series PLCs
CS1 CPU Units: Normal Mode or Peripheral
Servicing Priority Mode
CS1-H CPU Units: Normal Mode, Parallel Processing Mode with Asynchronous Memory
Access, Parallel Processing Mode with Synchronous Memory Access, or Peripheral Servicing
Priority Mode (Parallel processing executes peripheral servicing in parallel with instruction execution and I/O refreshing.)
RUN mode was entered if the Startup Mode was set in the PLC Setup to 00: Switch Setting on Programming Console and the CPU Unit was started without a Programming Console connected.
A CS1 CPU Unit will start in PROGRAM mode if the Startup Mode is set in the PLC Setup to
PRCH: Switch Setting on Programming Console
(default setting) and the CPU Unit is started without a Programming Console connected.
A CS1-H CPU Unit will start in RUN mode under the same conditions.
1-11 Checking the Package
Check to be sure that the CPU Unit and Battery Unit are in good shape without any damage.
CS1-H CPU Units
CS1 CPU Units
CPU Unit
Note The CS1W-BAT01 will already be installed in the CPU Unit.
One CS1W-BAT01 Battery is packed separately in the same container.
CPU Unit
Note The Battery Set is required to backup the user program in the RAM memory, the contents of the PLC Setup, the I/O memory holding areas, etc., when the power supply is turned OFF.
72
Initial Setup for CS1 CPU Units
Section 1-12
1-12 Initial Setup for CS1 CPU Units
Before using a CS1 CPU Unit, you must install the Battery Set in the CPU Unit using the following procedure.
Note A Battery is installed to a CS1-H CPU Unit when it is shipped from the factory.
There is no need to clear memory or set the time.
Battery Installation
1,2,3...
1.
Insert a flat-blade screwdriver in the small gap at the bottom of the battery compartment and flip the cover upward to open it.
73
Initial Setup for CS1 CPU Units
Section 1-12
2.
Hold the Battery Set with the cable facing outward and insert it into the battery compartment.
Battery compartment
74
3.
Connect the battery connector to the battery connector terminals. Connect the red wire to the top and the black wire to the bottom terminal. There are two sets of battery connector terminals; connect the battery to either one.
It does not matter whether the top terminals or bottom terminals are used.
Red
Black
Battery connector terminals
(Connect to either set of terminals.)
4.
Fold in the cable and close the cover.
Initial Setup for CS1 CPU Units
Section 1-12
Clearing Memory
Initial display
After installing the battery, clear memory using the memory clear operation to initialize the RAM inside the CS1 CPU Unit.
Programming Console
Use the following procedure from a Programming Console.
SET NOT RESET MON 0 0
(or 1 ) MON
Clearing Errors
Note You cannot specify more than one cyclic task when clearing memory from a
Programming Console. You can specify one cyclic task and one interrupt task, or one cyclic task and no interrupt task. Refer to
mation on the memory clear operation. Refer to SECTION 6 DIP Switch Set-
tings and SECTION 11 Troubleshooting for more information on tasks.
CX-Programmer
Memory can also be cleared from the CX-Programmer. Refer to the CX-Pro-
grammer Operation Manual for the actual procedure.
After clearing memory, clear any errors from the CPU Unit, including the low battery voltage error.
Programming Console
Use the following procedure from a Programming Console.
Initial display
FUN MON MON
(Displayed error will be cleared.)
MON
(Returns to the initial display.)
CX-Programmer
Errors can also be cleared from the CX-Programmer. Refer to the CX-Pro-
grammer Operation Manual for the actual procedure.
Note When an Inner Board is mounted, an Inner Board routing table error may continue even after you have cancelled the error using the CX-Programmer.
(A42407 will be ON for a Serial Communications Board.) If this occurs, either reset the power or restart the Inner Board, then cancel the error again.
75
Using the Internal Clock
Section 1-13
1-13 Using the Internal Clock
The internal clock of a CS1 CPU Unit is set to “00 year, 01 month, 01 day (00-
01-01), 00 hours, 00 minutes, 00 seconds (00:00:00), and Sunday (SUN)” when the Battery Set is mounted in the CPU Unit.
When using the internal clock, turn ON the power supply after mounting the
Battery Set and 1) use a Programming Device (Programming Console or CX-
Programmer) to set the clock time, 2) execute the CLOCK ADJUSTMENT
(DATE) instruction, or 3) send a FINS command to start the internal clock from the correct current time and date.
The Programming Console operation used to set the internal clock is shown below.
Key Sequence
Initial display FUN SHIFT MON 0 CHG
↑
Data
WRITE
↓
Specify: Yr Mo Day Hr Min S
76
SECTION 2
Specifications and System Configuration
This section provides tables of standard models, Unit specifications, system configurations, and a comparison between different Units.
2-1-1 CPU Unit Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-2 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-2 CS-series CPU Unit Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-4 Data Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-1 Basic System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-3 Expansion Racks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-4 SYSMAC BUS Slave Racks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-4-3 CS-series CPU Bus Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-5-1 Serial Communications System . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-5-3 Communications Network System . . . . . . . . . . . . . . . . . . . . . . . . . .
2-6-1 CPU Racks and Expansion Racks . . . . . . . . . . . . . . . . . . . . . . . . . .
2-6-2 SYSMAC BUS Remote I/O Slave Racks . . . . . . . . . . . . . . . . . . . . .
2-6-3 Example Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-6-4 Current Consumption Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-7 CPU Bus Unit Setting Area Capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-7-1 System Setting Allocations to CPU Bus Units . . . . . . . . . . . . . . . . .
2-8-1 CS-series Basic I/O Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-8-2 CS-series Special I/O Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-8-3 C200H Special I/O Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-8-4 CS-series CPU Bus Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
77
Specifications
Section 2-1
2-1 Specifications
2-1-1 CPU Unit Specifications
CPU Unit Comparison
CS1-H CPU Units
I/O bits
Function blocks
CPU
User program memory (steps)
Data memory
Extended data memory
CS1H-
CPU67H
5120
250K
CS1H-
CPU66H
120K
Maximum No. of definitions
1024
Maximum No. of instances
2048
32K words
32K words x 13 banks
E0_00000 to
EC_32767
32K words x 7 banks
E0_00000 to
E6_32767
1024
2048
CS1H-
CPU65H
60K
32K words x 3 banks
E0_00000 to
E2_32767
1024
2048
CS1H-
CPU64H
30K
CS1H-
CPU63H
20K
32K words x 1 bank
E0_00000 to E0_32767
1024
2048
128
256
CS1G-
CPU45H
60K
32K words x 3 banks
E0_00000 to
E2_32767
1024
2048
CS1G-
CPU44H
1280
30K
CS1G-
CPU43H
960
20K
32K words x 1 bank
E0_00000 to E0_32767
1024
2048
128
256
CS1G-
CPU42H
10K
128
256
Flash memory
(Unit version
4.0 or
later
(See note.))
Total
(Kbytes) for FB program memory, comment files, program index files, and symbol tables
2048
Current consumption
2048
0.82 A at 5 V DC
Connector
(provided)
1280 1280 1280 1280 704
0.78 A at 5 V DC
704
One RS-232C Connector (Plug: XM2A-0901, Hood: XM2S-0911-E) provided with CPU Unit as standard
704
Note The values displayed in the table are valid when a CPU Unit with unit version
4 or later is combined with CX-Programmer 7.0 or higher.
The following table shows the flash memory capacities for CPU Units with unit version 3.
CPU
Flash memory
(unit version 3)
FB program memory (Kbytes)
Comment files
(Kbytes)
Program index files (Kbytes)
Symbol tables
(Kbytes)
CS1H-
CPU67H
1664
128
128
128
CS1H-
CPU66H
1664
CS1H-
CPU65H
1024
CS1H-
CPU64H
512
CS1H-
CPU63H
512
CS1G-
CPU45H
1024
128
128
128
64
64
128
64
64
64
64
64
64
64
64
128
CS1G-
CPU44H
512
CS1G-
CPU43H
512
CS1G-
CPU42H
512
64
64
64
64
64
64
64
64
64
Earlier CPU Units (unit version 2 or earlier) are not equipped with the function that stores data such as comment files in flash memory.
78
Specifications
Section 2-1
CS1 CPU Units
CPU
I/O bits
User program memory
(steps)
(See note.)
Data memory
Extended data memory
CS1H-
CPU67-
EV1
5120
250K
32K words
CS1H-
CPU66-
EV1
120K
CS1H-
CPU65-
60K
EV1
CS1H-
CPU64-
30K
EV1
CS1H-
CPU63-
20K
EV1
CS1G-
CPU45-
60K
EV1
CS1G-
CPU44-
30K
EV1
1280
CS1G-
CPU43-
960
20K
EV1
Current consumption
Connector
(provided)
32K words x 13 banks
E0_00000 to
EC_32767
1.10 A at 5 V DC
32K words x 7 banks
E0_00000 to
E6_32767
32K words x 3 banks
E0_00000 to
E2_32767
32K words x 1 bank
E0_00000 to
E0_32767
Not supported
32K words x 3 banks
E0_00000 to
E2_32767
32K words x 1 bank
E0_00000 to
E0_32767
0.95 A at 5 V DC
Not supported
One RS-232C Connector (Plug: XM2A-0901, Hood: XM2S-0911-E) provided with CPU Unit as standard
CS1G-
CPU42-
EV1
10K
Not supported
Note The number of steps in a program is not the same as the number of instructions. For example, LD and OUT require 1 step each, but MOV(021) requires
3 steps. The program capacity indicates the total number of steps for all
instructions in the program. Refer to 10-5 Instruction Execution Times and
Number of Steps for the number of steps required for each instruction.
Common Specifications
Item
Control method
I/O control method
Programming
CPU processing mode
Instruction length
Ladder instructions
Execution time
Overhead processing time
Specification
Stored program
Cyclic scan and immediate processing are both possible.
• Ladder diagrams
• SFC (sequential function charts)
• ST (structured text)
• Mnemonics
CS1-H CPU Units: Normal Mode, Parallel Processing Mode with Asynchronous Memory Access, Parallel Processing
Mode with Synchronous Memory Access, or Peripheral Servicing Priority Mode
CS1 CPU Units, Pre-version: Normal Mode only
CS1 CPU Units, Version 1 or higher: Normal Mode or Peripheral Servicing Priority Mode
1 to 7 steps per instruction
Approx. 400 (3-digit function codes)
CS1-H CPU Units:
Basic instructions: 0.02 µs min.
Special instructions: 0.06 µs min.
CS1 CPU Units:
Basic instructions: 0.04 µs min.
Special instructions: 0.12 µs min.
CS1-H CPU Units:
Normal mode: 0.3 ms min.
Parallel processing: 0.2 ms min.
CS1 CPU Units:
0.5 ms min.
---
---
---
---
---
Reference
Steps and number of steps per instruction:
10-5 Instruction Execution Times and Number of Steps
---
Instruction execution
79
Specifications
Section 2-1
only)
Item
Number of tasks
Interrupt types
Calling subroutines from more than one task
Function blocks (CPU Units with unit version 3.0 or later
Specification
Number of Expansion Racks 7 max. (C200H Expansion I/O Racks: 3 max.)
288 (cyclic tasks: 32, interrupt tasks: 256)
Note Cyclic tasks are executed each cycle and are controlled with TKON(820) and TKOF(821) instructions.
Note The following 4 types of interrupt tasks are supported.
Power OFF interrupt tasks: 1 max.
Scheduled interrupt tasks: 2 max.
I/O interrupt tasks: 32 max.
External interrupt tasks: 256 max.
Scheduled Interrupts:
Interrupts generated at a time scheduled by the CPU Unit’s built-in timer.
I/O Interrupts:
Interrupts from Interrupt Input Units.
Power OFF Interrupts:
Interrupts executed when the CPU Unit’s power is turned
OFF.
External I/O Interrupts:
Interrupts from the Special I/O Units, CS-series CPU Bus
Units, or the Inner Board.
CS1-H CPU Units: Supported.
CS1 CPU Units: Not supported
Languages in function block definitions: ladder programming, structured text
Expansion Racks:
Tasks:
Reference
Programming Manual
(W394): 1-4 Programs and Tasks
Programming Manual
(W394): Section 4:
Tasks
CX-Programmer Ver.
7.
@ CS/CJ Series
Operation Manual
Function Blocks (W447)
80
Specifications
Section 2-1
CIO
(Core
I/O)
Area
Item
I/O Area
C200H DeviceNet
Area
PLC Link Area
Link Area
CPU Bus Unit Area
Specification
5,120: CIO 000000 to CIO 031915 (320 words from CIO
0000 to CIO 0319)
The setting of the first word can be changed from the default
(CIO 0000) so that CIO 0000 to CIO 0999 can be used.
Reference
Input and output
I/O bits are allocated to Basic I/O Units, such as CS-series
Basic I/O Units, C200H Basic I/O Units, and C200H Group-2
High-density I/O Units.
1,600 (100 words):
Outputs: CIO 005000 to CIO 009915 (words CIO 0050 to
CIO 0099)
Inputs: CIO 035000 to CIO 039915 (words CIO 0350 to
CIO 0399)
C200H DeviceNet Area bits are allocated to Slaves according to C200HW-CRW21-V1 DeviceNet Unit remote I/O communications.
80 bits (5 words): CIO 024700 to CIO 025015 (words
CIO 0247 to CIO 0250 and CIO A442)
When a PLC Link Unit is used in a PLC Link, use these bits to monitor PLC Link errors and the operating status of other
CPU Units in the PLC Link.
The CIO
Area can be used as work bits if the bits are not used as shown here.
3,200 (200 words): CIO 10000 to CIO 119915 (words CIO
1000 to CIO 1199)
Link bits are used for data links and are allocated to Units in
Controller Link Systems and PLC Link Systems.
6,400 (400 words): CIO 150000 to CIO 189915 (words CIO
1500 to CIO 1899)
CS-series CPU Bus Unit bits store the operating status of
CS-series CPU Bus Units.
(25 words per Unit, 16 Units max.)
Special I/O Unit Area 15,360 (960 words): CIO 200000 to CIO 295915 (words CIO
2000 to CIO 2959)
Special I/O Unit bits are allocated to CS-series Special I/O
Units and C200H Special I/O Units. (See Note.)
(10 words per Unit, 96 Units max.)
Inner Board Area
SYSMAC BUS Area
I/O Terminal Area
Note Special I/O Units are I/O Units that belong to a special group called “Special I/O Units.” Examples: C200H-
ID215/0D215/MD215
1,600 (100 words): CIO 190000 to CIO 199915 (words CIO
1900 to CIO 1999)
Inner Board bits are allocated to Inner Boards. (100 I/O words max.)
1,280 (80 words): CIO 300000 to CIO 307915 (words CIO
3000 to CIO 3079)
SYSMAC BUS bits are allocated to Slave Racks connected to SYSMAC BUS Remote I/O Master Units. (10 words per
Rack, 8 Racks max.)
512 (32 words): CIO 310000 to CIO 313115 (words CIO 3100 to CIO 3131)
I/O Terminal bits are allocated to I/O Terminal Units (but not to Slave Racks) connected to SYSMAC BUS Remote I/O
Master Units. (1 word per Terminal, 32 Terminals max.)
81
Specifications
Section 2-1
CIO
(Core
I/O)
Area, continued
Item
CS-series DeviceNet
Area
Specification
9,600 (600 words): CIO 320000 to CIO 379915 (words
CIO 3200 to CIO 3799)
CS-series DeviceNet Area bits are allocated to Slaves according to C200HW-CRW21-V1 DeviceNet Unit remote I/O communications.
Reference
Fixed allocation 1 Outputs: CIO 3200 to CIO 3263
Inputs: CIO 3300 to CIO 3363
Fixed allocation 2 Outputs: CIO 3400 to CIO 3463
Inputs: CIO 3500 to CIO 3563
Fixed allocation 3 Outputs: CIO 3600 to CIO 3663
Inputs: CIO 3700 to CIO 3763
The following words are allocated to the CS-Series
DeviceNet Unit functioning as a master when fixed allocations are used for the CS1W-DRM21 DeviceNet Unit.
Setting Master to slave Slave to master
Fixed allocation 1 Outputs: CIO 3370 Inputs: CIO 3270
Fixed allocation 2 Outputs: CIO 3570 Inputs: CIO 3470
Fixed allocation 3 Outputs: CIO 3770 Inputs: CIO 3670
Internal I/O Area
Work Area
Holding Area
Auxiliary Area
Temporary Area
Timer Area
Counter Area
4,800 (300 words): CIO 120000 to CIO 149915 (words CIO
1200 to CIO 1499)
37,504 (2,344 words): CIO 380000 to CIO 614315 (words
CIO 3800 to CIO 6143)
These bits in the CIO Area are used as work bits in programming to control program execution. They cannot be used for external I/O.
---
8,192 bits (512 words): W00000 to W51115 (W000 to W511)
Controls the programs only. (I/O from external I/O terminals is not possible.)
Note When using work bits in programming, use the bits in the Work Area first before using bits from other areas.
8,192 bits (512 words): H00000 to H51115 (H000 to H511)
Holding bits are used to control the execution of the program, and maintain their ON/OFF status when the PLC is turned
OFF or the operating mode is changed.
Note The Function Block Holding Area words are allocated from H512 to H1535. These words can be used only for the function block instance area (internally allocated variable area).
Read only: 7,168 bits (448 words): A00000 to A44715 (words
A000 to A447)
Read/write: 8,192 bits (512 words): A44800 to A95915
(words A448 to A959)
Auxiliary bits are allocated specific functions.
16 bits (TR0 to TR15)
Temporary bits are used to temporarily store the ON/OFF execution conditions at program branches.
4,096: T0000 to T4095 (used for timers only)
4,096: C0000 to C4095 (used for counters only)
82
Specifications
Item
DM Area
EM Area
Data Registers
Index Registers
Task Flag Area
Trace Memory
File Memory
Section 2-1
Specification
32K words: D00000 to D32767
Used as a general-purpose data area for reading and writing data in word units (16 bits). Words in the DM Area maintain their status when the PLC is turned OFF or the operating mode is changed.
Internal Special I/O Unit DM Area: D20000 to D29599 (100 words × 96 Units)
Used to set parameters for Special I/O Units.
CPU Bus Unit DM Area: D30000 to D31599 (100 words × 16
Units)
Used to set parameters for CPU Bus Units.
Inner Board DM Area: D32000 to D32099
Used to set parameters for Inner Boards.
32K words per bank, 13 banks max.: E0_00000 to EC_32767 max. (Not available on some CPU Units.)
Used as a general-purpose data area for reading and writing data in word units (16 bits). Words in the EM Area maintain their status when the PLC is turned OFF or the operating mode is changed.
The EM Area is divided into banks, and the addresses can be set by either of the following methods.
Changing the current bank using the EMBC(281) instruction and setting addresses for the current bank.
Setting bank numbers and addresses directly.
EM data can be stored in files by specifying the number of the first bank.
DR0 to DR15
Store offset values for indirect addressing. One register is 16 bits (1 word).
CS1 CPU Units: Data registers used independently in each task.
CS1-H CPU Units: Setting to use data registers either independently in each task or to share them between tasks.
IR0 to IR15
Store PLC memory addresses for indirect addressing. One register is 32 bits (2 words).
CS1 CPU Units: Index registers used independently in each task.
CS1-H CPU Units: Setting to use index registers either independently in each task or to share them between tasks.
32 (TK0000 to TK0031)
Task Flags are read-only flags that are ON when the corresponding cyclic task is executable and OFF when the corresponding task is not executable or in standby status.
40,000 words (trace data: 31 bits, 6 words)
Reference
Memory Cards: Compact flash memory cards can be used
(MS-DOS format).
EM file memory: Part of the EM Area can be converted to file memory (MS-DOS format).
Programming Manual
(W394)
Programming Manual
(W394)
83
Specifications
Section 2-1
Function Specifications
Item
Constant cycle time
I/O refreshing
Specification
1 to 32,000 ms (Unit: 1 ms)
When a parallel processing mode is used for a CS1-H CPU
Unit, the cycle time for executing instructions is constant.
Cycle time monitoring Possible (Unit stops operating if the cycle is too long): 1 to
40,000 ms (Unit: 10 ms)
When a parallel processing mode is used for a CS1-H CPU
Unit, the instruction execution cycle is monitored. CPU Unit operation will stop if the peripheral servicing cycle time exceeds 2 s (fixed).
Cyclic refreshing, immediate refreshing, refreshing by
IORF(097).
IORF(097) refreshes I/O bits allocated to Basic I/O Units and Special I/O Units.
With the CS1-H CPU Units, the CPU BUS UNIT I/O
REFRESH (DLNK(226)) instruction can be used to refresh bits allocated to CPU Bus Units in the CIO and DM Areas.
Reference
Constant cycle time: Program-
ming Manual (W394)
Cycle time monitoring: Program-
ming Manual (W394)
I/O refreshing:10-4 Computing the Cycle Time
I/O refresh methods: Program-
ming Manual (W394)
Timing of special refreshing for CPU Bus
Units
I/O memory holding when changing operating modes
Data links for Controller Link Units and SYSMAC LINK
Units, remote I/O for DeviceNet Units, and other special refreshing for CPU Bus Units is performed at the following times:
CS1 CPU Units: I/O refresh period
CS1-H CPU Units: I/O refresh period and when the CPU
BUS UNIT I/O REFRESH (DLNK(226)) instruction is executed
Depends on the ON/OFF status of the IOM Hold Bit in the
Auxiliary Area.
Load OFF
Input response time setting
---
All outputs on Output Units can be turned OFF when the
CPU Unit is operating in RUN, MONITOR, or PROGRAM mode.
Time constants can be set for inputs from Basic I/O Units.
The time constant can be increased to reduce the influence of noise and chattering or it can be decreased to detect shorter pulses on the inputs.
I/O memory: SECTION 9 Mem- ory Areas
Programming Manual (W394):
6-6-1 Hot Start/Cold Start Function
Holding I/O memory: 9-2-3 Data
Load OFF:
Programming Manual (W394):
6-7-2 Load OFF Function and 7-
2-3 Online Editing
Input response time: 10-4-6 I/O
Input response settings:
Programming Manual (W394):
6-11-1 I/O Response Time Settings
Startup mode setting Supported
The startup mode will be as follows if the PLC Setup is set to use the Programming Console mode (default) and a Programming Console is not connected:
CS1 CPU Units: PROGRAM mode
CS1-H CPU Units: RUN mode
Startup mode: Programming
Manual (W394)
84
Specifications
Section 2-1
Item
Flash memory (CS1-H
CPU Units only)
Specification
• The user program and parameter area data (e.g., PLC
Setup) are always backed up automatically in flash memory.
• CPU Units with unit version 3.0 or later only:
When downloading projects from CX-Programmer Ver.
5.0 or higher, symbol table files (including CX-Programmer symbol names, I/O comments), comment files (CX-
Programmer rung comments, other comments), and program index files (CX-Programmer section names, section comments, or program comments) are stored in comment memory within the flash memory.
Memory Card functions Automatically reading programs (autoboot) from the
Memory Card when the power is turned ON.
Supported
---
Program replacement during
PLC operation (except preversion-1 CS1 CPU Units)
Format in which data is stored in Memory Card
Functions for which Memory
Card read/write is supported
Supported
User program: Program file format
PLC Setup and other parameters: Data file format
I/O memory: Data file format
(binary format), text format, or CSV format (except preversion-1 CS1 CPU Units)
User program instructions,
Programming Devices
(including Programming
Consoles), Host Link computers, AR Area control bits, easy backup operation
Memory Card read/write operations: Programming Manual
(W394)
Reference
Memory Cards and file memory:
ming Manual (W394) Section 5
File Memory Functions
Automatic file transfer at startup and file operations using CMND:
Programming Manual (W394)
5-2-3 Using Instruction in User
Program
Replacing the program with
CMND: Programming Manual
(W394)
Data stored in the Memory Card:
Programming Manual (W394)
5-2-3 Using Instruction in User
Program
Filing
Debugging
Online editing
Program protection
Error check
Memory Card data and the EM (Extended Data Memory)
Area can be handled as files.
Control set/reset, differential monitoring, data tracing
(scheduled, each cycle, or when instruction is executed), storing location generating error when a program error occurs
When the CPU Unit is in MONITOR or PROGRAM mode, multiple program sections (“circuits”) of the user program can be edited together. This function is not supported for block programming areas.
(With the CX-Programmer is used, multiple program sections of the user program can be edited together. When a
Programming Console is used, the program can be edited in mnemonics only.).
Overwrite protection: Set using DIP switch.
Copy protection: Password set using Programming Device.
User-defined errors (i.e., user can define fatal errors and non-fatal errors)
The FPD(269) instruction can be used to check the execution time and logic of each programming block.
FAL and FALS instructions can be used with the CS1-H
CPU Units to simulate errors.
File memory: Programming Man-
ual (W394)
Debugging, set/reset, differential monitoring, data tracing: Pro-
gramming Manual (W394)
Operating modes: Programming
Manual (W394)
Program protection: Program-
ming Manual (W394)
Failure diagnosis: Programming
Manual (W394)
Fatal and nonfatal errors: 11-2-4
User-defined errors: Program-
ming Manual (W394)
85
Specifications
Section 2-1
Error log
Item Specification
Up to 20 errors are stored in the error log. Information includes the error code, error details, and the time the error occurred.
A CS1-H CPU Unit can be set so that user-defined FAL errors are not stored in the error log.
Serial communications Built-in peripheral port: Programming Device (including
Programming Console) connections, Host Links, NT Links
Built-in RS-232C port: Programming Device (excluding
Programming Console) connections, Host Links, no-protocol communications, NT Links
Clock
Serial Communications Board (sold separately): Protocol macros, Host Links, NT Links
Provided on all models. Accuracy: ± 30 s/mo. at 25°C
(accuracy varies with the temperature)
Reference
Error log: Programming Manual
(W394)
Serial communications systems:
Serial communications: Program-
ming Manual (W394)
Clock: Programming Manual
(W394)
Power OFF detection time
Power OFF detection delay time
Memory protection
Note Used to store the time when power is turned ON and when errors occur.
10 to 25 ms (not fixed)
0 to 10 ms (user-defined, default: 0 ms)
Held Areas: Holding bits, contents of Data Memory and
Extended Data Memory, and status of the counter Completion Flags and present values.
Power OFF operation and power
OFF detection time: 10-3 Power
Power OFF detection delay time:
Programming Manual (W394)
Sending commands to a Host Link computer
Remote programming and monitoring
Note If the IOM Hold Bit in the Auxiliary Area is turned
ON, and the PLC Setup is set to maintain the IOM
Hold Bit status when power to the PLC is turned ON, the contents of the CIO Area, the Work Area, part of the Auxiliary Area, timer Completion Flag and PVs,
Index Registers, and the Data Registers will be saved for up to 20 days.
FINS commands can be sent to a computer connected via the Host Link System by executing Network Communications Instructions from the PLC.
Host Link communications can be used for remote programming and remote monitoring through a Controller Link
System or Ethernet network.
Host Links and non-solicited
Remote programming and monitoring: Programming Manual
(W394)
Controller Link 2-5-3 Communi- cations Network System
Host Links and FINS message
Communicating across network layers
Remote programming and monitoring using the Support
Software, as well as FINS message communications, can be conducted across network layers, including other types of network.
Pre-Ver. 2.0: Three layers
Version 2.0 or later: Eight layers for Controller Link and
Ethernet (see note). Three layers for
DeviceNet and SYSMAC LINK.
Storing comments in
CPU Unit
Note To construct a network of eight layers, it is necessary to use the CX-Integrator or CX-Programmer (version
4.0 or higher) to set routing tables.
I/O comments can be stored as symbol table files in the
Memory Card, EM file memory, or comment memory (see note).
I/O comments: CX-Programmer
Operation Manual (W446)
Storing comments in CPU Unit:
Programming Manual (W394)
Note Comment memory is supported for CS/CJ-series
CPU Units with unit version 3.0 or later only.
86
Specifications
Section 2-1
Item
Program check
Specification
Program checks are performed at the beginning of operation for items such as no END instruction and instruction errors.
CX-Programmer can also be used to check programs.
Control output signals RUN output: The internal contacts will turn ON (close) while the CPU Unit is operating.
These terminals are provided only on the C200HW-
PA204R and C200HW-PA209R Power Supply Units.
Battery life Battery Set: CS1W-BAT01
Self-diagnostics
Other functions
CPU errors (watchdog timer), I/O verification errors, I/O bus errors, memory errors, and battery errors.
Storage of number of times power has been interrupted.
(Stored in A514.)
Reference
Program check: Programming
Manual (W394)
RUN output: Programming Man-
ual (W394)
Battery life and replacement
period: 12-2-1 Battery Replace- ment
CPU, I/O bus, memory, and bat-
tery errors: 11-2-4 Error Process- ing Flowchart
Number of power interruptions:
2-1-2 General Specifications
Item
Power
Supply
Unit
Supply voltage
Operating voltage range
Power consumption
Inrush current
Output capacity
(See note
6.)
C200HW-
PA204
0.625 A,
26 V DC
C200HW-
PA204C
0.625 A,
26 V DC
C200HW-
PA204R
0.625 A,
26 V DC
Specifications
C200HW-
PA204S
30 A max.
100 to 120 V
AC input
15 A max.
(cold start at room temperature)
200 to 240 V
AC input
30 A max.
(cold start at room temperature)
30 A max.
30 A max.
4.6 A, 5 V DC (including the CPU Unit power supply)
C200HW-
PA209R
100 to 240 V AC (wide range), 50/60 Hz (See note 7.)
85 to 264 V AC
100 to 120 V AC or
200 to 240 V AC, 50/60 Hz
85 to 132 V AC or
170 to 264 V AC
120 VA max.
100 VA max.
120 VA max.
120 VA max.
180 VA max.
40 W max.
30 A max.
100 to 120 V
40 A max.
200 to 240 V
9 A, 5 V DC
(including the
CPU Unit power supply)
1.3 A,
26 V DC
C200HW-
PD024
24 V DC
19.2 to 28.8 V
DC
30 A max.
4.6 A, 5 V DC
(including the
CPU Unit power supply)
0.625 A,
26 V DC
C200HW-
PD025
24 V DC
19.2 to 28.8 V
DC
60 W max.
30 A max.
5.3 A, 5 V DC
(including the
CPU Unit power supply)
1.3 A,
26 V DC
Total: 30 W max.
Total: 30 W max.
Total: 30 W max.
0.625 A,
26 V DC
0.8 A,
24 V DC
Total: 30 W max.
Total: 45 W max.
Total: 30 W max.
Total: 40 W max.
87
Specifications
Section 2-1
Item
Power
Supply
Unit
Output terminal
(service supply)
RUN output
(See note
2.)
Replacement notification function
Insulation resistance
Dielectric strength
(See note
5.)
Noise immunity
C200HW-
PA204
C200HW-
PA204C
C200HW-
PA204R
Specifications
C200HW-
PA204S
C200HW-
PA209R
C200HW-
PD024
C200HW-
PD025
Not provided Not provided Not provided Provided.
At consumption of less than 0.3 A,
24-V DC supply will be
+17%/–11%; at 0.3 A or greater,
+10%/–11%
(lot 0197 or later)
Not provided Not provided Contact configuration:
SPST-NO
Switch capacity:
250 V AC,
2 A (resistive load)
250 V AC,
0.5 A (induction load),
24 V DC, 2 A
Not provided
Not provided
Contact configuration:
SPST-NO
Switch capacity: 240 V AC,
2A (resistive load)
120 V AC,
0.5 A (induction load)
24 V DC, 2 A
(resistive load)
24 V DC, 2 A
(induction load)
Not provided
Not provided
Not provided
Not provided
Not provided With
Alarm output
(open-collector output)
30 V DC max., 50 mA max.
20 M Ω min.
(at 500 V DC) between AC external and
GR terminals
(See note 1.)
20 M Ω min.
(at 500 V DC) between all external terminals and
GR terminal, and between all alarm output terminals.
20 M Ω min.
(at 250 V DC) between all alarm output terminals and
GR terminal.
2,300 V AC
50/60 Hz for
1 min between AC external and
GR terminals
(See note 1.)
Leakage current: 10 mA max.
2,300 V AC,
50/60 Hz for 1 minute between all external terminals and
GR terminal and between all alarm output terminals with a leakage current of
10 mA max.
Not provided
20 M max.
Ω min.
(at 500 V DC) between AC external and
GR terminals
(See note 1.)
2,300 V AC
50/60 Hz for
1 min between AC external and
GR terminals
(See note 1.)
Leakage current: 10 mA
Not provided
20 M Ω min.
(at 500 V DC) between AC external and
GR terminals
(See note 1.)
2,300 V AC
50/60 Hz for
1 min between AC external and
GR terminals
(See note 1.)
Leakage current: 10 mA max.
Not provided
20 M
2,300 V AC
50/60 Hz for
1 min between AC external and
GR terminals
(See note 1.)
Leakage current: 10 mA max.
Ω min.
(at 500 V DC) between AC external and
GR terminals
(See note 1.)
1,000 V AC, 50/60 Hz for 1 minute between all alarm output terminals and
GR terminal with a leakage current of 10 mA max.
2 kV on power supply line (conforming to IEC61000-4-4)
Not provided
20 M Ω min.
Not provided
(at 500 V DC) between DC external and GR terminals
(See note 1.)
1,000 V AC 50/60 Hz for
1 min between DC external and GR terminals (See note
1.).
Leakage current: 10 mA max.
88
Specifications
Section 2-1
Item
Power
Supply
Unit
Vibration resistance
C200HW-
PA204
C200HW-
PA204C
C200HW-
PA204R
Specifications
C200HW-
PA204S
C200HW-
PA209R
C200HW-
PD024
C200HW-
PD025
10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s
2
in X, Y, and Z directions for 80 minutes (Time coefficient: 8 minutes ×coefficient factor 10 = total time 80 min.)
CPU Unit mounted to a DIN track: 2 to 55 Hz, 2.94 m/s
2
in X, Y, and Z directions for 20 minutes
147 m/s
2
3 times each in X, Y, and Z directions (according to JIS 0041)
Shock resistance
Ambient operating temperature
Ambient operating humidity
0 to 55 °C
10% to 90%
(with no condensation)
10% to 90%
(without condensation)
(See note 4.)
10% to 90%
(with no condensation)
Atmosphere
Must be free from corrosive gases.
Ambient storage temperature
–20 to 75 °C
(excluding battery)
–20 to 75 °C
(See note 4.)
Grounding Less than 100 Ω
Enclosure Mounted in a panel.
–20 to 75 °C
(excluding battery)
10% to 90%
(with no condensation)
–20 to 75 °C
(excluding battery)
10% to 90% (with no condensation)
–20 to 75 °C (excluding battery)
Weight
CPU Rack dimensions
(mm)
(See note
3.)
Safety measures
All models are each 6 kg max.
2 slots:198.5 × 157 × 123 (W x H x D)
3 slots: 260 × 130 × 123 (W x H x D)
5 slots: 330 × 130 × 123 (W x H x D)
8 slots: 435 × 130 × 123 (W x H x D)
10 slots:505 × 130 × 123 (W x H x D)
Conforms to UL, CSA, cULus, cUL, NK, Lloyds, and EC directives.
Note 1.
Disconnect the Power Supply Unit’s LG terminal from the GR terminal when testing insulation and dielectric strength.
Testing the insulation and dielectric strength with the LG terminal and the
GR terminals connected will damage internal circuits in the CPU Unit.
2.
Supported only when mounted to CPU Backplane.
3.
The depth is 153 mm for the C200HW-PA209R/PD025 Power Supply Unit,
111 mm for the C200HW-PA204C Power Supply Unit.
4.
Maintain an ambient storage temperature of −25 to 30°C and relative humidity of 25% to 70% when storing the C200HW-PA204C for longer than 3 months to keep the replacement notification function in optimum working condition.
5.
Change the applied voltage gradually using the adjuster on the Tester. If the full dielectric strength voltage is applied or turned OFF using the switch on the Tester, the generated impulse voltage may damage the Unit.
6.
The Power Supply Unit’s internal parts may deteriorate and be damaged if the power supply output capacity is exceeded for a long time or the outputs are short-circuited.
7.
The power supply voltage for C200HW-PA204 Power Supply Units manufactured before March 2010 and C200HW-PA204R Power Supply Units manufactured before May 2010 is 100 to 120 V AC/200 to 240 V AC
(switched using short bar). For details on the differences between these
89
CPU Unit Components
Section 2-2
Units, refer to Unit Differences by Manufacturing Date (Reference Information) on page 199
2-2 CPU Unit Components
2-2-1 Components
8. Inner Board connector compartment
1. Indicators
9. Peripheral port
2. Memory Card indicators
10. RS-232C port
3. Memory Card power supply switch
4. Memory Card eject button
6. Memory Card connector
7. Memory Card
Battery compartment cover lifted
Inner Board
(e.g., Serial Communications Board)
5. DIP switch
90
CPU Unit Components
1,2,3...
Section 2-2
1.
Indicators
The following table describes the LED indicators on the front panel of the
CPU Unit.
Indicator Meaning
RUN (green) Lights when the PLC is operating normally in MONITOR or RUN mode.
ERR/ALM (red) Flashes if a non-fatal error occurs that does not stop the CPU Unit.
If a non-fatal error occurs, the CPU Unit will continue operating.
Lights if a fatal error occurs that stops the CPU Unit or if a hardware error occurs. If a fatal or hardware error occurs, the CPU Unit will stop operating, and the outputs from all Output Units will turn
OFF.
INH (orange)
BKUP (orange;
CS1-H CPU
Units only)
PRPHL
(orange)
Lights when the Output OFF Bit (A50015) turns ON. If the Output
OFF Bit is turned ON, the outputs from all Output Units will turn
OFF.
Lights when data is being backed up from RAM to the flash memory.
Do not turn OFF the CPU Unit when this indicator is lit.
Flashes when the CPU Unit is communicating via the peripheral port.
COMM (orange) Flashes when the CPU Unit is communicating via the RS-232C port.
MCPWR
(green)
Flashes when power is being supplied to the Memory Card.
BUSY (orange) Flashes when the Memory Card is being accessed.
2.
Memory Card Indicators
The MCPWR indicator flashes green when power is being supplied to the
Memory Card and the BUSY indicator flashes orange when the Memory
Card is being accessed.
3.
Memory Card Power Supply Switch
Press the Memory Card power supply switch to disconnect power before removing the Memory Card. Also, press the Memory Card Power Supply
Switch to perform an easy backup operation (i.e., to write to or verify the
Memory Card), or to stop the MCPWR indicator flashing due to a write or verify malfunction when performing an easy backup to the Memory Card.
4.
Memory Card Eject Button
Press the Memory Card eject button to remove the Memory Card from the
CPU Unit before turning the power OFF or to perform an easy backup operation.
5.
DIP Switch
The CS1 CPU Unit has an 8-pin DIP switch that is used to set basic operational parameters for the CPU Unit. The DIP switch is located under the cover of the battery compartment. The DIP switch pin settings are described in the following table.
91
CPU Unit Components
Section 2-2
1
2
Pin No.
3
(Not used by CS1-H
CPU
Units.)
4 ON
OFF
Setting
ON
OFF
ON
OFF
ON
OFF
Function
Writing disabled for user program memory.
Writing enabled for user program memory.
The user program is automatically transferred and executed when power is turned ON.
The user program is automatically transferred but not executed when power is turned ON.
CS1 CPU Units only: Programming Console messages displayed in English.
CS1 CPU Units only: Programming Console messages displayed in the language stored in system ROM. (Messages displayed in Japanese with the Japanese version of system ROM.)
5
6
7
8
ON
OFF
ON
OFF
ON
OFF
OFF
Use peripheral port communications parameters set in the PLC Setup.
Auto-detect Programming Console or CX-Programmer communications parameters at the peripheral port.
Auto-detect Programming Console or CX-Programmer communications parameters at the RS-
232C port.
Use RS-232C port communications parameters set in the PLC Setup.
User-defined pin. Turns OFF the User DIP Switch Pin Flag (A39512).
User-defined pin. Turns ON the User DIP Switch Pin Flag (A39512).
Easy backup by reading/writing to Memory Card.
Easy backup by verifying contents of Memory Card.
Always OFF.
6.
Memory Card Connector
The Memory Card connector connects the Memory Card to the CPU Unit.
7.
Memory Card
Memory Cards fit into the slot located on the lower right side of the CPU
Unit. Memory Cards are not provided with the PLC and must be ordered separately and installed in the CPU Unit.
8.
Inner Board Connector Compartment
The Inner Board connector compartment is used to connect Inner Boards such as the Serial Communications Board.
9.
Peripheral Port
The peripheral port is connected to Programming Devices, such as a Pro-
gramming Console or Host Computers. Refer to 3-3 Programming Devices
for details.
10. RS-232C Port
The RS-232C port is connected to Programming Devices (excluding Programming Console), Host Computers, general-purpose external devices,
Programmable Terminals, and other devices. Refer to 3-3 Programming
92
CPU Unit Components
Section 2-2
2-2-2 CS-series CPU Unit Capabilities
CS1-H CPU Units
Model I/O bits Program capacity
CS1H-CPU67H
CS1H-CPU66H
CS1H-CPU65H
CS1H-CPU64H
CS1H-CPU63H
CS1G-CPU45H
5120 bits
(Up to 7
Expansion
Racks)
250K steps
120K steps
60K steps
30K steps
20K steps
60K steps
Data memory capacity
(See note.)
Ladder instruction processing speed
0.02 µs 448K words
256K words
128K words
64K words
64K words
128K words 0.04 µs
Internal communications ports
Optional products
Peripheral port and
RS-232C port.
Memory Cards
Inner Boards such as Serial
Communications Boards
CS1G-CPU44H
CS1G-CPU43H
CS1G-CPU42H
5120 bits
(Up to 7
Expansion
Racks)
1280 bits
(Up to 3
Expansion
Racks)
960 bits
(Up to 2
Expansion
Racks)
30K steps
20K steps
10K steps
64K words
64K words
64K words
Note The available Data Memory capacity is the sum of the Data Memory (DM) and the Extended Data Memory (EM).
CS1 CPU Units
Model I/O bits
CS1H-CPU67-EV1 5120 bits
CS1H-CPU66-EV1
CS1H-CPU65-EV1
(Up to 7
Expansion
Racks)
CS1H-CPU64-EV1
CS1H-CPU63-EV1
CS1G-CPU45-EV1 5120 bits
(Up to 7
Expansion
Racks)
CS1G-CPU44-EV1 1280 bits
(Up to 3
Expansion
Racks)
CS1G-CPU43-EV1 960 bits
CS1G-CPU42-EV1 (Up to 2
Expansion
Racks)
Program capacity
250K steps
120K steps
60K steps
30K steps
20K steps
60K steps
30K steps
20K steps
10K steps
Data memory capacity
(See note.)
Ladder instruction processing speed
0.04 µs 448K words
256K words
128K words
64K words
32K words
128K words 0.08 µs
Internal communications ports
Optional products
Peripheral port and
RS-232C port.
Memory Cards
Inner Boards such as Serial
Communications Boards
64K words
32K words
32K words
Note The available Data Memory capacity is the sum of the Data Memory (DM) and the Extended Data Memory (EM).
93
CPU Unit Components
Section 2-2
2-2-3 Unit Classifications
CS-series CPU Units can exchange data with Basic I/O Units, Special I/O
Units, and CS-series CPU Bus Units as shown in the following diagram.
Basic I/O Units
C200H Basic I/O Units
C200H Interrupt Input Units
C200H Group-2 High-density I/O Units
CS-series Basic I/O Units I/O Units
CS-series Units
Special I/O Units
CPU Bus Units
C200H High-density I/O Units
(classified as C200H Special I/O Units)
C200H Special I/O Units
CS-series Special I/O Units
CS-series CPU Bus Units
2-2-4 Data Communications
CPU Unit Data Communications
Unit Data Exchange during cyclic servicing
(allocations)
CS-series Basic I/O
Units
C200H Basic I/O
Units
C200H Group-2 Highdensity I/O Units
(classified as Basic
I/O Units)
CS-series Special I/O
Units
According to I/O allocations
(Words are allocated in order according to the position the Unit is mounted.)
Unit No. allocations
I/O refreshing
Special I/O Unit Area
(CIO): 10 words/Unit
Special I/O Unit Area
(DM): 100 words/Unit
C200H Special I/O
Units
CPU Bus Units
Yes
Yes
Yes
(Not available for some
Units.)
Yes
(Not available for some
Units.)
Yes
(Not available for some
Units.)
Not provided.
Yes
(Not available for some
Units.)
No CS-series CPU Bus
Unit Area (CIO):
5 words/ Unit
CS-series CPU Bus
Unit Area (DM): 100 words/Unit
Event service data communications
(IORD/IOWR instruction)
Not provided.
I/O refreshing using
IORF instruction
Yes
94
CPU Unit Components
Section 2-2
CPU Unit Connections
Unit Maximum Number of Units on
CPU Racks and
Expansion
Racks
CS-series Basic I/O
Units
C200H Basic I/O
Units
C200H Group-2 Highdensity I/O Units
(classified as Basic
I/O Units)
CS-series Special I/O
Units
80
(See note 1.)
80
(See note 1.)
80
(See note 1.)
80
(See notes 2 and
4.)
16 C200H Special I/O
Units
CPU Bus Units 16
Yes
Yes
Yes
Yes
Yes
Yes
CPU Rack
(See note 5.)
Note
Racks to which Unit can be mounted
C200H
Expansion
I/O Racks
CS-series
Expansion
Racks
(See note 5.)
No Yes No
SYSMAC BUS
Slave Racks
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes (See notes 3 and 4.)
No No Yes
(See note 3.)
1.
The maximum number of Units on CPU Racks and Expansion Racks is 80 because there is a maximum of 80 slots.
2.
There is a maximum of 80 slots.
3.
Some CS-series CPU Bus Units cannot be mounted to a CS-series Expansion Rack.
4.
Up to 89 Special I/O Units can be mounted as follows: Up to 79 CS-series
Special I/O Units can be mounted to the CPU Rack and CS-series Expansion Racks and up to 10 C200H Special I/O Units can be mounted to the
SYSMAC BUS Slave Racks. The C200H Special I/O Units must be assigned unit numbers 0 to 9, and each Remote I/O Master Unit must be counted as a CS-series Special I/O Unit.
5.
C200H Units and Racks cannot be used with CS-series-only CPU Racks or Expansion Racks.
95
Basic System Configuration
Section 2-3
2-3 Basic System Configuration
2-3-1 Basic System Configuration
CPU Rack
Expansion Racks
SYSMAC BUS Slave
Racks
Note
CS-series Long-distance
Expansion Racks
Note
A CPU Rack consists of a CPU Unit, a Power Supply Unit, a CPU Backplane,
Basic I/O Units, Special I/O Units, and CPU Bus Units. A Serial Communications Board and Memory Card are optional.
1.
The Backplanes required depend on which CPU Racks, Expansion I/O
Racks, and Slave Racks are used.
2.
Expansion Racks cannot be connected to a 2-slot CPU Rack.
3.
A maximum of four C200HS-INT01 Interrupt Input Units can be connected to one CPU Unit.
The Expansion Racks required for the C200H CPU Units and CS-series CPU
Units are different.
• C200H Expansion I/O Racks can be connected to CPU Racks, CS-series
Expansion Racks, or other C200H Expansion I/O Racks.
• CS-series Expansion Racks can be connected to CPU Racks or other
CS-series Expansion Racks. A CS-series Expansion Rack consists of a
Power Supply Unit, a CS-series Expansion Backplane or C200H Expansion I/O Backplane, a Basic I/O Unit, a Special I/O Unit, and a CS-series
CPU Bus Unit.
Note a) CS-series Expansion Racks cannot be connected after C200H
Expansion I/O Racks.
b) CS-series Basic I/O Units, CS-series Special I/O Units and CS-series CPU Bus Units cannot be mounted to C200H Expansion I/O
Racks.
c) Interrupt Input Units cannot be mounted to CS-series Expansion
Racks or C200H Expansion I/O Racks.
I/O Control Units and I/O Interface Units can be used to create systems containing CS-series Long-distance Expansion Racks. Up to two series of Longdistance Expansion Racks can be connected, each measuring up to 50 m, for a total coverage of 100 m.
Up to 5 SYSMAC BUS Slave Racks can be connected to one SYSMAC BUS
Remote I/O Master Unit. A maximum of 5 Units, however, can be connected to one CPU Unit.
A SYSMAC BUS Slave Rack consists of a Remote I/O Slave Unit, a Remote
I/O Slave Rack Backplane, a Basic I/O Unit, and a Special I/O Unit.
1.
C200H Group-2 High-density I/O Units, Interrupt Input Units, CS-series
Basic I/O Units, CS-series Special I/O Units and CS-series CPU Bus Units cannot be mounted to SYSMAC BUS Slave Racks.
96
Basic System Configuration
Section 2-3
2.
SYSMAC BUS Slave Racks can be connected to C200H Expansion I/O
Racks using C200H I/O Connecting Cables.
CPU Rack
CPU Backplane
Power Supply Unit
I/O Units
Special I/O Units
CS1 CPU Bus Units
Memory Card
Serial Communications Board
Remote I/O Master Unit
I/O Backplane
I/O Connecting
Cables
Expansion Rack
I/O Units
Special I/O Units
CS1 CPU Bus Units
Power Supply Unit
Optical fiber cables
Two-core cables
SYSMAC BUS Slave Rack
Backplane
I/O Units
Special I/O Units
Remote I/O Slave Unit
97
Basic System Configuration
2-3-2 CPU Rack
Section 2-3
A CS-series CPU Rack consists of a CPU Backplane, a Power Supply Unit, and various other Units.
CPU Backplane (2, 3, 5, 8, or 10 slots)
CPU Unit
Power Supply Unit
Peripheral port
RS-232C port
Other Units
(Depending on the CPU Backplane, 2, 3, 5, 8, or 10 Units can be mounted)
Inner Board connector
Memory Card compartment
Memory Card
Name
CPU Rack
Configuration
CPU Backplane
CPU Unit
Power Supply Unit
Memory Card
Serial Communications Board
Units
CS1-H CPU Units
Name
CS-series CS1-H CPU
Units
Model
CS1H-CPU67H
CS1H-CPU66H
CS1H-CPU65H
CS1H-CPU64H
CS1H-CPU63H
CS1H-CPU45H
CS1H-CPU44H
CS1H-CPU43H
CS1H-CPU42H
Remarks
One of each Unit required for every CPU Rack.
Refer to the following table for details on applicable models.
Install as required.
Refer to the following table for details on applicable models.
Specifications
I/O bits: 5,120, Program capacity: 250K steps
Data Memory: 448K words (DM: 32K words, EM: 32K words × 13 banks)
I/O bits: 5,120, Program capacity: 120K steps
Data Memory: 256K words (DM: 32K words, EM: 32K words × 7 banks)
I/O bits: 5,120, Program capacity: 60K steps
Data Memory: 128K words (DM: 32K words, EM: 32K words × 3 banks)
I/O bits: 5,120, Program capacity: 30K steps
Data Memory: 64K words (DM: 32K words, EM: 32K words × 1 banks)
I/O bits: 5,120, Program capacity: 20K steps
Data Memory: 32K words (DM: 32K words, EM: 32K words × 1 banks)
I/O bits: 5,120, Program capacity: 60K steps
Data Memory: 128K words (DM: 32K words, EM: 32K words × 3 banks)
I/O bits: 1,280, Program capacity: 30K steps
Data Memory: 64K words (DM: 32K words, EM: 32K words × 1 banks)
I/O bits: 960, Program capacity: 20K steps
Data Memory: 64K words (DM: 32K words, EM: 32K words × 1 banks)
I/O bits: 960, Program capacity: 10K steps
Data Memory: 64K words (DM: 32K words, EM: 32K words × 1 banks)
98
Basic System Configuration
Section 2-3
Name
Standard CPU
Backplanes
CS-series-only CPU
Backplanes
Model
CS1W-BC023
CS1W-BC033
CS1W-BC053
CS1W-BC083
CS1W-BC103
CS1W-BC022
CS1W-BC032
CS1W-BC052
CS1W-BC082
CS1W-BC102
Specifications
2 slots (Expansion Racks cannot be connected)
3 slots
5 slots
8 slots
10 slots
2 slots (See note 1.)
3 slots (See note 1.)
5 slots (See note 1.)
8 slots (See note 1.)
10 slots (See note 1.)
Name
Power Supply Units
Model
C200HW-PA204
C200HW-PA204C
C200HW-PA204R
C200HW-PA204S
C200HW-PA209R
Memory Cards
C200HW-PD024
C200HW-PD025
HMC-EF372
HMC-EF672
HMC-EF183
HMC-AP001
Serial Communications
Boards
CS1W-SCB21
CS1W-SCB41
Programming Consoles CQM1H-PRO01-E
CQM1-PRO01-E
C200H-PRO27-E
CS1W-KS001-E Programming Console
Key Sheet
Programming Console
Connecting Cables
CS1W-CN114
CS1W-CN224
Specifications
100 to 240 V AC
Output capacity: 4.6 A at 5 V DC
100 to 240 V AC (with replacement notification)
Output capacity: 4.6 A at 5 V DC
100 to 240 V AC (with RUN output)
Output capacity: 4.6 A at 5 V DC
100 to 120 V AC or 200 to 240 V AC (with 0.8 A 24 V DC service power supply)
Output capacity: 4.6 A at 5 V DC
100 to 120 V AC or 200 to 240 V AC (with RUN output)
Output capacity: 9 A at 5 V DC
24 V DC
24 V DC
Flash memory, 30 MB
Flash memory, 64 MB
Flash memory, 128 MB (See note 3.)
Memory Card Adapter
2 × RS-232C ports, protocol macro function
1 × RS-232C port + 1 × RS-422/485 port, protocol macro function
An English Keyboard Sheet (CS1W-KS001-E) is required.
For CQM1-PRO01 or C200H-PRO27
Programming Device
Connecting Cables
(for peripheral port)
CS1W-CN624
CS1W-CN118
CS1W-CN226
CS1W-CN626
Connects the CQM1-PRO01-E Programming Console.
(Length: 0.05 m)
Connects the CQM1-PRO27-E Programming Console.
(Length: 2.0 m)
Connects the CQM1-PRO27-E Programming Console.
(Length: 6.0 m)
Connects DOS computers, D-Sub 9-pin receptacle (For converting between RS-232C cable and peripherals) (Length: 0.1 m)
Connects DOS computers, D-Sub 9-pin (Length: 2.0 m)
Connects DOS computers, D-Sub 9-pin (Length: 6.0 m)
Note: 1. C200H Units (C200H Basic I/O Units, C200H Group-2 High-density I/O Units, and C200H Special I/O
Units) cannot be used with CS-series-only CPU Backplanes.
2. When using the CX-Programmer with the computer connected via a Programming Device Connecting
Cable for the peripheral port, a Host Link (SYSWAY) software connection is not possible. Use a toolbus
(peripheral bus) connection.
99
Basic System Configuration
Section 2-3
CS1 CPU Units
Model
CS1H-CPU67-EV1
CS1H-CPU66-EV1
CS1H-CPU65-EV1
CS1H-CPU64-EV1
CS1H-CPU63-EV1
CS1G-CPU45-EV1
CS1G-CPU44-EV1
CS1G-CPU43-EV1
CS1G-CPU42-EV1
Specifications
I/O bits: 5,120, Program capacity: 250K steps
Data Memory: 448K words (DM: 32K words, EM: 32K words × 13 banks)
I/O bits: 5,120, Program capacity: 120K steps
Data Memory: 256K words (DM: 32K words, EM: 32K words × 7 banks)
I/O bits: 5,120, Program capacity: 60K steps
Data Memory: 128K words (DM: 32K words, EM: 32K words × 3 banks)
I/O bits: 5,120, Program capacity: 30K steps
Data Memory: 64K words (DM: 32K words, EM: 32K words × 1 banks)
I/O bits: 5,120, Program capacity: 20K steps
Data Memory: 32K words (DM: 32K words, EM: None)
I/O bits: 5,120, Program capacity: 60K steps
Data Memory: 128K words (DM: 32K words, EM: 32K words × 3 banks)
I/O bits: 1,280, Program capacity: 30K steps
Data Memory: 64K words (DM: 32K words, EM: 32K words × 1 banks)
I/O bits: 960, Program capacity: 20K steps
Data Memory: 32K words (DM: 32K words, EM: None)
I/O bits: 960, Program capacity: 10K steps
Data Memory: 32K words (DM: 32K words, EM: None)
Other Units
Name
Programming Device
Connecting Cables (for
RS-232C port)
Model
XW2Z-200S-CV
XW2Z-500S-CV
XW2Z-200S-V
XW2Z-500S-V
USB −Serial Conversion
Cable
Battery Set
CS1W-CIF31
CS1W-BAT01
Connects DOS computers
Specifications
D-Sub 9-pin (Length: 2.0 m), Static-resistant connector used.
Connects DOS computers
D-Sub 9-pin (Length: 5.0 m), Static-resistant connector used.
Connects DOS computers
D-Sub 9-pin (Length: 2.0 m) (See note.)
Connects DOS computers
D-Sub 9-pin (Length: 5.0 m) (See note.)
Converts between a USB connector and a D-Sub 9-pin connector.
Cable length: 0.5 m
For CS Series only.
Note A peripheral bus connection is not possible when connecting the CX-Programmer via an RS-232C Connecting Cable. Use the Host Link (SYSWAY) connection.
Connecting Programming Devices
Programming Console When using a Programming Console, connect the Programming Console to the peripheral port of the CPU Unit and set pin 4 of the DIP switch on the front panel of the Unit to OFF (automatically uses default communications parameters for the peripheral port).
100
Basic System Configuration
Section 2-3
CQM1H-PRO01-E/CQM1-PRO01-E
The Programming Console can be connected only to the peripheral port.
CS1W-KS001-E
English Keyboard
Sheet required.
CQM1H-PRO01-E,
CQM1-PRO01-E
Programming
Console
The following cable is included with the
CQM1-PRO01-E Programming Console
Programming Console
CQM1H-PRO01-E
Cable
Not required
(pre-wired).
Length
2 m
CQM1-PRO01-E CS1W-CN114 0.05 m
Note Set pin 4 of the DIP switch on the front panel of the CPU Unit to OFF.
Peripheral port
C200H-PRO27-E
The Programming Console can be connected only to the peripheral port.
CS1W-KS001-E
English Keyboard
Sheet required.
C200H-PRO27-E
Programming
Console
Programming Console
CQM1-PRO27-E
Cable
CS1W-CN224
CS1W-CN624
Length
2.0 m
6.0 m
Note Set pin 4 of the DIP switch on the front panel of the CPU Unit to OFF.
Peripheral port
Note When an OMRON Programmable Terminal (PT) is connected to the RS-232C port and Programming Console functions are being used, do not connect the
Programming Console at the same time.
101
Basic System Configuration
Section 2-3
Connecting Personal Computers Running Support Software
Connecting to Peripheral Port
RS-232C
DOS computer
(RS-232C, 9-pin)
Peripheral port
Connecting Cables for Peripheral Port
Computer Cable Length Computer
connector
DOS
CS1W-CN118
CS1W-CN226
0.1 m
2.0 m
D-Sub,
9-pin
CS1W-CN626 6.0 m
Note The CS1W-CN118 Cable is used with an RS-232C cable to connect to the peripheral port on the CPU
Unit as shown below. The CS1W-CN118 Cable can not be used with an RS-232C cable whose model number ends in -V for a peripheral bus connection and must be used for a Host Link (SYSMAC WAY) connection.
RS-232C Cable
XW2Z-200S-@@: 2 m
XW2Z-500S-@@: 5 m
CS1W-CN118 Cable
Peripheral port
Connecting to RS-232C Port
DOS version
(RS-232C, 9-pin)
Connecting Cables for RS-232C Port
RS-232C Cable
XW2Z-200S-CV or XW2Z-200S-V: 2 m
XW2Z-500S-CV or XW2Z-500S-V: 5 m
Computer Cable Length Computer
connector
DOS XW2Z-200S-CV or XW2Z-200S-V
XW2Z-500S-CV or XW2Z-500S-V
2.0 m
5.0 m
D-Sub,
9-pin
Note
The XW2Z-200S-CV and XW2Z-500S-CV use static-resistant connectors and can be connected to the peripheral bus
RS-232C port or the Host Link. The XW2Z-200S-V and XW2Z-500S-V, however, can only be connected to the Host Link, not the peripheral bus.
102
Basic System Configuration
Using Personal Computer’s USB Port (USB-Serial Conversion Cable)
Connecting to Peripheral Port
Cable
CS1W-CN226/626
Connection diagram
Section 2-3
USB A plug connector (male)
CS1W-CIF31
D-sub connector
(9-pin, male)
CS/CJ-series PLC
Customizable Counter Unit
CS/CJ-series peripheral connector
D-sub connector
(9-pin, female)
Peripheral port
Recommended cable:
CS1W-CN226/626
CQM1-CIF02
USB A plug connector (male)
CS1W-CIF31
D-sub connector
(9-pin, male)
CS/CJ-series PLC (See note.)
D-sub connector
(9-pin, female)
C-series peripheral connector
CS/CJ-series peripheral connector
Peripheral port
Recommended cable:
CQ1M-CIF02 CS1W-CN114
XW2Z-200S-CV/
500S-CV or
XW2Z-200S-V/
500S-V for RS-232C
Note Connection supported for Host Link only when using
CS/CJ-series PLCs.
USB A plug connector (male)
CS1W-CIF31
D-sub connector
(9-pin, male)
CS/CJ-series PLC
Customizable Counter Unit
D-sub connector
D-sub connector (9-pin, male)
(9-pin, female) Peripheral port
XW2Z-200S-CV/500S-CV or XW2Z-200S-V/500S-V
(See note.)
D-sub connector
(9-pin, female)
CS/CJ-series peripheral connector
CS1W-CN118
Note Connection supported for Host Link only when using
CS/CJ-series PLCs.
103
Basic System Configuration
Section 2-3
Connecting to RS-232C Port
Cable
XW2Z-200S-CV/500S-
CV or
XW2Z-200S-V/500S-V for RS-232C
Connection diagram
USB A plug connector (male)
CS1W-CIF31
D-sub connector
(9-pin, male)
CS/CJ-series PLC
D-sub connector (9-pin, male)
D-sub connector
(9-pin, female) RS-232C port
D-sub connector
(9-pin, female)
Recommended cable:
XW2Z-200S-CV/500S-CV or
XW2Z-200S-V/500S-V (See note.)
Note Connection supported for Host Link only when using CS/CJ-series PLCs.
2-3-3 Expansion Racks
To expand the number of Units in the system, other Expansion Racks can be connected to CPU Racks. The other Expansion Racks that can be connected to the CPU Racks are Standard CS-series Expansion Racks, CS-series Longdistance Expansion Racks, CS-series-only Expansion Racks, and C200H
Expansion I/O Racks.
C200H Expansion I/O Racks can be connected after CS-series Expansion
Racks, however, the CS-series Expansion Racks cannot be connected after
C200H Expansion I/O Racks.
C200H Expansion I/O Racks cannot be connected in the same series as CSseries Long-distance Expansion Racks.
Note 1.
Expansion Racks cannot be connected to a 2-slot CPU Rack (Backplane:
CS1W-BC02 @).
2.
C200H Units (C200H Basic I/O Units, C200H Group-2 High-density I/O
Units, and C200H Special I/O Units) cannot be used on CS-series-only
CS-series Expansion Backplanes (CS1W-BI @@2).
3.
C200H Units cannot be used on the CPU Rack or Expansion Racks if a
CS-series-only CPU Backplane (CS1W-BC @@2) is used. The C200H
Units will not be recognized by the CPU Unit.
4.
When using a CS-series-only Expansion Rack (CS1W-BI @@2) with a CPU
Unit with a lot number of 000427 (27 April 2000) or earlier, CS1 Units and
C200H Units cannot be used on any Expansion Racks past the CS-seriesonly CPU Expansion Rack. When using a CS-series-only CPU Backplane
(CS1W-BC @@2), CS1 Units and C200H Units cannot be used on any Expansion Racks.
When using C200H Units and both CS1W-BC @@2 and CS1W-BI@@2
Backplanes are used, use a CPU Unit with a lot number of 000428 (28 April
2000) or later. (When using a CS-series-only CPU Backplane (CS1W-
BC @@2), the restriction described in note 3 above applies, and so C200H
Units cannot be mounted on Expansion Racks even if a CPU Unit with a lot number of 000428 or later is used.)
104
Basic System Configuration
Section 2-3
Examples of Mixing Backplanes ( ❍: Mountable, ×: Not mountable)
Example 3
Rack
Expansion Racks CS-series-only Expansion Backplane
Backplane name Backplane model
Expansion Racks CS-series Expansion Backplane CS1W-BI
CPU Rack CPU Backplane CS1W-BC
CS1W-BI
@@3
@@3
@@2
CS-series
Units
C200H Units
Example 1
Example 2
CPU Rack
CPU Rack
CPU Backplane
CPU Backplane
Expansion Racks CS-series-only Expansion Backplane
CS1W-BC
Expansion Racks CS-series Expansion Backplane CS1W-BI
Expansion Racks C200H Expansion I/O Backplane C200HW-BI
CS1W-BC
CS1W-BI
@@3
@@3
@@1-V1
@@3
@@2
❍
❍
×
❍
❍
❍
❍
❍
❍ (See note 4.) × (See note 2.)
❍ (See note 4.) ❍ (See note 4.)
❍ ❍
❍ (See note 4.) × (See note 2.)
Example 4
Expansion Racks C200H Expansion I/O Backplane C200HW-BI
CPU Rack CS-series-only CPU Backplane
Expansion Racks CS-series-only Expansion Backplane
CS1W-BC
CS1W-BI
@@1-V1
@@2
@@2
× ❍ (See note 4.)
❍ × (See note 3.)
❍ (See note 4.) × (See notes 2 and 3.)
Expansion Racks CS-series Expansion Backplane CS1W-BI @@3 ❍ (See note 4.) × (See note 3.)
Refer to
Configuration Device List and 2-4 Units on CS-series Units and
C200H Units.
CPU Rack
(Other than a 2-slot CPU Rack)
CS-series
I/O Connecting Cable
(30 cm, 70 cm, 2 m, 3 m,
5 m, 10 m, or 12 m)
CS to C200H I/O Connecting
Cables (30 cm, 70 cm, 2 m,
3 m, 5 m, 10 m, or 12 m)
CS-series Expansion Backplane
(3, 5, 8, 10 slots)
CS I/O Connecting Cables
Cable
CS1W-CN313
CS1W-CN713
CS1W-CN223
CS1W-CN323
CS1W-CN523
CS1W-CN133
CS1W-CN133B2
Length
0.3 m
0.7 m
2 m
3 m
5 m
10 m
12 m
CS to C200H I/O Connecting Cables
Cable
CS1W-CN311
CS1W-CN711
CS1W-CN221
CS1W-CN321
CS1W-CN521
CS1W-CN131
CS1W-CN131B2
Length
0.3 m
0.7 m
2 m
3 m
5 m
10 m
12 m
C200H Expansion I/O Backplane
(3, 5, 8, 10 slots)
105
Basic System Configuration
Section 2-3
Expansion Patterns
CS I/O
Connecting
Cable
CS I/O
Connecting
Cable
CS I/O
Connecting
Cable
1. CPU Rack connected to CS
Expansion Rack
The following diagrams show the 4 possible expansion patterns.
*
*
CPU Rack
(Excluding the
2-slot Rack.)
CS to C200H
I/O Connecting
Cable
CS Expansion
Rack
2. CPU Rack connected to C200H
Expansion I/O Rack
*
CPU Rack
(Excluding the
2-slot Rack.)
CS I/O Connecting Cable
3. CPU Rack connected to CS
Expansion Rack connected to
C200H Expansion I/O Rack
*
CPU Rack
(Excluding the
2-slot Rack.)
*
C200H
Expansion I/O
Rack
*
CS Expansion
Rack
C200H I/O Connecting Cable
*
CS Expansion
Rack
7 Expansion Racks max.
C200H I/O Connecting Cable
*
C200H
Expansion I/O
Rack
CS to C200H
I/O Connecting
Cable
3 Expansion
Racks max.
C200H I/O Connecting Cable
*
C200H
Expansion I/O
Rack
7 Expansion
Racks max. (3
C200H Expansion
I/O Racks max.)
*
CS Expansion
Rack
*
C200H
Expansion I/O
Rack
C200H I/O Connecting Cable
*
C200H
Expansion I/O
Rack
* Power Supply Unit
Note: The above configuration is not possible if a
CS-series-only CPU Backplane is used.
Note: The above configuration is not possible if a
CS-series-only CPU Backplane is used.
When using a CS-series-only CPU
Expansion Rack with a CPU Unit with a lot number of 000427 (27 April 2000) or earlier,
C200H Units cannot be used past the CSseries-only CPU Expansion Rack.
4. CPU Rack connected to CS1 Long-distance Expansion Racks
*
CPU Rack
(Excluding the
2-slot Rack.) The following Units can be mounted: CS1/C200H I/O Units,
CS1/C200H Special I/O Units, and CS1 CPU Bus Units.
CS1 Connecting Cable
(30 cm/70 cm)
I/O Control
Unit** *
CS1 Expansion
Rack
Series A (50 m max.)
I/O Interface
Unit
CV-series
Expansion
I/O Cables
(See table below.)
I/O Interface
Unit
Series B (50 m max.)
*
CS1 Long-distance
Expansion Rack
I/O Interface
Unit
*
CS1 Long-distance
Expansion Rack
I/O Interface
Unit
Terminator
*
CS1 Long-distance
Expansion Rack
* CS1 Long-distance
Expansion Rack
The following Units can be mounted: CS1 I/O
Units, CS1 Special I/O
Units, and CS1 CPU
Bus Units. (C200H
Units cannot be mounted.)
I/O Interface
Unit
*
CS1 Long-distance
Expansion Rack
I/O Interface
Unit *
CS1 Long-distance
Expansion Rack
* Power Supply Unit
**The I/O Control Unit can be mounted to the CPU Rack or a CS1 Expansion Rack
(Rack No. 1). A CS1 Long-distance Expansion Rack is a CS1 Expansion Rack connected after an I/O Control Unit.
Terminator
106
Basic System Configuration
Section 2-3
Note The following CV-series Expansion I/O Cables are used to connect to the CSseries Long-distance Expansion Racks (i.e., between the I/O Control Unit and the first I/O Interface Unit and between I/O Interface Units).
Model number
CV500-CN312
CV500-CN612
CV500-CN122
CV500-CN222
CV500-CN322
CV500-CN522
CV500-CN132
CV500-CN232
CV500-CN332
CV500-CN432
CV500-CN532
Length
0.3 m
0.6 m
1 m
2 m
3 m
5 m
10 m
20 m
30 m
40 m
50 m
Note CS-series Expansion Racks must be connected before C200H Expansion I/O
Racks. The following configuration is not allowed.
C200H Expansion I/O Rack
Not Allowed
CS1 Expansion Rack
Maximum Expansion Racks
Expansion pattern
CPU Rack with CS-series
Expansion Racks
CPU Rack with CS-series
Expansion Racks and
C200H Expansion I/O Racks
CPU Rack with C200H
Expansion I/O Racks
CPU Rack with CS-series
Expansion Racks and
CS-series Long-distance
Expansion Racks
Rack Maximum No. of Racks
CS-series Expansion Racks 7 Racks
CS-series Expansion Racks and C200H Expansion I/O
Racks
7 Racks (with 3 C200H
Expansion I/O Racks max.)
C200H Expansion I/O Racks 3 Racks
CS-series Expansion Racks and CS-series Long-distance Expansion Racks
7 Racks (with 1 CS-series
Expansion Rack max.)
Remarks
The total cable length must be 12 m or less.
The total cable length must be 0.7 m or less to the last
CS-series Expansion Rack.
The total cable length must be 50 m or less each for up to two series of CS-series
Long-distance Expansion
Racks (100 m max. total).
Note C200H Units (C200H Basic I/O Units, C200H Group-2 High-density I/O Units, and C200H Special I/O Units) cannot be used with CS-series-only CPU
Racks.
107
Basic System Configuration
Section 2-3
Rack Configurations
Racks
Rack
Standard CS-series Expansion Racks
CS-series-only Expansion
Configuration
CS-series Expansion Backplane
Power Supply Unit
CPU Backplane or CS-series
Expansion Backplane
C200H Expansion I/O
Backplane
CS I/O Connecting Cables
CS to C200H I/O Connecting
Cables
CS-series-only Backplane
Power Supply Unit
Remarks
One of each Unit is required.
Note CS-series Expansion
Racks can be connected to C200H
Expansion I/O Racks, however, C200H
Expansion I/O Racks must be connected after CS-series
Expansion Racks.
One of each Unit is required.
CPU Backplane or CS-series
Expansion Backplane
CS I/O Connecting Cables
C200H Expansion I/O Racks C200H Expansion I/O Backplane
Power Supply Unit
Note C200H Units and
Racks cannot be used with CS-series-only
CPU Racks or Expansion Racks.
One of each Unit is required.
CS-series Long-distance
Expansion Racks
CS-series Expansion
Backplane
C200H Expansion I/O
Backplane
CS to C200H I/O Connecting
Cables
C200H I/O Connecting
Cables
Mount an I/O Control Unit (CS1W-IC102) to the leftmost slot on the CPU Rack or the last CS-series Expansion Rack.
Mount an I/O Interface Unit (CS1W-II102) to the leftmost slot on each Long-distance Expansion Rack.
Attach a Terminator (CV500-TER01) to the last Long-distance Expansion Rack in each series. Two Terminators are provided with the I/O Control Unit.
Each I/O Control Unit and
I/O Interface Unit requires one slot.
These Units are not allocated I/O words.
Use CV-series I/O Connecting Cables.
A CS-series Expansion Rack cannot be connected to a
CS-series Long-distance
Expansion Rack using a CS
I/O Connecting Cable.
Configuration Device List
Name
Standard CS-series Expansion Backplanes
CS-series-only CS-series
Expansion Backplanes
C200H Expansion I/O
Backplanes
CS1W-BI033
Model
CS1W-BI053
CS1W-BI083
CS1W-BI103
CS1W-BI032
CS1W-BI052
CS1W-BI082
Specifications
3 slots
5 slots
8 slots
10 slots
3 slots
5 slots
8 slots
CS1W-BI102
C200HW-BI031
10 slots
3 slots
C200HW-BI051 5 slots
C200HW-BI081-V1 (See note.) 8 slots
C200HW-BI101-V1 (See note.) 10 slots
Cable Length
Can be used for Long-distance Expansion Racks.
Can be used for Long-distance Expansion Racks.
Cannot be used for Long-distance Expansion Racks.
Note Using the C200HW-BI081/BI101
The C200HW-BI081 or C200HW-BI101 can be used, but always use the
C200HW-BI081-V1 or C200HW-BI101-V1 if you are using the C200HW-
PA209R Power Supply.
108
Basic System Configuration
Section 2-3
Name
Power Supply Units
CS I/O Connecting Cables
CS to C200H I/O
Connecting Cables
C200H I/O Connecting
Cables
I/O Control Unit
I/O Interface Unit
Model
C200HW-PA204
C200HW-PA204C
C200HW-PA204R
C200HW-PA204S
C200HW-PA209R
C200HW-PD024
C200HW-PD025
CS1W-CN313 (See note.)
CS1W-CN713 (See note.)
CS1W-CN223
CS1W-CN323
CS1W-CN523
CS1W-CN133
CS1W-CN133B2
CS1W-CN311
CS1W-CN711
CS1W-CN221
CS1W-CN321
CS1W-CN521
CS1W-CN131
CS1W-CN131B2
C200H-CN311
C200H-CN711
C200H-CN221
C200H-CN521
C200H-CN131
CS1W-IC102
CS1W-II102
Specifications
100 to 240 V AC
Output capacity: 4.6 A at 5 V
DC
100 to 240 V AC (with replacement notification)
Output capacity: 4.6 A at 5 V
DC
100 to 240 V AC (with RUN output)
Output capacity: 4.6 A, 5 V
DC
100 to 120 V AC or 200 to
240 V AC (with 0.8 A 24 V
DC service power supply)
Output capacity: 4.6 A at 5 V
DC
100 to 120 V AC or 200 to
240 V AC (with RUN output)
Output capacity: 9 A at 5 V
DC
24 V DC
24 V DC
Connects CS-series Expansion Backplanes to CPU
Backplanes or other CSseries Expansion Backplanes.
---
0.3 m
0.7 m
2 m
3 m
5 m
Connects C200H Expansion
I/O Backplanes to CPU
Backplanes or CS-series
Expansion Backplanes.
Connects C200H Expansion
I/O Backplanes to other
C200H Expansion I/O Backplanes.
Mounts to the leftmost slot on the CPU Rack or a CS-series
Expansion Rack to enable connecting CS-series Longdistance Expansion Racks.
Mounts to the leftmost slot on an CS-series Long-distance
Expansion Rack.
12 m
0.3 m
0.7 m
2 m
5 m
10 m
---
10 m
12 m
0.3 m
0.7 m
2 m
3 m
5 m
10 m
Cable Length
Note Restrictions in Using CS-series I/O Connecting Cables
When using a CS1W-CN313 or CS1W-CN713 CS-series I/O Connecting
Cable with a CS1-H CPU Unit, always use a Cable manufactured on September 20, 2001 or later. Do not use Cables that do not have manufacturing numbers or Cables manufacture earlier than September 20, 2001.
109
Basic System Configuration
Section 2-3
Manufacturing Number Legend
Four-digit Numbers
@ @ @ @
Year (e.g., 1997 = 7, 2001 = 1
Month (January to September = 1 to 9, October to December = X to Z)
Day of month (01 to 31)
Six-digit Numbers
@ @ @ @ @ @
Symbol
Day of month (01 to 31)
Month (January to September = 01 to 12)
Year (e.g., 2003 = 03)
Name
CV-series I/O Connecting
Cables
Model
CV500-CN312
CV500-CN612
CV500-CN122
CV500-CN222
CV500-CN322
CV500-CN522
CV500-CN132
CV500-CN232
CV500-CN332
CV500-CN432
CV500-CN532
Specifications
Connects CS-series Longdistance Expansion Racks.
0.3 m
0.6 m
1 m
2 m
3 m
5 m
10 m
20 m
30 m
40 m
50 m
Cable Length
Connectable Units
Unit CS-series
Basic I/O Units
The following table shows the Units that can be connected to CPU Racks, CSseries Expansion Racks, and C200H Expansion I/O Racks.
Refer to 2-4 Units for details on the limitations on each particular Unit.
C200H Basic
I/O Units
Yes
C200H Group-2
High-density
I/O Units (Basic
I/O Units)
Yes Yes
CS-series
Special
I/O Units
C200H
Special I/O
Units
(See note 2.)
Yes
CPU Bus
Units
(See note 3.)
Yes Standard CPU
Rack
CS-series-only
CPU Rack
Standard CSseries Expansion Racks
C200H
Expansion I/O
Racks
CS-series-only
Expansion
Racks
CS-series
Long-distance
Expansion
Racks
Yes
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
No
No
Yes
Yes
No
No
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
No
Yes
Yes
No
Yes
Yes
(See note 2.)
Note 1.
The CS1W-INT01 and C200HS-INT01 Interrupt Input Units are Basic I/O
Units, but they can be mounted only to the CPU Rack.
110
Basic System Configuration
Section 2-3
Maximum Number of Units
Note
2.
Although CS-series CPU Bus Units can be mounted to CS-series Longdistance Expansion Racks, it is not recommended because doing so will increase the cycle time.
The maximum number of expansion slots is 80, so the maximum number of
Units that can be connected is 80. The total number of each type of Unit is not limited in the mounting location.
1.
CS1W-INT01 and C200HS-INT01 Interrupt Input Units are Basic I/O Units but can be connected to CPU Racks only (four C200HS-INT01 and two
CS1W-INT01 Units max. per CPU Rack).
2.
Up to 16 C200H Special I/O Units can be mounted.
3.
Up to 16 CPU Bus Units can be mounted.
2-3-4 SYSMAC BUS Slave Racks
SYSMAC BUS Slave Racks are used to perform basic CS-series remote I/O communications. The SYSMAC BUS Slave Rack allows comparatively smallscale (512 bits max.) remote I/O communications using Basic I/O Units and
Special I/O Units. The Slave Racks are connected using two-core cable or optical fiber cables. Units such as Basic I/O Units and Special I/O Units can be mounted to some Slave Racks. I/O Terminals can also be connected.
Configuration
Rack
SYSMAC BUS Slave
Racks
Configuration
Backplane
Remote I/O Slave Unit
Remarks
One of each required per
Rack.
SYSMAC BUS Remote I/O Master Unit (two-conductor or optical fiber cables)
SYSMAC BUS (two-conductor or optical fiber cables)
Remote I/O
Slave Rack Slave Rack
SYSMAC BUS
Remote I/O Slave
Unit
Maximum No. of Units and Racks
Per CPU Rack
Master Units
2 Units max.
Slave Racks
8 Racks max.
SYSMAC BUS
Remote I/O Slave
Unit
Per Master Unit
Slave Racks
8 Racks max.
Per Slave Rack
Maximum Units
10 Units max.
(depending on the
Backplane used)
111
Basic System Configuration
Section 2-3
Configuration Devices
Master Units
Unit
SYSMAC BUS
Wired Remote
I/O Master Units
SYSMAC BUS
Optical Remote
I/O Master Units
Model
C200H-RM201
C200H-RM001-
PV1
Maximum Units per CPU Unit
2 Units
2 Units
8
Maximum Slave Racks and I/O bits per CPU Unit and Master
Unit
Slave Racks I/O bits
1,280
(80 words)
8 1,280
(80 words)
Slave Rack communications cables
Transmission distance (total extension)
Two-core cable 200 m
Optical fiber cable (PCF or
APF)
(See note.)
PCF: 200 m
APF: 20 m
Note PCF: Plastic Clad Optical Fiber Cable
APF: All Plastic Optical Fiber Cable.
Slave Racks
Name
SYSMAC BUS Slave Rack
Backplanes
SYSMAC BUS Wired Remote
I/O Master Units
Model
C200H-BC101-V2
C200H-BC081-V2
C200H-BC051-V2
C200H-BC031-V2
C200H-RT201
C200H-RT202
SYSMAC BUS Optical Remote
I/O Master Units
C200H-RT001-P
C200H-RT002-P
10 Units
Specifications
8 Units
5 Units
3 Units
Power supply voltage: 100 to
120 V AC or 200 to 240 V AC
Power supply voltage:
24 V DC
Power supply voltage: 100 to
120 V AC or 200 to 240 V AC
Power supply voltage:
24 V DC
---
Remarks
Power Supply Unit is not required.
Note Words are allocated to Units on SYSMAC BUS Slave Racks from the
SYSMAC BUS Area and not from the I/O Bit Area.
Connectable Units
Unit CS-series
Basic I/O Units
SYSMAC BUS
Wired Slave
Racks
SYSMAC BUS
Optical Slave
Racks
No
No
C200H Basic
I/O Units
Yes
C200H Group-2
High-density I/O
Units (Basic I/O
Units)
No
CS-series Special I/O Units
No
C200H Special
I/O Units
Yes
(See note.)
CPU Bus Units
No
Yes No No Yes
(See note.)
No
Note 1.
C200H DeviceNet Master Units (C200HW-DRM21-V1), CompoBus/S
Master Units, PLC Link Units, and SYSMAC BUS Remote I/O Master Units cannot be connected to Wired Slave Racks.
2.
Special I/O Unit words (CIO 2000 to CIO 2959) are allocated to C200H
Special I/O Units according to unit numbers.
3.
Up to a total of 10 C200H Special I/O Units can be mounted to all Slave
Racks in a SYSMAC BUS Remote I/O System. Only unit numbers 0 to 9 can be used. The number of C200H Special I/O Units that can be mounted to any one Slave Rack depends on the specific Units that are used, as shown in the following table. For the purpose of calculating the maximum number of Units, Units are classified into four groups, A to D.
112
Basic System Configuration
Section 2-3
Units
Group
Maximum Units in each group for each Slave Rack
Maximum Units for all groups for each
Slave Rack
A
High-speed Counter Units,
NC111/NC112/NC113/NC213
Position Control Units, ASCII
Units, Analog I/O Units, ID
Sensor Units, Fuzzy Logic Units
4 Units max.
3A + B + 2C + 6D ≤ 12 and A + B + C + D ≤ 8
B
High-density I/O Units, Temperature Controller Units,
Heating/Cooling Control
Units, PID Control Units,
Cam Positioner Units
8 Units max.
C
Temperature
Sensor Units,
Voice Units
6 Units max.
D
NC211/NC413
Position Control Units,
Motion Control
Units
2 Units max.
Note I/O READ/WRITE instructions (IORD/IOWR) cannot be used with C200H
Special I/O Units that are mounted to a Slave Rack.
113
Units
Section 2-4
2-4 Units
2-4-1 Basic I/O Units
Input Units
CS-series Basic Input Units
Name Specifications Model
AC Input
Units
100 to 120 V DC,
100 to 120 V AC 16 inputs
CS1W-IA111
200 to 240 V AC, 16 inputs
CS1W-IA211
24 V DC, 16 inputs CS1W-ID211 DC Input
Units
Interrupt
Input
Units
Highspeed
Input
Units
DC Input
Units
24 V DC, 16 inputs
24 V DC, 16 inputs
24 V DC, 32 inputs
24 V DC, 64 inputs
CS1W-INT01
CS1W-IDP01
CS1W-ID231
CS1W-ID261
24 V DC, 96 inputs CS1W-ID291
Note
Number of bits allocated
(CIO 0000 to
CIO 0319)
16
CPU
Rack
Yes
C200H
Expansion I/O
Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Longdistance
Expansion
Racks
No Yes Yes No
SYSMAC
BUS
Slave
Racks
Reference
16
16
16
16
Yes
Yes
Yes
Yes
No
No
No
No
Yes
Yes
Yes
Yes
No
No
Yes (See notes 1 and 2.)
Yes
Yes (See notes 1 and 2.)
Yes
No
No
32
64
96
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
1.
The interrupt function can be used only when the Unit is mounted to the
CPU Rack. (The Interrupt Input Unit can be used as a regular I/O Unit on
Expansion Racks.)
2.
Can be used only with CPU Units with model numbers ending in “-V1,” i.e.,
CS1W-CPU4 @-V1 or CS1W-CPU6@-V1.
3.
The C200H-ID001 (8 no-voltage contact inputs, NPN) cannot be used with
CS-series PLCs.
114
Units
Section 2-4
C200H Basic Input Units
Name Specifications Model
AC Input
Units
AC/DC
Input
Units
DC Input
Units
Interrupt
Input
Units
100 to 120V AC,
8inputs
100 to 120V AC,
16inputs
100 to 120V AC,
16inputs
200 to 240V AC,
8inputs
C200H-IA121
C200H-IA122
C200H-IA122V
C200H-IA221
16
16
16
16
200 to 240V AC,
16inputs
200 to 240V AC,
16inputs
12 to 24
V AC/V DC,
8inputs
24 V AC/V DC,
16inputs
12 to 24 V DC,
8inputs
C200H-IA222
C200H-IA222V
C200H-IM211
C200H-IM212
C200H-ID211
16
16
16
16
16
24 V DC, 16 inputs C200H-ID212 16
12 to 24 V DC,
8inputs
C200HS-INT01 16
Number of bits allocated
(CIO 0000 to
CIO 0319)
CPU
Rack
Yes
Yes
Yes
Yes
Yes
C200H
Expansion I/O
Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Longdistance
Expansion
Racks
Yes Yes No
SYSMAC
BUS
Slave
Racks
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
Reference
and Appen- dix A Specifications of
Yes Yes No Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
(See note
1.)
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
No
Note 1.
The interrupt function can be used only when the Unit is mounted to the
CPU Rack. (The Interrupt Input Unit can be used as a regular I/O Unit on
Expansion Racks.)
2.
The C200H-ID001 (8 no-voltage contact inputs, NPN) cannot be used with
CS-series PLCs.
3.
C200H Units and Racks cannot be used with CS-series-only CPU Racks or Expansion Racks.
C200H High-density Input Units (Group 2)
Name Specifications Model Number of bits allocated
(CIO 0000 to
CIO 0319)
DC Input
Units
24 V DC, 32 inputs C200H-ID216 32
24 V DC, 32 inputs C200H-ID218 32
12 V DC, 64inputs C200H-ID111 64
24 V DC, 64 inputs C200H-ID217 64
24 V DC, 64 inputs C200H-ID219 64
Yes
Yes
Yes
Yes
Yes
CPU
Rack
C200H
Expansion I/O
Racks
Yes
Yes
Yes
Mountable Racks
CS-series
Expan-
Yes
Yes
Yes sion
Racks
CS-series
Longdistance
Expansion
Racks
No
No
No
SYSMAC
BUS
Slave
Racks
No
No
No
Yes
Yes
Yes
Yes
No
No
No
No
Reference
Note C200H Units and Racks cannot be used with CS-series-only CPU Racks or
Expansion Racks.
115
Units
Section 2-4
Basic Output Units
CS-series Basic Output Units
Name Specifications Model
Relay
Output
Units
Triac
Output
Units
Transistor Output Units
250 V AC/
24 V DC, 2 A;
120 V DC, 0.1A;
8 points, independent contacts
250 V AC/24 V
DC, 2 A; 120 V
DC, 0.1 A;
16 points
250 V AC, 1.2 A,
8outputs, with fuse burnout detection circuit
250 V AC, 0.5 A,
16 outputs
12 to 24 V DC,
0.5 A,
16sinkingoutputs
12 to 24 V DC,
0.5 A,
32sinkingoutputs
12 to 24 V DC,
0.3 A,
64sinkingoutputs
12 to 24 V DC,
0.1 A,
96sinkingoutputs, with fuse burnout detection circuit
CS1W-OC201
CS1W-OC211
CS1W-OA201
CS1W-OA211
CS1W-OD211
CS1W-OD231
CS1W-OD261
CS1W-OD291
24 V DC, 0.5 A,
16sourcingoutputs, load short-circuit protection
CS1W-OD212
24 V DC, 0.3 A,
32sourcingoutputs, load short-circuit protection
CS1W-OD232
24 V DC, 0.3 A,
64sourcingoutputs, load short-circuit protection
CS1W-OD262
24 V DC, 0.1 A,
96sourcingoutputs, with fuse burnout detection circuit
CS1W-OD292
Number of bits allocated
(CIO 0000 to
CIO 0319)
16
16
16
CPU
Rack
Yes
Yes
Yes
C200H
Expansion I/O
Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Longdistance
Expansion
Racks
No Yes Yes No
SYSMAC
BUS
Slave
Racks
No
No
Yes
Yes
Yes
Yes
No
No
Reference
and
16
16
32
64
96
16
32
64
96
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
116
Units
Section 2-4
C200H Basic Output Units
Name
Relay
Output
Units
Triac
Output
Units
Transistor Output
Units,
Sinking
Specifications Model
250V AC/24V DC,
2 A, independent contacts, 5 outputs max.
250 V AC/24 V DC,
2 A, independent contacts, 8 outputs max.
250 V AC/24 V DC,
2 A, independent contacts, 8 outputs max.
250 V AC/24 V DC,
2 A, independent contacts, 8 outputs max.
250V AC/24V DC,
2 A, 8 outputs max.
250V AC/24V DC,
2 A, 12outputs max.
250 V AC/24V DC,
2A, 12 outputs max.
250V AC/24V DC,
2 A, 16 outputs max.
250V AC/24V DC,
2 A, 16 outputs max.
250 V AC, 1 A,
8outputs, with fuse burnout detection circuit
250 V AC, 1.2 A,
8outputs, with fuse burnout detection circuit
250 V AC, 0.3 A,
12outputs
250 V AC, 0.5 A,
12outputs
24 V DC, 2.1 A,
8outputs
12 to 48 V DC, 1A,
8 outputs
24 V DC, 0.3 A,
12outputs
24 V DC, 0.3 A,
16outputs
C200H-OC223
C200H-OC224
C200H-OC224V
(no longer manufactured)
C200H-OC224N
C200H-OC221
C200H-OC222
250 V AC/24V DC,
2A, 12 outputs max.
250V AC/24V DC,
2 A, 16 outputs max.
C200H-OC222V
(no longer manufactured)
16
C200H-OC222N 16
C200H-OC226
(no longer manufactured)
16
C200H-OC226N 16
C200H-OC225
C200H-OA221
(no longer manufactured)
C200H-OA223
C200H-OA222V
C200H-OA224
C200H-OD213
C200H-OD411
C200H-OD211
C200H-OD212
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
Number of bits allocated
(CIO 0000 to
CIO 0319)
CPU
Rack
Yes
C200H
Expansion I/O
Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Longdistance
Expansion
Racks
Yes Yes No
SYSMAC
BUS
Slave
Racks
Yes
Reference
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
117
Units
Section 2-4
Name Specifications Model
Transistor Output
Units,
Sourcing
24 V DC, 0.8 A,
8outputs, load shortcircuit protection.
5 to 24 V DC, 0.3 A,
8outputs
5 to 24 V DC, 0.3 A,
12outputs
24 V DC, 1 A,
16outputs, load short-circuit protection.
C200H-OD214
C200H-OD216
C200H-OD217
16
16
16
C200H-OD21A 16
Number of bits allocated
(CIO 0000 to
CIO 0319)
CPU
Rack
Yes
C200H
Expansion I/O
Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Longdistance
Expansion
Racks
Yes Yes No
SYSMAC
BUS
Slave
Racks
Yes
Reference
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
Note C200H Units and Racks cannot be used with CS-series-only CPU Racks or
Expansion Racks.
C200H High-density Group-two Output Units
Name Specifications Model Number of bits allocated
(CIO 0000 to
CIO 0319)
CPU
Rack
Yes
C200H
Expansion I/O
Racks
Yes
Mountable Racks
CS-series
Expan-
Racks
Yes sion
CS-series
Long-distance
Expansion
Racks
No
SYSMAC
BUS
Slave
Racks
No
Reference
Transistor Output Units
4.5 V DC/16 mA to
26.4 V/100mA,
32sinking outputs
4.5 V DC/16 mA to
26.4 V/100mA,
64sinking outputs
24 V DC, 0.5 A,
32 outputs, sourcing outputs, load short-circuit protection
C200H-OD218
C200H-OD219
32
64
C200H-OD21B 32
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
Note C200H Units and Racks cannot be used with CS-series-only CPU Racks or
Expansion Racks.
118
Units
Section 2-4
Mixed I/O Units
CS-series Basic I/O Units
Name Specifications Model
DC
Input/
Transistor Output Units
TTL I/O
Units
24V DC, 32 inputs
12 to 24 V DC,
0.3A, 32 sinking outputs
24V DC, 48 inputs
12 to 24 V DC,
0.1A, 48 sinking outputs, with fuse burnout detection circuit
24V DC, 32 inputs
24 V DC, 0.3A, 32 sourcing outputs, load short-circuit protection.
24V DC, 48 inputs
12 to 24 V DC,
0.1A, 48 sourcing outputs, with fuse burnout detection circuit
5 V DC, 3.5 mA,
32 inputs
5 V DC, 35 mA,
32 outputs
CS1W-MD261
CS1W-MD291
CS1W-MD262
CS1W-MD292
CS1W-MD561
Number of bits allocated
(CIO 0000 to
CIO 0319)
64-point
I/O
96-point
I/O
64-point
I/O
CPU
Rack
Yes
Yes
Yes
C200H
Expansion I/O
Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Longdistance
Expansion
Racks
No Yes Yes No
SYSMAC
BUS
Slave
Racks
No Yes Yes No
Reference
and
No Yes Yes No
96-point
I/O
64-point
I/O
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
No
B7A
Input
Units
B7A
Output
Units
B7A
Input/
Output
Units
B7A Interface Units
CS-series Basic I/O Units
Name Specifications
32 inputs
32 outputs
Model
CS1W-B7A12
CS1W-B7A02
Number of bits allocated
(CIO 0000 to
CIO 0319)
32
32
CPU
Rack
Yes
Yes
C200H
Expansion I/O
Racks
No
Mountable Racks
CS-series
Expan-
Racks
Yes sion
CS-series
Longdistance
Expansion
Racks
Yes
SYSMAC
BUS
Slave
Racks
No
Reference
No Yes Yes No
16 inputs/
16 outputs
32 inputs/
32 outputs
CS1W-B7A21 32-point
I/O
CS1W-B7A22 64-point
I/O
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
No
119
Units
Section 2-4
C200H Basic I/O Units
Name
B7A
Input
Units
B7A
Output
Units
Specifications
16 inputs
16 outputs
Model
C200H-B7AI1
C200H-B7AO1
Number of bits allocated
(CIO 0000 to
CIO 0319)
16
16
CPU
Rack
Yes
Yes
C200H
Expansion I/O
Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Longdistance
Expansion
Racks
Yes Yes No
SYSMAC
BUS
Slave
Racks
Yes
Reference
Yes Yes No Yes
Note C200H Units and Racks cannot be used with CS-series-only CPU Racks or
Expansion Racks.
C200H High-density I/O Units (Group 2)
Name Specifications Model Number of bits allocated
(CIO 0000 to
CIO 0319)
B7A
Input
Units
B7A
Output
Units
B7A I/O
Units
32 inputs
32 outputs
16 inputs,
16outputs
32 inputs,
32outputs
C200H-B7A12 32
C200H-B7A02 32
C200H-B7A21 32-point
I/O
C200H-B7A22 64-point
I/O
CPU
Rack
Yes
Yes
C200H
Expansion I/O
Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Longdistance
Expansion
Racks
Yes Yes No No
SYSMAC
BUS
Slave
Racks
Reference
Yes Yes No No
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
Note C200H Units and Racks cannot be used with CS-series-only CPU Racks or
Expansion Racks.
Analog Timer Unit
C200H Basic Unit
Name Specifications
Analog
Timer
Units
4-point timer
Model
C200H-TM001
Number of bits allocated
(CIO 0000 to
CIO 0319)
16 points
CPU
Rack
Yes
C200H
Expansion I/O
Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Longdistance
Expansion
Racks
Yes Yes No
SYSMAC
BUS
Slave
Racks
Yes
Reference
Note C200H Units and Racks cannot be used with CS-series-only CPU Racks or
Expansion Racks.
120
Units
Section 2-4
2-4-2 Special I/O Units
CS-series Special I/O Units
Name Specifications Model
Isolated Thermocouple Input
Unit
High-resolution
Isolated Thermocouple Input
Unit
Isolated Resistance Thermometer Input
Unit
Isolated
Ni508.4
Ω
Resistance
Thermometer
Input Unit
High-resolution
Isolated Resistance Thermometer Input
Unit
Isolated 2-wire
Transmission
Device Input
Unit
Isolated DC
Input Unit
High-resolution
Isolated DC
Input Unit
Isolated Control Output Unit
(Analog Output
Unit)
Isolated Control Output Unit
(Analog Output
Unit, advanced type)
Analog I/O Unit 4 inputs (4 to 20 mA,
1 to 5 V, etc.)
4 outputs (1 to 5 V,
0 to 10 V, etc.)
Analog Input
Unit
4 inputs (4 to 20 mA,
1 to 5 V, etc.)
8 inputs (4 to 20 mA,
1 to 5 V, etc.)
Analog Output
Unit
16 inputs (4 to 20 mA,
1 to 5 V, etc.)
4 outputs (1 to 5 V,
4 to 20 mA, etc.)
8 outputs
(1 to 5 V, etc.)
8 outputs
(4 to 20 mA)
4 inputs (D, E, J, K,
N, R, S, T, or ±80 mV
DC)
4 inputs (B, E, J, K,
L, N, R, S, T, U,
WRe5-26, PL II, or mV)
4 inputs
(Pt100, JPt100)
Power Transducer Input Unit
DC Input Unit
(100 mA)
Isolated Pulse
Input Unit
4 inputs (Ni508.4
4 inputs (Pt100,
JPt100, Pt50, or
Ni508.4 Ω)
Ω)
4 inputs (1 to 5 V, 4 to 20 mA) 2-wire transmission device power supply built in
4 inputs (1 to 5 V,
4 to 20 mA, etc.)
4 inputs (1 to 5 V,
4 to 20 mA, etc.)
4 outputs (1 to 5 V,
4 to 20 mA)
4 outputs
( −10 to 10 V, −1 to
1 V: 1/16,000 resolution; 0 to 10 V, 0 to
5 V, 0 to 1 V: 1/8,000 resolution; 0 to 5 V:
1/4,000 resolution)
8 inputs ( −1 to 1 mA,
0 to 1 mA)
8 inputs ( −100 to
100 mV, 0 to
100 mV)
4 pulse inputs (0 to
20 kpulses/s, 0 to 20 pulses/s)
CS1W-MAD44
CS1W-AD041-V1
CS1W-AD081-V1
CS1W-AD161
CS1W-DA041
CS1W-DA08V
CS1W-DA08C
CS1W-PTS01-V1
CS1W-PTS11
CS1W-PTS02
CS1W-PTS03
CS1W-PTS12
CS1W-PTW01
CS1W-PDC01
CS1W-PDC11
CS1W-PMV01
CS1W-PMV02
CS1W-PTR01
CS1W-PTR02
CS1W-PPS01
Number of words allocated
(CIO 2000 to
CIO 2959)
Number of words allocated
(D20000 to
D29599)
10 words 100 words
CPU
Rack
Yes
C200H
Expansion
I/O Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Longdistance
Expansion
Racks
No Yes Yes
SYSMAC
BUS Slave
No
Racks
Unit
No.
Reference
0 to 95 W345
10 words
10 words
20 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
100 words Yes
100 words Yes
200 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
100 words Yes
Note Allocated two unit numbers.
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
0 to 95
0 to 95
0 to 95
(See note.)
0 to 95
0 to 95
0 to 95
0 to 95 W368
0 to 95
0 to 95
0 to 95
0 to 95
0 to 95
0 to 95
0 to 95
0 to 95
0 to 95
0 to 95
0 to 95
0 to 95
121
Units
Section 2-4
Name Specifications Model Number of words allocated
(CIO 2000 to
CIO 2959)
10 words
Number of words allocated
(D20000 to
D29599)
100 words
CPU
Rack
Yes
C200H
Expansion I/O
Racks
No
Mountable Racks
CS-series
Expansion
Racks
Yes
CS-series
Longdistance
Expansion
Racks
Yes No
SYSMAC
BUS
Slave
Racks
Unit No.
0 to 95
Reference
W376 Position
Control
Units
Motion
Control
Units
Customizable
Counter
Unit
Highspeed
Counter
Unit
Pulse output, 1 axis, 1 to
500 kpulses/s, open-collector output
Pulse output, 1 axis, 1 to
500 kpulses/s, line-driver output
Pulse outputs, 2 axes, 1 to
500 kpulses/s, open-collector outputs
Pulse outputs, 2 axes, 1 to
500 kpulses/s, line-driver outputs
CS1W-NC113
CS1W-NC133
CS1W-NC213
CS1W-NC233
Pulse outputs, 4 axes, 1 to
500 kpulses/s, open-collector outputs
Pulse output, 4 axes, 1 to
500 kpulses/s, line-driver outputs
Two axes, analog output for each axis, supports Glanguage
CS1W-NC413
CS1W-NC433
CS1W-MC221-V1
Four axes, analog output for each axis, supports Glanguage
4 Kwords, 12 contact inputs, 8 contact outputs
4 Kwords, 12 contact inputs, 8 contact outputs,
2 pulse inputs, 2 pulse outputs
4 Kwords, 12 contact inputs, 8 contact outputs,
1 pulse input, 1 analog input, 2 analog outputs
4 Kwords, 12 contact inputs, 8 contact outputs,
2 pulse inputs, 2 analog outputs
Pulse inputs for two axes, counting rate: 500 kcps max., line driver compatible
Pulse inputs for four axes, counting rate: 500 kcps max., line driver compatible
Conforms to IEEE-488-
1978.
CS1W-MC421-V1
CS1W-HIO01
CS1W-HCP22
CS1W-HCA12-V1
CS1W-HCA22
CS1W-CT021
CS1W-CT041
CS1W-GPI01 GP-IB
Interface
Unit
Compo-
Net Master Unit
CompoNet remote I/O
Communications mode No. 0: 128 inputs/128 outputs for Word Slaves
Communications mode No. 1: 256 inputs/256 outputs for Word Slaves
Communications mode No. 2: 512 inputs/512 outputs for Word Slaves
Communications mode No. 3: 256 inputs/256 outputs for Word Slaves and
128 inputs/128 outputs for Bit Slaves
Communications mode No. 8: 1,024 inputs/1,024 outputs for Word Slaves and
256 inputs/256 outputs for Bit Slaves maximum
CS1W-CRM21
Note
10 words
10 words
10 words
20 words
20 words
30 words
50 words
10 words
10 words
10 words
10 words
40 words
40 words
10 words
20 words
40 words
80 words
80 words
10 words
100 words Yes
100 words Yes
100 words Yes
200 words Yes
200 words Yes
None
None
Yes
Yes
100 words
(90 for general data ex-change)
Yes
Yes
400 words Yes
400 words Yes
100 words Yes
None
None
None
None
Depends on setting
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
1.
Allocated two unit numbers.
2.
Allocated three unit numbers.
3.
Allocated five unit numbers.
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
0 to 95
0 to 95
0 to 95
0 to 95 (See note 1.)
0 to 95 (See note 1.)
0 to 95 (See note 2.)
W359
0 to 95 (See note 3.)
0 to 95
0 to 95
W384
0 to 95
0 to 95
0 to 95 (Allocated words for 4 unit numbers.)
0 to 95 (Allocated words for 4 unit numbers.)
0 to 95
W902
W410
0 to 95 (Allocated words for 2 unit numbers.)
0 to 95 (Allocated words for 4 unit numbers.)
0 to 95 (Allocated words for 8 unit numbers.)
0 to 95 (Allocated words for 8 unit numbers.)
W456
0 to 95 (Allocated words for 1 unit numbers.)
122
Units
Section 2-4
C200H Special I/O Units
C200H High-density I/O Units
Note 1.
Functionally, these Units are I/O Units, but are categorized as Special I/O
Units.
2.
C200H Units and Racks cannot be used with CS-series-only CPU Racks or Expansion Racks.
Name Specifications
DC Input
Units
TTL Input
Units
Transistor
Output
Units
TTL Output
Units
TTL I/O
Units
DC
Input/Transistor Output Units
24 V DC, 32 inputs
5 V DC, 32 inputs
24 V DC, 32 sinking outputs
5 V DC, 32 sinking outputs
5 V DC, 16 inputs,
16 sinking outputs
24 V DC, 16 inputs,
16 sinking outputs
12 V DC, 16 inputs,
16 sinking outputs
Model
C200H-ID215
C200H-ID501
C200H-OD215
C200H-OD501
Number of words allocated
(CIO 2000 to
CIO 2959)
Number of words allocated
(D20000 to
D29599)
10 words
10 words
10 words
10 words
C200H-MD501 10 words
C200H-MD215 10 words
C200H-MD115 10 words
None
None
None
None
None
None
None
CPU
Rack
Yes
Yes
Yes
Yes
C200H
Expansion
I/O Racks
Mountable Racks
CS-series
Expansion
Racks
CS-series
Long-distance
Expansion
Racks
Yes Yes No
SYSMAC
BUS Slave
Racks
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
Unit
No.
Reference
0 to 9
0 to 9
0 to 9
0 to 9
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
0 to 9
0 to 9
0 to 9
C200H Special I/O Units
Note C200H Units and Racks cannot be used with CS-series-only CPU Racks or
Expansion Racks.
Name Specifications Model Number of words allocated
(CIO 2000 to
CIO 2959)
Number of words allocated
(D20000 to
D29599)
10 words None
CPU
Rack
Yes
C200H
Expansion I/O
Racks
Yes
Mountable Racks
CS-series
Expansion Racks
CS-series
Long-distance
Expansion
Racks
Yes No
SYSMAC
BUS Slave
Yes
Racks
Unit
No.
Reference
0 to 9 W225 Temperature
Control Units
Thermocouple input, time-proportioning PID, or ON/OFF transistor output
Thermocouple input, time-proportioning PID, or ON/OFF voltage output
Thermocouple input,
PID current output
Temperature-resistance thermometer input, time-proportioning PID, or ON/OFF transistor output
Temperature-resistance thermometer input, time-proportioning PID, or ON/OFF voltage output
Temperature-resistance thermometer input, PID current output
C200H-TC001
C200H-TC002
C200H-TC003
C200H-TC101
C200H-TC102
C200H-TC103
10 words
10 words
10 words
10 words
10 words
None
None
None
None
None
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
123
Units
Section 2-4
Name Specifications Model
Heat/Cool
Temperature
Control Units
Temperature
Sensor Units
PID Control
Units
Cam Positioner Units
ASCII Units
Analog Input
Units
Analog Output Units
Analog I/O
Units
Thermocouple input, time-proportioning PID, or ON/OFF transistor output
C200H-TV001
Thermocouple input, time-proportioning PID, or ON/OFF voltage output
C200H-TV002
Thermocouple input,
PID current output
Temperature-resistance thermometer input, time-proportioning PID, or ON/OFF transistor output
C200H-TV003
C200H-TV101
C200H-TV102 Temperature-resistance thermometer input, time-proportioning PID, or ON/OFF voltage output
Temperature-resistance thermometer input, PID current output
Thermocouple input,
K(CA) or J(IC), selectable
Temperature-resistance thermometer,
JPt 100 Ω
Temperature-resistance thermometer,
Pt 100 Ω
Voltage output/current input, time-proportioning PID, or ON/OFF transistor output
C200H-TV103
C200H-TS001
C200H-TS002
C200H-TS101
C200H-TS102
C200H-PID01
Voltage output/current input, time-proportioning PID, or ON/OFF voltage output
Voltage output/current input, PID current output
48 cam outputs (16 external outputs and 32 internal outputs)
Resolver speed: 20 µs
(5 kHz)
C200H-PID02
C200H-PID03
C200H-CP114
24-Kbyte RAM
200-Kbyte RAM, 2 RS-
232C ports
C200H-ASC02
C200H-ASC11
200-Kbyte RAM, RS-
232C port, RS-422/485 port
200-Kbyte RAM, 3 RS-
232C ports
C200H-ASC21
C200H-ASC31
C200H-AD001 4 to 20 mA, 1 to 5/0 to
10 V (selectable), 4 inputs, 1/4,000 resolution
4 to 20 mA, 1 to 5/0 to
10 V/–10 to +10 V
(selectable); 8 inputs;
1/4,000 resolution
4 to 20 mA, 1 to 5/0 to
10 V/–10 to +10 V
(selectable); 8 inputs;
1/4,000 resolution
4 to 20 mA, 1 to 5/0 to
10 V (selectable); 2 outputs; 1/4,000 resolution
C200H-AD002
C200H-AD003
C200H-DA001
4 to 20 mA, –10 to
+10 V (selectable),
4 outputs
1 to 5 V, 0 to 10 V, –10 to +10 V (selectable), 8 outputs; 1/4,000 resolution
C200H-DA002
C200H-DA003
4 to 20 mA, 8 outputs;
1/4,000 resolution
2 inputs (4 to 20 mA,
1 to 5 V, etc.)
2 outputs (4 to 20 mA,
1 to 5 V, etc.)
C200H-DA004
C200H-MAD01
Number of words allocated
(CIO 2000 to
CIO 2959)
Number of words allocated
(D20000 to
D29599)
10 words None
CPU
Rack
Yes
C200H
Expansion I/O
Racks
Yes
Mountable Racks
CS-series
Expansion Racks
CS-series
Long-distance
Expansion
Racks
Yes No
SYSMAC
BUS Slave
Yes
Racks
Unit
No.
Reference
0 to 9 W240
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
10 words
None
None
None
None
None
None
None
None
None
None
None
None
11 words
None
100 words
100 words
100 words
100 words
100 words
100 words
100 words
None
100 words
100 words
100 words
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
0 to 9
0 to F
0 to F
0 to F
0 to 9
0 to F
0 to F
0 to 9
0 to F
0 to F
0 to F
0 to F
W124
W241
W224
W165
W306
W229
W345
W229
W325
124
Units
Section 2-4
Name Specifications Model Number of words allocated
(CIO 2000 to
CIO 2959)
Number of words allocated
(D20000 to
D29599)
High-speed
Counter
Units
Motion Control Units
Position Control Units
ID Sensor
Units
SYSMAC
BUS Remote
I/O Master
Units
Two axes, pulse output for each axis, speeds 1 to 500,000 pps, directly connects to servomotor driver
Four axes, pulse output for each axis, speeds 1 to 500,000 pps, directly connects to servomotor driver
Electromagnetic coupling
Microwave type
Adaptive differential pulse-code modulation
8 inputs, 4 outputs
Voice Unit
(See note 6.)
Fuzzy Logic
Unit
JPCN-1 Unit Settable as master or slave
DeviceNet
Master Units
C200H I/O
Link Units
DeviceNet Remote I/O,
1,600 bits max.
DeviceNet Slave, 512 inputs/512 outputs max.
Compo-
Bus/S Master Units
PLC Link
Units
CompoBus/S Remote
I/O, 256 bits max.
PLC Link, single level:
32 units, multilevel:
16 Units
Wired
Optical
One-axis pulse input, counting rate: 50 kcps max.
One-axis pulse input, counting rate: 75 kcps max., line driver compatible
Two-axis pulse input, counting rate: 75 kcps max., line driver compatible
G-language programmable, two-axis analog outputs
Two axes, pulse output for each axis, speeds: 1 to 250,000 pps, directly connects to servomotor driver
One axis, pulse output, speed: 1 to 99,990 pps
One axis, pulse output, speeds 1 to 250,000 pps, directly connects to servomotor driver, line driver compatible
(Z level)
One axis, pulse output, speeds 1 to 500,000 pps, directly connects to servomotor driver
C200H-CT001-V1 10 words
C200H-CT002
C200H-CT021
C200H-MC221
C200H-NC211
C200H-NC111
C200H-NC112
C200HW-NC113
C200HW-NC213
C200HW-NC413
C200H-IDS01-V1 10 words
C200H-IDS21
C200H-OV001
C200H-FZ001
C200H-JRM21
C200HW-DRM21-
V1
C200HW-DRT21
C200HW-SRM21-
V1
C200H-LK401
C200H-RM201
C200H-RM001-
PV1
10 words
20 words
20 words
20 words
10 words
10 words
10 words
10 words
20 words
10 words
10 words
10 words
10 words
(See note 1.)
10 words
10 words or
20 words
(See note 2.)
(See note 3.)
100 words
100 words
100 words
100 words
(Uses first 2 words.)
200 words
100 words
100 words
100 words
100 words
200 words
None
None
100 words
100 words
100 words
None
None
None
None
---
---
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
CPU
Rack
C200H
Expansion I/O
Racks
Yes
Mountable Racks
CS-series
Expansion Racks
CS-series
Long-distance
Expansion
Racks
Yes No
SYSMAC
BUS Slave
Yes
Racks
Unit
No.
Reference
0 to 9 W141
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
0 to 9
0 to F
0 to F
0 to 9
0 to 9
0 to 9
0 to F
0 to F
0 to F
0 to 9
0 to 9
0 to 9
0 to 9
0 to F
0 to F
0 to F
0 to F
0 to 9
0 to 3
0 to 3
W311
W315
W314
W166
W137
W128
W334
W153
W172
W208
---
W347
W347
W266
W135
W120
W136
Note 1.
The DeviceNet Slaves are allocated up to 1,600 I/O bits (100 words) in the
DeviceNet Area.
2.
PLC Link Units are allocated up to 1,024 bits (64 words) in the Link Area.
3.
Each Slave Rack connected to a Remote I/O Master Unit is allocated
10 words in the SYSMAC BUS Area.
Each I/O Terminal is allocated 1 word in the I/O Terminal Area.
4.
The C200HW-CLK21 Controller Link Unit (C200HX/HG/HE) cannot be used. Use the CS1W-CLK21(-V1) or CS1W-CLK23 Controller Link Unit
(CS-series CPU Bus Unit). Data links and message services are supported between C200HX/HG/HE and CS-series PLCs.
125
Units
Section 2-4
5.
The C200H-LK @@@-@@ Host Link Unit (C200H, C200HS,
C200HX/HG/HE) cannot be used. Use the CS1W-SCU21 Serial Communications Unit (CS-series CPU Bus Unit).
6.
Observe the following precautions when using the C200H-OV001 Voice
Unit.
• The Voice Unit cannot be used if an OMRON Programmable Terminal
(PT) set for NT Link Mode is connected to the peripheral port or RS-
232C port on the CPU Unit.
• When using both a Voice Unit and an OMRON PT, connect the PT to a CS1W-SCB @@@ Serial Communications Board or to a CS1W-
SCU @@@ Serial Communications Unit.
• When a Voice Unit is mounted, set to baud rate for the peripheral port or RS-232C port on the CPU Unit to 9,600 bps or less when communicating with a computer or other external device.
126
Units
Section 2-4
2-4-3 CS-series CPU Bus Units
Name
Controller
Link Units
SYSMAC
LINK Units
Serial Communications
Unit
Ethernet
Unit
FL-net Unit
Wired
Optical ring,
H-PCF cable
Optical ring,
GI cable
Coaxial
Optical
Specifications
Two RS-232C Ports
Two RS-422A/ 485 Ports
10Base-5
100Base-TX (Can be used as 10Base-T.)
100Base-TX cyclic transmissions and message transmissions
Model Number of words allocated
CIO 1500 to
CIO 1899
Number of words allocated
D30000 to
D31599
CPU
Bus
Unit
System
Settings
CS1W-
CLK21-V1,
CS1W-
CLK23
CS1W-
CLK12-V1,
CS1W-
CLK13
CS1W-
CLK52-V1,
CS1W-
CLK53
CS1W-
SLK21
CS1W-
SLK11
25 words 100 words Used
(data link tables)
25 words 100 words Used
(data link tables)
25 words 100 words Used
(data link tables)
Yes
Yes
Yes
25 words 100 words Used
(data link tables)
25 words 100 words Used
(data link tables)
Yes
Yes
25 words 20 words Not used Yes CS1W-
SCU21-V1
CS1W-
SCU31-V1
CS1W-
ETN01
25 words
25 words
20 words
100 words
Not used
Used
Yes
Yes
CS1W-
ETN21
CS1W-
FLN22
25 words
25 words
100 words
100 words
Used
Used
Yes
Yes
DeviceNet
Unit
PROFIBUS-
DP Master
Unit
Loop Control
Unit
DeviceNet remote I/O 2,048 pt, user settings without Configurator
PROFIBUS-DP remote I/O
7,168 words
PID operations: 32 max.
Loop, process operations:
250 max.
CS1W-
DRM21-V1
CS1W-
PRM21
CS1W-
LC001
25 words 100 words Not used Yes
25 words 100 words Not used Yes
25 words None Not used Yes
25 words None Not used
CPU
Rack
C200H
Expansion
I/O Racks
No
Mountable Racks
CS-series
Expansion
Racks
Yes
CS-series
Long-dis-
Racks
Yes tance
Expansion
SYSMAC
BUS Slave
No
Racks
No Yes Yes No
Unit
No.
Reference
0 to F
(See note
1.)
W309
---
Yes
No
No
No
No
No
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
No
No
No
No
No
No
No
No
No
No
No
0 to F
(See note
2.)
0 to F
W367
W336
0 to F
(See note
2.)
0 to F
(See note
2.)
W343
W420
W421
0 to F
(See note
2.)
W440
0 to F W380
0 to F
0 to F
(See note
3.)
W409
W374
W375
0 to F W426 Position
Control
Units supporting
MECHA-
TROLINK-II communications
High-resolution Motion
Control Unit
MECHATROLINK-II,
16 axes max.
CS1W-
NCF71
SYSMAC
SPU Unit
(High-speed
Storage and
Processing
Unit)
MECHATROLINK II, Real axes: 30, Virtual axes: 2,
Special motion control language
One CF card type I/II slot
(used with
OMRON HMC-
EF @@@ Memory Card)
One
Ethernet port
Two
Ethernet ports
CS1W-
MCH71
CS1W-
SPU01
CS1W-
SPU02
25 words
Not used
Not used
100 words
Not used
Not used
Not used
Not used
Not used
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
No
0 to F
0 to F
---
W229
Note 1.
A maximum of eight Units can be mounted.
2.
A maximum of four Units can be mounted.
3.
A maximum of three Units can be mounted.
4.
Some CPU Bus Units are allocated words in the CPU Bus Unit Setting Area. The system must be designed so that the number of words allocated
in the CPU Bus Unit Setting Area does not exceed its capacity. Refer to 2-
7 CPU Bus Unit Setting Area Capacity for details.
127
Expanded System Configuration
Section 2-5
2-5 Expanded System Configuration
2-5-1 Serial Communications System
The CS-series system configuration can be expanded by using the following serial communications ports.
• CPU Unit built-in ports × 2 (peripheral port and RS-232C port)
• Serial Communications Board ports × 2 (RS-232C or RS-422/485)
• Serial Communications Unit ports × 2 (RS-232C)
• ASCII Unit ports × 2 (RS-232C or RS-422/485)
1,2,3...
1.
If the CPU Unit built-in ports, the Serial Communications Board ports, or
Serial Communications Unit ports are used, words can be allocated to various protocols, such as Host Link and protocol macro.
2.
Up to 16 Serial Communications Units and 16 ASCII Units can be connected to one CPU Unit. The system configuration can then be expanded by connecting devices with RS-232C or RS-422/485 ports, such as Temperature Sensor Units, Bar Code Readers, ID Systems, personal computers,
Board Computers, Racks, and other companies’ PLCs.
ASCII Unit (16 Units max.)
Serial Communications Unit (16 Units max.)
CPU Unit
Serial Communications Board
Communications ports 1
Peripheral port
RS-232C port
Communications ports 2
Expanding the system configuration as shown above allows a greater number of serial communications ports, and greater flexible and simpler support for different protocols.
3.
The Serial Gateway is supported for CPU Units with unit version 3.0 or later and Serial Communications Boards/Units with unit version 1.2 or later.
• CPU Units with unit version 3.0 or later: Gateway from FINS network to serial communications (CompoWay/F only) is possible through the peripheral port and RS-232C port.
• Serial Communications Boards/Units with unit version 1.2 or later: Gateway from FINS network to serial network (CompoWay/F, Modbus, or Host
Link) is possible. Using a Gateway to Host Link enables Host Links with the PLC as master.
128
Expanded System Configuration
System Configuration Example
Section 2-5
Serial Communications Unit
Serial Communications Unit
Ver. 1.2 or later
CompoWay Master
Modbus Master Host Link Master
Programming Device
CX Programmer
Programming
Console
Programmable
Terminal
OR
Host computer
NT Link
Serial Communications Board
CPU Unit
Peripheral port
Peripheral Bus
Communications conditions automatically recognized.
RS-232C port Host Link slave
RS-232C port
Protocol macro
General-purpose external devices
(such as other companies' PLCs)
CPU Unit
Host Link slave
RS-232C port
Protocol macro
General-purpose external devices
(such as Temperature Sensor
Units, Bar Code Readers)
CompoWay/F- compatible device
Modbus- compatible device
Refer to page 135 for a table showing which communications protocols are
supported by each Unit.
2-5-2 Systems
The serial communications port mode (protocol) can be switched in the CPU
Unit’s PLC Setup. Depending on the protocol selected, the following systems can be configured.
Protocols
Protocol
Host Link (SYSMAC WAY) slave
NT Links (1: N)
The following protocols support serial communications.
Main connection
Personal computer
OMRON Programmable
Terminals
No-protocol (customer) communications
General-purpose external devices
OMRON Programmable
Terminals
Use
Communications between the Host computer and the
PLC. Commands can be sent to a computer from the
PLC.
No-protocol communications with general-purpose devices.
High-speed communications with Programmable
Terminals via direct access.
Applicable commands, communications instructions
Host Link commands/ FINS commands. Commands can be sent to a computer from the PLC.
TXD(236), RXD(235),
TXDU(256), RXDU(255)
None
129
Expanded System Configuration
Section 2-5
Protocol
Peripheral bus (See note 1.) Programming Devices
CX-Programmer
Protocol macro (See note 2.) General-purpose external devices
General-purpose (BASIC languages) (See note 3.)
Serial Gateway
CompoWay/F Master
(See note 4.)
Modbus Master
(See note 5.)
Host Link FINS
(SYSWAY) Master
(See note 5.)
Note
Main connection
General-purpose external devices
OMRON Component
PLC
CompoWay/F slave
Modbus slave
Host Link FINS (SYSWAY) slave (PLC)
Use Applicable commands, communications instructions
None Communications between
Programming Devices and the PLC from the computer.
Sending and receiving messages (communications frames) according to the communications specifications of external devices.
(SYSMAC-PST is used to create protocols by setting various parameters.)
Free communications with general-purpose external devices using BASIC commands.
Converts FINS commands that are received into CompoWay/F, Modbus, or Host
Link protocols, and then transmits the converted command to the serial line.
Converts FINS commands
(encapsulated CompoWay/F commands) received at the serial port into CompoWay/F commands.
Converts FINS commands
(encapsulated Modbus commands) received at the serial port into Modbus commands.
Converts FINS commands into FINS commands encapsulated in Host Link
PMCR(260) instruction
BASIC program
FINS command
2803 hex received
(including sending FINS command using
CMND(490))
FINS command
2804 hex or 2805 hex received
(including sending FINS command using
CMND(490))
Any FINS command received except those sent to serial port
(including sending FINS command using
CMND(490))
1.
The peripheral bus mode is used for Programming Devices excluding Programming Console. If Programming Console is to be used, set pin 4 of the
DIP switch on the front panel of the Unit to OFF so that the default peripheral port communications parameters are used instead of those specified in the PLC Setup.
2.
Serial Communications Unit or Serial Communications Board required.
3.
ASCII Unit required.
4.
CPU Unit with version 3.0 or later (peripheral port and RS-232C port) and
Serial Communications Board/Unit with unit version 1.2 or later only.
5.
Serial Communications Board/Unit with unit version 1.2 or later only.
Host Link System (SYSWAY 1:N Mode) (Slave)
The Host Link System allows the I/O memory of the PLC to be read/written, and the operating mode to be changed from a Host computer (personal computer or Programmable Terminal) by executing Host Link commands or FINS commands that are preceded by a header and followed by a terminator. Alternatively, FINS commands (preceded by a header and followed by a terminator) can be sent to a computer connected via the Host Link System by
130
Expanded System Configuration
Section 2-5
executing Network Communications Instructions (SEND(090), RECV(098), and CMND(490)) from the CPU Unit.
Host computer
FINS commands sent via
SEND/RECV/CMND instructions from the PLC
Applicable port
CPU Unit
Peripheral port
Yes
RS-232C port
Yes
(See note 1.) (See note 2.)
Serial
Communications
Board
Yes
Serial
Communications
Unit
Yes
Host Link commands or FINS commands
Note 1.
Set pin 4 of the DIP switch on the front panel of the CPU Unit to ON, and set the serial communications mode in the PLC Setup to Host Link.
2.
Set pin 5 of the DIP switch on the front panel of the CPU Unit to OFF, and set the serial communications mode in the PLC Setup to Host Link.
3.
Host Link master functions can be performed by sending the CMND(490) instruction via the Serial Gateway when using Serial Communications
Boards/Units with unit version 1.2 or later.
PLC (Host Link Master)
Serial Communications
Board/Unit
CMND(490)
FINS command sent
Serial
Gateway
FINS
FINS
Host Link header
Host Link terminator
PLC (Host Link slave)
No-protocol (Custom) Communications System
No-protocol communications allow simple data transmissions, such as inputting bar code data and outputting printer data using communications port I/O instructions. The start and completion codes can be set, and RS and CS signal control is also possible with no-protocol communications.
The following table shows the usage of each communications port I/O instruction, based on the communications port being used and the direction of the data transfer (sending or receiving).
Communications port
Send
Receive
CPU Unit's built-in
RS-232C port
TXD(236)
RXD(235)
Serial port on a Serial Communications Unit (unit version 1.2 or later)
TXDU(256)
RXDU(255)
Serial port on a Serial Communications Board (unit version 1.2 or later)
TXD(236)
RXD(235)
131
Expanded System Configuration
Section 2-5
C PU SCU
RS-232C
Applicable port
CPU Unit
Peripheral port
No
RS-232C port
Yes
(See note 1.)
Serial
Communications
Unit (SCU)
Yes
(See note 2.)
RXDU
TXDU
General-purpose external device
RXD
TXD
Note
General-purpose external device
1.
Set pin 5 of the DIP switch on the front panel of the CPU Unit to OFF, and set the serial communications mode in the PLC Setup to no-protocol communications.
2.
No-protocol communications are supported for Serial Communications
Units with unit version 1.2 or later only.
NT Link System (1:N Mode)
If the PLC and Programmable Terminal (PT) are connected together using
RS-232C ports, the allocations for the PT’s status control area, status notify area, objects such as touch switches, indicators, and memory maps can be allocated in the I/O memory of the PLC. The NT Link System allows the PT to be controlled by the PLC, and the PT can periodically read data from the status control area of the PLC, and perform necessary operations if there are any changes in the area. The PT can communicate with the PLC by writing data to the status notify area of the PLC from the PT. The NT Link system allows the
PT status to be controlled and monitored without using PLC ladder programs.
The ratio of PLCs to PTs is 1: n (8 ≥ n ≥ 1).
Set the PT communications settings for a 1:N NT Link. Either one or up to eight PTs can be connected to each PLC.
Version-1 CPU Units support high-speed NT Links (1:N mode). In this way, equipment monitoring and settings can be made faster from the PT. The applicable PTs are the NS-series PTs, the NT31(C)-V2 and the NT631(C)-V2.
1:N Mode 1:N Mode
Applicable port
RS-232C RS-232C
CPU Unit
Peripheral port
Yes
(See note 1.)
RS-232C port
Yes
(See note 2.)
Serial
Communications
Board
Yes
Serial
Communications
Unit
Yes
RS-232C to RS-422/485
Conversion Adapter
Programmable
Terminal
RS-422A/485
Note 1. Turn ON pin 4 on the DIP switch on the front of the CPU Unit and set the serial communications mode in the
PLC Setup for an NT Link.
2. Turn OFF pin 5 on the DIP switch on the front of the CPU Unit and set the serial communications mode in the
PLC Setup for an NT Link.
Programmable
Terminal
Programmable
Terminal
Programmable
Terminal
132
Expanded System Configuration
Note
Section 2-5
1.
The PLC can be connected to any PT port that supports 1:N NT Links. It cannot be connected to the RS-232C ports on the NT30 or NT30C, because these ports support only 1:1 NT Links.
2.
The NT20S, NT600S, NT30, NT30C, NT620S, NT620C, and NT625C cannot be used if the CPU Unit’s cycle time is 800 ms or longer (even if only one of these PTs is connected).
3.
The Programming Console functionality of a PT (Expansion Function) can be used only when the PT is connected to the RS-232C or peripheral port on the CPU Unit. It cannot be used when connected to an RS-232C or RS-
422A/485 port on a Serial Communications Board or Serial Communications Unit.
4.
When more than one PT is connected to the same PLC, be sure that each
PT is assigned a unique unit number. Malfunctions will occur if the same unit number is set on more than one PT.
5.
The 1:1 and 1:N NT Link protocols are not compatible with each other, i.e., they are separate serial communications protocols.
Protocol Macros
The CX-Protocol is used to create data transmission procedures (protocols) for general-purpose external devices according to the communications specifications (half-duplex or full-duplex, asynchronous) of the general-purpose external devices. The protocols that have been created are then recorded in a
Serial Communications Board, enabling data to be sent to and received from the external devices by simply executing the PMCR(260) instruction in the
CPU Unit. Protocols for data communications with OMRON devices, such as
Temperature Controller, Intelligent Signal Processors, Bar Code Readers, and
Modems, are supported as standard protocols. (See note.)
Note The standard protocols are provided with the CX-Protocol, Serial Communications Boards, and Serial Communications Units.
Host computer
Protocol CX-Protocol or PSS Support
Software for protocol macro function
Applicable port
CPU Unit
Peripheral port RS-232C port
No No
Serial
Communications
Board
Yes
Serial
Communications
Unit
Yes
Messages
CompoWay/F
(Host Function)
Messages
General-purpose external device
The CS-series CPU Unit can operate as a host to send CompoWay/F commands to OMRON components connected in the system. CompoWay/F commands are executed by using the CompoWay/F send/receive sequences in the standard protocols of the protocol macro function.
133
Expanded System Configuration
Section 2-5
Protocol macro
CompoWay/F command
CompoWay/F
OMRON device
Serial Gateway Mode
When using CPU Units with unit version 3.0 or later (peripheral port and RS-
232C port), the received FINS message is automatically converted into CompoWay/F according to the message (see note). When Serial Communications
Boards/Units with unit version 1.2 or later are used, the received FINS message is automatically converted into either CompoWay/F, Modbus-RTU, Modbus-ASCII, or Host Link FINS according to the message.
Note CPU Units with unit version 3.0 or later (peripheral port and RS-232C port) support automatic conversion into CompoWay/F only (automatic conversion into Modbus-RTU, Modbus-ASCII, and Host Link FINS is not possible).
CompoWay/F, Modbus-RTU, Modbus-ASCII
FINS
CompoWay
(See note.)
CPU Unit with unit version 3.0 or later
(peripheral port or RS-
232C port)
Serial Communications
Board/Unit with unit version 1.2 or later
Network
CMND(490)
FINS command sent
CompoWay
(See note.)
Serial
Gateway
FINS
CompoWay
(See note.)
Note: Or Modbus-RTU command or Modbus-ASCII command.
These commands cannot be sent to the CPU Unit.
CompoWay-compatible
OMRON Component, or
Modbus-RTU-compatible or Modbus-ASCIIcompatible device
Host Link FINS
FINS
Serial Communications
Board/Unit with unit version 1.2 or later
Note: Not supported for CPU Units
Network
CMND(490)
FINS
Serial
Gateway
PLC (Host Link Master)
FINS
Host Link header
Host Link terminator
FINS command sent
FINS
Host Link header
Host Link terminator
CX-Programmer or other
Programming Device that uses CX-Server as the communications driver
PLC (Host Link slave)
134
Expanded System Configuration
Section 2-5
Unit/Protocol Compatibility
Unit Model Port
CPU Units CS1G/H-
CPU @@-E
Serial
Communications
Boards
CS1W-SCB21-
V1
Peripheral Yes
RS-232C
RS-232C
Yes
---
RS-232C ---
CS1W-SCB41-
V1
RS-232C ---
RS-422/485 ---
Serial
Communications
Units
ASCII
Units
CS1W-SCU21-
V1
RS-232C
RS-232C
CS1W-SCU31-
V1
RS422A/
485
RS422A/
485
---
---
C200H-ASC11 RS-232C
RS-232C
---
---
C200H-ASC21 RS-232C ---
RS-422/485 ---
C200H-ASC31 RS-232C
RS-232C
RS-232C
(Terminal port)
---
---
---
Peripheral bus
(See note 1.)
---
---
---
---
---
---
---
---
---
Host
Link
(slave)
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No-protocol
(customer) communications
---
Yes
Yes (See note 2.)
Yes (See note 2.)
Yes (See note 2.)
Protocol
--macro
---
Yes
Yes
Yes
NT Link
(1:N
Mode)
Yes
Yes
Yes
Yes
Yes
Yes (See note 2.)
Yes Yes
Yes
---
---
---
---
---
---
---
Yes (See note 2.)
Yes (See note 2.)
Yes (See note 2.)
Yes (See note 2.)
Yes
Yes
Yes
Yes
---
---
---
---
---
---
---
Yes
Yes
Yes
---
---
---
---
---
---
---
Generalpurpose
(using
BASIC)
---
---
---
---
---
---
---
---
---
---
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Serial
Gateway
(See note 2.)
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
---
---
---
---
---
---
---
Note 1.
The peripheral bus mode is used for Programming Devices excluding Programming Console. If Programming Console is to be used, set pin 4 of the
DIP switch on the front panel of the Unit to OFF so that the default peripheral port communications parameters are used instead of those specified in the PLC Setup.
2.
Supported for CPU Units with unit version 3.0 or later and Serial Communications Boards/Units with unit version 1.2 or later only. For CPU Units, however, only automatic CompoWay/F connection is possible.
135
Expanded System Configuration
Host Link System
Section 2-5
The following system configurations are possible for a Host Link System.
Host Link Slave
C-mode Commands
FINS Commands
Host Link
Host Link commands
Host Link
FINS
Host Link terminator
Host Link header
In Host Link mode, FINS commands contained between a header and terminator can be sent from the host computer to any PLC on the Network. Communications are possible with PLCs on the same or different types of interconnected Networks up to two levels away (three levels including the local level but not including the Host Link connection).
Host Link
FINS
Host Link terminator
Host Link header
FINS
Controller Link Network or Ethernet
Bridge
Host Link
Controller Link Network
Ethernet
Controller Link
Network Gateway
136
Expanded System Configuration
Section 2-5
Host Link
Communications from Host Computer
SEND(090)/
RECV(098)
CMND(490)
SEND(090): Sends data to the Host computer.
RECV(098): Receives data from the Host computer.
CMND(490): Executes a specified FINS command.
FINS
Host Link terminator
Host Link header
In Host Link mode, FINS commands contained between a header and terminator can be sent from the host computer to any PLC on the Network. Communications are possible with PLCs on the same or different types of interconnected Networks up to two levels away (three levels including the local level but not including the Host Link connection).
SEND(090)/
RECV(098)
CMND(490)
Host Link
FINS
Host Link terminator
Host Link header
Controller
Link Network
FINS
Host Link Master
Host Link
Bridge
Ethernet
SEND(090)/
RECV(098)
CMND(490)
Controller Link Network
Controller Link Network
Gateway
Using a Serial Communications Board/Unit with unit version 1.2 or later and
Serial Gateway mode enables received FINS commands to be enclosed in a
Host Link header and terminator and transmitted to the PLC on the serial line
(Host Link slave).
137
Expanded System Configuration
Section 2-5
FINS
Network
CMND(490)
Serial Communications
Board/Unit with unit version 1.2 or later
Serial
Gateway
FINS
PLC (Host Link Master)
FINS
Host Link header
Host Link terminator
FINS command sent
FINS
Host Link header
PLC (Host Link slave)
Host Link terminator
CX-Programmer or other
Programming Device that uses CX-Server as the communications driver
FINS Messages
Flexible Communications
FINS (Factory Interface Network Service) messages are commands and responses that are used as a message service in an OMRON Network. FINS messages enable the user to control operations such as sending and receiving data and changing operating modes when necessary. The features of
FINS messages are as follows:
FINS messages are defined in the application layer and do not rely on the physical layer, data link layer, or other lower-level layers. This enables flexible communications on the CPU bus and different types of networks. Basically, communications with Ethernet, SYSMAC NET, SYSMAC LINK, Controller
Link, DeviceNet, or Host Link Networks, and between the CPU Unit and CPU
Bus Units or Inner Boards is possible via the CPU bus.
CS1 CPU Bus Unit
Inner Board
Ethernet
TCP/IP FINS
FINS
Host Link
FINS
FINS
Controller Link
Note A TCP/IP header must be attached to the FINS command for an Ethernet Network, and a Host Link header must be attached to the FINS command for a
Host Link Network
138
Expanded System Configuration
Supports Network Relay
Section 2-5
Up to three network levels (eight levels for unit version 2.0 or later), including the local network, can be bypassed to access other Racks.
Network 2
Network 1 Network 3
Access to CPU Unit Plus
Other Devices on Racks
Note With CS/CJ-series CPU Units Ver. 2.0 or later, remote programming/monitoring is possible up to 8 levels away. Refer to
1-6-5 Communications through a
Maximum of 8 Network Levels for details.
The CPU Unit, CS-series CPU Bus Units, personal computers (boards), Inner
Boards, and other devices can be identified and specified using unit addresses.
CS1 CPU Bus Unit
Inner Board
CPU Unit
Personal computer board
Network-to-Serial
Conversion or Network-to-
Serial-to-Network
Conversion
Using a Serial Communications Board/Unit with unit version 1.2 or later and
Serial Gateway mode enables received FINS commands to be automatically converted into CompoWay/F, Modbus-RTU, Modbus-ASCII, or Host Link FINS commands according to the FINS message. FINS commands that have been converted into Host Link FINS commands can also be converted back into
Host Link FINS commands.
FINS
FINS
Network
FINS
Network
Serial Communications
Unit with unit version 1.2 or later
Serial
Gateway
FINS
Serial (Host Link)
FINS
Network
PLC
(Host Link slave)
139
Expanded System Configuration
Section 2-5
2-5-3 Communications Network System
The following network systems can be configured when using CS-series
Units.
Ethernet
Message Communications
Host computer to PLC
PLC to PLC or Host computer
FTP Server Function
Host computer to PLC
Transmission of files to Memory
Card installed in CPU Unit
Ethernet Unit
Socket Service
Sends/receives data using TCP or UDP protocol
Controller Link Unit
Controller Link Support Board
Controller Link
Simple Network configuration
(twisted-pair cables/ optical fiber cables)
Data link and message communications
Large-capacity, flexible, and effective data links
Message communications and large-capacity data transmission
Links between PLC and personal computer
Optical Controller Link Units provide a bypass function when a node fails.
DeviceNet
Multi-vendor network
DeviceNet
Remote I/O message communications
Remote I/O: Many points, free allocation
Message communications between PLCs, DeviceNet and Explicit messages
Multi-level network
Various connection methods
Superior Slaves
Remote I/O Terminals,
Remote Adapters, Analog
I/O Terminals, Sensor
Terminals, I/O Link Units,
Temperature Input
Terminals, High-density
I/O Terminals
Configurator
CompoBus/S
High-speed remote I/O
Various connection methods
Superior Master Units
Serial Communications Units
CPU Units
Many Types of Slaves
Remote I/O Terminals, Remote I/O Modules, Sensor
Amp Terminals, Sensor Terminals, Bit Chain Terminals
SYSMAC BUS Remote I/O
Remote I/O via I/O Units
Multiple and optical fiber cables
Slave Racks, I/O Terminals, I/O Relay Terminals
140
Expanded System Configuration
Ethernet
Section 2-5
If an Ethernet Unit is connected to the system, FINS messages can be used to communicate between the Host computer connected to the Ethernet and the PLC, or between PLCs. By executing FTP commands for the PLC from the Host computer connected to the Ethernet, the contents of the files on the
Memory Card installed in the CPU Unit can be read or written (transferred).
Data can be sent and received using UDP and TCP protocols. These functions enable a greater compatibility with information networks.
Host computer
FTP command
Ethernet
FINS FINS
Controller Link
DeviceNet
Ethernet Unit Ethernet Unit
The Controller Link Network is the basic framework of the OMRON PLC FA
Network. Connecting a Controller Link Unit to the network enables data links between PLCs, so that data can be shared without programming, and FINS message communications between PLCs, which enable separate control and data transfer when required. The Controller Link Network connections use either twisted-pair cables or optical fiber cables. Data links and message communications are also possible between the PLC and personal computer. Data links enable large-capacity and free allocations. FINS message communications also allow large-capacity data transfer.
Controller Link Unit Controller Link Unit
Messages
Controller Link
Support
Board
Controller Link
Free allocation
Data link
DeviceNet is a multi-vendor network consisting of multi-bit control and information systems and conforms to the Open Field DeviceNet specification.
Connecting a DeviceNet Master Unit to the network enables remote I/O communications between the PLC and the Slaves on the network. Remote I/O communications enable large-capacity I/O and user-set allocations. Analog
I/O Terminals are used for the Slaves. Message communications are possible between PLCs and between the PLC and DeviceNet devices manufactured by other companies.
141
Expanded System Configuration
Section 2-5
Name
CS-series
DeviceNet
Unit
C200H
DeviceNet
Master Unit
C200HW-
DRM21-V2
The following Units can be used to connect to a DeviceNet network from a
CS-series PLC. There are differences in functionality, including in the words that are allocated for fixed allocations.
Model Classification
CS1W-DRM21 CS-series CPU
Bus Unit
C200H Special
I/O Unit
Master/slave Fixed allocations for remote I/O master
Master and slave In CS-series
DeviceNet Area
One of following three groups
Outputs: CIO 3200 to CIO 3263
Inputs: CIO 3300 to CIO 3363
Outputs: CIO 3400 to CIO 3463
Inputs: CIO 3500 to CIO 3563
Master only In C200H
DeviceNet Area
Outputs: CIO 3600 to CIO 3663
Inputs: CIO 3700 to CIO 3763
Outputs: CIO 0050 to CIO 0099
Inputs: CIO 0350 to CIO 0399
DeviceNet
Master Unit
DeviceNet
Master Unit
Messages
Remote I/O DeviceNet Slaves
CompoBus/S
CompoBus/S is a high-speed ON/OFF bus for remote I/O communications.
Connecting a CompoBus/S Master Unit to the network allows remote I/O communications between the PLC and Slaves. High-speed communications are performed with 256 points in a cycle time of 1 ms max.
CompoBus/S Master Unit
PROFIBUS-DP
CompoBus/S
Remote I/O
PROFIBUS (PROcess FIeldBUS) is an open fieldbus standard for a wide range of applications in manufacturing, processing, and building automation.
The Standard, EN 50170 (the Euronorm for field communications), to which
PROFIBUS adheres, ensures vendor independence and transparency of operation. It enables devices from various manufacturers to intercommunicate without having to make any special interface adaptations.
142
Expanded System Configuration
Section 2-5
PROFIBUS-DP Master Unit
PROFIBUS-DP
Remote I/O
Communications Network Overview
System Network
Information networks Ethernet
Control networks
Controller Link
RS-232C →
Controller Link
Controller Link
PLC Link
DeviceNet
CompoBus/S
PROFIBUS-DP
Function Communications Communications
Device
Ethernet Unit Between Host computer and PLC.
Between PLCs.
Between Host computer and Memory
Card installed in CPU
Unit.
Between PLC and nodes with socket service, such as UNIX computers.
Between PLC and personal computer directly connected to the Network.
Between Host Link computer and PLC on the Network.
Between PLCs.
FINS message communications
FTP server
Socket service
FINS message communications
Data link (offset, simple settings)
Host Link commands and gateway.
FINS message communications
Data link (offset, simple settings)
Simple data link
PLC and Network devices (Slaves).
Controller Link Support Board and Controller Link Unit
RS-232C cables and
Controller Link Unit
Controller Link Unit
FINS message communications in an open network.
Large-capacity remote
I/O (fixed or free allocation) in an open network
High-speed remote I/O in a network with
OMRON devices only.
Large-capacity remote
I/O (user-set allocation) in an open network
PLC Link Unit
C200H DeviceNet
Master Unit (C200HW-
DRM21-V1) and Configurator
CompoBus/S Master
Unit
PROFIBUS-DP Master
Unit and Configurator
143
Expanded System Configuration
Section 2-5
Communications Specifications
Network
Ethernet
Controller Link
PLC Link
DeviceNet
Communications
Messages
Data link
Remote
I/O
Yes -----
Yes
---
Yes
Yes
Yes
---
---
---
Yes
Max. baud rate
Communications distance
Max. No. of Units
Communications medium
10 Mbps
100 Mbps
2.5 km/
100 m
100 m
2 Mbps Twistedpair cables:
500 m
(1.5 km with two
Repeater
Units)
Optical cables:
20 km/
30km
128 Kbps 500 m 32
---
---
62
(62 for
Wired
Units only with
Repeater
Units, 32 without
Repeater
Units)
Coaxial or twistedpair
Twistedpair
Special
(twistedpair) cables or optical fiber cables
100 m 63
RS-
232C,
RS-422, optical fiber cables
Special cables
500 Kbps
Communications cycle:
Approx.
5 ms (128 inputs,
128 outputs)
Data link capacity
(per net-
---
--work)
32,000 words
Max. remote
I/O points
---
---
---
64 words ---
---
Connect-
Host computer-to-
PLC, PLCto-PLC
PLC-to-PLC, personal computer-to-
PLC able devices
2,048 PLC-to-
Slave
(Slaves:
Remote I/O
Terminals,
Remote
Adapters.
Sensor Terminals,
CQM1 I/O
Link Units,
Analog Output Terminals, Analog
Input Terminals)
144
Unit Current Consumption
Section 2-6
Network Communications
Messages
Data link
Remote
I/O
CompoBus/S ----Yes
Max. baud rate
Communications distance
750 Kbps
Communications cycle:
Approx.
1 ms max.
(128 inputs,
128 outputs)
100 m 32
Max. No. of Units
Communications medium
Two-core wires, special flat cables
---
Data link capacity
(per network)
Max. remote
I/O points
256
PROFIBUS-DP ----Yes 12 Mbps
Communications cycle:
Approx.
3.5 ms max. (128 inputs,
128 outputs)
100 m 125 Special cables
--7,168 words
Connectable devices
PLC-to-
Slave
(Slaves:
Remote I/O
Terminals,
Remote I/O
Modules.
Sensor Terminals, Sensor Amp
Terminals,
Bit Chain
Terminals)
PLC-to-
Slave
(Slaves: All
PROFIBUS-
DP slaves)
2-6 Unit Current Consumption
The amount of current/power that can be supplied to the Units mounted in a
Rack is limited by the capacity of the Rack’s Power Supply Unit. Refer to the following tables when designing your system so that the total current consumption of the mounted Units does not exceed the maximum current for each voltage group and the total power consumption does not exceed the maximum for the Power Supply Unit.
2-6-1 CPU Racks and Expansion Racks
The following table shows the maximum currents and power that can be supplied by Power Supply Units in CPU Racks and Expansion Racks (both CSseries Expansion Racks and C200H Expansion I/O Racks).
When calculating current/power consumption in a CPU Rack, be sure to include the power required by the CPU Rack and CPU Unit themselves. Likewise, be sure to include the power required by the Expansion Rack itself
When calculating current/power consumption in an Expansion Rack.
Power Supply
Unit
Max. Current Consumption
5-V group
(Internal logic)
26-V group
(Relays)
24-V group
(Service)
C200HW-PA204 4.6 A
C200HW-PA204S 4.6 A
0.625 A
0.625 A
None
0.8 A
C200HW-PA204R 4.6 A
C200HW-PA204C 4.6 A
C200HW-PD204 4.6 A
C200HW-PA209R 9 A
C200HW-PD025 5.3 A
0.625 A
0.625 A
0.625 A
1.3 A
1.3 A
None
None
None
None
None
Max. Total
Power
Consumption
30 W
30 W
30 W
30 W
30 W
45 W
40 W
145
Unit Current Consumption
Section 2-6
2-6-2 SYSMAC BUS Remote I/O Slave Racks
The following table shows the maximum currents and power that can be supplied by Power Supply Units in SYSMAC BUS Remote I/O Slave Racks. Be sure to include the power required by the Rack itself When calculating current/power consumption.
Slave Unit
2.7 A
Max. Current Consumption
5-V group
(Internal logic)
26-V group
(Relays)
0.625 A
24-V group
(Service)
0.8 A
Max. Total
Power
Consumption
28 W C200H-RT201
(Wired)
C200H-RT202
(Wired)
C200H-RT001-P
(Optical)
C200H-RT002-P
(Optical)
2.7 A
2.7 A
2.7 A
0.625 A
0.625 A
0.625 A
None
0.8 A
None
23 W
28 W
23 W
1,2,3...
The current consumed by each voltage group must not exceed the maximum current shown in the table above.
1.
Current required at 5 V DC by all Units (A) ≤ Max. Current shown in table
2.
Current required at 26 V DC by all Units (B) ≤ Max. Current shown in table
3.
Current required at 24 V DC by all Units (C) ≤ Max. Current shown in table
Also, the power consumed by all Units must not exceed the maximum shown in the table above.
A × 5 V DC + B × 26 V DC + C × 24 V DC ≤ Max. Power shown in table
2-6-3 Example Calculations
Example 1 In this example, the following Units are mounted to a CPU Rack with a
C200HW-PA204S Power Supply Unit.
Unit Model Quantity Voltage group
5 V DC 26 V DC 24 V DC
0.11 A ----CPU Backplane
(8 slots)
CPU Unit
Input Units
CS1W-BC083 1
CS1H-CPU66
C200H-ID216
CS1W-ID291 2
C200H-OC221 2
1
2
1.10 A
0.10 A
0.20 A
0.01 A Output Units
Special I/O Unit
CS-series CPU Bus
Unit
C200HW-NC213
CS1W-CLK21
Service power supply (24 V DC)
1
1
0.3 A used
0.30 A
0.33 A
---
---
---
---
0.075 A
---
---
---
---
---
---
---
---
---
0.3 A
Current Consumption
Group Current consumption
5 V DC 0.11 A + 1.10 A + 0.10 A × 2 + 0.20 A × 2 + 0.01 A × 2 + 0.30 A + 0.33 A
= 2.46 A ( ≤4.6 A)
26 V DC 0.075 A × 2 = 0.15 A (≤0.625 A)
24 V DC 0.3 A = 0.3 A ( ≤0.8 A)
146
Unit Current Consumption
Example 2
Example 3
Section 2-6
Power Consumption
2.46 A × 5 V + 0.15 A × 26 V + 0.3 A × 24 V
= 12.3 W + 3.9 W + 7.2 W
= 23.4 W ( ≤30 W)
In this example, the following Units are mounted to a CS-series Expansion
Rack with a C200HW-PA209R Power Supply Unit.
Unit Model Quantity
CS1W-BI103 1
Voltage group
5 V DC 26 V DC 24 V DC
0.23 A ----CS-series Expansion Backplane
(10 slots)
Input Units
Output Units
CS1W-ID291 2
CS1W-OD291 8
0.20 A
0.48 A
---
---
---
---
Current Consumption
Group
5 V DC
Current consumption
0.23 A + 0.20 A × 2 + 0.48 A × 8 = 4.47 A (≤9 A)
26 V DC ---
24 V DC ---
Power Consumption
4.47 A × 5 V = 22.35 W (≤45 W)
In this example, the following Units are mounted to a SYSMAC BUS Remote
I/O Slave Rack with a C200H-RT201 Slave Unit.
Unit Model Quantity
Input Units
Output Units
C200H-ID211 2
C200H-OD411 3
Voltage group
5 V DC 26 V DC 24 V DC
0.11 A -----
0.14 A -----
Current Consumption
Group Current consumption
5 V DC 0.11 A × 2 + 0.14 A × 3 = 0.64 A (≤2.7A)
26 V DC ---
24 V DC ---
Power Consumption
0.64 A × 5 V = 3.2 W (≤28 W)
147
Unit Current Consumption
Section 2-6
2-6-4 Current Consumption Tables
5-V DC Voltage Group
Name
CS1-H CPU Units
(These values include current consumption by a Programming Console or CX-Programmer connection.)
Model
CS1H-CPU6 @H
CS1G-CPU4 @H
Current consumption (A)
0.82 (See note.)
0.78 (See note.)
CS1 CPU Units
(These values include current consumption by a Programming Console or CX-Programmer connection.)
Serial Communications
Boards
Standard CPU Backplanes
CS-series-only CPU Backplanes
CS1H-CPU6 @-EV1 1.10 (See note.)
CS1G-CPU4 @-EV1 0.95 (See note.)
CS1W-SCB21
CS1W-SCB41
CS1W-BC @@3
CS1W-BC @@2
0.28 (See note.)
0.37 (See note.)
0.11
0.11
CS1W-BI @@3 0.23 Standard CS-series Expansion Backplanes
CS-series-only Expansion
Backplanes
C200H Expansion I/O Backplanes
CS1W-BI @@2
C200HW-BI031
C200HW-BI051
0.23
0.15
0.15
I/O Control Units
I/O Interface Units
C200HW-BI081-V1
C200HW-BI101-V1
CS1W-IC102
CS1W-II102
0.15
0.15
0.92
0.23
Note NT-AL001 Link Adapters consume 0.15/Unit when used.
Add 0.04 A for each CJ1W-CIF11 RS-422A Adapter that is used.
Add 0.20 A for each NV3W-M @20L Programmable Terminal that is used.
Basic I/O Unit
Category
C200H Input Units
Name
DC Input Units
AC Input Units
Model
C200H-ID211
C200H-ID212
Current consumption (A)
0.01
0.01
C200H-IA121
C200H-IA122
0.01
0.01
C200H-IA122V 0.01
C200H-IA221 0.01
C200H Group-2 Highdensity Input Units
C200H-IA222 0.01
C200H-IA222V 0.01
AC/DC Input Units C200H-IM211 0.01
C200H-IM212 0.01
Interrupt Input Unit C200HS-INT01 0.02
DC Input Units C200H-ID216 0.10
C200H-ID217
C200H-ID218
0.12
0.10
C200H-ID219
C200H-ID111
0.12
0.12
148
Unit Current Consumption
Section 2-6
Category Name Model
CS-series Basic Input
Units
DC Input Units
AC Input Units
B7A Input Unit
Interrupt Input Unit
CS1W-ID211
CS1W-ID231
CS1W-ID261
CS1W-ID291
CS1W-IA111
CS1W-IA211
CS1W-B7A12
CS1W-INT01
0.11
0.11
0.09
0.10
High-speed Input
Unit
CS1W-IDP01 0.10
C200H Output Units Relay Output Units C200H-OC221 0.01
C200H-OC222 0.01
Current consumption (A)
0.10
0.15
0.15
0.20
C200H-OC222V 0.01
C200H-OC222N 0.01
C200H-OC225 0.05
C200H-OC226 0.03
C200H-OC226N 0.03
C200H-OC223 0.01
C200H-OC224 0.01
C200H-OC224V 0.01
Transistor Output
Units
C200H-OC224N 0.01
C200H-OD411 0.14
C200H-OD213 0.14
C200H-OD214 0.14
C200H-OD216 0.01
C200H-OD211 0.16
C200H-OD217 0.01
C200H-OD212 0.18
C200H Group-2 Highdensity Output Units
C200H-OD21A 0.10
B7A Interface Units C200H-B7AO1 0.10
C200H-B7A02 0.18
Triac Output Units C200H-OA221 0.14
Transistor Output
Units
C200H-OA223 0.27
C200H-OA222V 0.18
C200H-OA224 0.27
C200H-OD218 0.18
C200H-OD21B 0.18
C200H-OD219 0.27
149
Unit Current Consumption
Section 2-6
CS-series Basic I/O
Units
Category
CS-series Basic Output Units
Name Model Current consumption (A)
Relay Output Units CS1W-OC201 0.10
CS1W-OC211 0.13
Transistor Output
Units
CS1W-OD211
CS1W-OD212
0.17
0.17
CS1W-OD231 0.27
CS1W-OD232 0.27
CS1W-OD261 0.39
CS1W-OD262 0.39
CS1W-OD291 0.48
CS1W-OD292 0.48
Triac Output Units CS1W-OA201 0.23
CS1W-OA211 0.41
B7A Output Unit
DC Input/ Transistor Output Units
CS1W-B7A02
CS1W-MD261
0.09
0.27
CS1W-MD262 0.27
CS1W-MD291 0.35
TTL I/O Unit
B7A I/O Units
B7A Output Unit
CS1W-MD292 0.35
CS1W-MD561 0.27
CS1W-B7A21
CS1W-B7A22
0.09
0.09
C200H-B7AO1 0.10
C200H Basic Output
Unit
C200H High-density
Output Unit
C200H High-density
I/O Units
C200H Basic Unit
C200H-B7A02 0.10
B7A I/O Units C200H-B7A21 0.10
C200H-B7A22 0.10
Analog Timer Unit C200H-TM001 0.06
Special I/O Units
Category Name
C200H Highdensity I/O Units
(Special I/O
Units)
DC Input Unit
TTL Input Unit
Transistor Output
Unit
TTL Output Unit
TTL I/O Unit
DC Input/
Transistor Output
Units
Model
C200H-ID215
C200H-ID501
C200H-OD215
C200H-OD501
C200H-MD501
C200H-MD215
C200H-MD115
Current consumption (A)
0.13
0.13
0.22
0.22
0.18
0.18
0.18
150
Unit Current Consumption
Category Name Model
C200H Special
I/O Units
Temperature Control Units
Heat/Cool Temperature Control Units
Temperature Sensor Units
C200H-TC001
C200H-TC002
C200H-TC003
C200H-TC101
C200H-TC102
C200H-TC103
C200H-TV001
C200H-TV002
C200H-TV003
C200H-TV101
C200H-TV102
C200H-TV103
C200H-TS001
C200H-TS002
C200H-TS101
C200H-TS102
PID Control Units C200H-PID01
C200H-PID02
C200H-PID03
Cam Positioner Unit C200H-CP114
ASCII Units C200H-ASC02
C200H-ASC11
C200H-ASC31
Analog Input Units C200H-AD001
C200H-AD002
C200H-AD003
Analog Output Units C200H-DA001
C200H-DA002
C200H-DA003
C200H-DA004
Section 2-6
0.20
0.25
0.30
0.55
0.45
0.10
0.65
0.45
0.45
0.45
0.45
0.33
0.33
0.33
0.30
0.60
0.10
0.10
0.33
0.33
0.33
0.33
0.33
0.33
0.33
0.33
Current consumption (A)
0.33
0.33
0.33
0.33
151
Unit Current Consumption
Section 2-6
Category
C200H Special
I/O Units
CS-series Special I/O Units
Name
Analog I/O Unit
High-speed Counter
Units
Motion Control Unit
Model
C200H-MAD01
C200H-CT001-V1
C200H-CT002
C200H-CT021
C200H-MC221
Position Control
Units
C200H-NC211
C200H-NC111
C200H-NC112
C200HW-NC113
C200HW-NC213
C200HW-NC413
ID Sensor Units
Voice Unit
DeviceNet Master
Unit
CompoBus/S Master Unit
PLC Link Unit
SYSMAC BUS
Remote I/O Slave
Units
Analog I/O Unit
C200H-IDS01-V1
C200H-IDS21
C200H-OV001
C200HW-DRM21-
V1
CS1W-MAD44
Analog Input Units CS1W-AD041-
V1/081-V1
CS1W-AD161
Analog Output Units CS1W-
DA041/08V/08C
CS1W-PTS01-V1 Isolated Thermocouple Input Unit
High-resolution
Isolated Thermocouple Input Unit
CS1W-PTS11
CS1W-PTS02 Isolated Resistance
Thermometer Input
Unit
Isolated Ni508.4
Ω
Resistance Thermometer Input Unit
High-resolution
Isolated Resistance
Thermometer Input
Unit
CS1W-PTS03
CS1W-PTS12
0.25
0.25
0.30
0.25
C200HW-SRM21-
V1
C200H-LK401
C200H-RM201
0.15
0.35
0.20
C200H-RM001-PV1 0.20
0.20
0.13
0.15
0.13
0.15
0.12
0.15
0.15
0.12
0.15
Isolated 2-wire
Transmission Device
Input Unit
Isolated DC Input
Unit
CS1W-PTW01
CS1W-PDC01
High-resolution Isolated DC Input Unit
Isolated Control
Output Unit (Analog
Output Unit)
CS1W-PDC11
CS1W-PMV01
Current consumption (A)
0.10
0.30
0.30
0.45
0.65
(0.85 with Teaching
Box)
0.50
0.15
0.15
0.30
0.30
0.50
0.15
0.12
0.15
152
Unit Current Consumption
Section 2-6
Category
CS-series Special I/O Units
Name Model
Power Transducer
Input Unit
DC Input Unit
(100 mA)
CS1W-PTR01
CS1W-PTR02
Isolated Pulse Input
Unit
CS1W-PPS01
Motion Control Units CS1W-MC221
CS1W-MC421
Position Control
Units
Customizable
Counter Units
CS1W-NC113
CS1W-NC133
CS1W-NC213
CS1W-NC233
CS1W-NC413
CS1W-NC433
CS1W-HIO01-V1
CS1W-HCP22-V1
High-speed Counter
Unit
CS1W-HCA12-V1
CS1W-HCA22-V1
CS1W-CT021
CS1W-CT041
GP-IB Interface Unit CS1W-GPI01
CompoNet Master
Unit
CS1W-CRM21
Current consumption (A)
0.15
0.15
0.20
0.36
0.36
0.60
0.80
0.75
0.75
0.36
0.45
0.33
0.40
0.6 (0.80 when connected to a Teaching Box)
0.7 (1.00 when connected to a Teaching Box)
0.25
0.25
0.25
0.25
153
Unit Current Consumption
Section 2-6
CS-series CPU Bus Units
Category
CS-series CPU Bus
Units
Name Model
Controller Link
Unit
Serial Communications Units
SYSMAC LINK
Unit
Ethernet Unit
CS1W-CLK21-V1,
CS1W-CLK23
CS1W-CLK12-V1,
CS1W-CLK13
CS1W-CLK52-V1,
CS1W-CLK53
CS1W-SCU21-V1
CS1W-SCU31-V1
CS1W-SLK21
CS1W-SLK11
CS1W-ETN01
CS1W-ETN21
FL-net Unit
DeviceNet Unit
PROFIBUS-DP
Master Unit
Position Control
Unit supporting
MECHATROLINK-
II communications
CS1W-FLN22
CS1W-DRM21-V1
CS1W-PRM21
CS1W-NCF71
Loop Control Unit CS1W-LC001
High-resolution
Motion Control
Unit
CS1W-MCH71
SYSMAC SPU
Units (High-speed
Storage and Processing Unit)
CS1W-SPU01
CS1W-SPU02
Current consumption (A)
0.33
0.58
0.65
0.30 (See note.)
0.40
0.48
0.47
0.40
0.38
0.38
0.29
0.40
0.36
0.36
0.80
0.56
0.70
Note NT-AL001 Link Adapters consume 0.15/Unit when used.
Add 0.04 A for each CJ1W-CIF11 RS-422A Adapter that is used.
Add 0.20 A for each NV3W-M @20L Programmable Terminal that is used.
Current Consumptions for
26-V Supply
Category Name
C200H Output Units Relay Contact
Output Unit
Transistor
Output Units
Model
C200H-OC221
C200H-OC222
C200H-OC223
C200H-OC224
Current consumption (A)
0.075 for 8 points when ON simultaneously
C200H-OC225
C200H-OC222V/N 0.09 for 8 points
C200H-OC226(N) when ON simultaneously
C200H-OC224V/N
C200H-OD216
C200H-OD217
0.075 for 8 points when ON simultaneously
154
Unit Current Consumption
Section 2-6
Category
C200H Special I/O
Units
CS-series Basic
Output Units
CS-series Special I/O
Units
Name Model Current consumption (A)
0.10
Analog Input
Units
Analog Output
Units
C200H-AD003
C200H-DA003
C200H-DA004
Analog I/O Units C200H-MAD01
ID Sensor Units C200H-IDS01-V1
Relay Output
Units
C200H-IDS21
CS1W-OC201
CS1W-OC211
Analog I/O Unit CS1W-MAD44
Analog Input
Unit
CS1W-AD041/081 0.09
CS1W-AD161
0.20
0.06
Analog Output
Unit
CS1W-DA041/08V 0.18
CS1W-DA08C
CS1W-PTS01-V1
0.25
0.15
Isolated Thermocouple Input
Unit
High-resolution
Isolated Thermocouple Input
Unit
CS1W-PTS11 0.08
CS1W-PTS02 0.15
Isolated Resistance Thermometer Input Unit
Isolated Ni508 Ω
Resistance
Thermometer
Input Unit
High-resolution
Isolated Resistance Thermometer Input Unit
Isolated 2-wire
Transmission
Device Input
Unit
CS1W-PTS03
CS1W-PTS12
CS1W-PTW01
0.15
0.07
0.16
CS1W-PDC01 0.15
Isolated DC
Input Unit
High-resolution
Isolated DC
Input Unit
Isolated Control
Output Unit
(Analog Output
Unit)
Power Transducer Input Unit
DC Input Unit
(100 mA)
Isolated Pulse
Input Unit
Customizable
Counter Unit
CS1W-PDC11
CS1W-PMV01
CS1W-PTR01
CS1W-PTR02
CS1W-PPS01
CS1W-HCA212-V1
CS1W-HCA22-V1
0.12
0.16
0.08
0.08
0.16
0.15
0.15
0.20
0.25
0.2
0.12
0.12
0.006 per ON output point
0.006 per ON output point
155
CPU Bus Unit Setting Area Capacity
Section 2-7
2-7 CPU Bus Unit Setting Area Capacity
Settings for most CPU Bus Units and Inner Boards are stored in the CPU Bus
Unit Setting Area in the CPU Unit. Refer to 9-27 Parameter Areas for details.
The CPU Bus Units are allocated the required number of works for settings from this area.
There is a limit to the capacity of the CPU Bus Unit Setting Area of 10,752 bytes (10 Kbytes). The system must be designed so that the number of words used in the CPU Bus Unit Setting Area by all of the CPU Bus Units and the
Inner Board does not exceed this capacity. If the wrong combination of Units is used, the capacity will be exceeded and either Units will operate from default settings only or will not operate at all.
2-7-1 System Setting Allocations to CPU Bus Units
Classification
CS-series CPU
Bus Units
Inner Boards
Name
Controller Link Unit
Model number
CS1W-
CLK11/12/21/52(-V1),
CS1W-CLK13/23/53
CS1W-SCU21/31-V1 0
512
Allocation
(bytes)
Serial Communications Unit
Ethernet Unit
FL-net Unit
SYSMAC LINK Unit
CS1W-ETN01
CS1W-ETN21
CS1W-FLN22
CS1W-SLK21/11
DeviceNet Unit CS1W-DRM21-V1
Position Control Unit CS1W-NCF71
Motion Control Unit
Loop Control Unit
CS1W-MCH71
CS1W-LC001
CS1W-MCH71 High-resolution
Motion Control Unit
Storage and Processing Unit
Serial Communications Board
CS1W-SPU01/02
CS1W-SCB21/41
412
99.4
988
512
0
0
0
0
0
0
0
Note Any Unit with a usage of “0” does not use the CPU Bus Unit Setting Area at all.
156
I/O Table Settings
Section 2-8
2-8 I/O Table Settings
The following settings are used in the I/O tables on the CX-Programmer.
2-8-1 CS-series Basic I/O Units
Name Model
AC Input Units
AC/DC Input Units
DC Input Units
CS1W-IA111
CS1W-IA211
CS1W-IA121/221
CS1W-IA122/122V/222/222V
C200H-IM211
C200H-IM212
CS1W-ID211
CS1W-ID231
CS1W-ID261
CS1W-ID291
C200H-ID211
C200H-ID212
C200H-ID216/218
C200H-ID111/217/219
DC Input Units classified as C200H Group-2
Units
Interrupt Input Units
High-speed Input Unit
Contact Output Units
CS1W-INT01
C200HS-INT01
CS1W-IDP01
CS1W-OC201
CS1W-OC211
C200H-OC223
C200H-OC221/224/224V/224N
Triac Output Units
C200H-OC222/222V/222N
C200H-OC225/226/226N
CS1W-OA201
CS1W-OA211
CS1W-OA221/223
CS1W-OA222V/224
Transistor Output Units CS1W-OD211/212
CS1W-OD231/232
Transistor Output Units classified as C200H
Group-2 Units
DC Input/Transistor Output Units
TTL I/O Units
CS1W-OD261/262
CS1W-OD291/292
C200H-OD213/214/216/411
C200H-OD211/217
C200H-OD212/21A
C200H-OD218/21B
C200H-OD219
CS1W-MD261/262
CS1W-MD291/292
CS1W-MD561
Interrupt Unit (8 Bit)
Interrupt Unit (8 Bit)
16pt Unit − 16pt Input
8pt Unit − 8pt Output
16pt Unit − 16pt Output
5pt Unit - 5pt Output
8pt Unit − 8pt Output
12pt Unit - 12pt Output
16pt Unit − 16pt Output
8pt Unit − 8pt Output
16pt Unit − 16pt Output
8pt Unit − 8pt Mixed
12pt Unit − 12pt Output
16pt Unit − 16pt Output
32pt Unit − 32pt Output
64pt Unit − 64pt Output
96pt Unit − 96pt Mixed
8pt Unit − 8pt Mixed
12pt Unit − 12pt Output
16pt Unit − 16pt Output
32pt Unit − 32pt Output
64pt Unit − 64pt Output
64pt Unit − 64pt Mixed
96pt Unit − 96pt Mixed
64pt Unit - 64pt Mixed
Unit type setting Addresses per Unit
16pt Unit − 16pt Input
16pt Unit − 16pt Input
---
---
CS/CJ 8pt Unit − 8pt Input ---
16pt Unit − 16pt Input ---
CS/CJ 8pt Unit − 8pt Input ---
16pt Unit − 16pt Input ---
16pt Unit − 16pt Input
32pt Unit − 32pt Input
64pt Unit − 64pt Input
64pt Unit − 64pt Input
---
---
---
96pt Unit − 96pt Input ---
CS/CJ 8pt Unit − 8pt Input ---
16pt Unit − 16pt Input
32pt Unit − 32pt Input
---
---
---
1
1
1
1
1
1
1
2
4
6
1
1
2
4
Input
Words
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Output
Words
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
1
2
1
1
1
1
1
1
1
1
1
1
0
0
0
1
2
4
1
1
4
6
---
---
---
2
3
2
2
3
2
157
I/O Table Settings
Section 2-8
Name
B7A Interface Units classified as CS-series
Basic I/O Units
B7A Interface Units
B7A Interface Units classified as C200H
Group-2 Units
Analog Timer Unit
CS1W-B7A12
CS1W-B7A02
CS1W-B7A21
CS1W-B7A22
C200H-B7AI1
C200H-B7AO1
C200H-B7A12
C200H-B7A02
C200H-B7A21
C200H-B7A22
C200H-TM001
Note
Model Unit type setting
32pt Unit − 32pt Input
32pt Unit − 32pt Output
32pt Unit − 32pt Mixed
64pt Unit − 64pt Mixed
16pt Unit − 16pt Input
16pt Unit − 16pt Output
32pt Unit − 32pt Input
32pt Unit − 32pt Output
32pt Unit − 32pt Mixed
64pt Unit − 64pt Mixed
4 times
Internal bits: 8 inputs and 4 outputs
---
---
---
---
---
---
---
Addresses per Unit
Input
Words
---
---
---
---
2
0
1
2
1
0
2
0
1
2
1
0
2
0
1
1
2
Output
Words
1
2
0
2
1.
An I/O setting error will occur if Units are not set correctly.
2.
An I/O verification error will occur if the number of input or output words is set incorrectly.
158
I/O Table Settings
Section 2-8
2-8-2 CS-series Special I/O Units
Name
Analog I/O Unit
Analog Input Units
Analog Output Units
Isolated Thermocouple
Input Unit
High-resolution Isolated
Thermocouple Input Unit
Isolated Resistance Thermometer Input Unit
Isolated Ni508.4
Ω Resistance Thermometer Input
Unit
High-resolution Isolated
Resistance Thermometer
Input Unit
Isolated 2-wire Transmission Device Input Unit
Isolated DC Input Unit
Model Unit type setting
CS1W-MAD44 CS/CJ SIO Unit − Analog Input/Output Unit
1
CS1W-AD041/081-V1 CS/CJ SIO Unit − Analog Input Unit 1
CS1W-AD161 CS/CJ SIO Unit − Analog Input Unit 2
CS1W-
DA041/08V/08C
CS/CJ SIO Unit − Analog Output
Unit
1
CS1W-PTS01-V1 CS/CJ SIO Unit − Process
Input/Output Unit
1
Addresses per Unit
Input
Words
5
9
17
1
10
CS1W-PTS11
CS1W-PTS02
CS1W-PTS03
CS1W-PTS12
CS/CJ SIO Unit − Process
Input/Output Unit
CS/CJ SIO Unit − Process
Input/Output Unit
CS/CJ SIO Unit − Process
Input/Output Unit
CS/CJ SIO Unit − Process
Input/Output Unit
High-resolution Isolated DC
Input Unit
CS1W-PDC11
Isolated Control Output Unit
(Analog Output Unit)
CS1W-PTR01
Power Transducer Input
Unit
DC Input Unit (100 mA)
Isolated Pulse Input Unit
CS1W-PTR02
CS1W-PMV01
Motion Control Units
Position Control Units
CS1W-MC221
CS1W-MC421
CS1W-NC113/133
CS1W-NC213/233
CS1W-NC413/433
Customizable Counter Units CS1W-
HIO01/HCP22/HCA22
High-speed Counter Units CS1W-CT021/041
GP-IB Interface Unit
CompoNet Master Unit
CS1W-PTW01
CS1W-PDC01
CS1W-PPS01
CS1W-GPI01
CS1W-CRM21
CS/CJ SIO Unit − Process
Input/Output Unit
CS/CJ SIO Unit − Process
Input/Output Unit
CS/CJ SIO Unit − Process
Input/Output Unit
CS/CJ SIO Unit − Process
Input/Output Unit
CS/CJ SIO Unit − Process
Input/Output Unit
CS/CJ SIO Unit − Process
Input/Output Unit
CS/CJ SIO Unit − Process
Input/Output Unit
CS/CJ SIO Unit − Motion Control
Unit
CS/CJ SIO Unit − Numerical Control Unit
CS/CJ SIO Unit − Customizable
Unit
CS/CJ SIO Unit − High Speed
Counter Unit
CS/CJ SIO Unit − Other SIO Unit
CS/CJ SIO Unit
− CompoNet
Master Unit
Communications mode No. 0
No. 1
No. 2
No. 3
No. 8
1
1
1
1
1
1
1
1
1
1
1
3
5
1
1
2
1
4
1
2
4
8
8
1
10
10
10
10
10
10
10
10
10
5
10
20
32
3
6
12
5
26
5
11
21
41
45
Variable
1
1
9
0
0
0
0
0
0
0
0
0
0
5
0
4
8
5
10
18
2
14
5
9
Output
Words
5
17
33
25
Variable
Note A Special I/O setting error will occur if Units, the number of input, or the number of output words is set incorrectly.
159
I/O Table Settings
Section 2-8
2-8-3 C200H Special I/O Units
Name Model
High-density I/O Units C200H-ID501/215
C200H-OD501/215 (standard mode)
C200H-OD501/215 (dynamic mode)
Unit type setting
C200H SIOU/C200H ASCII Unit 1
1
Addresses per Unit
Input
Words
2
0
1 0
1
Temperature Control
Units
Heating/Cooling Control Units
Temperature Sensor
Units
PID Control Units
Cam Positioner Unit
ASCII Units
Analog Input Units
Analog Output Units
Analog I/O Units
C200H-MD501/215/115
(standard mode)
C200H-MD501/215/115
(dynamic mode)
C200H-
TC001/002/003/101/102/103
C200H-
TV001/002/003/101/102/103
C200H SIOU/C200H ASCII Unit
C200H SIOU/C200H ASCII Unit
1
1
1
1
C200H-TS001/002/101/102 C200H SIOU/C200H ASCII Unit 1
C200H-PID01/02/03
C200H-CP114
C200H-ASC02
C200H-ASC11/21/31
C200H-AD001
C200H-AD002
C200H-AD003 (normal mode)
C200H-AD003 (adjustment mode)
C200H-DA001
C200H-DA002
C200H-DA003/004 (normal mode)
C200H-DA003/004 (adjustment mode)
C200H-MAD01 (normal mode)
C200H-MAD01 (adjustment mode)
C200H-CT001-V1/CT002
(mode 1 or 2)
C200H SIOU/C200H ASCII Unit
C200H SIOU/C200H ASCII Unit
C200H SIOU/C200H ASCII Unit
C200H SIOU/C200H ASCII Unit
C200H SIOU/C200H ASCII Unit
1
1
1
1
1
1
C200H SIOU/C200H ASCII Unit 1
1
1
1
1
1
1
1
C200H High Speed Counter Unit 1 High-speed Counter
Units
C200H-CT001-V1/CT002
(mode 3)
C200H-CT001-V1/CT002
(mode 4, 5, or 6)
C200H-CT021
C200H-MC221 Motion Control Units
Position Control Units C200H-NC111/112
C200H-NC211
C200H-NC114
C200HW-NC213
ID Sensor Units
Voice Unit
Fuzzy Logic Control
Unit
C200HW-NC413
C200H-IDS01-V1/IDS21
C200H-OV001
C200H-FZ001
C200H Numerical Control Unit
C200H SIOU/C200H ASCII Unit
C200H SIOU/C200H ASCII Unit
C200H SIOU/C200H ASCII Unit
1
1
1
2
C200H Numerical Control Unit 1
2
1
1
2
1
1
1
8
7
7
5
1
0
1
2
5
2
6
5
4
9
2
5
9
1
5
7
8
8
12
3
6
5
10
1
1
12
1
3
4
9
1
8
1
1
3
5
3
2
0
2
Output
Words
8
1
0
3
3
1
8
5
8
4
4
4
2
8
2
4
5
10
5
4
8
4
160
I/O Table Settings
Section 2-8
Name
JPCN-1 Unit
C200H DeviceNet Master Unit
DeviceNet Slave Unit
(C200H I/O Link Unit)
Model
C200H-JRM21
C200HW-DRM21-V1
C200HW-DRT21
Unit type setting
C200H SIOU/C200H ASCII Unit
C200H SIOU/C200H ASCII Unit
C200H SIOU/C200H ASCII Unit
Addresses per Unit
Input
Words
1
1
1
CompoBus/S Master
Unit
PLC Link Unit
SYSMAC BUS Remote
I/O Master Unit
C200HW-SRM21-V1 (unit number 1)
C200H SIOU/C200H ASCII Unit
C200HW-SRM21-V1 (unit number 2)
C200H-LK401 PC Link Unit LK401
C200H-RM001-PV1/RM201 SYSMAC BUS Master
1
2
---
---
2
9
5
6
12
---
---
Output
Words
8
1
5
4
8
---
---
Note A Special I/O setting error will occur if Units, the number of input, or the number of output words is set incorrectly.
2-8-4 CS-series CPU Bus Units
Unit type setting
Communications
Position Control Unit
Motion Controllers
Loop Controllers
General-purpose
Devices
Controller Link Unit
Name
Serial Communications Unit
Ethernet Unit
FL-net Unit
SYSMAC LINK Unit
DeviceNet Unit
Position Control Unit
Motion Control Unit
Loop Control Unit
Storage and Processing Unit
Open Network Controller
Model
CS1W-CLK13/23/53
CS1W-CLK12/21/52(-V1)
CS1W-SCU21-V1
CS1W-SCU31-V1
CS1W-ETN01/11/21
CS1D-ETN21D
CS1W-FLN01/02/12/22
CS1W-SLK11/21
CS1W-DRM21-V1
CS1W-NCF71
CS1W-MCH71
CS1W-LC001
CS1W-SPU01/02
CS1W-EIS/EIX-CTS
ITBC-CTS01
Note The DeviceNet Unit is not support by CX-Programmer version 2.0 or earlier, and I/O tables containing the DeviceNet Unit cannot be created with these versions. Create the tables online.
161
I/O Table Settings
Section 2-8
162
SECTION 3
Nomenclature, Functions, and Dimensions
This section provides the names of components and their functions for various Units. The Unit dimensions are also provided.
3-1-3 CPU Unit Memory Block Map. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2-1 Specifications of Memory Card . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2-2 Files Handled by CPU Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2-3 Initializing File Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2-4 Using File Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2-5 Memory Card Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2-6 Installing and Removing the Memory Card . . . . . . . . . . . . . . . . . . .
3-3-2 Programming Consoles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-3 CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-4 Peripheral Port Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-5 RS-232C Port Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-4-1 Power Supply Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-4-2 Components and Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-4-4 Selecting a Power Supply Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-4-5 Replacement Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-5-1 CPU Backplanes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-5-2 CS-series Expansion Backplanes . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-5-3 C200H Expansion I/O Backplanes . . . . . . . . . . . . . . . . . . . . . . . . . .
3-5-4 I/O Control Units, I/O Interface Units, and Terminators . . . . . . . . .
3-6-1 C200H and CS-series Basic I/O Units with Terminal Blocks . . . . .
3-6-3 Units with High-speed Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-6-4 CS-series Basic I/O Units with Connectors (32-, 64-, and 96-pt Units) 229
3-6-5 C200H Group-2 High-density I/O Units . . . . . . . . . . . . . . . . . . . . . 232
3-7 C200H High-density I/O Units (Special I/O Units) . . . . . . . . . . . . . . . . . . . .
3-8-1 CS-series B7A Interface Units (CS-series Basic I/O Units). . . . . . .
3-8-2 C200H Basic B7A Interface Units (C200H Basic I/O Units) . . . . .
3-8-3 B7A Interface Units (C200H Group-2 High-density I/O Units) . . .
163
CPU Units
Section 3-1
3-1 CPU Units
3-1-1 Models
CS1-H CPU Units
I/O points Expansion
Racks
5,120
1,280
960
7 max.
3 max.
2 max.
Programming Data Memory
(DM + EM)
250K steps
120K steps
60K steps
30K steps
20K steps
60K steps
30K steps
20K steps
10K steps
448K words
256K words
128K words
64K words
64K words
128K words
64K words
64K words
64K words
LD instruction processing time
0.02 µs
Model
CS1H-CPU67H
CS1H-CPU66H
CS1H-CPU65H
0.04 µs
CS1H-CPU64H
CS1G-CPU63H
CS1G-CPU45H
CS1G-CPU44H
CS1G-CPU43H
CS1G-CPU42H
Weight
350 g max.
CS1 CPU Units
I/O points Expansion
Racks
5,120
1,280
960
7 max.
3 max.
2 max.
Programming Data Memory
(DM + EM)
250K steps
120K steps
60K steps
30K steps
20K steps
60K steps
30K steps
20K steps
10K steps
448K words
256K words
128K words
64K words
32K words
128K words
64K words
32K words
32K words
LD instruction processing time
0.04 µs
Model Weight
CS1H-CPU67-EV1 400 g
CS1H-CPU66-EV1 max.
CS1H-CPU65-EV1
CS1H-CPU64-EV1
CS1G-CPU63-EV1
0.08 µs CS1G-CPU45-EV1
CS1G-CPU44-EV1
CS1G-CPU43-EV1
CS1G-CPU42-EV1
164
CPU Units
3-1-2 Components
Section 3-1
RUN
ERR/ALM
INH
PRPHL/COMM
MCPWR
OPEN
OPEN
BUSY
1. LED indicators
2. Battery compartment
3. DIP switch (under battery cover)
4. Memory Card indicators
10. Peripheral port
PERIPHERAL
5. Memory Card power supply switch
9. RS-232C port
PORT
8. Inner Board connector compartment
6. Memory Card eject button
7. Memory Card connector
A CS1 CPU Unit is shown above.
Indicators
The following table describes the LED indicators located on the front panel of the CPU Units.
Indicator
RUN
ERR/ALM
INH
BKUP (CS1-
H CPU Units only)
PRPHL
Color Status Meaning
Green
Red
Orange
ON PLC is operating normally in MONITOR or RUN mode.
Flashing System download mode error or DIP switch settings error.
OFF
ON
PLC has stopped operating while in PROGRAM mode, or has stopped operating due to a fatal error, or is downloading data from the system.
A fatal error has occurred (including FALS instruction execution), or a hardware error (watchdog timer error) has occurred.
The CPU Unit will stop operating, and the outputs from all Output Units will turn
OFF.
Flashing
OFF
ON
OFF
A non-fatal error has occurred (including FAL instruction execution)
The CPU Unit will continue operating.
CPU Unit is operating normally.
Output OFF Bit (A50015) has been turned ON. The outputs from all Output Units will turn OFF.
Output OFF Bit (A50015) has been turned OFF.
Orange ON User program and parameter area data is being backed up to flash memory in the
CPU Unit or being restored from flash memory.
Note Do not turn OFF the power supply to the PLC while this indicator is lit.
OFF Data is not being written to flash memory.
Orange Flashing CPU Unit is communicating (sending or receiving) via the peripheral port.
OFF CPU Unit is not communicating via the peripheral port.
165
CPU Units
Section 3-1
Indicator
COMM
MCPWR
Color Status
Orange Flashing
OFF
Green ON
Flashing
BUSY Orange
OFF
Flashing
OFF
Meaning
CPU Unit is communicating (sending or receiving) via the RS-232C port.
CPU Unit is not communicating via the RS-232C port.
Power is being supplied to the Memory Card.
Flashes once: Easy backup read, write, or verify normal
Flashes five times: Easy backup write malfunction
Flashes three times: Easy backup write warning
Flashes continuously: Easy backup read or verify malfunction
Power is not being supplied to the Memory Card.
Memory Card is being accessed.
Memory Card is not being accessed.
CS1-H CPU Unit CS1 CPU Unit
CS
RUN
ERR/ALM
INH BKUP
PRPH COMM
RUN
ERR/ALM
INH
PRPHL/COMM
166
CPU Units
Section 3-1
DIP Switch Settings
Pin no. Setting
1 ON
2
3
4
5
6
7
8
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
OFF
Function
Writing disabled for user program memory.
(See Note.)
Writing enabled for user program memory.
The user program is automatically transferred from the Memory Card when power is turned ON.
The user program is not automatically transferred from the Memory Card when power is turned ON.
Usage
Used to prevent programs from being accidently overwritten from Programming
Devices (including Programming Console).
Default
OFF
Used to store the programs in the Memory
Card to switch operations, or to automatically transfer programs at power-up (Memory
Card ROM operation).
Note When pin 7 is ON, easy backup reading from the Memory Card is given priority, so even if pin 2 is ON, the user program is not automatically transferred from the Memory Card when power is turned ON.
CS1 CPU Unit: Turn ON to display Programming Console messages in English.
Note This pin is not used on CS1-H CPU
Units. Keep it turned OFF.
OFF
ON CS1 CPU Unit:
Programming Console messages displayed in English.
CS1 CPU Unit:
Programming Console messages displayed in the language stored in system ROM.
(Messages displayed in Japanese with the
Japanese version of system ROM.)
Peripheral port communications parameters set in the PLC Setup are used.
Peripheral port communications parameters set using Programming Console or CX-Programmer (Peripheral bus only) are used.
RS-232C port communications parameters set using a CX-Programmer (Peripheral bus only) are used.
RS-232C port communications parameters set in the PLC Setup are used.
User-defined pin. Turns OFF the User DIP
Switch Pin Flag (A39512).
User-defined pin. Turns ON the User DIP
Switch Pin Flag (A39512).
Turn ON to use the peripheral port for a device other than Programming Console or
CX-Programmer (Peripheral bus only).
Turn ON to use the RS-232C port for a Programming Device.
Set pin 6 to ON or OFF and use A39512 in the program to create a user-defined condition without using an I/O Unit.
OFF
OFF
OFF
Writing from the CPU Unit to the Memory
Card.
Restoring from the Memory Card to the CPU
Unit.
Verifying contents of Memory Card.
Press and hold the Memory Card Power
Supply Switch for three seconds.
Note Normally, this pin should be left turned
OFF.
To read from the Memory Card to the CPU
Unit, turn ON the PLC power.
This operation is given priority over automatic transfer (pin 2 is ON) when power is ON.
Press and hold the Memory Card Power
Supply Switch for three seconds.
OFF
Always OFF.
OFF
Note 1.
The following data cannot be overwritten when pin 1 is ON:
• All parts of the user program (programs in all tasks)
• All data in the parameter area (such as the PLC Setup and I/O table)
When pin 1 is ON, the user program and parameter area will not be cleared when the memory clear operation is performed from a Programming Device.
167
CPU Units
Section 3-1
2.
The DIP switch is not used to set the display language with CS1-H CPU
Units. The language is selected on the startup display on the Programming
Console.
3.
The CPU Unit will not enter any mode except PROGRAM mode after backing up data to a Memory Card using DIP switch pin 7. To enter RUN or
MONITOR mode, turn OFF the power supply, turn OFF pin 7, and then restart the PLC. This will enable changing the operating mode as normal.
3-1-3 CPU Unit Memory Block Map
The memory of CS-series CPU Units is configured in the following blocks.
• I/O Memory: The data areas accessible from the user program
• User Memory: The user program and parameter areas (See Note 1.)
The above memory is backed up using a CS1W-BAT01 Battery. If the battery voltage is low, the data in these areas will not be stable.
With the CS1-H CPU Units, however, the CPU Unit has a built-in flash memory to which the user program and parameter area data is backed up whenever the user memory is written to, including data transfers and online editing from a Programming Device (CX-Programmer or Programming Console, data transfers from a Memory Card, etc. The user program and the parameter area data will be held when using a CS1-H CPU Unit.
The internal flash memory of CS1-H CPU Units with unit version 3.0 also contains a comment memory and FB program memory area. The comment memory is used to store symbol table files, comment files, and program index files
(if comment memory is selected as the transfer destination when transferring projects from a CX-Programmer Ver. 5.0). The FB source memory area is used to store function block program data.
168
CPU Units
Section 3-1
CPU Unit
Built-in RAM
I/O Memory Area
Flash Memory
(CS1-H CPU Units only)
User program
Written automatically
Drive 1: EM file memory
(See Note 2.)
User program
Backup
Battery
The battery life is 5 years at an ambient temperature of 25 °C.
Drive 0: Memory
Card
(flash memory)
Written automatically
Parameter Area
Comment memory area
Written automatically
Parameter Area
(See Note 1.)
FB program memory area
File memory
Automatically backed up to flash memory whenever a write operation for the user memory area (user program or parameter area) is performed from a Programming Device.
Used to store symbol table files, comment files, and program index files. CPU Units with unit version 3.0 or later, Memory
Card, EM file memory, or comment memory can be selected as the destination when transferring projects from CX-Programmer
Ver. 5.0.
For CPU Units with unit version 3.0 or later, when transferring projects containing function blocks from the CX-Programmer, the function block program information is automatically stored in the FB program memory area.
Note 1.
The Parameter Area stores system information for the CPU Unit, such as the PLC Setup.
2.
Part of the EM (Extended Data Memory) Area can be converted to file memory to handle data files and program files in RAM memory format, which has the same format as Memory Cards. File memory in the EM Area is backed up by a battery.
!Caution Always install the CS1W-BAT01 Battery before first using a CS1 CPU Unit.
169
CPU Units
Opening the Battery
Compartment Cover
Section 3-1
Insert a small flat-blade screwdriver into the opening at the bottom of the battery compartment cover and lift open the cover.
Insert a small flat-blade screwdriver into the opening at the bottom of the battery compartment cover and lift open the cover.
Battery
DIP switch
Opening the Peripheral Port Cover and Connecting Cables
Insert a small flat-blade screwdriver into the opening at the top of the port cover and pull open.
Make sure the connector is in facing the correct direction.
Hold the grips on the side of the connector and push into the port.
170
CPU Units
Section 3-1
Installing Inner Boards
1,2,3...
1.
Press in the lever at the top of the Inner Board connector compartment and pull out.
Press in the lever on the top of the cover and pull out.
Press in the lever on the bottom of the cover and pull out.
2.
Remove the cover of the Inner Board connector compartment.
Inner Board connector
3.
Insert the Inner Board into the compartment.
Note 1.
Always make sure the power is OFF before installing the Inner Board. Installing the Inner Board when the power is ON may cause CPU Unit malfunction, damage to internal components, and improper communications.
2.
Before installing the Inner Board, be sure to touch a grounded metal object to discharge static electricity from your body.
171
File Memory
3-1-4 Dimensions
CS1H-CPU @@-EV1 and CS1G-CPU@@-EV1
CS1H-CPU @@H, CS1G-CPU@@H
Section 3-2
3-2 File Memory
File memory
Memory Card
EM file memory
Bank 0
Bank n
EM file memory
Bank C
Comment memory
(CS/CJ-series CPU
Units with unit version
3.0 or later only)
For CS-series CPU Units, the Memory Card and a specified part of the EM
Area can be used to store files. All user programs, the I/O Memory Area, and the Parameter Area can be stored as files.
Memory type
Flash memory
30 Mbytes
Memory capacity
64 Mbytes
RAM
128 Mbytes
The maximum capacity of the CPU
Unit’s EM Area (e.g., the maximum capacity for a CPU67 is 832 Kbytes)
Model/Contents
HMC-EF372
HMC-EF672
HMC-EF183 (See note 3.)
The specified bank (set in the PLC
Setup) to the last bank of the EM Area in the I/O Memory.
CPU Unit’s internal flash memory
Comment files
CPU66H/67H: 128 Kbytes
Other CPU Units: 64 Kbytes
Program index files
CPU66H/67H: 128 Kbytes
Other CPU Units: 64 Kbytes
Symbol table files
CPU45H/65H66H/67H: 128 Kbytes
Other CPU Units: 64 Kbytes
CX-Programmer rung comments and other comments
CX-Programmer section names, section comments, and program comments
CX-Programmer global symbol tables, local symbol tables, and settings for automatically allocated areas.
Note 1.
A Memory Card can be written up to approximately 100,000 times. (Each write operation to the Memory Card must be counted regardless of the size of the write.) Be particularly careful not to exceed the life of the Memory
Card when writing to it from the ladder program.
2.
The HMC-AP001 Memory Card Adapter is shown below.
3.
The HMC-EF183 cannot be used with all CPU Units. Before ordering, refer to
Precaution on Applicable Units on page 173.
172
File Memory
3-2-1 Specifications of Memory Card
Specifications
Section 3-2
Model number
Memory Card capacity
Common specifications
Dimensions
Weight
Factory specifications
HMC-EF183 HMC-EF672 HMC-EF372
128 Mbytes 64 Mbytes
42.8 × 36.4 × 3.3 mm (W × H × T)
15 g max.
30 Mbytes
Current consumption
Approx. 30 mA (when used with PLC)
Environmental specifications
Same as general specifications of PLC
No. of writes 100,000 (guaranteed value)
No. of files writable to root directory
511
File system FAT16
Precaution on Applicable Units
The HMC-EF183 Memory Card cannot be used with the following CPU Units and PTs. Confirm applicability when ordering.
1) CS-series CPU Units
• All CS1G-CPU @@H and CS1H-CPU@@H CPU Units manufactured before January 9, 2002 (lot number 020108 and earlier)
• All CS1G-CPU @@, CS1G-CPU@@-V1, CS1H-CPU@@, and CS1H-
CPU @@-V1 CPU Units (i.e., those without an H in the model number suffix (CPU @@H))
2) CJ-series CPU Units
• All CJ1G-CPU @@H and CJ1H-CPU@@H CPU Units manufactured before
January 9, 2002 (lot number 020108 and earlier)
• All CJ1G-CPU @@ CPU Units (i.e., those without an H in the model number suffix: CPU @@H)
3) NS7-series PTs
All NS7-SV0 @ PTs manufactured before May 9, 2002 (lot number 0852 and earlier)
Memory Card Recognition Time
Several seconds is normally required for the CPU Unit to recognize the Memory Card after it is inserted. The required time depends on the PLC's cycle time, the Memory Card Capacity, the number of files stored on the Memory
Card, and other factors.
The recognition times given in the following table are guidelines for a CS1H-
CPU @@H CPU Unit with a PLC cycle time of 0.4 ms and all PLC Setup parameters set to the default values.
Model
Recognition time 8 s
HMC-EF183
5 s
HMC-EF672
3 s
HMC-EF372
173
File Memory
Section 3-2
3-2-2 Files Handled by CPU Unit
Files are ordered and stored in the Memory Card or EM file memory according to the file name and the extension attached to it.
General-use Files
File type
Data files Specified range in I/O memory
Contents
Binary
Text (except pre-version-1
CS1 CPU Units)
CSV (except pre-version-1
CS1 CPU Units)
Program file All user programs
Parameter file PLC Setup, registered I/O tables, routing tables, CSseries CPU Bus Unit settings,
SYSMAC LINK data link tables, and Controller Link data link tables
File name
********
(See note 1.)
.IOM
Extension
.TXT
.CSV
.OBJ
.STD
Files Transferred
Automatically at Startup
Including Parameter File
File type
Data files
Contents
DM area data (stores data for specified number of words starting from D20000)
DM area data (stores data for specified number of words starting from D00000) (except preversion-1 CS1 CPU Units) (See note.)
EM area for bank No. @ (stores data for specified number of words starting from E @_00000)
(except pre-version-1 CS1 CPU
Units) (See note.)
File name
AUTOEXEC
ATEXECDM
ATEXECE @
Program file All user programs
Parameter file PLC Setup, registered I/O tables, routing tables, CS-series CPU
Bus Unit settings, SYSMAC
LINK data link tables, and Controller Link data link tables
AUTOEXEC
AUTOEXEC
Extension
.IOM
.IOM
.IOM
.OBJ
.STD
Note Version 1 (-V1) or higher CPU Units only.
Excluding Parameter File (CPU Unit Ver. 2.0 or Later)
File type
Data files
Contents
DM area data (stores data for specified number of words starting from D20000)
DM area data (stores data for specified number of words starting from D00000)
EM area for bank No. @ (stores data for specified number of words starting from E @_00000)
File name
REPLACE
(CPU Unit Ver.
2.0 or later only)
REPLCDM
(CPU Unit Ver.
2.0 or later only)
REPLCE @
(CPU Unit Ver.
2.0 or later only)
Extension
.IOM
.IOM
.IOM
174
File Memory
Section 3-2
File type
Program file
Contents
All user programs
Parameter file ---
File name
REPLACE
(CPU Unit Ver.
2.0 or later only)
Not needed
Extension
.OBJ
---
Easy Backup Files
(except pre-version 1 CS1
CPU Units)
Note
File type
Data files
Program files
Parameter files
Contents File name Extension
Words allocated to Special I/O
Units, CPU Bus Units, and Inner
Boards in the DM area
CIO area
DM area
BACKUP .IOM
BACKUPIO .IOR
BACKUPDM .IOM
EM area
All user programs
PLC Setup, registered I/O tables, routing tables, CS-series CPU Bus
Unit settings, SYSMAC LINK data link tables, and Controller Link data link tables
BACKUPE @ .IOM
BACKUP .OBJ
.STD
Data from specific Units or Boards BACKUP @@ .PRM
Unit/Board backup files (CS1-H CPU
Units only)
Symbol table files
(See note 4.)
CX-Programmer global symbol tables, local symbol tables, settings for automatically allocated areas
BKUPSYM .SYM
Comment files
(See note 4.)
Program index files (See note 4.)
CX-Programmer rung comments and comments
CX-Programmer section names, section comments, and program comments
BKUPCMT .CMT
BCKUPPRG .IDX
1.
Specify 8 ASCII characters. For a file name with less than 8 characters, add spaces (20 hex).
2.
Always specify the name of files to be transferred automatically at powerup as AUTOEXEC or ATEXEC @@.
3.
The BACKUP @@.PRM files are as follows:
Unit number Unit/Board
CPU Bus Units
Special I/O Units
Inner Board
@@
10 to 1F
20 to 6F
E1
0 to F
0 to 79
---
4.
Supported for CS/CJ-series CPU Units with unit version 3.0 or later only.
175
File Memory
Section 3-2
3-2-3 Initializing File Memory
File memory
Memory Card
EM file memory
Initializing procedure
1. Install Memory Card into
CPU Unit.
2. Initialize the Memory
Card using a Programming Device (including
Programming Console).
1. Convert the part of the
EM Area from the specified bank No. to the last bank
No. to file memory in the
PLC Setup.
2. Initialize the EM file memory using a Programming Device (excluding
Programming Console).
Data capacity after initialization
Essentially the specific capacity of the Memory Card
1 bank: Approx. 61 KB
13 banks: Approx. 825 KB
3-2-4 Using File Memory
Note For details on using file memory, refer to SECTION 5 File Memory of the
CS/CJ Series PLC Programming Manual.
Memory Cards
Reading/Writing Files Using Programming Device
File
Program files
I/O memory files
Parameter files
File name and extension
∗∗∗∗∗∗∗∗.OBJ
∗∗∗∗∗∗∗∗.IOM
∗∗∗∗∗∗∗∗.STD
Data transfer direction
Between CPU Unit and Memory Card,
1,2,3...
1.
Install the Memory Card into the CPU Unit.
2.
Initialize the Memory Card if necessary.
3.
Name the file containing the data in the CPU Unit and save the contents in the Memory Card.
4.
Read the file that is saved in the Memory Card to the CPU Unit.
Automatically Transferring Memory Card Files to the CPU Unit at Power-up
Including Parameter File
File
Program file
File name and extension
AUTOEXEC.OBJ
I/O memory files AUTOEXEC.IOM
ATEXECDM.IOM
ATEXECE @.IOM
Parameter file AUTOEXEC.STD
Data transfer direction
From Memory Card to CPU Unit
1,2,3...
1.
Install the Memory Card into the CPU Unit.
2.
Set pin 2 of the DIP switch to ON.
3.
The files are read automatically when the power is turned ON.
176
File Memory
Section 3-2
Excluding Parameter File
File
Program file
File name and extension
REPLACE.OBJ
I/O memory files REPLACE.IOM
REPLCDM.IOM
REPLCE @.IOM
Parameter file Not needed
Data transfer direction
From Memory Card to CPU Unit
1,2,3...
1.
Install the Memory Card into the CPU Unit.
2.
Set pin 2 of the DIP switch to ON.
3.
Turn ON the power to the PLC. The files will be read automatically when the power is turned ON.
Reading/Writing I/O Memory Files Using FREAD(700)and FWRIT(701)
File
I/O memory files
File name and extension
∗∗∗∗∗∗∗∗.IOM
∗∗∗∗∗∗∗∗.TXT
∗∗∗∗∗∗∗∗.CSV
Data transfer direction
Between CPU Unit and
Memory Card
1,2,3...
1.
Install the Memory Card into the CPU Unit.
2.
Initialize the Memory Card using a Programming Device.
3.
Using the FWRIT(701) instruction, name the file of the specified I/O memory area, and save to the Memory Card.
4.
Using the FREAD(700) instruction, read the I/O memory files from the
Memory Card to the I/O memory in the CPU Unit.
Note When using spreadsheet software to read data that has been written to the
Memory Card in CSV or text format, it is now possible to read the data using
Windows applications by mounting a Memory Card in the personal computer card slot using a HMC-AP001 Memory Card Adapter (except pre-version-1
CS1 CPU Units).
Reading and Replacing Program Files during Operation (except pre-version-1 CS1 CPU Units)
File
Program files
File name and extension
∗∗∗∗∗∗∗∗.OBJ
Data transfer direction
Memory Card to CPU Unit
1,2,3...
1.
Install a Memory Card into the CPU Unit.
2.
Set the following information: Program File Name (A654 to A657) and Program Password (A651).
3.
Next, from the program, turn ON the Replacement Start Bit (A65015).
177
File Memory
Section 3-2
Backing Up or Restoring CPU Unit Data or Data for Specific Units and Boards
(except pre-version-1 CS1 CPU Units)
File
Program files
Data files
File name and extension
BACKUP.OBJ
BACKUP.IOM
BACKUPIO.IOR
BACKUPDM.IOM
BACKUPE @.IOM
BACKUP.STD
BACKUP @@.PRM
Parameter files
Unit/Board backup files (CS1-H CPU
Units only)
Symbol table files BKUPSYM.SYM
Comment files BKUPCMT.CMT
Program index files BKUPPRG.IDX
Data transfer direction
CPU Unit to Memory Card
(when backing up)
Memory Card to CPU Unit
(when restoring)
1,2,3...
Transferring Files between
Memory Cards and the
CX-Programmer
1.
Install a Memory Card into the CPU Unit.
2.
Turn ON pin 7 on the DIP switch.
3.
To back up data, press and hold the Memory Card Power Supply Switch for three seconds. To restore data, turn ON the PLC power.
The following files can be transferred between a Memory Card and the CX-
Programmer.
File File name and extension
Symbols file
Comment file
SYMBOLS.SYM
COMMENTS.CNT
Program index file PROGRAM.IDX
Data transfer direction
Between CX-Programmer and
Memory Card
1,2,3...
1.
Insert a formatted Memory Card into the CPU Unit.
2.
Place the CX-Programmer online and use the file transfer operations to transfer the above files from the personal computer to the PLC or from the
PLC to the personal computer.
EM File Memory
Reading/Writing EM File Memory Files Using Programming Device
File
Program files
I/O memory files
Parameter files
File name and extension Data transfer direction
∗∗∗∗∗∗∗∗.OBJ
∗∗∗∗∗∗∗∗.IOM
∗∗∗∗∗∗∗∗.STD
Between CPU Unit and EM file memory
1,2,3...
1.
Convert the part of the EM Area specified by the first bank number into file memory in the PLC Setup.
2.
Initialize the EM file memory using a Programming Device.
3.
Name the data in the CPU Unit and save in the EM file memory using the
Programming Device.
4.
Read the EM file memory files to the CPU Unit using the Programming Device.
178
File Memory
Section 3-2
Reading/Writing I/O Memory Files in EM File Memory Using FREAD(700)and FWRIT(701)
File
I/O memory files
File name and extension Data transfer direction
∗∗∗∗∗∗∗∗.IOM
Between CPU Unit and EM file memory
1,2,3...
1.
Convert the part of the EM Area specified by the first bank number into file memory in the PLC Setup.
2.
Initialize the EM file memory using a Programming Device.
3.
Using the FWRIT(701) instruction, name the specified area in I/O memory with a file name and save in the EM file memory.
4.
Using the FREAD(700) instruction, read the I/O memory files from the EM file memory to the I/O memory in the CPU Unit.
Note The following files can be transferred between EM file memory and the CX-
Programmer.
Symbols file
File
Comment file
Program index file
File name and extension Data transfer direction
SYMBOLS.SYM
COMMENTS.CNT
Between CX-Programmer and EM file memory
PROGRAM.IDX
1,2,3...
1.
Format the EM Area in the CPU Units as file memory.
2.
Place the CX-Programmer online and use the file transfer operations to transfer the above files from the personal computer to the PLC or from the
PLC to the personal computer.
Comment Memory (Unit Version 3.0 or Later Only)
The internal flash memory in CS/CJ-series CPU Units with unit version 3.0 or later contains a comment memory area. The following comment data and section data (symbol table files, comment files, and program index files) can be stored in or read from the comment memory when both the Memory Card and
EM file memory are not available.
Note When using CX-Programmer Ver. 5.0 to download projects, either of the following locations can be selected as the transfer destination for comment data and section data.
• Memory Card
• EM file memory
• Comment memory (in CPU Unit’s internal flash memory)
3-2-5 Memory Card Dimensions
179
File Memory
Section 3-2
3-2-6 Installing and Removing the Memory Card
Installing the Memory Card
1,2,3...
1.
Pull the top end of the Memory Card cover forward and remove from the
Unit.
2.
Insert the Memory Card with the label facing to the right. (Insert with the ∆ on the Memory Card label and the on the CPU Unit facing each other.)
Product label
3.
Push the Memory Card securely into the compartment. If the Memory Card is inserted correctly, the Memory Card eject button will be pushed out.
Removing the Memory Card
1,2,3...
1.
Press the Memory Card power supply switch.
Memory Card power supply switch
180
File Memory
Section 3-2
2.
Press the Memory Card eject button after the BUSY indicator is no longer lit.
BUSY indicator
Memory Card eject button
3.
The Memory Card will eject from the compartment.
4.
Remove the Memory Card cover when a Memory Card is not being used.
Note 1.
Never turn OFF the PLC while the CPU is accessing the Memory Card.
2.
Never remove the Memory Card while the CPU is accessing the Memory
Card. Press the Memory Card power supply switch and wait for the BUSY indicator to go OFF before removing the Memory Card. In the worst case, the Memory Card may become unusable if the PLC is turned OFF or the
Memory Card is removed while the Card is being accessed by the CPU.
3.
Never insert the Memory Card facing the wrong way. If the Memory Card is inserted forcibly, it may become unusable.
Installing the Memory Card into a Personal Computer
HMC-AP001 Memory Card Adapter
Personal computer PC card slot
Memory Card
181
Programming Devices
Note
Section 3-3
1.
When a Memory Card is inserted into a computer using a Memory Card
Adapter, it can be used as a standard storage device, like a floppy disk or hard disk.
2.
When deleting all of the data in a Memory Card or formatting it in any way, always place it in the CPU Unit and perform the operation from the CX-Programmer or a Programming Console.
3-3 Programming Devices
3-3-1 Overview
There are 2 types of Programming Devices that can be used: Any of three models of Hand-held Programming Consoles or the CX-Programmer, which is operated on a Windows computer. The CX-Programmer is usually used to write the programs, and a Programming Console is then used to change the operating modes, edit the programs, and monitor a limited number of points.
The following table provides a comparison between the CX-Programmer functions and the Programming Console functions.
Function
Editing and referencing I/O tables
Selecting tasks
Writing programs
Inputting instructions
Inputting addresses
I/O comment, rung comment
Setting global/local symbols
Editing programs
Yes
Yes
Programming Console
Writes instructions one at a time using mnemonics
Addresses only
No
Yes
Yes
CX-Programmer
Writes multiple blocks using mnemonics or ladder programs
Addresses or symbols
Yes
No
Inserts instructions and searches for program addresses
Checking programs
Monitoring programs
Monitoring I/O memory
Changing I/O memory present values
Online editing
Debugging Changing timer and counter settings
Control set/ reset
No
Monitors in program address units
Simultaneous, 2 points max.
Changes 1 point at a time
Edits in instruction units
Yes
Executes 1 point at a time (or resets all at once)
Differentiation monitoring Yes
Reading cycle time Yes
Data tracing
Time chart monitoring
No
No
Reading error information
Reading error log
Reading/setting timer information
Reading/setting PLC parameters
Setting CPU Bus Unit parameters
Yes (error message display)
No
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes (Automatic allocation of local symbols)
Yes
(Cutting, pasting, inserting within programs; searching/exchanging instructions, addresses, and symbols; displaying cross-references)
Yes
Monitors multiple blocks
Monitors multiple points
Yes
Edits multiple adjacent blocks
Yes
182
Programming Devices
Section 3-3
File memory operations
Function
Initializing Memory Card Yes
Initializing EM file memory
Yes
Transferring files between
CPU Unit and file memory
Yes
No Remote programming and monitoring
Between Host Link and
Network PLC
Via modem
Setting password protection
Managing files
Printing
No
No
No
No
Programming Console
Yes
Yes
Yes
Yes
CX-Programmer
Yes
Yes
Manages files by project.
Yes
3-3-2 Programming Consoles
There are three Programming Consoles that can be used with the CS-series
CPU Units: The CQM1H-PRO01-E, CQM1-PRO01-E, and C200H-PRO27-E.
These Programming Consoles are shown here.
CQM1H-PRO01-E Programming Console
Connection
LCD area
Mode selector switch
7
7
E
4
4
B
1
1
A
0
0
FUN
A
TN
AND
G
AA
LD
M
SFT
B
ST
OR
H
AC
OUT
N
8
8
F
5
5
C
2
2
TEXT
!
CLR
9
9
6
6
D
3
3
NOT
C
TK
CNT
I
TIM
O
. IR+
. IR
D
.
−IR
TR
J
EM
DM
P
*EM_
EM_/EXT
S
DR
IR
E
*EM
WR/LR
K
CH
*DM
Q
CHG
T
SET
V
RESET
Y
DEL
W
INS
Z
VRFY
WRITE
SHIFT
F
AR
HR
L
CONT
#
R
CF
SRCH
U
MON
X
↑
↓
Operation keys (Install the
CS1W-KS001-E Key Sheet
(See Note.)
Cable included with CQM1H-PRO01-E
Programming Console
CQM1H-PRO01-E Programming Console
183
Programming Devices
CQM1-PRO01-E Programming Console
Connection
Section 3-3
LCD area
Mode selector switch
8
8
F
5
5
C
2
2
TEXT
!
SFT
B
ST
OR
H
AC
OUT
N
7
7
E
4
4
B
1
1
A
0
0
FUN
A
TN
AND
G
AA
LD
M
NOT
C
TK
CNT
I
TIM
9
6
O
9
6
D
3
3
. IR+
. IR
D
.
−IR
TR
J
EM
DM
P
*EM_
EM_/EXT
S
SET
V
DR
IR
E
*EM
WR/LR
K
CH
*DM
Q
CHG
T
DEL
W
RESET
Y
INS
Z
SHIFT
F
AR
HR
L
CONT
#
R
CF
SRCH
U
MON
X
↑
CLR VRFY WRITE
↓
Operation keys (Install the
CS1W-KS001-E Key Sheet
(See Note.)
CS1W-CN114 (cable length: 0.05 m)
Cable included with CQM1-PRO01-E
Programming Console
CQM1-PRO01-E Programming Console
Connect the CPU Unit to the Programming Console with the following cables.
CS1W-CN114 (Cable length: 0.05 m)
C200H-PRO27-E Programming Console
LCD area
Mode selector switch
8
8
F
5
5
C
2
2
TEXT
!
SFT
B
ST
OR
H
AC
OUT
N
7
7
E
4
4
B
1
1
A
0
0
FUN
A
TN
AND
G
AA
LD
M
NOT
C
TK
CNT
I
TIM
9
O
9
. IR+
. IR
D
. −IR
TR
J
EM
DM
P
*EM_
EM_/EXT
S
DR
IR
E
*EM
WR/LR
K
CH
*DM
Q
CHG
T
SHIFT
F
AR
HR
L
CONT
#
R
CF
SRCH
U
6
6
D
3
3
SET
V
RESET
Y
DEL
W
INS
Z
MON
↑
X
CLR VRFY WRITE
↓
Operation keys (Install the CS1W-KS001-E
Key Sheet (See Note.)
CS1W-CN224 (Cable length: 2.0 m)
CS1W-CN624 (Cable length: 6.0 m)
Casette jacks
C200H-PRO27-E
Connect the CPU Unit to the Programming Console with the following cables.
CS1W-CN224 (Cable length: 2.0 m)
CS1W-CN624 (Cable length: 6.0 m)
Note The Key Sheet is not used with CS-series CPU Units.
184
Programming Devices
Section 3-3
3-3-3 CX-Programmer
Item
Applicable PLC
Details
CS-series, CJ-series, CP-series, NSJ-series, CV-series,
C200HX/HG/HE (-Z), C200HS, CQM1, CPM1, CPM1A,
SRM1, C1000H/2000H
OS Microsoft Windows 95 (See note.), 98, NT 4.0 (Service Pack
6), 2000, Me, XP
Personal computer DOS version
Connection method CPU Unit’s peripheral port or built-in RS-232C port
Communications protocol with PLC
Peripheral bus or Host Link
Offline operation
Online operation
Programming, I/O memory editing, creating I/O tables, setting
PLC parameters, printing, program changing
Transmitting, referencing, monitoring, creating I/O tables, setting PLC parameters
Basic functions 1. Programming: Creates and edits ladder programs and mnemonic programs for the applicable PLC.
2. Creating and referencing I/O tables.
3. Changing the CPU Unit operating mode.
4. Transferring: Transfers programs, I/O memory data, I/O tables, PLC Setup, and I/O comments between the personal computer and the CPU Unit.
5. Program execution monitoring: Monitors I/O status/present values on ladder displays, I/O status/present values on mnemonic displays, and present values on I/O memory displays
Note Windows 95 cannot be used when connecting via a Controller Link Support
Board (PCI bus) or a SYSMAC LINK Support Board (PCI bus).
Connections
Personal computer
DOS
Peripheral port connection RS-232C port connection
9-pin male
9-pin female
Peripheral port
10-pin female
CS1W-CN118 (0.1 m) (See note 1)
CS1W-CN226 (2.0 m)
CS1W-CN616 (6.0 m)
CS1W-CN118
CS1W-CN226
CS1W-CN616
9-pin female
10-pin
9-pin male
9-pin female
RS-232C port
9-pin female
XW2Z-200S-CV/200S-V (See note 2)
XW2Z-500S-CV/500S-V (See note 2)
XW2Z-200S-
CV/200S-V or
XW2Z-500S-
CV/500S-V
9-pin female
9-pin male
Note 1.
The CS1W-CN118 Cable is used with one of the RS-232C Cables shown on the right (XW2Z@@@S-@@) to connect to the peripheral port on the
CPU Unit.
Peripheral port
RS-232C Cable
CS1W-CN118 Cable
2.
If cables with model numbers ending in -V instead of -CV are used to connect the computer running the CX-Programmer to the RS-232C port (in-
185
Programming Devices
Section 3-3
cluding when using a CS1W-CN118 Cable), a peripheral bus connection cannot be used. Use a Host Link (SYSMAC WAY) connection. To connect to the port using a peripheral bus connection, prepare an RS-232C cable as described in
3-3-5 RS-232C Port Specifications.
CX-Programmer Connecting Cables
Unit
CPU Units
Serial Communications
Boards/Units
Unit port Computer
Peripheral port
Built-in
RS-232C port
D-Sub, 9pin, female
RS-232C
Port
D-Sub, 9pin, female
DOS
DOS
DOS
Computer port
D-Sub, 9-pin, male
D-Sub, 9-pin, male
Serial communications mode
Peripheral Bus or
Host Link
Peripheral Bus or
Host Link
Model Length
CS1W-CN226
CS1W-CN626
2.0 m
6.0 m
XW2Z-200S-CV 2 m
XW2Z-500S-CV 5 m
Cable notes
---
Use a staticresistant connector.
D-Sub, 9-pin, male
Host Link XW2Z-200S-CV 2 m
XW2Z-500S-CV 5 m
Use a staticresistant connector.
Note 1.
Before connecting a connector from the above table to an RS-232C port, touch a grounded metal object to discharge static electricity from your body.
The XW2Z@@@S-CV Cables have been strengthened against static because they use a static-resistant connector hood (XM2S-0911-E). Even so, always discharge static electricity before touching the connectors.
2.
Do not use commercially available RS-232C personal computer cables. Always use the special cables listed in this manual or make cables according to manual specifications. Using commercially available cables may damage the external devices or CPU Unit.
RS-232C Cables for a Peripheral Port
Unit
CPU Units
Unit port Computer
Built-in peripheral port
Computer port
DOS D-Sub, 9-pin, male
Serial communications mode
Peripheral Bus or
Host Link
Model
CS1W-CN118 +
XW2Z-200S-CV/
500S-CV
Length Cable notes
0.1 m+
(2 m or
5 m)
XW2Z-
@@@S-CV models use a static-resistant connector
Using a CQM1-CIF01/02 Cable for a Peripheral Port
Unit
CPU Units
Unit port Computer
Built-in peripheral port
Computer port
DOS D-Sub, 9-pin, male
Serial communications mode
Host Link
Model
CS1W-CN114 +
CQM1-CIF02
Length Cable notes
0.05 m +
3.3 m
---
186
Programming Devices
Section 3-3
Using a RS-232C Cable for a IBM PC/AT or Compatible
Unit Unit port Computer
CPU Units
Serial Communications
Boards/Units
Built-in
RS-232C port
D-Sub, 9pin, female
RS-232C port
D-Sub,
9-pin, female
Computer port
DOS D-Sub, 9-pin, male
DOS D-Sub, 9-pin, male
Serial communications mode
Host Link
Model
XW2Z-200S-V
XW2Z-500S-V
Host Link XW2Z-200S-V
XW2Z-500S-V
Connection Method for USB-Serial Conversion Cable
Computer CS1W-CIF31 Cable 1 Cable 2
Length Cable notes
2 m
5 m
2 m
5 m
---
PLC
CS1W-N226/626 CS/CJ-series
Peripheral Port Programming
Device Connecting Cable
CS1W-CIF31
USB Connecting Cable
+
OR
CQM1H-CIF02 C-series
Peripheral Port Programming
Device Connecting Cable
+
CS1W-CN114 C-series Peripheral-
CS/CJ-series Peripheral
Conversion Cable
CS1W-CN118 RS-232C-CS/CJseries Peripheral Conversion
Cable
OR
XW2Z@@@ RS-232C
Programming Device
Connecting Cable
CX-Programmer Connecting Cables
Cables Connecting to CPU Units
USB
Connecting
Cable
Model
CS1W-
CIF31
Connector
D-sub, 9pin female
Cable 1
Cable model
CS1W-CN226/626
(length: 2 m/6 m)
CQM1-CIF02
(length: 3.3 m)
Connector
Connector
Cable 2
Cable model
CS/CJseries peripheral
C-series peripheral
Not required.
C-series peripheral
CS1W-CN114
(length: 5 cm)
XW2Z-200S-V/
500S-V (length: 2 m/
5 m)
D-sub, 9pin male
D-sub, 9pin female
CS1W-CN118
(length: 0.1 m)
XW2Z-200S-V/
500S-V (length: 2 m/
5 m)
D-sub, 9pin male
D-sub, 9pin female
CS1W-CN118
(length: 0.1 m)
XW2Z-200S-CV/
500S-CV (length:
2 m/5 m)
RS-232C
D-sub, 9pin male
Not required.
XW2Z-200S-V/
500S-V (length: 2 m/
5 m)
RS-232C
D-sub, 9pin male
Not required.
CS/CJseries peripheral
CS/CJseries peripheral
CS/CJseries peripheral
Connector
Unit port Serial communications mode
(network)
CS/CJseries peripheral
Peripheral Bus
(Toolbus) or Host
Link (SYSWAY)
Host Link
(SYSWAY)
Peripheral Bus
(Toolbus) or Host
Link (SYSWAY)
Host Link
(SYSWAY)
RS-232C
D-sub, 9pin female
Peripheral Bus
(Toolbus) or Host
Link (SYSWAY)
Host Link
(SYSWAY)
187
Programming Devices
Section 3-3
USB
Connecting
Cable
Model
CS1W-
CIF31
Connector
D-sub,
9-pin female
CS1W-
CIF31
D-sub,
9-pin female
Cables Connecting to Serial Communications Boards/Units
Cable 1
Cable model
XW2Z-200S-CV/
500S-CV
(length: 2 m/5 m)
XW2Z-200S-V/
500S-V
(length: 2 m/5 m)
Connector
RS-232C
D-sub, 9-pin male
RS-232C
D-sub, 9-pin male
Cable 2
Not required.
Not required.
Unit port Serial communications mode
(network)
RS-232C
D-sub, 9-pin female
Host Link
(SYSWAY)
Communications Modes when Connecting a CX-Programmer to a CS-series CPU Unit
Serial communications mode
Peripheral Bus
Host Link
Characteristics
High-speed communications are possible. Consequently, connecting via a peripheral bus is recommended when using a CX-Programmer.
Only 1:1 connection is possible.
When using a CS-series CPU Unit, the baud rate of the communications devices can be automatically recognized for connection.
This is a communications protocol with a generalpurpose host computer.
Either 1:1 or 1:N connections are possible.
Host Link communications are slow compared with the Peripheral Bus communications.
The following connections are possible: Via a modem or optical fiber adapter, over long distance using a RS-422A/485, and 1:N.
Note The CX-Programmer can be used for remote programming and monitoring. It can be used to program and monitor not only the PLC to which it is directly connected, but also to program and monitor any PLC connected through a
Controller Link or Ethernet network to which the PLC that the CX-Programmer is connected to is a part of. All programming and monitoring functionality for the directly connected PLC is supported for remote programming and monitoring, the PLC can be connected though either the peripheral or an RS-232C port, and either the peripheral bus or Host Link bus can be used. Remote programming is possible for up to three levels of networks (counting the local network but not counting the peripheral bus or Host Link connection between the
CX-Programmer and the local PLC).
188
Programming Devices
Section 3-3
CX-Programmer
Peripheral port or RS-232C port
Peripheral bus or Host Link
FINS
Remote programming and monitoring
Controller Link or Ethernet Network
CX-Programmer
Peripheral bus or Host Link Bridge
Ethernet Network
Controller Link Network
Controller Link Network
Gateway
3-3-4 Peripheral Port Specifications
Communications Mode Selection Flowchart
Connecting Device (Protocol)
Programming Console
CX-Programmer Peripheral bus connection
Communicate with the
CX-Programmer's communications settings (peripheral bus).
Communications Mode
1. Peripheral bus (auto-detect)
Communicate with the PLC Setup's communications settings
(peripheral bus).
2. Peripheral bus
Host Link connection 3. Host Link
Host computer
OMRON PT 4. NT Link
OMRON component (CompoWay/F) 5. Serial Gateway
Peripheral Port Communications Settings
Connection Communications Settings
Pin 4 of Front-panel
DIP Switch
PLC Setup peripheral port
OFF (factory setting) --setting (See note.)
1. Peripheral bus
(auto-detect)
2. Peripheral bus
3. Host Link
4. NT Link
5. Serial Gateway
ON
ON
ON
ON
Peripheral bus
Host Link (default setting)
NT Link
Serial Gateway
Note Set from the CX-Programmer or Programming Console.
189
Programming Devices
Section 3-3
3-3-5 RS-232C Port Specifications
Connector Pin Arrangement
Pin No.
1
4
5
2
3
8
9
6
7
Connector hood
Signal
FG
SD (TXD)
RD (RXD)
RS (RTS)
CS (CTS)
5 V
DR (DSR)
ER (DTR)
SG (0 V)
FG
Name
Protection earth
Send data
Receive data
Request to send
Clear to send
Power supply
Data set ready
Data terminal ready
Signal ground
Protection earth
Direction
---
Output
Input
Output
Input
---
Input
Output
---
---
Note Do not use the 5-V power from pin 6 of the RS-232C port for anything other than an NT-AL001, CJ1W-CIF11 Link Adapter, or NV3W-M @20L Programmable Terminal. Using this power supply for any other external device may damage the CPU Unit or the external device.
Connection between CS-series CPU Unit and Personal Computer
The following connections are in Host Link serial communications mode.
CS-series
CPU Unit
Signal
Pin
No.
Personal computer
Signal
Pin
No.
Shield
RS-232C interface
RS-232C interface
Note
D-Sub, 9-pin connector
Male connector on cable
D-Sub, 9-pin connector
Female connector on cable
1.
Refer to
Appendix E Connecting to the RS-232C Port on the CPU Unit
when converting between RS-232C and RS-422A/485 for 1:N connections.
2.
Refer to
Appendix E Connecting to the RS-232C Port on the CPU Unit
when making your own RS-232C cable.
The following connections are in Peripheral Bus serial communications mode.
CS-series
CPU Unit
Signal
Pin
No.
Personal computer
Pin
No.
Signal
RS-232C interface
RS-232C interface
D-Sub, 9-pin connector
Male connector on cable
D-Sub, 9-pin connector
Female connector on cable
190
Programming Devices
Applicable Connectors
Section 3-3
CPU Unit Connector
Plug
Hood
Item Model
XM2A-0901
XM2S-0911-E
Personal Computer Connector
Plug
Hood
Item Model
XM2D-0901
XM2S-0913
9-pin male
9-pin, millimeter screws
Specifications
Used together (One of each provided with CPU Unit.)
9-pin female
Specifications
Used together
9-pin, inch screws
IBM PC/AT or compatible
(9-pin male connector) CS1-series CPU Unit
Plug: XM2D-0901 (9-pin female)
RS-232C port
Hood: XM2S-0913
Recommended cable
Hood: XM2S-0911-E Plug: XM2A-0901 (9-pin male)
Provided with CPU Unit
Recommended Cables
Note Use the special cables provided from OMRON for all connections whenever possible. If cables are produced in-house, be sure they are wired correctly.
External devices and the CPU Unit may be damaged if general purpose (e.g., computer to modem) cables are used or if wiring is not correct.
Fujikura Ltd.: UL2464 AWG28 × 5P IFS-RVV-SB (UL product)
AWG 28 × 5P IFVV-SB (non-UL product)
Hitachi Cable, Ltd.: UL2464-SB(MA) 5P × 28AWG (7/0.127) (UL product)
CO-MA-VV-SB 5P × 28AWG (7/0.127) (non-UL product)
RS-232C Port Specifications
Item
Communications method Half duplex
Synchronization
Baud rate
Transmission distance
Interface
Start-stop
Specification
0.3/0.6/1.2/2.4/4.8/9.6/19.2/38.4/57.6/115.2 kbps
(See note.)
15 m max.
EIA RS-232C
Protocol Host Link, NT Link, 1:N, No-protocol, or Peripheral Bus
Note Baud rates for the RS-232C are specified only up to 19.2 kbps. The CS Series supports serial communications from 38.4 kbps to 115.2 kbps, but some computers cannot support these speeds. Lower the baud rate if necessary.
191
Programming Devices
Communications Mode Selection Flowchart
Connecting Device (Protocol)
CX-Programmer Peripheral bus connection Communicate with the
CX-Programmer’s communications settings (peripheral bus).
Communicate with the PLC Setup’s communications settings
(peripheral bus).
Host Link connection
Section 3-3
Communications Mode
1. Peripheral bus (auto-detect)
2. Peripheral bus
3. Host Link
Host computer
OMRON PT
General-purpose external serial device
4. NT Link
5. No-protocol
OMRON component (CompoWay/F)
RS-232C Port Communications Settings
Connection
6. Serial Gateway
Pin 5 of Front-panel
DIP Switch
ON
Communications Settings
---
PLC Setup RS-232C port setting (See note.)
1. Peripheral bus
(auto-detect)
2. Peripheral bus
3. Host Link
4. NT Link
5. No-protocol
6. Serial Gateway
OFF (factory setting) Peripheral bus
OFF (factory setting) Host Link (default setting)
OFF (factory setting) NT Link
OFF (factory setting) No-protocol
OFF (factory setting) Serial Gateway
Note Set from the CX-Programmer or Programming Console.
192
Power Supply Units
Section 3-4
3-4 Power Supply Units
3-4-1 Power Supply Units
Model
C200HW-PA204
C200HW-PA204C
Supply voltage
100 to 240 V AC
(Wide range)
(See note 2.)
Output capacity
5 V DC, 4.6 A,
26 V DC, 0.625 A, total 30 W
Power output terminals
No
No
RUN output
No
No
Yes
No
Replacement notification function
Without
Display: Supported Output:
Supported
Without
Without
C200HW-PA204R
C200HW-PA204S 100 to 120 V AC or
200 to 240 V AC
C200HW-PA209R
(Select the voltage using the metal short bar on the voltage selector terminals.)
C200HW-PD024 24 V DC
C200HW-PD025 24 V DC
5 V DC, 4.6 A,
26 V DC, 0.625 A, total 30 W (See note 1.)
5 VDC, 9 A,
26 V DC, 1.3A, total 45 W
5 V DC, 4.6 A, 26 V DC,
0.625 A, total 30 W
5 V DC, 5.3 A, 26 V DC,
1.3 A, total 40 W
No
No
No
Yes
24 V DC,
0.8 A
No Yes
No
No
Without
Without
Without
Weight
500 g max.
500 g max.
500 g max.
500 g max.
1,000 g max.
550 g max.
630 g max.
Note 1.
For C200HW-PA204S, the total also includes the power consumption of the power supply output terminals.
2.
The power supply voltage for C200HW-PA204 Power Supply Units manufactured before March 2010 and C200HW-PA204R Power Supply Units manufactured before May 2010 is 100 to 120 V AC/200 to 240 V AC
(switched using short bar). For details on the differences between these
Units, refer to
Unit Differences by Manufacturing Date (Reference Informa-
193
Power Supply Units
3-4-2 Components and Switch Settings
POWER indicator
(Lights when 5 V is output from Power Supply Unit)
External connection terminals
C200HW-PA204
AC input
C200HW-PA204S
AC100-240V
INPUT
AC input
NC
NC
Voltage selector
(See note.)
Section 3-4
NC
NC
24 VDC power output
C200HW-PA204R
AC input
C200HW-PA209R
AC100-240V
INPUT
AC input
NC
NC
Voltage selector
(See note.)
C200HW-PD024/025
DC input DC24V
RUN output
RUN output
RESISTIVE
Note 100 to 120 V AC: Closed circuit, 200 to 240 V AC: Open circuit
Always open the circuit (remove the metal jumper) before applying a voltage of 200 to 240 V AC.
(Example: C200HW-PA204C)
Replacement notification display
POWER indicator
Lit: 5-V output from Power Supply Unit.
PA204C PA204C
Terminals external connect
L2 /N
100 to 240
VAC
IN PU T
L1
L
− NC
− NC
ALA RM
OUTPU T
30 VDC, 50 mA
NORMAL: ON
AL ARM : OFF
AC input
LG
GR
Alarm output
(replacement notification output)
TEST switch
The TEST switch can be used to temporarily turn OFF the alarm output that notifies when replacement is needed.
194
Power Supply Units
AC Input
Section 3-4
Either a power supply of 100 to 120 V AC or 200 to 240 V AC can be selected.
The C200HW-PA204C supplies 100 to 240 V AC (allowable voltage fluctuation range: 85 to 264 V AC).
The C200HW-PA204C has a wide-range supply voltage, so voltage selector terminals are not provided.
Note The L2/N and L1 display on the AC power supply terminal is L1/N and L2 on some products, however, the function and performance of the terminals are the same.
Voltage Selector
Before applying a voltage of 100 to 120 V AC, close the circuit using the metal jumper.
Note Always remove the metal jumper before applying a voltage of 200 to 240 V
AC. Not doing so will damage the Unit.
LG
Ground to a resistance of 100 Ω or less to increase noise resistance and avoid electric shock.
GR
Ground to a resistance of 100 Ω or less to avoid electric shock.
24-V DC Power Output (PA204 Only)
This terminal outputs a service voltage of 24 V DC. Use this terminal to supply power to DC Input Units (C200HW-PA204S only). The total current consumption of the 5-V and 24-V outputs must be 30 W max.
DC Input
24-V DC power is supplied from this terminal.
RUN Output (PA204R/PA209R Only)
The internal contact turns ON when the CPU Unit is operating (RUN or MON-
ITOR mode). (The RUN output does not turn ON on Expansion Racks.)
Alarm Output (PA204C Only)
The alarm output is used to notify when Power Supply Unit replacement is required. The output is normally ON. The output turns OFF when the time until replacement is 6 months or less.
195
Power Supply Units
3-4-3 Dimensions
C200HW-PA204
C200HW-PA204S
C200HW-PA204R
C200HW-PD204
Section 3-4
196
Power Supply Units
C200HW-PA204C
130
PA204C
PO
54
11
100
105.2
C200HW-PA209R
C200HW-PD025
Section 3-4
3-4-4 Selecting a Power Supply Unit
After determining what power supply voltage is required, whether power output terminals and a RUN output are required, and whether replacement notification is required, calculate the current and power requirements for each
Rack.
Condition 1: Current Requirements
There are three voltage groups for internal power consumption: 5 V DC,
26 V DC, and 24 V DC.
Current Consumption at 5 V DC (Internal Logic Power Supply)
The following table shows the current that can be supplied to Units (including the CPU Unit) and Backplanes that use 5-V DC power.
Maximum current at 5 V DC Power Supply Unit
C200HW-PA204/204S/204R/204C
C200HW-PD204
4.6 A
197
Power Supply Units
Section 3-4
Power Supply Unit
C200HW-PA209R
C200HW-PD025
9 A
5.3 A
Maximum current at 5 V DC
Current Consumption at 26 V DC (Relay Driving Power Supply)
The following table shows the current that can be supplied to Units that use
26-V DC power.
Power Supply Unit
C200HW-PA204/204S/204R/204C
C200HW-PD204
C200HW-PA209R/PD025
Maximum current at 26 V DC
0.625 A
1.3 A
Current Consumption at 24 V DC (Power Output Terminals)
The C200HW-PA204S Power Supply Unit can supply up to 0.8 A at 24 V DC through its power output terminals.
Condition 2: Power Requirements
The following table shows the maximum total power that can be supplied at
5 V DC, 26 V DC, and 24 V DC.
Power Supply Unit
C200HW-PA204/204S/204R/204C
C200HW-PD204
C200HW-PA209R
C200HW-PD025
30 W
Maximum total power output
45 W
40 W
Refer to
2-6 Unit Current Consumption for tables showing the current con-
sumed by each particular Unit as well as example calculations.
Precautions when Replacing the C200HW-PA204/PA204R
The following precautions apply when replacing a C200HW-PA204/PA204R.
■ Startup Time
The time from when the power is turned ON until the PLC operation starts is approximately 1 second faster. Make sure that the system will not be adversely affected by the change in timing.
■ Power Failure Detection Voltage
The power failure detection voltage is 85 V max. The PLC will stop operating if the voltage drops below this voltage level.
Note If the previously used Power Supply Unit was switchable between 100 to 120
V AC and 200 to 240 V AC and 200 to 240 V AC was used, power failures were detected when the voltage dropped to 170 V or lower and the PLC operation stopped. With C200HW-PA204 Units manufactured from March 2010 and C200HW-PA204R Units manufactured from May 2010, however, operation will not stop between 85 V and 170 V. Therefore, make sure that the system will not be adversely affected by the change in detection voltage.
198
Power Supply Units
Section 3-4
Unit Differences by Manufacturing Date (Reference Information)
■ Differences in C200HW-PA204 Models
Model
Manufacturing date March 2010 or later
Identification on nameplate
C200HW-PA204/Wide AC
C200HW-PA204 / Wide AC
C200HW-PA204
Before March 2010
C200HW-PA204
C200HW-PA204
Input specifications
Power failure detection voltage
Power supply startup time (See note.)
Service power supply
RUN output
Terminal block wiring
100 to 240 V AC (wide range)
85 V max.
200 ms max.
Not supported.
Not supported.
C200HW-PA204
AC input
L2/N
100 to
240 V AC
INPUT
L1
NC
NC
Unconnected terminals
LG
GR
Unconnected terminals
NC
NC
100 to 120 V AC/200 to 240 V AC
(Switched with short bar.)
100 to 120 V AC: 85 V max.
200 to 240 V AC: 170 V max.
1,500 ms max.
Not supported.
Not supported.
C200HW-PA204
AC input
Voltage selector
LG
GR
Unconnected terminals
L2/N 100 to
120 V AC
200 to
240 V AC
L1 INPUT
100 to 120
CLOSE
200 to 240
OPEN
NC
NC
Note The time from when the external input (AC power supply) is input until 5 V or
26 V is output.
199
Power Supply Units
Section 3-4
■ Differences in C200HW-PA204R Models
Model
Manufacturing date May 2010 or later
Identification on nameplate
C200HW-PA204R/Wide AC
C200HW-PA204R / Wide AC
C200HW-PA204R
Before May 2010
C200HW-PA204R
C200HW-PA204R
Input specifications
Power failure detection voltage
Power supply startup time (See note.)
Service power supply
RUN output
Terminal block wiring
100 to 240 V AC (wide range)
85 V max.
200 ms max.
Not supported.
Supported
C200HW-PA204R
100 to 120 V AC/200 to 240 V AC
(Switched with short bar.)
100 to 120 V AC: 85 V max.
200 to 240 V AC: 170 V max.
1,500 ms max.
Not supported.
Supported
C200HW-PA204R
AC input
Unconnected terminals
L2/N
100 to
240 V AC
INPUT
L1
NC
NC
AC input
Voltage selector
L2/N
100 to
120 V AC
200 to
240 V AC
L1 INPUT
100 to 120
CLOSE
200 to 240
OPEN
LG
GR
RUN output
RUN
OUTPUT
250 V AC
24 V DC
2A
LG
GR
RUN output
RUN
OUTPUT
250 V AC
24 V DC
2A
Note The time from when the external input (AC power supply) is input until 5 V or
26 V is output.
3-4-5 Replacement Notification
Principle of Replacement Notification
The Power Supply Unit has a built-in electrolytic capacitor. The electrolytic capacitor is impregnated with electrolytic solution that starts to penetrate the sealing rubber from the time of manufacture. As time elapses, the internal electrolytic solution continues to evaporate, resulting in decreased electrostatic capacity and deterioration in other characteristics. Over time, the characteristic deterioration of the electrolytic capacitor prevents the Power Supply
Unit from being utilized to its full capacity. In particular, the speed at which the electrolytic capacitor deteriorates fluctuates greatly with the ambient temperature (generally, a temperature rise of 10 °C will double the rate of a reaction, as stated by Arrhenius' law).
The C200HW-PA204C Power Supply Unit with Replacement Notification monitors the internal temperature of the Power Supply Unit while the power is turned ON, and calculates the level of deterioration of the electrolytic capacitor from the operating time and internal temperature. The replacement notification function displays the approximate time until the Power Supply Unit will stop functioning at its full capacity due to the characteristic deterioration of the electrolytic capacitor, based on the calculated level of deterioration. When 6 months are remaining until replacement is required, the alarm output will turn
OFF.
200
Power Supply Units
Section 3-4
Note The replacement notification function provides an indication of when the deterioration of the electrolytic capacitor will prevent the power supply functioning at its full capacity. It does not provide information on failures occurring due to other causes.
Power Supply Unit with Replacement Notification
Model
C200HW-PA204C
Specifications
Output capacity: 4.6 A at 5 V DC, 0.625 A at 26 V DC, total of
30 W
With replacement notification
Power Supply Unit Replacement Notification Module
C200HW-PA204C
Replacement notification display (7-segment, red)
POWER indicator (green)
Alarm output
(replacement notification output)
Test switch
Function
Replacement Notification Function Displays
The replacement notification for the Power Supply Unit is shown using three
7-segment LED displays.
• At time of purchase “FUL” is displayed. The display changes to “HLF” as the electrolytic capacitor deteriorates (“HLF” may not be displayed, depending on the operating environment).
• When the time until replacement is required drops below 2 years, the display will change corresponding to the operating time from “1.5” to “1.0” to
“0.5” to “0.0”/”A02.” When the remaining service life reaches 6 months or less, the display will alternate between “0.0” and “A02” in 2-second intervals.
201
Power Supply Units
Section 3-4
Capacity at time of manufacture
Replacement required
Electrolytic capacitor level Replacement notification display
(7-Segment)
2.0 yr
Alarm output
(replacement notification output)
1.5 yr
Output ON
1.0 yr 0.5 yr
Output
OFF
0 yr
Remaining life plan
The output turns OFF when the remaining life span reaches 6 months, and the following display is repeatedly alternated.
Note 1.
The time remaining until replacement does not include periods when the power is turned OFF.
2.
Until approximately one month of operating time has accumulated, the display will always be “FUL” and the alarm output will remain ON (conducting) due to the estimated deterioration speed.
3.
The time remaining until replacement will vary the operating and storage conditions, so periodically check the display.
4.
Fluctuation in the time remaining until replacement may result in the alarm output repeatedly turning ON and OFF.
5.
The precision of the replacement notification function will be adversely affected by applications in which the power is frequently turned ON and OFF.
6.
Due to the service life of the electronic components, replace the Power
Supply Unit approximately 15 years after purchase, even if the replacement notification display or output has not indicated that replacement is required.
Alarm Output (Replacement Notification Output)
The output remains ON until the remaining service life drops below 6 months and then turns OFF.
Note 1.
The alarm output will also turn OFF under the following conditions.
• The AC input to the Power Supply Unit is turned OFF.
• An error is detected by the self-diagnostic function.
• The TEST switch is pressed for at least 3 seconds.
2.
Example of Using the Alarm Output:
Monitoring Power Supply Replacement Notification in the System (6
Months or Less Until Replacement Is Required)
202
Power Supply Units
Section 3-4
Alarm output
ON
OFF
Turns OFF when 6 months remains
Alarm output
[ TIM 000 5 s ]
Internal Flag
T000
The Flag is programmed to allow for the delay in the alarm output at system startup. The Flag does not turn ON when the alarm output is ON (normal operation). When the alarm output turns OFF (replacement required), the
Flag turns ON, and the replacement notification can be monitored from the system.
Maintenance Function Using the TEST Switch
• Press the TEST switch for at least 3 seconds to display “A02” and force the alarm output OFF. Release the switch to return to normal operating status.
The TEST switch is used initially or periodically to check the connection status between the alarm output and external devices.
• Press the TEST switch for less than 3 seconds to display the unit version information for the Power Supply Unit.
Note 1.
Replace the Power Supply Unit within 6 months when the display on the front panel of the Power Supply Unit alternates between 0.0 and A02 or the alarm output automatically turns OFF.
2.
Maintain an ambient storage temperature of −20 to 30°C and humidity of
25% to 70% when storing the product (with the power turned OFF) for longer than 3 months to keep the replacement notification function in optimum working condition. The replacement time is calculated from when the power is turned ON only. The precision of the replacement period will decline if the electrolytic capacitor deteriorates during storage.
Display and Alarm Output Operation
Normal Display: Replacement Notification Display
When 6 months or less are remaining until replacement is required, the display will alternate between “0.0” and “A02” (in 2 second intervals), and the alarm output will turn OFF.
Remaining service life:
1 year to 6 months
2 s
Remaining service life:
6 months max.
2 s 2 s 2 s 2 s
Alarm output
Operation at Powerup
ON OFF
The following initial display is shown when the power is turned ON, after which the replacement notification is displayed. The alarm output turns ON approximately 0.2 seconds after the power is turned ON.
203
Power Supply Units
Section 3-4
Power ON Display start
0.3 s
Initial display (approx. 1.1 s)
0.1 s 0.3 s 0.1 s 0.3 s
Replacement required display
Display
Alarm output OFF ON
1 s max.
Power ON
0.2 s max.
When replacement is already required, the alarm display will follow the initial display. The alarm output will turn ON approximately 0.2 seconds after the power is turned ON, and then turn OFF after approximately 5 seconds.
Display start
Initial display (approx. 1.1 s) Alarm display
Alarm output OFF
Display
Alarm output OFF ON OFF
5 s max.
1 s max.
0.2 s max.
Operation at Power OFF
When the power is turned OFF, the display will turn OFF after the PLC operation stops. The alarm output will turn OFF after the display turns OFF.
Replacement notification display
Power interruption
PLC operation stopped Notification display
OFF
Alarm output
OFF
Display
Alarm output
ON
Approx. 70 ms
(See note.)
OFF
100 VAC: Approx. 2 s
200 VAC: Approx. 7 s
(See note.)
If replacement is already required, the display will turn OFF after the PLC operation stops. When the display turns OFF, the alarm output will turn ON momentarily and then turn OFF again.
Power interruption
Alarm display
PLC operation stopped
Notification display OFF
+ alarm output ON
Alarm output
OFF
Display
Alarm output
OFF ON
Approx. 70 ms
(See note.)
OFF
100 VAC: Approx. 2 s
200 VAC: Approx. 7 s
(See note.)
Note The values shown are reference values (calculated for a no-load status on the
Power Supply Unit's output).
Operation when TEST Switch Is Pressed
The following operation will be performed when the TEST switch on the replacement notification function module is pressed. When the switch is pressed for less than 3 seconds, the unit version will be displayed 3 times at
0.5-second intervals. When the switch is pressed for at least 3 seconds, the alarm output will momentarily turn OFF, and the alarm display A02 will be shown. The operation will return to the normal display and output when the
204
Power Supply Units
TEST switch
ON
0.5 s
Section 3-4
switch is released. Use the TEST switch to check the connection between the replacement notification output and devices.
1.
Operation when TEST switch is pressed for less than 3 seconds.
0.5 s 0.5 s 0.5 s 0.5 s 0.5 s
TEST switch
0.5 s
2.
Operation when TEST switch is pressed for 3 seconds or longer.
3 s
0.5 s 0.5 s
ON
0.5 s 0.5 s 0.5 s
Alarm output ON OFF ON
Note In standard operating conditions, the Power Supply Unit replacement notification function will be activated after between several years to beyond a decade.
For long-term use, be sure to periodically check TEST switch operations, and make sure that the alarm output is operating normally.
Self-diagnostic Function
Error name Display
Unit overheated error
Unit error
Alarm output status
OFF
OFF
Error details (cause)
Internal overheating has occurred in the Power Supply
Unit as a result of usage under conditions that exceed the specified values, insufficient ventilation, or incorrect installation.
(See note.)
System error from external noise or hardware malfunction.
Recovery method
Remove the cause of the overheating error.
Turn ON the input's power supply again.If the Unit does not recover, the error may be caused by a Unit malfunction. Consult with your
OMRON representative.
Note If the error continues for 3 hours or longer, the replacement notification function will be disabled. Even if the cause of the overheating is removed, the display will continue as “Hot,” and the notification output will remain OFF. In this state, the internal parts may deteriorate even if the PLC operation is normal, so replace the Power Supply Unit.
Precautions when Replacing Earlier Units
The following precautions apply when replacing a C200HW-PA204/PA204S/
PA204R with a C200HW-PA204C.
Terminal Wiring
• Be sure to wire the ground terminals correctly. Incorrect ground terminal wiring will adversely affect the Unit's resistance to noise. (For details on terminal arrangements for each Power Supply Unit, refer to
• The C200HW-PA204C is not provided with a service power supply and
RUN output (RUN).
205
Power Supply Units
Section 3-4
Startup Time
The startup time of the C200HW-PA204 and C200HW-PA204R depends on the manufacturing date. Refer to the tables of differences for details.
The time from when the power is turned ON until the PLC operation starts is approximately 1 second faster. Make sure that the system will not be adversely affected by the change in timing.
Power Failure Detection Voltage
The power failure detection voltage of the C200HW-PA204 and C200HW-
PA204R depends on the manufacturing date. Refer to the tables of differences for details.
The power failure detection voltage is 85 V. The PLC will stop operating if the voltage drops below this voltage level.
Note If the previously used Power Supply Unit was switchable between 100 to 120
V AC and 200 to 240 V AC and 200 to 240 V AC was used, power failures were detected when the voltage dropped to 170 V or lower and the PLC operation stopped. With C200HW-PA204C, however, operation will not stop between 85 V and 170 V. Therefore, make sure that the system will not be adversely affected by the change in detection voltage.
Comparison between the C200HW-PA204C and the C200HW-PA204
Item C200HW-PA204C C200HW-PA204 (Manufactured
March 2010 or later)
C200HW-PA204/Wide AC Identification on nameplate
C200HW-PA204C
Input specifications 100 to 240 V AC (wide range) 100 to 240 V AC (wide range)
C200HW-PA204 (Manufactured before March 2010)
C200HW-PA204
Power failure detection voltage
Power supply startup time (See note.)
RUN output
85 V max.
200 ms max.
Not supported
85 V max.
200 ms max.
100 to 120 V AC/200 to 240 V
AC (Switched with short bar.)
100 to 120 V AC: 85 V max.
200 to 240 V AC: 170 V max.
1,500 ms max.
Terminal block wiring C200HW-PA204C
Not supported (Supported by the
PA204R)
C200HW-PA204
Not supported (Supported by the PA204R)
C200HW-PA204
AC input
LG
GR
Alarm output
(replacement notification output)
Unconnected terminals
L2/N
100 to
240 V AC
L1
INPUT
AC input
Unconnected terminals
L
NC
ALARM
OUTPUT
30 V DC,
50 mA
NOMAL: ON
ALARM: OFF
NC
LG
GR
Unconnected terminals
L2/N
100 to
240 V AC
L1
INPUT
NC
NC
NC
NC
POWER indicator
Replacement notification
On replacement notification module
Supported (7-segment display
+ transistor outputs)
On hood of Power Supply Unit
Not supported
AC input
Voltage selector
L2/N
100 to 120 V AC
200 to 240 V AC
INPUT
L1
100 to 120
CLOSE
200 to 240
OPEN
L G
GR
Unconnected terminals
NC
NC
On hood of Power Supply Unit
Not supported
Note The time from when the external input (AC power supply) is input until 5 V or
26 V is output.
206
Backplanes
Section 3-5
3-5 Backplanes
3-5-1 CPU Backplanes
CPU Backplane Models
Standard CS-series CPU Backplanes
Number of slots
2 slots
3 slots
5 slots
8 slots
10 slots
Model
CS1W-BC023
CS1W-BC033
CS1W-BC053
CS1W-BC083
CS1W-BC103
CS-series-only CPU Backplanes
Number of slots
2 slots
3 slots
5 slots
8 slots
10 slots
Model
CS1W-BC022
CS1W-BC032
CS1W-BC052
CS1W-BC082
CS1W-BC102
Note C200H Units (C200H Basic I/O Units, C200H Group-2 High-density I/O Units, and C200H Special I/O Units) cannot be used with CS-series-only CPU Backplanes.
Components and Switch Settings
Unit mounting slots
(for mounting each Unit)
Unit connectors
Backplane mounting screws
(4 M4 screws)
(The Backplane is structured so that it can be insulated from the control panel when installed.)
Power Supply Unit connector
CPU Unit connector
See note.
I/O cable connector
Unit lock lever
(Fix each Unit securely. Press down on the lock lever to remove the Unit)
(for connecting a CS1 Expansion Rack or a C200H Expansion I/O Rack)
Note Mount an I/O Control Unit (CS1W-IC102) here to connect a CS1 Long-distance Expansion Rack next.
207
Backplanes
Section 3-5
Note Always cover the connectors that are not being used with Connector Covers
(sold separately) as a measure against dust.
Name
C200H Unit Connector Cover C500-COV01
Model
CS-series Special I/O Unit Connector Cover CV500-COV01
Dimensions and Weights
CS1W-BC023/022 (2 Slots)
35
172.3
198.5
105.25
Weight: 600 g max.
CS1W-BC @@@ (3, 5, 8, or 10 Slots)
20.2
17
23.7
CS1W-BC023
5.2
5.9
17
21.9
CS1W-BC022
5.2
35
L
W
124
Model Number of slots
CS1W-BC033 3
CS1W-BC053 5
CS1W-BC083 8
CS1W-BC103 10
CS1W-BC032 3
CS1W-BC052 5
246
L (mm)
316
421
491
246
316
6
260
W (mm)
330
435
505
260
330
5.2
27
17
Weight (max.)
750 g
900 g
1,200 g
1,400 g
750 g
900 g
208
Backplanes
Section 3-5
Model Number of slots
CS1W-BC082 8
CS1W-BC102 10
421
491
L (mm)
435
505
W (mm)
Model
Weight (max.)
1,200 g
1,400 g
3-5-2 CS-series Expansion Backplanes
CS-series Expansion Backplanes are used for both CS-series Expansion
Racks and CS-series Long-distance Expansion Racks.
CS-series Expansion Backplane Models
Standard CS-series Expansion Backplane
Number of slots
3 slots
5 slots
8 slots
10 slots
CS1W-BI033
CS1W-BI053
CS1W-BI083
CS1W-BI103
CS-series-only Expansion Backplane
Number of slots
3 slots
5 slots
8 slots
10 slots
CS1W-BI032
CS1W-BI052
CS1W-BI082
CS1W-BI102
Model
Note C200H Units (C200H Basic I/O Units, C200H Group-2 High-density I/O Units, and C200H Special I/O Units) cannot be used with CS-series-only Expansion
Backplanes.
Components and Switch Settings
Unit mounting slots
(for mounting each Unit)
Unit connectors
Backplane mounting screws
(4 M4 screws)
(The Backplane is structured so that it can be insulated from the control panel when installed.)
Power Supply Unit connector
See note .
I/O cable connector
(for connecting the following Rack)
Unit lock lever
(Fix each Unit securely. Press down on the lock lever to remove the Unit)
I/O cable connector
(for connecting the previous Rack)
Note Mount an I/O Control Unit (CS1W-IC102) here to start connecting CS1 Long-distance Expansion Racks next. Mount an
I/O Interface Unit (CS1W -II102) if this Rack is a CS1 Long-distance Expansion Rack (i.e., the previous Rack is connected via an I/O Control Unit or an I/O Interface Unit).
209
Backplanes
Dimensions
Section 3-5
Note Always cover the connectors that are not being used with Connector Covers
(sold separately) as a measure against dust.
Name
C200H Unit Connector Cover
CS-series CPU Bus Unit Connector Cover
Model
C500-COV01
CV500-COV01
CS1W-BI@@@
5.2
35 59.75
L
W
6
27
17
Model Number of slots
CS1W-BI033 3
CS1W-BI053 5
CS1W-BI083 8
CS1W-BI103 10
CS1W-BI032 3
CS1W-BI052 5
CS1W-BI082 8
CS1W-BI102 10
246
L (mm)
316
421
491
246
316
421
491
260
W (mm)
330
435
505
260
330
435
505
Weight (max.)
750 g
900 g
1,200 g
1,400 g
750 g
900 g
1,200 g
1,400 g
3-5-3 C200H Expansion I/O Backplanes
C200H Expansion I/O Racks cannot be connected together with CS-series
Long-distance Expansion Racks.
C200H Expansion I/O Backplane Models
Number of slots
3 slots
5 slots
8 slots
10 slots
Model
C200HW-BI031
C200HW-BI051
C200HW-BI081-V1
C200HW-BI101-V1
210
Backplanes
Components and Switch Settings
Unit connectors
Unit mounting slots
(for mounting each Unit)
Section 3-5
Backplane mounting screws
(4 M4 screws)
I/O cable connector
(for connecting the previous Rack:
CPU Rack, CS1 Expansion Rack, or C200H Expansion I/O rack)
Unit lock lever
(Fix each Unit securely. Press down on the lock lever to remove the Unit)
I/O cable connector
(for connecting the following Rack:
C200H Expansion I/O Rack)
Power Supply Unit connector
Note Always cover the connectors that are not being used with Connector Covers
(sold separately) as a measure against dust.
Model Name
C200H Unit Connector Cover
CS-series CPU Bus Unit Connector
Cover
C500-COV01
CV500-COV01
Dimensions
C200HW-BI@@@
Optional Products
Model
C200HW-BI031 3
Number of slots
C200HW-BI051 5
C200HW-BI081-V1 8
C200HW-BI101-V1 10
189
259
364
434
W (mm) Weight (max.)
500 g
650 g
950 g
1,100 g
Product
Backplane
Insulation Plate
(for C200H
Expansion I/O
Backplane)
Specifications
Used to electrically insulate the C200H
Expansion I/O Rack from the mounting surface in the control panel to improve noise resistance.
Number of slots
3 slots
5 slots
8 slots
10 slots
Model
C200HW-ATT32
C200HW-ATT52
C200HW-ATT82
C200HW-ATTA2
211
Backplanes
Section 3-5
3-5-4 I/O Control Units, I/O Interface Units, and Terminators
I/O Control Units and I/O Interface Units are used to create CS-series Longdistance Expansion Racks. Terminators are connected to the last CS-series
Long-distance Expansion Rack in each series. (Up to two series of CS-series
Long-distance Expansion Racks can be connected.)
CS1W-IC102 I/O Control Unit
An I/O Control Unit is connected to the leftmost slot on the CPU Rack or the last CS-series Expansion Rack to start connecting CS-series Long-distance
Expansion Racks.
Part Names and Functions
Indicators
OUT A OUT B
Indicators
Connector to Backplane
Connector to I/O Interface
Unit of series A
Connector to I/O Interface
Unit of series B
Indicator
RDY (green)
Status
Lit Operating normally.
Not lit Bus error.
TERM ERR (red) Lit Terminator missing.
Not lit Terminator connected.
Meaning
212
Backplanes
Dimensions and Weight
IC102
R DY
CS
OUT A OUT B
130
190 123
Section 3-5
34.5
Weight: 300 g max. (including cable to Backplane)
Connection Method on CPU Rack
Connect to I/O cable connector.
236.5
Backplane
CPU Rack
Series A Series B
Connection Method on
Note Connect a Terminator (CV500-TER01) to the unused connector when connecting only series A or series B.
Connect the I/O Control Unit to the output I/O cable connector (right side).
CS-series Expansion Rack
To CPU Rack or previous CS series Expansion Rack
CS1 Expansion Rack
Series A Series B
Note Connect a Terminator (CV500-TER01) to the unused connector when connecting only series A or series B.
213
Backplanes
Section 3-5
CS1W-II102 I/O Interface Unit
Mount an I/O Interface Unit to the leftmost slot on each CS-series Long-distance Expansion Rack.
Part Names and Functions
Indicator
IN OUT
Connector to
Backplane
IN expansion connector
(to previous Rack)
OUT expansion connector
(to following Rack)
Indicator
Dimensions and Weight
II102
R
DY
CS
IN OUT
Indicator Status
RDY (green) Lit Operating normally.
Meaning
Not lit Bus error (bus reset) or system error.
190 123
130
34.5
Weight: 300 g max. (including connector to Backplane)
236.5
Backplane
214
Backplanes
Connection Method
Section 3-5
Connect the I/O Interface Unit to the input I/O cable connector on the Backplane (left side). Always connect a Terminator (CV500-TER01) to the connector for the next Rack when it is not used (i.e., on the last CS-series Longdistance Expansion Rack in the series).
To the previous Rack
(I/O Control Unit or I/O
Interface Unit)
CS1 Long-distance
Expansion Rack
CV500-TER01 Terminator
To the next Rack
(I/O Interface Unit)
Connect a Terminator when not used.
Two Terminators are provided with an I/O Control Unit
Weight: 50 g max.
215
Basic I/O Units
Section 3-6
3-6 Basic I/O Units
3-6-1 C200H and CS-series Basic I/O Units with Terminal Blocks
Basic Input
Units (with terminal blocks)
C200H Output Units (with terminal blocks)
Name Specifications Model
AC Input Units 100 to 120 V AC, 100 to 120 V DC, 16 inputs CS1W-IA111
100 to 120 V AC, 8 inputs C200H-IA121
100 to 120 V AC, 16 inputs C200H-IA122
C200H-IA122V
200 to 240 V AC, 8 inputs
200 to 240 V AC, 16 inputs
200 to 240 V AC, 16 inputs
C200H-IA221
C200H-IA222
C200H-IA222V
CS1W-IA211
AC/DC Input Units 12 to 24 V AC/V DC, 8 inputs
24 V AC/V DC, 16 inputs
DC Input Units 12 to 24 V DC, 8 inputs
12 to 24 V DC, 16 inputs
Interrupt Input
Units
24 V DC, 16 inputs
24 V DC, 16 inputs
12 to 24 V DC, 8 inputs
24 V DC, 16 inputs High-speed Input
Unit
Relay Output
Units
C200H-IM211
C200H-IM212
C200H-ID211
C200H-ID212
CS1W-ID211
CS1W-INT01
C200HS-INT01
CS1W-IDP01
2 A at 250 V AC/24 V DC max., 0.1 A at
120 V DC, independent contacts, 8 outputs
2 A at 250 V AC/24 V DC max., 0.1 A at
120 V DC, 16 outputs
CS1W-OC201
CS1W-OC211
2 A at 250 V AC/24 V DC max., independent contacts, 5 outputs
C200H-OC223
5
5
1
2 A at 250 V AC/24 V DC max., independent contacts, 8 outputs
C200H-OC224 3
C200H-OC224N 3
C200H-OC224V
(no longer manufactured)
3
2 A at 250 V AC/24 V DC max., 8 outputs
C200H-OC124N
C200H-OC221 1
1
5
5
5
1
3
1
3
3
5
1
3
3
3
5
1
External view/dimensions reference No.
2 A at 250 V AC/24 V DC max., 12 outputs C200H-OC222
C200H-OC222V
(no longer manufactured)
C200H-OC222N 3
2 A at 250 V AC/24 V DC max., 16 outputs C200H-OC225 3
3
3
C200H-OC226 (no longer manufactured)
4
C200H-OC226N 4
216
Basic I/O Units
Section 3-6
Name Specifications Model
C200H Output Units (with terminal blocks)
Triac Output Units 1.2 A at 250 V AC max., 8 outputs, with fuse burnout detection circuit
1 A at 250 V AC max., 8 outputs, with fuse burnout detection circuit
1.2 A at 250 V AC max., 8 outputs, with fuse burnout detection circuit
CS1W-OA201
C200H-OA221 (no longer manufactured)
C200H-OA223
External view/dimensions reference No.
5
1
2
Transistor Output
Units, Sinking
Transistor Output
Units, Sourcing
0.3 A at 250 V AC max., 12 outputs
0.5 A at 250 V AC max., 12 outputs
0.5 A at 250 V AC max., 16 outputs
2.1 A at 24 V DC, 8 outputs
1 A at 12 to 48 V DC, 8 outputs
0.3 A at 24 V DC, 12 outputs
0.3 A at 24 V DC, 16 outputs
0.5 A at 12 to 24 V DC, 16 outputs
0.8 A at 24 V DC, load short-circuit protection, 8 outputs
C200H-OA222V
C200H-OA224
CS1W-OA211
C200H-OD213
C200H-OD411
C200H-OD211
C200H-OD212
CS1W-OD211
C200H-OD214
0.3 A at 5 to 24 V DC common, 8 outputs C200H-OD216
0.3 A at 5 to 24 V DC common, 12 outputs C200H-OD217
0.5 A at 24 V DC, load short-circuit protection, 16 outputs
CS1W-OD212
1 A at 24 V DC, load short-circuit protection,
16 outputs
C200H-OD21A
3
5
1
3
5
1
3
3
1
1
3
5
3
Note Immediate refreshing (!) or refreshing using IORF(097) is possible for all
C200H Basic I/O Units.
Optional Products
Name
I/O Unit Cover
Specifications
Cover for 10-pin terminal block; 8-point Input/5-point
Output Unit
Model
C200H-COV11
Terminal Block Covers
CS-series Special I/O Unit
Connector Cover
C200H Unit Connector
Cover
Short protection for 10-pin terminal block (package of
10 covers); 8 inputs, 8 outputs
Short protection for 19-pin terminal block (package of
10 covers); 12 inputs, 12 outputs
C200H-COV02
C200H-COV03
Protective cover for unused connectors on Backplane
Protective cover for unused connectors on Backplane
CV500-COV01
C200H-COV01
Relay
24 V DC, C200H-OC221/
OC222/OC223/OC224/
OC225
G6B-1174P-FD-US-M
217
Basic I/O Units
Components and Switch Settings
C200H 10-pin/19-pin Terminal Block
I/O indicator
10-pin terminal block
Unit mounting hooks
Hooked onto Backplane to mount Unit.
Model label
I/O indicator
Model label
I/O indicator
Section 3-6
19-pin terminal block
Terminal block connector
(10-pin)
Terminal block connector
(10-pin)
Terminal block connector
10-pin Terminal Block
10-pin terminal block
8-point Unit C200H-ID211,
C200H-IM211,
C200H-IA121,
C200H-IA221,
C200H-OC221,
C200H-OD216
8-point Unit
F indicator (fuse burnout)
C200H-OD213,
C200H-OD411,
C200H-OA221,
C200H-OA223
(illustrated above)
8-point Unit
ALARM indicator
C200H-OD214
5-point Unit C200H-OC223
10-pin Terminal Block (C200H-OA223)
19-pin Terminal Block
(C200H-OC226 19-pin
Terminal Block)
19-pin terminal block
16-point Unit C200H-ID212,
C200H-IA122,
C200H-IA222,
C200H-IM212,
C200H-IA122V,
C200H-IA222V,
C200H-OD21A,
C200H-OD212,
C200H-OC225,
C200H-OC226N,
C200H-OC226
(illustrated above)
12-point Unit
8-point Unit
C200H-OC222,
C200H-OC222V,
C200H-OD211,
C200H-OD217,
C200H-OA224,
C200H-OA222V
C200H-OC222N
C200H-OC224,
C200H-224V,
C200H-224N
218
Basic I/O Units
CS-series Basic Input Units (20-pin Terminal Block)
Section 3-6
16-point Unit
8-point Unit
20-pin terminal block
CS1W-ID211
INT01
IDP01
OD211
IA111
IA211
OC211
OA211
CS1W-OC201
ERR
ERR
16-point Units with ERR indicator (load short-circuit)
CS1W-OD212
8-point Units with ERR indicator (fuse burnout)
CS1W-OA201
219
Basic I/O Units
Dimensions
C200H Units with 10-pin Terminal Blocks
C200H-IA121
C200H-IA221
C200H-ID211
C200H-IM211
C200H-OA221
C200H-OC221
C200H-OC223
C200H-OD216
C200H-OD213
C200H-OD411
C200H-OD214
C200H-OA223
Section 3-6
(See note.)
(See note.)
Note The heights of the Units including the Backplane are 5 mm greater on the
CPU Backplane and CS-series Expansion Backplane (123 and 143 mm).
220
Basic I/O Units
Units with 19-pin Terminal Blocks
C200H-IA122
C200H-IA122V
C200H-IA222
C200H-IA222V
C200H-ID212
C200H-IM212
C200H-OA222V
C200H-OA224
C200H-OC222
C200H-OC222V
C200H-OC224
C200H-OC224V
C200H-OC225
C200H-OD211
C200H-OD212
C200H-OD217
C200H-OD21A
C200H-OC222N
C200H-OC224N
Terminal Dimensions
C200H-OC226
C200H-OC226N
Section 3-6
(See note.)
(See note .)
Note The heights of the Units including the Backplane are 5 mm greater on the
CPU Backplane and CS-series Expansion Backplane (150 and 174 mm).
221
Basic I/O Units
CS-series Basic I/O Units (20-pin Terminal Blocks)
CS1W-IA111
CS1W-IA211
CS1W-ID211
CS1W-INT01
CS1W-IDP01
CS1W-OD211
CS1W-OD212
CS1W-OA201
CS1W-OA211
CS1W-OC201
CS1W-OC211
Section 3-6
Terminal Dimensions
3-6-2 Interrupt Input Units
Functions Interrupt Input Units are used to execute interrupt programs on the rising or falling edge of an input signal (See note.). When the specified interrupt input turns ON (or OFF), execution of the cyclic program in the CPU Unit is interrupted and an I/O interrupt task (task number 100 to 131) is executed. When execution of the I/O interrupt task has been completed, the cyclic program is again executed starting from the instruction after which it was interrupted.
Note Only the CS1W-INT01 can detect falling edges. The interrupt control instructions, however, can be used to switch between upward and downward differentiation.
Interrupt Input Unit CPU Unit
Input
(rising or falling edge)
Immediate interrupt
1 cyclic task
MSKS(690)
I/O interrupt task is executed when the in put turns ON (or OFF).
I/O interrupt task
222
Basic I/O Units
Applicable Units
Application Precautions
Input Signal Width
Section 3-6
Either of the following Interrupt Input Units can be used.
Model
CS1W-INT01
C200HS-INT01
Specifications
24 V DC 16 inputs
24 V DC 8 inputs
No. of Units mountable to CPU Rack
2 max.
4 max.
All Interrupt Input Units must be mounted to the CPU Rack. The interrupt input function will not be supported if an Interrupt Input Unit is mounted to an
Expansion Rack. If mounted to an Expansion Rack, the Unit can be used as a normal I/O Unit.
There are limits to the number of Interrupt Input Units that can be mounted.
(See table, above.)
Use only CS-series or only C200H Interrupt Input Units on the same CPU
Rack. The CS-series and C200H Interrupt Input Units cannot be used together.
Can be used only with CPU Units with model numbers ending in “-V1,” i.e.,
CS1W-CPU4 @-V1 or CS1W-CPU6@-V1.
The input response time cannot be changed for the CS1W-INT01, and the related portions of the Basic I/O Unit input time constants in the PLC Setup, and the setting status in A220 to A259 will not be valid.
Use CX-Programmer Version 2.0 or higher when using the CS1W-INT01
Interrupt Input Unit. Earlier versions of CX-Programmer do not support this
Unit. (The Programming Consoles, however, can be used for this Unit.)
Input signals must meet the following conditions.
Unit
CS1W-INT01
C200HS-INT01
ON OFF
ON time
0.1 ms min.
0.2 ms min.
OFF time
0.5 ms min.
0.5 ms min.
223
Basic I/O Units
Components
CS1W-INT01
Section 3-6
Input indicators
C200HS-INT01
Model label
I/O indicator
10-pin Terminal
Block connector
Unit lock notch
(fit into the Backplane)
Input indicators
01
Using I/O Interrupts
1,2,3...
Note
1.
Mount the Input Interrupt Unit to the CPU Rack and create the I/O tables.
2.
Create the I/O task (see note 1).
3.
Use the SET INTERRUPT MASK Instruction (MSKS(690)) in the cyclic program to enable the required interrupt input numbers (see note 1).
4.
Turn ON or OFF the inputs on the Interrupt Input Unit for the interrupt input numbers that have been enabled.
1.
The relationship between Interrupt Input Unit numbers, interrupt input numbers, and I/O interrupt tasks is shown in the following table.
Model
CS1W-INT01
Interrupt Input
Unit number
Interrupt input number
0 to 15
C200HS-INT01 0
1
0
1
2
3
0 to 7
I/O interrupt task number
100 to 115
116 to 131
100 to 107
108 to 115
116 to 123
124 to 131
2.
The CS1W-INT01 can set to detect either rising or falling edges.
224
Basic I/O Units
MSKS(690) Instruction
Section 3-6
Specifying Rising/Falling Edge for CS1W-INT01
MSKS(690) N: Control data 1 (Interrupt Input Unit No.)
S: Control data 2 (interrupt mask data)
The MSKS(690) instruction is used to set rising edge or falling edge detection for each interrupt input number.
• The value of N will determine which Interrupt Input Unit will perform the
I/O interrupt processing.
• The value of S will determine rising or falling edge detection for each interrupt input number.
Operand
N
CS1W-
INT01
2, 3
Value
C200HS-
---
INT01
S 0000 to
FFFF hex
---
Details
Interrupt Input Unit Number
Numbers 2 and 3 are assigned to the Units in order from left to right.
2: Interrupt Input Unit 0 (interrupt task numbers
100 to 115)
3: Interrupt Input Unit 1 (interrupt task numbers
116 to 131)
Rising/Falling Edge Designation
Bits 00 to 15 correspond to the interrupt input numbers (interrupt tasks 100 to 115 or 116 to 131).
0: Rising edge
1: Falling edge
Specifying I/O Interrupt Processing
MSKS(690)
N: Control data 1 (Interrupt Input Unit No.)
S: Control data 2 (interrupt mask data)
The MSKS(690) instruction is used to set I/O interrupt processing or scheduled interrupt processing.
• The value of N will determine which Interrupt Input Unit will perform the
I/O interrupt processing.
• The value of S will determine which interrupt number will be enabled.
225
Basic I/O Units
Section 3-6
Operand
N
CS1W-
INT01
0, 1
Value
C200HS-
INT01
0 to 3
S 0000 to
FFFF hex
0000 to
00FF hex
Details
Interrupt Input Unit Number
Numbers are assigned to the Units in order from left to right.
CS1W-INT01 (unit numbers 0 and 1)
0: Interrupt Input Unit 0 (interrupt task numbers
100 to 115)
1: Interrupt Input Unit 1 (interrupt task numbers
116 to 131)
CS1W-INT01 (unit numbers 0 to 3)
0: Interrupt Input Unit 0 (interrupt task numbers
100 to 107)
1: Interrupt Input Unit 1 (interrupt task numbers
108 to 115)
2: Interrupt Input Unit 2 (interrupt task numbers
116 to 123)
3: Interrupt Input Unit 3 (interrupt task numbers
123 to 131)
Interrupt Mask Data
Bits 00 to 15 for the CS1W-INT01 and the rightmost 8 bits for the C200H-INT01are used for the
Interrupt Input Unit’s interrupt input number.
1: Interrupt masked
(interrupt input disabled)
0: Interrupt valid
(interrupt input enabled)
226
Basic I/O Units
Dimensions
CS1W-INT01
Section 3-6
C200HS-INT01
(See note .)
Note The height of the Unit including the Backplane is 5 mm greater on the CPU
Backplane and CS-series Expansion Backplane (123 mm).
227
Basic I/O Units
Section 3-6
3-6-3 Units with High-speed Inputs
Functions The CS1W-IDP01 enables inputting pulse signals that are shorted than the cycle time of the CPU Unit. C200H High-density I/O Units (Special I/O Units) also supported high-speed inputs.
I/O Units with High-speed
Inputs
Model
CS1W-IDP01
C200H-ID501
C200H-ID215
C200H-MD501
C200H-MD115
C200H-MD215
Name Specifications
High-speed Input Unit 24 V DC, 16 inputs
TTL Input Unit
DC Input Unit
TTL I/O Unit
DC Input/Transistor
Output Unit
5 V DC, 32 inputs
24 V DC, 32 inputs
5 V DC,16 inputs/16 outputs
12 V DC,16 inputs/16 outputs
24 V DC,16 inputs/16 outputs,
Note Refer to
3-7 C200H High-density I/O Units (Special I/O Units) for details on
C200H High-density I/O Units
Components
CS1W-IDP01
Input indicators
Input Signal Width
Dimensions
High-speed input signals must meet the following conditions for the ON time.
Model
CS1W-IDP01
C200H-ID501/215
C200H-MD501/215/115
ON OFF
ON time
0.1 ms min.
1.0/4.0 ms min. (switchable)
The High-speed Input Unit has the same dimensions as the Interrupt Input
228
Basic I/O Units
Section 3-6
3-6-4 CS-series Basic I/O Units with Connectors
(32-, 64-, and 96-pt Units)
CS-series Basic I/O Units are classified as Basic I/O Units.
Models
Name
DC Input Unit
Transistor Output Unit,
Sinking
Transistor Output Unit,
Sourcing
DC Input/Transistor
Output Unit, Sinking
DC Input/Transistor
Output Unit, Sourcing
TTL I/O Unit
Specifications
24 V DC, 32 inputs
24 V DC, 64 inputs
24 V DC, 96 inputs
0.5 A at 12 to 24 V DC, 32 outputs
Model
CS1W-ID231
CS1W-ID261
CS1W-ID291
CS1W-OD231
CS1W-OD261
CS1W-OD291
0.3 A at 12 to 24 V DC, 64 outputs
0.1 A at 12 to 24 V DC, with fuse burnout detection circuit, 96 outputs
0.5 A at 24 V DC, load short-circuit protection, 16 outputs
0.5 A at 24 V DC, load short-circuit protection, 32 outputs
CS1W-OD212
CS1W-OD232
0.3 A at 24 V DC, load short-circuit protection, 64 outputs
0.1 A at 24 V DC, with fuse burnout detection circuit, 96 outputs
24 V DC input, 0.3 A output at 12 to
24 V DC, 32 inputs/32 outputs
24 V DC input, 0.1 A output at 12 to 24 V
DC, with fuse burnout detection circuit,
48 inputs/48 outputs
CS1W-OD262
CS1W-OD292
CS1W-MD261
CS1W-MD291
24 V DC input, 0.3 A output at 24 V DC, load short-circuit protection, 32 inputs/32 outputs
24 V DC input, 0.1 A output at 24 V DC, with fuse burnout detection circuit, 48 inputs/48 outputs
3.5 mA at 5 V DC, 32 inputs
35 mA at 5 V DC, 32 outputs
CS1W-MD262
CS1W-MD292
CS1W-MD561
229
Basic I/O Units
Section 3-6
Note Immediate refreshing (!) or refreshing using IORF(097) is possible for CSseries High-density I/O Units.
Model label
I/O indicators
Unit mounting hooks
Hooked onto Backplane to mount Unit.
Display Switch for 64-point I/O Units
56-pin I/O wiring
32-point Units
CS1W-ID231
CS1W-OD231
Unit lock notch
(Attach Unit to Backplane and fix securely)
32-point Units with ERR indicator
(load short-circuit indicator)
CS1W-OD232
Display switch
0, 1 2, 3
Area 1 m
Area 2 m + 1 m + 2 m + 3
Display Switch for 96-point I/O Units
Display switch (3-level selection)
0, 1
Display switch
2, 3
Area 1 m m + 2
Area 2 m + 1 m + 3
4, 5 m + 4 m + 5
64-point Units
CS1W-ID261
CS1W-OD261
CS1W-MD261
CS1W-MD561
64-point Units with ERR indicator
(load short-circuit indicator)
CS1W-OD262
CS1W-MD262
96-point Units
CS1W-ID291/OD291/OD292/MD291/MD292
F (fuse burnt out) indicator
Available on Output Units.
Lights when one or more fuses in the Unit blows.
Lights when external power is OFF.
230
Basic I/O Units
Dimensions
Section 3-6
Units with One
40-pin connector
CS1W-ID231
CS1W-0D231
CS1W-0D232
Units with Two
40-pin connectors
CS1W-ID261
CS1W-0D261
CS1W-OD262
CS1W-MD261
CS1W-MD262
CS1W-MD561
Using Soldered or Crimped Connector
Units with 56-pin connectors
CS1W-ID291
CS1W-OD291
CS1W-OD292
CS1W-MD291
CS1W-MD292
Using Pressure-welded Connector
Connecting Cables:
G79-@@@C-@@@-@@@
XW2Z-@@@
123
Approx. 169 for 32- and 64-pt Units
Approx. 179 for 96-pt Units
150
123
231
Basic I/O Units
Section 3-6
3-6-5 C200H Group-2 High-density I/O Units
C200H Group-2 High-density I/O Units are classified as Basic I/O Units.
Models
Name Specifications
DC Input Unit 24 V DC, input current:
4.1 mA typical, 32 inputs
24 V DC, input current:
6 mA typical, 32 inputs
12 V DC, 64 inputs
24 V DC, input current:
4.1 mA typical, 64 inputs
24 V DC, input current:
6 mA typical, 64 inputs
Transistor Output Unit 16 mA at 4.5 V to 100 mA at 26.4 V, 32 outputs
16 mA at 4.5 V to 100 mA at 26.4 V, 64 outputs
24 V DC, 0.5 A, sourcing,
32 inputs
Model
C200H-ID216 1
Appearance/ dimensions reference No.
C200H-ID218 1
C200H-ID111 2
C200H-ID217 2
C200H-ID219 2
C200H-OD218 1
C200H-OD219 2
C200H-OD21B 1
Note 1.
C200H Group-2 High-density I/O Units cannot be mounted to SYSMAC
BUS Slave Racks.
2.
Immediate refreshing (!) is not possible for C200H Group-2 High-density
I/O Units, but refreshing using IORF (097) is possible for these Units.
Components and Switch Settings
Unit mounting hooks
Hooked onto Back plane to mount Unit.
Model label
I/O indicators
I/O No. setting switch
(Cannot be used with the CS-series)
I/O wiring connector
Model label
I/O indicators
I/O No. setting switch
(Cannot be used with the CS-series)
40-pin I/O wiring connector
× 2
Indicator selector switch
(Select whether the I/O indicator is CN1 or CN2.)
1. Units with One 40-pin Connector 2. Units with Two 40-pin Connectors
Note The I/O number setting switch on the front panel of C200H Group-2 High-density I/O Units is not used for the CS Series, i.e., the I/O number setting will not affect allocations. Words are allocated to the Units according to their position on the Rack in the same way as for Basic I/O Units.
232
Basic I/O Units
Units with One 40-pin Connector
32-point Unit C200H-ID216
C200H-ID218
32-point Unit
F (fuse burnt out) indicator
C200H-OD218
Dimensions
Section 3-6
Units with Two 40-pin Connectors
64-point Unit C200H-ID111
C200H-ID217
C200H-ID219
64-point Unit
F (fuse burnt out) indicator
C200H-OD219
1. Units with 40-pin
Connector
2. Units with Two 40-pin
Connectors
Unit Dimensions with Backplane and Connector
(See note .)
Approx. 143 (See note .)
Note The height of the Unit including the Backplane is 5 mm greater on the CPU
Backplane and CS-series Expansion Backplane (123 and 148 mm).
233
C200H High-density I/O Units (Special I/O Units)
Section 3-7
3-7 C200H High-density I/O Units (Special I/O Units)
C200H High-density I/O Units are classified as C200H Special I/O Units.
Models
Name
TTL Input Unit
DC Input Unit
Specifications
5 V DC, 32 inputs
24 V DC, 32 inputs
Model
C200H-ID501 ---
Dynamic I/O mode
C200H-ID215 ---
TTL Output Unit 5 V DC, 32 outputs
Transistor Output Unit 24 V DC, 32 outputs
TTL I/O Unit
DC Input/Transistor
Output Unit
5 V DC, 16 inputs/16 outputs C200H-MD501 128 inputs
12 V DC, 16 inputs/16 outputs C200H-MD115 128 inputs
24 V DC, 16 inputs/16 outputs
C200H-OD501 128 outputs
C200H-OD215 128 outputs
C200H-MD215 128 inputs
Static I/O mode
High-speed inputs
High-speed inputs
---
---
High-speed inputs
High-speed inputs
High-speed inputs
Note Immediate refreshing (!) is not possible for C200H High-density I/O Units, but refreshing using IORF (097) is possible.
Components and Switch Settings
Unit lock notch
Model label
I/O indicators
24-pin I/O wiring connectors × 2
Unit number setting switch
Set the unit number between 0 and
9. Ten words are allocated per Unit in the Special I/O Unit Area (words
2000 to 2959) according to the unit number setting.
Note 1.
Be sure to turn OFF the power supply to the PLC before setting the unit number.
2.
Set the unit number using a flat-blade screwdriver.
3.
Do not stop in the middle of setting the value (between 0 and 9) or the setting will not be complete.
4.
Make sure that the groove in the unit number setting switch does not become damaged.
234
C200H High-density I/O Units (Special I/O Units)
Back of Unit
DIP switch
Section 3-7
Model RUN mode High-speed inputs
C200H-ID501
C200H-ID215
---
---
ON
SW1
---
OFF
---
C200H-OD501 128 dynamic outputs
32 static outputs
ON
Highspeed input function enabled
Highspeed input function enabled
---
SW2
OFF
Normal input
Normal input
---
4 ms
---
High-speed input minimum response pulse
SW3
ON
4 ms
OFF
1 ms
Normal input response time
---
ON
SW4
---
OFF
1 ms
---
---
---
---
---
Dynamic data output logic
ON
15 ms max.
SW5
OFF
2.5 ms max.
15 ms max.
2.5 ms max.
C200H-OD215 128 dynamic outputs
32 static outputs
-------
C200H-MD501 128 dynamic inputs
16 static inputs,
16 static outputs
C200H-MD115 128 dynamic inputs
16 static inputs,
16 static outputs
C200H-MD215 128 dynamic inputs
16 static inputs,
16 static outputs
Highspeed input function enabled
Highspeed input function enabled
Highspeed input function enabled
Normal input
Normal input
Normal input
4 ms
4 ms
4 ms
---
1 ms
1 ms
1 ms
---
15 ms max.
15 ms max.
15 ms max.
---
2.5 ms max.
2.5 ms max.
Positive logic output
(See note.)
Positive logic output
(See note.)
---
Negative logic output
(See note.)
Negative logic output
(See note.)
---
---
2.5 ms max.
---
---
---
Note Negative and positive logic output are only available with 128-point dynamic output mode.
235
C200H High-density I/O Units (Special I/O Units)
Section 3-7
C200H High-density I/O Units are classified as C200H Special I/O Units and have the following functions.
Dynamic I/O Mode
The High-density I/O Units (other than the C200H-ID501 and C200H-ID215) can provide high-density I/O rather than the normal output (static output mode) and I/O (static I/O mode). High-density I/O (dynamic output and dynamic input modes: 128 points) is achieved by combining the I/O signals with a strobe signal output. The High-density I/O Units require less wiring, use a numeric display device in dynamic output mode with large number capacity, and use keyboard switches in dynamic input mode.
High-speed Inputs
The High-density I/O Units (other than the C200H-OD501 and C200H-
OD502) also provide high-speed inputs. High-speed inputs are possible with 8 input points. This function enables accurate reading of short pulse inputs from photomicroswitches and other devices.
Dynamic I/O Mode
Dynamic Output Mode
C200H-OD501/OD215
Data output Numeric display
: :
: :
Strobe output
Numeric display Data output
: :
: :
Strobe output
By combining data signals (DATA 0 to 7 and DATA 8 to 15) with strobe signals
(STB 0 to 7/ STB 8 to 15, 128 bits (8 words) can be output to a numerical display device as shown in the following diagram.
236
C200H High-density I/O Units (Special I/O Units)
Section 3-7
Word n
Rightmost byte
Word n
Leftmost byte
Word n + 1
Rightmost byte
Word n + 3
Leftmost byte
Data output
DATA 0 to 7
Strobe output
STB 0
STB 1
STB 2 to
STB 7
DATA 8 to 15 can also be output as STB 8 to 15 at the same time.
Dynamic Input Mode
C200H-MD501/MD115/MD215
Strobe output
Keyboard switch, thumbwheel switch, etc.
Data input
Strobe output
Keyboard switch, thumbwheel switch, etc.
Data input
Using strobe signals STB 0 to 7 as outputs, data signals DATA 0 to 7 as inputs, strobe signals STB 8 to 15 as outputs, and data signals DATA 8 to 15 as inputs, 128 bits (8 words) can be input from strobe input keyboard switches or thumbwheel switches as shown in the following diagram.
237
C200H High-density I/O Units (Special I/O Units)
Section 3-7
Word n
Rightmost bytes
Word n
Leftmost bytes
Word n + 1
Rightmost bytes
Word n + 3
Leftmost bytes
Data input
DATA 0 to 7
Strobe output
STB 0
STB 1
STB 2 to
STB 7
DATA 8 to 15 can also be output as STB 8 to 15 at the same time.
High-speed Inputs
The inputs 8 to 15 from the CN2 connector can be used for pulse input. The minimum pulse width is 1 ms or 4 ms (selectable).
A High-density I/O Unit will recognize a pulse input when the pulse input occurs (i.e., the inputs turns ON and then OFF again), and the pulse width is greater than 1 ms or 4 ms (according to the selected minimum pulse width).
The data is refreshed in the Special I/O Unit Area (word n + 1, bits 8 to 15) of
I/O memory during the CPU Unit’s I/O refresh period.
High-density I/O Unit CPU Unit
I/O refresh
+
1 ms or 4 ms
High-speed input buffer
The High-density I/O Unit data in the high-speed input buffer can also be refreshed during program execution by executing the IORF(097) instruction for the desired Special I/O Unit.
High-density I/O Unit CPU Unit
I/O refresh
1 ms or 4 ms
High-speed input buffer
+
+
238
C200H High-density I/O Units (Special I/O Units)
Dimensions
Fujitsu connection cable
Section 3-7
123
Approx. 168
G79-@C Connecting Cable
150
123
239
B7A Interface Units
Section 3-8
3-8 B7A Interface Units
3-8-1 CS-series B7A Interface Units (CS-series Basic I/O Units)
Overview
The B7A is a 1:1 transmission path that does not require a master. A total of
16 signals are transmitted using a two-conductor or three-conductor VCTF cable (maximum length: 500 m). The CS1W-B7A @@ B7A Interface Unit is a
CS-series Basic I/O Unit that exchanges up to 64 points of I/O data mainly with B7A Link Terminals using a B7A transmission path.
The B7A Interface Unit and B7A Link Terminal can be used in the same way as a standard Basic I/O Unit and I/O Terminal without any need to worry about communications. This characteristic reduces the wiring when using more than one relatively remote sensor or actuator.
System Configuration
B7 Interface Unit
RUN
ERR/ALM
INH
PRPHL/COMN
SYSMAC CS1G
PROGRAMABLE CONTROLLER
CPU42
MCPWR
OPEN
OPEN
BUSY
PERIPHERAL
PORT (RS-232C)
CPU
Unit
Transmission distance:
500 m max.
B7A Input Link Terminal
Switches
Sensors
B7A Output Link Terminal
Lamps or other output devices
240
B7A Interface Units
Section 3-8
Models
B7A Interface Unit
CS1W-B7A12
CS1W-B7A02
CS1W-B7A21
CS1W-B7A22
Specifications
32 inputs
(two B7A ports)
32 outputs
(two B7A ports)
16 inputs, 16 outputs
(two B7A ports)
32 inputs, 32 outputs
(four B7A ports)
I/O words allocated to Unit
2 input words
Connectable B7A Link Terminals
(See note 1.)
Inputs: Two 16-point Input Terminals, one
32-point Input Terminal, or one 16-point Input
Terminal
2 output words
1 input word and
1 output word
2 input words and
2 output words
Outputs: Two 16-point Output Terminals or one 32-point Output Terminal or one 16-point
Output Terminal
Inputs: One 16-point Input Terminal
Outputs: One 16-point Output Terminal or
One Mixed I/O Terminal
(16 inputs/16 outputs)
Inputs: Two 16-point Input Terminals or one
32-point Input Terminal
Outputs: Two 16-point Output Terminals or one 32-point Output Terminal or
Two Mixed I/O Terminals
(16 inputs/16 outputs)
Note 1.
A 10-point B7A Link Terminal cannot be connected to a B7A Interface Unit.
B7A Interface Units can be connected together.
2.
Wireless transmissions are possible if B7AP Power Couplers are used on a B7A transmission path, reducing the wiring required for moving objects and rotating objects.
241
B7A Interface Units
Section 3-8
B7A Communications Specifications
Item
Transmission method
Specifications
One-way time-sharing multiplex transmissions
Transmission delay
(communications delay on transmission path)
High-speed 3 ms typical, 5 ms max.
Standard 19.2 ms typical, 31 ms max.
Transmission points CS1W-B7A12 32 inputs (2 ports)
CS1W-B7A02 32 outputs (2 ports)
CS1W-B7A21 16 inputs (1 port), 16 outputs (1 port)
CS1W-B7A22 32 inputs (2 ports), 32 outputs (2 ports)
12 to 24 V DC (allowable voltage range: 10.8 to 26.4 V) External power supply voltage
(See note 3.)
External supply current
(See note 4.)
Minimum input time
(See note 5.)
Transmission distance
Cables
CS1W-B7A12 20 mA min.
CS1W-B7A02 60 mA min.
CS1W-B7A21 30 mA min.
CS1W-B7A22 60 mA min.
High-speed 16 ms
Standard 2.4 ms
High-speed Power supply on one side
(common power supply)
Power supply on both sides
(separate power supplies)
10 m max.
50 m max. (with shielded cable)
10 m max.
100 m max. (with shielded cable)
100 m max.
Standard Power supply on one side
(common power supply)
Power supply on both sides
(separate power supplies)
500 m max.
VCTF, 0.75 mm
2
, 3 conductors (power supply on one side (common power supply))
VCTF, 0.75 mm
2
, 2 conductors (power supply on both sides (separate power supplies))
Shielded cable, 0.75 mm
2
, 3 conductors (power supply on one side (common power supply))
Shielded cable, 0.75 mm
2
, 2 conductors (power supply on both sides (separate power supplies))
Note 1.
When separate power supplies are used, the B7A Interface Unit and B7A
Link Terminal are supplied by separate external power supplies.
2.
When a common power supply is used, the B7A Interface Unit and B7A
Link Terminal are supplied by the same external power supply.
3.
Use a SELV power supply with overcurrent protection. A SELV power supply refers to a power supply with double or reinforced insulation between input and output and with an output voltage of 30 V rms with a 42.4-V peak or an output voltage of 60 VDC max. We recommend OMRON S8 @@-series Power Supply Units for the external power supplies.
4.
The capacity of the external supply current does not include the capacity required by the B7A Link Terminal.
5.
The minimum input time is the minimum time required by the B7A Interface
Unit to read the input signals from the CPU Unit.
242
B7A Interface Units
Section 3-8
Common Specifications
Item
Applicable PLCs
Unit classification
Transmission delay
Specifications
CS Series
CS-series Basic I/O Unit
Standard (19.2 ms typical) or high-speed (3 ms typical), switchable
(Switchable by using the setting switch on the front panel.
Settings are read when power is turned ON or Unit is restarted.)
Factory setting: Standard (19.2 ms typical)
Note A transmission error will occur if B7A Link Terminals with different transmission delay times are connected to each other.
Transmission error input status processing
Hold status or reset inputs (loads off) (switch settable)
Front panel connection Terminal block
Current consumption 5 V DC: 90 mA max. (supplied from Power Supply Unit)
Weight CS1W-B7A12: 230 g max.
CS1W-B7A02: 230 g max.
CS1W-B7A21: 240 g max.
CS1W-B7A22: 240 g max.
I/O Memory Allocations
3
4
1
2
The B7A Interface Unit is a Basic I/O Unit. Each Unit is allocated two or four words in the I/O Area (which starts at CIO 0000). The words are allocated according to the mounting position of the Unit as shown in the following table.
Port
CS1W-
B7A12
Input
Input
---
---
Input/output
CS1W-
B7A02
CS1W-
B7A21
Output
Output
Output
Input
---
---
---
---
CS1W-
B7A22
Output
Output
Input
Input
Allocated word
(n: First word allocated to Unit)
Word n
Word n+1
Word n+2
Word n+3
Transmission Error Processing
Input Ports
The B7A Interface Unit detects transmission errors at the input ports. When a transmission error is detected at an input port, the corresponding indicator and Transmission Error Flag turn ON.
■ Indicators
When a transmission occurs at an input port, indicators ERR1 to ERR2 on the front panel will turn ON according to the port where the error occurred.
Port where error occurred
Port 1
Port 2
Port 3
Port 4
LED error indicators
CS1W-B7A12 CS1W-B7A02 CS1W-B7A21 CS1W-B7A22
ERR1
ERR2
---
---
---
---
---
---
---
ERR1
---
---
---
---
ERR1
ERR2
243
B7A Interface Units
Output Ports
Section 3-8
■ Transmission Error Flag
The corresponding Transmission Error Flag in the first word allocated to the
Unit in the CPU Unit's Auxiliary Area will turn ON for each input port, as shown in the following table. Words A050 to A080 are allocated to Basic I/O
Unit as information words.
Example: Rack 0, Slot 0
Port where error occurred
Port 1
Port 2
Port 3
Port 4
Transmission Error Flag
CS1W-B7A12 CS1W-B7A02 CS1W-B7A21 CS1W-B7A22
A05000
A05001
---
---
---
---
---
---
---
A05000
---
---
---
---
A05000
A05001
Example: Rack 0, Slot 1
Port where error occurred
Port 1
Port 2
Port 3
Port 4
Transmission Error Flag
CS1W-B7A12 CS1W-B7A02 CS1W-B7A21 CS1W-B7A22
A05008
A05009
---
---
---
---
---
---
---
A05008
---
---
---
---
A05008
A05009
■ Transmission Error Input Status Processing
If an error occurs at an input port, the Unit will hold the status of the input bit in the CPU Unit's I/O memory from immediately before the transmission error occurred. When transmission returns to normal, the signals that have been normally received will be input to the input bit.
The B7A Interface Unit does not detect transmission errors at output ports.
Detect output port transmission errors at the B7A Link Terminal that is connected to the B7A Interface Unit.
Parts and Names
Indicators
Connection terminals
244
B7A Interface Units
Indicators
■ CS1W-B7A12
Section 3-8
Display Name
ERROR1 Port 1 transmission error
Color
Red
ERROR2 Port 2 trans-
3 ms
LOAD
OFF
15IN +
ERR mission error
Transmission delay setting
Transmission error input status processing setting
Input mode setting
Red
Orange
Orange
Orange
Status
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
Condition
A transmission error has occurred at port 1 of the B7A
Unit.
The Unit is operating normally.
A transmission error has occurred at port 2 of the B7A
Unit.
The Unit is operating normally.
The high-speed transmission delay (3 ms) is set.
The standard transmission delay (19.2 ms) is set.
Transmission error input status processing is set to reset status
(loads OFF).
Transmission error input status processing is set to hold status.
The input mode is set to 15 inputs + error input.
The input mode is set to 16 inputs.
■ CS1W-B7A02
Display
3 ms
Name
Transmission delay setting
Color Status
Orange ON
OFF
Condition
The high-speed transmission delay (3 ms) is set.
The standard transmission delay (19.2 ms) is set.
245
B7A Interface Units
■ CS1W-B7A21
Section 3-8
Display Name
ERROR Port 1 transmission error
Color
Red
3 ms
LOAD
OFF
15IN +
ERR
Transmission delay setting
Transmission error input status processing setting
Input mode setting
Orange
Orange
Orange
Status
ON
OFF
ON
OFF
ON
OFF
ON
OFF
Condition
A transmission error has occurred at port 1 of the B7A
Unit.
The Unit is operating normally.
The high-speed transmission delay (3 ms) is set.
The standard transmission delay (19.2 ms) is set.
Transmission error input status processing is set to reset status
(loads OFF).
Transmission error input status processing is set to hold status.
The input mode is set to 15 inputs + error input.
The input mode is set to 16 inputs.
■ CS1W-B7A22
Display Name
ERROR1 Port 1 transmission error
Color
Red
ERROR2 Port 2 trans-
3 ms
LOAD
OFF mission error
Transmission delay setting
Transmission error input status processing setting
Red
Orange
Orange
Status
ON
OFF
ON
OFF
ON
OFF
ON
OFF
Condition
A transmission error has occurred at port 1 of the B7A
Unit.
The Unit is operating normally.
A transmission error has occurred at port 2 of the B7A
Unit.
The Unit is operating normally.
The high-speed transmission delay (3 ms) is set.
The standard transmission delay (19.2 ms) is set.
Transmission error input status processing is set to reset status
(loads OFF).
Transmission error input status processing is set to hold status.
246
B7A Interface Units
Function Setting Switch
Section 3-8
Display
15IN +
ERR
Name
Input mode setting
Color
Orange
Status
ON
OFF
Condition
The input mode is set to 15 inputs + error input.
The input mode is set to 16 inputs.
Set functionality using the DIP switch on the back of the Unit.
ON
OFF
4
5
2
3
1
Pin
6
ON
■ CS1W-B7A12
Name
Transmission delay
Transmission error process
Input mode
ERROR 1 indicator enable
ERROR 2 indicator enable
Not used. (Leave OFF.)
OFF
Standard (19.2 ms)
Hold status
16 inputs
Disabled
Disabled
NA
ON
High-speed (3 ms)
Reset Inputs
15 inputs + error input
Enabled
Enabled
NA
Defaults: Pins 4 and 5 are turned ON and all other pins are turned OFF.
■ CS1W-B7A02
1
Pin Name
Transmission delay
2 to 6 Not used. (Leave OFF.)
OFF
Standard (19.2 ms)
NA
ON
High-speed (3 ms)
NA
Defaults: All pins are turned OFF
■ CS1W-B7A21
1
Pin
2
Name
Transmission delay
Transmission error process
3
5
Input mode
ERROR indicator enable
4, 6 Not used. (Leave OFF.)
OFF
Standard (19.2 ms)
Hold status
16 inputs
Disabled
NA
ON
High-speed (3 ms)
Reset Inputs
15 inputs + error input
Enabled
NA
Defaults: Pin 5 is turned ON and all other pins are turned OFF
247
B7A Interface Units
Section 3-8
■ CS1W-B7A22
5
6
3
4
1
Pin
2
Name
Transmission delay
Transmission error process
Input mode
ERROR 1 indicator enable
ERROR 2 indicator enable
Not used. (Leave OFF.)
OFF
Standard (19.2 ms)
Hold status
16 inputs
Disabled
Disabled
NA
ON
High-speed (3 ms)
Reset Inputs
15 inputs + error input
Enabled
Enabled
NA
Defaults: Pins 4 and 5 are turned ON and all other pins are turned OFF
Terminal Names and
Allocations
B0
Terminal
A1
B1
B4
A5
B5
+V
− IN2
A0, A2 to A4, A6 to A8, B2, B3,
B6 to B8
A9
B9
NC
−V
+V
Name
SIG IN1
+V
− IN1
SIG IN2
■ CS1W-B7A12
Function
Connect to SIG terminal on Input B7A Link Terminal.
Connect to + terminal on external power supply.
Connect to – power supply terminal on Input
B7A Link Terminal.
Connect to SIG terminal on Input B7A Link Terminal.
Connect to + terminal on external power supply.
Connect to – power supply terminal on Input
B7A Link Terminal.
Not used.
n
Word n+1
---
Connect to – terminal on external power supply.
Connect to + terminal on external power supply.
Appearance
SIG IN1
IN1
SIG IN2
IN2
248
B7A Interface Units
■ CS1W-B7A02
B0
Terminal Name Function
SIG OUT1 Connect to SIG terminal on Output B7A Link
Terminal.
A1
B1
B4
A5
B5
A0, A2 to A4, A6 to A8, B2, B3,
B6 to B8
A9
B9
−V
+V
+V
− OUT1
Connect to + terminal on external power supply.
Connect to – power supply terminal on Output
B7A Link Terminal.
SIG OUT2 Connect to SIG terminal on Output B7A Link
Terminal.
+V Connect to + terminal on external power supply.
− OUT2
NC
Connect to – power supply terminal on Output
B7A Link Terminal.
Not used.
Connect to – terminal on external power supply.
Connect to + terminal on external power supply.
n
Word n+1
---
Section 3-8
Appearance
SIG OUT1
OUT1
SIG OUT2
OUT2
■ CS1W-B7A21
B0
A1
B1
B4
A5
B5
Terminal
A0, A2 to A4, A6 to A8, B2, B3,
B6 to B8
A9
B9
NC
−V
+V
Name Function
SIG OUT1 Connect to SIG terminal on Output B7A Link
Terminal.
+V Connect to + terminal on external power supply.
− OUT1
SIG IN1
+V
Connect to – power supply terminal on Output
B7A Link Terminal.
Connect to SIG terminal on Input B7A Link Terminal.
Connect to + terminal on external power supply.
− IN1 Connect to – power supply terminal on Input
B7A Link Terminal.
Not used.
Connect to – terminal on external power supply.
Connect to + terminal on external power supply.
n
Word n+1
---
Appearance
SIG OUT
OUT
SIG IN
IN
249
B7A Interface Units
B0
A1
B1
B2
A3
B3
B4
A5
B5
B6
A7
B7
Terminal
A0, A2, A4, A6,
A8, B8
A9
B9
−V
+V
■ CS1W-B7A22
Name Function
SIG OUT1 Connect to SIG terminal on Output B7A Link Terminal.
n
Word
+V
−
−
OUT1
OUT2
Connect to + terminal on external power supply.
Connect to – power supply terminal on Output
B7A Link Terminal.
SIG OUT2 Connect to SIG terminal on Output B7A Link Terminal.
+V Connect to + terminal on external power supply.
Connect to – power supply terminal on Output
B7A Link Terminal.
SIG IN1
+V
−
SIG IN2
+V
−
IN1
IN2
NC n+1
Connect to SIG terminal on Input B7A Link Terminal.
Connect to + terminal on external power supply.
Connect to – power supply terminal on Input B7A
Link Terminal.
Connect to SIG terminal on Input B7A Link Terminal.
Connect to + terminal on external power supply.
Connect to – power supply terminal on Input B7A
Link Terminal.
Not used.
n+2 n+3
---
Connect to – terminal on external power supply.
Connect to + terminal on external power supply.
Preparing and Connecting Cables
Cables
Section 3-8
Appearance
SIG OUT1
OUT1
SIG OUT2
OUT2
SIG IN1
IN1
SIG IN2
IN2
Terminal connector Recommended wire size
20-pin
AWG22 (0.32 mm
2
)
• The current capacity of a wire depends on the ambient temperature and insulation thickness.
Terminal Screws and Crimp Terminals
M3.5 self-rising screws are used for all power supply wiring terminals.
Note Always turn OFF the Unit's power supply and communications power supply before attaching or removing connectors.
Use the following procedure to prepare and connect the cables.
1) Preparing the Covering
First, use the following procedure to prepare the cable.
1,2,3...
1.
Strip approximately 10 mm of the sheath covering the signal lines to match the crimp terminals. Next, twist together the wires of each signal line firmly.
Approx. 10 mm
250
B7A Interface Units
Section 3-8
2.
Use vinyl tape or a heat-shrink tube to cover the end of the VCTF cable sheath, as shown in the following diagram.
Cover with vinyl tape or heat-shrinking tube.
Wiring
1,2,3...
2) Preparing Cable Signal Lines
Attach the crimp terminals to the cable's signal lines.
1.
Attaching Crimp Terminals
Insert the end of the cable into the terminal and crimp.
6.5 mm max.
7 mm max.
Note Always use the specified crimp tool to attach the crimp terminals. If a crimp tool is not used, the cable will not be crimped properly, which may cause the cable to become detached from the terminal.
2.
Insulate the stripped end of each signal line with vinyl tape or heat-shrink tubing.
• Wire the Units so that the I/O indicators are not covered by the wiring.
• Do not place the wiring for I/O Units in the same duct or raceway as power lines. Inductive noise can cause errors in operation or damage.
• Tighten the terminal screws to the torque of 0.8 N.m.
A
M3.5
Self-rising screw
A
20-pin 18 mm
• Power Supply on One Side (Common Power Supply)
V1
SIG1
G1
• Power Supply on Both Sides (Separate Power Supplies)
SIG1
G1
251
B7A Interface Units
Wiring Methods
Note
Section 3-8
1.
Confirm that terminals are connected correctly. If connections are incorrect, the internal components of the B7A Interface Unit and B7A Link Terminal may be damaged.
2.
Route the signal lines in separate ducts both inside and outside the control panel to isolate them from power lines.
3.
Connect cables at a distance that is within the range given in the specifications.
4.
Always turn OFF the power to the CPU Unit and all other Units before connecting the communications cables.
5.
Always lay communications cables within ducts.
Standard Mode
■ Common Power Supply
B7A Interface Unit
SIG
SIG
Transmission distance: 100 m max.
B7A Link Terminal
B7A Link Terminal
Transmission cable: VCTF, 0.75 mm 2 min.
12 to 24 VDC
■ Separate Power Supplies
B7A Interface Unit
SIG
SIG
12 to 24 VDC
Transmission distance: 500 m max.
12 to 24 VDC
Transmission cable: VCTF, 0.75 mm 2 max.
12 to 24 VDC
B7A Link Terminal
B7A Link Terminal
High-speed Mode
Note If shielded cable is not used, the maximum transmission distance is 10 m regardless of whether a common or separate power supplies are used. (Use
VCTF cable of 0.75 mm
2
or higher.)
252
B7A Interface Units
■ Common Power Supply
B7A Interface Unit
SIG
SIG
Transmission distance: 50 m max.
Ground
Shielded cable: 0.75 mm 2 max.
B7A Link Terminal
B7A Link Terminal
Dimensions (Unit: mm)
Ground
Shielded cable: 0.75 mm 2 max.
12 to 24 VDC
■ Separate Power Supplies
B7A Interface Unit
SIG
SIG
12 to 24 VDC
Transmission distance: 100 m max.
Ground
Shielded cable: 0.75 mm 2 max.
12 to 24 VDC
12 to 24 VDC Ground
Shielded cable: 0.75 mm 2 max.
CS
B7A Link Terminal
B7A Link Terminal
Section 3-8
130
35
124
147
253
B7A Interface Units
Section 3-8
3-8-2 C200H Basic B7A Interface Units (C200H Basic I/O Units)
The Basic B7A Interface Unit used with the B7A Link Terminal allows the transmission and reception of 16-point I/O data over two wires.
The following Basic B7A Interface Unit and B7A Link Terminal models are available.
B7A Interface Unit
(C200H Basic I/O Unit)
16-point input: C200H-B7AI1
B7A Link Terminals
16-point output: C200H-B7AO1
B7A-T6 @1 (Screw terminal models)
B7A-T6D2 (Modular models)
B7A-R6 @@1 (Screw terminal models)
B7A-R6A52 (Modular models)
Note If the B7A Interface Unit is mounted to a Rack with a C200HW-PD024 24-V
DC Power Supply Unit, supply 24 V DC from an independent power supply to the B7A Interface Unit or use a transformer to separate the power supply line to the B7A Interface Unit from the power supply lines to the CPU Unit and I/O
Power Supply Unit.
I/O indicator
ERR indicator
Connection terminals
Connection terminals for the B7A Link Terminal:
Connect this terminal to the SIG terminal of the
B7A Link Terminal.
Connect this terminal to the negative power terminal of the B7A Link Terminal.
I/O Indicator
ERR Indicator
12 to 24 VDC
Supply 12 to 24 VDC.
Indicates the ON or OFF status of input from the B7A Link Terminal or the ON and OFF status of output to the B7A Link Terminal.
Incorporated by the B7AI1 and lit when the B7AI1’s data transmission or reception is abnormal.
Connection Terminals SIG: Connects to the SIG terminal of the B7A Link Terminal.
V–: Connects to the negative power terminal of the B7A Link Terminal.
!Caution If the terminals are not connected correctly, the internal circuitry of the B7A
Link Terminal will be damaged.
Note 1.
The transmission cable must be a VCTF cable with a thickness of
0.75 mm
2
minimum.
2.
Do not wire power lines or high-tension lines along with the transmission cable in the same conduit.
254
B7A Interface Units
Section 3-8
Input Mode Selector The B7AI1 incorporates an input mode selector on the back panel of the Unit, with which the following modes can be set.
Function
Input mode
Switch setting
Bit no. allocation 00 to 14
15
Status of input indicator lamp 15
Status of the ERR indicator
15 points + 1 error
Fifteen-point input from the B7A Link Terminal is effective. Bit 15 is used as transmission error bit.
Upper side
Input 00 to input 14
Transmission error bit
Not used
16 points
Sixteen-point input from the B7A Link Terminal is effective.
Lower side
Input 00 to input 14
Input 15
Lit when input 15 is ON. Not lit when input
15 is OFF.
Lit when there is a transmission error and OFF during normal transmission
The ERR indicator is lit when an error occurs. If the error is corrected, the
ERR indicator is OFF at the next transmission cycle.
When there is a transmission error, the B7A Link Terminal will hold the data just before the occurrence of the transmission error. If there is a transmission error because the B7A Link Terminal is turned off, however, data 0 is transmitted in the first transmission cycle when the B7A Link Terminal is turned on again.
Transmission errors between the C200H-B7AO1 and B7A Link Terminal are detected by the B7A Link Terminal only. Check the ERR indicator and error bit for any error.
Performance Specifications
Item
I/O points
Transmission distance
Transmission delay
Minimum input time (See note 1.)
Internal current consumption
External power supply (See note 2.)
Weight
C200H-B7AI1 C200H-B7AO1
16 points or 15 points and 1 error input 16 output points
500 m max. if power is supplied to the Interface Unit and B7A Link Terminal separately.
100 m max. if power is supplied to the Interface Unit and B7A Link Terminal from a single power supply. (24 V DC ±10%)
Typ. 19.2 ms, 31 ms max.
––– 16 ms
5 V DC, 100 mA max.
12 to 24 V DC ±10%, 10 mA min.
200 g max.
12 to 24 V DC ±10%, 30 mA min.
Note 1.
The minimum input time refers to the minimum time required for reading the input signals from the CPU Unit. The ON/OFF width of the signal transmitted from the CPU Unit to the Output Relay of the B7A Interface Unit should be set to a value larger than the minimum input time.
2.
The value of the external power supply does not include the value required by the B7A Link Terminal.
255
B7A Interface Units
Section 3-8
3-8-3 B7A Interface Units (C200H Group-2 High-density I/O Units)
Features and System Configuration
Group-2 B7A Interface Unit
Models
CPU
Unit
Transmission distance: 500 m max.
Input B7A Link Terminal
Switch
Sensor
Output B7A Link Terminal
Lamps and other loads
A B7A Interface Unit (C200H Group-2 High-density I/O Unit) used with two or four B7A Link Terminals allows the transmission and reception of 32-point or
64-point I/O data over two-conductor cables.
A B7A Interface Unit (C200H Group-2 High-density I/O Unit) can be mounted to a CPU Rack or an Expansion I/O Rack. They cannot be mounted to Slave
Racks.
I/O words are allocated in the same way as for C200H Basic I/O Units, i.e., according to the position on the Rack. Units with 32 I/O points are allocated two words; Units with 64 I/O points are allocated four words.
Refer to the B7A Link Terminals Datasheet for more information on B7A Link
Terminals.
The following B7A Interface Units (C200H Group-2 High-density I/O Units) are available.
Inputs B7A Interface Unit
C200H-B7A12
C200H-B7A02
C200H-B7A21
C200H-B7A22
32 points
None
16 points
32 points
None
32 points
16 points
32points
Outputs
256
B7A Interface Units
Section 3-8
Comparison between B7A Interface Units Classified as Basic I/O Units and C200H
Group-2 High-density I/O Units
Type Models Word allocations
C200H
Basic I/O
Units
C200H
Group 2
High-density I/O
Units
C200H-B7AI1 Same as I/O Units (in order
C200H-B7AO1 mounted).
C200H-B7A12 Same as I/O Units (in order
C200H-B7A02 mounted).
C200H-B7A21
C200H-B7A22
Connectable B7A Link Terminals
Transmission delay
Standard types only (19.2 ms)
Standard
(19.2 ms) and high-speed
(3 ms) types
(set via switch)
Transmission errors
Input status held automatically
Switch setting to hold or reset
Input status.
Points
16-point Terminals only (10point, 32-point, and mixed I/O Terminals cannot be connected.
Note 1.
With CS-series PLCs, I/O is allocated to B7A Interface Units (C200H
Group-2 High-density I/O Units) just like other Basic I/O Units (allocating outputs first and then inputs for I/O Units). The unit number setting on the front panel of the B7A Interface Unit does not affect I/O allocations.
Name Model
32-point Input Unit C200H-B7A12 2
32-point Output Unit C200H-B7A02
C200H-B7A21 16-point Input/
16-point Output Unit
32-point Input/32point Output Unit
C200H-B7A22 4
Words per Unit Order of allocation
2 input words
2 output words
1 output word then 1 input word
2 output words then 2 input words
2.
B7A Link Terminals with 10 points or those with 8 input and 8 output points cannot be connected to the B7A Interface Units. B7A Link Terminals with
16 points, two circuits of 16 points each (32 points total) or 16 points of mixed I/O can be connected.
Connectable B7A Link Terminals
Only 16-point B7A Link Terminals can be connected to a B7A Interface Unit.
These are listed in the following tables.
Input Terminals
Type
Screw terminals
Transmission delay
Standard (19.2 ms)
Modular
PLC connectors
Model
B7A-T6 @1
B7AS-T6 @1
B7A-T6 @6
B7AS-T6 @6
B7A-T6D2
B7A-T6D7
B7A-T @E3
B7A-T @E8
High-speed (3 ms)
Standard (19.2 ms)
High-speed (3 ms)
Standard (19.2 ms)
High-speed (3 ms)
Output Terminals
Type
Screw terminals
Modular
Model
B7A-R6 @@1
B7AS-R6 @@1
B7A-R6 @@6
B7AS-R6 @@6
B7A-R6A52
B7A-R6A57
Transmission delay
Standard (19.2 ms)
High-speed (3 ms)
Standard (19.2 ms)
High-speed (3 ms)
257
B7A Interface Units
Section 3-8
Note
Type
PLC connectors
Model
B7A-R @A@3
B7A-R @A@8
Transmission delay
Standard (19.2 ms)
High-speed (3 ms)
1.
Do not connect Terminals with different transmission delays to the same
Interface Unit. Doing so will cause a transmission error.
2.
Only 16-point or 32-point B7A Link Terminals can be connected to B7A Interface Units. Mixed I/O B7A Link Terminals and 10-point B7A Link Terminals cannot be connected.
Parts and Names (C200H-B7A22 shown below)
Front
I/O number switch
Not used for CS PLCs.
Status indicators
The indicators depend on the model of B7A Interface Unit.
Connection terminals
Connect to the SIG terminal of the B7A Link Terminal and to the negative power terminal of the B7A Link
Terminal. The actual use of these terminals depends on the B7A Interface Unit.
External Power Supply Terminals
Supply 12 to 24 VDC.
Back
DIP switch
Used to set the transmission delay, transmission error processing mode, input mode, and ERROR indicator operation.
258
B7A Interface Units
Indicator Operation
Section 3-8
The indicators depend on the model of B7A Interface Unit, as shown below.
ERROR 1
ERROR 2
ERROR
3ms
Name
Input transmission error
Transmission delay setting
LOAD OFF Transmission error process
15IN+ERR Input mode setting
Color
Red
Function
Lights when an error occurs in transmissions from an Input B7A Link Terminal.
For the B7A12/22, ERROR 1 is for the first word allocated to the B7A Interface
Unit; ERROR 2 is for the second word.
Orange Lit when the transmission delay is set to the high-speed setting (3 ms).
Not lit when the transmission delay is set to the standard setting (19.2 ms).
Orange Lit when the processing for transmission errors is set to reset input status.
Not lit when the processing for transmission errors is set to hold input status.
Orange Lit when the input mode is set to use 15 inputs and 1 error input.
Not lit when the input mode is set to use 16 inputs.
Note With CS-series PLCs, I/O is allocated to Group-2 B7A Interface Units just like other Basic I/O Units. The unit number setting on the front panel of the Group-
2 B7A Interface Unit is not used and does not affect I/O allocations.
DIP Switch Settings
Set the DIP switch as described before for the various models of B7A Interface Units.
C200H-B7A22/12
3
4
1
2
5
6
Pin Function OFF
Transmission delay Standard (19.2 ms)
Transmission error process Hold status
Input mode 16 inputs
ERROR 1 indicator enable Disabled
ERROR 2 indicator enable Disabled
Not used.
NA
Factory settings: Pins 4 and 5 ON, others OFF.
ON
High-speed (3 ms)
Reset Inputs
15 inputs + error input
Enabled
Enabled
NA
C200H-B7A21
4
5
6
2
3
1
Pin Function
Transmission delay
OFF
Standard (19.2 ms)
Transmission error process Hold status
Input mode 16 inputs
ERROR indicator enable
Not used.
Not used.
Disabled
NA
NA
Factory settings: Pin 5 ON, others OFF.
ON
High-speed (3 ms)
Reset Inputs
15 inputs + error input
Enabled
NA
NA
259
B7A Interface Units
Section 3-8
C200H-B7A02
Transmission Delay
Transmission Error
Process
Input Mode
ERROR Indicators
4
5
6
2
3
1
Pin Function
Transmission delay
Not used.
Not used.
Not used.
Not used.
Not used.
OFF
Standard (19.2 ms)
NA
NA
NA
NA
NA
ON
High-speed (3 ms)
NA
NA
NA
NA
NA
Factory settings: All pins OFF.
Pin 1 is used to set the transmission delay. The same delay is used for all words allocated to the Unit.
Set the transmission delay to match that of the B7A Link Terminal. A transmission error will occur if the same transmission delay is not set.
The “3ms” indicator will be lit whenever the high-speed (3 ms) transmission delay is set.
Pin 2 is used to turned ON to specify resetting input status when transmission errors occur. If pin 2 is turned OFF, input status will be held when transmission errors occur.
The LOAD OFF indicator will be lit whenever pin 2 is turned ON.
Pin 3 is turned ON to specify use of only 15 inputs and the use of bit 15 as a
Transmission Error Flag. If pin 3 is OFF, 16 normal inputs can be used.
The “15IN+ERR” indicator will be lit whenever pin 3 is turned ON.
Pin 4 or pins 4 and 5 are turned ON to enable the ERROR, ERROR 1, and/or
ERROR 2 indicators. These indicators will not light even if a transmission error occurs if the corresponding pin is turned OFF.
Transmission Error Precautions
Startup The Transmission Error Flag for the B7A Interface Unit will be OFF when power is turned on to the CS-series PLCs. If normal transmissions with the
B7A Link Terminal are not possible within about 10 ms, the Transmission Error
Flag (bit 15) will turn ON (i.e., if its operation is enabled by the input mode setting).
All input bits will remain OFF until normal transmissions are achieved.
Inputs
Outputs
When a transmission error occurs, input status will be either held or all inputs will be reset according to the setting for the transmission error process, and the Transmission Error Flag (bit 15) will turn ON (i.e., if its operation is enabled by the input mode setting). The Transmission Error Flag will go OFF and the input status will return to normal when normal transmissions are achieved again.
Transmission errors for Output B7A Link Terminals are not detected at the
B7A Interface Unit and must be confirmed using the error indicators or error outputs on the Link Terminal.
Wiring
Terminal Names and
Allocations
The use of the terminals depends on the model of the B7A Interface Unit. “m” indicates the first word allocated to the Unit.
260
B7A Interface Units
C200H-B7A22
Section 3-8
Terminal
B0
B1
B2
B3
B4
B5
B6
B7
Name Function
SIG OUT1 Connect to SIG terminal on Output B7A Link Terminal.
– OUT1 Connect to – power supply terminal on Output B7A Link
Terminal.
SIG OUT2 Connect to SIG terminal on Output B7A Link Terminal.
– OUT2
SIG IN1
– IN1
SIG IN2
– IN2
Word m m + 1
Connect to – power supply terminal on Output B7A Link
Terminal.
Connect to SIG terminal on Input B7A Link Terminal.
Connect to – power supply terminal on Input B7A Link Terminal.
Connect to SIG terminal on Input B7A Link Terminal.
m + 2 m + 3
NC
Connect to – power supply terminal on Input B7A Link Terminal.
Not used.
--B8
A0 to A7
B9
A8
+V
–V
Connect to + terminal on external power supply.
Connect to – terminal on external power supply.
C200H-B7A21
Terminal
B0
B1
B2, B3
B4
B5
B6 to B8 NC
A0 to A7
B9 +V
A8
Name Function
SIG OUT1 Connect to SIG terminal on Output B7A Link Terminal.
– OUT1 Connect to – power supply terminal on Output B7A Link
Terminal.
NC
SIG IN1
Not used.
Connect to SIG terminal on Input B7A Link Terminal.
– IN1
--m + 1
Connect to – power supply terminal on Input B7A Link Terminal.
Not used.
----
–V
Connect to + terminal on external power supply.
Connect to – terminal on external power supply.
Word m
C200H-B7A12
Terminal
B0
B1
Name
SIG IN1
– IN1
B2, B3
B4
B5
NC
SIG IN2
– IN2
B6 to B8 NC
A0 to A7
B9
A8
+V
–V
Function
Connect to SIG terminal on Input B7A Link Terminal.
Connect to – power supply terminal on Input B7A Link Terminal.
Not used.
Word m
Connect to SIG terminal on Input B7A Link Terminal.
Connect to – power supply terminal on Input B7A Link Terminal.
Not used.
--m + 1
---
Connect to + terminal on external power supply.
Connect to – terminal on external power supply.
261
B7A Interface Units
Section 3-8
C200H-B7A02
Recommended Cables and Transmission
Distance
Terminal
B0
B1
B2, B3
B4
B5
B6 to B8 NC
A0 to A7
B9
A8
+V
–V
Name Function
SIG OUT1 Connect to SIG terminal on Output B7A Link Terminal.
– OUT1
NC Not used.
SIG OUT2 Connect to SIG terminal on Output B7A Link Terminal.
– OUT2
Connect to – power supply terminal on Output B7A Link
Terminal.
Connect to – power supply terminal on Output B7A Link
Terminal.
Not used.
Connect to + terminal on external power supply.
Connect to – terminal on external power supply.
Word m
--m + 1
---
The following cables are recommended to connect the B7A Interface Unit to
B7A Link Terminals. The wiring method and transmission distance depend on the transmission delay and on whether or not a common power supply is being used for the B7A Link Terminal and the Interface Unit.
Standard Transmission
Delays (19.2 ms): Cap-tire
Cable
Power supply
Common
Separate
Cable
VCTF, 0.75 mm
2
x 3 conductors
VCTF,0.75 mm
2
x 2 conductors
Transmission distance
100 m max.
500 m max.
High-speed Transmission
Delays (3 ms): Shielded
Cable
Power supply
Common
Separate
Cable
Shielded cable, 0.75 mm
2
x 3 conductors
Shielded cable, 0.75 mm
2
x 2 conductors
Transmission distance
50 m max.
100 m max.
Terminal Construction
Use hook-type crimp connectors with a line thickness of 0.25 to 1.65 mm
2
.
The construction of the terminals is shown in the illustration.
Wiring Method
Standard Transmission Delays (19.2 ms)
Common Power Supply
B7A Interface Unit
B7A Link Terminal
Transmission distance: 100 m max.
B7A Link Terminal
12 to 24 V DC
Transmission cable: VCTF 0.75 mm 2 or higher
262
B7A Interface Units
Separate Power Supplies
B7A Interface Unit
12 to 24 V DC
Transmission distance: 500 m max.
B7A Link Terminal
Section 3-8
12 to 24 V DC
B7A Link Terminal
Transmission cable: VCTF 0.75 mm 2 or higher
12 to 24 V DC
High-speed Transmission Delays (3 ms): Shielded Cable
Common Power Supply
B7A Interface Unit
B7A Link Terminal
Transmission distance: 50 m max.
B7A Link Terminal
GND
Shielded cable: 0.75 mm 2 or higher
24 V DC+10%
GND
Shielded cable: 0.75 mm
2
or higher
Separate Power Supplies
B7A Interface Unit
12 to 24 V DC
Transmission distance: 100 m max.
B7A Link Terminal
GND
Shielded cable: 0.75 mm 2 or higher
12 to 24 V DC
B7A Link Terminal
12 to 24 V DC
Note
GND
Shielded cable: 0.75 mm 2 or higher
1.
We recommend grounding the shielded cable.
2.
If shielded cable is not used, the maximum transmission distance is 10 m regardless of whether a common or separate power supplies are used.
(Use 0.75 mm
2
or higher VCTF cable.)
263
B7A Interface Units
Section 3-8
Specifications
Item
I/O points
C200H-B7A12
32 input points or
30 input points and 2 error inputs
C200H-B7A02
32 output points
C200H-B7A21
16 output points and
16 input points or
15 input points + 1 error input
C200H-B7A22
32 output points and
32 input points or
30 input points + 2 error inputs
Transmission method
Transmission distance (see note 1)
Transmission delay
One-way distributed multiplex transmission
Standard: 500 m max.
High-speed: 100 m max.
Minimum input time (see note
2, 3)
Internal current consumption
External power supply (see note
4)
Weight
Dimensions
Standard: Typ. 19.2 ms, 31 ms max.
High-speed: Typ. 3 ms, 5 ms max.
Standard: 16 ms
High-speed: 2.4 ms
5 V DC, 100 mA max.
12 to 24 V DC ±10%
0.05 A min.
0.06 A min.
300 g max.
35 x 130 x 128 mm (W x H x D)
Note
0.05 A min.
0.08 A min.
1.
The transmission distance also depends on whether a common or separate power supplies are used.
2.
The minimum input time refers to the minimum time required for reading the input signals from the CPU Unit.
3.
The ON/OFF width of the signal transmitted from the CPU Unit to the Output Relay of the B7A Interface Unit should be set to a value larger than the minimum input time.
4.
The capacity of the external power supply does not include the capacity required by the B7A Link Terminal.
Dimensions
3.
To prevent noise on the transmission cable, do not lay it near power cables or high-voltage lines.
130 x x x x x x x x
35
128
145
Backplane
264
Analog Timer Units
Section 3-9
3-9 Analog Timer Units
Analog Timer Units are classified as Basic I/O Units.
Analog Timer Units have 4 built-in timers (numbers 0 to 3). The timer settings can be adjusted using the internal and external variable resistors without requiring a Programming Device. The timer can also be used as a accumulative register to temporarily pause the timer operation using a timer pause input.
Models
Name Specifications
Analog Timer Unit 4-point timer
Timer settings: 0.1 to 1.0 s, 1.0 to 10 s, 10 to 60 s, 1 to 10 min.
Model
C200H-TM001
The Analog Timer Unit is classified as a Basic I/O Unit and is allocated one word in the I/O Area. The word (16 bits) allocated to the Unit is used for the 4 timers’ start input, pause input, time-up output, and data transfer with the CPU
Unit.
Allocated words
1 word (16 bits)
Bits
4 (bits 0 to 3) Set Bit
Details
4 (bits 4 to 7)
4 (bits 8 to 11)
Pause Inputs
Time-up Outputs
Direction
CPU Unit to Analog Timer Unit
CPU Unit to Analog Timer Unit
Analog Timer Unit to CPU Unit
The timer settings are adjusted using the internal and external variable resistors. The timer settings can be selected using the DIP switch for each timer number from one of the following four settings.
0.1 to 1 s, 1 to 10 s, 10 to 60 s, 1 to 10 min
265
Analog Timer Units
Timer set input
Timer pause input
Resistance value
Resistance value
Resistance value
Section 3-9
Analog Timer Unit
Timer up output
Setting value
Setting value
Setting value
Setting value
Resistance value
Components and Switch Settings
Internal variable resistor
• timer setting.
• only effective when the selector switch on the Unit is ON (set to the right).
•
T0 to T3, respectively.
Set or adjust times using the flatblade screwdriver supplied with the
Unit. turning the variable resistor clockwise to increase the time value.
TM001
SET
TIME UP
0 1 2 3
0
2
1
3
NO
NO
Timer status indicators
The SET indicators in the top row light when the corresponding timer is operating and the TIME UP indicators in the bottom row light when the corresponding time is up.
Time range setting
Each timer uses 2 pins. The upper 8 pins 8 to 1 are used for timers T0 to T3 as follows:
(0: OFF, 1: ON)
Timer
T0
T1
Pin 0.1 to 1 s 1 to 10 s 10 to 60 s 1 to 10 m
8 0 1 0 1
7
6
0
0
0
1
1
0
1
1
T2
5
4
0
0
0
1
1
0
1
1
T3
3
2
0
0
0
1
1
0
1
1
1 0 0 1 1
Min.
Max.
2
3
0
1
External variable resistor connectors
• instead of internal volume.
• switch.
•
The external volume resistance is 20 kΩ.
• with cable can also be used.
INT/EXT selector switch
ON Internal variable resistor
OFF External variable resistor
T0
SW4
T1
SW3
T2
SW2
T3
SW1
Note
Name
Connector
Contact
Model
IL-2S-S3L-(N)
IL-C2-1-10000
Manufacturer
Japan Aviation
Electronics
Industry, Ltd.
1.
When the internal variable resistor is used, make sure that the external variable resistor connector for the same timer number is open. Otherwise the internal variable resistor settings will not function properly.
2.
Use AWG 28 to AWG 22 lead wires for the external variable resistor connectors.
3.
Soldering is not required to wire the external variable resistor connectors.
Wire the connector as shown in the following diagram.
266
Analog Timer Units
Section 3-9
Analog Timer Unit connector
External variable resistor: 20 k Ω
Diameter: 16
Shaft length: 15 mm
Check manufacturer's specifications
Analog Timer Unit Specifications
Item
Oscillation method
Number of timer points
Time setting range
CR oscillation
4
Timer pause function
Operation indicators
Specifications
Use the DIP switch to set any of the following four ranges.
0.1 to 1 s (typical)
1 to 10 s (typical)
10 to 60 s (typical)
1 to 10 min (typical)
The timing operation can be paused by the user program, so the timers can be used as cumulative registers.
SET and TIME UP
External variable resistor
Either the external variable resistor or the internal variable resistor can be selected using the INT/EXT selector switch on the front panel of the Unit. External variable resistors are connected by wiring the connector. Use 20 k Ω variable resistors
Relay number allocations
One word (16 bits) is allocated in the I/O Area.
Bit I/O Word n
01 Output T1 Set Bit "1" when time is running
0: Operates
1: Stops
04 Output T0 Pause Input Bit
05 Output T1 Pause Input Bit
06 Output T2 Pause Input Bit
07 Output T3 Pause Input Bit
09 Input T1 Completion Flag
12 ---
13 ---
14 ---
15 ---
Internal current consumption
Weight
60 mA 5 V DC max.
200 g max.
"1" when time is up
267
Analog Timer Units
Timer Operation
Section 3-9
• When the Timer Start Input turns ON, the Timer Set Bits allocated to the
Analog Timer Unit (word n bits 00 to 03) turn ON, and the Analog Timer will operate. The timer set indicator (SET) on the Analog Timer Unit will light.
• After the time specified by the internal variable resistor or external variable resistor has elapsed, the Unit’s Completion Output (word n bits 08 to
11) will turn ON, and the Time Up Output will turn ON. The TIME UP indicator on the Analog Timer Unit will turn light.
Timer Start Input
Timer Set Bit
Word n bit 00 to 03
Word n bit 08 to 11
Completion Flag
Time Up Output
Timer Start Input
Time Up Output
Timer setting time
Dimensions
268
SECTION 4
Operating Procedures
This section outlines the steps required to assemble and operate a CS-series PLC system.
269
Introduction
Section 4-1
4-1 Introduction
1,2,3...
The following procedure outlines the recommended steps to follow when preparing CS-series PLCs for operation.
1.
Install the provided battery in the CPU Unit (CS1 CPU Units only).
2.
Installation
Set the DIP switches on the front of each Unit as required.
Mount the CPU Unit, Power Supply Unit, and other Units to the Backplane.
Install the Inner Board and Memory Card if required.
See 5-2 Installation for details.
3.
Wiring
Connect the power supply wiring, I/O wiring, and Programming Device
(CX-Programmer or Programming Console). Connect communications wiring as required.
See 5-3 Wiring for details on power supply and I/O wiring.
4.
Initial Settings (Hardware)
Set the DIP switches an Rotary switches on the front of the CPU Unit and other Units.
See 6-1 DIP Switch Settings for details.
5.
Confirming Programming Device Connection a) Connect a Programming Device (i.e., the CX-Programmer or a Programming Console).
b) Check the power supply wiring and voltage, turn ON the power supply, and check to be sure the Programming Device will connect to the CPU
Unit.
See 3-3 Programming Devices for details.
6.
Clearing Memory
This step is necessary only for CS1 CPU Units. It can be skipped for CS1-
H CPU Units.
Using the CX-Programmer: a) Connect the system online. Online connection can also be made by selecting “Work Online” from the PLC menu.
b) Double-click Error Log and select the Error Log tab.
c) Click “Clear All” and then click Yes.
Using a Programming Console: d) When only cyclic task 0 is being used, specify no interrupt tasks when clearing memory.
e) When cyclic task 0 and one or more interrupt tasks are being used, specify interrupt tasks when clearing memory.
7.
Registering the I/O Table
Check the Units to verify that they are installed in the right slots. With the
PLC in PROGRAM mode, register the I/O table from the Programming Device (CX-Programmer or Programming Console). (Another method is to create the I/O table in CX-Programmer and transfer it to the CPU Unit.)
See 8-1 I/O Allocations for details.
270
Introduction
Section 4-1
8.
PLC Setup Settings
With the PLC in PROGRAM mode, change the settings in the PLC Setup as necessary from the Programming Device (CX-Programmer or Programming Console). (Another method is to change the PLC Setup in CX-Programmer and transfer it to the CPU Unit.)
See
9.
DM Area Settings a) Use a Programming Device (CX-Programmer or Programming Console) to make any necessary settings in the parts of the DM Area that are allocated to Special I/O Units, CS-series CPU Bus Units, and Inner
Boards.
b) Reset the power (ON → OFF → ON) or toggle the Restart Bit for each
Unit or Board. See the Unit’s or Board’s Operation Manual for details.
10. Writing the Program
Write the program with a Programming Device (CX-Programmer or Programming Console.)
11. Transferring the Program (CX-Programmer Only)
With the PLC in PROGRAM mode, transfer the program from CX-Programmer to the CPU Unit. See 7-1 Program Transfer in the CS/CJ Series
Programmable Controllers Programming Manual (W394) for details.
12. Testing Operation a) Checking I/O Wiring
Output wiring With the PLC in PROGRAM mode, force-set output bits and check the status of the corresponding outputs.
Input wiring Activate sensors and switches and either check the status of the indicators on the Input Unit or check the status of the corresponding input bits with the Programming Device’s
Bit/Word Monitor operation.
b) Auxiliary Area Settings (As Required)
Check operation of special Auxiliary Area Settings such as the following:
Output OFF
Bit
Hot Start Settings
When necessary, turn ON the Output OFF Bit (A50015) from the program and test operation with the outputs forced OFF.
When you want to start operation (switch to RUN mode) without changing the contents of I/O memory, turn ON the
IOM Hold Bit (A50012).
c) Trial Operation
Test PLC operation by switching the PLC to MONITOR mode.
d) Monitoring and Debugging
Monitor operation from the Programming Device. Use functions such as force-setting/force-resetting bits, tracing, and online editing to debug the program.
See SECTION 7 Program Transfer, Trial Operation, and Debugging in the CS/CJ Series Programmable Controllers Programming Manual
(W394) for details.
13. Saving and Printing the Program
14. Running the Program
Switch the PLC to RUN mode to run the program.
271
Examples
4-2 Examples
1. Installation
Section 4-2
Mount the Backplane and install each Unit. When necessary, install the Inner
Board or Memory Card.
2. Wiring
Make sure that the total power consumption of the Units is less than the maximum capacity of the Power Supply Unit.
Connect the power supply and I/O wiring.
Note When 220-V AC power (200 to 240 V AC) is being supplied, be sure to remove the jumper bar that shorts the voltage selector terminals. The Power
Supply Unit will be damaged if 220 V AC is supplied with the jumper bar connected.
3. Initial Settings (Hardware)
Make necessary hardware settings such as the DIP switch settings on the
CPU Unit. Be sure that the communications settings for the peripheral port and RS-232C port are correct, especially when connecting a Programming
Device (CX-Programmer or Programming Console).
In the following example, a Programming Console is connected to the peripheral port so pin 4 is turned OFF. CX-Programmer is connected to the RS-
232C port, so pin 5 is turned ON.
272
Examples
Section 4-2
Note When devices other than a Programming Device are connected to the peripheral port and RS-232C port, turn ON pin 4 and turn OFF pin 5.
Programming Console
Programming Device
4. Verifying the Programming Device Connection
Connecting to the CX-Programmer
1,2,3...
1.
Connect the CX-Programmer's connecting cable to the peripheral port or
RS-232C port.
Note When connecting to the RS-232C port, pin 5 of the CPU Unit's DIP switch must be ON.
CX-Programmer
Support Software
2.
When connecting to the RS-232C port, pin 5 of the CPU Unit's DIP switch must be ON.After checking the power supply wiring and voltage, turn ON the power and verify the Power Supply Unit's POWER Indicator is lit.
3.
Start the CX-Programmer and automatically connect online to the PLC.
273
Examples
Section 4-2
4.
When connecting online automatically, the CPU Unit is connected in RUN mode.Verify that the CX-Programmer has connected online with the PLC.
5.
Change the operating mode from RUN mode to PROGRAM mode.
Connecting to the Programming Console
1.
Connect the Programming Console to the CPU Unit's peripheral port (the upper port).
Programming
Console
2.
Verify that the Programming Console's mode is PROGRAM mode.
3.
After checking the power supply wiring and voltage, turn ON the power and verify the Power Supply Unit's POWER Indicator is lit.
4.
Verify that the Programming Console has the following display.
<PRG> 3:JPN~ENG
PASSWORD!
5.
Input the password (the Clear and Monitor Keys) and verify that the Programming Console has the following display.
CLR
MON
<PRG> BZ
3:JPN~ENG
Note If the PLC Setup's Startup Mode Setting is set to PRCN (Startup Mode determined by the Programming Console's mode switch, the default setting), but a
Programming Console isn't connected when the power is turned ON, the CPU
Unit will enter RUN Mode and start operating.
274
Examples
Section 4-2
5. Clearing Memory
This step is necessary only for CS1 CPU Units. It can be skipped for CS1-H
CPU Units.
Clearing Memory with a Programming Console
Only one cyclic task can be created when programming with a Programming
Console, although it is possible to create two or more interrupt tasks with interrupt task numbers ranging from 1 to 3 or 100 to 131.
Note Data areas won’t be cleared if they are removed from the display. If no data areas are removed, the entire I/O memory area and PLC Setup will be cleared.
Connect to the PLC (online) and perform the memory clear operation.
1,2,3...
1.
Clear memory.
000000 CT**
CLR
SET NOT RESET
000000MEMORY CLR
CHWA TCDE P
MON
000000CLR MEM?
0:ALL 1:TASK
0
000000CLR MEM?
INT 0:NO 1:YES
2.
Indicate whether interrupt tasks will be created.
• If no interrupt tasks are being created, press the 0 and MON Keys.
0
MON
000000CLR'G MEM
INT 0:NO
000000CLR MEM
END 0:NO
Programming Console
• If one or more interrupt tasks are being created, press the 1 and MON
Keys.
1
MON
000000CLR'G MEM
INT 1:YES
000000CLR MEM
END 1:YES
275
Examples
Section 4-2
Clearing Memory with CX-Programmer
Multiple cyclic tasks and interrupt tasks can be created when CX-Programmer is used. Connect the computer and PLC, switch to online mode, and perform the all clear operation from the PLC Errors Window.
6. Registering the I/O Table
Registering the I/O table allocates I/O memory to the Units actually installed in the PLC. This operation is required in CS-series PLCs.
Note The user program and parameter area data in CS1-H CPU Units is backed up in the built-in flash memory. The BKUP indicator will light on the front of the
CPU Unit when the backup operation is in progress. Do not turn OFF the power supply to the CPU Unit when the BKUP indicator is lit. The data will not be backed up if power is turned OFF.
■ Using the CX-Programmer Online
Mounting All Units and Then Creating I/O Tables
Use the following procedure to register the I/O table with the CX-Programmer that is connected to the PLC.
1,2,3...
Install the Units.
1.
Install all of the Units in the PLC.
2.
Connect CX-Programmer Connecting Cable to the peripheral port or RS-
232C port. (The power must be OFF.)
Note If the host computer is being connected to the RS-232C port, pin 5 of the CPU Unit’s DIP switch must be set to ON.
3.
Start the CX-Programmer and connect online to the PLC.
4.
Double-click I/O Table on the project tree in the main window. The I/O Table Window will be displayed.
276
Examples
Section 4-2
5.
Select Options and then Create. The models and positions of Units mounted to the Racks will be written to the Registered I/O Table in the CPU
Unit.
Using the CX-Programmer Offline
Use the following procedure to create the I/O table offline with the CX-Programmer and later transfer the I/O table from to the CPU Unit.
Write the
I/O table.
Transfer the
I/O table.
1,2,3...
1.
Double-click I/O Table on the project tree in the main window. The I/O Table Window will be displayed.
2.
Double-click the Rack to be edited. The slots for that Rack will be displayed.
3.
Right-click the slots to be edited and select the desired Units from the pulldown menu.
277
Examples
Section 4-2
4.
Select Options and then Transfer to PLC to transfer the I/O table to the
CPU Unit.
278
Note The first word allocated to each Rack can be set by selecting Rack/Slot Start
Addresses from the Option Menu of the PLC IO Table Window of the CX-Programmer.
■ Using a Programming Console
Mounting All Units and Then Creating I/O Tables
1,2,3...
Programming Console
Install the Units.
1.
Install all of the Units in the PLC.
2.
Connect the Programming Console to the peripheral port.
(It can be connected with the power on.)
3.
Perform the following Programming Console operation.
FUN
CLR
000000 CT00
SHIFT
CH
*DM
000000 I/O TBL ?
CHG
000000 I/O TBL
WRIT ????
Examples
Section 4-2
000000 I/O TBL
WRIT ????
Password (9713)
WRITE
000000CPU BU ST?
0:CLR 1:KEEP
Specify holding or clearing
CPU Bus Unit information.
000000 I/O TBL
WRIT OK
CLR
000000 CT00
Note With the CS1-H CPU Units, detailed I/O table error information is stored in
A261 whenever the I/O tables cannot be created for any reason. This information can be used to facilitate troubleshooting if an error occurs.
7. PLC Setup Settings
These settings are the CPU Unit’s software configuration. See
for details on the settings.
Note When a Programming Console is used to set the PLC Setup, the PLC Setup settings are arranged by word addresses. Refer to the provided Programming
Console settings sheet for details.
Making the Settings with the CX-Programmer
1.
Double-click the Settings Icon in the main window's project directory tree.
The PLC Settings Dialog Box will be displayed.
2.
Make the required settings.
3.
After completing the settings, transfer the PLC Setup to the PLC.
279
Examples
Section 4-2
Making the Settings with the Programming Console
When a Programming Console is used to set the PLC Setup, the PLC Setup settings are arranged by word addresses. Refer to the provided Programming
Console settings sheet for details.
Setting with a Programming Console
8. DM Area Settings
In this example, the Programming Console is used to set the Watch Cycle
Time (maximum cycle time) in 10-ms units.
The following diagram shows the required Programming Console operations.
209
Address
15
0 to 14
Bits Setting
Enable for Watch Cycle Time setting
Watch Cycle Time setting
Setting range
0: Use default
1: Use setting in bits 0 to 14.
0001 to 0FA0
CLR
000000 CT00
FUN VRFY
PC SETUP
0:MODE1:PC SETUP
1
PC SETUP
+000 0000
Specifying a word address in the PLC Setup.
(Example: 209)
2
↓
0 or
9
↑
CHG
PC SETUP
+209
PC SETUP
+209 0000
PC SETUP?
+209 0000 0000
Example: Input 8064.
8 0 6 4 WRITE
PC SETUP
+209 8064
The following table shows the parts of the DM Area are allocated to Special
I/O Units, CS-series CPU Bus Units, and Inner Boards for initial settings. The actual settings depend on the model of Unit or Inner Board being used.
Unit/Board
Special I/O Units
Allocated words
D20000 to D29599 (100 words × 96 Units)
280
Examples
Section 4-2
Unit/Board
CPU Bus Units
Inner Board
Allocated words
D30000 to D31599 (100 words × 16 Units)
D32000 to D32099 (100 words × 1 Board)
After writing the initial settings to the DM Area, be sure to restart the Units by turning the PLC off and then on again or toggling the Restart Bits for the affected Units.
Special I/O Unit or
CS1 CPU Bus Unit
Restart
9. Writing the Program
Programming
Device
CX-Programmer
Programming Console
Write the program with the CX-Programmer or a Programming Console.
Unlike earlier OMRON PLCs, the CS-series PLC’s program can be divided into independently executable tasks. A single cyclic task can be written for program execution like earlier PLCs or several cyclic tasks can be written for a more flexible and efficient program. The following table shows the differences when programming with CX-Programmer or a Programming Console.
Relationship between Tasks and Program
Specify the type of task and task number for each program.
Task = program
(Cyclic task 0 is the main program)
Writing a new program
All can be written.
(Interrupt tasks 0 to 255)
Several can be written.
(Interrupt tasks 1 to 3, 100 to 131)
Editing an existing program
Cyclic tasks Interrupt tasks Cyclic tasks
All can be written.
(Cyclic tasks 0 to 31)
Only one can be written.
(Cyclic task 0)
All can be edited.
All can be edited.
Interrupt tasks
All can be edited.
All can be edited.
Note When writing the program with a Programming Console, specify whether there are interrupt tasks during the memory clear operation.
10. Transferring the Program
When the program has been created in a Programming Device other than a
Programming Console, it must be transferred to the PLC’s CPU Unit.
11. Testing Operation
11-a) I/O Wiring Checks
Before performing a Trial Operation in MONITOR mode, check the I/O wiring.
Check Output Wiring
With the PLC in PROGRAM mode, force-set and force-reset output bits and verify that the corresponding outputs operate properly.
281
Examples
Section 4-2
Force-reset
Check Input Wiring
Activate input devices such as sensors and switches and verify that the corresponding indicators on the Input Units light. Also, use the Bit/Word Monitor operation in the Programming Device to verify the operation of the corresponding input bits.
Input Unit
11-b) Auxiliary Area Settings
Make any required Auxiliary Area settings, such as the ones shown below.
These settings can be made from a Programming Device (including a Programming Console) or instructions in the program.
IOM Hold Bit (A50012)
Turning ON the IOM Hold Bit protects the contents of I/O memory (the CIO
Area, Work Area, Timer Completion Flags and PVs, Index Registers, and
Data Registers) that would otherwise be cleared when the operating mode is switched from PROGRAM mode to RUN/MONITOR mode or vice-versa.
Retained
I/O memory
Operating mode changed
IOM Hold Bit Status at Startup
When the IOM Hold Bit has been turned ON and the PLC Setup is set to protect the status of the IOM Hold Bit at startup (PLC Setup address 80 bit 15 turned ON), the contents of I/O memory that would otherwise be cleared will be retained when the PLC is turned ON.
Retained
I/O memory
PLC turned ON.
282
Examples
Section 4-2
Output OFF Bit (A50015)
Turning ON the Output OFF Bit causes all outputs on Basic I/O Units and
Special I/O Units to be turned OFF. The outputs will be turned OFF regardless of the PLC’s operating mode.
11-c) Trial Operation
Use the Programming Console or Programming Device (CX-Programmer) to switch the CPU Unit to MONITOR mode.
Using CX-Programmer
The PLC can be put into MONITOR mode with a host computer running CX-
Programmer.
Trial Operation
Select PLC, Mode, RUN.
Actual operation
Select PLC, Mode, RUN. CX-Programmer
Using a Programming Console
Turn the Mode Switch to MONITOR for the Trial Operation. (Turn the switch to
RUN for full-scale PLC operation.)
Trial Operation
Programming
Console
Actual operation
11-d) Monitoring and Debugging
There are several ways to monitor and debug PLC operation, including the force-set and force-reset operations, differentiation monitoring, time chart monitoring, data tracing, and online editing.
Force-Set and Force-Reset
When necessary, the force-set and force-reset operations can be used to force the status of bits and check program execution.
283
Examples
Section 4-2
When a Programming Console is being used, monitor the bits with Bit/Word
Monitor or 3-word Monitor. Press the SHIFT+SET Keys to force-set a bit or press the SHIFT+RESET Keys to force-reset a bit. The forced status can be cleared by pressing the NOT Key.
Programming Console CX-Programmer
1. Click the bit to be force-set or force-reset.
2. Select Force On or Off from the PLC menu.
Bit/Word Monitor display
Force-set:
SHIFT SET
Force-reset: SHIFT SET
3-word Monitor display
Clear:
NOT
Differentiation Monitor
The differentiation monitor operation can be used to monitor the up or down differentiation of particular bits.
When a Programming Console is being used, monitor the bit with Bit/Word
Monitor. Press the SHIFT+Up Arrow Keys to specify up differentiation or press the SHIFT+Down Arrow Keys to specify down differentiation.
CX-Programmer
1. Click the bit for differential monitoring.
2. Click Differential Monitor from the PLC
Menu. The Differential Monitor Dialog Box will be displayed.
3. Click Rising or Falling.
4. Click the Start Button. The buzzer will sound when the specified change is detected and the count will be incremented.
5. Click the Stop Button. Differential monitoring will stop.
Bit/Word Monitor display
Programming Console
Detect up-differentiation:
SHIFT
Detect down-differentiation:
SHIFT
Time Chart Monitoring
The CX-Programmer’s time chart monitor operation can be used to check and debug program execution.
Data Tracing
The CX-Programmer’s data trace operation can be used to check and debug program execution.
Online Editing
When a few lines of the program in the CPU Unit have to be modified, they can be edited online with the PLC in MONITOR mode or PROGRAM mode.
When more extensive modifications are needed, upload the program from the
CPU Unit to the host computer, make the necessary changes, and transfer the edited program back to the CPU Unit.
284
Examples
Section 4-2
12. Save and Print the Program
Save
To save a created program, select File - Save or File - Save As from the CX-
Programmer menus.
To print a created program, first preview the print output by selecting the desired section in the CX-Programmer's project workspace and selecting File
- Print Preview from the CX-Programmer menu. If the preview is acceptable, select File - Print to print.
13. Run the Program
Switch the PLC to RUN mode to run the program.
285
Examples
Section 4-2
286
SECTION 5
Installation and Wiring
This section describes how to install a PLC System, including mounting the various Units and wiring the System. Be sure to follow the instructions carefully. Improper installation can cause the PLC to malfunction, resulting in very dangerous situations.
5-2-1 Installation and Wiring Precautions . . . . . . . . . . . . . . . . . . . . . . . . .
5-2-2 Installation in a Control Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2-3 Mounting Height. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2-4 Mounting Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2-5 Mounting Units to the Backplane . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2-6 DIN Track Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2-7 I/O Connecting Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2-8 Inner Board Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3-1 Power Supply Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3-2 Wiring CS-series and C200H Basic I/O Units . . . . . . . . . . . . . . . . .
5-3-3 Wiring CS-series and C200H I/O Units with Connectors . . . . . . . .
5-3-4 Connecting I/O Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3-5 Reducing Electrical Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
287
Fail-safe Circuits
Section 5-1
5-1 Fail-safe Circuits
Be sure to set up safety circuits outside of the PLC to prevent dangerous conditions in the event of errors in the PLC or external power supply.
Supply Power to the PLC before Outputs
If the PLC’s power supply is turned on after the controlled system’s power supply, outputs in Units such as DC Output Units may malfunction momentarily. To prevent any malfunction, add an external circuit that prevents the power supply to the controlled system from going on before the power supply to the PLC itself.
Managing PLC Errors
When any of the following errors occurs, PLC operation will stop and all outputs from Output Units will be turned OFF.
• Operation of the Power Supply Unit’s overcurrent protection circuit
• A CPU error (watchdog timer error) or CPU on standby
• A fatal error* (memory error, I/O bus error, duplicate number error, Inner Board stopped error, too many I/O points error, program error, cycle time too long error, or FALS(007) error)
Be sure to add any circuits necessary outside of the PLC to ensure the safety of the system in the event of an error that stops PLC operation.
Note *When a fatal error occurs, all outputs from Output Units will be turned OFF even if the IOM Hold Bit has been turned ON to protect the contents of I/O memory. (When the IOM Hold Bit is ON, the outputs will retain their previous status after the PLC has been switched from RUN/MONITOR mode to PRO-
GRAM mode.)
Managing Output Malfunctions
It is possible for an output to remain ON due to a malfunction in the internal circuitry of the Output Unit, such as a relay or transistor malfunction. Be sure to add any circuits necessary outside of the PLC to ensure the safety of the system in the event that an output fails to go OFF.
Emergency Stop Circuit
The following emergency stop circuit controls the power supply to the controlled system so that power is supplied to the controlled system only when the PLC is operating and the RUN output is ON.
An external relay (CR1) is connected to the RUN output from the Power Supply Unit as shown in the following diagram.
288
Fail-safe Circuits
Interlock Circuits
Section 5-1
MCB1
Power supply
MCB2
CR1
Controlled system
Transformer or noise filter
Twisted-pair wires
CS-series PLC
PLC RUN output
(See note.)
DC voltage regulator
+ DC
– input/output
CR1 Surge suppressor
Note This configuration is possible with the C200HW-PA204R and C200HW-
PA204R Power Supply Units only. When a Power Supply Unit without a RUN output is used, program the Always ON Flag (A1) as the execution condition for an output point from an Output Unit. Do not include a circuit that stops the controlled system by latching the RUN output during operation. Relay contacts are used, and so chattering may cause incorrect operation.
When the PLC controls an operation such as the clockwise and counterclockwise operation of a motor, provide an external interlock such as the one shown below to prevent both the forward and reverse outputs from turning ON at the same time.
Interlock circuit
000501
MC2
MC1 Motor clockwise
CS-series
PLC
000502
MC1
MC2 Motor counterclockwise
This circuit prevents outputs MC1 and MC2 from both being ON at the same time even if both CIO 000500 and CIO 000501 are both ON, so the motor is protected even if the PLC is programmed improperly or malfunctions.
289
Installation
Section 5-2
5-2 Installation
5-2-1 Installation and Wiring Precautions
Be sure to consider the following factors when installing and wiring the PLC to improve the reliability of the system and make the most of the PLC’s functions.
Ambient Conditions
Do not install the PLC in any of the following locations.
• Locations subject to ambient temperatures lower than 0 °C or higher than
55 °C.
• Locations subject to drastic temperature changes or condensation.
• Locations subject to ambient humidity lower than 10% or higher than
90%.
• Locations subject to corrosive or flammable gases.
• Locations subject to excessive dust, salt, or metal filings.
• Locations that would subject the PLC to direct shock or vibration.
• Locations exposed to direct sunlight.
• Locations that would subject the PLC to water, oil, or chemical reagents.
Be sure to enclose or protect the PLC sufficiently in the following locations.
• Locations subject to static electricity or other forms of noise.
• Locations subject to strong electromagnetic fields.
• Locations subject to possible exposure to radioactivity.
• Locations close to power lines.
Installation in Cabinets or Control Panels
When the PLC is being installed in a cabinet or control panel, be sure to provide proper ambient conditions as well as access for operation and maintenance.
Temperature Control
The ambient temperature within the enclosure must be within the operating range of 0 °C to 55°C. When necessary, take the following steps to maintain the proper temperature.
• Provide enough space for good air flow.
• Do not install the PLC above equipment that generates a large amount of heat such as heaters, transformers, or high-capacity resistors.
• If the ambient temperature exceeds 55 °C, install a cooling fan or air conditioner.
Control panel
Fan
Louver
CS-series
PLC
290
Installation
Section 5-2
• If a Programming Console will be left on the PLC, the ambient temperature must be within the Programming Console’s operating range of 0 °C to
45 °C.
Accessibility for Operation and Maintenance
• To ensure safe access for operation and maintenance, separate the PLC as much as possible from high-voltage equipment and moving machinery.
• The PLC will be easiest to install and operate if it is mounted at a height of about 1.3 m (4 feet).
Improving Noise Resistance
• Do not mount the PLC in a control panel containing high-voltage equipment.
• Install the PLC at least 200 mm (6.5 feet) from power lines.
Power lines
200 mm min.
CS-series PLC
200 mm min.
• Ground the mounting plate between the PLC and the mounting surface.
• When I/O Connecting Cables are 10 m or longer, connect the control panels in which Racks are mounted with heavier power wires (3 wires at least
2 mm
2
in cross-sectional area).
PLC Orientation
• Each Rack must be mounted in an upright position to provide proper cooling.
Top
Bottom
291
Installation
• Do not install a Rack in any of the following positions.
Section 5-2
Note Always use the standard installation method. A nonstandard installation will decrease heat dissipation, and may delay the replacement notification signal
(in particular for C200H-PA204C Power Supply Units with Replacement Notification), or degrade or damage the internal elements.
5-2-2 Installation in a Control Panel
• A typical installation is a CPU Rack mounted above an Expansion Rack on a mounting plate in the control panel.
• The spacing between the CPU Rack and Expansion Rack (or between two Expansion Racks) should be sufficient to allow space for a wiring duct, wiring, air circulation, and replacement of Units in the Racks.
Note If the C200HW-PA209R Power Supply Unit is to be used at an ambient temperature of 50 °C or higher, provide a minimum space of 80 mm between the top of the Unit and any other objects, e.g., ceiling, wiring ducts, structural supports, devices, etc.
80 mm min.
Duct or other object
C200HW-PA209R
80 mm min.
80 mm min.
Duct or other object
C200HW-PA209R
80 mm min.
Duct or other object
• Up to 7 Expansion Racks can be connected.
Each I/O Connecting Cable can be up to 12 m long, but the sum total of all cables between the CPU Rack and Expansion Racks must be 12 m or less.
292
Installation
Wiring Ducts
Section 5-2
• The mounting plate should be grounded completely and we recommend using a mounting plate that has been plated with a good conductor to improve noise resistance.
• If all of the Racks cannot be mounted to the same mounting plate, the individual plates should be securely connected together using 3 wires of at least 2 mm
2
in cross-sectional area.
• The Backplanes are mounted to the plate(s) with four M4 screws each.
• Whenever possible, route I/O wiring through wiring ducts or raceways.
Install the duct so that it is easy to fish wire from the I/O Units through the duct. It is handy to have the duct at the same height as the Racks.
Duct
20 mm min.
Backplane
Phillips screwdrivers
Unit
20 mm min.
Duct
The following example shows the proper installation of wiring duct.
118 to 153 mm
CPU
Rack
30 mm
30 mm
Mounting bracket
40 mm
Duct
Expansion
Rack
Note Tighten the Unit mounting screws, PLC Rack mounting screws, terminal block screws, and cable screws to the following torques.
Unit Mounting Screws
CPU Unit:
Power Supply Unit:
I/O Units:
Backplane Mounting Screws: 0.9 N·m
Terminal Screws
M3.5: 0.8 N·m
M3: 0.5 N·m
Cable Connector Screws
M2.6: 0.2 N·m
0.9 N·m
0.9 N·m
0.4 N·m
293
Installation
Routing Wiring Ducts
Section 5-2
Install the wiring ducts at least 20 mm between the tops of the Racks and any other objects, (e.g., ceiling, wiring ducts, structural supports, devices, etc.) to provide enough space for air circulation and replacement of Units. If the
C200HW-PA209R Power Supply Unit is to be used at an ambient temperature of 50 °C or higher, provide a minimum space of 80 mm.
Input duct Output duct Power duct
200 mm min.
CPU Rack
Breakers, fuses
Expansion Rack
Power equipment such as transformers and magnetic relays
Fuses, relays, timers, etc.
(NOT heat-generating equipment, power equipment, etc.) Terminal blocks for PLC
Terminal blocks for power equipment
5-2-3 Mounting Height
The mounting height of CPU Racks, Expansion Racks, or Slave Racks is 118 to 153 mm for a CS-series Backplane, depending on I/O Units mounted. If
Programming Devices or connecting cables are attached, the additional dimensions must be taken into account. Allow sufficient clearance in the control panel in which the PLC is mounted.
118 to 153 mm
Approx. 180 to 223 mm
294
Installation
5-2-4 Mounting Dimensions
Backplanes
CPU Backplane with 2 Slots
Section 5-2
198.5
Four, M4
157
CS1W-BC023
CPU Backplane
6
145
±0.3
172.3
±0.3
Unit: mm
Note Expansion Backplanes cannot be connected to 2-slot CPU Backplanes.
CPU Backplane with 3, 5, 8, or 10 Slots
A
±0.3
6
Four, M4
Unit: mm
132 CPU Backplane
6
118
±0.3
66 min.
132
A ±0.3
Expansion Backplane
80 min.
6
6
118
±0.3
W
Four, M4
Backplane
Standard CPU Backplanes
CS-series-only CPU Backplanes
Expansion Backplanes
CS-series Expansion Backplanes
C200H Expansion
I/O Backplanes
Model
CS1W-BC033
CS1W-BC053
CS1W-BC083
CS1W-BC103
CS1W-BC032
CS1W-BC052
CS1W-BC082
CS1W-BC102
CS1W-BI033
CS1W-BI053
CS1W-BI083
CS1W-BI103
A
246 mm 260 mm
316 mm 330 mm
421 mm 435 mm
491 mm 505 mm
246 mm
316 mm
421 mm
491 mm
246 mm
316 mm
421 mm
491 mm
W
260 mm
330 mm
435 mm
505 mm
260 mm
330 mm
435 mm
505 mm
C200HW-BI031
C200HW-BI051
245 mm 259 mm
316 mm 330 mm
C200HW-BI081-V1 350 mm 364 mm
C200HW-BI101-V1 420 mm 434 mm
295
Installation
Section 5-2
Backplane Insulation Plates
Backplane Insulation Plates can be installed on C200H I/O Backplanes only.
There are four models available, corresponding to the number of slots on the
Backplane. The dimensions at locations A, B, C, D, and E are shown below in millimeters for each Backplane Insulation Plate.
Unit: mm
M4 screws for mounting to PLC
(4/5 places)
(B)
5-dia. holes for mounting
Base Insulation Plate
(4/6 places)
6
12 dia.
135 (118) 110
5 dia.
C
D
(A)
(E)
10
Insulation Plates for I/O Backplanes
Specifications
For 3 slots
For 5 slots
For 8 slots
For 10 slots
Model
E
C200HW-ATT32 190
C200HW-ATT52 260
C200HW-ATT82 365
C200HW-ATTA2 435
Dimensions (mm)
D C B
140
210
---
---
---
---
315
385
---
---
---
---
A
175
245
350
420
5-2-5 Mounting Units to the Backplane
There are two methods for mounting or removing Units in the Backplane. The following table shows which method to use for each type of Unit.
A
Group
B
Unit type
CS-series CPU Units,
Power Supply Units,
CS-series Basic I/O
Units,
CS-series Special I/O
Units,
CS-series CPU Bus
Units, and
SYSMAC BUS Remote
I/O Slave Units
Installation method
Hook the top of the Unit into the slot on the
Backplane and tighten the screw on the bottom of Unit.
Removal method
Loosen the screw on the bottom of the Unit and rotate the Unit upward.
C200H Basic I/O Units,
C200H Special I/O
Units
Hook the top of the Unit into the slot on the
Backplane and secure the bottom of the Unit with the Backplane’s lock lever.
Press and hold the lock lever at the bottom of the Unit and rotate the
Unit upward.
296
Installation
Section 5-2
1,2,3...
1.
Mount the Unit to the Backplane by hooking the top of the Unit into the slot on the Backplane and rotating the I/O Unit downwards. (Groups A and B)
Hook
Backplane
Lock lever
Duct
Phillips screwdriver
Units in group A
2.
Make sure that the connector on the back of the Unit is properly inserted into the connector in the Backplane. (Groups A and B)
3.
With the Group-A Units, use a Phillips-head screwdriver to tighten the screw on the bottom of Unit. The screwdriver must be held at a slight angle, so be sure to leave enough space below each Rack.
Note The screws at the bottoms of the Units must be tightened to the following torques.
CPU Unit: 0.9 N·m
Power Supply Unit: 0.9 N·m
I/O Units: 0.4 N·m
20 mm min.
Backplane
20 mm min.
Duct
With Group-B Units, the lock lever will snap into place when the Unit is properly inserted. Check that the lock lever is engaged and the Unit is secure.
297
Installation
Section 5-2
4.
To remove a Group-A Unit, use a phillips-head screwdriver to loosen the screw at the bottom of the Unit, rotate the Unit upward, and remove it.
To remove a Group-B Unit, hold down the lock lever with a tool such as a screwdriver, rotate the Unit upward, and remove it.
Lock lever
5-2-6 DIN Track Mounting
Do not use DIN Track to mount Backplane in locations subject to vibration; use locking screws to attach the Backplane directly.
Mount the DIN Track in the control panel with M4 screws in at least three places. Tighten the mounting screws to a torque of 1.2 N·m.
DIN Track Mounting Bracket
Use DIN Track Mounting Brackets to mount Racks to the DIN Track.
C200H-DIN01
Mounting Bracket
DIN Track
298
Installation
DIN Track
The following DIN Tracks are available.
Section 5-2
Model
PFP-50N
PFP-100N
PFP-100N2
Specification
50 cm long, 7.3 mm high
1 m long, 7.3 mm high
1 m long, 16 mm high
DIN Track Installation
1,2,3...
1.
Attach Mounting Brackets to each side (left and right) of the Backplane as shown below.
Backplane (rear view)
DIN Track Mounting
Bracket
There are two Backplane mounting screws each on the left and right sides of the Backplane. Use these screws to attach the DIN Track Mounting Brackets to the Backplane.
(Tighten to a torque of 0.9 N·m.)
2.
Mount the Backplane to the DIN Track so that the hooks on the Mounting
Brackets fit into the upper portion of the DIN Track as shown below.
These hooks fit into the DIN Track
Backplane
DIN Track
DIN Track Mounting Bracket
299
Installation
Section 5-2
3.
Loosen the hold-down bracket’s screws and slide the Backplane upward so that the Mounting Bracket and Backplane clamp securely onto the DIN
Track. Tighten the screws to a torque of 0.5 N·m.
DIN Track Mounting Bracket
DIN Track
Hold-down bracket
Projections Slide this screw to the top of the projection and then tighten it.
5-2-7 I/O Connecting Cables
I/O Connecting Cables are used to connect the CPU Rack and Expansion
Racks. There are four types of I/O Connecting Cables.
CS
I/O Connecting Cables
CS
Type
→ CS
→ C200H
I/O Connecting Cables
C200H → C200H
I/O Connecting Cables
Cables for CS-series
Long-distance Expansion Racks (CV-series
I/O Connecting
Cables)
Model number
CS1W-CN
CS1W-CN
C200H-CN
@@3
@@1
@@1
Simple lock connector
Simple lock connector
Two-screw connector
Connectors
CPU Rack end Expansion Rack end
Usage
Simple lock connector CPU Rack →
CS-series Expansion Rack
Two-screw connector
Two-screw connector
CS-series Expansion Rack →
CS-series Expansion Rack
CPU Rack →
C200H Expansion I/O Rack
CS-series Expansion Rack →
C200H Expansion I/O Rack
C200H Expansion I/O Rack →
C200H Expansion I/O Rack
CV500-CN @@2 Simple lock connector
Simple lock connector CPU Rack or CS-series Longdistance Expansion Rack →
CS-series Long-distance
Expansion Rack
300
Installation
Available Models
CS1
→CS1 I/O
Connecting Cables
CS1
→C200H I/O
Connecting Cables
Section 5-2
C200H
→ C200H I/O
Connecting Cables
Cables for CS1 Long-distance
Expansion Racks (CV-series
I/O Connecting Cables)
Model number
CS1W-CN313
CS1W-CN713
CS1W-CN223
CS1W-CN323
CS1W-CN523
CS1W-CN133
Cable length
0.3 m
(See note.)
0.7 m
(See note.)
2 m
3 m
5 m
10 m
CS1W-CN133B2 12 m
Model number Cable length
CS1W-CN311
CS1W-CN711
CS1W-CN221
CS1W-CN321
0.3 m
0.7 m
2 m
CS1W-CN521
CS1W-CN131
3 m
5 m
10 m
CS1W-CN131B2 12 m
Model number
C200H-CN311
C200H-CN711
C200H-CN221
C200H-CN521
C200H-CN131
Cable length
0.3 m
0.7 m
2 m
5 m
10 m
Model number
CV500-CN312
CV500-CN612
CV500-CN122
CV500-CN222
CV500-CN322
CV500-CN522
CV500-CN132
CV500-CN232
CV500-CN332
CV500-CN432
CV500-CN532
Note Restrictions in Using CS-series I/O Connecting Cables
When using a CS1W-CN313 or CS1W-CN713 CS-series I/O Connecting
Cable with a CS1-H CPU Unit, always use a Cable manufactured on September 20, 2001 or later. Do not use Cables that do not have manufacturing numbers or Cables manufacture earlier than September 20, 2001.
Manufacturing Number Legend
Four-digit Numbers
@ @ @ @
Year (e.g., 1997 = 7, 2001 = 1)
Month (January to September = 1 to 9, October to December = X to Z)
Day of month (01 to 31)
Six-digit Numbers
@ @ @ @ @ @
Symbol
Day of month (01 to 31)
Month (January to September = 01 to 12)
Year (e.g., 2003 = 03)
• Install the Racks and select I/O Connecting Cables so that the total length of all I/O Connecting Cables does not exceed 12 m.
• The following diagram shows where each I/O Connecting Cable must be connected on each Rack. The Rack will not operate if the cables aren’t connected properly. (The “up” direction is towards the CPU Unit and
“down” is away from the CPU Unit.)
Cable length
0.3 m
0.6 m
1 m
2 m
3 m
5 m
10 m
20 m
30 m
40 m
50 m
301
Installation
CPU Rack
Down
Up
CS1 Expansion Rack
Section 5-2
Up
C200H Expansion I/O Rack
Down Down
• The following diagram shows two examples of proper Rack connections.
CPU Rack
CS1 → CS1
I/O Connecting Cable
CS1 Expansion Rack
CS1 → CS1
I/O Connecting Cable
CS1 → C200H
I/O Connecting Cable
CS1 Expansion Rack
C200H Expansion I/O Rack
CPU Rack
CS1 → C200H
I/O Connecting Cable
C200H → C200H
I/O Connecting Cable
C200H → C200H
I/O Connecting Cable
C200H Expansion I/O Rack
C200H Expansion I/O Rack
C200H Expansion I/O Rack
302
Installation
Example
Section 5-2
CPU Rack
(Excluding the
2-slot Rack.)
Total cable length: 0.7 m max.
Total cable length: 50 m max.
Terminator
CS1 Expansion
Rack
Series B (0.5 m max.)
CS1 Long-distance
Expansion Rack
CS1 Long-distance
Expansion Rack
CS1 Long-distance
Expansion Rack
Terminator
CS1 Long-distance
Expansion Rack
CS1 Long-distance
Expansion Rack
Total cable length: 50 m max.
CS1 Long-distance
Expansion Rack
• I/O Control Unit can also be mounted on the CPU Rack.
• Only one CS-series Expansion Rack can be connected.
• The cable length between the CPU Rack and CS-series Expansion Rack must be 0.7 m max.
• Up to two series of CS-series Long-distance Expansion Racks can be connected.
• A maximum of seven CS-series and CS-series Long-distance Expansion
Racks can be connected (including all Racks in both series).
• Each series of CS-series Long-distance Expansion Racks must be 50 m max. with a total of 100 m max. for both series.
• C200H Expansion I/O Racks cannot be connected together with CSseries Long-distance Expansion Racks.
• A CS-series Expansion Rack cannot be connected to a CS-series Longdistance Expansion Rack using a CS I/O Connecting Cable.
303
Installation
Section 5-2
Cable Connections
There are two types of connectors used in the I/O Connecting Cables: Simple locking connectors for CS-series Racks and screw-in connectors for C200H
Racks.
The connectors can be inserted only one way; they cannot be inserted upside down. Be sure that the connectors fit properly as they are inserted.
CS1 → CS1
I/O Connecting Cable
This cable has simple locking connectors on both ends.
CS1 → C200H
I/O Connecting Cable
This cable has a simple locking connector on one end and a screw-in connector on the other.
C200H → C200H
I/O Connecting Cable
This cable has screw-in connectors on both ends.
CPU Rack or
CS1 Expansion Rack
CPU Rack or
CS1 Expansion Rack
C200H Expansion
I/O Rack
Simple locking connector
CS1 Expansion Rack
C200H Expansion
I/O Rack
C200H Expansion
I/O Rack
Simple locking connectors
Screw-in connectors
Screw-in connector
Cables to CS-series Long-distance Expansion Racks
Mounting the I/O Control Unit to the CPU Rack
I/O Control Unit
CS1 Long-distance
Expansion Rack
CV-series
Expansion
I/O Cables
CPU Rack
CS1 Long-distance
Expansion Rack
Series A
I/O Interface Unit
Series B
I/O Interface Unit
304
Installation
Section 5-2
Mounting the I/O Control Unit to a CS-series Expansion Rack
CPU Rack
CS1 I/O Connecting Cable
I/O Control Unit
CS1 Long-distance
Expansion Rack
CS1 Expansion Rack
CV-series
Expansion
I/O Cables
CS1 Long-distance
Expansion Rack
Series B
Series A I/O Interface Unit
I/O Interface Unit
Connecting the Simple Locking Connectors
Insert the connector until it locks in place. The PLC will not operate properly if the connector isn’t inserted completely.
Note When using an I/O Connecting Cable with a locking connector, be sure that the connector is firmly locked in place before using it.
Connecting the Screw-in Connectors
Insert the connector and secure it by tightening the two screws to a torque of
0.2 N·m. The PLC will not operate properly if the connector isn’t inserted completely. To remove the connector, simply loosen the screws and pull it out.
Do not route the I/O Connecting Cables through ducts that contain the I/O or power wiring.
305
Installation
Section 5-2
• An I/O bus error will occur and the PLC will stop if an I/O Connecting
Cable’s connector separates from the Rack. Be sure that the connectors are secure.
• A 75-mm hole will be required if the I/O Connecting Cable must pass through a hole when connecting a CS-series Long-distance Expansion
Rack and a 63-mm hole will be required for Cables connecting other
Racks. The cables can withstand a pulling force up to 49 N (11 lbs), so be sure that they aren’t pulled too forcefully.
• Do not cut or reconnect I/O Connecting Cables. Handle them with caution when mounting the PLC or when using wiring ducts.
• Do not bend the I/O Connecting Cables too severely. The minimum bending radii are shown in the following diagram.
• Always turn OFF the power supply to the PLC before connecting Cables.
CS1 → CS1 I/O Connecting Cable
(Cable diameter: 8.6 mm)
C200H → C200H I/O Connecting Cable
(Cable diameter: 5.1 mm)
R ≥ 69 mm
R ≥ 41 mm
CS1 → C200H I/O Connecting Cable
(Cable diameter: 5.1 mm)
R ≥ 41 mm
Cables for CS1 Long-distance Expansion Racks
(Cable diameter: 10 mm)
R ≥ 80 mm
Mounting the Brackets for Securing the Expansion Cable
Expansion Cable Brackets can be used to prevent Expansion Cables from accidentally coming loose.
Note Expansion Cable Brackets must be ordered separately from Expansion Cables and Backplanes.
Screw holes are required in the Backplane. Use a Backplane manufactured in
August 2007 or later. Earlier Backplanes do not have screw holes, so the
Brackets cannot be mounted. (Refer to
Manufacturing Number Legend on page 301.)
1,2,3...
1.
Connect the Cables according to the description in
306
Installation
Section 5-2
2.
Mount the Expansion Cable Bracket from the top, and tighten the screws
(included) on the top and bottom using a Phillips screwdriver.
Phillips screwdriver
Backplane
CS1D-ATT01 Expansion Cable Bracket
Expansion Cable
Tighten the screws to a torque of 0.5 N·m.
Mounting Long-distance Expansion Cable Brackets
Long-distance Expansion Cable Brackets can be used to prevent Expansion
Cables from accidentally coming loose.
Note Two Long-distance Expansion Cable Brackets are included with the
CS1W-II102 I/O Interface Unit.
1,2,3...
1.
Connect the Cables according to the description in 5-2-7 I/O Connecting
2.
Mount the Long-distance Expansion Cable Bracket from the top, and use a Phillips screwdriver to tighten the screws (included) on the top and bottom.
Mounting screws (2 places)
Connection to Backplane
Long-distance
Expansion Cable
R
R
≥80 mm
• Tighten the screws to a torque of
0.5 N·m.
• When connecting two Long-distance Expansion Cables to a single Long-distance Expansion
Unit, turn one of the Mounting
Brackets upside down and attached them from the sides as shown in the figure to the left.
Long-distance Expansion Cable
Brackets (included with the
CS1W-II102 I/O Interface Unit)
CS1W-IC102 I/O Control Unit
CS1W-II102 I/O Interface Unit
307
Installation
Section 5-2
5-2-8 Inner Board Installation
Always turn the power off before installing or removing the Inner Board.
Installing or removing the Inner Board with the power on can cause the CPU
Unit to malfunction, damage internal components, or cause communications errors.
Before installing the Inner Board, be sure to first touch a grounded metallic object, such as a metal water pipe, in order to discharge any static build-up.
1,2,3...
CPU Unit
Inner Board
(such as a Serial
Communications
Board)
1.
Press the catches at the top and bottom of the Inner Board compartment cover and pull the cover forward.
Press the top catch.
Press the bottom catch.
2.
Remove the Inner Board compartment cover.
308
Wiring
Section 5-3
3.
Align the Inner Board with the groove and slide it into the compartment.
5-3 Wiring
5-3-1 Power Supply Wiring
AC Power Supply Units
Voltage selector terminals
When 220 V AC power (200 to 240 V AC) is being supplied, be sure to remove the jumper bar that shorts the voltage selector terminals. The Unit will be damaged if 220 V AC is supplied with the jumper bar connected.
220 V AC power Voltage selector terminals
220 V AC power
Not connected
(OPEN)
Unit will be damaged if connected.
CORRECT INCORRECT!
(Unit will be damaged.)
Note If 110 V AC power is supplied but the jumper bar has been removed to select
220 V AC, the Unit will not operate because the power supply voltage will be below the 85% minimum level.
• 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 matter from entering the Unit during wiring procedures.
309
Wiring
C200HW-PA204 or C200HW-PA204S Power Supply Unit
Screws (3.5 mm head with self-raising pressure plate)
Section 5-3
1:1 isolation transformer
Voltage selector (C200HW-PA204S only):
Closed for 110 V AC
Open for 220 V AC*
AC power source
100 to 200 V AC
24-V DC output
Note The 24-V DC service power supply is provided on the C200HW-PA204S only.
Note To prevent damage, be sure that the jumper bar on the voltage selector terminals has been removed before applying 220 V AC power.
C200HW-PA204R or C200HW-PA209R Power Supply Unit
Screws (3.5 mm head with self-raising pressure plate)
1:1 isolation transformer
Voltage selector (C200HW-PA209R only):
Closed for 110 V AC
Open for 220 V AC 1
AC power source
100 to 200 V AC
RUN
OUTPUT
Power supply
RUN output 2
ON when the PLC is in RUN or MONITOR mode.
OFF when the PLC is in PROGRAM mode or a fatal error has occurred.
310
Wiring
Section 5-3
C200HW-PA204C Power Supply Unit
PA204C
3.5-mm self-rising screws
L2 /N
100 t o
240 VAC
INPUT
L1
L
NC
NC
ALARM
OUTPUT
30 VDC, 50 mA
NORMAL: ON
ALARM: OFF
24 V DC power supply
1:1 isolation transformer
AC power source
100 to 240 V AC
Alarm output (replacement notification output)
ON: Power Supply Unit replacement not required for at least 6 months.
OFF: Power Supply Unit replacement required within 6 months.
!Caution Be careful when connecting personal computers or other peripheral devices to a PLC to which is mounted a non-insulated Unit (CS1W-CLK12/15(-V1),
CS1W-CLK13/53, or CS1W-ETN01) connected to an external power supply.
A short-circuit will be created if the 24 V side of the external power supply is grounded and the 0 V side of the peripheral device is grounded. When connecting a peripheral device to this type of PLC, either ground the 0 V side of the external power supply or do not ground the external power supply at all.
External power supply
24 V
Non-insulated
DC power supply
Incorrect
Peripheral cable
Shield
0 V 0 V
SG
FG
AC Power Source
Note
Non-insulated Unit
FG
CPU Unit
GR
FG Peripheral device
(e.g., personal computer)
FG
1.
To prevent damage, be sure that the jumper bar on the voltage selector terminals has been removed before applying 220 V AC power.
2.
If a Power Supply Unit without a RUN output is being used, an output that acts as a RUN output can be created by programming the Always ON Flag
(A1) as the execution condition for an output from an Output Unit.
• Supply 100 to 120 V AC or 200 to 240 V AC.
• The C200HW-PA204/PA204R/PA204C supplies 100 to 240 V AC (allowable voltage fluctuation range: 85 to 264 V AC). The C200HW-PA204/
PA204R/PA204C has a wide-range supply voltage (100 to 240 V AC), so voltage selector terminals are not provided.
311
Wiring
Section 5-3
• Keep voltage fluctuations within the specified range:
Power Supply Unit model
Supply voltage
C200HW-204S/PA209R 100 to 120 V AC
C200HW-PA204/
PA204R/PA204C
200 to 240 V AC
100 to 240 V AC
Allowable voltage fluctuations
85 to 132 V AC
170 to 264 V AC
85 to 264 V AC
Voltage Selector
Isolation Transformer
Power Consumption
24-V DC Output
(C200HW-PA204S Only)
• The terminal block indicator L2/N-L1 may appear as L1/N-L2 in some
Units, but the function of the terminals is the same.
• If one power supply phase of the equipment is grounded, connect the grounded phase side to the L2/N (or L1/N if so indicated) terminal.
Shorted: 100 to 120 V AC
Open: 200 to 240 V AC
Short-circuit the voltage selector terminals with the jumper bar to select 100 to
120 V AC supply voltage. For 200 to 240 V AC leave them open.
Note The Power Supply Unit will be damaged if 200 to 240 V AC power is supplied and the voltage selector terminals are connected with the jumper bar.
The PLC’s internal noise isolation circuits are sufficient to control typical noise in power supply lines, but noise between the PLC and ground can be significantly reduced by connecting a 1-to-1 isolation transformer. Do not ground the secondary coil of the transformer.
The power consumption will be 120 VA max. per Rack, but there will be a surge current of at least 5 times the max. current when power is turned ON.
Use these terminals as the power supply for 24-V DC Input Units. Never externally short these terminals; PLC operation will stop if these terminals are shorted.
Although the 24-V DC output can supply up to 0.8 A, the combined power consumption for both 5 V DC and 24 V DC must be 30 W or less, i.e., the capacity of the 24-V DC output will be reduced if the Units mounted to the
Rack consume a lot of current. Refer to Appendix C Unit Current and Power
Consumption for the power consumption of each Unit.
The output voltage of the 24-V DC output will vary with the current consumption of the load as shown in the following table. Be sure to check the current consumption and allowable voltage ranges of the devices connected before using these terminals.
Load current on 24-V DC output Less than 0.3 A 0.3 A or higher
Accuracy of 24-V DC output for lot
No. 0197 or later
+17%
–11%
+10%
–11%
Accuracy of 24-V DC output for lot
No. 3187 or earlier
+10%
–20%
Note Lot numbers are as shown in the following diagram.
0 1 9 7
1997 (Rightmost digit of year)
September (Month: 1 to 9 = Jan. to Sept, X/Y/Z = Oct/Nov/Dec)
01 (Day: 01 to 31)
312
Wiring
Section 5-3
We recommend connecting a dummy load as shown in the following diagram if the maximum operating voltage of the connected device is 26.4 V (24 V
+10%).
I
L
Dummy load
R
L
Connected device
(Photoelectric
Switch, Sensor Input Unit, etc.
24 V DC
OUTPUT
R=
24
0.3 – l
L
240
when I
L
Ω
= 0.1 A
L
= 0.2 A
Not necessary when I
L
(I
L
= 0.3 A
: Total current of connected devices)
Power rating of the dummy load (with a safety factor of 5):
W = (0.3 – l
L
)
30 W (120
Ω) when I
15 W (240
Ω) when I
L
L
= 0.1 A
= 0.2 A
Note Since the dummy load will generate heat, be careful not to allow any combustible materials to come in contact with the resistor.
Alarm Output (C200HW-PA204C Only)
Connect the alarm output to a PLC's Input Unit or external LED indicator to enable notification when Power Supply Unit replacement is required.
ON: Power Supply Unit replacement not required for at least 6 months.
OFF: Power Supply Unit replacement required within 6 months.
Output Specifications:
Transistor open-collector output
30 VDC max., 50 mA max.
ON: Residual voltage of 2 V max., OFF: Leakage current of 0.1 mA max.
PLC Input Unit Wiring Example
Connect the positive terminals of the 24-V DC power supply to the Input Unit common (COM) terminals.
313
Wiring
Section 5-3
IN Unit
CS1W-ID2**
C200H-ID2** CPU Unit C200HW-PA204C
PA204C
IN0
IN(N)
IN (N+ 1)
COM
24 V DC power supply
L2 /N
100 t o
240
VAC
IN PUT
L1
L
NC
NC
ALA RM
OUTPUT
30 V D C, 50 mA
N ORM ALON
ALARM OFF
IN(N)
IN (N+ 1)
COM
24 V DC power supply
Connect the negative terminal of the 24-V DC power supply to the Input Unit common (COM) terminal.
IN Unit
CS1W-ID2**
C200H-ID2** CPU Unit C200HW-PA204C
PA204C
IN0
L2 /N
100 t o
240 V AC
IN PUT
L1
L
− NC
− NC
ALA RM
OUTPUT
30 VDC,50 mA
NORMAL: OFF
ALARM: OFF
External Display Device Connection Example
The alarm output (replacement notification output) is an NC contact. Therefore, wire the alarm output using an NC contact or other means to turn ON an error indicator or LED display as shown in the following diagram.
C200HW-PA204C
PA204C
Power supply
L2 /N
100 to
240 VAC
IN PUT
L1
L
NC
NC
ALA RM
OU TPU T
30VD C, 50 mA
NORM AL: ON
ALARM: OFF
24 VDC power supply
Relay
(NC contact)
OL
Note 1.
The OL display will also light if the PLC's power supply fails.
2.
Separate the alarm output cables from power lines and high-voltage lines.
314
Wiring
RUN Output
(C200HW-PA204R/209R)
Section 5-3
3.
Do not apply a voltage or connect a load to the alarm output that exceeds the rated voltage or load.
This output is ON whenever the CPU Unit is operating in RUN or MONITOR mode; it is OFF when the CPU Unit is in PROGRAM mode or a fatal error has occurred.
The RUN output can be used to control external systems, such as in an emergency stop circuit that turns off the power supply to external systems when the PLC is not operating. (See
5-1 Fail-safe Circuits for more details on the
emergency stop circuit.)
C200HW-PA204R
SPST-NO
C200HW-PA209R
SPST-NO Contact form
Maximum switching capacity
250 V AC: 2 A for resistive loads
0.5 A for inductive loads
24 V DC: 2 A
240 V AC:2 A for resistive loads
120 V AC:0.5 A for inductive loads
24 V DC: 2 A for resistive loads
2 A for inductive loads
Wiring
Terminal screws
Recommended wire size
Recommended tightening torque
M3.5 self-rising screws
AWG 20 to 14 (0.517 to 2.08 mm
2
)
0.8 N·m
Recommended crimp terminals
Note
7 mm max.
7 mm max.
Manufacturer
JST Mfg.
Models Shape
V1.25-YS3A Y-shaped terminal with sleeve
V1.25-M3(RAV1.25-3.5) Round terminal with sleeve
V2-YS3A Y-shaped terminal with sleeve
V2-M3(RAV2-3.5) Round terminal with sleeve
Applicable wire range
(stranded wire)
0.25 to 1.65 mm
2
(AWG
22 to 16)
1.04 to 2.63 mm
2
(AWG
16 to 14)
1.
Use crimp terminals for wiring.
2.
Do not connect bare stranded wires directly to the terminals.
20 mm max.
M3.5 self-raising terminals
Torque to 0.8 N·m
!Caution Tighten the AC power supply terminal block screws to the torque of 0.8 N·m.
Loose screws may result in short-circuit, malfunction, or fire.
Note 1.
Supply power to all of the Power Supply Units from the same source.
315
Wiring
DC Power Supplies
Section 5-3
2.
Be sure to check the setting of the voltage selector before supplying power.
3.
Do not forget to remove the label from the top of the Power Supply Unit after wiring the Unit. The label will block air circulation needed for cooling.
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 matter from entering the Unit during wiring procedures. (Remove the label after wiring has been completed to allow air circulation needed for cooling.)
C200HW-PD024/025 Power Supply Unit
Screw (3.5 mm head with self-raising pressure plate)
DC power source
DC Power Source
Power Supply Capacity
Wiring
Supply 24 V DC.
Keep voltage fluctuations within the specified range (19.2 to
28.8 V DC).
The maximum power consumption is 40 W per Rack for C200HW-PD024 and
60 W per Rack for C200HW-PD025, but there will be a surge current of about
5 times that level when the power is turned on.
Terminal screws
Recommended wire size
Recommended tightening torque
M3.5 self-rising screws
AWG 20 to 14 (0.517 to 2.08 mm
2
)
0.8 N·m
Recommended crimp terminals
7 mm max.
7 mm max.
Manufacturer
JST Mfg.
Models Shape
V1.25-YS3A Y-shaped terminal with sleeve
V1.25-M3(RAV1.25-3.5) Round terminal with sleeve
V2-YS3A Y-shaped terminal with sleeve
V2-M3(RAV2-3.5) Round terminal with sleeve
Applicable wire range
(stranded wire)
0.25 to 1.65 mm
22 to 16)
2
(AWG
1.04 to 2.63 mm
2
(AWG
16 to 14)
316
Wiring
Grounding
Note
Section 5-3
1.
Use crimp terminals for wiring.
2.
Do not connect bare stranded wires directly to the terminals.
3.
Wire the power supply with the correct polarity. Supply power to all of the
Power Supply Units from the same source.
4.
Remove the label after the completion of wiring to ensure proper heat dissipation. Leaving the label attached may result in malfunction.
The diagram below shows the location of the ground and line ground terminals.
AC100V-120V/
AC2100-240V/
INPUT
100-200
CLOSE
200-240
OPEN
DC24V/0.8A
OUTPUT
LG (Noise-filter neutral terminal)
Ground this terminal to less than 100 Ω to improve noise resistance and prevent electric shock.
GR (Ground terminal)
Ground this terminal to less than 100 Ω to prevent electric shock.
• To help prevent electrical shock, ground the ground terminal (GR: ) with a ground resistance of less than 100 Ω using a 14-gauge wire (minimum cross-sectional area of 2 mm
2
).
• The line ground terminal (LG: ) is a noise-filtered neutral terminal. If noise is a significant source of errors or electrical shocks are a problem, connect the line ground terminal to the ground terminal and ground both with a ground resistance of less than 100 Ω.
• The ground wire should not be more than 20 m long.
• The following grounding configurations are acceptable.
• The CS-series Backplanes are designed to be mounted so that they are isolated (separated) from the mounting surface to protect them from the effects of noise in the installation environment (e.g., the control panel).
(C200HX/HG/HE and C200H Backplanes are mounted directly to the mounting surface. If Expansion I/O is being affected by control panel or other environmental noise, use the C200HW-ATT @@ or C200H-ATT@@
Backplane Insulation Plates to isolate the Backplanes.
Note Make sure that the C200HW-PA204C is wired correctly. The C200HW-
PA204C terminals are wired differently from other Power Supply Units.
• Do not share the PLC’s ground with other equipment, such as motors and inverters, or ground the PLC to the metal structure of a building. The configuration shown in the following diagram may worsen operation.
317
Wiring
CS-series PLC Other equipment
Section 5-3
CS-series PLC
Ground
(100 or less)
Ground
(100 or less)
Other equipment
CS-series PLC
Ground
(100 or less)
Ground
(100 or less)
Other equipment
(e.g., motors and inverters)
!Caution Tighten the AC power supply terminal block screws to the torque of 0.8 N·m.
Loose screws may result in short-circuit, malfunction, or fire.
Grounding Long-distance Expansion Racks
A difference in potential will occur between remote ground points if more than one point is grounded on the CPU Rack and Long-distance Expansion Racks in a CS1 Long-distance Expansion System. This is caused by high-frequency noise from power lines, potential and phase differences between power lines, and other factors. To prevent noise from entering on the GR (ground) terminal as a result of a difference in potential, wire the system as shown below.
• Connect all of the GR terminals on the Racks and ground them at one point only to 100 Ω or less.
• Short the LR terminals to the GR terminals.
• Use a ground wire of 2 mm
2
min.
• Insert 1:1 isolating transformers into the power supply lines and do not ground the secondary sides of the transformers.
318
Wiring
Section 5-3
Recommended Wiring
IC101
CPU Rack
CPU
L2
L1
LG
GR
1:1 Isolating transformer
I102
Expansion Rack
L2
L1
LG
GR
1:1 Isolating transformer
Match to the I/O
Expansion Cable.
I/O Expansion Cable
Control panel Control panel
IC101
CPU L2
L1
LG
GR
Wiring Susceptible to Noise
I102
Expansion Rack
L2
L1
LG
GR
Noise source
CPU Rack
I/O Expansion Cable
Control panel
Grounded to building
Control panel
Wiring Communications Lines
When using communications from one or more Rack in the system, ground the entire system so that only one point is grounded. (Refer to user documentation for the devices connected.) For detailed connection methods, refer to the Operation Manual for the Communications Unit.
Recommended Wiring
Control panel
IC101
CPU Rack
Control panel
II102
Expansion Rack
GR GR
I/O Expansion Cable
GR
Wiring Susceptible to Noise
Control panel
IC101
CPU Rack
GR
Control panel
II102
Expansion Rack
GR
I/O Expansion Cable
GR
Noise source
319
Wiring
Wiring
Section 5-3
Terminal screws
Recommended wire size
Recommended tightening torque
M3.5 self-rising screws
AWG 14 min. (2 mm
2
min.)
0.8 N·m
Recommended crimp terminals
7 mm max.
7 mm max.
Note
Manufacturer
JST Mfg.
Models
V2-YS3A
V2-M3(RAV2-3.5)
Shape
Y-shaped terminal with sleeve
Round terminal with sleeve
Applicable wire range
(stranded wire)
1.04 to 2.63 mm
2
(AWG
16 to 14)
1.
Use crimp terminals for wiring.
2.
Do not connect bare stranded wires directly to the terminals.
5-3-2 Wiring CS-series and C200H Basic I/O Units
I/O Unit Specifications
Electric Wires
Double-check the specifications for the I/O Units. In particular, do not apply a voltage that exceeds the input voltage for Input Units or the maximum switching capacity for Output Units. Doing so may result in breakdown, damage, or fire.
When the power supply has positive and negative terminals, be sure to wire them correctly.
The following wire gauges are recommended.
Terminal Block Connector
10-terminal
19-terminal/20-terminal
Wire Size
AWG 22 to 18 (0.32 to 0.82 mm
2
)
AWG 22 (0.32 mm
2
)
Note The current capacity of electric wire depends on factors such as the ambient temperature and insulation thickness as well as the gauge of the conductor.
Wiring
Terminal screws
Recommended wire size
Recommended tightening torque
M3.5 self-rising screws
AWG 22 to 18 (0.326 to 0.823 mm
2
)
0.8 N·m
Recommended crimp terminals
1. C200H Basic I/O Units with 10-terminal or 19-terminal Terminal Blocks
7 mm max.
7 mm max.
320
Wiring
Section 5-3
2. CS-series Basic I/O Units with 20-terminal Terminal Blocks
6.5 mm max.
7 mm max.
Note
Manufacturer
JST Mfg.
Models Shape
V1.25-YS3A Y-shaped terminal with sleeve
V1.25-M3(RAV1.25-3.5) Round terminal with sleeve
Applicable wire range
(stranded wire)
0.25 to 1.65 mm
2
(AWG
22 to 16)
1.
Use crimp terminals for wiring.
2.
Do not connect bare stranded wires directly to the terminals.
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 matter from entering the Unit during wiring procedures. (Remove the label after wiring has been completed to allow air circulation needed for cooling.)
During wiring After wiring
Remove the label.
Terminal Blocks
• Wire the Units so that they can be easily replaced. In addition, make sure that the I/O indicators are not covered by the wiring.
• Do not place the wiring for I/O Units in the same duct or raceway as power lines. Inductive noise can cause errors in operation.
• Tighten the terminal screws to the torque of 0.8 N·m.
• The terminals have screws with 3.5-mm diameter heads and self-raising pressure plates. Connect the lead wires to the terminals as shown below.
A
Screw (3.5 mm screw with self-raising pressure plate)
Terminal block
A
The I/O Units are equipped with removable terminal blocks. The lead wires do not have to be removed from the terminal block to remove it from an I/O Unit.
The terminal block on a C200H Basic I/O Units can be removed by pressing the terminal block locks. The terminal block on a CS-series Basic I/O Units can be removed by taking out the terminal block mounting screws.
321
Wiring
Section 5-3
Terminal block locks
Terminal block mounting screws
(black screws under cover)
I/O Unit Covers
C200H Basic I/O Units
CS1-series Basic I/O Units
(including Interrupt Input
Units and High-speed Input
Units)
The C200H-COV11 Cover is available to cover the terminal block on Units with 10-terminal terminal block connectors. These Covers can be purchased separately if extra protection is required.
Attach
Remove
C200H-COV11
I/O Unit cover
5-3-3 Wiring CS-series and C200H I/O Units with Connectors
This section describes wiring for the following Units:
• C200H Group-2 High-density I/O Units
• CS-series Basic I/O Units with Connectors (32-, 64-, and 96-point Units)
• C200H High-density I/O Units (Special I/O Units)
C200H High-density I/O Units and CS-series Basic I/O Units with connectors use special connectors to connector to external I/O devices. The user can combine a special connector with cable or use a preassembled OMRON cable to connect a High-density I/O Unit to a terminal block or Relay Terminal.
The available OMRON cables are described later in this section.
CS-series Basic I/O Units with connectors have the same connector pin allocations as the C200H High-density I/O Units to make them compatible.
• Be sure not to apply a voltage that exceeds the input voltage for Input
Units or the maximum switching capacity for Output Units.
• When the power supply has positive and negative terminals, be sure to wire them correctly. Loads connected to Output Units may malfunction if the polarity is reversed.
• Use reinforced insulation or double insulation on the DC power supply connected to DC I/O Units when required by EC Directives (low voltage).
• When connecting the connector to the I/O Unit, tighten the connector screws to a torque of 0.2 N·m.
322
Wiring
Section 5-3
• Turn ON the power after checking the connector’s wiring. Do not pull the cable. Doing so will damage the cable.
• Bending the cable too sharply can damage or break wiring in the cable.
Available Connectors
C200H Group-2 Highdensity I/O Units and CSseries Basic 32- and 64point I/O Units
Use the following connectors when assembling a connector and cable.
The following connectors are recommended for attachment to C200H Group-
2 High-density I/O Units and CS-series 32- and 64-point I/O Units.
Connection
Solder-type
(included with Unit)
Crimp-type
Crimp-type
Pins
40
40
40
OMRON set
C500-CE404
C500-CE405
C500-CE403
Fujitsu parts
Socket: FCN-361J040-AU
Connector bar: FCN-360C040-J2
Socket: FCN-363J040
Connector bar: FCN-360C040-J2
Contacts: FCN-363J-AU
FCN-367J040-AU/F
CS-series 96-point Basic
I/O Units
Note Solder-type connectors are included with each Unit.
The following connectors are recommended for attachment to CS-series 96point I/O Units.
Connection
Solder-type
(included with Unit)
Crimp-type
Crimp-type
Pins
56
56
56
OMRON set Fujitsu parts
CS1W-CE561 Socket: FCN-361J056-AU
Connector bar: FCN-360C056-J2
CS1W-CE562 Socket: FCN-363J056
Connector bar: FCN-360C056-J2
Contacts: FCN-363J-AU
CS1W-CE563 FCN-367J056-AU/F
C200H High-density I/O
Units
Note Solder-type connectors are included with each Unit.
The following connectors are recommended for attachment to C200H Highdensity I/O Units.
Connection
Solder-type
(included with Unit)
Crimp-type
Crimp-type
Pins
24
24
24
OMRON set
C500-CE241
C500-CE242
C500-CE243
Fujitsu parts
Socket: FCN-361J024-AU
Connector bar: FCN-360C024-J2
Socket: FCN-363J024
Connector bar: FCN-360C024-J2
Contacts: FCN-363J-AU
FCN-367J024-AU/F
Note Solder-type connectors are included with each Unit.
Wire
We recommend using cable with wire gauges of AWG 24 to AWG 28
(0.2 mm
2
to 0.08 mm
2
). Use cable with external wire diameters of 1.61 mm max.
Wiring Procedure
1,2,3...
The wiring procedure is the same for the C200H Group-2 High-density I/O
Units, CS-series High-density I/O Units, and C200H High-density I/O Units
(C200H Special I/O Units).
1.
Check that each Unit is installed securely.
Note Do not force the cables.
2.
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 matter
323
Wiring
Section 5-3
from entering the Unit during wiring. (Remove the label after wiring has been completed to allow air circulation needed for cooling.)
Before wiring After wiring
Remove label after wiring
ID215
CH
RUN
0 1 2 3
CN1
4 5 6 7 CAUTION
8 9 10 11
12 13 14 15
0 1 2 3
4 5 6 7
CN2
8 9 10 11
12 13 14 15
MACINE
NO.
CN1
CN2
B A A B
12
1
1
12
ID215
RUN
0 1 2 3
CN1
8 9 10 11
0 1 2 3
CN2
8 9 10 11
CH
4 5 6 7
12 13 14 15
4 5 6 7
12 13 14 15
MACINE
NO.
CN1
CN2
B A A B
12
1
1
12
3.
When solder-type connectors are being used, be sure not to accidentally short adjacent terminals. Cover the solder joint with heat-shrink tubing.
Solder-type connector included with Unit.
Heat-shrink tubing
Wire (0.2 to 0.13 mm
2
)
Note Double-check to make sure that the Output Unit’s power supply leads haven’t been reversed. If the leads are reversed, the Unit’s internal fuse will blow and the Unit will not operate.
324
Wiring
Section 5-3
4.
Assemble the connector (included or purchased separately) as shown in the following diagram.
Small screws (3)
Connector bar
Socket
Nuts (3)
5.
Insert the wired connector.
Small screws (2)
Cable-securing bracket
Nuts (2)
Connector-attaching screws
High-density I/O Unit
Connector
High-density I/O Unit
Connector
6.
Remove the protective label after wiring has been completed to allow air circulation needed for cooling.
After wiring
Remove label after wiring.
Tighten the connector-attaching screws to a torque of 0.2 N·m.
325
Wiring
Section 5-3
Preassembled Cables
C200H Group-2 Highdensity I/O Units
The following examples show applications for preassembled OMRON Cables.
Contact your OMRON dealer for more details.
The following cables are compatible with C200H Group-2 High-density I/O
Units.
1,2,3...
1.
Connecting to a terminal block.
C200H Group-2 High-density I/O Unit
C200H-ID216/218 (32 input points)
C200H-ID217/219 (64 input points)*
C200H-OD218/21B (32 output points)
C200H-OD219 (64 output points)*
*(Two sets needed for 64-point Units.)
C200H Group-2 High-density Input Unit
C200H-ID216 (32 input points)
C200H-ID217 (64 input points)*
*(Two sets needed for 64-point Unit.)
XW2Z-@@@B Connecting Cable for Connector-Terminal Block
Conversion Unit
XW2Z-@@@D Connecting Cable for Connector-Terminal Block
Conversion Unit
16 inputs
Connector-Terminal Block
Conversion Unit with Flat Cable
XW2B-40G5 (M3.5 terminal screws)
XW2B-40G4 (M2.5 terminal screws)
16 inputs
Connector-Terminal Block
Conversion Unit (common-type)
XW2C-20G5-IN16
2.
Connecting to a Relay Terminal.
C200H Group-2 High-density I/O Unit
C200H-ID216/218 (32 input points)
C200H-ID217/219 (64 input points)
C200H Group-2 High-density I/O Unit
C200H-OD218/OD21B (32 output points)
C200H-OD219 (64 output points)
G79-I@C-@ Connecting Cable for Relay Terminals
(For I/O Units with PLC32/64point connectors.)
G79-I@16 Input Relay Terminals
G79-O@C-@ Connecting Cable for Relay Terminals
(For I/O Units with PLC32/64-point connectors.)
G7TC-OC16, G70D-@O@16,
G70A-ZOC16-3
Output Relay Terminals
G70D-@O16-1 (OD21B only)
G70A-ZOC16-1 (OD21B only)
326
Wiring
Section 5-3
CS-series Basic I/O Units with Connectors
The following cables are compatible with CS-series High-density I/O Units.
1,2,3...
1.
Connecting to a terminal block. (Two of the following Cables and Conversion Units are required.)
CS1 Basic I/O Unit
CS1W-ID291 (96 input points)
CS1W-OD291 (96 output points)
CS1W-OD292 (96 output points)
CS1W-MD291 (48 inputs, 48 outputs)
CS1W-MD292 (48 inputs, 48 outputs)
CS1 Basic I/O Unit
CS1W-ID291 (96 input points)
CS1W-OD291 (96 output points)
CS1W-OD292 (96 output points)
CS1W-MD291 (48 inputs, 48 outputs)
CS1W-MD292 (48 inputs, 48 outputs)
2 required
XW2Z-@@@H-1 Connecting
Cable for Connector-Terminal
Block Conversion Unit
2 required
Connector-Terminal Block
Conversion Unit with Flat Cable
XW2B-60G4 or XW2B-60G5
CS1 Basic I/O Unit
CS1W-ID291 (96 input points)
CS1W-OD291 (96 output points)
CS1W-OD292 (96 output points)
CS1W-MD291 (48 inputs, 48 outputs)
CS1W-MD292 (48 inputs, 48 outputs)
2 required
XW2Z-@@@H-2 Connecting
Cable for Connector-Terminal
Block Conversion Unit
Connector-Terminal Block Conversion
Unit with Flat Cable
XW2B-40G4 or XW2B-40G5
Connector-Terminal Block Conversion
Unit with Flat Cable
XW2B-20G4 or XW2B-20G5
XW2Z-@@@H-3 Connecting
Cable for Connector-Terminal
Block Conversion Unit
Connector-Terminal Block Conversion Unit with Flat Cable
XW2B-20G5 or XW2B-20G4
CS1 Basic I/O Unit
CS1W-ID231
CS1W-ID261
CS1W-OD231
CS1W-OD232
CS1W-OD261
CS1W-OD262
CS1W-MD261
CS1W-MD262
Connecting Cable
XW2Z-@@@B
XW2Z-@@@D
Connector-Terminal Block
Conversion Unit
XW2B-40G4, XW2B-40G5, or
XW2C-20GB-IN16 (Connectable to Input Unit only.)
327
Wiring
Section 5-3
2.
Connecting to a Relay Terminal. (Two of the following Cables and Relay
Terminals are required.)
CS1 Basic I/O Unit
CS1W-ID291 (96 input points)
CS1W-OD291 (96 output points)
CS1W-OD292 (96 output points)
CS1W-MD291 (48 inputs, 48 outputs)
CS1W-MD292 (48 inputs, 48 outputs)
CS1 Basic I/O Unit
CS1W-ID231
CS1W-ID261
CS1W-MD261 (inputs)
CS1W-OD291
CS1W-OD261
CS1W-MD261 (outputs)
CS1W-OD292
CS1W-OD262
CS1W-MD262 (outputs)
#1
#2
#3
G79-@@@C-@@@-@@@
Connecting Cable for Relay Terminals
2 required
Connecting Cable
#1: G79-I@C-@
G7TC-I@16 Input Relay Terminals or
G7TC-OC16 Output Relay Terminals
(CS1W-OD291/MD291)
G7TC-OC16-1 Output Relay Terminals
(CS1W-OD292/MD292)
#1: G7TC-I@16
#2: G7TC-OC16
G70D-@O@16
G70A-ZOC16-3 and relays
#3: G70D-@O@16-1
G70A-ZOC16-4
C200H High-density I/O
Units
1,2,3...
The following cables are compatible with C200H High-density I/O Units (a kind of C200H Special I/O Unit).
1.
Connecting to a terminal block.
C200H High-density Input Unit
C200H-ID215 (32 input points)
C200H-ID501 (32 input points)
C200H-OD215 (32 output points)
C200H-OD501 (32 output points)
C200H-MD215 (16 inputs/16 outputs)
C200H-MD115 (16 inputs/16 outputs)
C200H-MD501 (16 inputs/16 outputs)
XW2Z-@@@A Connecting Cable for Connector-
Terminal Block Conversion Unit
(For I/O Units with PLC32-point connectors.)
Connector-Terminal Block Conversion Unit
XW2B-20G4/20G5/20G5-D (all 16 points)
XW2B-40G5-T (32-point twin connector)
OR
Connector-Terminal Block Conversion Unit
XW2C-20G5-IN16 (16 input points, common-type)
328
Wiring
Section 5-3
2.
Connecting to a Relay Terminal.
C200H High-density I/O Unit
C200H-ID215 (32 input points)
C200H-ID501 (32 input points)
C200H High-density I/O Unit
C200H-OD215 (32 output points)
C200H-OD501 (32 output points)
C200H-MD215 (16 inputs/16 outputs)
G79-@C Connecting Cable for Relay Terminals
(For I/O Units with
PC32/64-point connectors.)
G79-@C Connecting Cable for Relay Terminals
(For I/O Units with
PC32/64-point connectors.)
G79-I@16
Input Relay Terminal
G7TC-OC@@
G70D, G70A
Output Relay Terminal
5-3-4 Connecting I/O Devices
Input Devices
DC Input Units
Use the following information for reference when selecting or connecting input devices.
The following types of DC input devices can be connected.
Contact output
IN DC Input Unit
COM
Two-wire DC output
Sensor
Power
Supply
+
IN DC Input Unit
COM
NPN open-collector output
+
Sensor
Power
Supply
Output
7 mA
0 V
IN DC Input Unit
COM
329
Wiring
AC Input Units
Section 5-3
NPN current output
+
Current regulator
Output
7 mA
0 V
Sensor
Power
Supply
IN DC Input Unit
COM
PNP current output
+
Output
Sensor
Power
Supply
7 mA
0 V
IN AC/DC Input Unit
COM
Voltage current output
+
Output
COM
IN DC Input Unit
0 V Sensor
Power
Supply
The circuit below should NOT be used for I/O devices having a voltage output.
Voltage output
+
Sensor
Power
Supply
Output
IN DC Input Unit
0 V
COM
The following types of AC input devices can be connected.
Contact output
IN AC Input Unit
COM
AC Switching
Proximity switch main circuit
IN AC Input Unit
COM
330
Wiring
Section 5-3
Note When using a reed switch as the input contact for an AC Input Unit, use a switch with an allowable current of 1 A or greater. If Reed switches with smaller allowable currents are used, the contacts may fuse due to surge currents.
Precautions when
Connecting a Two-wire DC
Sensor
When using a two-wire sensor with a 12-V DC or 24-V DC input device, check that the following conditions have been met. Failure to meet these conditions may result in operating errors.
1,2,3...
1.
Relation between voltage when the PLC is ON and the sensor residual voltage:
V
ON
≤ V
CC
– V
R
2.
Relation between voltage when the PLC is ON and sensor control output
(load current):
I
OUT
(min) ≤ I
ON
≤ I
OUT
(max.)
I
ON
= (V
CC
– V
R
– 1.5 [PLC internal residual voltage])/R
IN
When I
ON
is smaller than I
OUT
(min), connect a bleeder resistor R. The bleeder resistor constant can be calculated as follows:
R ≤ (V
CC
– V
R
)/(I
OUT
(min.) – I
ON
)
Power W ≥ (V
CC
– V
R
)
2
/R × 4 [allowable margin]
Note The residual voltage in the PLC is 4.0 V for the following Units:
C200H-ID211/ID212/IM211/IM212/INT01
The residual voltage is 1.5 V for all other Units.
3.
Relation between current when the PLC is OFF and sensor leakage current:
I
OFF
≥ I leak
If I leak
is larger than I
OFF
, connect a breeder resistor. The breeder resistor constant can be calculated as follows:
R ≤ R
IN
× V
OFF
/(I leak
× R
IN
– V
OFF
)
Power W ≥ (V
CC
– V
R
)
2
/R × 4 [allowable margin]
DC Input Unit
Two-wire sensor
V
R
R
R
IN
V
CC
V
CC voltage
V
ON
: PLC ON voltage
I
I
ON
: PLC ON current
OFF
: PLC OFF current
R
IN
: PLC input impedance
V
R
: Sensor output residual current
I
I
OUT leak
: Sensor control current (load current)
: Sensor leakage current
4.
Precautions on Sensor Surge Current
An incorrect input may occur if a sensor is turned ON after the PLC has started up to the point where inputs are possible. Determine the time required for sensor operation to stabilize after the sensor is turned ON and take appropriate measures, such as inserting into the program a timer delay after turning ON the sensor.
331
Wiring
Section 5-3
Example
In this example, the sensor’s power supply voltage is used as the input to
CIO 000000 and a 100-ms timer delay (the time required for an OMRON
Proximity Sensor to stabilize) is created in the program. After the Completion Flag for the timer turns ON, the sensor input on CIO 000001 will cause output bit CIO 000100 to turn ON.
000000
TIM
0000
#0001
TIM0000 000001
000100
Output Wiring Precautions
Output Short-circuit
Protection
If a load connected to the output terminals is short-circuited, output components and the and printed circuit boards may be damaged. To guard against this, incorporate a fuse in the external circuit. Use a fuse with a capacity of about twice the rated output.
Transistor Output
Residual Voltage
Output Leakage Current
A TTL circuit cannot be connected directly to a transistor output because of the transistor’s residual voltage. It is necessary to connect a pull-up resistor and a CMOS IC between the two.
If a Triac Output Unit is used to drive a low-current load, the leakage current may prevent the output device from turning OFF. To prevent this, connect a bleeder resistor in parallel with the load as shown in the following diagram.
PLC
OUT
L
R
Bleeder resistor
COM
Load power supply
Use the following formula to determine the resistance and rating for the bleeder resistor.
R <
V
ON
I
V
ON
: ON voltage of the load (V)
I: Leakage current (mA)
R: Bleeder resistance (K Ω)
Output Surge Current When connecting a transistor or triac output to an output device having a high surge current (such as an incandescent lamp), steps must be taken to avoid damage to the transistor or triac. Use either of the following methods to reduce the surge current.
Method 1
Add a resistor that draws about 1/3 of the current consumed by the bulb.
OUT L
+
R
COM
332
Wiring
Section 5-3
Method 2
Add a control resistor as shown in the following diagram.
R
OUT L
+
COM
5-3-5 Reducing Electrical Noise
I/O Signal Wiring Whenever possible, place I/O signal lines and power lines in separate ducts or raceways both inside and outside of the control panel.
1 = I/O cables
2 = Power cables
Inductive Loads
Suspended duct In-floor duct Conduits
If the I/O wiring and power wiring must be routed in the same duct, use shielded cable and connect the shield to the GR terminal to reduce noise.
When an inductive load is connected to an I/O Unit, connect a surge suppressor or diode in parallel with the load as shown below.
IN
L Diode DC input
COM
OUT
L
Relay output or triac output Surge suppressor
COM
OUT
L
Relay output or transistor output
Diode
+
COM
Note Use surge suppressors and diodes with the following specifications.
Surge suppressor specifications
Resistor: 50 Ω
Capacitor: 0.47 µF
Voltage: 200 V
Diode specifications
Breakdown voltage: 3 times load voltage min.
Mean rectification current: 1 A
333
Wiring
External Wiring
Section 5-3
Observe the following precautions for external wiring.
• When multi-conductor signal cable is being used, avoid combining I/O wires and other control wires in the same cable.
• If wiring racks are parallel, allow at least 300 mm (12 inches) between the racks.
Low-current cables
PLC I/O wiring
Control cables
300 mm min.
PLC power supply and general control circuit wiring
300 mm min.
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 I/O wiring
PLC power supply and general control wiring Power lines
Steel sheet metal
200 mm min.
Ground to 100
Ω or less
334
SECTION 6
DIP Switch Settings
This section describes the settings of the DIP switch and how they affect operation.
335
DIP Switch Settings
Section 6-1
6-1 DIP Switch Settings
There are two kinds of initial settings for a CS-series PLC: hardware settings and software settings. Hardware settings are made with the CPU Unit’s DIP switch and software settings are made in the PLC Setup (using a Programming Device).
The DIP switch can be reached by opening the battery compartment cover on the front of the CPU Unit.
Note Always touch a grounded piece of metal to discharge any static electricity from your body before touching the DIP switch. Otherwise, the PLC may malfunction due to static discharge.
1
Pin
2
3
4
5
6
Function
Write-protection for user program memory (UM)
(See note 1.)
Automatic transfer of the program at start-up
CS1 CPU Unit:
Programming
Console language
ON
OFF
ON
OFF
ON
OFF
Setting
Yes
No
English
Other
Description
Write-protected User program memory is write-protected when
Read/write this pin is ON. Turn ON to prevent the program from being changed accidentally.
The program (AUTOEXEC.OBJ) and PLC
Setup (AUTOEXEC.STD) will be transferred from the Memory Card to the CPU Unit automatically at start-up when this pin is ON. (See note 4.)
A PLC’s software (program and PLC Setup) can be completely initialized just by inserting a new Memory Card and turning on the power.
This can be used to switch the system to a new arrangement very quickly.
Note When pin 7 is ON, reading from the
Memory Card for easy backup is given priority; even if pin 2 is ON, the program will not be automatically transferred.
Programming Console messages are displayed in English when this pin is ON. Turn OFF to display messages in the language stored in system ROM.
CS1-H CPU Unit Not used.
Peripheral port communications parameters
ON
RS-232C port communications parameters
User-defined pin
OFF
(default)
ON
OFF
(default)
ON
OFF
(default)
Use parameters set in the PLC
Setup.
Auto-detect Programming
Device
(See note 2.)
Auto-detect Programming
Device
(See note 3.)
Use parameters set in the PLC
Setup.
A39512 ON
A39512 OFF
• Leave this pin OFF when using a Programming Console or CX-Programmer (peripheral bus setting) connected to the peripheral port.
• Turn this pin ON when the peripheral port is being used for a device other than a Programming Console or CX-Programmer
(peripheral bus setting).
• Leave this pin OFF when the RS-232C port is being used for a device other CX-Programmer (peripheral bus setting) such as a
Programmable Terminal or host computer.
• Turn this pin ON when using CX-Programmer (peripheral bus setting) connected to the
RS-232C port.
The ON/OFF status of this pin is reflected in
A39512. Use this function when you want to create an Always-ON or Always-OFF condition in the program without using an Input Unit.
336
DIP Switch Settings
Section 6-1
7
Pin Function
Easy backup setting
8 Not used
ON
OFF
(default)
OFF
(default)
Setting
Writing from the
CPU Unit to the
Memory Card
Restoring from the Memory
Card to the CPU
Unit.
Verifying contents of
Memory Card.
Always OFF.
Description
Press and hold the Memory Card Power Supply
Switch for three seconds.
To read from the Memory Card to the CPU Unit, turn ON the PLC power.
This operation is given priority over automatic transfer (pin 2 is ON) when power is ON. (See note 5.)
Press and hold the Memory Card Power Supply
Switch for three seconds.
Note 1.
The following data is write-protected when pin 1 is ON: the user program and all data in the parameter area such as the PLC Setup and registered
I/O table. Furthermore when pin 1 is ON, the user program and parameter area won’t be cleared even when the memory clear operation is performed from a Programming Device.
2.
The auto-detect goes through baud rates in the following order: Programming Console → Peripheral bus at 9,600 bps, 19,200 bps, 38,400 bps, and
115,200 bps. Programming Devices that aren’t in peripheral bus mode and devices in peripheral bus mode operating at 51,200 bps will not be detected.
3.
The auto-detect operation goes through baud rates in the following order:
Peripheral bus at 9,600 bps, 19,200 bps, 38,400 bps, and 115,200 bps.
Programming Devices that aren’t in peripheral bus mode and devices in peripheral bus mode operating at any other speeds will not be detected.
4.
When pin 2 is ON and the power is turned ON, any I/O Memory file (AU-
TOEXEC.IOM, ATEXEC @@.IOM) (prefer to the CS/CJ Series Program-
ming Manual) will also be transferred automatically. Both the program
(AUTOEXEC.OBJ) and the parameter area (AUTOEXEC.STD) must exist in the Memory Card. I/O Memory files (AUTOEXEC.IOM, ATEX-
EC @@.IOM) are optional.
5.
After reading data from the Memory Card to the CPU Unit with the simple backup operation, the CPU Unit will remain in PROGRAM mode and cannot be changed to MONITOR or RUN mode until the power supply has been cycled. After completing the backup operation, turn OFF the power supply to the CPU Unit, change the settings of pin 7, and then turn the power supply back ON.
DIP switch
Pin
4 settings
PLC Setup settings
Peripheral port settings
Default NT Link Peripheral bus
Host Link Serial
Gateway
OFF Programming Console or CX-Programmer in Peripheral
Bus Mode
(Auto-detect connected device’s baud rate)
ON Host computer or CX-
Programmer in host link mode
OMRON
PT (NT
Link)
CX-Programmer in
Peripheral
Bus Mode
Host computer or
CX-Programmer in host link mode
OMRON component
(Compo-
Way/F)
337
DIP Switch Settings
Section 6-1
DIP switch
Pin
5 settings
PLC Setup settings
Peripheral port settings
OFF
Default
Host computer or CX-
Programmer in host link mode
NT Link
OMRON
PT (NT
Link)
Noprotocol
Standard external device
Peripheral bus
CX-Programmer in
Peripheral
Bus Mode
ON CX-Programmer in Peripheral Bus Mode
(Auto-detect connected device’s baud rate)
Host Link Serial
Gateway
Host computer or
CX-Programmer in host link mode
OMRON component
(Compo-
Way/F)
Note Use the following settings for the network on the CX-Programmer and pin 4 on the DIP switch when connecting the CX-Programmer via the peripheral or RS-
232C port.
CX-Programmer network setting
Toolbus (peripheral bus)
SYSMAC WAY (Host Link)
Peripheral port connections
Turn OFF pin 4.
Turn ON bit 4.
RS-232C port connection
Turn ON pin 5.
PLC Setup
None
Turn OFF pin 5.
Set to Host Link.
When CX-Programmer is set to host link mode, it won’t be possible to communicate (go online) in the following cases:
• The computer is connected to the CPU Unit’s peripheral port and pin 4 is
OFF.
• The computer is connected to the CPU Unit’s RS-232C port and pin 5 is
ON.
To go online, set CX-Programmer to peripheral bus mode, turn pin 4 ON (turn pin 5 OFF for the RS-232C port), and set the communications mode to host link mode in the PLC Setup.
338
SECTION 7
PLC Setup
This section describes the settings in the PLC Setup and how they are used to control CPU Unit operation.
7-1-1 Overview of the PLC Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7-1-2 PLC Setup Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
339
PLC Setup
Section 7-1
7-1 PLC Setup
7-1-1 Overview of the PLC Setup
The PLC Setup contains basic CPU Unit software settings that the user can change to customize PLC operation. These settings can be changed from a
Programming Console or other Programming Device. The various settings for the CPU Unit are made in the PLC Setup.
The following table lists cases in which the PLC Setup must be changed. In other cases, the PLC can be operated with the default settings.
Note To read or set parameters in the PLC Setup, use the version of CX-Programmer that corresponds to the parameters.
For example, with CX-Programmer Ver.3.
@,when the PLC Setup is uploaded from a PLC that was used to set the PLC Setup for CPU Unit Ver. 2.0 or higher only, the PLC Setup that was set cannot be downloaded again. (The following screen will be displayed.) Use the CX-Programmer Ver. 4.0 in this case.
Scheduled Interrupt Time Units
Interval
Scheduled interrupt task
Cases when settings must be changed
The input response time settings for Basic I/O Units must be changed in the following cases:
• Chattering or noise occur in CS-series Basic I/O Units.
• Short pulse inputs are being received for intervals longer than the cycle time.
Data in all regions of I/O Memory (including the CIO Area, Work Areas,
Timer Flags and PVs, Task Flags, Index Registers, and Data Registers) must be retained when the PLC’s power is turned on.
The status of bits force-set or force-reset from a Programming Device
(including Programming Consoles) must be retained when the PLC’s power is turned on.
• You do not want the operating mode to be determined by the Programming Console’s mode switch setting at startup.
• You want the PLC to go into RUN mode or MONITOR mode and start operating immediately after startup.
• You want the operating mode to be other than PROGRAM mode when the power is turned ON.
Setting(s) to be changed
Basic I/O Unit Input Response Time
IOM Hold Bit Status at Startup
Forced Status Hold Bit Status at Startup
Startup Mode
Disabling detection of low-battery errors when it is not required.
Detecting interrupt-task errors is not required.
Data files are required but a Memory Card cannot be used or the files are written frequently. (Part of the EM Area will be used as file memory.)
The peripheral port will not be used with the Programming Console or CX-
Programmer (peripheral bus) communications speed auto-detection and will not used the default host link communications settings such as 9,600 bps.
Note Pin 4 of the DIP switch on the front of the CPU Unit must be OFF to change the PLC Setup settings.
Detect Low Battery
Detect Interrupt Task Error
EM File Memory
Peripheral Port Settings
340
PLC Setup
Section 7-1
Cases when settings must be changed
The RS-232C port will not be used with the Programming Console or CX-
Programmer (peripheral bus) communications speed auto-detection and will not use the default host link communications settings such as 9,600 bps.
Note Pin 5 of the DIP switch on the front of the CPU Unit must be OFF to change the PLC Setup settings.
Setting(s) to be changed
RS-232C Port Settings
You want to speed up communications with a PT via an NT Link.
Set the peripheral port or the RS-232C port communications port baud rate to “highspeed NT Link.”
Scheduled Interrupt Time Units You want the intervals for scheduled interrupts to be set in units of 1 ms rather than 10 ms.
You want CPU Unit operation to be stopped for instruction errors, i.e., when the ER Flag or AER Flag is turned ON. (You want instruction errors to be fatal errors.)
You want to find the instructions where instruction errors are occurring
(where the ER Flag is turning ON.
You want a minimum cycle time setting to create a consistent I/O refresh cycle.
You want to set a maximum cycle time other than 1 second (10 ms to
40,000 ms).
You want to delay peripheral servicing so that it is executed over several cycles.
Instruction Error Operation
Minimum Cycle Time
Watch Cycle Time
Fixed Peripheral Servicing Time
You want to give priority to servicing peripherals over program execution.
Here, “peripherals” include CPU Bus Units, Special I/O Units, Inner Boards, the built-in RS-232C port, and the peripheral port.
Peripheral Servicing Priority Mode
A power OFF interrupt task will be used.
You want to extend the detection of a power interruption to 10 to 20 ms.
You want to shorten the average cycle time when a lot of Special I/O Units are being used.
You want to extend the I/O refreshing interval for Special I/O Units.
You want to improve both program execution and peripheral servicing response.
You do not want to record user-defined errors for FAL(006) and FPD(269) in the error log.
You want to reduce fluctuation in the cycle time caused by text string processing
You do not want to wait for Units and Boards to complete startup processing to start CPU Unit operation.
Power OFF Interrupt Task
Power OFF Detection Delay Time
Special I/O Unit Cyclic Refreshing
CPU Processing Mode (CS1-H CPU Units only)
FAL Error Log Registration (CS1-H CPU
Units only)
Background Execution for Table Data, Text
String, and Data Shift Instructions (CS1-H
CPU Units only)
Startup Condition (CS1-H CPU Units only)
341
PLC Setup
Section 7-1
7-1-2 PLC Setup Settings
The Programming Console addresses given in this section are used to access and change settings in the PLC Setup when using a Programming Console or the Programming Console function of an NS-series Programming Terminal.
The PLC Setup is stored in the Parameter Area, which can be accessed only from a Programming Device. Addresses in the Parameter Area cannot be used as instruction operands in the same way as addresses in the I/O Memory Area.
Startup Operation Settings (CX-Programmer’s Startup Tab Page)
7-1-2-1 Startup Tab Page
Startup Hold Settings
Forced Status Hold Bit
Programming
Console address
Word Bit(s)
+80 14
Settings
0: Cleared
1: Retained
Default: 0
Function Related flags and words
New setting’s effectiveness
Takes effect at startup
This setting determines whether or not the status of the Forced Status Hold Bit
(A50013) is retained at startup.
When you want all of the bits that have been force-set or force-reset to retain their forced status when the power is turned on, turn ON the Forced Status Hold Bit and set this setting to 1 (ON).
A50013
(Forced Status Hold Bit)
IOM Hold Bit
Programming
Console address
Word Bit(s)
+80 15
Settings
0: Cleared
1: Retained
Default: 0
Function
This setting determines whether or not the status of the IOM Hold Bit (A50012) is retained at startup.
When you want all of the data in I/O Memory to be retained when the power is turned on, turn ON the IOM Hold Bit and set this setting to 1 (ON).
Related flags and words
New setting’s effectiveness
A50012 (IOM
Hold Bit)
Takes effect at startup
342
PLC Setup
Section 7-1
Mode Setting
Programming
Console address
Word Bit(s)
+81 ---
Settings Function
Use programming console
(PRCN):
Programming Console’s mode switch
Program: PROGRAM mode
Monitor: MONITOR mode
Run: RUN mode
Default: Program
This setting determines whether the
Startup Mode will be the mode set on the Programming Console’s mode switch or the mode set here in the PLC Setup.
If this setting is PRCN and a Programming Console isn’t connected, startup mode will depend on the CPU Unit being used.
CS1 CPU Unit: PROGRAM mode
CS1-H CPU Unit: RUN mode
Related flags and words
---
New setting’s effectiveness
Takes effect at startup
Execution Settings
Startup Condition (CS1-H CPU Units Only)
Programming
Console address
Word Bit(s)
+83 15
Settings Function
0: Wait for Units and
Boards.
1: Don’t wait.
Default: 0
To start the CPU Unit in MONITOR or PRO-
GRAM mode even if there is one or more
Boards or Units that has not completed startup processing, set this setting to 1 (Don’t wait for Units and Boards). (The operation for Inner Boards, however, also depends on the next setting.)
To wait for all Units and Boards to finish startup processing, set this setting to 0 (Wait for
Units and Boards).
---
Related flags and words
New setting’s effectiveness
Takes effect at startup
Note This setting applies only to specific Units and Boards.
Specific Units
This setting applies to the ITNC-EIS01-CST and ITNC-EIX01-CST Open Network Controller-CS1 Bus Interface Units.
Specific Boards
There are currently no Inner Boards that are applicable as of July 2006.
Inner Board Setting (CS1-H CPU Units Only)
Programming
Console address
Word Bit(s)
+84 15
Settings
0: Wait for Boards.
1: Don’t wait.
Default: 0
Function
To start the CPU Unit in MONITOR or PRO-
GRAM mode even if there is one or more of
Boards that has not completed startup processing, set this setting to 1 (Don’t wait for
Boards).
To wait for all Boards to finish startup processing, set this setting to 0 (Wait for Boards).
This setting is valid only if the Startup Condition is set to 1 (Don’t wait for Units and
Boards).
Related flags and words
---
New setting’s effectiveness
Takes effect at startup
Note There are currently no Inner Boards that are applicable as “Specific Boards” as of July 2006.
343
PLC Setup
Section 7-1
7-1-2-2 CPU Unit Settings (CPU Settings Tab Page on the CX-Programmer)
Execute Process
Detect Low Battery
Programming
Console address
Word
+128 15
Bit(s)
Settings
0: Detect
1: Do not detect
Default: 0
Function Related flags and words
New setting’s effectiveness
This setting determines whether CPU Unit battery errors are detected. If this setting is set to 0 and a battery error is detected, the
ERR/ALM indicator on the CPU Unit will flash and the Battery Error Flag (A40204) will be turned ON, but CPU Unit operation will continue.
A40204 (Battery Error
Flag)
Takes effect the next cycle
Detect Interrupt Task Error
Programming
Console address
Word Bit(s)
Settings
+128 14 0: Detect
1: Do not detect
Default: 0
Function Related flags and words
New setting’s effectiveness
Takes effect the next cycle
This setting determines whether interrupt task errors are detected. If this setting is set to 0 and an interrupt task error is detected, the ERR/ALM indicator on the CPU Unit will flash and the Interrupt Task Error Flag
(A40213) will be turned ON, but CPU Unit operation will continue.
A40213
(Interrupt
Task Error
Flag)
344
PLC Setup
Section 7-1
Stop CPU on Instruction Error (Instruction Error Operation)
Settings Programming
Console address
Word Bit(s)
+197 15 0: Continue
1: Stop
Default: 0
Function Related flags and words
This setting determines whether instruction errors (instruction processing errors (ER) and illegal access errors (AER)) are treated as non-fatal or fatal errors. When this setting is set to 1, CPU Unit operation will be stopped if the ER or AER Flags is turned
ON (even when the AER Flag is turned ON for an indirect DM/EM BCD error).
Related Flags: A29508 (Instruction Processing Error Flag)
A29509 (Indirect DM/EM BCD Error Flag)
A29510 (Illegal Access Error Flag)
A29508,
A29509,
A29510
(If this setting is set to 0, these flags won’t be turned ON even if an instruction error occurs.)
New setting’s effectiveness
At start of operation.
Don’t Register FAL to Error Log
Programming
Console address
Word Bit(s)
+129 15
Settings Function
0: Record userdefined FAL errors in error log.
1: Don’t record userdefined FAL errors in error log.
Default: 0
This setting determines if user-defined FAL errors created with FAL(006) and time monitoring for FPD(269) will be recorded in the error log (A100 to A199). Set it to 1 so prevent these errors from being recorded.
---
Related flags and words
New setting’s effectiveness
Whenever
FAL(006) is executed
(every cycle)
Note This setting does not exists in CS1 @-CPU@@ CPU Units.
Memory Allocation Settings
EM File Setting Enabled
Programming
Console address
Word Bit(s)
+136 7
Settings Function
0: None
1: EM File Memory
Enabled
Default: 0
This setting determines whether part of the
EM Area will be used for file memory.
---
Related flags and words
New setting’s effectiveness
After initialization from
Programming Device or via FINS command.
EM Start File No. (Starting Memory Starting Bank)
Programming
Console address
Word Bit(s)
+136 0 to 3
Settings
0 to 6
Default: 0
Function Related flags and words
If bit 7 (above) is set to 1, the setting here specifies the EM bank where file memory begins. The specified EM bank and all subsequent banks will be used as file memory.
This setting will be disabled if bit 7 is set to
0.
A344 (EM
File Memory
Starting
Bank)
New setting’s effectiveness
After initialization from
Programming Device or via FINS command.
345
PLC Setup
Section 7-1
Background Execution Settings
Table Data Process Instructions
Programming
Console address
Word Bit(s)
+198 15
Settings Function
0: Not executed in background
1: Executed in background
Default: 0
This setting determines if Table Data
Instructions will be processed over multiple cycle times (i.e., processed in the background).
---
Related flags and words
New setting’s effectiveness
Start of operation
String Data Process Instructions
Programming
Console address
Word Bit(s)
+198 14
Settings Function
0: Not executed in background
1: Executed in background
Default: 0
This setting determines if Text String Data
Instructions will be processed over multiple cycle times (i.e., processed in the background).
---
Related flags and words
New setting’s effectiveness
Start of operation
Note This setting does not exists in CS1 @-CPU@@ CPU Units.
Data Shift Process Instructions
Programming
Console address
Word Bit(s)
+198 13
Settings Function
0: Not executed in background
1: Executed in background
Default: 0
This setting determines if Data Shift Instructions will be processed over multiple cycle times (i.e., processed in the background).
---
Related flags and words
New setting’s effectiveness
Start of operation
Note This setting does not exists in CS1 @-CPU@@ CPU Units.
Communications Port Number for Background Execution
Programming
Console address
Word Bit(s)
+198 0 to 3
Settings Function
0 to 7: Communications ports 0 to 7
(internal logical ports)
The communications port number (internal logical port) that will be used for background execution.
---
Related flags and words
New setting’s effectiveness
Start of operation
Note This setting does not exists in CS1 @-CPU@@ CPU Units.
346
PLC Setup
Section 7-1
7-1-2-3 FB Communications Instruction Settings
(Settings for OMRON FB Library)
The following PLC Setup settings are used only when using the OMRON FB
Library.
Number of Resends
Programming
Console address
Word Bit(s)
Settings
+200 0 to 3 0 to F: 0 to 15
Default: 0
Function
Set the number of retries for sending commands when executing DeviceNet explicit messages or FINS messages within function blocks.
Related flags and words
A58000 to
A58003
New setting’s effectiveness
Start of operation
Note This setting does not exists in CS1 @-CPU@@ CPU Units.
FB Communications Instruction Response Monitoring Time
Settings Function Programming
Console address
Word Bit(s)
+201 0 to 15 0001 to FFFF (Unit:
0.1 s, 0.1 to 6553.5)
0000: 2 s
A response timeout occurs when no response is returned within the time set here for FINS commands executed within a function block.
Related flags and words
A581
New setting’s effectiveness
Start of operation
Note This setting does not exists in CS1 @-CPU@@ CPU Units.
DeviceNet Communications Instruction Response Monitoring Time
Settings Function Programming
Console address
Word Bit(s)
Related flags and words
+202 0 to 15 0001 to FFFF (Unit:
0.1 s, 0.1 to 6553.5)
0000: 2 s
A response timeout occurs when no response is returned within the time set here for explicit messages commands executed within a function block.
A582
New setting’s effectiveness
Start of operation
Note This setting does not exists in CS1 @-CPU@@ CPU Units.
Note The number of resends and response monitoring time must be set by the user in the FB communications instructions settings in the PLC Setup, particularly when using function blocks from the OMRON FB Library to execute FINS messages or DeviceNet explicit messages communications. The values set in this PLC Setup for OMRON FB Library will be automatically stored in the related Auxiliary Area words A580 to A582 and used by the function blocks from the OMRON FB Library.
347
PLC Setup
7-1-2-4 Time and Interrupt Settings (CX-Programmer Timings Tab Page)
Section 7-1
Enable Watch Cycle Time Setting
Programming
Console address
Word Bit(s)
Settings
+209 15 0: Default
1: Bits 0 to 14
Default: 0
Function Related flags and words
Set to 1 to enable the Watch Cycle Time
Setting in bits 0 to 14. Leave this setting at 0 for a maximum cycle time of 1 s.
A40108
(Cycle Time
Too Long
Flag)
New setting’s effectiveness
Takes effect at the start of operation
(Can’t be changed during operation.)
Watch Cycle Time
Programming
Console address
Word Bit(s)
+209 0 to 14
Settings
001 to FA0: 10 to
40,000 ms
(10-ms units)
Default: 001 (1 s)
Function Related flags and words
This setting is valid only when bit 15 of 209 is set to 1. The Cycle Time Too Long Flag
(A40108) will be turned ON if the cycle time exceeds this setting.
A264 and
A265
(Present
Cycle Time)
New setting’s effectiveness
Takes effect at the start of operation
(Can’t be changed during operation.)
Cycle Time (Minimum Cycle Time
)
Settings Programming
Console address
Word Bit(s)
+208 0 to 15
Function
0001 to 7D00: 1 to
32,000 ms
(1-ms units)
Default: 0000
(No minimum)
Set to 0001 to 7D00 to specify a minimum cycle time. If the cycle time is less than this setting, it will be extended until this time passes. Leave this setting at 0000 for a variable cycle time. (Can’t be changed during operation.)
This cycle time will apply to the program execution cycle when a parallel processing mode is used.
---
Related flags and words
New setting’s effectiveness
Takes effect at the start of operation
348
PLC Setup
Section 7-1
Schedule Interrupt Interval
Programming
Console address
Word Bit(s)
Settings
+195 0 to 3 0 hex: 10 ms
1 hex: 1.0 ms
Default: 0 hex
Function
Sets the time interval for the scheduled interrupt task.
---
Related flags and words
New setting’s effectiveness
Takes effect at the start of operation.
(Can’t be changed during operation.)
Power OFF Detection Time (Power OFF Detection Delay Time)
Settings Function Programming
Console address
Word Bit(s)
+225 0 to 7 00 to 0A:
0 to 10 ms
(1-ms units)
Default: 00
This setting determines how much of a delay there will be from the detection of a power interruption (approximately 10 to
25 ms after the AC power supply voltage drops below 85% of the rated value or DC power supply voltage drops below 80% of the rated value) to the confirmation of a power interruption. The default setting is 0 ms.
When the power OFF interrupt task is enabled, it will be executed when the power interruption is confirmed. If the power OFF interrupt task is disabled, the CPU will be reset and operation will be stopped.
---
Related flags and words
New setting’s effectiveness
Takes effect at startup or at the start of operation.
(Can’t be changed during operation.)
Power OFF Interrupt Disable
Programming
Console address
Word Bit(s)
Settings
+225 15 0: Disabled
1: Enabled
Default: 0
Function
When this setting is set to 1, the power OFF interrupt task will be executed when power is interrupted.
---
Related flags and words
New setting’s effectiveness
Takes effect at startup or at the start of operation.
(Can’t be changed during operation.)
349
PLC Setup
Section 7-1
7-1-2-5 Special I/O Unit Cyclic Refreshing (CX-Programmer SIOU Refresh Tab
Page)
Item
Cyclic Refreshing of Units 0 to
15
+226
Cyclic Refreshing of Units 16 to 31
+227
+228 Cyclic Refreshing of Units 32 to 47
Cyclic Refreshing of Units 48 to 63
Cyclic Refreshing of Units 64 to 79
Cyclic Refreshing of Units 80 to 95
+229
+230
+231
Programming
Console address
Word Bit(s)
Settings
0 to 15 0: Enabled
1: Disabled
Default: 0
0 to 15 0: Enabled
1: Disabled
Default: 0
0 to 15 0: Enabled
1: Disabled
Default: 0
0 to 15 0: Enabled
1: Disabled
Default: 0
0 to 15 0: Enabled
1: Disabled
Default: 0
0 to 15 0: Enabled
1: Disabled
Default: 0
Function
These settings determine whether data will be exchanged between the specified Unit and the Special I/O
Unit’s allocated words (10 words/Unit) during cyclic refreshing for Special I/O Units.
Turn ON the corresponding bit to disable cyclic refreshing when the Unit will be refreshed in an interrupt task by IORF(097), several Special I/O
Units are being used and you don’t want to extend the cycle time, or the cycle time is so short that the Special
I/O Unit’s internal processing can’t keep up.
(Special I/O Units can be refreshed from the program with IORF(097).)
Related flags and words
---
New setting’s effectiveness
Takes effect at the start of operation
Note If a Special I/O Unit is not refreshed periodically from the CPU Unit (at least every 11 seconds), a CPU Unit monitoring error will occur. (The ERH indicator and RUN indicator will be lit on the Special I/O Unit.) If cyclic I/O refreshing of a Special I/O Unit is disabled, use the IORF(097) instruction to refresh the
Unit from the user program.
350
PLC Setup
Section 7-1
7-1-2-6 Basic I/O Unit Input Response Times (Unit Settings Tab Page on the CX-
Programmer)
Item
Rack 0, Slot 0
Rack 0, Slot 1
Rack 0, Slot 2
Rack 0, Slot 3
Rack 0, Slot 4
Rack 0, Slot 5
Rack 0, Slot6
Rack 0, Slot 7
Rack 0, Slot 8
Rack 0, Slot 9
Rack 1, Slots 0 to 9
Rack 2, Slots 0 to 9
Rack 3, Slots 0 to 9
Rack 4, Slots 0 to 9
Rack 5, Slots 0 to 9
Rack 6, Slots 0 to 9
Rack 7, Slots 0 to 9
Programming
Console address
Word Bit(s)
Settings
+10
+11
0 to 7
8 to 15
0 to 7
8 to 15
+12
+13
0 to 7
8 to 15
0 to 7
8 to 15
+14 0 to 7
8 to 15
+15 to 19 See
+20 to 24
Rack 0.
+25 to 29
+30 to 34
+35 to 39
+40 to 44
+45 to 49
00: 8 ms
10: 0 ms
11: 0.5 ms
12: 1 ms
13: 2 ms
14: 4 ms
15: 8 ms
16: 16 ms
17: 32 ms
Default:
00 (8 ms)
Function
Sets the input response time
(ON response time = OFF response time) for CS-series
Basic I/O Units. The default setting is 8 ms and the setting range is 0.5 ms to 32 ms.
This value can be increased to reduce the effects of chattering and noise, or it can be reduced to allow reception of shorter input pulses.
Related flags and words
A220 to
A259:
Actual input response times for
Basic I/O
Units
New setting’s effectiveness
Takes effect at startup
351
PLC Setup
Section 7-1
7-1-2-7 Host Link (RS-232C) Port Tab Page
The following settings are valid when pin 5 on the DIP switch on the CPU Unit is ON.
Host Link Settings
Communications Settings
Programming
Console address
Word
+160 15
Bit(s)
Settings
0: Standard
1: PLC Setup (custom)
Default: 0
Function Related flags and words
When setting is read by CPU Unit
*The default settings are for 1 start bit, 7 data bits, even parity, 2 stop bits, and a baud rate of 9,600 bps.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
Mode: Communications Mode
Programming
Console address
Word Bit(s)
+160 8 to 11
Settings
00: Host link
05: Host link
Default: 0
Function Related flags and words
When setting is read by CPU Unit
This setting determines whether the RS-
232C port will operate in host link mode or another serial communications mode. (Host link can be specified with 00 or 05.)
The Peripheral bus mode is for communications with Programming Devices other than the Programming Console.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
Format: Data Bits
Programming
Console address
Word Bit(s)
+160 3
Settings
0: 7 bits
1: 8 bits
Default: 0
Function Related flags and words
When setting is read by CPU Unit
These settings are valid only when the communications mode is set to host link or noprotocol.
These settings are also valid only when the
RS-232C Port Settings Selection is set to 1:
PLC Setup.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
352
PLC Setup
Section 7-1
Format: Stop Bits
Programming
Console address
Word Bit(s)
+160 2
Settings
0: 2 bits
1: 1 bit
Default: 0
Function Related flags and words
When setting is read by CPU Unit
These settings are valid only when the communications mode is set to host link or noprotocol.
These settings are also valid only when the
RS-232C Port Settings Selection is set to 1:
PLC Setup.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
Format: Parity
Programming
Console address
Word
+160
Bit(s)
0 to 1
Settings
00: Even
01: Odd
10: None
Default: 00
Function Related flags and words
When setting is read by CPU Unit
These settings are valid only when the communications mode is set to host link or noprotocol.
These settings are also valid only when the
RS-232C Port Settings Selection is set to 1:
PLC Setup.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
Baud Rate (bps)
Programming
Console address
Word
+161
Bit(s)
0 to 7
Settings
00: 9,600 bps
01: 300 bps
02: 600 bps
03: 1,200 bps
04: 2,400 bps
05: 4,800 bps
06: 9,600 bps
07: 19,200 bps
08: 38,400 bps
09: 57,600 bps
0A: 115,200 bps
Default: 00
Function Related flags and words
When setting is read by CPU Unit
These settings are valid only when the communications mode is set to host link or noprotocol.
These settings are also valid only when the
RS-232C Port Settings Selection is set to 1:
PLC Setup.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
Unit Number (for CPU Unit in Host Link Mode)
Programming
Console address
Word
+163
Bit(s)
0 to 7
Settings
00 to 1F:
(0 to 31)
Default: 00
Function Related flags and words
When setting is read by CPU Unit
This setting determines the CPU Unit’s unit number when it is connected in a 1-to-N
(N=2 to 32) Host Link.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
353
PLC Setup
Section 7-1
NT Link Settings
Mode: Communications Mode
Programming
Console address
Word
+160
Bit(s)
8 to 11
Settings
02: 1:N NT Link
Default: 0
Function Related flags and words
When setting is read by CPU Unit
This setting determines whether the RS-
232C port will operate in host link mode or another serial communications mode.
Note Communications will not be possible with PTs set for 1:1 NT Links.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
Baud Rate (bps)
Programming
Console address
Word
+161
Bit(s)
0 to 7
Settings
00: Standard
0A: High-speed NT
Link*
Default: 00
Function Related flags and words
When setting is read by CPU Unit
* Set to 115,200 bps when setting this value from the CX-Programmer. To return to the standard setting, leave the setting set to
“PLC Setup” and set the baud rate to 9,600 bps.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
NT Link Max. (Maximum Unit Number in NT Link Mode
)
Settings Function Programming
Console address
Word
+166
Bit(s)
0 to 3 0 to 7
Default: 0
This setting determines the highest unit number of PT that can be connected to the
PLC.
Related flags and words
When setting is read by CPU Unit
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
Peripheral Bus Settings
Communications Settings
Programming
Console address
Word
+160 15
Bit(s)
Settings
0: Standard*
1: PLC Setup (custom)
Default: 0
Function
*The default settings are for a baud rate of
9,600 bps.
Related flags and words
When setting is read by CPU Unit
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
Mode: Communications Mode
Programming
Console address
Word
+160
Bit(s)
8 to 11
Settings
04: Peripheral bus
Default: 0
Function Related flags and words
When setting is read by CPU Unit
This setting determines whether the RS-
232C port will operate in host link mode or another serial communications mode. (Host link can be specified with 00 or 05.)
The Peripheral Bus mode is for communications with Programming Devices other than the Programming Console.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
354
PLC Setup
Section 7-1
Baud Rate (bps)
Programming
Console address
Word Bit(s)
+161 0 to 7
Settings
00: 9,600 bps
06: 9,600 bps
07: 19,200 bps
08: 38,400 bps
09: 57,600 bps
0A: 115,200 bps
Default: 00
No-protocol Settings
Standard/Custom Settings
Programming
Console address
Word
+160 15
Bit(s)
Settings
0: Standard
1: Custom
Default: 0
Function
Settings 00 and 06 through 0A are valid when the communications mode is set to peripheral bus.
Related flags and words
When setting is read by CPU Unit
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
Function Related flags and words
When setting is read by CPU Unit
The standard settings are as follows:
1 stop bit, 7-bit data, even parity, 2 stop bits,
9,600 bps
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Serial Communications Mode
Programming
Console address
Word
+160
Bit(s)
Settings
08 to 11 03 Hex: No-protocol
Default: 00 Hex
Function Related flags and words
When setting is read by CPU Unit
This setting determines whether the RS-
232C port will operate in no-protocol mode or another serial communications mode.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Data Length
Programming
Console address
Word Bit(s)
+160 3
Settings
0: 7-bit
1: 8-bit
Default: 0
Function Related flags and words
When setting is read by CPU Unit
This setting is valid only in no-protocol communications mode. Set the Standard/Custom setting (word 160, bit 15) to 1 to enable this setting.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Stop Bits
Programming
Console address
Word
+160 2
Bit(s)
Settings
0: 2 bits
1: 1 bit
Default: 0
Function Related flags and words
When setting is read by CPU Unit
This setting is valid only in no-protocol communications mode. Set the Standard/Custom setting (word 160, bit 15) to 1 to enable this setting.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
355
PLC Setup
Section 7-1
Parity
Programming
Console address
Word Bit(s)
+160
Settings
00 to 01 00 Hex: Even
01 Hex: Odd
10 Hex: None
Default: 00
Function Related flags and words
When setting is read by CPU Unit
This setting is valid only in no-protocol communications mode. Set the Standard/Custom setting (word 160, bit 15) to 1 to enable this setting.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Baud Rate
Programming
Console address
Word
+161
Bit(s)
Settings
00 to 07 00 Hex: 9,600 bps
01 Hex: 300 bps
02 Hex: 600 bps
03 Hex: 1,200 bps
04 Hex: 2,400 bps
05 Hex: 4,800 bps
06 Hex: 9,600 bps
07 Hex: 19,200 bps
08 Hex: 38,400 bps
09 Hex: 57,600 bps
0A Hex: 115,200 bps
Default: 00 Hex
Function Related flags and words
This setting is valid only in no-protocol communications mode. Set the Standard/Custom setting (word 160, bit 15) to 1 to enable this setting.
A61902
(RS-232C
Port Settings
Changing
Flag)
When setting is read by CPU Unit
At the next cycle.
(Also can be changed with
STUP (237).)
Send Delay
Programming
Console address
Word Bit(s)
+162
Settings Function
00 to 15 0000 to 270F Hex (0 to 99,990 ms)
When the TXD(236) instruction is executed, data will be sent from the RS-232C after the send delay set here has expired.
Unit: 10 ms
Default: 0000
Related flags and words
A61902
(RS-232C
Port Settings
Changing
Flag)
When setting is read by CPU Unit
At the next cycle.
(Also can be changed with
STUP (237).)
356
PLC Setup
Section 7-1
Start Code/End Code
Programming
Console address
Word Bit(s)
+164 8 to 15
Settings
00 to FF
Default: 00
0 to 7
+165 12
8 to 9
0 to 7
00 to FF
Default: 00
0: None
1: Code in 164
Default: 0
0: None
1: Code in 164
2: CR+LF
Default: 0
00: 256 bytes
01 to FF:
1 to 255 bytes
Default: 00
+160 8 to 11 0: Host Link
5: Host Link
Default: 0
Function Related flags and words
When setting is read by CPU Unit
Start code: Set this start code only when the start code is enabled (1) in bits 12 to 15 of
165.
End code: Set this end code only when the end code is enabled (1) in bits 8 to 11 of
165.
Start code setting:
A setting of 1 enables the start code in 164 bits 8 to 15.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
End code setting:
With a setting of 0, the amount of data being received must be specified. A setting of 1 enables the end code in bits 0 to 7 of 164. A setting of 2 enables an end code of CR+LF.
Set the data length to be sent and received with no-protocol communications. The end code and start code are not included in the data length.
Set this value only when the end code setting in bits 8 to 11 of 165 is “0: None.”
This setting can be used to change the amount of data that can be transferred at one time by TXD(236) or RXD(235). The default setting is the maximum value of 256 bytes.
Serial Gateway Settings
Communications Settings
Programming
Console address
Word
+160 15
Bit(s)
Settings
0: Default (standard)*
1: PLC Setup (custom)
Default: 0
Function
*The default settings are for a baud rate of
9,600 bps.
Related flags and words
New setting’s effectiveness
A61901
(RS-232C
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
Mode: Communications Mode
Programming
Console address
Word Bit(s)
+160 8 to 11
Settings
9: Serial Gateway
Default: 0
Function Related flags and words
New setting’s effectiveness
This setting determines whether the communications mode for the RS-232C port port.
The peripheral bus mode is used for all Programming Devices except for Programming
Consoles.
This setting determines whether the communications mode for the RS-232C port.
(Host Link can be used when specified to either 0 or 5 hex.)
A61901 (RS-
232C Port
Settings
Changing
Flag)
A61901 (RS-
232C Port
Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
357
PLC Setup
Data Bits
Programming
Console address
Word
+160 3
Bit(s)
Settings
0: 7 bits
1: 8 bits
Default: 0
Stop Bits
Programming
Console address
Word
+160 2
Bit(s)
Settings
0: 2 bits
1: 1 bit
Default: 0
Parity
Programming
Console address
Word Bit(s)
+160 0 to 1
Settings
00: Even
01: Odd
10: None
Default: 00
Baud Rate (bps)
Programming
Console address
Word
+161
Bit(s)
0 to 7
Settings
00: 9,600
01: 300
02: 600
03: 1,200
04 2,400
05: 4,800
06: 9,600
07: 19,200
08: 38,400
09: 57,600
0A: 115,200
Default: 00
Section 7-1
Function Related flags and words
New setting’s effectiveness
These settings are valid when the RS-232C
Port Settings Selection is set to 1: PLC
Setup.
A61901
(RS-232C
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
Function Related flags and words
New setting’s effectiveness
These settings are valid when the RS-232C
Port Settings Selection is set to 1: PLC
Setup.
A61901
(RS-232C
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
Function Related flags and words
New setting’s effectiveness
These setting is valid only when the communications mode is set to Host Link.
These settings are also valid only when the
RS-232C Port Settings Selection is set to 1:
PLC Setup.
A61902
(RS-232C
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
Function Related flags and words
New setting’s effectiveness
These setting is valid only when the communications mode is set to Host Link.
These settings are also valid only when the
RS-232C Port Settings Selection is set to 1:
PLC Setup.
A61902
(RS-232C
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
358
PLC Setup
Section 7-1
Response Monitoring Time
Programming
Console address
Word
+167
Bit(s)
8 to 15
Settings
00: 5 s
01 to FF: 100 to
25,500 ms (Unit:
100 ms)
Default: 00
Function Related flags and words
New setting’s effectiveness
Monitors the time from when the FINS command that has been converted into the specified protocol using Serial Gateway is sent until the response is received.
Default: 5 s; PLC Setup: 0.1 to 25.5 s
Note: If a timeout occurs, the FINS end code 0205 hex (response timeout) will be returned to the FINS source.
A61902
(RS-232C
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
7-1-2-8 Peripheral Port Tab Page
The following settings are valid when pin 4 on the DIP switch on the CPU Unit is ON.
Host Link Settings
Communications Settings
Programming
Console address
Word
+144 15
Bit(s)
Settings
0: Standard*
1: PLC Setup (Custom)
Default: 0
Function Related flags and words
When setting is read by CPU Unit
*The default settings are for 1 start bit, 7 data bits, even parity, 2 stop bits, and a baud rate of 9,600 bps.
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Mode: Communications Mode
Programming
Console address
Word
+144
Bit(s)
8 to 11
Settings
00: Host Link
05: Host link
Default: 0
Function Related flags and words
When setting is read by CPU Unit
This setting determines whether the peripheral port will operate in host link mode or another serial communications mode. (Host link can be specified with 00 or 05.)
The Peripheral Bus Mode is for communications with Programming Devices other than the Programming Console.
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
359
PLC Setup
Section 7-1
Format: Data Bits
Programming
Console address
Word
+144 3
Bit(s)
Settings
0: 7 bits
1: 8 bits
Default: 0
Function Related flags and words
When setting is read by CPU Unit
These settings are valid only when the communications mode is set to Host link.
These settings are also valid only when the
Peripheral Port Settings Selection is set to
1: PLC Setup.
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Format: Stop Bits
Programming
Console address
Word
+144 2
Bit(s)
Settings
0: 2 bits
1: 1 bit
Default: 0
Function Related flags and words
When setting is read by CPU Unit
These settings are valid only when the communications mode is set to Host link.
These settings are also valid only when the
Peripheral Port Settings Selection is set to
1: PLC Setup.
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Format: Parity
Programming
Console address
Word Bit(s)
+144 0 and 1
Settings
00: Even
01: Odd
10: None
Default: 00
Function Related flags and words
When setting is read by CPU Unit
These setting is valid only when the communications mode is set to Host link.
These settings are also valid only when the
Peripheral Port Settings Selection is set to
1: PLC Setup.
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Baud Rate (bps)
Programming
Console address
Word
+145
Bit(s)
0 to 7
Settings
00: 9,600 bps
01: 300 bps
02: 600 bps
03: 1,200 bps
04: 2,400 bps
05: 4,800 bps
06: 9,600 bps
07: 19,200 bps
08: 38,400 bps
09: 57,600 bps
0A: 115,200 bps
Default: 00
Function Related flags and words
When setting is read by CPU Unit
This setting is valid only when the communications mode is set to the Host Link mode.
These settings are also valid only when the
Peripheral Port Settings Selection is set to
1: PLC Setup.
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Unit Number (for CPU Unit in Host Link Mode
)
Settings Programming
Console address
Word
+147
Bit(s)
0 to 7 00 to 1F
(0 to 31)
Default: 00
Function Related flags and words
When setting is read by CPU Unit
This setting determines the CPU Unit’s unit number when it is connected in a 1-to-N
(N=2 to 32) Host Link.
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
360
PLC Setup
Section 7-1
NT Link Settings
Mode: Communications Mode
Programming
Console address
Word
+144
Bit(s)
8 to 11
Settings
02: 1:N NT Link
Default: 0
Function Related flags and words
When setting is read by CPU Unit
This setting determines whether the RS-
232C port will operate in host link mode or another serial communications mode.
Note Communications will not be possible with PTs set for 1:1 NT Links.
A61902
(RS-232C
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Baud Rate (bps)
Programming
Console address
Word
+145
Bit(s)
0 to 7
Settings
00: Standard
0A: High-speed NT
Link*
Default: 00
Function Related flags and words
When setting is read by CPU Unit
* Set to 115,200 bps when setting this value from the CX-Programmer.
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
NT Link Max. (Maximum Unit Number in NT Link Mode
)
Settings Function Programming
Console address
Word
+150
Bit(s)
0 to 3 0 to 7
Default: 0
This setting determines the highest unit number of PT that can be connected to the
PLC in NT Link mode.
Related flags and words
When setting is read by CPU Unit
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Peripheral Bus Settings
Communications Setting
Programming
Console address
Word
+144 15
Bit(s)
Settings
0: Default (standard)*
1: PLC Setup (custom)
Default: 0
Function
*The default settings are for a baud rate of
9,600 bps.
Related flags and words
When setting is read by CPU Unit
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Mode: Communications Mode
Programming
Console address
Word
+144
Bit(s)
8 to 11
Settings
4: Peripheral bus
Default: 0
Function Related flags and words
When setting is read by CPU Unit
This setting determines whether the communications mode for the peripheral port.
The Peripheral Bus Mode is used for all Programming Devices except for Programming
Consoles.
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
361
PLC Setup
Section 7-1
Baud Rate (bps)
Programming
Console address
Word Bit(s)
+145 0 to 7
Settings
00: 9,600 bps
06: 9,600 bps
07: 19,200 bps
08: 38,400 bps
09: 57,600 bps
0A: 115,200 bps
Default: 00
Function
The following settings are valid for the
Peripheral Bus Mode: 00 and 06 to 0A hex.
Related flags and words
When setting is read by CPU Unit
A61901
(Peripheral
Port Settings
Changing
Flag)
At the next cycle.
(Also can be changed with
STUP (237).)
Serial Gateway Settings
Communications Setting
Programming
Console address
Word
+144 15
Bit(s)
Settings
0: Default (standard)*
1: PLC Setup (custom)
Function
*The default settings are for a baud rate of
9,600 bps.
Related flags and words
New setting’s effectiveness
A61901
(Peripheral
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
Mode: Communications Mode
Programming
Console address
Word
+144
Bit(s)
8 to 11
Settings
9: Serial Gateway
Default: 0
Function Related flags and words
New setting’s effectiveness
This setting determines whether the communications mode for the peripheral port.
The peripheral bus mode is used for all Programming Devices except for Programming
Consoles.
A61901
(Peripheral
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
Format: Data Bits
Programming
Console address
Word Bit(s)
+144 3
Settings
0: 7 bits
1: 8 bits
Default: 0
Function Related flags and words
New setting’s effectiveness
These settings are valid when the Peripheral Port Settings Selection is set to 1: PLC
Setup.
A61901
(Peripheral
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
Format: Stop Bits
Programming
Console address
Word
+144 2
Bit(s)
Settings
0: 2 bits
1: 1 bit
Default: 0
Function Related flags and words
New setting’s effectiveness
These settings are valid when the Peripheral Port Settings Selection is set to 1: PLC
Setup.
A61901
(Peripheral
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
362
PLC Setup
Section 7-1
Format: Parity
Programming
Console address
Word
+144
Bit(s)
0 to 1
Settings
00: Even
01: Odd
10: None
Default: 00
Function Related flags and words
New setting’s effectiveness
These setting is valid only when the communications mode is set to Host Link.
These settings are also valid only when the
Peripheral Port Settings Selection is set to
1: PLC Setup.
A61901
(Peripheral
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
Baud Rate (bps)
Programming
Console address
Word
+145
Bit(s)
0 to 7
Settings
00: 9,600
01: 300
02: 600
03: 1,200
04 2,400
05: 4,800
06: 9,600
07: 19,200
08: 38,400
09: 57,600
0A: 115,200
Default: 00
Response Monitoring Time
Programming
Console address
Word
+151
Bit(s)
8 to 15
Settings
00: 5 s
01 to FF: 100 to
25,500 ms (Unit:
100 ms)
Default: 00
Function Related flags and words
New setting’s effectiveness
These setting is valid only when the communications mode is set to Host Link.
These settings are also valid only when the
Peripheral Port Settings Selection is set to
1: PLC Setup.
A61901
(Peripheral
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
Function Related flags and words
New setting’s effectiveness
Monitors the time from when the FINS command is converted into CompoWay/F using
Serial Gateway and sent until the response is received.
Default: 5 s; PLC Setup: 0.1 to 25.5 s
Note: If a timeout occurs, the FINS end code 0205 hex (response timeout) will be returned to the FINS source.
A61901
(Peripheral
Port Settings
Changing
Flag)
Takes effect the next cycle.
(Also can be changed with
STUP (237).)
7-1-2-9 Peripheral Service Tab Page (CPU Processing Mode Settings)
Peripheral Service Mode (Peripheral Servicing Priority Mode)
Instruction Execution Time
Programming
Console address
Word
+219
Bit(s)
08 to 15 00
Settings
05 to FF (hex)
Default: 00 (hex)
Function Related flags and words
The Peripheral Servicing Priority Mode will be used if a time slice is set for instruction execution (5 to 255 ms in 1-ms increments).
Instructions will be executed at the set time slice.
A266 and
A267
00: Disable priority servicing
05 to FF: Time slice for instruction execution
(5 to 255 ms in 1-ms increments)
When setting is read by CPU Unit
At start of operation
(Can’t be changed during operation.)
363
PLC Setup
Section 7-1
Peripheral Service Execution Time
Programming
Console address
Word Bit(s)
+219
Settings
00 to 07 00 to FF (hex)
Default: 00 (hex)
Function Related flags and words
This parameter sets the time slice for peripheral servicing (0.1 to 25.5 ms in 0.1ms increments). The specified amount of time will be used to service peripherals for each time slice.
00: Disable priority servicing
01 to FF: Time slice for peripheral servicing
(0.1 to 25.5 ms in 0.1-ms increments)
A266 and
A267
Target Units (Units for Priority Servicing
)
Programming
Console address
Word
+220
Bit(s)
+221
+222
Settings
08 to 15 00
00 to 07
10 to 1F
20 to 2F
08 to 15
E1
00 to 07
08 to 15
FC
FD
Default: 00
Function
Up to five Units can be specified for priority servicing.
00: Disable priority servicing
10 to 1F: CPU Bus Unit unit number (0 to
15) + 10 (hex)
20 to 7F: CS-series Special I/O Unit unit number (0 to 96) + 20 (hex)
FC: RS-232C port
FD: Peripheral port
---
Related flags and words
When setting is read by CPU Unit
At start of operation
(Can’t be changed during operation.)
When setting is read by CPU Unit
At start of operation
(Can’t be changed during operation.)
Sync/Async Comms (Parallel Processing Modes)
The following setting is supported only by the CS1-H CPU Units
Execution Mode (Parallel Processing Mode
)
Programming
Console address
Word Bit(s)
+219
Settings
08 to 15 00
01
02
Default: 00
Function
This parameter specifies if I/O memory access is to be included in the peripheral service processing executed in parallel with instruction execution.
00: Not specified (disable parallel processing)
01: Synchronous (Synchronous Memory
Access
02: Asynchronous (Asynchronous Memory
Access)
---
Related flags and words
When setting is read by CPU Unit
At start of operation
(Can’t be changed during operation.)
364
PLC Setup
Set Time to All Events (Fixed Peripheral Servicing Time)
Section 7-1
Enable Fixed Servicing Time
Settings Programming
Console address
Word
+218 15
Bit(s)
0: Default*
1: Bits 0 to 7
Default: 0
Function
Set to 1 to enable the fixed peripheral servicing time in bits 0 to 7.
*Default: 4% of the cycle time
---
Related flags and words
When setting is read by CPU Unit
At start of operation
(Can’t be changed during operation.)
Fixed Servicing Time
Programming
Console address
Word Bit(s)
+218 0 to 7
Settings
00 to FF:
0.0 to 25.5 ms
(0.1-ms units)
Default: 00
Function
Set the peripheral servicing time.
This setting is valid only when bit 15 of 218 is set to 1.
---
Related flags and words
When setting is read by CPU Unit
At start of operation
(Can’t be changed during operation.)
365
PLC Setup
Section 7-1
7-1-2-10 FINS Protection Tab Page (Protection Against FINS Writes Across
Networks) (CS-series CPU Unit Ver. 2.0 Only)
Enabling FINS Write Protection (Use FINS Write Protection)
Programming
Console address
Word Bit(s)
Settings Function Related flags and words
New setting’s
effectiveness
At any time +448 15 0: Disable FINS write protection
1: Enable FINS write protection
Default: 0
Enables or disables write protection for the
CPU Unit from FINS command sent over a network (i.e., all connections except for serial connections).
---
Nodes Excluded from Write Protection (Protection Releasing Addresses)
Programming
Console address
Word Bit(s)
Settings Function Related flags and words
New setting’s effectiveness
Set the nodes and networks from which FINS write operations will be enabled. The total number of nodes set to be excluded from write protection will be automatically set.
A maximum of 32 nodes can be set. If these settings are not made (i.e., if the total number of nodes is 0), write operations will be disabled for all nodes but the local node.
Note: This setting is valid only when FINS write protection has been enabled.
+449 to
480
8 to 15 0 to 127
(00 to 7F hex)
FINS command source network address --At any time
+448
0 to 7
0 to 7
1 to 255
(01 to FE hex)
Note: 255 (FF hex) can be set to include all nodes in the specified network.
0 to 32
(00 to 20 hex)
FINS command source node address
Number of nodes excluded from protection
(Automatically calculated by the CX-Programmer; do not set.)
---
---
366
Explanations of PLC Setup Settings
Section 7-2
7-2 Explanations of PLC Setup Settings
Basic I/O Unit Input Response Time
The input response time can be set for CS-series Basic I/O Units by Rack and
Slot number. Increasing this value reduces the effects of chattering and noise.
Decreasing this value allows reception of shorter input pulses, (but do not set the ON response time or OFF response time to less than the cycle time).
Pulses shorter than the input response time are not received.
Input such as a proximity switch
Input bit
Input response time Input response time
The default setting for the input response time is 8 ms and the setting range is
0 to 32 ms. When the input response time is set to 0 ms, the only delay will be the delays in the Unit’s internal elements. For information on the Unit’s internal elements, refer to Appendix A Specifications of Basic I/O Units and High-den-
sity I/O Units and check the input response time for the Unit that you are using.
The input response time settings are transferred to the CS-series Basic I/O
Units when the PLC is turned on.
When the Unit’s settings are changed, they are stored in A220 to A259 (Actual
Input Response Times for Basic I/O Units). When the settings in the PLC
Setup have been changed with the PLC in PROGRAM mode, the PLC Setup settings will differ from the actual settings in the Units. In this case, the values in A220 to A259 can be checked to see the input response times actually set in the Units.
IOM Hold Bit Status at Startup
The IOM Hold Bit (A50012) can be turned ON to retain all of the data in I/O
Memory when the CPU Unit’s operating mode is switched between PRO-
GRAM mode and RUN/MONITOR mode. When the PLC is turned on, the
IOM Hold Bit itself will be cleared (OFF) unless it is protected with this PLC
Setup setting.
If the IOM Hold Bit Status at Startup setting is ON, the status of the IOM Hold
Bit will be protected when the PLC is turned on. If this setting is ON and the
IOM Hold BIt itself is ON, all data in I/O memory will be retained when the
PLC is turned on.
Note If the backup battery fails or is disconnected, the IOM Hold Bit will be cleared whether this setting is ON or OFF.
367
Explanations of PLC Setup Settings
OFF (0): IOM Hold Bit cleared at start-up
Non-retained parts of I/O memory
Power
OFF
Power
ON
Non-retained parts of I/O memory:
Cleared
Section 7-2
Mode switch Retained
IOM Hold Bit: 1
(ON)
Power on Not retained
IOM Hold Bit: 0
(OFF)
Not retained when power is turned on.
ON (1): IOM Hold Bit protected at start-up
Non-retained parts of I/O memory
Power
OFF
Power
ON Non-retained parts of I/O memory:
Retained
Mode switch Retained
IOM Hold Bit: 1
(ON)
Power on Retained
IOM Hold Bit: 0
(OFF)
Retained when power is turned on.
Forced Status Hold Bit at Startup
The Forced Status Hold Bit (A50013) can be turned ON to retain the forced status of all bits that have been force-set or force-reset when the CPU Unit’s operating mode is switched between PROGRAM mode and RUN/MONITOR mode. When the PLC is turned on, the Forced Status Hold Bit itself will be cleared (OFF) unless it is protected with this PLC Setup setting.
If the Forced Status Hold Bit at Startup setting is ON, the status of the Forced
Status Hold Bit will be protected when the PLC is turned on. If this setting is
ON and the Forced Status Hold BIt itself is ON, all force-set and force-reset bits will retain their forced status when the PLC is turned on.
Note If the backup battery fails or is disconnected, the Forced Status Hold Bit will be cleared whether this setting is ON or OFF.
368
Explanations of PLC Setup Settings
OFF (0): Forced Status Hold Bit cleared at start-up
Forced bit status
Power
OFF
Power
ON
Forced bit status
Section 7-2
Mode switch Retained Power on Not retained
Forced Status
Hold Bit: 1 (ON)
Forced Status
Hold Bit: 0 (OFF)
ON (1): Forced Status Hold Bit protected at start-up
Not retained when power is turned
ON.
Forced bit status
Power
OFF
Power
ON Forced bit status
Mode switch Retained
Forced Status
Hold Bit: 1 (ON)
Power on Retained
Forced Status
Hold Bit: 0 (OFF)
Retained when power is turned
ON.
Startup Mode Setting
This setting determines whether the startup mode will be the mode set on the
Programming Console’s mode switch or the mode set here in the PLC Setup.
!Caution If the Startup Mode setting specifies the mode set on the Programming Console’s mode switch (0) but a Programming Console isn’t connected, a CS1
CPU Unit will automatically enter PROGRAM mode at startup, and a CS1-H
CPU Unit will automatically enter RUN mode at startup.
PRCN: Programming Console's mode switch
Mode switch setting
Power ON Power ON
RUN mode
(CS1-H CPU
Unit) or
PROGRAM mode (CS1
CPU Unit) when disconnected.
Other: PLC Setup's Startup Mode setting
PRG: PROGRAM mode
MON: MONITOR mode
RUN: RUN mode
Power ON
369
Explanations of PLC Setup Settings
Detect Low Battery
Note
Section 7-2
This setting determines whether CPU Unit battery errors are detected. Set the
PLC Setup so that battery errors are not detected when using battery-free operation. Refer to information on battery-free operation in the CS/CJ Series
Programming Manual for details.
If this setting is set to detect errors (0) and a battery error is detected, the Battery Error Flag (A40204) will be turned ON.
1.
The contents of the DM, EM, and HR Areas in the CPU Unit are not backed up to flash memory; they are backed up only by a Battery. If the Battery voltage drops, this data may be lost. Provide countermeasures in the program using the Battery Error Flag (A40204) to re-initialize data or take other actions if the Battery voltage drops.
2.
A battery error will be detected when the battery is disconnected or its voltage drops below the minimum allowed.
Backup
Disconnected or voltage too low
Battery Error Flag
(A40204) ON
Detect Interrupt Task Error
If this setting is set to detect errors (0), an interrupt task error will be detected in the following cases:
• An interrupt task is executed for more than 10 ms during I/O refreshing of a C200H Special I/O Unit or SYSMAC BUS Remote I/O.
• IORF(097) is executed in an interrupt task to refresh a Special I/O Unit’s
I/O while that Unit’s I/O is being refreshed during cyclic refreshing.
EM File Memory Settings
These settings are used to specify converting not converting part of the EM
Area to file memory.
CX-Programmer
Programming Console
With the CX-Programmer, file memory will be formatted when file memory conversion and the number of banks to be converted is specified when transferring the PLC Setup. (EM banks cannot be formatted as file memory unless they have been specified as file memory in the PLC Setup.)
Once part of the EM Area has been formatted for use as file memory, it can be converted back to normal EM Area usage by changing these PLC Setup settings back to their previous value and “un-formatting” the EM banks with a
Programming Device.
The specified EM bank and all subsequent banks will be set aside as file memory. Changing these settings using the Programming Console does not format the specified EM banks; the EM banks must be formatted with a Programming Device after changing these PLC Setup settings. When formatting the EM banks with a Programming Console, refer to 7-2 Memory Card Format in the Programming Console Operation Manual (W341).
370
Explanations of PLC Setup Settings
Section 7-2
Note 1.
The actual starting file memory bank is stored in A344 (EM File Memory
Starting Bank). When the settings in the PLC Setup have been changed but the EM Area hasn’t been formatted, the PLC Setup setting will differ from the actual file memory setting in the EM Area. In this case, the values in A344 can be checked to see the actual file memory setting.
2.
The EM Area cannot be formatted if the current EM bank is one of the banks that is being converted to file memory.
The following example shows EM banks 2 to C (12) converted to file memory.
EM Starting Bank setting: 2
EM File Memory setting: 1
(EM file memory enabled)
Bank 0
Bank 1
Bank 2
:
Bank C
Converted
EM file memory
Peripheral Port Settings
These settings are effective only when pin 4 of the DIP switch on the front of the CPU Unit is ON.
The default settings for the peripheral port are: host link mode, 1 start bit, 7 data bits, even parity, 2 stop bits, and a baud rate of 9,600 bps. Set the peripheral port settings in the PLC Setup when you need to change these settings.
Note When pin 4 of the DIP switch on the front of the CPU Unit is OFF, the CPU
Unit automatically detects the communications parameters of a connected
Programming Device (including Programming Consoles). Those automatically detected parameters are not stored in the PLC Setup.
ON
ON
Peripheral port communications settings when DIP switch pin 4 is ON:
Default settings:
Host link mode, 1 start bit, 7 data bits, even parity,
2 stop bits, and a baud rate of 9,600 bps
User-defined settings:
Set the communications mode (host link, NT Link, or peripheral bus) and other settings such as the baud rate.
371
Explanations of PLC Setup Settings
Section 7-2
RS-232C Port Settings
These settings are effective only when pin 5 of the DIP switch on the front of the CPU Unit is OFF.
The default settings for the RS-232C port are: host link mode, 1 start bit, 7 data bits, even parity, 2 stop bits, and a baud rate of 9,600 bps. Set the RS-
232C port settings in the PLC Setup when you need to change these settings.
Specify the frame format when no-protocol mode is selected.
The RS-232C port settings can also be changed with STUP(237). The RS-
232C Port Settings Changing Flag (A61902) is turned ON when STUP(237) is executed and it is turned OFF when the RS-232C port settings have been changed.
Note When pin 5 of the DIP switch on the front of the CPU Unit is ON, the CPU Unit automatically detects the communications parameters of a Programming
Device (including Programming Consoles) connected to the RS-232C port.
Those automatically detected parameters are not stored in the PLC Setup.
ON
ON
372
Note
RS-232C port communications settings when DIP switch pin 5 is OFF:
Default settings:
Host link mode, 1 start bit, 7 data bits, even parity,
2 stop bits, and a baud rate of 9,600 bps
User-defined settings:
Set the communications mode (host link, NT Link, no-protocol*, or peripheral bus) and other settings such as the baud rate.
*See notes 1 and 2 for details on no-protocol mode.
1.
A no-protocol transmission delay (address 162) can be set in no-protocol mode. The operation of this delay is shown in the following diagram.
No-protocol delay Delay
Transmission
Time
TXD(236)
2.
The following table shows the message formats that can be set for transmissions and receptions in no-protocol mode. The format is determined by the start code (ST) and end code (ED) settings. (From 1 to 256 bytes can be received in no-protocol mode.)
Explanations of PLC Setup Settings
Section 7-2
Start code setting
None
Yes
None
DATA
ST+DATA
End code setting
Yes
DATA+ED
ST+DATA+ED
CR+LF
DATA+CR+LF
ST+DATA+CR+LF
Scheduled Interrupt Time Units
This setting determines the time units for the scheduled interrupt interval settings. Set the scheduled interrupt interval from the program with MSKS(690).
Note This setting cannot be changed while the CPU Unit is in RUN or MONITOR mode.
Scheduled Interrupt Time Units
Interval
Scheduled interrupt task
Instruction Error Operation
This setting determines whether instruction execution errors are treated as non-fatal (0) or fatal errors (1). A program error will be generated as an instruction error if any of the following flags is turned ON.
Instruction error flag Address Cause
Instruction Processing Error Flag A29508 The ER Flag was turned ON.
Indirect DM/EM BCD Error Flag A29509 The contents of a DM/EM word wasn’t
BCD when BCD was required for indirect addressing.
Illegal Access Error Flag A29510 Attempted to access part of memory that is off-limits from the program.
If this setting is OFF (0), PLC operation will continue after one of these errors.
If this setting is ON (1), PLC operation will stop after one of these errors.
373
Explanations of PLC Setup Settings
Section 7-2
Minimum Cycle Time
Set the minimum cycle time to a non-zero value to eliminate inconsistencies in
I/O responses. This setting is effective only when the actual cycle time is shorter than the minimum cycle time setting. If the actual cycle time is longer than the minimum cycle time setting, the actual cycle time will remain unchanged.
Note The minimum cycle time setting cannot be changed while the CPU Unit is in
RUN or MONITOR mode. As the length of the cycle time increases, the interval for servicing Programming Devices will also increase. The may slow down the response to online operations from a Programming Device or make it difficult to establish an online connection.
Fixed cycle time
Watch Cycle Time
If the cycle time exceeds the watch (maximum) cycle time setting, the Cycle
Time Too Long Flag (A40108) will be turned ON and PLC operation will be stopped. This setting must be changed if the normal cycle time exceeds the default watch cycle time setting of 1 s.
Note The watch cycle time setting cannot be changed while the CPU Unit is in RUN or MONITOR mode.
Watch Cycle
Time Watch Cycle
Time Watch Cycle
Time
Watch
Time
Actual Cycle
Time
Actual Cycle
Time
Actual Cycle
Time
↓
OVER
Cycle Time
Too Long Flag
A40108
Note The default value for the watch cycle time is 1 s (1,000 ms).
CPU Unit operation is stopped.
Fixed Peripheral Servicing Time
This setting determines whether the peripheral servicing for the following processes is performed with the default settings (4% of the cycle time) or all together in a fixed servicing time.
Exchange data with CS-series Special I/O Units when necessary
Exchange data with CS-series CPU Bus Units when necessary
Exchange data with peripheral port
Exchange data with serial communications ports
Exchange data with Inner Board
Service file access operations (Memory Card)
374
Explanations of PLC Setup Settings
Section 7-2
Peripheral servicing is performed at the end of the cycle, just after I/O refreshing.
Power ON
Initialization
Common processes
Cycle time
Program execution
(Tasks executed in order)
I/O refreshing
Peripheral servicing
Note
The following table shows a breakdown of the peripheral servicing time.
Peripheral servicing time
Event service time for
CS-series Special I/O Units
Event service time for
CS-series CPU Bus Units
Event service time for peripheral port
Default value
4% of the previous cycle’s cycle time
Same as above.
Same as above.
Event service time for
RS-232C port
Event service time for serial communication ports
File access service time for
Memory Card
Same as above.
Same as above.
Same as above.
Setting range
Uniform servicing time in ms:
0.0 to 25.5 ms in 0.1-ms units
The default value for each servicing process is 4% of the last cycle’s cycle time.
In general, we recommend using the default value. Set a uniform servicing time only when peripheral servicing is being delayed because each service process is being spread over several cycles.
1.
When the peripheral servicing time is set to a time longer than the default value, the cycle time will also be longer.
2.
The fixed peripheral servicing time setting cannot be changed while the
CPU Unit is in RUN mode or MONITOR mode.
3.
Use the Peripheral Servicing Priority Mode to give priority to servicing peripheral over program execution. Refer to the CS/CJ Series Programming
Manual for details.
375
Explanations of PLC Setup Settings
Section 7-2
Power OFF Interrupt Task
This setting determines whether or not a power OFF interrupt task will be executed when a power interruption is detected. (When this setting is set to 0, the regular program will just stop when a power interruption is detected.)
The power OFF interrupt task will be stopped when the power hold time (processing time after power interrupt + power OFF detection delay time) has elapsed. The maximum power hold time is 10 ms.
When a power OFF detection delay time has to be set, be sure that the power
OFF interrupt task can be executed in the available time (10 ms – power OFF detection delay time).
Note The power OFF interrupt task setting cannot be changed while the CPU Unit is in RUN mode or MONITOR mode.
Power OFF Detection
Delay Time
This setting determines how much of a delay there will be from the detection of a power interruption (approximately after the power supply voltage drops below 85% of the rated value) until a power interruption is established and the regular program is stopped. The setting can be between 0 and 10 ms.
It takes a maximum of 10 ms for the internal 5 V DC power supply to drop to
0 V DC after the initial power interrupt detection time. Extend the time until detection of a power interruption when momentary interruptions in a bad power supply are causing PLC operation to stop.
Note The power OFF detection delay time setting cannot be changed while the
CPU Unit is in RUN mode or MONITOR mode.
Power Interrupt Detection Time
AC power supply: 10 to 25 ms
(not consistent)
DC power supply: 2 to 5 ms
(not consistent)
Time
Power interrupt detection time
Power holding time (fixed: 10 ms)
Power OFF detection delay time
0 to 10 ms
Regular program
Power OFF interrupt task
(See note.)
Stop
Note The execution time for the power OFF interrupt task must be less than the maximum time available, namely: 10 ms – power OFF detection delay time.
Refer to CS/CJ Series Programming Manual for details on the power interrupt task and on CPU Unit operation when power is turned OFF.
376
Explanations of PLC Setup Settings
Section 7-2
Special I/O Unit Cyclic Refreshing
When a Special I/O Unit will be refreshed in an interrupt task by IORF(097), always disable cyclic refreshing for that Unit with this setting. The expected results will not be achieved and the Interrupt Task Error Flag (A40213) will be turned ON if IORF(097) is executed in an interrupt task during normal I/O refreshing.
Special I/O Unit CPU Unit
Special
I/O Unit
Area
These settings determine whether or not data will be exchanged with the 10 words allocated to each Special I/O Unit in the
Special I/O Unit Area during cyclic I/O refreshing.
377
Explanations of PLC Setup Settings
Section 7-2
378
SECTION 8
I/O Allocations
This section describes I/O allocations to Basic I/O Units, Special I/O Units, and CPU Bus Units, and data exchange with
CPU Bus Units.
8-1-2 Creating I/O Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-2-1 I/O Allocations to Basic I/O Units . . . . . . . . . . . . . . . . . . . . . . . . . .
8-2-2 I/O Allocations to Special I/O Units. . . . . . . . . . . . . . . . . . . . . . . . .
8-2-3 I/O Allocations to CPU Bus Units . . . . . . . . . . . . . . . . . . . . . . . . . .
8-2-4 I/O Allocations to SYSMAC BUS Slave Racks . . . . . . . . . . . . . . . .
8-5 Detailed Information on I/O Table Creation Errors . . . . . . . . . . . . . . . . . . . .
8-6 Data Exchange with CPU Bus Units. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-6-2 Disabling Special I/O Unit Cyclic Refreshing . . . . . . . . . . . . . . . . .
379
I/O Allocations
Section 8-1
8-1 I/O Allocations
In CS-series PLCs, memory must be allocated to the Units mounted in the
PLC. I/O tables containing the models and locations of all Units and the allocations made to each must be created and these I/O tables must be registered in the CPU Unit. When the power supply is turned ON to the CPU Unit, the I/O tables are compared against the mounted Units to verify their accuracy.
8-1-1 Unit Types
Memory is allocated differently to Basic I/O Units, Special I/O Units, and CSseries CPU Bus Units.
Basic I/O Units
Basic I/O Units
CS-series/C200H Basic I/O Units
00000
0123 456
7
CH
CS-series/C200H Group-2
High-density I/O Units
0123 456
7
CH
1 CH 0 2 4
10CH 1 3 5
29
1
CN1
CN2
1
B
A
A
B
29
C200H Group-2 High-density
I/O Units (See note 2.)
OD219
A
0
8
B
0
8
CH
7
15
7
15
CH1
CH2
CN1
20
CN2
1
1
B
A
A
B
20
Allocation
I/O Area
CIO 0000 to CIO 0319 (See note 1.)
(Memory is allocated in one-word units based on mounting position in the Racks.)
Note 1. The Rack's first word setting can be changed from the default setting (CIO 0000) to any word from CIO 0000 to CIO 0999.
The first word setting can be changed only with a Programming Device other than a
Programming Console.
2. The unit number setting on the front of
C200H Group-2 High-density I/O Units is ignored. Words are allocated to these Units based on their location in the Rack, just like
Basic I/O Units.
380
I/O Allocations
Special I/O Units
Special I/O Units
CS-series Special I/O Units
Allocation
Special I/O Unit Area
CIO 2000 to CIO 2959
(Each Unit is allocated ten words based on its unit number setting.)
C200H Special I/O Units
(See note 2.)
ID215
RUN
0 1 2 3
CN1
8 9 10 11
0 1 2 3
CN2
8 9 10 11
CH
4 5 6 7
12 13 14 1
5
4 5 6 7
12 13 14 15
MACINE
NO.
CN1
CN2
B A A B
12
1
1
12
CS-series CPU Bus Units
CS-series CPU Bus Units
Note 1. Although there are 96 unit number settings, a maximum of 80 Units can actually be mounted to a PLC because that is the maximum number of slots possible.
2. Some Units classified as I/O Units (namely
C200H High-density I/O Units) are actually treated as Special I/O Units.
Allocation
CPU Bus Unit Area
CIO 1500 to CIO 1899
(Each Unit is allocated 25 words based on its unit number setting.)
RDY
COMM1
COMM2
PORT1
SCB21
PORT2
Section 8-1
381
I/O Allocations
Section 8-1
8-1-2 Creating I/O Tables
There are two ways to allocate I/O memory to CS-series Units.
• Create the I/O tables online based on the Units actually mounted to the
PLC. This can be done from either the CX-Programmer or a Programming
Console. The Programming Device is connected online and then the I/O tables are created based on the Units that are mounted.
• Create the I/O tables offline without basing them directly on the mounted
Units and then transfer the I/O tables to the PLC. This is done offline on the CX-Programmer.
The word addresses, number of words, and mounting slot for each Unit are registered in the CPU Unit as I/O tables. Data is exchanged between the Units and the CPU Unit, e.g., to help prevent mistakes in mounting when replacing
Units.
Creating I/O Tables Based on Mounted Units
Connect a Programming Console or the CX-Programmer to a CPU Unit in a
PLC with all the Units mounted and create the I/O tables. In the I/O table creation operation, information on the Unit models and mounting locations are registered in the parameter area of the CPU Unit as the registered I/O tables for all Units mounted to the basic PLC system and SYSMAC BUS Remote I/O
Racks.
CX-Programmer or Programming Console
I/O table creation operation
Online Information on models and positions of mounted Units:
Registered I/O table
CPU Unit
Registered I/O tables written to parameter area in CPU Unit.
I/O Memory Allocations
When I/O memory is allocated automatically, words are automatically allocated to Units in the order they are mounted to the Racks. Words are allocated to Units from left to right starting on Rack 0 and then left to right on each
Rack through Rack 7.
In order from left to right starting with slot 00
Rack 0
In order from Rack 0 through Rack 7
Rack 1
In order from left to right starting with slot 00
382
I/O Allocations
Section 8-1
I/O Table Creation with CX-Programmer
Use the following procedure to create the I/O tables online with the CX-Programmer.
1,2,3...
1.
Double-click IO Table in the project tree in the main window. The I/O Table
Window will be displayed.
2.
Select Options - Create. The models and positions of the Units mounted to the Racks will be written to the CPU Unit as the registered I/O tables.
I/O Table Creation with a Programming Console
Use the following procedure to register the I/O table with a Programming Console.
000000 CT00
CLR
FUN SHIFT
CH
*DM
000000 I/O TBL ?
Note If the Rack first words have already been set from the CX-Programmer, “Rack 1st Word En” will be displayed on the second line (CS1-
H only).
9 7
0
1
CHG
1
000000 I/O TBL
WRIT ????
3
000000 I/O TBL
WRIT 9713
WRITE
000000CPU BU ST?
0:CLR 1:KEEP
000000 I/O TBL
WRIT OK
000000 CT00
CLR
Creating I/O Tables without Mounted Units
With the CX-Programmer, I/O tables can be created offline without mounted
Units and then transferred to the CPU Unit. The information on Unit models and mounting locations are written to the parameter area of the CPU Unit as the registered I/O tables.
I/O Table Creation with CX-Programmer
Use the following procedure to create the I/O tables offline with the CX-Programmer and then transfer them to the CPU Unit. Once the Units that are to be mounted are set for each Rack, the CX-Programmer will automatically allocate words according to Rack and slot positions starting from CIO 0000.
1,2,3...
1.
Double-click IO Table in the project tree in the main window. The I/O Table
Window will be displayed.
2.
Double-click the Rack to be edited. The slots will be displayed for the Rack.
3.
Right-click the slot to which to assign a Unit and select the Unit from the pop-up menu.
383
I/O Allocations
Section 8-1
4.
When all the desired Units have been assigned to slots, select Options -
Transfer to PLC. The I/O tables will be transferred.
With the CX-Programmer, you can also assign any desired word to an I/O Unit regardless of it’s position on the Racks.
Setting the First Word on a Rack
The first word allocated on a Rack can be set to allocate specific words to the
Units on the Rack regardless of the order in which the Rack is connected.
Words will be allocated consecutively to the Units on the Rack in the order that Units are mounted to the Rack. Refer to
Setting the First Word on Each Rack
The first word for slot 00 on the Rack is set. Words are then allocated in order to Units from left to right.
Rack 0
Rack 1
The first word for slot 00 on the Rack is set. Words are then allocated in order to Units from left to right.
Note The first words for Racks cannot be set at the same time as the first words for slots.
Setting the First Word for a Slot
The first word allocated to the Unit in any slot on any Rack can be set regardless of the order of the Rack or the position of the slot. Words are then allocated in sequence to the following Units in the order they are mounted. Refer to
8-4 Allocating First Words to Slots for details.
Setting the First Words for Specific Slots
A word is set for slot 00 on the CPU Rack for group 00.
A word is set for slot 02 on the CPU Rack for group 01.
Rack 0
Rack 1
A word is set for slot 02 on Rack 1 for group 02.
Note The first words for Racks cannot be set at the same time as the first words for slots.
384
I/O Allocation Methods
Section 8-2
Overview
Method Operation
Using actual mounted Units
Not using actual mounted Units
Perform I/O table creation online.
Edit the I/O tables offline and transfer them to CPU Unit.
Allocations
Automatic allocations according to mounting position
Automatic allocations according to mounting position
Partial manual allocation without restrictions by mounting position
Allocating Rack first words
Allocation slot first words
Rack allocation order
In order from Rack 0 to Rack 7
Slot allocation order within Rack
Left to right from slot 00
In order from Rack 0 to Rack 7
User-set
Left to right from slot 00
Left to right from slot 00
Left to right from any slot allocated a first word
Note 1.
Always create I/O tables either online or by editing them offline and transferring them to the CPU Unit. The CPU Unit will not be able to recognize
Basic I/O Units, Special I/O Units, CPU Bus Units, or Units on SYSMAC
BUS I/O Rack unless I/O tables are registered in the CPU Unit.
2.
For CS1-H CPU Unit Ver. 2.0 or later, CPU Bus Units can be used even if they are not registered in the I/O tables, this function is provided to enable online connections from Programming Devices running on personal computers (e.g., the CX-Programmer) and is not intended for normal system operation. Always register I/O tables in the CPU Unit before starting operation.
3.
The C200HX/HG/HE, C200H, and C200HS PLCs use fixed word allocations for slots, enabling operation without I/O tables. I/O tables were created only to prevent Units from being mounted to the wrong slot. With the
CS-series PLCs, the words allocated to any particular slots are not fixed.
Words are merely allocated to the Units actually mounted. If no Unit is mounted, no words are allocated. If the mounted Unit requires more than one word, the required number of words is allocated. Operation for CS-series PLCs is thus not possible unless I/O tables are registered.
8-2 I/O Allocation Methods
8-2-1 I/O Allocations to Basic I/O Units
Basic I/O Units include the following Units:
• CS-series Basic I/O Units
• C200H Basic I/O Units
• C200H Group-2 High-density I/O Units
These Units are allocated words in the I/O Area (CIO 0000 to CIO 0319) and can be mounted to the CPU Rack, CS-series Expansion Racks, and C200H
Expansion I/O Racks (See note 2).
Note 1.
Refer to
2-4 Units for list of specific Basic I/O Units.
2.
CS-series Basic I/O Units cannot be mounted to C200H Expansion I/O
Racks.
385
I/O Allocation Methods
Section 8-2
Allocation Methods
Basic I/O Units on the CPU Rack
Basic I/O Units on the CPU Rack are allocated words from left to right starting from CIO 0000 and each Unit is allocated as many words as it requires.
Note
When I/O tables are created in the order of the Racks and the order that Units are mounted, I/O words will be allocated as described below. If a Programming Console or the CX-Programmer is connected online and the I/O tables are created automatically according to the Units that are actually mounted, the CPU Unit will automatically create and register the I/O tables. If the I/O tables are created offline using the CX-Programmer, the CX-Programmer will automatically allocate words according to the Unit settings that have been made.
1.
Units that have 1 to 16 I/O points are allocated 16 bits (1 word) and Units that have 17 to 32 I/O points are allocated 32 bits (2 words).
2.
I/O words are not allocated to empty slots. To allocate words to an empty slot, change the I/O table with a Programming Device.
3.
The unit number setting on the front of C200H Group-2 High-density I/O
Units is ignored. Words are allocated to these Units based on their location on the Rack, just like Basic I/O Units.
Slot numbers 2, 3, 5, 8, and 10
CPU Rack
CIO
0000
Example 1
The following example shows the I/O allocations to 5 Basic I/O Units on the
CPU Rack.
IN
8
CIO
0000
IN
16
CIO
0001
IN
64
CIO
0002 to
0005
OUT
8
CIO
0006
OUT
32
CIO
0007 to
0008
CPU Rack
Example 2
The following example shows the I/O allocations to 4 Basic I/O Units on the
CPU Rack with one empty slot.
CPU Rack
IN
16
CIO
0000
IN
32
CIO
0001 to
0002
IN
96
CIO
0003 to
0008
Empty OUT
96
CIO
0009 to
0014
386
I/O Allocation Methods
Section 8-2
Example 3
The following example shows the I/O allocations to 5 Basic I/O Units in the
CPU Rack. Two slots are filled with Dummy Units to reserve I/O words for those slots.
CPU Rack
IN
32
CIO
0000 to
0001
OUT
8
CIO
0002
Reserved
16
CIO
0003
Reserved
32
CIO
0004 to
0005
IN
8
CIO
0006
Note Use the CX-Programmer’s I/O table change operation to reserve words for the empty slots.
Basic I/O Units on CS-series and C200H Expansion Racks
I/O allocation to Basic I/O Units continues from the CPU Rack to the Expansion Rack (CS-series Expansion Rack or C200H Expansion I/O Rack) connected to the CPU Rack. Words are allocated from left to right and each Unit is allocated as many words as it requires, just like Units in the CPU Rack.
CPU Rack
CIO
0000
CS-series Expansion Rack
Words are allocated in order beginning with the Expansion
Rack nearest the CPU Rack.
CS-series Expansion Rack
387
I/O Allocation Methods
Section 8-2
Example
The following example shows the I/O allocation to Basic I/O Units in the CPU
Rack and two CS-series Expansion Racks.
CPU Rack
IN
16
IN
32
IN
64
OUT
16
OUT
32
CIO
0000
CIO
0001 and
0002
CIO
0003 to
0006
CIO
0007
CIO
0008 and
0009
IN
16
IN
32
CIO
0010
CIO
0011 and
0012
Empty OUT
5
OUT
12
CIO
0013
CIO
0014
CS-series Expansion
Rack
IN
8
IN
16
OUT
8
Reserved
16
IN
32
CIO
0015
CIO
0016
CIO
0017
CIO
0018
CIO
0019 and
0020
CS-series Expansion
Rack
Note Use the CX-Programmer’s I/O table change operation to reserve a word for the empty slot.
Allocations to CS-series Long-distance Expansion Racks
In configurations containing CS-series Long-distance Expansion Racks, up to two series of CS-series Long-distance Expansion Racks can be included.
Words are automatically allocated to the Units mounted to the Racks in order of rack number and slot in the same way as for other configurations. The CPU
Rack is rack 0, the CS-series Expansion Rack (if there is one) is Rack 1. Rack numbers are then assigned in order to the Racks in series A of CS-series
Long-distance Expansion Racks and finally to the Racks in series B of CSseries Long-distance Expansion Racks, to a maximum rack number of 7.
Although words are automatically allocated, the first word on each Rack can be set.
Note 1.
I/O words are not allocated to the I/O Control Units or I/O Interface Units.
2.
No C200H Units of any kind can be mounted to CS-series Long-distance
Expansion Racks.
3.
CS-series CPU Bus Units should always be placed on the CPU Rack or
CS-series Expansion Rack. Although they can be placed on CS-series
Long-distance Expansion Racks, doing so is not recommended because it will increase the cycle time.
388
I/O Allocation Methods
Section 8-2
Reserving I/O Words for Expected Changes
If the system configuration will be changed at a later date, changes to the program can be minimized by reserving I/O words in advance for future Unit changes or additions. To reserve I/O words, edit the I/O table with the CX-Programmer.
I/O Table Editing Operation
1,2,3...
1.
Double-click IO Table in the project tree in the main window. The I/O Table
Window will be displayed.
2.
Right-click the slot for which a word is to be reserved and select the Dum-
my item from under the Basic I/O Unit with the correct number of I/O points.
Note 1.
Do not execute the I/O table creation operation after completing the above editing operation. The reserved word settings will be lost.
2.
The following High-density I/O Units are not Basic I/O Units, but Special I/O
Units. These Units are allocated 10 words/Unit in the Special I/O Unit Area
(CIO 2000 to CIO 2959) based on their unit number settings. Refer to 8-2-
2 I/O Allocations to Special I/O Units for more details.
Name
High-density
I/O Units
Specifications
32-point DC Input Unit
32-point TTL Input Unit
32-point Transistor Output Unit
32-point TTL Output Unit
Model
C200H-ID215
C200H-ID501
C200H-OD215
C200H-OD501
16-point TTL Input/16-point TTL Output Unit C200H-MD501
16-point DC Input/16-point Transistor Output Unit C200H-MD215
16-point DC Input/16-point Transistor Output Unit C200H-MD115
389
I/O Allocation Methods
Section 8-2
8-2-2 I/O Allocations to Special I/O Units
Note
Special I/O Units include the following Units:
• CS-series Special I/O Units
• C200H Special I/O Units
Each of these Units is allocated ten words in the Special I/O Unit Area
(CIO 2000 to CIO 2959) according the unit number set on the Unit.
Special I/O Units can be mounted to the CPU Rack, CS-series Expansion
Racks, and C200H Expansion I/O Racks (see note 2).
1.
Refer to
2-4 Units for more details on the available Special I/O Units.
2.
CS-series Special I/O Units cannot be mounted to C200H Expansion I/O
Racks.
Word Allocation The following table shows which words in the Special I/O Unit Area are allocated to each Unit according to unit number.
0
1
2
Unit number
:
15
95
:
Words allocated
CIO 2000 to CIO 2009
CIO 2010 to CIO 2019
CIO 2020 to CIO 2029
:
CIO 2150 to CIO 2159
:
CIO 2950 to CIO 2959
Example
Special I/O Units are ignored during I/O allocation to Basic I/O Units. Slots containing Special I/O Units are treated as empty slots and aren’t allocated any words in the I/O Area.
The following example shows the I/O word allocation to Basic I/O Units and
Special I/O Units in the CPU Rack.
IN
16
CIO
0000
Special
I/O
Unit
CIO
2000 to
2009
OUT
16
CIO
0001
Special
I/O
Unit
CIO
2010 to
2019
OUT
32
CIO
0002 and
0003
CPU Rack
2
3
0
1
4
Slot Unit Words required
C200H-ID212 16-point DC Input Unit
C200H-AD002 Analog Input Unit
1
10
C200H-OD21A 16-point Transistor Output Unit 1
C200H-NC211 Position Control Unit 20
C200H-OD218 32-point Transistor Output Unit 2
Words allocated Unit number
CIO 0000 ---
CIO 2000 to CIO 2009 0
CIO 0001
CIO 2010 to CIO 2029
---
1
CIO 0002 and CIO 0003 ---
Group
Basic I/O Unit
Special I/O Unit
Basic I/O Unit
Special I/O Unit
Basic I/O Unit
390
I/O Allocation Methods
Section 8-2
8-2-3 I/O Allocations to CPU Bus Units
Each CPU Bus Unit is allocated 25 words in the CPU Bus Unit Area
(CIO 1500 to CIO 1899) according the unit number set on the Unit. CPU Bus
Units can be mounted to the CPU Rack or CS-series Expansion Racks.
Word Allocations The following table shows which words in the CS-series CPU Bus Unit Area are allocated to each Unit.
0
1
2
Unit number
15
:
Words allocated
CIO 1500 to CIO 1524
CIO 1525 to CIO 1549
CIO 1550 to CIO 1574
:
CIO 1875 to CIO 1899
Example
CS-series CPU Bus Units are ignored during I/O allocation to Basic I/O Units.
Slots containing CS-series CPU Bus Units are treated as empty slots and aren’t allocated any words in the I/O Area.
The following example shows the I/O word allocation to Basic I/O Units, Special I/O Units, and CS-series CPU Bus Units in the CPU Rack.
CPU Rack
IN
16
Special
I/O
Unit
CPU
Bus
Unit
OUT
16
CPU
Bus
Unit
CIO
0000
CIO
2000 to
2009
CIO
1500 to
1521
CIO
0001
CIO
1525 to
1549
0
1
3
4
Slot
2
Unit
C200H-ID212 16-point DC Input Unit
C200H-ASC02/11/21/31 ASCII Unit
C200H-SCU21-V1 Serial Communications Unit 25
C200H-OD21A 16-point Transistor Output Unit
Words required
1
10
1
C200H-SCU21-V1 Serial Communications Unit 25
Words allocated
CIO 0000
CIO 2000 to
CIO 2009
CIO 1500 to
CIO 1524
CIO 0001
CIO 1525 to
CIO 1549
Unit number
---
0
Group
Basic I/O Unit
Special I/O Unit
0
---
1
CS-series CPU Bus
Unit
Basic I/O Unit
CS-series CPU Bus
Unit
8-2-4 I/O Allocations to SYSMAC BUS Slave Racks
Each SYSMAC BUS Remote I/O Slave Rack is allocated 10 words in the
SYSMAC BUS Area (CIO 3000 to CIO 3079) according the unit number (0 to
7) set on the Slave Unit. No words in the I/O Area are allocated to Units in
Slave Racks.
Each slot in the Slave Rack is allocated one of the Rack’s 10 words. The words are allocated from left to right. One word is allocated to every slot even if the slot is empty and the last two words allocated to each Rack are not used because the Slave Racks have only 8 slots.
The Master and Slave Units themselves do not require any words.
391
Allocating First Words to Racks
Example
Section 8-3
The following example shows the word allocation to 3 Slave Racks.
SYSMAC BUS Remote I/O
Master Unit
SYSMAC BUS Remote I/O
1 2 3 4 5 6 7 8
Remote I/O Slave Rack
19 20 21 22 23 24 25 26
Slave Unit with unit number 0
9 10 11 12 13 14 15 16 17 18
Slave Unit with unit number 2
Slave Unit with unit number 1
1
2
3
:
8
Not used.
Not used.
9
10
:
16
17
18
19
20
:
26
Not used.
Not used.
Slave Unit with unit number 0
Slave Unit with unit number 1
Slave Unit with unit number 2
CIO 3000 to CIO 3079 can be used as work words/bits when a SYSMAC BUS
System is not being used. Also, even if a SYSMAC BUS System is used, words that are not allocated in the SYSMAC BUS System, such as CIO 3030 to CIO 3079 in the above example, can be used as work bits/words.
8-3 Allocating First Words to Racks
In the CS-series PLCs, the first word allocated to each Rack can be set with the CX-Programmer’s I/O table edit operation. For example, the CPU Rack can be set to be allocated words starting with CIO 0000; the next Rack, words starting with CIO 0100; the next Rack, words starting with CIO 0200; etc. This can make it easier to check word allocations to Units without calculating all the way from the CPU Rack.
Note The first words for Racks cannot be set at the same time as the first words for slots.
Word Allocations For Racks in which the first word address has been set, words are allocated to
Units in the order that the Units are mounted (from left to right) beginning with the specified first word. Words are not allocated to empty slots.
392
Allocating First Words to Racks
Section 8-3
For Racks in which the first word address has not been set, words are allocated in rack-number order (lowest to highest) continuing from the last word allocated to the previous rack and starting with CIO 0000 on the first Rack for which the first word is not set.
Example: Setting the First Words for Racks
In this example, the first words have been set for Racks 0 (the CPU Rack), 2, and 3. For simplicity, only 16-bit Units have been used.
CPU Rack Rack number 0
First word:
CIO 0100
CIO
0100
CIO
0101
CIO
0102
CIO
0103
CIO
0104
Rack number 1
First word:
CIO 0200
CIO
0200
CIO
0201
CIO
0202
Empty
CIO
0203
CS Expansion Rack
Rack number 2
No first word setting
CIO
0000
CIO
0001
CIO
0002
CIO
0003
CIO
0004
CS Expansion Rack
Rack number 3
First word:
CIO 0300
CIO
0300
CIO
0301
CIO
0302
CIO
0303
CIO
0304
CS Expansion Rack
Rack First Word Settings
Rack
CPU Rack
Rack 1
Rack 2
Rack 3
CIO 0100
First word
CIO 0200
Not set
CIO 0300
393
Allocating First Words to Racks
Section 8-3
Note Rack numbers (0 to 7) are fixed according to the order that the Racks are physically connected with cable. The CPU Rack is always Rack 0 and the other Racks are, in order, Racks 1 to 7. These numbers cannot be changed.
In the above example, the shaded Racks are allocated words starting from the specified first words. The non-shaded Racks are allocated in order from left to right and in order of Rack starting from CIO 0000.
Setting First Rack Words from the CX-Programmer
The first word allocated on each Rack can be set from the CX-Programmer.
These settings are not possible from a Programming Console.
Note For CS1-H CPU Units, an indication of whether or not the first rack words have been set will be displayed on a Programming Console.
Use the following procedure to set the first rack words.
1,2,3...
1.
Select the Rack/Slot Start Addresses from the Option Menu on the I/O
Table Window. The following dialog box will be displayed.
2.
Select the Rack Start Addresses Settings Option and click the OK Button.
3.
In the dialog box that will appear, remove the checkmarks from the settings disabling the first rack word settings and set the address of the first words for the CPU Rack and Expansion Racks (1 to 7).
Invalid
Setting
Rack Start Address
Setting range
0 to 9000 0
Default
Selected or cleared Selected (invalid)
Remarks
Same for all Racks
4.
Click the OK Button.
Note Up to 8 Racks can be set for any CPU Unit model.
394
Allocating First Words to Slots
Section 8-4
Confirming First Rack Word Settings on a Programming Console
With a CS1-H CPU Unit, the Programming Console can be used to check whether or not the first word has been set on a Rack. Use the following procedure.
1,2,3...
1.
Press the FUN, SHIFT, and CH Keys to start the I/O table creation operation. If the first work for a Rack has been set, a message saying so will appear on the second line of the display.
FUN SHIFT
CH
*DM
000000I/O TBL ?
Rack 1st Word En
If nothing is displayed, then a first word has not been set.
2.
Press the CHG Key, enter the password (9713), and then press the
WRITE Key to continue creating the I/O tables, or press the CLR Key to cancel the operation and return to the initial display.
Precautions in Setting Rack First Words
• Be sure to make first word settings so that allocated words do not overlap.
The first word setting for a rack can be any address from CIO 0000 to
CIO 0900. If the same word is allocated to two Racks, the I/O tables cannot be created and the Duplication Error Flag (A26103) in the I/O Table
Error Information will turn ON.
• Always register the I/O table after installing an I/O Unit, after setting a rack number, or after setting the first word allocation for a Rack. The I/O Table
Registration operation registers the I/O words allocated to the Racks.
• I/O words will not be allocated to empty slots. If an I/O Unit will be installed later, reserve words for the empty slot by changing the I/O table with a Programming Device’s I/O Table Change Operation.
• If the actual system configuration is changed after registering the I/O table so that the number of words or I/O type does not match the I/O table, an
I/O verification error (A40209) or I/O setting error (A40110) will occur. A
CS-series CPU Bus Unit Setting Error (A40203) or Special I/O Unit Setting Error (A40202) may occur as well.
• When a Unit is removed, words can be reserved for the missing Unit using the I/O Table Change Operation. If a Unit is changed or added, all of the words in the program following that Unit’s allocated words will be changed and the I/O Table Registration Operation will have to be performed again.
8-4 Allocating First Words to Slots
In the CS-series PLCs, the first word allocated to a slot on any Rack can be set with the CX-Programmer’s I/O table edit operation regardless of the position of the slot. This feature can be used whenever it’s necessary to control allocations to specific Units, e.g., to group allocated I/O words by device or circuit.
The first word can be set for up to 64 slots.
Note The first words for slots cannot be set at the same time as the first words for
Racks.
Word Allocations When setting first words for slots, the first word must be set for slot 00 on the
CPU Rack. The first word can then be set for any slot on any Rack for up to 63 other slots.
395
Allocating First Words to Slots
Section 8-4
Each first word set for a slot creates a group starting with that slot. Words are allocated starting from the specified word to the first slot in the group and continuing left to right allocating consecutive words to each Unit until the next group (i.e., until the next Unit for which a first slot word is set). The next group can start on the same Rack or on a following Rack.
Example: Setting the First Words for Racks
In this example, a first slot word has been set in the middle of each Rack. For simplicity, only 16-bit Units have been used.
Rack number 0
Group 00 set for first slot word of CIO 0000
Group 01 set for first slot word of CIO 0200
0 1 2 3 4
CIO
0000
CIO
0001
CIO
0002
CIO
0100
CIO
0101
CPU Rack
Group 02 set for first slot word of CIO 0200
0 1 2 3 4
CS Expansion Rack
CIO
0102
CIO
0103
CIO
0200
Empty CIO
0201
Group 03 set for first slot word of CIO 0300
0 1 2 3 4
CS Expansion Rack
CIO
0202
CIO
0203
CIO
0300
CIO
0301
CIO
0302
00
01
02
03
First Slot Word Settings
Group Rack
CPU Rack
CPU Rack
Rack 1
Rack 2
00
03
02
02
Slot Word
CIO 0000
CIO 0100
CIO 0200
CIO 0300
Note Group 00 must start at slot 00 on the CPU Rack. Any word can be set. Any slot can be set on any Rack for groups 01 to 63.
Setting First Slot Words from the CX-Programmer
First slot words can be set from the CX-Programmer. These settings are not possible from a Programming Console.
Note For CS1-H CPU Units, an indication of whether or not the first rack words have been set will be displayed on a Programming Console.
Use the following procedure to set the first rack words.
396
Allocating First Words to Slots
1,2,3...
Section 8-4
1.
Select the Rack/Slot Start Addresses from the Option Menu on the I/O
Table Window. The following dialog box will be displayed.
2.
Select the Slot Start Addresses Settings Option and click the OK Button.
3.
In the dialog box that will appear, set the first word for slot 00 on the CPU
Rack.
4.
To change the setting from CIO 0000, click the Edit Button. The follow dialog box will appear.
5.
Set the desired word and click the OK Button.
6.
To set slot first words for other groups, click the Add Button and make the appropriate settings for the Rack, slot, and word.
Up to 64 groups can be set for the CS/CJ-series CPU Unit Ver. 2.0. Only 8 groups can be set for the CS/CJ-series CPU Unit Ver. 1.0
Setting
Group
Rack
Slot
First word
Setting range
00 to 63
CPU Rack
(“MainRack”)
Racks 1 to 7
00 to 99
0 to 999
00
0
0
Default
CPU Rack
Remarks
Groups numbers are allocated automatically in the order the groups are displayed and set.
Group 00 always starts at slot 00 on the CPU Rack.
---
397
Detailed Information on I/O Table Creation Errors
Section 8-5
Precautions in Setting First Slot Words
When the I/O tables are edited, the CX-Programmer checks for any duplications in word allocations caused by first word settings. It is conceivable, however, that duplications in word allocations could occur after the I/O tables have been registered, e.g., as the result of replacing a 1-word Unit with a 2-word
Unit. In this case the extra word needed by the new Unit would still also be allocated to the next Unit.
When the PLC is turned ON, the CPU Unit checks the registered I/O tables against the actual Units mounted to the PLC. If there are any duplications, and error will occur and it will be no longer possible to edit the I/O tables. If this happens, the I/O tables will have to be deleted and recreated or retransferred from a Programming Devices.
8-5 Detailed Information on I/O Table Creation Errors
With a CS1-H CPU Unit, the contents of A261 provides information on the
Unit causing the error whenever one occurs when creating the I/O tables from the Programming Console or CX-Programmer. This information will make it easier to find the Unit causing the problem with troubleshooting I/O tables.
Refer to
SECTION 11 Troubleshooting for actual procedures.
CPU Bus Unit Setup
Area Initialization
Error Flag
I/O Overflow Flag
Special I/O Unit Error
Flag
Name
Duplication Error Flag
I/O Bus Error Flag
SYSMAC BUS Recognition Error Flag
I/O Unconfirmed Error
Flag
Address
Word Bit
Contents
A261 00 ON: Error in CPU Bus Unit Setup
Turns OFF when I/O tables are generated normally.
When changing to RUN mode
At startup
Held
Setting timing
Cleared When I/O tables are created
02 ON: Overflow in maximum number of I/O points.
Turns OFF when I/O tables are generated normally.
03 ON: The same unit number was used more than once.
Turns OFF when I/O tables are generated normally.
04 ON: I/O bus error
Turns OFF when I/O tables are generated normally.
06 ON: SYSMAC BUS detection ended in an error.
Turns OFF when I/O tables are generated normally.
07 ON: Error in a Special I/O Unit
Turns OFF when I/O tables are generated normally.
09 ON: I/O detection has not been completed.
Turns OFF when I/O tables are generated normally.
8-6 Data Exchange with CPU Bus Units
This section describes how data can be exchanged between Special I/O Units or CS-series CPU Bus Units, and the CPU Unit.
8-6-1 Special I/O Units
Special I/O Units include C200H Special I/O Units and CS-series Special I/O
Units. Data can be exchanged between Special I/O Units and the CPU Unit through the Special I/O Unit Area, the DM Area, or FINS commands.
Special I/O Unit Area
(I/O Refreshing)
Data is exchanged each cycle during I/O refreshing of the Special I/O Unit
Area. Basically, 10 words are allocated to each Special I/O Unit based on its unit number setting. The number of words actually used by the Special I/O
Unit varies; there are models that require 2 words, 4 words, and 20 words.
398
Data Exchange with CPU Bus Units
Section 8-6
The Special I/O Unit Area ranges from CIO 2000 to CIO 2959 (10 words × 96
Units).
Special I/O Unit
CPU Unit
Special I/O Unit Area
10 words/Unit
Transferred in
I/O refreshing
Transfer of Words Allocated in DM Area
C200H Special I/O Units The 100 words allocated to each Unit are transferred from the DM Area to the
Unit when the PLC is turned on or the Unit is restarted. Some C200H Special
I/O Units do not use any of the allocated DM words and others use only a part of the allocated words.
CS-series Special I/O
Units
1,2,3...
There are three times that data may be transferred through the words allocated to each Unit. The timing of data transfers depends on the model being used.
1.
Data transferred when the PLC is turned on.
2.
Data transferred when the Unit is restarted.
3.
Data transferred when necessary.
Some models transfer data in both directions, from the DM Area to the Unit and from the Unit to the DM Area. See the Unit’s Operation Manual for details on data transfers.
Special I/O Unit Words in the DM Area: D20000 to D29599 (100 Words x 96 Units)
Each Special I/O Unit is allocated 100 words in the DM Area in the range of
D20000 to D29599 (100 words × 96 Units). These 100 words are generally used to hold initial settings for the Special I/O Unit. When the contents of this area are changed from the program to reflect a change in the system, the
Restart Bits for affected Units must be turned ON to restart the Units.
Special I/O Unit
CPU Unit
Transferred when power is turned on or the Unit is restarted.
DM Area for Special I/O Units
100 words/Unit
Transferred each cycle and when necessary.
399
Data Exchange with CPU Bus Units
FINS Commands
Section 8-6
The CMND(490) instruction can be added to the ladder program to issue a
FINS command to the Special I/O Unit.
Special I/O Unit
CPU Unit
The FINS command is transmitted when CMND(490) has been executed in the program.
FINS command transmission
FINS commands can be transmitted to Special I/O Units in other PLCs in the network, not just the local PLC.
Serial Communications
Unit
Special I/O Unit
CPU Unit
Serial Communications Unit
CPU Unit
The FINS command is transmitted when CMND(490) has been executed in the program.
FINS command transmission
Special I/O Unit Initialization
Special I/O Units are initialized when the PLC’s power is turned on or the
Unit’s Restart Bit is turned ON. The Unit’s Special I/O Unit Initialization Flag
(A33000 to A33515) will be ON while the Unit is initializing.
I/O refreshing (cyclic I/O refreshing or refreshing by IORF(097)) will not be performed for a Special I/O Unit while its Initialization Flag is ON.
8-6-2 Disabling Special I/O Unit Cyclic Refreshing
Ten words are allocated to each Special I/O Unit in the Special I/O Unit Area
(CIO 2000 to CIO 2959) based on the unit number set on the front of each
Unit. The data in the Special I/O Unit Area is refreshed in the CPU Unit every cycle during I/O refreshing (just after execution of the END(001) instruction).
I/O refreshing may take too long if too many Special I/O Units are installed. If
I/O refreshing is taking too much time, the PLC Setup can be set to disable cyclic refreshing for particular Special I/O Units. (The Special I/O Unit Cyclic
Refreshing Disable Bits are in PLC Setup addresses 226 to 231.)
If the I/O refreshing time is too short, the Unit’s internal processing will not be able to keep pace, the Special I/O Unit Error Flag (A40206) will be turned ON, and the Special I/O Unit may not operate properly. In this case, the cycle time can be extended by setting a minimum cycle time in the PLC Setup or cyclic
I/O refreshing with the Special I/O Unit can be disabled. When cyclic refreshing has been disabled, the Special I/O Unit’s data can be refreshed during program execution with IORF(097).
Note 1.
Always disable a Special I/O Unit’s cyclic refreshing if the Unit’s I/O will be refreshed in an interrupt task with IORF(097). An interrupt task error
(A40213) will occur if cyclic refreshing and IORF(097) refreshing are performed simultaneously.
2.
Whenever disabling a Special I/O Unit’s cyclic refreshing, be sure that the
I/O for that Unit is refreshed with IORF(097) in the program at least every
400
Data Exchange with CPU Bus Units
Section 8-6
11 seconds during operation. A CPU Unit service monitoring error will occur in the Special I/O Unit if it is not refreshed every 11 seconds.
8-6-3 CPU Bus Units
Data can be exchanged between CPU Bus Units and the CPU Unit through the CPU Bus Unit Area, the DM Area, or FINS commands.
CPU Bus Unit Area (I/O Refreshing)
Data is exchanged each cycle during I/O refreshing of the CPU Bus Unit Area.
Basically, 25 words are allocated to each CPU Bus Unit based on its unit number setting. The number of words actually used by the CPU Bus Unit varies.
The Special I/O Unit Area ranges from CIO 1500 to CIO 1899 (25 words × 16
Units).
CPU Bus Unit
CPU Unit
CPU Bus Unit Area
25 words/Unit
Transferred in
I/O refreshing
Note With CS1-H CPU Units, the CPU BUS I/O REFRESH instruction
(DLNK(226)) can be executed in the ladder program to refresh the
CIO Area words allocated to the CPU Bus Unit of a specified unit number.
Transfer of Words Allocated in the DM Area
Each CPU Bus Unit is allocated 100 words in the DM Area in the range of
D30000 to D31599 (100 words × 16 Units). There are three times that data may be transferred through the words allocated to each Unit. The timing of data transfers depends on the model being used.
1,2,3...
1.
Data transferred when the PLC is turned ON.
2.
Data transferred each cycle.
3.
Data transferred when necessary.
Note With CS1-H CPU Units, the CPU BUS I/O REFRESH instruction
(DLNK(226)) can be executed in the ladder program to refresh the
DM Area words allocated to the CPU Bus Unit of a specified unit number.
Some models transfer data in both directions, from the DM Area to the Unit and from the Unit to the DM Area. See the Unit’s Operation Manual for details on data transfers.
These 100 words are generally used to hold initial settings for the CPU Bus
Unit. When the contents of this area are changed from the program to reflect a change in the system, the Restart Bits (A50100 to A50115) for affected Units must be turned ON to restart the Units.
401
Data Exchange with CPU Bus Units
Transferred when power is turned on or the Unit is restarted.
Section 8-6
CPU Bus Unit
CPU Unit
DM Area for CPU Bus Units
100 words/Unit
FINS Commands
Transferred each cycle and when necessary.
The CMND(490) instruction can be added to the ladder program to issue a
FINS command to the CPU Bus Unit.
CPU Bus Unit
CPU Unit
The FINS command is transmitted when CMND(490) has been executed in the program.
FINS command transmission
FINS commands can be transmitted to CPU Bus Units in other PLCs in the network, not just the local PLC.
Serial Communications CPU Bus Unit
Unit
CPU Unit
Serial Communications Unit
CPU Unit
The FINS command is transmitted when CMND(490) has been executed in the program.
Command transmission
CPU Bus Unit Initialization
CPU Bus Units are initialized when the PLC’s power is turned on or the Unit’s
Restart Bit is turned ON. The Unit’s CPU Bus Unit Initialization Flag (A30200 to A30215) will be ON while the Unit is initializing.
Cyclic I/O refreshing will not be performed for a CPU Bus Unit while its Initialization Flag is ON.
402
SECTION 9
Memory Areas
This section describes the structure and functions of the I/O Memory Areas and Parameter Areas.
9-2-1 I/O Memory Area Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-2-2 Overview of the Data Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-2-3 Data Area Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-3 Precautions in Using C200H Special I/O Units . . . . . . . . . . . . . . . . . . . . . . .
9-21 Extended Data Memory (EM) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-27-4 CPU Bus Unit Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
403
Introduction
Section 9-1
9-1 Introduction
The CPU Unit’s memory (RAM with battery back-up) can be divided into three parts: the User Program Memory, I/O Memory Area, and Parameter Area.
This section describes the I/O Memory Area and Parameter Area.
I/O Memory Area
This region of memory contains the data areas which can be accessed by instruction operands. The data areas include the CIO Area, Work Area, Holding Area, Auxiliary Area, DM Area, EM Area, Timer Area, Counter Area, Task
Flag Area, Data Registers, Index Registers, Condition Flag Area, and Clock
Pulse Area.
I/O Memory Area
Instruction
Parameter Area
This region of memory contains various settings that cannot be specified by instruction operands; they can be specified from a Programming Device only.
The settings include the PLC Setup, I/O Table, Routing Table, and CPU Bus
Unit settings.
Programming Device
Programming Device
Parameter Area
Parameter Area
404
I/O Memory Areas
Section 9-2
9-2 I/O Memory Areas
9-2-1 I/O Memory Area Structure
The following table shows the basic structure of the I/O Memory Area.
Area Size Range External I/O allocation
Bit access
Word access
OK
Access
Read Write
OK OK
Change from
Programming
Device
OK
Status at startup or mode change
Forcing bit sta-
Cleared
(See note
5.)
OK tus
CIO
Area
I/O Area
C200H
DeviceNet
Words
PLC Link
Words
Data Link
Area
CPU Bus
Unit Area
Special I/O
Unit Area
Inner Board
Area
SYSMAC
BUS Area
I/O Terminal
Area
CS-series
DeviceNet
Area
Internal I/O
Areas
Work Area
Holding Area (See note 10.)
9,600 bits (600 words)
37,504 bits
(2,344 words)
4,800 bits (300 words)
8,192 bits (512 words)
8,192 bits (512 words)
3,200 bits (200 words)
6,400 bits (400 words)
15,360 bits (960 words)
1,600 bits (100 words)
1,280 bits (80 words)
5,120 bits (320 words)
1,600 bits (100 words)
32 bits (4 words)
512 bits
(32 words)
CIO 1900 to
CIO 1999
CIO 3000 to
CIO 3079
(See note
8.)
CIO 3100 to
CIO 3131
(See note
9.)
CIO 3200 to
CIO 3799
CIO 1200 to
CIO 1499
CIO 3800 to
CIO 6143
CIO 0000 to
CIO 0319
(See note
1.)
Outputs:
CIO 0050 to
CIO 0099
Inputs:
CIO 0350 to
CIO 0399
(See note
2.)
CIO 0247 to
CIO 0250
A442
CIO 1000 to
CIO 1199
CIO 1500 to
CIO 1899
CIO 2000 to
CIO 2959
W000 to
W511
H000 to
H511
Basic I/O
Units
OK
Device-
Net
Slaves
---
Data link or PLC
Link
CPU Bus
Units
OK
OK
Special
I/O Units
Inner
Boards
Slave
Racks
Slaves other than
Racks
Device-
Net
Slaves
---
---
---
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK Maintained
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
405
I/O Memory Areas
Section 9-2
TR Area
DM Area
EM Area
Area
Auxiliary Area
Timer Completion
Flags
Size
15,360 bits (960 words)
A000 to
A447
A448 to
A959
---
16 bits
32,768 words
32,768 words per bank
(0 to C,
13 max.)
4,096 bits
TR0 to
TR15
D00000 to
D32767
E0_00000 to
EC_32767
T0000 to
T4095
---
---
---
---
Counter Completion
Flags
Timer PVs
4,096 bits
4,096 words
Range
C0000 to
C4095
T0000 to
T4095
---
---
External I/O allocation
Bit access
OK
OK
No (See note 3.)
No (See note 3.)
OK
OK
OK
OK
---
Word access
OK
---
---
---
OK
Access
Read Write
OK
OK
OK
OK
OK
OK
OK
No
OK
OK
OK
OK
OK
OK
OK
Change from
Programming
Device
No
OK
No
Status at startup or mode change
Varies from address to address.
Cleared
Forcing bit sta-
No
No tus
OK
OK
OK
OK
OK
Maintained
Maintained
No
No
Cleared
(See note
5.)
Maintained
Cleared
(See note
5.)
Maintained
Cleared
OK
OK
No (See note 6.)
No (See note 7.)
No
Counter PVs
Task Flag Area
4,096 words
32 bits
Index Registers (See note 4.)
16 registers
C0000 to
C4095
TK00 to
TK31
IR0 to
IR15
---
---
---
---
OK
OK
---
OK
OK
OK
No
OK
No
OK OK Indirect addressing only
OK
Specific instructions only
OK
No
No
Cleared
(See note
5.)
No
Data Registers (See note 4.)
16 registers
DR0 to
DR15
Note
--No OK Cleared
(See note
5.)
No
1.
The I/O Area can be expanded to CIO 0000 to CIO 0999 by changing the first words allocated to Racks.
2.
C200H DeviceNet Words are used for fixed allocations by the C200H DeviceNet Master Unit (C200HW-DRM21-V1). The CS-series DeviceNet Unit
(CS1W-DRM21) does not use this same area for fixed allocations, but rather uses the CS-series DeviceNet Area (CIO 3200 to CIO 3799).
3.
Bits can be manipulated using TST(350), TSTN(351), SETB(532),
RSTB(533), OUTB(534).
4.
Index registers and data registers can be used either individually by task or they can be shared by all the tasks (CS1-H CPU Units only).
5.
If the I/O Memory Hold Bit (A50012) is turned ON, the contents of these areas will be maintained when the operating mode is changed. If in addition the IOM Hold Bit is selected under Startup Hold in the PLC Setup, the contents of these areas will be maintained when the power supply is turned
ON.
6.
Timer PVs can be refreshed indirectly by forced setting/resetting the Timer
Completion Flag.
7.
Counter PVs can be refreshed indirectly by forced setting/resetting
Counter Completion Flags.
8.
These words can be used as work words/bits when SYSMAC BUS Slaves are not used.
9.
These words can be used as work words/bits when I/O Terminals are not used.
406
I/O Memory Areas
Section 9-2
10. The Function Block Holding Area words are allocated from H512 to H1535.
These words can be used only for the function block instance area (internally allocated variable area).
407
I/O Memory Areas
Section 9-2
9-2-2 Overview of the Data Areas
The data areas in the CS-series I/O Memory Area are described in detail below.
CIO Area
Word
Bit
CIO 0000
15
I/O Area
It isn’t necessary to input the “CIO” acronym when specifying an address in the CIO Area. The CIO Area is generally used for data exchanges such as I/O refreshing with various Units. Words that aren’t allocated to Units may be used as work words and work bits in the program only.
0
CIO 0319
(CIO 0320)
(Not used.) See note 1.
(CIO 0999)
CIO 1000
Bit
Word
CIO 0000
15 0
Data Link Area
CIO 1199
CIO 1200
CIO 0050
Internal I/O Area
DeviceNet Area
(Outputs)
See note 2.
CIO 1499
CIO 1500
CS1 CPU Bus Unit Area
(25 words/Unit)
CIO 0099
CIO 0247
CIO 0250
PLC Link Area
CIO 1899
CIO 1900 CIO 0319
CIO 0320
Inner Board Area
(Not used.)
CIO 1999
CIO 2000
CIO 0349
CIO 0350
Special I/O Unit Area
(10 words/Unit)
DeviceNet Area
(Input)
See note 2.
CIO 2959
(CIO 2960)
CIO 0399
CIO 0400
(Not used.)
(CIO 2999)
CIO 3000
(Not used.)
SYSMAC BUS Area
CIO 0999
CIO 3079
(CIO 3080)
(CIO 3099)
CIO 3100
CIO 3131
(CIO 3132)
(CIO 3199)
CIO 3200
(Not used.)
I/O Terminal Area
(Not used.)
CS/CJ Series
DeviceNet Area
(CIO 3799)
CIO 3800
CIO 6143 Internal I/O Area
408
I/O Memory Areas
I/O Area
C200H DeviceNet Area
PLC Link Area
Link Area
CPU Bus Unit Area
Special I/O Unit Area
Inner Board Area
SYSMAC BUS Area
I/O Terminal Area
Note
Section 9-2
1.
It is possible to use CIO 0320 to CIO 0999 for I/O words by making the appropriate settings for the first words on the Racks. Settings for the first words on the Racks can be made using the CX-Programmer to set the first
Rack addresses in the I/O table. The settings range for the first Rack addresses is from CIO 0000 to CIO 0900.
2.
When using a C200H DeviceNet Master Unit (C200HW-DRM21-V1), be sure the same words are not allocated to both Basic I/O Units and DeviceNet I/O.
3.
The parts of the CIO Area that are labelled “Not used” may be used in programming as work bits. In the future, however, unused CIO Area bits may be used when expanding functions. Always use Work Area bits first.
These words are allocated to external I/O terminals on Basic I/O Units. Words that aren’t allocated to external I/O terminals may be used only in the program.
These words are allocated to Slaves for DeviceNet Remote I/O Communications for C200H DeviceNet Master Units (C200HW-DRM21-V1). Allocations are fixed and cannot be changed. Be sure that allocates to not overlap with those used for other I/O points.
The CS-series DeviceNet Unit (CS1W-DRM21) does not use this same area for fixed allocations.
When PLC Link Units are used to create a PLC Link system, the PLC Link
Area contains flags that indicate PLC Link errors and the operating status of
CPU Units in the PLC Link. CIO 247 to CIO 250 are equivalent to SR 247 to
SR 250 in the C200HX/HG/HE PLCs. (The PLC Link Operating Level Flags,
A44211 and A44212, are equivalent to AR 2411 and AR 2412 in the
C200HX/HG/HE PLCs.)
These words are used for data links in Controller Link Networks. Words that aren’t used in data links may be used only in the program.
These words are allocated to CPU Bus Units to transfer status information.
Each Unit is allocated 25 words and up to 16 Units (with unit numbers 0 to 15) can be used. Words that aren’t used by CPU Bus Units may be used only in the program.
These words are allocated to CS-series Special I/O Units and C200H Special
I/O Units. Each Unit is allocated 10 words and up to 96 Units (unit numbers 0 to 95) can be used. (C200H Special I/O Units are limited to unit numbers 0 to
F (15).)
Words that aren’t used by Special I/O Units may be used only in the program.
These words are allocated to Inner Boards such as Communications Boards.
Up to 100 words can be allocated for input and output.
These words are allocated to Slave Racks connected to SYSMAC BUS
Remote I/O Master Units. Each Rack is allocated 10 words and up to 8 Racks
(rack numbers 0 to 7) can be used. These words can be used as work words/bits when SYSMAC BUS Slaves are not used.
These words are allocated to Units other than Slave Racks (such as I/O Interfaces and I/O Terminals) that are connected to SYSMAC BUS Remote I/O
Master Units. Each Unit is allocated 1 word except for Optical I/O Units which take 2 words; up to 32 Units (unit numbers 0 to 31) can be used. These words can be used as work words/bits when I/O Terminals are not used.
409
I/O Memory Areas
Section 9-2
CS-series DeviceNet Area
Internal I/O Area
These words are allocated to Slaves for DeviceNet Remote I/O Communications for CS-series DeviceNet Units (CS1W-DRM21). Allocations are fixed and cannot be changed. Be sure that allocates to not overlap with those used for other I/O points.
The C200H DeviceNet Master Unit (C200HW-DRM21-V1) does not use this same area for fixed allocations
These words can be used only in the program; they cannot be used for I/O exchange with external I/O terminals. Be sure to use the work words provided in the Work Area (WR) before allocating words in the Internal I/O Area or other unused words in the CIO Area. It is possible that these words will be assigned to new functions in future versions of CS-series CPU Units, so the program may have to be changed before being used in a new CS-series PLC if CIO Area words are used as work words in the program.
Note CIO 25207 and CIO 25213 will be used for the Module (M-Net) Interface Network Restart Bits when a M-Net Interface Unit is connected to the CS-series
PLC. Do not use these bits are work bits in programming. The M-Net Interface
Unit is restarted by turning ON these bits.
Work Area (WR)
Words in the Work Area can be used only in the program; they cannot be used for I/O exchange with external I/O terminals. No new functions will be assigned to this area in future versions of CS-series PLCs, so use this area for work words and bits before any words in the CIO Area.
Word
15
Bit
Holding Area (HR)
W511
Words in the Holding Area can be used only in the program. These words retain their content when the PLC is turned on or the operating mode is switched between PROGRAM mode and RUN or MONITOR mode.
Word
15 Bit
H511
Note The Function Block Holding Area words are allocated from H512 to H1535.
These words can be used only for the function block instance area (internally allocated variable area). These words cannot be specified as instruction operands in the user program.
410
I/O Memory Areas
Section 9-2
Auxiliary Area (AR)
The Auxiliary Area contains flags and control bits used to monitor and control
PLC operation. This area is divided into two parts: A000 to A447 are readonly and A448 to A959 can be read or written. Refer to
details on the Auxiliary Area.
Note The undefined addresses of the Auxiliary Area may be allocated to functions in future version upgrades of the CPU Unit. Do not use these words as CIO
Area words in the user program.
Word 15 Bit
Read-only area
A447
A448
Read-write area
A959
Temporary Relay Area (TR)
The TR Area contains bits that record the ON/OFF status of program branches. The TR bits are used with mnemonics only.
Data Memory Area (DM)
The DM Area is a multi-purpose data area that can be accessed in word-units only. These words retain their content when the PLC is turned on or the operating mode is switched between PROGRAM mode and RUN or MONITOR mode.
Word
D00000
D06032 to D06063: C200H
DeviceNet Status Area
D20000
Special I/O Unit Area
(10 words/Unit)
D29599
D30000
CPU Bus Unit Area
(100 words/Unit)
D31599
D32000
Inner Board Area
D32767
411
I/O Memory Areas
Section 9-2
Extended Data Memory Area (EM)
The EM Area is a multi-purpose data area that can be accessed in word-units only. These words retain their content when the PLC is turned on or the operating mode is switched between PROGRAM mode and RUN or MONITOR mode.
The EM Area is divided into 32,767-word regions called banks. The number of
EM banks depends upon the model of CPU Unit, with a maximum of 13 banks
(0 to C). Refer to 2-1 Specifications for details on the number of EM banks
provided in each model of CPU Unit.
Word
E0_00000
Word
EC_00000
E0_32767 EC_32767
Timer Area
Timer Completion Flags
Timer PVs
Counter Area
Counter Completion Flags
Counter PVs
There are two counter data areas, the Counter Completion Flags and the
Counter Present Values (PVs). Up to 4,096 counters with counter numbers
C0000 to C4095 can be used. The same number is used to access a counter’s Completion Flag and PV.
These flags are read as bits. A Completion Flag is turned ON by the system when the corresponding counter counts out (the set value is reached).
The PVs are read and written as words (16 bits). The PVs count up or down as the counter operates.
Condition Flags
There are two timer data areas, the Timer Completion Flags and the Timer
Present Values (PVs). Up to 4,096 timers with timer numbers T0000 to T4095 can be used. The same number is used to access a timer’s Completion Flag and PV.
These flags are read as bits. A Completion Flag is turned ON by the system when the corresponding timer times out (the set time elapses).
The PVs are read and written as words (16 bits). The PVs count up or down as the timer operates.
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. The Condition Flags are specified with labels
(symbols) rather than addresses.
Clock Pulses
The Clock Pulses are turned ON and OFF by the CPU Unit’s internal timer.
These bits are specified with labels (symbols) rather than addresses.
Task Flag Area (TK)
Task Flags range from TK00 to TK31 and correspond to cyclic tasks 0 to 31. A
Task Flag will be ON when the corresponding cyclic task is in executable
412
I/O Memory Areas
Section 9-2
(RUN) status and OFF when the cyclic task hasn’t been executed (INI) or is in standby (WAIT) status.
Index Registers (IR)
These registers (IR0 to IR15) are used to store PLC memory addresses
(absolute memory addresses in RAM) to indirectly address words in I/O memory. The Index Registers can be used separately in each task or, for CS1-H
CPU Units, they can be shared by all tasks.
Data Registers (DR)
These registers (DR0 to DR15) are used together with the Index Registers.
When a Data Register is input just before an Index Register, the content of the
Data Register is added to the PLC memory address in the Index Register to offset that address. The Data Registers are used separately in each task or, for CS1-H CPU Units, they can be shared by all tasks.
9-2-3 Data Area Properties
Content After Fatal Errors, Forced Set/Reset Usage
Area
Auxiliary Area (A)
Data Memory Area (D)
Extended Data Memory Area
(E)
Timer Completion Flags (T)
External allocation
CIO
Area
I/O Area Basic I/O Units
C200H DeviceNet Words DeviceNet Slaves
PLC Link Words
Data Link Area
CPU Bus Units
None
Controller Link or
PLC Link data links
CPU Bus Units
Special I/O Unit Area
Inner Board Area
SYSMAC BUS Area
I/O Terminal Area
CS-series DeviceNet
Area
Internal I/O Area
Work Area (W)
Holding Area (H)
Special I/O Units
Inner Boards
SYSMAC BUS
Remote I/O Slaves
SYSMAC BUS
Remote I/O Terminals
DeviceNet Slaves or
Master
None
None
Fatal Error Generated
Execution of FALS(007) Other Fatal Error
IOM Hold
Bit OFF
IOM Hold
Bit ON
IOM Hold
Bit OFF
IOM Hold
Bit ON
Retained Retained
Forced Set/
Forced Reset
Functions
Cleared Retained Yes
Usable?
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Cleared
Retained
Status varies from address to address.
Retained
Retained
Retained
Retained
Retained
Retained
Yes
Yes
No
No
No
Timer PVs (T)
Counter Completion Flags (C)
Counter PVs (C)
Task Flags (TK)
Index Registers (IR)
Data Registers (DR)
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Cleared Retained Yes
Cleared Retained No
Retained Retained Yes
Retained Retained No
Cleared Cleared No
Cleared Retained No
Cleared Retained No
413
Precautions in Using C200H Special I/O Units
Section 9-3
Content After Mode Change or Power Interruption
Area
Mode Changed
1
IOM Hold
Bit OFF
Cleared
IOM Hold
Bit ON
Retained
PLC Power OFF to ON
IOM Hold Bit Cleared
2
IOM Hold Bit Held
2
IOM Hold
Bit OFF
Cleared
IOM Hold
Bit ON
Cleared
IOM Hold
Bit OFF
Cleared
IOM Hold
Bit ON
Retained CIO
Area
I/O Area
C200H DeviceNet Words
PLC Link Words
Data Link Area
CPU Bus Units
Special I/O Unit Area
Inner Board Area
SYSMAC BUS Area
I/O Terminal Area
CS-series DeviceNet Area
Internal I/O Area
Work Area (W)
Holding Area (H)
Auxiliary Area (A)
Data Memory Area (D)
Extended Data Memory Area (E)
Timer Completion Flags (T)
Timer PVs (T)
Counter Completion Flags (C)
Counter PVs (C)
Task Flags (TK)
Index Registers (IR)
Data Registers (DR)
Cleared
Retained
Retained
Retained
Cleared
Retained
Status varies from address to address.
Retained Retained Retained
Retained
Cleared
Retained
Retained
Retained
Cleared
Cleared
Retained
Retained
Cleared
Cleared
Cleared
Retained
Retained
Retained
Cleared
Retained
Retained
Cleared
Retained
Retained
Cleared
Cleared
Cleared
Cleared
Retained
Retained
Retained
Cleared
Cleared
Retained
Retained
Cleared
Cleared
Cleared
Cleared
Retained
Retained
Retained
Cleared
Cleared
Retained
Retained
Cleared
Cleared
Cleared
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Retained
Cleared
Cleared
Cleared
Note 1.
Mode changed from PROGRAM to RUN/MONITOR or vice-versa.
2.
The PLC Setup’s “IOM Hold Bit Status at Startup” setting determines whether the IOM Hold Bit’s status is held or cleared when the PLC is turned on.
9-3 Precautions in Using C200H Special I/O Units
Observe the following precautions when using C200H Special I/O Units.
Memory Areas There are differences between the words allocated to Special I/O Units in the
PLC memory areas, as shown in the following table.
PLC
IR/CIO
Area allocations
C200H/C200HS
IR 100 to IR 199
C200HX/HG/HE
IR 100 to IR 199
IR 400 to IR 459
DM Area allocations
DM 1000 to DM 1999 DM 1000 to DM 1999
DM 2000 to DM 2599
CS Series
CIO 2000 to CIO 2959
(allocated CIO 2000 to
CIO 2159 for unit numbers 0 up to 15)
D20000 to D29599
(allocated D20000 to
D21599 for unit numbers 0 up to 15)
414
CIO Area
Restrictions
Section 9-4
There are special restrictions in programming, allocations, and data communications with the CPU Unit for the following C200H Special I/O Units. Refer to
Appendix F Restrictions in Using C200H Special I/O Units for details.
Unit
ASCII Units
High-speed Counter Units
ID Sensor Units
Position Control Units
Fuzzy Logic Units
High-speed Counter Units
Motion Control Units
C200H I/O LInk Units
Model number
C200H-ASC02/ASC11/ASC21/ASC31
C200H-CT001-V1/CT002
C200H-IDS01-V1/IDS21
C200H-NC111/NC112/NC211
C200H-FZ001
C200H-CT021
C200H-MC221
C200H-DRT21
There are no special restrictions for other C200H Special I/O Units.
9-4 CIO Area
I/O Area addresses range from CIO 0000 to CIO 0319 (CIO bits 000000 to
031915), but the area can be expanded to CIO 0000 to CIO 0999 by changing the first Rack word with any Programming Device other than a Programming
Console. The maximum number of bits that can be allocated for external I/O will still be 5,120 (320 words) even if the I/O Area is expanded.
Note The maximum number of external I/O points depends upon the CPU Unit being used.
Words in the I/O Area can be allocated to I/O terminals on Basic I/O Units
(CS-series Basic I/O Units, C200H Basic I/O Units, and C200H Group-2 Highdensity I/O Units).
Words are allocated to Basic I/O Units based on the slot position (left to right) and number of words required. The words are allocated consecutively and empty slots are skipped. Words in the I/O Area that aren’t allocated to Basic
I/O Units can be used only in the program.
CIO 0000 to CIO 0319 include the C200H DeviceNet Output Area (CIO 0050 to CIO 0099) and the PLC Link Words CIO 0247 to CIO 0250. Be sure that word allocations do not overlap allocations for other I/O points when using a
C200H DeviceNet Master Unit (C200HS-DRM1-V1) or when using a PLC Link
Unit.
I/O Area Initialization
1,2,3...
IOM Hold Bit Operation
The contents of the I/O Area will be cleared in the following cases:
1.
The operating mode is changed from PROGRAM to RUN or MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
(See the following explanation of IOM Hold Bit Operation.)
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
(See the following explanation of IOM Hold Bit Operation.)
3.
The I/O Area is cleared from a Programming Device.
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the I/O Area will be retained if FALS(007) is executed.)
If the IOM Hold Bit (A50012) is ON, the contents of the I/O Area won’t be cleared when a fatal error occurs or the operating mode is changed from
PROGRAM mode to RUN or MONITOR mode or vice-versa.
415
CIO Area
Forcing bit Status
Input Bits
Normal I/O Refreshing
Section 9-4
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the I/O
Area won’t be cleared when the PLC’s power supply is cycled. All I/O bits, including outputs, will retain the status that they had before the PLC was turned off.
Note 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. Make sure that the external loads will not produce dangerous conditions when this occurs. (When operation stops for a fatal error, including those produced with the FALS(007) instruction, all outputs from Output Unit will be turned OFF and only the internal output status will be maintained.)
Bits in the I/O Area can be force-set and force-reset.
Note When designating addresses in programming or allocations inside C200H
Special I/O Units, “000” to “255” will specify CIO 0000 to CIO 0255 in the CPU
Unit and “000” to “511” will specify CIO 0000 to CIO 0511 in the CPU Unit.
Other addresses in this area cannot be specified inside the C200H Special
I/O Units.
A bit in the I/O Area is called an input bit when it is allocated to an Input Unit.
Input bits reflect the ON/OFF status of devices such as push-button switches, limit switches, and photoelectric switches. There are three ways for the status of input points to be refreshed in the PLC: normal I/O refreshing, immediate refreshing, and IORF(097) refreshing.
The status of I/O points on external devices is read once each cycle after program execution.
In the following example, CIO 000101 is allocated to switch 1, an external switch connected to the input terminal of an Input Unit. The ON/OFF status of switch 1 is reflected in CIO 000101 once each cycle.
Ladder symbol
000101
Mnemonic
LD 000101
Input Unit
CPU Unit
Bit allocation
Switch 1 CIO 000101
Once each cycle
Immediate Refreshing When the immediate refreshing variation of an instruction is specified by inputting an exclamation point just before the instruction, and the instruction’s operand is an input bit or word, the word containing the bit or the word itself will be refreshed just before the instruction is executed. This immediate refreshing is performed in addition to the normal I/O refreshing performed once each cycle.
416
CIO Area
Section 9-4
Note Immediate refreshing will be performed for input bits allocated to Basic I/O
Units only (excluding C200H Group-2 High-density I/O Units and Basic I/O
Units mounted in Remote I/O Slave Racks), not High-density I/O Units which are Special I/O Units.
1,2,3...
1.
Bit Operand
Just before the instruction is executed, the ON/OFF status of the 16 I/O points allocated to the word containing the specified bit will be read to the
PLC.
2.
Word Operand
Just before the instruction is executed, the ON/OFF status of the 16 I/O points allocated to the specified word will be read to the PLC.
In the following example, CIO 000101 is allocated to switch 1, an external switch connected to the input terminal of an Input Unit. The ON/OFF status of switch 1 is read and reflected in CIO 000101 just before !LD 000101 is executed.
Ladder symbol
000101
Mnemonic
!LD 000101
Input Unit CPU Unit
CIO 000101
Switch 0
Switch 1
Switch 7
IORF(097) Refreshing
Read just before instruction execution.
When IORF(097) (I/O REFRESH) is executed, the input bits in the specified range of words are refreshed. This I/O refreshing is performed in addition to the normal I/O refreshing performed once each cycle.
Note IORF(097) refreshes input bits allocated to Basic I/O Units (excluding Basic
I/O Units mounted in Remote I/O Slave Racks), C200H Group-2 High-density
I/O Units, and other High-density I/O Units which are Special I/O Units.
The following IORF(097) instruction refreshes the status of all I/O points in I/O
Area words CIO 0000 to CIO 0003. The status of input points is read from the
Input Units and the status of output bits is written to the Output Units.
In the following example, the status of input points allocated to CIO 0000 and
CIO 0001 are read from the Input Unit. (CIO 0002 and CIO 0003 are allocated to Output Units.)
417
CIO Area
Limitations on Input bits
Section 9-4
Input Unit CPU Unit
Switch 0
Switch 16
Switch 1
Switch 17
Switch 31
Switch 15
Read when
IORF
(097) is executed.
There is no limit on the number of times that input bits can be used as normally open and normally closed conditions in the program and the addresses can be programmed in any order.
An input bit cannot be used as an operand in an Output instruction.
00001 000100
Not allowed if CIO 000100 is an input bit.
Input Response Time
Settings
The input response times for each CS-series Input Unit can be set in the PLC
Setup. Increasing the input response time will reduce chattering and the effects of noise and decreasing the input response time allows higher speed input pulses to be received.
The default value for input response times is 8 ms and the setting range is 0 to
32 ms.
Note If the time is set to 0 ms, there will still be an ON delay time of 20 µs max. and an OFF delay time of 300 µs due to delays caused by internal elements.
Pulses shorter than the time constant are not received.
Input from switch
Output Bits
Normal I/O Refreshing
Input bit
Input time constant Input time constant
A bit in the I/O Area is called an output bit when it is allocated to an Output
Unit. The ON/OFF status of an output bits are output to devices such as actuators. There are three ways for the status of output bits to be refreshed to an
Output Unit: normal I/O refreshing, immediate refreshing, and IORF(097) refreshing.
The status of output bits are output to external devices once each cycle after program execution.
In the following example, CIO 000201 is allocated to an actuator, an external device connected to an output terminal of an Output Unit. The ON/OFF status of CIO 000201 is output to that actuator once each cycle.
418
CIO Area
Ladder symbol
000201
Mnemonic
OUT 000201
CPU Unit
Bit allocation
CIO 000201
Output Unit
Actuator
Once each cycle
Section 9-4
Immediate Refreshing When the immediate refreshing variation of an instruction is specified by inputting an exclamation point just before the instruction, and the instruction’s operand is an output bit or word, the content of the word containing the bit or the word itself will be output just after the instruction is executed. This immediate refreshing is performed in addition to the normal I/O refreshing performed once each cycle.
Note Immediate refreshing will be performed for output bits allocated to Basic I/O
Units only (excluding C200H Group-2 High-density I/O Units and Basic I/O
Units mounted in Remote I/O Slave Racks), not High-density I/O Units which are Special I/O Units.
1,2,3...
1.
Bit Operand
Just after the instruction is executed, the ON/OFF status of the 16 I/O points allocated to the word containing the specified bit will be output to the output device(s).
2.
Word Operand
Just after the instruction is executed, the ON/OFF status of the 16 I/O points allocated to the specified word will be output to the output device(s).
In the following example, CIO 000201 is allocated to an actuator, an external device connected to the output terminal of an Output Unit. The ON/OFF status of CIO 000201 is output to the actuator just after !OUT 000201 is executed.
Ladder symbol
000201
!
Mnemonic
OUT 000201
CPU Unit
Bit allocation
CIO 000201
Output Unit
Actuator
Output just after instruction execution.
419
CIO Area
Section 9-4
IORF(097) Refreshing When IORF(097) (I/O REFRESH) is executed, the ON/OFF status of output bits in the specified range of words is output to their external devices. This I/O refreshing is performed in addition to the normal I/O refreshing performed once each cycle.
Note IORF(097) refreshes output bits allocated to Basic I/O Units (excluding Basic
I/O Units mounted in Remote I/O Slave Racks), C200H Group-2 High-density
I/O Units, and other High-density I/O Units which are Special I/O Units.
The following IORF(097) instruction refreshes the status of all I/O points in I/O
Area words CIO 0000 to CIO 0003. The status of input points is read from the
Input Units and the status of output bits is written to the Output Units.
In this example, the status of input points allocated to CIO 0002 and CIO 0003 are output to the Output Unit. (CIO 0000 and CIO 0001 are allocated to Input
Units.)
CPU Unit
Bit allocation
CIO 0002
Output Unit
Actuator
CIO 0003
Limitations on Output Bits
Output when
IORF (097) is executed.
Output bits can be programmed in any order. Output bits can be used as operands in Input instructions and there is no limit on the number of times that an output bit is used as a normally open and normally closed condition.
An output bit can be used in only one Output instruction that controls its status. If an output bit is used in two or more Output instructions, only the last instruction will be effective.
CIO 000000 is controlled by CIO 000010.
Only this instruction is effective.
Note All outputs on Basic I/O Units and Special I/O Units can be turned OFF by turning ON the Output OFF Bit (A50015). The status of the output bits won’t be affected even though the actual outputs are turned OFF.
420
C200H DeviceNet Area
Section 9-5
9-5 C200H DeviceNet Area
The C200H DeviceNet Area is divided into two parts:
1,2,3...
1.
The DeviceNet Output Area contains 50 words with addresses ranging from CIO 0050 to CIO 0099.
2.
The DeviceNet Input Area contains 50 words with addresses ranging from
CIO 0350 to CIO 0399.
Words in the C200H DeviceNet Area are used for fixed allocations to Slaves for DeviceNet remote I/O communications for the C200H DeviceNet Master
Unit (C200HW-DRM21-V1).
Note The CS-series DeviceNet Unit (CS1W-DRM21) does not use this same area for fixed allocations, but rather uses the CS-series DeviceNet Area (CIO 3200 to CIO 3799).
Data is exchanged regularly to Slaves in the network (independent of the program) through the C200H DeviceNet Master Unit (C200HW-DRM21-V1) mounted in the CPU Rack.
Words can be allocated to Slaves in two ways: fixed allocation (words allocated by node number) or free allocation (user-set word allocation).
• With fixed allocations, words in the C200H DeviceNet Area are allocated automatically in node-number order.
• With user-set allocations, the user can allocate words to Slaves from the following words.
CIO 0000 to CIO 0235, CIO 0300 to CIO 0511, CIO 1000 to CIO 1063
H000 to H099
D00000 to D05999
The same ranges can be allocated for both CS-series and C200HX/G/E PLCs except that LR 00 to LR 63 in the C200HX/G/E PLCs correspond to CIO 1000 to CIO 1063 in the CS-series PLCs. (The entire Master Status Area is from
D06032 to D06063.)
For details on word allocations, refer to the C200HDeviceNet Operation Man-
ual (W267).
C200H DeviceNet Master
Unit (C200HW-DRM21-V1) C200H DeviceNet Area
CPU Unit
DeviceNet
Slaves
With fixed allocation, words are assigned according to node numbers.
(If a Slave requires two or more words, it will occupy as many node numbers as words required.)
421
CS-series DeviceNet Area
DeviceNet Area
Initialization
Section 9-6
The contents of the DeviceNet Area will be cleared in the following cases:
IOM Hold Bit Operation
Forcing Bit Status
1,2,3...
Note
1.
The operating mode is changed between PROGRAM and RUN or MONI-
TOR mode and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
3.
The DeviceNet Area is cleared from a Programming Device.
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the DeviceNet Area will be retained when
FALS(007) is executed.)
If the IOM Hold BIt (A50012) is ON, the contents of the DeviceNet Area won’t be cleared when a fatal error occurs or the operating mode is changed from
PROGRAM mode to RUN or MONITOR mode or vice-versa.
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the
DeviceNet Area won’t be cleared when the PLC’s power supply is cycled.
Bits in the DeviceNet Area can be force-set and force-reset.
1.
The C200H DeviceNet Output Area overlaps the I/O Area. When using DeviceNet communications with the default allocations, be sure that words are not also allocated to other I/O points.
2.
With the CS-series CPU Units, words beginning at D06032 are allocated as follows for the C200H DeviceNet Master Status and the Communications Cycle Present Value:
DeviceNet Master Status: D06032 + unit number × 2
Communications Cycle Present Value: D06033 + unit number × 2
9-6 CS-series DeviceNet Area
The CS-series DeviceNet Area addresses run from CIO 3200 to CIO 3799
(600 words).
Words in the CS-series DeviceNet Area are used for fixed allocations to
Slaves for DeviceNet remote I/O communications for the CS-series DeviceNet
Unit (CS1W-DRM21).
Note The C200H DeviceNet Master Unit (C200HW-DRM21-V1) does not use this same area for fixed allocations, but rather uses the C200H
DeviceNet Area (CIO 0050 to CIO0099 and CIO 0350 to CIO 0399).
The Fixed Allocation Setting Switches 1 to 3 (Software Switches) in the CIO
Area words allocated to the DeviceNet Unit determine which fixed allocation words are used.
Area Master to Slave
(Output Words)
Fixed Allocation Area 1 CIO 3200 to CIO 3263
Fixed Allocation Area 2 CIO 3400 to CIO 3463
Fixed Allocation Area 3 CIO 3600 to CIO 3663
Slave to Master
(Input Words)
CIO 3300 to CIO 3363
CIO 3500 to CIO 3563
CIO 3700 to CIO 3763
422
CS-series DeviceNet Area
Section 9-6
Note If the DeviceNet Unit is set to use the I/O slave function, the following words are also allocated.
Area
Fixed Allocation Area 1
Fixed Allocation Area 2
Fixed Allocation Area 3
Master to Slave
(Output Word)
CIO 3370
CIO 3570
CIO 3770
Slave to Master
(Input Word)
CIO 3270
CIO 3470
CIO 3670
Data is exchanged regularly to Slaves in the network (independent of the program) through the CS-series DeviceNet Unit (CS1W-DRM21) mounted in the
CPU Rack.
Words can be allocated to Slaves in two ways: fixed allocation (words allocated by node number) or free allocation (user-set word allocation).
• With fixed allocations, words in the CS-series DeviceNet Area are allocated automatically in node-number order in one of the fixed allocation areas (1 to 3).
• With user-set allocations, the user can allocate words to Slaves from the following words.
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
D00000 to D32767
E00000 to E32767 (banks 0 to C)
For details on word allocations, refer to the CS/CJ Series DeviceNet Unit
Operation Manual (W380).
CPU Unit
CS-series DeviceNet Unit
(CS1W-DRM21)
CS-series DeviceNet Area
DeviceNet Slaves
Forcing Bit Status
DeviceNet Area
Initialization
With fixed allocations, words are assigned according to node numbers.
(If a Slave requires two or more words, it will use as many node numbers as words required.)
Bits in the CS-series DeviceNet Area can be force-set and force-reset.
The contents of the DeviceNet Area will be cleared in the following cases:
1,2,3...
1.
The operating mode is changed between PROGRAM and RUN or MONI-
TOR mode and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
3.
The DeviceNet Area is cleared from a Programming Device.
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the DeviceNet Area will be retained when
FALS(007) is executed.)
423
PLC Link Area
IOM Hold Bit Operation
Section 9-7
If the IOM Hold BIt (A50012) is ON, the contents of the DeviceNet Area won’t be cleared when a fatal error occurs or the operating mode is changed from
PROGRAM mode to RUN or MONITOR mode or vice-versa.
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the
DeviceNet Area won’t be cleared when the PLC’s power supply is cycled.
9-7 PLC Link Area
The PLC Link Area contains 5 words with addresses ranging from CIO 0247 to CIO 0250. A442 is also used for PLC Links. Use these words to monitor
PLC Link errors, monitor CPU Unit operating status, and detect PLC Link operating levels.
Note The Link Area (CIO 1000 to CIO 1063) is used to exchange data between
PLCs in a PLC Link system, just as the LR Area is used in other OMRON
PLCs. The flags in the PLC Link Area indicate the status of PLC Link operations.
PLC Link Error Flags
When a transmission error occurs or there is a power interruption at another
Unit after the PLC link is established, the flag corresponding to the other Unit’s unit number will be turned ON. These flags are read-only, although the PLC
Link Error Flag will be turned ON if the CPU Unit is stopped by a FALS(007) error.
CPU Unit RUN Flags
The flag corresponding to the a CPU Unit’s unit number will be ON when the
CPU Unit is operating in RUN or MONITOR mode. The corresponding flag will be OFF when the CPU Unit is in PROGRAM mode. These flags can be used to determine another Unit’s operating status. These flags are read-only.
Operating Level Detection Flags
The flags in A442 can be used to determine whether a PLC Link Unit is mounted to the PLC as well as the Unit’s operating level. A44211 will be ON if the PLC Link Unit is in operating level 1 and A44212 will be ON if the PLC Link
Unit is in operating level 0.
424
PLC Link Area
Section 9-7
CIO Area Flags The following table shows the allocation of the CIO Area flags related to PLC
Link operation. (The numbers in parentheses show the allocation for multilevel systems; operating level 0 is #0 and operating level 1 is #1.)
Flag type Bit
CPU Unit
RUN Flags
00 Unit 24 (#1, Unit 8)
01
CIO 0247
Unit 25 (#1, Unit 9)
02 Unit 26 (#1, Unit 10)
03 Unit 27 (#1, Unit 11)
04 Unit 28 (#1, Unit 12)
PLC Link
Error Flags
05 Unit 29 (#1, Unit 13)
06 Unit 30 (#1, Unit 14)
07 Unit 31 (#1, Unit 15)
08 Unit 24 (#1, Unit 8)
09 Unit 25 (#1, Unit 9)
10 Unit 26 (#1, Unit 10)
11 Unit 27 (#1, Unit 11)
12 Unit 28 (#1, Unit 12)
13 Unit 29 (#1, Unit 13)
14 Unit 30 (#1, Unit 14)
15 Unit 31 (#1, Unit 15)
CIO 0248
Unit 16 (#1, Unit 0)
Unit 17 (#1, Unit 1)
Unit 18 (#1, Unit 2)
Unit 19 (#1, Unit 3)
Unit 20 (#1, Unit 4)
Unit 21 (#1, Unit 5)
Unit 22 (#1, Unit 6)
Unit 23 (#1, Unit 7)
Unit 16 (#1, Unit 0)
Unit 17 (#1, Unit 1)
Unit 18 (#1, Unit 2)
Unit 19 (#1, Unit 3)
Unit 20 (#1, Unit 4)
Unit 21 (#1, Unit 5)
Unit 22 (#1, Unit 6)
Unit 23 (#1, Unit 7)
CIO 0249
Unit 8 (#0, Unit 8)
Unit 9 (#0, Unit 9)
Unit 10 (#0, Unit 10)
Unit 11 (#0, Unit 11)
Unit 12 (#0, Unit 12)
Unit 13 (#0, Unit 13)
Unit 14 (#0, Unit 14)
Unit 15 (#0, Unit 15)
Unit 8 (#0, Unit 8)
Unit 9 (#0, Unit 9)
Unit 10 (#0, Unit 10)
Unit 11 (#0, Unit 11)
Unit 12 (#0, Unit 12)
Unit 13 (#0, Unit 13)
Unit 14 (#0, Unit 14)
Unit 15 (#0, Unit 15)
CIO 0250
Unit 0 (#0, Unit 0)
Unit 1 (#0, Unit 1)
Unit 2 (#0, Unit 2)
Unit 3 (#0, Unit 3)
Unit 4 (#0, Unit 4)
Unit 5 (#0, Unit 5)
Unit 6 (#0, Unit 6)
Unit 7 (#0, Unit 7)
Unit 0 (#0, Unit 0)
Unit 1 (#0, Unit 1)
Unit 2 (#0, Unit 2)
Unit 3 (#0, Unit 3)
Unit 4 (#0, Unit 4)
Unit 5 (#0, Unit 5)
Unit 6 (#0, Unit 6)
Unit 7 (#0, Unit 7)
PLC Link Area
Initialization
The contents of the PLC Link Area will be cleared in the following cases:
Forcing Bit Status
Auxiliary Area Flags
1,2,3...
IOM Hold Bit Operation
Note
1.
The operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
3.
The PLC Link Area is cleared from a Programming Device.
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the PLC Link Area will be retained when
FALS(007) is executed.)
If the IOM Hold BIt (A50012) is ON, the contents of the PLC Link Area won’t be cleared when a fatal error occurs or the operating mode is changed from
PROGRAM mode to RUN/MONITOR mode or vice-versa.
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the PLC
Link Area won’t be cleared when the PLC’s power supply is cycled.
Bits in the PLC Link Area can be force-set and force-reset.
A44211 will be ON when the PLC Link Unit is in operating level #1. A44212 will be ON when the Unit is in operating level #0 or a PLC Link Unit isn’t mounted in the PLC. (The other bits in A442 are not used.)
Refer to
9-16 Auxiliary Area and to Appendix B Auxiliary Area for more details
on A422.
1.
The PLC Link Area (CIO 0247 to CIO 0250) overlaps the I/O Area. When using PLC Link Units, be sure that words are not also allocated to other I/O points.
2.
When designating addresses in programming or allocations inside C200H
Special I/O Units, “247” to “250” will actually specify CIO 0247 to CIO 0250 in the CPU Unit. A422 cannot be specified inside a C200H Special I/O Unit.
425
Data Link Area
Section 9-8
9-8 Data Link Area
Data Link Area addresses range from CIO 1000 to CIO 1199 (CIO bits 100000 to 119915). Words in the Link Area are used for data links when
LR is set as the data link area for Controller Link Networks. It is also used for
PLC Links.
A data link automatically (independently of the program) shares data with Link
Areas in other CS-series CPU Units in the network through a Controller Link
Unit mounted to the PLC’s CPU Rack.
Data links can be generated automatically (using the same number of words for each node) or manually. When a user defines the data link manually, he can assign any number of words to each node and make nodes receive-only or transmit-only. Refer to the Controller Link Units Operation Manual (W309) for more details.
Words in the Link Area can be used in the program when LR is not set as the data link area for Controller Link Networks and PLC Links are not used.
Link Areas
Controller
Link Unit
CPU Unit
Controller
Link Unit CPU Unit
Controller
Link Unit
CPU Unit
Controller Link Network
Link Area words are also allocated to PLC Link Systems when a PLC Link is created by connecting PLC Link Units.
PLC Link Unit
CPU Unit
Link Areas
PLC Link
Unit
CPU Unit
PLC Link Unit
CPU Unit
Links to C200HX/HG/HE,
C200HS, and C200H PLCs
Link Area Initialization
1,2,3...
Link Area words CIO 1000 to CIO 1063 in CS-series PLCs correspond to Link
Relay Area words LR 00 to LR 63 for data links created in C200HX/HG/HE
PLCs and PLC Links created in C200HX/HG/HE, C200HS, or C200H PLCs.
When converting C200HX/HG/HE, C200HS, or C200H programs for use in
CS-series PLCs, change addresses LR 00 through LR 63 to their equivalent
Link Area addresses CIO 1000 through CIO 1063.
The contents of the Link Area will be cleared in the following cases:
1.
The operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
3.
The Link Area is cleared from a Programming Device.
426
CPU Bus Unit Area
Section 9-9
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the Link Area will be retained if FALS(007) is executed.)
IOM Hold Bit Operation
Forcing Bit Status
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the Link
Area won’t be cleared when the PLC’s power supply is cycled.
If the IOM Hold BIt (A50012) is ON, the contents of the Link Area won’t be cleared when a fatal error occurs or the operating mode is changed from
PROGRAM mode to RUN/MONITOR mode or vice-versa.
Bits in the Link Area can be force-set and force-reset.
Note When designating addresses in programming or allocations inside C200H
Special I/O Units, “LR 00” to “LR63” will actually specify CIO 1000 to CIO1063 in the CPU Unit. CIO 1064 to CIO 1199 in the CPU Unit cannot be specified in the C200H Special I/O Unit.
9-9 CPU Bus Unit Area
The CPU Bus Unit Area contains 400 words with addresses ranging from
CIO 1500 to CIO 1899. Words in the CPU Bus Unit Area can be allocated to
CPU Bus Units to transfer data such as the operating status of the Unit. Each
Unit is allocated 25 words based on the Unit’s unit number setting.
Data is exchanged with CPU Bus Units once each cycle during I/O refreshing, which occurs after program execution. (Words in this data area cannot be refreshed with immediate-refreshing or IORF(097).)
CPU Bus Unit
CPU Unit
CPU Bus Unit Area
(25 words/Unit)
I/O refreshing
Each CPU Bus Unit is allocated 25 words based on its unit number, as shown in the following table.
A
B
8
9
C
D
6
7
4
5
2
3
0
1
Unit number Allocated words
CIO 1500 to CIO 1524
CIO 1525 to CIO 1549
CIO 1550 to CIO 1574
CIO 1575 to CIO 1599
CIO 1600 to CIO 1624
CIO 1625 to CIO 1649
CIO 1650 to CIO 1674
CIO 1675 to CIO 1699
CIO 1700 to CIO 1724
CIO 1725 to CIO 1749
CIO 1750 to CIO 1774
CIO 1775 to CIO 1799
CIO 1800 to CIO 1824
CIO 1825 to CIO 1849
427
Inner Board Area
Section 9-10
CPU Bus Unit Area
Initialization
1,2,3...
E
F
Unit number Allocated words
CIO 1850 to CIO 1874
CIO 1875 to CIO 1899
The function of the 25 words depends upon the CPU Bus Unit being used. For details, refer to the Unit’s operation manual.
Words in the CPU Bus Unit Area that aren’t allocated to CPU Bus Units can be used only in the program.
Note The addresses in the CS-series CPU Bus Unit Area cannot be designated directly in programming or allocations inside C200H Special I/O Units.
The contents of the CPU Bus Unit Area will be cleared in the following cases:
IOM Hold Bit Operation
Forcing Bit Status
1.
The operating mode is changed from PROGRAM to RUN or MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
3.
The CPU Bus Unit Area is cleared from a Programming Device.
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the CPU Bus Unit Area will be retained when
FALS(007) is executed.)
If the IOM Hold BIt (A50012) is ON, the contents of the CS-series CPU Bus
Unit Area won’t be cleared when a fatal error occurs or the operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the CSseries CPU Bus Unit Area won’t be cleared when the PLC’s power supply is cycled.
Bits in the CPU Bus Unit Area can be force-set and force-reset.
9-10 Inner Board Area
The Inner Board Area contains 100 words with addresses ranging from
CIO 1900 to CIO 1999. Words in the Inner Board Area can be allocated to an
Inner Board to transfer data such as the operating status of the Unit. All 100 words must be allocated to just one Inner Board.
Data is exchanged with the Inner Board once each cycle during normal I/O refreshing, which occurs after program execution. Depending on the type of
Inner Board that is mounted, data can also be refreshed directly.
Inner Board
CPU Unit
I/O refreshing Inner Board Area
(100 words/Board)
The function of the 100 words in the Inner Board Area depends upon the
Inner Board being used. For details, refer to the Board’s Operation Manual.
When the words in the Inner Board Area aren’t allocated to an Inner Board, they can be used only in the program.
428
Special I/O Unit Area
Section 9-11
Inner Board Area
Initialization
The contents of the Inner Board Area will be cleared in the following cases:
Forcing Bit Status
1,2,3...
IOM Hold Bit Operation
1.
The operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
3.
The Inner Board Area is cleared from a Programming Device.
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the Inner Board Area will be retained when
FALS(007) is executed.)
If the IOM Hold BIt (A50012) is ON, the contents of the Inner Board Area won’t be cleared when a fatal error occurs or the operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the Inner
Board Area won’t be cleared when the PLC’s power supply is cycled.
Bits in the Inner Board Area can be force-set and force-reset.
Note The addresses in the Inner Board Area cannot be designated directly in programming or allocations inside C200H Special I/O Units.
9-11 Special I/O Unit Area
The Special I/O Unit Area contains 960 words with addresses ranging from
CIO 2000 to CIO 2959. Words in the Special I/O Unit Area are allocated to
CS-series and C200H Special I/O Units to transfer data such as the operating status of the Unit. Each Unit is allocated 10 words based on its unit number setting.
Data is exchanged with Special I/O Units once each cycle during I/O refreshing, which occurs after program execution. The words can also be refreshed with IORF(097).
Special I/O Unit
CPU Unit
Special I/O Unit Area
(10 words/Unit)
I/O refreshing or
IORF
(097)
Note The addresses in the Special I/O Unit Area cannot be designated directly in programming or allocations inside C200H Special I/O Units.
429
Special I/O Unit Area
Section 9-11
0
3
4
1
2
7
8
5
6
9
10 (A)
11 (B)
12 (C)
13 (D)
14 (E)
15 (F)
16
17
Each Special I/O Unit is allocated 25 words based on its unit number, as shown in the following table.
Unit number Allocated words C200H
Special I/O Units
CS-series
Special I/O Units
CIO 2000 to CIO 2009 Valid unit numbers Valid unit numbers
CIO 2010 to CIO 2019
CIO 2020 to CIO 2029
CIO 2030 to CIO 2039
CIO 2040 to CIO 2049
CIO 2050 to CIO 2059
CIO 2060 to CIO 2069
CIO 2070 to CIO 2079
CIO 2080 to CIO 2089
CIO 2090 to CIO 2099
CIO 2100 to CIO 2109
CIO 2110 to CIO 2119
CIO 2120 to CIO 2129
CIO 2130 to CIO 2139
CIO 2140 to CIO 2149
CIO 2150 to CIO 2159
CIO 2160 to CIO 2169 Not available on
CIO 2170 to CIO 2179
C200H Units
Special I/O Unit Area
Initialization
1,2,3...
IOM Hold Bit Operation
Forcing Bit Status
95 CIO 2950 to CIO 2959
The function of the 10 words allocated to a Unit depends upon the Special I/O
Unit being used. For details, refer to the Unit’s Operation Manual.
Words in the Special I/O Unit Area that aren’t allocated to Special I/O Units can be used only in the program.
The contents of the Special I/O Unit Area will be cleared in the following cases:
1.
The operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
3.
The Special I/O Unit Area is cleared from a Programming Device.
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the Special I/O Unit Area will be retained when
FALS(007) is executed.)
If the IOM Hold BIt (A50012) is ON, the contents of the Special I/O Unit Area won’t be cleared when a fatal error occurs or the operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the Special I/O Unit Area won’t be cleared when the PLC’s power supply is cycled.
Bits in the Special I/O Unit Area can be force-set and force-reset.
430
SYSMAC BUS Area
Section 9-12
9-12 SYSMAC BUS Area
The SYSMAC BUS Area contains 80 words with addresses ranging from
CIO 3000 to CIO 3079. Words in the SYSMAC BUS Area are allocated to
Slave Racks connected to Wired or Optical SYSMAC BUS Remote I/O Master
Units (C200H-RM201 or C200H-RM001-PV1). Up to two Masters can be mounted to the CPU Rack or a C200H Expansion I/O Rack. A maximum of 8
Slave Racks can be managed by one CPU Unit, whether one or two Masters are mounted.
Each Slave Rack is allocated 10 words based on the Rack’s rack number setting (0 to 7).
4
5
6
7
2
3
0
1
Rack number Allocated words
CIO 3000 to CIO 3009
CIO 3010 to CIO 3019
CIO 3020 to CIO 3029
CIO 3030 to CIO 3039
CIO 3040 to CIO 3049
CIO 3050 to CIO 3059
CIO 3060 to CIO 3069
CIO 3070 to CIO 3079
Note
Up to 10 C200H Basic I/O Units can be mounted in a Slave Rack. One word
(16 bits) is allocated to each slot in the Slave Rack from left to right. Allocations are fixed by slot, e.g., if there is no Unit in a slot, the word normally allocated to that slot will not be used.
1.
Up to two Masters can be mounted for any one CPU Unit A maximum of 8
Slave Racks can be managed by one CPU Unit, regardless of whether one or two Masters are mounted.
2.
C200H Special I/O Units can also be mounted to Slave Racks, but they will be allocated words according to their unit number and will not be allocated
SYSMAC BUS Area words.
3.
SYSMAC BUS Units other than Slave Racks (such as I/O Terminals) can also be connected. These other Units are allocated words in the I/O Terminal Area. Refer to
9-13 I/O Terminal Area for details.
Wired or Optical Master Unit
CPU Unit
SYSMAC BUS Area
Wired or Optical
Slave Unit Wired or Optical
Slave Unit
Total length 200 m max.,
2 conductors
Slave Rack Slave Rack Slave Rack
431
I/O Terminal Area
1,2,3...
Section 9-13
1.
Ten words are allocated to each Rack based on the rack number set on the
Slave Unit.
2.
The ten words in each Rack are allocated to the slots in the Rack from left to right (one word/slot).
The contents of the SYSMAC BUS Area will be cleared in the following cases: SYSMAC BUS Area
Initialization
1,2,3...
IOM Hold Bit Operation
Forcing Bit Status
Note
1.
The operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
3.
The SYSMAC BUS Area is cleared from a Programming Device.
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the SYSMAC BUS Area will be retained when
FALS(007) is executed.)
If the IOM Hold BIt (A50012) is ON, the contents of the SYSMAC BUS Area won’t be cleared when a fatal error occurs or the operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the SYS-
MAC BUS Area won’t be cleared when the PLC’s power supply is cycled.
Bits in the SYSMAC BUS Area can be force-set and force-reset.
1.
A C200H Expansion I/O Rack can also be connected to a Remote I/O
Slave Rack. If that is done, then the C200H Expansion I/O Rack is counted as a Remote I/O Slave Rack and allocated the next unit number. The total number of Remote I/O Slave Racks is eight, of which only two can be
C200H Expansion I/O Racks.
2.
The addresses in the SYSMAC BUS Area cannot be designated directly in programming or allocations inside C200H Special I/O Units.
9-13 I/O Terminal Area
The I/O Terminal Area contains 32 words with addresses ranging from
CIO 3100 to CIO 3131. Words in the I/O Terminal Area can be allocated to
Slaves other than Slave Racks (such as I/O Interfaces, I/O Terminals, and
Optical I/O Units) connected to a Wired or Optical SYSMAC BUS Remote I/O
Master Units (C200H-RM201 or C200H-RM001-PV1). Up to two Masters can be mounted to the CPU Rack or a C200H Expansion I/O Rack. Up to 32
Slaves are allowed for each CPU Unit.
Each Slave is allocated 1 word based on its unit number setting (0 to 31) except for Optical I/O Units, which are allocated 2 words each. The words are allocated according to unit numbers even when two Master Units are being used.
0
1
Unit number Allocated word
CIO 3100
CIO 3101
31 CIO 3131
432
Work Area
Section 9-14
Both Slave Racks and SYSMAC BUS Slaves other than Slave Racks (such as
I/O Terminals) can be connected. Slave Racks are allocated words in the
SYSMAC BUS Area. Refer to
9-12 SYSMAC BUS Area for details.
Wired or Optical Master Unit
CPU Unit
I/O Terminal Area
Words are allocated to Slaves other than Slave Racks
(such as I/O Interfaces, I/O Terminals, and Optical I/O
Units) according to their unit numbers.
Note The addresses in the I/O Terminal Area cannot be designated directly in programming or allocations inside C200H Special I/O Units.
The contents of the I/O Terminal Area will be cleared in the following cases: I/O Terminal Area
Initialization
Forcing Bit Status
1,2,3...
IOM Hold Bit Operation
1.
The operating mode is changed from PROGRAM to RUN or MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
3.
The I/O Terminal Area is cleared from a Programming Device.
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the I/O Terminal Area will be retained when
FALS(007) is executed.)
If the IOM Hold BIt (A50012) is ON, the contents of the I/O Terminal Area won’t be cleared when a fatal error occurs or the operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the I/O
Terminal Area won’t be cleared when the PLC’s power supply is cycled.
Bits in the I/O Terminal Area can be force-set and force-reset.
9-14 Work Area
Work Area Initialization
The Work Area contains 512 words with addresses ranging from W000 to
W511. These words can be used only in the program as work words.
There are unused words in the CIO Area (CIO 1200 to CIO 1499 and
CIO 3800 to CIO 6143) that can also be used in the program, but use any available words in the Work Area first because the unused words in the CIO
Area may be allocated to new functions in future versions of CS-series CPU
Units.
The contents of the Work Area will be cleared in the following cases:
433
Holding Area
Section 9-15
Forcing Bit Status
1,2,3...
IOM Hold Bit Operation
1.
The operating mode is changed from PROGRAM to RUN or MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
3.
The Work Area is cleared from a Programming Device.
4.
PLC operation is stopped when a fatal error other than an FALS(007) error occurs. (The contents of the Work Area will be retained when FALS(007) is executed.)
If the IOM Hold BIt (A50012) is ON, the contents of the Work Area won’t be cleared when a fatal error occurs or the operating mode is changed from
PROGRAM mode to RUN/MONITOR mode or vice-versa.
If the IOM Hold BIt (A50012) is ON and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, the contents of the Work
Area won’t be cleared when the PLC’s power supply is cycled.
Bits in the Work Area can be force-set and force-reset.
Note The addresses in the Work Area cannot be designated directly in programming or allocations inside C200H Special I/O Units.
9-15 Holding Area
The Holding Area contains 512 words with addresses ranging from H000 to
H511 (bits H00000 to H51115). These words can be used only in the program.
Holding Area bits can be used in any order in the program and can be used as normally open or normally closed conditions as often as necessary.
Holding Area Initialization
Self-maintaining Bits
Data in the Holding Area is not cleared when the PLC’s power supply is cycled or the PLC’s operating mode is changed from PROGRAM mode to RUN or
MONITOR mode or vice-versa.
A Holding Area bit will be cleared if it is programmed between IL(002) and
ILC(003) and the execution condition for IL(002) is OFF. To keep a bit ON even when the execution condition for IL(002) is OFF, turn ON the bit with the
SET instruction just before IL(002).
When a self-maintaining bit is programmed with a Holding Area bit, the selfmaintaining bit won’t be cleared even when the power is reset.
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.
2.
If a Holding Area bit is used but not programmed as a self-maintaining bit as in the following diagram, the bit will be turned OFF by execution condition A when the power is reset.
434
Auxiliary Area
Precautions
Section 9-16
3.
The Function Block Holding Area words are allocated from H512 to H1535.
These words can be used only for the function block instance area (internally allocated variable area). These words cannot be specified as instruction operands in the user program.
When a Holding Area bit is used in a KEEP(011) instruction, never use a normally closed condition for the reset input if the input device uses an AC power supply. When the power supply goes OFF or is temporarily interrupted, the input will go OFF before the PLC’s internal power supply and the Holding Area bit will be reset.
Set input
Input
Unit
Reset input
Instead, use a configuration like the one shown below.
Input
Unit
Set input
Reset input
Note
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.
When designating addresses in programming or allocations inside C200H
Special I/O Units, “HR 00” to “HR 99” will actually specify H000 to H099 in the
CPU Unit and “AR 00” to “AR 27” will actually specify H100 to H127 in the
CPU Unit. Other addresses in this area cannot be specified inside the C200H
Special I/O Units.
9-16 Auxiliary Area
The Auxiliary Area contains 960 words with addresses ranging from A000 to
A959). These words are preassigned as flags and control bits to monitor and control operation.
A000 through A447 are read-only, but A448 through A959 can be read or written from the program or a Programming Device.
Note 1.
The addresses in the Auxiliary Area cannot be designated directly in programming or allocations inside C200H Special I/O Units.
2.
The undefined addresses of the Auxiliary Area may be allocated to functions in future version upgrades of the CPU Unit. Do not use these words as CIO Area words in the user program.
Forcing Bit Status
Bits in the Auxiliary Area cannot be force-set and force-reset continuously.
435
Auxiliary Area
Section 9-16
Writing Auxiliary Area Data
The following operations can be performed from a Programming Device to write data in the Auxiliary Area.
• Using the CX-Programmer: Online set/reset (not force-set/force-reset)
(except pre-version-1 CS1 CPU Units), changing present values when monitoring programming addresses (set values dialog box), or transferring data to the PLC after editing the PLC data tables. Refer to the CX-
Programmer User Manual (W446).
• Using a Programming Console: Temporarily force-setting/force-resetting bits from the Bit/Word Monitor or the 3-word Monitor operation (see Programming Consoles Operation Manual).
Functions
Power Interruption Disable
Setting (CS1-H CPU Units only)
The following table lists the functions of Auxiliary Area flags and control bits.
The table is organized according to the functions of the flags and bits. Some of these functions are not supported by some CPU Unit models and unit versions. For more details or to look up a bit by its address, refer to Appendix B
Auxiliary Area.
Initial Settings
Name
I/O Response Times in Basic
I/O Units
IOM Hold Bit
Address
A22000 to
A25915
A50012
Forced Status Hold BIt A50013
A530
Description
Contains the current I/O response times for CS-series Basic
I/O Units.
Access
Read-only
Determines whether the contents of I/O memory are retained when the PLC’s power is reset or the PLC’s operating mode is changed (from PROGRAM to RUN/MONITOR or vice-versa).
Turn ON this bit to maintain I/O memory when changing between PROGRAM and RUN or MONITOR mode.
Turn OFF this bit to clear I/O memory when changing the changing between PROGRAM and RUN or MONITOR mode.
Determines whether the status of force-set and force-reset bits is maintained when the PLC’s power is reset or the
PLC’s operating mode is changed (between PROGRAM and
RUN or MONITOR mode).
Set to A5A5 hex to disable power interrupts (except the
Power OFF Interrupt task) between DI(693) and EI(694) instructions.
Read/write
Read/write
Read/write
CPU Unit Settings
Name
Status of DIP Switch Pin 6
Address
A39512
Description
Contains the status set on pin 6 of the CPU Unit’s DIP switch. (Refreshed every cycle.)
Access
Read-only
Basic I/O Unit Settings
Name
Basic I/O Unit Status Area
Address
A05000 to
A08915
Description
Indicates whether fuses in Basic I/O Units are intact or blown. The flags correspond to rack 0, slot 0 through rack 7, slot 9.
Access
Read-only
436
Auxiliary Area
Section 9-16
CPU Bus Unit Flags/Bits
Name
CPU Bus Unit Initialization
Flags
CPU Bus Unit Restart Bits
Address
A30200 to
A30215
A50100 to
A50115
Description
These flags correspond to CPU Bus Units 0 to 15. A flag will be ON while the corresponding Unit is initializing after the power is turned ON or the Unit’s Restart Bit (in A501) is turned ON.
These bits correspond to CPU Bus Units 0 to 15. Turn a bit from OFF to ON to restart the corresponding Unit.
Access
Read-only
Read/write
Special I/O Unit Flags/Bits
Name
Special I/O Unit Initialization
Flags
Address
A33000 to
A33515
Special I/O Unit Restart Bits A50200 to
A50715
Description
These flags correspond to Special I/O Units 0 to 95. A flag will be ON while the corresponding Unit is initializing after the power is turned ON or the Unit’s Restart Bit is turned
ON. (Restart Bits A50200 to A50715 correspond to Units 0 to 95.)
Access
Read-only
These bits correspond to Special I/O Units 0 to 95. Turn a bit from OFF to ON to restart the corresponding Unit.
Read/write
Inner Board Flags/Bits
Name Address
Inner Board Monitoring Area A35500 to
A35915
Inner Board Restart Bit A60800
Description
The function of these words is defined in the Inner Board.
Turn the bit from OFF to ON to restart the corresponding
Inner Board.
Access
Read-only
Read/write
Flags for Programming
Name
First Cycle Flag
Address
A20011
Initial Task Execution Flag
Task Started Flag
(Not supported by
CS1 @-CPU@@(-V1) Units)
10-ms Incrementing Free
Running Timer
A20015
A20014
A000
Description
This flag is turned ON for one cycle when program execution starts (the operating mode is switched from PROGRAM to
RUN/MONITOR).
When a task switches from INI to RUN status for the first time, this flag will be turned ON within the task for one cycle only.
When a task switches from WAIT or INI to RUN status, this flag will be turned ON within the task for one cycle only.
The only difference between this flag and A20015 is that this flag also turns ON when the task switches from WAIT to
RUN status.
This word contains the system timer used after the power is turned ON.
0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every 10 ms. The value returns to 0000 hex after reaching FFFF hex (655,350 ms), and then continues to be automatically incremented by 1 every 10 ms.
Note: The timer will continue to be incremented when the operating mode is switched to RUN mode.
Example: The interval can be counted between processing
A and processing B without requiring timer instructions. This is achieved by calculating the difference between the value in A000 for processing A and the value in A000 for processing B. The interval is counted in 10 ms units.
Access
Read-only
Read-only
Read-only
Read-only
437
Auxiliary Area
Section 9-16
Name
100-ms Incrementing Free
Running Timer
1-s Incrementing Free
Running Timer
(Unit version 4.0 or later)
Address
A001
A002
Description
This word contains the system timer used after the power is turned ON.
0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every 100 ms. The value returns to 0000 hex after reaching FFFF hex (655,350 ms), and then continues to be automatically incremented by 1 every 10 ms.
Note: The timer will continue to be incremented when the operating mode is switched to RUN mode.
This word contains the system timer used after the power is turned ON.
0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every 1 s. The value returns to 0000 hex after reaching FFFF hex (65,535 s),
and then continues to be automatically incremented by 1 every 1 s.
Note: The timer will continue to be incremented when the operating mode is switched to RUN mode.
Access
Read-only
Read-only
Cycle Time Information
Name
Maximum Cycle Time
Address
A262 to
A263
Present Cycle Time
Peripheral Servicing Cycle
Time (Not supported by
CS1 @-CPU@@(-V1) Units)
A264 to
A265
A268
Description
These words contain the maximum cycle time in units of
0.1 ms. In a Parallel Processing Mode, the maximum cycle time of the program execution cycle will be given.
The time is updated every cycle and is recorded in 32-bit binary (0 to FFFF FFFF, or 0 to 429,496,729.5 ms). (A263 is the leftmost word.)
These words contain the present cycle time in units of
0.1 ms. In a Parallel Processing Mode, the maximum cycle time of the program execution cycle will be given. The time is updated every cycle and is recorded in 32-bit binary (0 to
FFFF FFFF, or 0 to 429,496,729.5 ms). (A265 is the leftmost word.)
In Parallel Processing with Synchronous or Asynchronous
Memory Access, this word contains the peripheral servicing cycle time in units of 0.1 ms. The time is updated every cycle and is recorded in 16-bit binary (0 to 4E20 hex, or 0.0 to
2,000.0 ms).
Access
Read-only
Read-only
Read-only
Task Information
Name
Task Number when Program
Stopped
Address
A294
Maximum Interrupt Task Processing Time
Interrupt Task with Max. Processing Time
A440
A441
IR/DR Operation between
Tasks (Not supported by
CS1 @-CPU@@(-V1) Units)
A09914
Description
This word contains the task number of the task that was being executed when program execution was stopped because of a program error.
Contains the Maximum Interrupt Task Processing Time in units of 0.1 ms.
Contains the task number of the interrupt task with the maximum processing time. Hexadecimal values 8000 to 80FF correspond to task numbers 00 to FF. Bit 15 is turned ON when an interrupt has occurred.
Turn ON this bit to share index and data registers between all tasks. Turn OFF this bit to use separate index and data registers between in each task.
Access
Read-only
Read-only
Read-only
Read-only
438
Auxiliary Area
Section 9-16
Debugging Information
■ Online Editing
Name
Online Editing Wait Flag
Address
A20110
Online Editing Processing
Flag
Online Editing Disable Bit Validator
Online Editing Disable Bit
A20111
A52700 to
A52707
A52709
Description
ON when an online editing process is waiting.
(An online editing request was received while online editing was disabled.)
ON when an online editing process is being executed.
Access
Read-only
Read-only
The Online Editing Disable Bit (A52709) is valid only when this byte contains 5A.
Turn this bit ON to disable online editing.
(A52700 to A52707 must be set to 5A.)
Read/write
Read/write
■ Output Control
Name
Output OFF Bit
Address
A50015
Description
Turn this bit ON to turn OFF all outputs from Basic I/O Units,
Output Units, and Special I/O Units.
Access
Read/write
■ Differentiate Monitor
Name
Differentiate Monitor Completed Flag
■ Data Tracing
Name
Sampling Start Bit
Address
A50809
Description
ON when the differentiate monitor condition has been established during execution of differentiation monitoring.
Access
Read/write
Trace Start Bit
Trace Busy Flag
Trace Completed Flag
Trace Trigger Monitor Flag
Address
A50815
A50814
A50813
A50812
A50811
Description
When a data trace is started by turning this bit from OFF to
ON from a Programming Device, the PLC will begin storing data in Trace Memory by one of the three following methods:
1) Periodic sampling (10 to 2,550 ms)
2) Sampling at execution of TRSM(045)
3) Sampling at the end of every cycle.
Turn this bit from OFF to ON to establish the trigger condition. The offset indicated by the delay value (positive or negative) determines which data samples are valid.
ON when the Sampling Start Bit (A50815) is turned from
OFF to ON. OFF when the trace is completed.
ON when sampling of a region of trace memory has been completed during execution of a Trace. OFF when the next time the Sampling Start Bit (A50815) is turned from OFF to
ON.
Access
Read/write
Read/write
Read/write
Read/write
ON when a trigger condition is established by the Trace Start
Bit (A50814). OFF when the next Data Trace is started by the Sampling Start bit (A50815).
Read/write
File Memory Information
Name
Memory Card Type
Address
A34300 to
A34302
A34307 Memory Card Format Error
Flag
File Transfer Error Flag
File Write Error Flag
A34308
A34309
File Read Error A34310
Description
Indicates the type of Memory Card, if any, installed.
Access
Read-only
ON when the Memory Card is not formatted or a formatting error has occurred.
Read-only
ON when an error occurred while writing data to file memory. Read-only
ON when data cannot be written to file memory because it is write-protected or the data exceeds the capacity of the file memory.
Read-only
ON when a file could not be read because of a malfunction
(file is damaged or data is corrupted).
Read-only
439
Auxiliary Area
Section 9-16
Flag
Name
File Missing Flag
File Memory Operation Flag
Memory Card Detected Flag
(Not supported by pre-V @
CS1 CPU Units.)
Number of Items to
Transfer
Accessing File Data Flag
EM File Memory Format Error
EM File Memory Starting
Bank
Program Index File Flag
Comment File Flag
Symbol Table File Flag
File Deletion Flags
Address
A34311
A34313
A34315
A346 to
A347
A34314
A34306
A344
A34501
A34502
A34503
A39506
A39507
Description
ON when an attempt is made to read a file that doesn’t exist, or an attempt is made to write to a file in a directory that doesn’t exist.
ON while any of the following operations is being executed.
OFF when none of them are being executed.
Memory Card detection started.
CMND instruction sending a FINS command to the local
CPU Unit.
FREAD/FWRIT instructions.
Program replacement using the control bit in the Auxiliary
Area.
Easy backup operation.
If this flag is ON, write and comparison operations to the
Memory Card cannot be executed.
ON when a Memory Card has been detected.
OFF when a Memory Card has not been detected.
Access
Read-only
Read-only
Read-only
These words contain the number of words or fields remaining to be transferred (8-digit hexadecimal).
For binary files (.IOM), the value is decremented for each word that is read. For text (.TXT) or CSV (.CSV) data, the value is decremented for each field that is read.
ON while file data is being accessed.
Turns ON when a format error occurs in the first EM bank allocated for file memory.
Turns OFF when formatting is completed normally.
Contains the starting bank number of EM file memory (bank number of the first formatted bank).
This number is read when starting to write data from a Memory Card. If the largest bank number for which there is an
EM file for simple backup (BACKUPE @.IOM, where represents consecutive bank numbers) is the same as the largest bank number supported by the CPU Unit, the EM Area will be formatted as file memory using the value in A344. If the maximum bank numbers are different, the EM Area will be returned to it’s unformatted (not file memory) status.
Turns ON when the comment memory contains a program index file.
0: No file
1: File present
Turns ON when the comment memory contains a comment file.
0: No file
1: File present
Read-only
Read-only
Read-only
Read-only
Read-only
Turns ON when the comment memory contains a symbol table file.
0: No file
1: File present
The system automatically deleted the remainder of an EM file memory file that was being updated when a power interruption occurred.
The system automatically deleted the remainder of a Memory Card file that was being updated when a power interruption occurred.
Read-only
Read-only
440
Auxiliary Area
Section 9-16
Name
Simple Backup Write Capacity A397
Program Replacement End
Code (Not supported by pre-
V @ CS1 CPU Units.)
A65000 to
A65007
Replacement Error Flag (Not supported by pre-V1 CS1
CPU Units.)
Replacement Start Bit
(Not supported by pre-V
CS1 CPU Units.)
@
Address
A65014
A65015
Description
If a write for a simple backup operation fails, A397 will contain the Memory Card capacity that would have been required to complete the write operation. The value is in
Kbytes. (This indicates that the Memory Card did not have the specified capacity when the write operation was started.)
0001 to FFFF hex: Write error (value indicates required capacity from 1 to 65,535 Kbytes).
A397 will be cleared to 0000 hex when the write is completed successfully for a simple backup operation.
Access
Read-only
Normal End (i.e., when A65014 is OFF)
01 hex: Program file (.OBJ) replaced.
Error End (i.e., when A65014 is ON)
00 hex: Fatal error
01 hex: Memory error
11 hex: Write-protected
12 hex: Program replacement password error
21 hex: No Memory Card
22 hex: No such file
23 hex: Specified file exceeds capacity (memory error).
31 hex: One of the following in progress:
File memory operation
User program write
Operating mode change
ON when the Replacement Start Bit (A65015) has been turned ON to replace the program, but there is an error. If the Replacement Start Bit is turned ON again, the Replacement Error Flag will be turned OFF.
Read-only
Read/write
Program replacement starts when the Replacement Start Bit is turned ON if the Program Password (A651) is valid (A5A5 hex). Do not turn OFF the Replacement Start Bit during program replacement.
When the power is turned ON or program replacement is completed, the Replacement Start Bit will be turned OFF, regardless of whether replacement was completed normally or in error.
It is possible to confirm if program replacement is being executed by reading the Replacement Start Bit using a Programming Device, PT, or host computer.
Read/write
441
Auxiliary Area
Section 9-16
Name
Program Password
(Not supported by pre-V @
CS1 CPU Units.)
Program File Name
(Not supported by pre-V @
CS1 CPU Units.)
Address
A651
A654 to
A657
Description
Store the password to replace a program.
A5A5 hex: Replacement Start Bit (A65015) is enabled.
Any other value: Replacement Start Bit (A65015) is disabled.
When the power is turned ON or program replacement is completed, the Replacement Start Bit will be turned OFF, regardless of whether replacement was completed normally or in error.
When program replacement starts, the program file name will be stored in ASCII. File names can be specified up to eight characters in length excluding the extension.
File names are stored in the following order: A654 to A657
(i.e., from the lowest word to the highest), and from the highest byte to the lowest. If a file name is less than eight characters, the lowest remaining bytes and the highest remaining word will be filled with spaces (20 hex). Null characters and space characters cannot be used within file names.
Example: File name is ABC.OBJ
Access
Read/write
Read/write
442
Auxiliary Area
Section 9-16
Program Error Information
Name
Program Error Flag
(Fatal error)
Program Error Task
Address
A40109
A294
Instruction Processing Error
Flag
Indirect DM/EM BCD Error
Flag
Illegal Access Error Flag
No END Error Flag
Task Error Flag
Differentiation Overflow Error
Flag
Illegal Instruction Error Flag
A29513
A29514
UM Overflow Error Flag
Program Address Where
Program Stopped
A29508
A29509
A29510
A29511
A29512
A29515
A298 and
A299
Description
ON when program contents are incorrect. CPU Unit operation will stop.
Access
Read-only
Provides the type and number of the tack that was being executed when program execution stops as a result of a program error.
Read-only
Read-only This flag and the Error Flag (ER) will be turned ON when an instruction processing error has occurred and the PLC
Setup has been set to stop operation for an instruction error.
This flag and the Access Error Flag (AER) will be turned ON when an indirect DM/EM BCD error has occurred and the
PLC Setup has been set to stop operation an indirect
DM/EM BCD error.
This flag and the Access Error Flag (AER) will be turned ON when an illegal access error has occurred and the PLC
Setup has been set to stop operation an illegal access error.
ON when there isn’t an END(001) instruction in each program within a task.
Read-only
Read-only
Read-only
ON when a task error has occurred. The following conditions will generate a task error.
1) There isn’t an executable cyclic task.
2) There isn’t a program allocated to the task.
Read-only
Read-only ON when the specified Differentiation Flag Number exceeds the allowed value.
ON when a program that cannot be executed has been stored.
ON when the last address in UM (user program memory) has been exceeded.
Read-only
Read-only
These words contain the 8-digit hexadecimal program address of the instruction where program execution was stopped due to a program error.
(A299 contains the leftmost digits.)
Read-only
Error Information
■ Error Log, Error Code
Name
Error Log Area
Error Log Pointer
Error Log Pointer Reset Bit
Error Code
Address
A100 to
A199
A300
A50014
A400
Description Access
When an error has occurred, the error code, error contents, and error’s time and date are stored in the Error Log Area.
When an error occurs, the Error Log Pointer is incremented by 1 to indicate the location where the next error record will be recorded as an offset from the beginning of the Error Log
Area (A100).
Read-only
Read-only
Turn this bit ON to reset the Error Log Pointer (A300) to 00.
Read/write
When a non-fatal error (user-defined FALS(006) or system error) or a fatal error (user-defined FALS(007) or system error) occurs, the 4-digit hexadecimal error code is written to this word.
Read-only
443
Auxiliary Area
Section 9-16
■ FAL/FALS Error Information
Name
FAL Error Flag
(Non-fatal error)
Address
A40215
Executed FAL Number Flags A360 to
A391
FALS Error Flag
(Fatal error)
FAL/FALS Number for System Error Simulation
(Not supported by
CS1 @-CPU@@(-V1) Units)
A40106
A053
Description
ON when a non-fatal error is generated by executing
FAL(006).
The flag corresponding to the specified FAL number will be turned ON when FAL(006) is executed. Bits A36001 to
A39115 correspond to FAL numbers 001 to 511.
Access
Read-only
Read-only
ON when a fatal error is generated by the FALS(007) instruction.
Set a dummy FAL/FALS number to use to simulate the system error using FAL(006) or FALS(007).
0001 to 01FF hex: FAL/FALS numbers 1 to 511
0000 or 0200 to FFFF hex: No FAL/FALS number for system error simulation. (No error will be generated.)
Read-only
Read/write
■ Memory Error Information
Name
Memory Error Flag
(Fatal error)
Memory Error Location
Startup Memory Card Transfer
Error Flag
Flash Memory Error
(Not supported by
CS1 @-CPU@@(-V1) Units)
Address
A40115
A40300 to
A40308
A40309
A40310
Description
ON when an error occurred in memory or there was an error in automatic transfer from the Memory Card when the power was turned ON.
The ERR/ALM indicator on the front of the CPU Unit will light and CPU Unit operation will stop when this flag turns ON.
If the automatic data transfer at startup fails, A40309 will be turned ON. If an error occurs in automatic transfer at startup, this error cannot be cleared.
When a memory error occurs, the Memory Error Flag
(A40115) is turned ON and one of the following flags is turned ON to indicate the memory area where the error occurred.
A40300: User program
A40304: PLC Setup
A40305: Registered I/O Table
A40307: Routing Table
A40308: CS-series CPU Bus Unit Settings
ON when an error occurs in automatically transferring a file from the Memory Card to the CPU Unit at startup, including when a file is missing or a Memory Card is not mounted.
The error can be cleared by turning OFF the power. (This error cannot be cleared while the power is ON.)
Turns ON when the flash memory fails.
Access
Read-only
Read-only
Read-only
Read-only
■ PLC Setup Error Information
Name
PLC Setup Error Flag
(Non-fatal error)
PLC Setup Error Location
Address
A40210
A406
Description
ON when there is a setting error in the PLC Setup.
Access
Read-only
When there is a setting error in the PLC Setup, the location of that error is written to A406 in 4-digit hexadecimal. The location is given as the address set on the Programming
Console.
Read-only
444
Auxiliary Area
Section 9-16
■ Interrupt Task Error Information
Name
Interrupt Task Error Flag
(Non-fatal error)
Address
A40213
A42615
Description
ON when the Detect Interrupt Task Errors setting in the PLC
Setup is set to “Detect” and one of the following occurs.
IORD(222) or IOWR(223) in a cyclic task are competing with
IORD(222) or IOWR(223) in an interrupt task.
An interrupt task is executed for more than 10 ms during I/O refreshing of a C200H Special I/O Unit or a SYSMAC BUS
I/O Unit.
IORD(222) or IOWR(223) was executed in an interrupt task when I/O was being refreshed.
Indicates the cause of an Interrupt Task Error.
Access
Read-only
Read-only Interrupt Task Error Cause
Flag
Interrupt Task Error, Task
Number
A42600 to
A42611
The function of these bits depends upon the status of
A42615 (the Interrupt Task Error Cause Flag).
A42615 OFF:
Contains the interrupt task number when an interrupt task was executed for more than 10 ms during I/O refreshing of a
C200H Special I/O Unit or a SYSMAC BUS Remote I/O Unit.
A42615 ON:
Contains the Special I/O Unit’s unit number when an attempt was made to refresh a Special I/O Unit’s I/O from an interrupt task with IORF(097) while the Unit’s I/O was being refreshed by cyclic I/O refreshing (duplicate refreshing).
Read-only
■ I/O Information
Name
Basic I/O Unit Error Flag
(Non-fatal error)
Basic I/O Unit Error, Slot
Number
Basic I/O Unit Error, Rack
Number
I/O Setting Error Flag
(Fatal error)
I/O Verification Error Flag
(Non-fatal error)
Expansion I/O Rack Number
Duplication Flags
Too Many I/O Points Flag
(Fatal error)
Address
A40212
A40800 to
A40807
A40808 to
A40815
A40110
A40209
A40900 to
A40907
A40111
Description
ON when an error has occurred in a Basic I/O Unit (including
C200H Group-2 High-density I/O Units and C200H Interrupt
Input Units).
Access
Read-only
Read-only Contains the binary slot number where the error occurred when an error has occurred in a Basic I/O Unit (including
C200H Group-2 High-density I/O Units and C200H Interrupt
Input Units).
Contains the binary rack number where the error occurred when an error has occurred in a Basic I/O Unit (including
C200H Group-2 High-density I/O Units and C200H Interrupt
Input Units).
ON when an Input Unit has been installed in an Output
Unit’s slot or vice-versa, so the Input and Output Units clash in the registered I/O table.
ON when a Basic I/O Unit registered in the I/O Table does not match the Basic I/O Unit actually installed in the PLC because a Unit was added or removed.
Read-only
Read-only
Read-only
The corresponding flag will be turned ON when an Expansion I/O Rack’s starting word address was set from a Programming Device and two Racks have overlapping word allocations or a Rack’s starting address exceeds CIO 0901.
Bits 00 to 07 correspond to Racks 0 to 7.
ON when the number of I/O points being used in Basic I/O
Units exceeds the maximum allowed for the PLC.
Read-only
Read-only
445
Auxiliary Area
Section 9-16
Name Address
Too Many I/O Points, Details A40700 to
A40712
Too Many I/O Points, Cause A40713 to
A40715
I/O Bus Error Flag
(Fatal error)
I/O Bus Error Slot Number
I/O Table Errors
(Not supported by
CS1 @-CPU@@(-V1) Units)
A40114
A40400 to
A40407
A26100
A26102
A26103
A26104
A26106
A26107
A26109
Description
The 6 possible causes of the Too Many I/O Points Error are listed below. The 3-digit binary value in A40713 to A40715 indicates the cause of the error. (The causes corresponding to values 0 to 5 are listed below.)
The 13-bit binary value in A40700 to A40712 indicates the details: the excessive value or the duplicated unit number.
The number of I/O points will be written here when the total number of I/O points set in the I/O Table (excluding Slave
Racks) exceed the maximum allowed for the CPU Unit.
The number of interrupt inputs will be written here when there are more than 32 interrupt inputs.
The unit number of the Slave Unit will be written here when a unit number is duplicated or the number of I/O points on a
C500 Slave Unit exceeds 320.
The unit number of the I/O Terminal (excluding Slave Racks) will be written here when a unit number is duplicated
The unit number of the Master Unit will be written here when a unit number is duplicated or the unit number is outside of the allowed setting range.
The number of Racks will be written here when the number of Expansion I/O Racks exceeds the maximum.
These three bits indicate the cause of the Too Many I/O
Points Error. (See A40700 to A40712.)
000 (0): Too many I/O points.
001 (1): Too many Interrupt Input points.
010 (2): Slave Unit’s unit number duplicated or the number of I/O points on a C500 Slave Unit exceeds 320.
011 (3): I/O Terminal’s unit number duplicated.
100 (4): Master Unit’s unit number duplicated or unit number is out-of-range (not 0 or 1).
101 (5): Too many Expansion Racks connected.
110 (6): The unit number of the Remote I/O Master Unit is 4,
6, or 7, or an Special I/O Unit’s unit number cannot be detected.
ON when an error occurs in a data transfer between the
CPU Unit and a Unit mounted to a slot.
Contains the 8-bit binary slot number (00 to 09) where an
I/O Bus Error occurred.
ON: Error in CPU Bus Unit Setup
Turns OFF when I/O tables are generated normally.
ON: Overflow in maximum number of I/O points.
Turns OFF when I/O tables are generated normally.
ON: The same unit number was used more than once.
Turns OFF when I/O tables are generated normally.
ON: I/O bus error
Turns OFF when I/O tables are generated normally.
ON: SYSMAC BUS detection ended in an error.
Turns OFF when I/O tables are generated normally.
ON: Error in a Special I/O Unit
Turns OFF when I/O tables are generated normally.
ON: I/O detection has not been completed.
Turns OFF when I/O tables are generated normally.
Access
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
446
Auxiliary Area
Section 9-16
Name
I/O Bus Error Rack Number
Duplication Error Flag
(Fatal error)
Address
A40408 to
A40415
A40113
Description
Contains the 8-bit binary rack number (00 to 07) where an
I/O Bus Error occurred.
ON in the following cases:
Two CPU Bus Units have been assigned the same unit number.
Two Special I/O Units have been assigned the same unit number.
Two Basic I/O Units have been allocated the same data area words.
The same rack number is set for more than one Expansion
Rack.
Access
Read-only
Read-only
■ CPU Bus Unit Information
Name
CPU Bus Unit Number Duplication Flags
Address
A410
CPU Bus Unit Error, Unit
Number Flags
CPU Bus Unit Setting Error,
Unit Number Flags
CPU Bus Unit Setting Error
Flag
(Non-fatal error)
CPU Bus Unit Error Flag
(Non-fatal error)
A417
A427
A40203
A40207
Description
The Duplication Error Flag (A40113) and the corresponding flag in A410 will be turned ON when a CPU Bus Unit’s unit number has been duplicated.
Bits 00 to 15 correspond to unit numbers 0 to F.
Access
Read-only
When an error occurs in a data exchange between the CPU
Unit and a CPU Bus Unit, the CPU Bus Unit Error Flag
(A40207) and the corresponding flag in A417 are turned ON.
Bits 00 to 15 correspond to unit numbers 0 to F.
When a CPU Bus Unit Setting Error occurs, A40203 and the corresponding flag in A27 are turned ON.
Bits 00 to 15 correspond to unit numbers 0 to F.
ON when an installed CPU Bus Unit does not match the
CPU Bus Unit registered in the I/O table.
Read-only
Read-only
Read-only
ON when an error occurs in a data exchange between the
CPU Unit and a CPU Bus Unit (including an error in the CPU
Bus Unit itself).
Read-only
■ Special I/O Unit Information
Name
Special I/O Unit Number
Duplication Flags
Address
A41100 to
A41615
Description
The Duplication Error Flag (A40113) and the corresponding flag in A411 through A416 will be turned ON when a Special
I/O Unit’s unit number has been duplicated. (Bits A41100 to
A41615 correspond to unit numbers 0 to 95.)
ON when an installed Special I/O Unit does not match the
Special I/O Unit registered in the I/O table.
Access
Read-only
Read-only Special I/O Unit Setting Error
Flag
(Non-fatal error)
Special I/O Unit Setting Error,
Unit Number Flags
Special I/O Unit Error Flag
(Non-fatal error)
Special I/O Unit Error, Unit
Number Flags
A40202
A42800 to
A43315
A40206
A41800 to
A42315
When a Special I/O Unit Setting Error occurs, A40202 and the corresponding flag in these words are turned ON. (Bits
A42800 to A43315 correspond to unit numbers 0 to 95.)
ON when an error occurs in a data exchange between the
CPU Unit and a Special I/O Unit (including an error in the
Special I/O Unit itself).
Read-only
Read-only
When an error occurs in a data exchange between the CPU
Unit and a Special I/O Unit, the Special I/O Unit Error Flag
(A40206) and the corresponding flag in these words are turned ON. (Bits A42800 to A43315 correspond to unit numbers 0 to 95.)
Read-only
447
Auxiliary Area
Section 9-16
■ Inner Board Information
Name
Inner Board Error Flag
(Non-fatal error)
Inner Board Error
Information
Address
A40208
A424
A40112
Description
ON when an error occurs in a data exchange between the
CPU Unit and the Inner Board (including an error in the Inner
Board itself).
Access
Read-only
When an error occurs in a data exchange between the CPU
Unit and the Inner Board, the Inner Board Error Flag
(A40208) and the appropriate error code will be written to
A424.
ON when there is an Inner Board Error (watchdog timer error).
Read-only
Read-only Inner Board Stopped Error
Flag (Fatal error)
■ SYSMAC BUS Remote I/O Information
Flags
Start-up
Name
SYSMAC BUS Error Flag
(Non-fatal error)
SYSMAC BUS Master Error
Slave Number of
SYSMAC BUS Error After
SYSMAC BUS Slave Number
Refresh Bit
Address
A40205
A40500 to
A40501
A42504 to
A42506
A42504 only
A42508 to
A42515
A50900
Description
ON when an error occurs in a data transfer in the SYSMAC
BUS system. The number of the Master involved is indicated with bits A40500 and A40501.
When a transmission error occurs in the SYSMAC BUS system, the flag for the affected Master Unit will be turned ON.
A40500: Flag for Master Unit #0
A40501: Flag for Master Unit #1
When there is an error in a Slave Rack, these bits contain the Slave’s unit number.
Access
Read-only
Read-only
Read-only
When there is an error in an Optical I/O Unit (excluding
Slave Racks), the status of A42504 (0 or 1) indicates whether the Unit is low or high.
When there is an error in a Slave Rack, this byte contains the 2-digit hexadecimal unit number of the Master to which the Slave is connected.
(0xB0 for Master Unit 0, 0xB1 for Master Unit 1)
When there is an error in an Optical I/O Unit, this byte contains its 2-digit hexadecimal unit number (00 to 1F, or 0 to 31 decimal).
Turn this bit ON to refresh the error information in A425 (unit number of Slave where error occurred after startup).
Read-only
Read-only
Read-only
Read/write
■ PLC Link Information
Name
PLC Link Operating Level
Flags
Address
A44211
A44212
Description
These flags indicate whether a PLC Link Unit is mounted to the PLC and the PLC Link Unit’s operating level.
ON when the Unit is in operating level #1.
These flags indicate whether a PLC Link Unit is mounted to the PLC and the PLC Link Unit’s operating level.
ON when the Unit is in operating level #0.
Access
Read-only
Read-only
448
Auxiliary Area
Section 9-16
■ Other PLC Operating Information
Name
Battery Error Flag
(Non-fatal error)
Address
A40204
Cycle Time Too Long Flag
(Fatal error)
Peripheral Servicing Too Long
Flag (Not supported by
CS1 @-CPU@@(-V1) Units)
FPD Teaching Bit
Memory Backup Battery Failure Flag
A40108
A40515
A59800
A39511
Description
ON if the CPU Unit’s battery is disconnected or its voltage is low and the PLC Setup has been set to detect this error.
(Detect Low Battery)
Access
Read-only
ON if the cycle time exceeds the maximum cycle time set in the PLC Setup. In the Parallel Processing Modes, the program execution cycle time will be used. (Watch Cycle Time)
Read-only
Turns ON when the peripheral servicing time in a Parallel
Processing Mode exceeds 2 s. This will also cause a cycle time error and operation will stop.
Turn this bit ON to set the monitoring time in FPD(269) automatically with the teaching function.
Data from the I/O memory areas that are maintained when power is turned OFF (HR, DM, etc.) are backed up with a
Battery. A39511 turns ON if the Battery voltage drops and the data can no longer be maintained. The data in the I/O memory will not be dependable when this happens.
Read-only
Read/write
Read-only
Clock
■ Clock Information
Name
Clock Data
Address Description Access
The clock data from the clock built into the CPU Unit is stored here in BCD. Read-only
A35100 to
A35107
Seconds: 00 to 59 (BCD) Read-only
Minutes: 00 to 59 (BCD) Read-only A35108 to
A35115
A35200 to
A35207
A35208 to
A35215
A35300 to
A35307
A35308 to
A35315
A35400 to
A35407
Hour: 00 to 23 (BCD)
Day of the month: 01 to 31 (BCD)
Month: 01 to 12 (BCD)
Year: 00 to 99 (BCD)
Day of the week: 00: Sunday, 01: Monday,
02: Tuesday, 03: Wednesday, 04: Thursday,
05: Friday, 06: Saturday
Read-only
Read-only
Read-only
Read-only
Read-only
The internal clock time is saved in the above words in the Auxiliary Area once every few cycles. For details on internal clock accuracy, refer to
449
Auxiliary Area
Section 9-16
■ Operation Start and End Times
Name
Operation Start Time
Address
A515 to
A517
Operation End Time A518 to
A520
Description
The time that operation started as a result of changing the operating mode to RUN or MONITOR mode is stored here in
BCD.
A51500 to A51507: Seconds (00 to 59)
A51508 to A51515: Minutes (00 to 59)
A51600 to A51607: Hour (00 to 23)
A51608 to A51615: Day of month (01 to 31)
A51700 to A51707: Month (01 to 12)
A51708 to A51715: Year (00 to 99)
Note: The previous start time is stored after turning ON the power supply until operation is started.
The time that operation stopped as a result of changing the operating mode to PROGRAM mode is stored here in BCD.
A51800 to A51807: Seconds (00 to 59)
A51808 to A51815: Minutes (00 to 59)
A51900 to A51907: Hour (00 to 23)
A51908 to A51915: Day of month (01 to 31)
A52000 to A52007: Month (01 to 12)
A52008 to A52015: Year (00 to 99)
Note: If an error occurs in operation, the time of the error will be stored. If the operating mode is then changed to PRO-
GRAM mode, the time that PROGRAM mode was entered will be stored.
Access
Read/write
Read/write
■ Power Supply ON/OFF Time Information
Name
Startup Time
Address
A510 and
A511
Power Interruption Time
Number of Power
Interruptions
Total Power ON Time
Power ON Clock Data 1 (See note.)
A512 and
A513
A514
A523
A720 to
A722
Description
These words contain the time (in BCD) at which the power was turned ON. The contents are updated every time that the power is turned ON.
A51000 to A51007: Seconds (00 to 59)
A51008 to A51015: Minutes (00 to 59)
A51100 to A51107: Hour (00 to 23)
A51108 to A51115: Day of the month (01 to 31)
These words contain the time (in BCD) at which the power was interrupted. The contents are updated every time that the power is interrupted.
A51200 to A51207: Seconds (00 to 59)
A51208 to A51215: Minutes (00 to 59)
A51300 to A51307: Hour (00 to 23)
A51308 to A51315: Day of month (01 to 31)
Contains the number of times (in binary) that power has been interrupted since the power was first turned on. To reset this value, overwrite the current value with 0000.
Contains the total time (in binary) that the PLC has been on in 10-hour units. The data is stored is updated every 10 hours. To reset this value, overwrite the current value with
0000.
Access
Read/write
Read/write
Read/write
Read/write
These words contain the startup date/time (the same time as the startup time stored in words A510 to A511 as well as the month and year information) for the last time that power was turned ON. The data is BCD.
A72000 to A72007: Seconds (00 to 59)
A72008 to A72015: Minutes (00 to 59)
A72100 to A72107: Hour (00 to 23)
A72108 to A72115: Day of month (01 to 31)
A72200 to A72207: Month (01 to 12)
A72208 to A72215: Year (00 to 99)
Read/write
450
Auxiliary Area
Section 9-16
Name
Power ON Clock Data 2 (See note.)
Address
A723 to
A725
Power ON Clock Data 3 (See note.)
A726 to
A728
Power ON Clock Data 4 (See note.)
A729 to
A731
Power ON Clock Data 5 (See note.)
A732 to
A734
Power ON Clock Data 6 (See note.)
A735 to
A737
Power ON Clock Data 7 (See note.)
A738 to
A740
Power ON Clock Data 8 (See note.)
A741 to
A743
Power ON Clock Data 9 (See note.)
A744 to
A746
Power ON Clock Data 10 (See note.)
A747 to
A749
Description
These words contain the startup time/date for the second-tolast time that power was turned ON.
The data is BCD and the storage format is the same as words A720 to A722.
These words contain the startup time/date for the third-tolast time that power was turned ON.
The data is BCD and the storage format is the same as words A720 to A722.
These words contain the startup time/date for the fourth-tolast time that power was turned ON.
The data is BCD and the storage format is the same as words A720 to A722.
Access
Read/write
Read/write
Read/write
These words contain the startup time/date for the fifth-to-last time that power was turned ON.
The data is BCD and the storage format is the same as words A720 to A722.
These words contain the startup time/date for the sixth-tolast time that power was turned ON.
The data is BCD and the storage format is the same as words A720 to A722.
These words contain the startup time/date for the seventhto-last time that power was turned ON.
The data is BCD and the storage format is the same as words A720 to A722.
These words contain the startup time/date for the eighth-tolast time that power was turned ON.
The data is BCD and the storage format is the same as words A720 to A722.
These words contain the startup time/date for the ninth-tolast time that power was turned ON.
The data is BCD and the storage format is the same as words A720 to A722.
These words contain the startup time/date for the tenth-tolast time that power was turned ON.
The data is BCD and the storage format is the same as words A720 to A722.
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Note Supported only by unit version 3.0 or later.
451
Auxiliary Area
Section 9-16
■ User Data Revision Times
Name
User Program Date
(Not supported by
CS1 @-CPU@@(-V1) Units)
Address
A090 to
A093
Parameter Date
(Not supported by
CS1 @-CPU@@(-V1) Units)
A094 to
A097
Description
These words contain in BCD the date and time that the user program was last overwritten.
A09000 to A09007: Seconds (00 to 59)
A09008 to A09015: Minutes (00 to 59)
A09100 to A09107: Hour (00 to 23)
A09108 to A09115: Day of month (01 to 31)
A09200 to A09207: Month (01 to 12)
A09208 to A09215: Year (00 to 99)
A09308 to A09307: Day of the week
(00: Sunday, 01: Monday, 02: Tuesday, 03: Wednesday, 04:
Thursday, 05: Friday, 06: Saturday)
These words contain in BCD the date and time that the parameters were last overwritten.
A09400 to A09407: Seconds (00 to 59)
A09408 to A09415: Minutes (00 to 59)
A09500 to A09507: Hour (00 to 23)
A09508 to A09515: Day of month (01 to 31)
A09600 to A09607: Month (01 to 12)
A09608 to A09615: Year (00 to 99)
A09708 to A09707: Day of the week
(00: Sunday, 01: Monday, 02: Tuesday, 03: Wednesday, 04:
Thursday, 05: Friday, 06: Saturday)
Access
Read-only
Read-only
Information on Read Protection Using a Password
Name
UM Read Protection Flag
Task Read Protection Flag
Program Write Protection for
Read Protection
Enable/Disable Bit for Program Backup
Address
A09900
A09901
A09902
A09903
Description
Indicates whether the entire user program in the PLC is read-protected.
0: UM not read-protected.
1: UM read-protected.
Indicates whether read protection is set for individual tasks.
0: Tasks not read-protected.
1: Tasks read-protected.
Indicates whether the program is write-protected.
0: Write-enabled.
1: Write-protected.
Indicates whether creating a backup program file (.OBJ) is enabled or disabled.
0: Enabled.
1: Disabled.
Access
Read-only
Read-only
Read-only
Read-only
452
Auxiliary Area
Section 9-16
Communications
■ Network
Network Communications Information
Name
Communications Port Enabled
Flags
Address
A20200 to
A20207
Communications Port Completion Codes
Communications Port Error
Flags
A203 to
A210
A21900 to
A21907
Description
ON when a network instruction (SEND(090), RECV(098),
CMND(490), or PMCR(260)) can be executed with the corresponding port number or background execution can be executed with the corresponding port number (CS1-H CPU
Units only). Bits 00 to 07 correspond to communications ports 0 to 7.
When the simple backup operation is used to performed a write or compare operation for a Memory Card on a CS1-H
CPU Unit, a communications port will be automatically allocated, and the corresponding flag will be turned ON during the operation and turned OFF when the operation has been completed.
Access
Read-only
These words contain the completion codes for the corresponding port numbers when network instructions
(SEND(090), RECV(098), CMND(490), or PMCR(260)) have been executed. The contents will be cleared when background execution has been completed (for CS1-H CPU
Unit only). Words A203 to A210 correspond to communications ports 0 to 7.
When the simple backup operation is used to performed a write or compare operation for a Memory Card on a CS1-H
CPU Unit, a communications port will be automatically allocated, and a completion code will be stored in the corresponding word.
Read-only
ON when an error occurred during execution of a network instruction (SEND(090), RECV(098), CMND(490), or
PMCR(260)). Turns OFF then execution has been finished normally. Bits 00 to 07 correspond to communications ports
0 to 7.
When the simple backup operation is used to performed a write or compare operation for a Memory Card on a CS1-H
CPU Unit, a communications port will be automatically allocated. The corresponding flag will be turned ON if an error occurs and will be turned OFF if the simple backup operation ends normally.
Read-only
453
Auxiliary Area
Section 9-16
Name
Network Communications
Port Allocation Enabled Flag
First Cycle Flags after Network Communications Finished
First Cycle Flags after Network Communications Error
Network Communications
Completion Code Storage
Address
Used Communications Port
Numbers
Auxiliary Area Bits and Words Used when Automatically Allocating
Communications Ports
Address
A20215
A21400 to
A21407
A21500 to
A21507
A216 to
A217
A218
Description
ON when there is a communications port available for automatic allocation.
Note: Use this flag to confirm whether a communications port is available for automatic allocation before executing communications instructions when using 9 or more communications instructions simultaneously.
Each flag will turn ON for just one cycle after communications have been completed. Bits 00 to 07 correspond to ports 0 to 7. Use the Used Communications Port Number stored in A218 to determine which flag to access.
Note: These flags are not effective until the next cycle after the communications instruction is executed. Delay accessing them for at least one cycle.
Each flag will turn ON for just one cycle after a communications error occurs. Bits 00 to 07 correspond to ports 0 to 7.
Use the Used Communications Port Number stored in A218 to determine which flag to access. Determine the cause of the error according to the Communications Port Completion
Codes stored in A203 to A210.
Note: These flags are not effective until the next cycle after the communications instruction is executed. Delay accessing them for at least one cycle.
The completion code for a communications instruction is automatically stored at the address with the I/O memory address given in these words. Place this address into an index register and use indirect addressing through the index register to read the communications completion code.
Stores the communications port numbers used when a communications instruction is executed using automatic communication port allocations.
0000 to 0007 hex: Communications port 0 to 7
Access
Read-only
Read-only
Read-only
Read-only
Read-only
454
Auxiliary Area
Section 9-16
Name
Explicit Communications Error
Flag
Network Communications
Error Flag
Network Communications
Response Code
Information on Explicit Message Instructions
Address
A21300 to
A21307
A21900 to
A21907
A203 to
A210
Description
Turn ON when an error occurs in executing an Explicit Message Instruction (EXPLT(720), EGATR(721), ESATR(722),
ECHRD(723), or ECHWR(724)).
Bits 00 to 07 correspond to communications ports 0 to 7.
The corresponding bit will turn ON both when the explicit message cannot be sent and when an error response is returned for the explicit message.
Access
Read-only
The status will be maintained until the next explicit message communication is executed. The bit will always turn OFF when the next Explicit Message Instruction is executed.
Turn ON if the explicit message cannot be sent when executing an Explicit Message Instruction (EXPLT(720),
EGATR(721), ESATR(722), ECHRD(723), or ECHWR(724)).
Read-only
Bits 00 to 07 correspond to communications ports 0 to 7.
The corresponding bit will turn ON when the explicit message cannot be sent.
The status will be maintained until the next explicit message communication is executed. The bit will always turn OFF when the next Explicit Message Instruction is executed.
Read-only The following codes will be stored when an Explicit Message
Instruction (EXPLT(720), EGATR(721), ESATR(722),
ECHRD(723), or ECHWR(724)) has been executed.
A203 to A210 correspond to communications ports 0 to 7.
If the Explicit Communications Error Flag turns OFF, 0000 hex is stored.
If the Explicit Communications Error Flag is ON and the Network Communications Error Flag is ON, the FINS end code is stored.
If the Explicit Communications Error Flag is ON and the Network Communications Error Flag is OFF, the explicit message end code is stored.
During communications, 0000 hex will be stored and the suitable code will be stored when execution has been completed. The code will be cleared when operation is started.
SYSMAC BUS Master 1
Restart Bit
Name
SYSMAC BUS Master 0
Restart Bit
SYSMAC BUS Communications Information
Address
A52614
A52615
Description
Turn this bit ON to restart SYSMAC BUS Remote I/O Master
Unit 1. (Turned OFF automatically when restart processing is completed.)
Access
Read/write
Turn this bit ON to restart SYSMAC BUS Remote I/O Master
Unit 0. (Turned OFF automatically when restart processing is completed.)
Read/write
455
Auxiliary Area
Section 9-16
■ Peripheral Port Communications Information
Name
Peripheral Port Communications Error Flag
Peripheral Port Restart Bit
Peripheral Port Settings
Change Bit
Peripheral Port Error Flags
Peripheral Port PT Communications Flags
Peripheral Port PT Priority
Registered Flags
Address
A39212
A52601
A61901
A52808 to
A52815
A39400 to
A39407
A39408 to
A39415
ON when a communications error has occurred at the peripheral port.
Description
Note: This flag is disabled in NT Link (1:N) mode.
Turn this bit ON to restart the peripheral port.
ON while the peripheral port’s communications settings are being changed.
These flags indicate what kind of error has occurred at the peripheral port.
The corresponding bit will be ON when the peripheral port is communicating with a PT in NT link mode. Bits 0 to 7 correspond to units 0 to 7.
The corresponding bit will be ON for the PT that has priority when the peripheral port is communicating in NT link mode.
Bits 0 to 7 correspond to units 0 to 7.
Access
Read-only
Read/write
Read/write
Read/write
Read-only
Read-only
■ RS-232C Port Communications Information
Name
RS-232C Port Communications Error Flag
Address
A39204
RS-232C Port Restart Bit
RS-232C Port Settings
Change Bit
RS-232C Port Error Flags
A52600
A61902
A52800 to
A52807
A39205
Description
ON when a communications error has occurred at the RS-
232C port.
Note: Do not access this flag in peripheral bus mode, 1:N
NT Link mode, or Serial PLC Link Master/Slave mode.
Turn this bit ON to restart the RS-232C port.
ON while the RS-232C port’s communications settings are being changed.
These flags indicate what kind of error has occurred at the
RS-232C port.
ON when the RS-232C port is able to send data in no-protocol mode.
Access
Read-only
Read/write
Read/write
Read/write
Read-only RS-232C Port Send Ready
Flag
(No-protocol mode)
RS-232C Port Reception
Completed Flag
(No-protocol mode)
RS-232C Port Reception
Overflow Flag
(No-protocol mode)
RS-232C Port PT Communications Flags
RS-232C Port PT Priority
Registered Flags
RS-232C Port Reception
Counter
(No-protocol mode)
A39206
A39207
A39300 to
A39307
A39308 to
A39315
A39300 to
A39315
ON when the RS-232C port has completed the reception in no-protocol mode.
ON when a data overflow occurred during reception through the RS-232C port in no-protocol mode.
Read-only
Read-only
The corresponding bit will be ON when the RS-232C port is communicating with a PT in NT link mode. Bits 0 to 7 correspond to units 0 to 7.
The corresponding bit will be ON for the PT that has priority when the RS-232C port is communicating in NT link mode.
Bits 0 to 7 correspond to units 0 to 7.
Indicates (in binary) the number of bytes of data received when the RS-232C port is in no-protocol mode.
Read-only
Read-only
Read-only
■ Serial Device Communications Information
Communications Units 0 to
15, Ports 1 to 4 Settings
Change Bits
Name Address
A62001 to
A63504
Communications Board Ports
1 to 4 Settings Change Bits
A63601 to
A63604
Description
The corresponding flag will be ON when the settings for that port are being changed.
(Bits 1 to 4 in A620 to A635 correspond to ports 1 to 4 in
Communications Units 0 to 15.)
The corresponding flag will be ON when the settings for that port are being changed.
(Bits 1 to 4 correspond to ports 1 to 4.)
Access
Read/write
Read/write
456
Auxiliary Area
Section 9-16
Instruction-related Information
Step Flag
Name Address
A20012
Current EM Bank
Macro Area Input Words
Macro Area Output Words
A301
A600 to
A603
A604 to
A607
Description
ON for one cycle when step execution is started with
STEP(008).
Access
Read-only
This word contains the current EM bank number in 4-digit hexadecimal.
When MCRO(099) is executed, it copies the input data from the specified source words (input parameter words) to A600 through A603.
Read-only
Read/write
After the subroutine specified in MCRO(099) has been executed, the results of the subroutine are transferred from
A604 through A607 to the specified destination words (output parameter words).
Read/write
Background Execution Information
Name
DR00 Output for Background
Execution
(Not supported by
CS1 @-CPU@@(-V1) Units)
Address
A597
IR00 Output for Background
Execution
(Not supported by
CS1 @-CPU@@(-V1) Units)
A595 and
A596
A59801
Description
When a data register is specified as the output for an instruction processed in the background, A597 receives the output instead of DR00.
0000 to FFFF hex
When an index register is specified as the output for an instruction processed in the background, A595 and A596 receive the output instead of IR00.
0000 0000 to FFFF FFFF hex
(A596 contains the leftmost digits.)
Turns ON if matching data is found for an SRCH(181) instruction executed in the background.
Access
Read-only
Read-only
Read-only Equals Flag for Background
Execution
(Not supported by
CS1 @-CPU@@(-V1) Units)
ER/AER Flag for Background
Execution
(Not supported by
CS1 @-CPU@@(-V1) Units)
A39510 Turns ON if an error or illegal access occurs during background execution. Turns OFF when power is turned ON or operation is started.
Read-only
Function Block Information
■ Function Block Memory Information
Name
FB Program Data Flag
Address
A34500
Description
Turns ON if the FB program memory contains FB program data.
0: No data
1: Data present
Access
Read-only
457
TR (Temporary Relay) Area
Section 9-17
■ OMRON FB Library Information
Name
FB Communications Instruction Response Required
FB Communications Instruction Port No.
FB Communications Instruction Retries
FB Communications Instruction Response Monitoring
Time
Address
A58015
A58008 to
A58011
A58000 to
A58003
A581
FB DeviceNet Communications Instruction Response
Monitoring Time
A582
Description
0: Not required
1: Required
0 to 7 hex: Communications port No. 0 to 7
F hex: Automatic allocation
Automatically stores the number of retries in the FB communications instruction settings specified in the PLC Setup.
Automatically stores the FB communications instruction response monitoring time set in the PLC Setup.
0001 to FFFF hex (Unit: 0.1 s; Range: 0.1 to 6553.5)
0000 hex: 2 s
Automatically stores the FB DeviceNet communications instruction response monitoring time set in the PLC Setup.
0001 to FFFF hex (Unit: 0.1 s; Range: 0.1 to 6553.5)
0000 hex: 2 s
Access
Read-only
Read-only
Read-only
Read-only
Read-only
Note These Auxiliary Area bits/words are not to be written by the user. The number of resends and response monitoring time must be set by the user in the FB communications instructions settings in the PLC Setup, particularly when using function blocks from the OMRON FB Library to execute FINS messages or DeviceNet explicit messages communications. The values set in the Settings for OMRON FB Library in the PLC Setup will be automatically stored in the related Auxiliary Area words A580 to A582 and used by the function blocks from the OMRON FB Library.
9-17 TR (Temporary Relay) Area
The TR Area contains 16 bits with addresses ranging from TR0 to TR15.
These temporarily store the ON/OFF status of an instruction block for branching. TR bits are useful when there are several output branches and interlocks cannot be used.
It is not necessary to consider TR bits when displaying ladder diagrams on the
CX-Programmer.
The TR bits can be used as many times as required and in any order required as long as the same TR bit is not used twice in the same instruction block.
TR bits can be used only with the OUT and LD instructions. OUT instructions
(OUT TR0 to OUT TR15) store the ON OFF status of a branch point and LD instructions recall the stored ON OFF status of the branch point.
TR bits cannot be changed from a Programming Device.
Examples In this example, a TR bit is used when two outputs have been directly connected to a branch point.
Instruction
LD
OR
OUT
AND
OUT
LD
AND
OUT
Operand
000000
000001
TR 0
000002
000003
TR 0
000004
000005
In this example, a TR bit is used when an output is connected to a branch point without a separate execution condition.
458
Timer Area
Section 9-18
Instruction
LD
OUT
AND
OUT
LD
OUT
Operand
000000
TR 0
000001
000002
TR 0
000003
Note A TR bit is not required when there are no execution conditions after the branch point or there is an execution condition only in the last line of the instruction block.
Instruction
LD
OUT
OUT
Operand
000000
000001
000002
Instruction
LD
OUT
AND
OUT
Operand
000000
000001
000002
000003
9-18 Timer Area
The 4,096 timer numbers (T0000 to T4095) are shared by the TIM, TIMX,
TIMH(015), TIMHX(551), TMHH(540), TMHHX(552), TTIM(087),
TTIMX(555), TIMW(813), TIMWX(816), TMHW(815), and TMHWX(817) instructions. Timer Completion Flags and present values (PVs) for these instructions are accessed with the timer numbers. (The TIML(542),
TIMLX(553), MTIM(543), and MTIMX(554) instructions do not use timer numbers.)
When a timer number is used in an operand that requires bit data, the timer number accesses the Completion Flag of the timer. When a timer number is used in an operand that requires word data, the timer number accesses the
PV of the timer. Timer Completion Flags can be used as often as necessary as normally open and normally closed conditions and the values of timer PVs can be read as normal word data.
With CS1-H CPU Units, the refresh method for timer PVs can be set from the
CX-Programmer to either BCD or binary. With CS1 CPU Units, it can only be set to binary.
Note It is not recommended to use the same timer number in two timer instructions because the timers will not operate correctly if they are timing simultaneously.
(If two or more timer instructions use the same timer number, an error will be generated during the program check, but the timers will operate as long as the instructions are not executed in the same cycle.)
459
Counter Area
Section 9-19
The following table shows when timer PVs and Completion Flags will be reset.
Instruction name
TIMER: TIM or TIMX
HIGH-SPEED TIMER:
TIMH(015) or TIMHX(551)
ONE-MS TIMER:
TMHH(540) or TMHHX(552)
ACCUMULATIVE TIMER:
TTIM(087) or TTIMX(555)
TIMER WAIT: TIMW(813) or
TIMWX(816)
HIGH-SPEED TIMER WAIT:
TMHW(815) or TMHWX(817)
Mode change
PV → 0
Flag
Effect on PV and Completion Flag
→ OFF
1
PLC start-up
PV → 0
Flag → OFF
1 CNR(545) or
CNRX(547)
PV → 9999
Flag → OFF
Operation in
Jumps and Interlocks
Jumps
(JMP-JME) or
Tasks on standby
Interlocks
(IL-ILC)
PVs refreshed in operating timers
PV → SV
(Reset to SV.)
Flag → OFF
PV Maintained
PVs refreshed in operating timers
PV Maintained
---
---
Forcing Bit Status
Note 1.
If the IOM Hold BIt (A50012) is ON, the PV and Completion Flag will be retained when a fatal error occurs or the operating mode is changed from
PROGRAM mode to RUN or 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 Status at Startup” setting is set to protect the IOM Hold Bit, the PV and Completion Flag will be retained when the PLC’s power is cycled.
3.
Since the TIML(542), TIMLX(553), MTIM(543), and MTIMX(554) instructions do not use timer numbers, they are reset under different conditions.
Refer to the descriptions of these instructions for details.
4.
The present value of TIM, TIMX, TIMH(015), TIMHX(551), TMHH(540),
TMHHX(552), TIMW(813), TIMWX(816), TMHW(815), and TMHWX(817) timers programmed with timer numbers 0000 to 2047 will be updated even when jumped between JMP and JME instructions or when in a task that is on standby. The present value of timers programmed with timer numbers
2048 to 4095 will be held when jumped or when in a task that is on standby.
Timer Completion Flags can be force-set and force-reset.
Timer PVs cannot be force-set or force-reset, although the PVs can be refreshed indirectly by force-setting/resetting the Completion Flag.
Note When designating addresses in programming or allocations inside C200H
Special I/O Units, “T000” to “T511” will actually specify T0000 to T0511 in the
CPU Unit. T0512 to T4095 cannot be specified inside the C200H Special I/O
Units.
9-19 Counter Area
The 4,096 counter numbers (C0000 to C4095) are shared by the CNT, CNTX,
CNTR(012), CNTRX(548), CNTW(814), and CNTWX(818) instructions.
Counter Completion Flags and present values (PVs) for these instructions are accessed with the counter numbers.
When a counter number is used in an operand that requires bit data, the counter number accesses the Completion Flag of the counter. When a counter number is used in an operand that requires word data, the counter number accesses the PV of the counter.
460
Data Memory (DM) Area
Section 9-20
Instruction name
COUNTER: CNT or
CNTX
REVERSIBLE
COUNTER: CNTR(012) or CNTRX( 548)
COUNTER WAIT:
CNTW(814) or
CNTWX(818)
With CS1-H CPU Units, the refresh method for counter PVs can be set from the CX-Programmer to either BCD or binary. With CS1 CPU Units, it can only be set to binary.
It is not recommended to use the same counter number in two counter instructions because the counters will not operate correctly if they are counting simultaneously. If two or more counter instructions use the same counter number, an error will be generated during the program check, but the counters will operate as long as the instructions are not executed in the same cycle.
The following table shows when counter PVs and Completion Flags will be reset.
Reset
PV → 0000
Flag → OFF
Mode change
Maintained
Effect on PV and Completion Flag
PLC startup Reset Input CNR(545) or
CNRX(548)
Maintained Reset Reset
Interlocks
(IL-ILC)
Maintained
Note When designating addresses in programming or allocations inside C200H
Special I/O Units, “C000” to “C511” will actually specify T0000 to T0511 in the
CPU Unit. C0512 to C4095 cannot be specified inside the C200H Special I/O
Units.
9-20 Data Memory (DM) Area
The DM Area contains 32,768 words with addresses ranging from D00000 to
D32767. This data area is used for general data storage and manipulation and is accessible only by word.
Data in the DM Area is retained when the PLC’s power is cycled or the PLC’s operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
Although bits in the DM Area cannot be accessed directly, the status of these bits can be accessed with the BIT TEST instructions, TST(350) and
TSTN(351).
Bits in the DM Area cannot be force-set or force-reset.
Note 1.
If using a C200H DeviceNet Master Unit (C200HW-DRM21-V1), use the following words as the status area. Data in this area is updated when the
C200H DeviceNet Master Unit is used, so the area cannot be used for other applications.
• Master Status: D06032 + (2 x unit number)
• Current Communications Cycle Time: D06033 + (2 x unit number)
The CS-series DeviceNet Unit (CS1W-DRM21) does not use the above words.
2.
When designating addresses in programming or allocations inside Group-
I and Group-II C200H Special I/O Units, DM 0000 to DM 0999 will actually specify D00000 to D00999 in the CPU Unit and DM 1000 to DM1999 will actually specify D20000 to D20999 (part of the Special I/O Unit Area) in the CPU Unit. Other addresses in this area cannot be specified. When designating addresses in programming or allocations inside Group-III and
461
Data Memory (DM) Area
Indirect Addressing
DM Area Allocation to
Special Units Inner Board
1,2,3...
Section 9-20
Group-IV C200H Special I/O Units, DM 0000 to DM 6655 will actually specify D00000 to D06655 in the CPU Unit. Other addresses in this area cannot be specified.
Words in the DM Area can be indirectly addressed in two ways: binary-mode and BCD-mode.
Binary-mode Addressing (@D)
When a “@” character is input before a DM address, the content of that DM word is treated as binary and the instruction will operate on the DM word at that binary address. The entire DM Area (D00000 to D32767) can be indirectly addressed with hexadecimal values 0000 to 7FFF.
@D00100 0100 D00256
Address actually used.
BCD-mode Addressing ( *D)
When a “
*” character is input before a DM address, the content of that DM word is treated as BCD and the instruction will operate on the DM word at that
BCD address. Only part of the DM Area (D00000 to D09999) can be indirectly addressed with BCD values 0000 to 9999.
*D00100
0100 D00100
Address actually used.
Parts of the DM Area are allocated to Special I/O Units, CS-series CPU Bus
Units, and Inner Boards for functions such as initial Unit settings. The timing for data transfers is different for these Units, but may occur at any of the three following times.
1.
Transfer data when the PLC’s power is turned on or the Unit is restarted.
2.
Transfer data once each cycle.
3.
Transfer data when required.
Refer to the Unit’s Operation Manual for details on data transfer timing.
Special I/O Units (D20000 to D29599)
Each Special I/O Unit is allocated 100 words (based on unit numbers 0 to 95).
Refer to the Unit’s Operation Manual for details on the function of these words.
Special I/O Unit
Data transferred to the
Special I/O
Unit when the
PLC is turned on or the Unit is restarted.
CPU Unit
DM Area for Special I/O Units
(100 words/Unit)
Data transferred to the
CPU Unit at cyclic refreshing or when necessary.
CPU Bus Units (D30000 to D31599)
Each CPU Bus Unit is allocated 100 words (based on unit numbers 0 to F).
Refer to the Unit’s Operation Manual for details on the function of these words. With some CPU Bus Units such as Ethernet Units, initial settings must be registered in the CPU Unit’s Parameter Area; this data can be registered with a Programming Device other than a Programming Console.
462
Extended Data Memory (EM) Area
Section 9-21
CPU Bus Unit
Data transferred to the
CS1 Special
Unit when the PLC is turned on or the Unit is restarted.
CPU Unit
Data transferred to the
CPU Unit at cyclic refresh-ing or when necessary.
DM Area for CPU Bus Units
(100 words/Unit)
Inner Board (D32000 to D32099)
The Inner Board is allocated 100 words. Refer to the Board’s Operation Manual for details on the function of these words.
CPU Unit
DM Area for Inner Board
(100 words)
Data transferred to the Inner Board when the
PLC is turned on or the Board is restarted.
9-21 Extended Data Memory (EM) Area
The EM Area is divided into 13 banks (0 to C) that each contain 32,768 words.
EM Area addresses range from E0_00000 to EC_32767. This data area is used for general data storage and manipulation and is accessible only by word.
Data in the EM Area is retained when the PLC’s power is cycled or the PLC’s operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
Although bits in the EM Area cannot be accessed directly, the status of these bits can be accessed with the BIT TEST instructions, TST(350) and
TSTN(351).
Bits in the EM Area cannot be force-set or force-reset.
Specifying EM Addresses
1,2,3...
There are two ways to specify an EM address: the bank and address can be specified at the same time or an address in the current bank can be specified
(after changing the current bank, if necessary). In general, we recommend specifying the bank and address simultaneously.
1.
Bank and Address Specification
With this method, the bank number is specified just before the EM address.
For example, E2_00010 specifies EM address 00010 in bank 2.
2.
Current Bank Address Specification
With this method, just the EM address is specified. For example, E00010 specifies EM address 00010 in the current bank. (The current bank must be changed with EMBC(281) to access data in another bank. A301 contains the current EM bank number.)
The current bank will be reset to 0 when the operating mode is changed from PROGRAM mode to RUN/MONITOR mode, unless the IOM Hold Bit
463
Extended Data Memory (EM) Area
Section 9-21
Indirect Addressing
(A50012) is ON. The current bank is not changed as the program proceeds through cyclic tasks and the current bank will be returned to its original value (in the source cyclic task) if it has been changed in an interrupt task.
Words in the EM Area can be indirectly addressed in two ways: binary-mode and BCD-mode.
Binary-mode Addressing (@E)
When a “@” character is input before a EM address, the content of that EM word is treated as binary and the instruction will operate on the EM word in the same bank at that binary address. All of the words in the same EM bank
(E00000 to E32767) can be indirectly addressed with hexadecimal values
0000 to 7FFF and words in the next EM bank (E00000 to E32767) can be addressed with hexadecimal values 8000 to FFFF.
@E1_00100
@E00100
0200
0200
E1_00512
Address actually used.
E0_00512
Address actually used.
(When the current bank is bank 0.)
BCD-mode Addressing ( *E)
When a “
*” character is input before a EM address, the content of that EM word is treated as BCD and the instruction will operate on the EM word in the same bank at that BCD address. Only part of the EM bank (E00000 to
E09999) can be indirectly addressed with BCD values 0000 to 9999.
*E1_00100
*E00100
0200
0200
E1_00200
Address actually used.
E0_00200
Address actually used.
(When the current bank is bank 0.)
File Memory Conversion Part of the EM Area can be converted for use as file memory with settings in the PLC Setup. All EM banks from the specified bank (EM File Memory Starting Bank) to the last EM bank will be converted to file memory.
Once EM banks have been converted to file memory, they cannot be accessed (read or written) by instructions. An Illegal Access Error will occur if a file-memory bank is specified as an operand in an instruction.
The following example shows EM file memory when the EM File Memory
Starting Bank has been set to 3 in the PLC Setup.
EM bank number
.
.
.
3
B
C
0
1
2
Example:
EM File Memory Starting
Bank set to 3 in the PLC Setup
EM file memory
(Cannot be accessed from instructions.)
Note When designating addresses in programming or allocations inside C200H
Special I/O Units, “EM 0000” to “EM 6143” will actually specify E0_00000 to
E0_06143 in the CPU Unit. Other addresses in this area cannot be specified.
464
Index Registers
Section 9-22
9-22 Index Registers
The sixteen Index Registers (IR0 to IR15) are used for indirect addressing.
Each Index Register can hold a single PLC memory address, which is the absolute memory address of a word in I/O memory. Use MOVR(560) to convert a regular data area address to its equivalent PLC memory address and write that value to the specified Index Register. (Use MOVRW(561) to set the
PLC memory address of a timer/counter PV in an Index Register.)
Indirect Addressing
Note Refer to Appendix C Memory Map for more details on PLC memory addresses.
When an Index Register is used as an operand with a “,” prefix, the instruction will operate on the word indicated by the PLC memory address in the Index
Register, not the Index Register itself. Basically, the Index Registers are I/O memory pointers.
• All addresses in I/O memory (except Index Registers, Data Registers, and
Condition Flags) can be specified seamlessly with PLC memory addresses. It isn’t necessary to specify the data area.
• In addition to basic indirect addressing, the PLC memory address in an
Index Register can be offset with a constant or Data Register, auto-incremented, or auto-decremented. These functions can be used in loops to read or write data while incrementing or decrementing the address by one each time that the instruction is executed.
With the offset and increment/decrement variations, the Index Registers can be set to base values with MOVR(560) or MOVRW(561) and then modified as pointers in each instruction.
I/O Memory
Set to a base value with MOVR(560) or
MOVRW(561).
Pointer
Note It is possible to specify regions outside of I/O memory and generate an Illegal
Access Error when indirectly addressing memory with Index Registers. Refer to Appendix C Memory Map for details on the limits of PLC memory addresses.
465
Index Registers
Section 9-22
The following table shows the variations available when indirectly addressing
I/O memory with Index Registers. (IR @ represents an Index Register from IR0 to IR15.)
Variation Function
Indirect addressing The content of IR @ is treated as the PLC memory address of a bit or word.
Indirect addressing with constant offset
Indirect addressing with DR offset
The constant prefix is added to the content of IR @ and the result is treated as the PLC memory address of a bit or word.
The constant may be any integer from –2,048 to 2,047.
The content of the Data Register is added to the content of IR @ and the result is treated as the PLC memory address of a bit or word.
Indirect addressing with auto-increment
Indirect addressing with auto-decrement
After referencing the content of
IR @ as the PLC memory address of a bit or word, the content is incremented by 1 or 2.
The content of IR @ is decremented by 1 or 2 and the result is treated as the PLC memory address of a bit or word.
,IR @
Syntax
Constant ,IR @
(Include a + or – in the constant.)
DR @,IR@
Increment by 1:
,IR
,IR
@+
Increment by 2:
@++
Decrement by 1:
,–IR @
Decrement by 2:
,– –IR @
LD ,IR0
Example
Loads the bit at the PLC memory address contained in IR0.
LD +5,IR0 Adds 5 to the contents of IR0 and loads the bit at that PLC memory address.
LD
DR0,IR0
Adds the contents of DR0 to the contents of IR0 and loads the bit at that PLC memory address.
LD , IR0++ Loads the bit at the PLC memory address contained in IR0 and then increments the content of IR0 by 2.
LD , – –IR0 Decrements the content of
IR0 by 2 and then loads the bit at that PLC memory address.
Example This example shows how to store the PLC memory address of a word
(CIO 0002) in an Index Register (IR0), use the Index Register in an instruction, and use the auto-increment variation.
MOVR(560) 0002 IR0 Stores the PLC memory address of
CIO 0002 in IR0.
MOV(021) #0001
MOV(021) #0020
,IR0 Writes #0001 to the PLC memory address contained in IR0.
+1,IR0 Reads the content of IR0, adds 1, and writes #0020 to that PLC memory address.
Regular data area address I/O memory
PLC memory address
MOVE TO REGISTER instruction
MOVR(560) 0002 IR0
Pointer
#0001
#0020
466
Note 1.
Auto-incrementing and auto-decrementing for index registers are performed whenever an instruction using them is executed. Care is required in application, particularly with instructions like OUT, which are executed
Index Registers
1,2,3...
Section 9-22
every cycle. Refer to 1-1-5 Inputting Data in Operands in the Instructions
Reference for details.
Example
MOVR 000013 IR0
LD P_Off
OUT ,IR0+
With the above programming, OUT will turn OFF CIO 000013 and IR0 will be incremented to point to CIO 000014.
MOVR 000013 IR0
LD P_Off
SET ,IR0+
SET is executed only when the input condition is ON. With the above programming, SET will not be executed and IR0 will not be incremented.
2.
The PLC memory addresses are listed in the diagram above, but it isn’t necessary to know the PLC memory addresses when using Index Registers.
Since some operands are treated as word data and others are treated as bit data, the meaning of the data in an Index Register will differ depending on the operand in which it is used.
1.
Word Operand:
MOVR(560)
MOV(021)
0000
D00000
IR2
, IR2
When the operand is treated as a word, the contents of the Index Register are used “as is” as the PLC memory address of a word.
In this example MOVR(560) sets the PLC memory address of CIO 0002 in
IR2 and the MOV(021) instruction copies the contents of D00000 to
CIO 0002.
2.
Bit Operand:
MOVR(560)
SET
000013
+5 , IR2
,IR2
When the operand is treated as a bit, the leftmost 7 digits of the Index Register specify the word address and the rightmost digit specifies the bit number. In this example, MOVR(560) sets the PLC memory address of
CIO 000013 (0C000D hex) in IR2. The SET instruction adds +5 from bit 13 to this PLC memory address, so it turns ON bit CIO 000102.
The Index Registers will be cleared in the following cases: Index Register
Initialization
1,2,3...
IOM Hold Bit Operation
1.
The operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
If the IOM Hold Bit (A50012) is ON, the Index Registers won’t be cleared when a FALS error occurs or the operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
If the IOM Hold Bit (A50012) is ON, and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, and if the Index Registers are not set to be shared between tasks (default setting), Index Registers will be held in the following way when power is interrupted. For tasks that were completed before power was interrupted, the values for the cycle during which power was interrupted will be held. For tasks that were not completed before power was interrupted, the values for the cycle before the cycle during which
467
Index Registers
Forcing Bit Status
Direct Addressing
Precautions
Section 9-22
power was interrupted will be held. For example, in a program with three tasks, tasks 0, 1, and 2, if power is interrupted in the nth cycle during execution of task 1, then the execution result for the nth cycle of task 0 and the execution results for the (n −1)th cycle of tasks 1 and 2 will be held.
If the IOM Hold Bit (A50012) is ON, the PLC Setup’s “IOM Hold Bit Status at
Startup” setting is set to protect the IOM Hold Bit, and the Index Registers are set to be shared between tasks, Index Registers will not be held when the
PLC’s power supply is reset (ON →OFF →ON). The Index Registers may take undefined values. Be sure to set the values before continuing.
Bits in Index Registers cannot be force-set and force-reset.
When an Index Register is used as an operand without a “,” prefix, the instruction will operate on the contents of the Index Register itself (a two-word or
“double” value). Index Registers can be directly addressed only in the instructions shown in the following table. Use these instructions to operate on the
Index Registers as pointers.
The Index Registers cannot be directly addressed in any other instructions, although they can usually be used for indirect addressing.
Instruction group
Data Movement
Instructions
Table Data Processing Instructions
Increment/Decrement Instructions
Instruction name
MOVE TO REGISTER
Mnemonic
MOVR(560)
MOVE TIMER/COUNTER PV TO REGISTER MOVRW(561)
DOUBLE MOVE MOVL(498)
DOUBLE DATA EXCHANGE
SET RECORD LOCATION
XCGL(562)
SETR(635)
GET RECORD NUMBER GETR(636)
Comparison
Instructions
Symbol Math
Instructions
DOUBLE INCREMENT BINARY
DOUBLE DECREMENT BINARY
DOUBLE EQUAL
DOUBLE NOT EQUAL
DOUBLE LESS THAN
DOUBLE LESS THAN OR EQUAL
DOUBLE GREATER THAN
DOUBLE GREATER THAN OR EQUAL
DOUBLE COMPARE
DOUBLE SIGNED BINARY ADD WITHOUT
CARRY
DOUBLE SIGNED BINARY SUBTRACT
WITHOUT CARRY
++L(591)
– –L(593)
=L(301)
< >L(306)
< L(311)
< =L(316)
> L(321)
> =L(326)
CMPL(060)
+L(401)
–L(411)
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.
Do not use Index Registers until a PLC memory address has been set in the register. The pointer operation will be unreliable if the registers are used without setting their values.
The values in Index Registers are unpredictable at the start of an interrupt task. When an Index Register will be used in an interrupt task, always set a
PLC memory address in the Index Register with MOVR(560) or MOVRW(561) before using the register in that task.
468
Index Registers
Section 9-22
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 different. Consequently, each Index Register task has 16 Index Registers.
Limitations when Using Index Registers
1,2,3...
1.
It is only possible to read the Index Register for the last task executed within the cycle from the Programming Devices. If using Index Registers with the same number to perform multiple tasks, it is only possible with the Programming Devices to read the Index Register value for the last task performed within the cycle from the multiple tasks. Nor is it possible to write the Index Register value from the Programming Devices.
2.
It is not possible to either read or write to the Index Registers using Host
Link commands or FINS commands.
3.
The Index Registers cannot share tasks between them for CS1 CPU Units.
(With CS1-H CPU Units, a PLC Setup setting can be made from the CX-
Programmer to share Index Registers between tasks.)
Monitoring and Sharing
Index Registers
It is possible to monitor or share Index Registers as follows:
To use the Programming Devices to monitor the final Index Register values for each task, or to monitor the Index Register values using Host Link commands or 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. The values stored for each task in other areas (e.g., DM area) can then be edited using the Programming Devices, Host Link commands, or
FINS commands.
Note Be sure to use PLC memory addresses in Index Registers.
469
Index Registers
Task 1
Section 9-22
IR storage words for task 1
D01001 and D01000 stored in IR0 or
Actual memory address of
CIO 0000 (0000C000 Hex) stored in IR0
Contents of IR0 stored in
D01001 and D01000 or
IR storage words for task 2
Task 2
Peripheral servicing
D02001 and D02000 stored in IR0 or
Actual memory address
CIO 0005 (0000C005 Hex) stored in IR0
Contents of IR0 stored in
D02001 and D02000 or
Read D01001 and D01000
Read D02001 and D02000
470
Data Registers
Sharing Index Registers with CS1-H CPU Units
Section 9-23
The following setting can be made from the PLC properties dialog box on the
CX-Programmer to control sharing index and data registers between tasks.
9-23 Data Registers
The sixteen Data Registers (DR0 to DR15) are used to offset the PLC memory addresses in 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. Data Registers contain signed binary data, so the content of an
Index Register can be offset to a lower or higher address.
I/O Memory
Set to a base value with MOVR(560) or
MOVRW(561).
Pointer
Set with a regular instruction.
Examples
Range of Values
Data Register Initialization
1,2,3...
The following examples show how Data Registers are used to offset the PLC memory addresses in Index Registers.
LD DR0 ,IR0 Adds the contents of DR0 to the contents of IR0 and loads the bit at that PLC memory address.
MOV(021) #0001 DR0 ,IR1 Adds the contents of DR0 to the contents of IR1 and writes #0001 to that PLC memory address.
The contents of data registers are treated as signed binary data and thus have a range of –32,768 to 32,767.
Hexadecimal content Decimal equivalent
8000 to FFFF –32,768 to –1
0000 to 7FFF 0 to 32,767
The Data Registers will be cleared in the following cases:
1.
The operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa and the IOM Hold Bit is OFF.
2.
The PLC’s power supply is cycled and the IOM Hold Bit is OFF or not protected in the PLC Setup.
471
Data Registers
IOM Hold Bit Operation
Forcing Bit Status
Precautions
Sharing Data Registers with CS1-H CPU Units
Section 9-23
If the IOM Hold Bit (A50012) is ON, the Data Registers won’t be cleared when a FALS error occurs or the operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
If the IOM Hold Bit (A50012) is ON, and the PLC Setup’s “IOM Hold Bit Status at Startup” setting is set to protect the IOM Hold Bit, and if the Data Registers are not set to be shared between tasks (default setting), Data Registers will be held in the following way when power is interrupted. For tasks that were completed before power was interrupted, the values for the cycle during which power was interrupted will be held. For tasks that were not completed before power was interrupted, the values for the cycle before the cycle during which power was interrupted will be held. For example, in a program with three tasks, tasks 0, 1, and 2, if power is interrupted in the nth cycle during execution of task 1, then the execution result for the nth cycle of task 0 and the execution results for the (n −1)th cycle of tasks 1 and 2 will be held.
If the IOM Hold Bit (A50012) is ON, the PLC Setup’s “IOM Hold Bit Status at
Startup” setting is set to protect the IOM Hold Bit, and the Data Registers are set to be shared between tasks, Data Registers will not be held when the
PLC’s power supply is reset (ON →OFF →ON). The Data Registers may take undefined values. Be sure to set the values before continuing.
Bits in Data Registers cannot be force-set and force-reset.
Data Registers are normally local to each task. For example, DR0 used in task 1 is different from DR0 used in task 2. (With CS1-H CPU Units, a PLC
Setup setting can be made from the CX-Programmer to share Data Registers between tasks.)
The content of Data Registers cannot be accessed (read or written) from a
Programming Device.
Do not use Data Registers until a value has been set in the register. The register’s operation will be unreliable if they are used without setting their values.
The values in Data Registers are unpredictable at the start of an interrupt task. When a Data Register will be used in an interrupt task, always set a value in the Data Register before using the register in that task.
The following setting can be made from the PLC properties dialog box on the
CX-Programmer to control sharing index and data registers between tasks.
472
Task Flags
Section 9-24
9-24 Task Flags
Task Flags range from TK00 to TK31 and correspond to cyclic tasks 0 to 31. A
Task Flag will be ON when the corresponding cyclic task is in executable
(RUN) status and OFF when the cyclic task hasn’t been executed (INI) or is in standby (WAIT) status.
Note These flags indicate the status of cyclic tasks only (including extra cyclic tasks), they do not reflect the status of interrupt tasks.
Task Flag Initialization
Forcing Bit Status
1,2,3...
The Task Flags will be cleared in the following cases, regardless of the status of the IOM Hold Bit.
1.
The operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.
2.
The PLC’s power supply is cycled.
The Task Flags cannot be force-set and force-reset.
9-25 Condition Flags
These flags include the Arithmetic Flags such as the Error Flag and Equals
Flag which indicate the results of instruction execution. In earlier PLCs, these flags were in the SR Area.
The Condition Flags are specified with labels, such as CY and ER, or with symbols, such as P_Carry and P_Instr_Error, rather than addresses. The status of these flags reflects the results of instruction execution, but the flags are read-only; they cannot be written directly from instructions or Programming
Devices.
Note The CX-Programmer treats condition flags as global symbols beginning with
P_.
All Condition Flags are cleared when the program switches tasks, so the status of the ER and AER flags are maintained only in the task in which the error occurred.
The Condition Flags cannot be force-set and force-reset.
Summary of the Condition
Flags
The following table summarizes the functions of the Condition Flags, although the functions of these flags will vary slightly from instruction to instruction.
473
Condition Flags
Section 9-25
Name
Error Flag P_ER
Symbol
Access Error Flag P_AER
Carry Flag P_CY
Greater Than Flag P_GT
Equals Flag
Less Than Flag
Negative Flag
Overflow Flag
Underflow Flag
Greater Than or
Equals Flag
Not Equal Flag
P_EQ
P_LT
P_N
P_OF
P_UF
P_GE
P_NE
Less Than or
Equals Flag
P_LE
Always ON Flag P_On
Always OFF Flag P_Off
Refer to the description of the instruction for complete details on the operation of the Condition Flags for a particular instruction.
Label
ER
Function
Turned ON when the operand data in an instruction is incorrect (an instruction processing error) to indicate that an instruction ended because of an error.
Note: When the PLC Setup is set to stop operation for an instruction error (Instruction Error Operation), program execution will be stopped and the Instruction Processing Error Flag (A29508) will be turned ON when the Error Flag is turned ON.
AER Turned ON when an Illegal Access Error occurs. The Illegal Access
Error indicates that an instruction attempted to access an area of memory that should not be accessed.
CY
Note: When the PLC Setup is set to stop operation for an instruction error (Instruction Error Operation), program execution will be stopped and the Instruction Processing Error Flag (A429510) will be turned ON when the Access Error Flag is turned ON.
Turned ON when there is a carry in the result of an arithmetic operation 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.
>
=
<
Turned ON when the first operand of a Comparison Instruction is greater than the second or a value exceeds a specified range.
Turned ON when the two operands of a Comparison Instruction are equal the result of a calculation is 0.
Turned ON when the first operand of a Comparison Instruction is less than the second or a value is below a specified range.
Turned ON when the most significant bit (sign bit) of a result is ON.
N
OF
UF
Turned ON when the result of calculation overflows the capacity of the result word(s).
Turned ON when the result of calculation underflows the capacity of the result word(s).
>=
< >
Turned ON when the first operand of a Comparison Instruction is greater than or equal to the second.
Turned ON when the two operands of a Comparison Instruction are not equal.
< = Turned ON when the first operand of a Comparison Instruction is less than or equal to the second.
ON Always ON. (Always 1.)
OFF Always OFF. (Always 0.)
Using the Condition Flags The Condition Flags are shared by all of the instructions, so their status may change often in a single cycle. Be sure to read the Condition Flags immediately after the execution of instruction, preferably in a branch from the same execution condition.
Operand
Condition Flag
Example: P_EQ
Instruction
Instruction A
LD
The result from instruction A is reflected in the Equals Flag.
Instruction A
AND
Instruction B
Instruction B
=
Since the Condition Flags are shared by all of the instructions, program operation can be changed from its expected course by interruption of a single task.
Be sure to consider the effects of interrupts when writing the program. Refer
474
Condition Flags
Section 9-25
to SECTION 2 Programming of CS/CJ Series Programmable Controllers
(W394) for more details.
The Condition Flags are cleared when the program switches tasks, so the status of a Condition Flag cannot be passed to another task. For example the status of a flag in task 1 cannot be read in task 2. (The flag’s status must be transferred to a bit.)
Note The condition flags cannot be designated directly in programming or allocations inside C200H Special I/O Units.
Saving and Loading Condition Flag Status
The CCS(282) and CCL(283) instructions can be used to save and load the
Condition Flag status. These can be used to access the status 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 location in the same task.
Task
Stores result of comparison in the Condition
Flags. This will enable loading the results to use with Instruction B.
Saves status of Condition Flags.
P_EQ
CMP
CCS
I nstruction A
CCL
I nstruction B
Loads the statuses of the Conditions Flags that were stored.
The result of the comparison instruction in the
Equals Flag can be used by Instruction B without interference from Instruction A.
Note This instruction does not exist in CS1 CPU Units.
475
Clock Pulses
Section 9-26
9-26 Clock Pulses
Name Label
The Clock Pulses are flags that are turned ON and OFF at regular intervals by the system.
Symbol Operation
0.02 s Clock Pulse 0.02s
P_0_02_s
Programming
Console name
0.02 s
0.01 s
ON for 0.01 s
OFF for 0.01 s
0.1 s Clock Pulse 0.1s
P_0_1s 0.1 s
0.01 s
0.05 s
ON for 0.05 s
OFF for 0.05 s
0.2 s Clock Pulse 0.2s
P_0_2s 0.2 s
0.05 s
0.1 s
ON for 0.1 s
OFF for 0.1 s
1 s Clock Pulse 1s P_1s 1 s
0.1 s
0.5 s
ON for 0.5 s
OFF for 0.5 s
1 min Clock Pulse 1min P_1min 1 min
30 s
0.5 s
ON for 30 s
OFF for 30 s
30 s
Using the Clock Pulses
The Clock Pulses are specified with labels (or symbols) rather than addresses.
Specify the flags as shown above using the CX-Programmer or Programming
Console.
Note The CX-Programmer treats condition flags as global symbols beginning with
P_.
The Clock Pulses are read-only; they cannot be overwritten from instructions or Programming Devices.
The Clock Pulses are cleared at the start of operation.
The following example turns CIO 000000 ON and OFF at 0.5 s intervals.
P_1s 000000
Instruction Operand
LD P_1s
OUT 000000
000000
←
← 0.5 s
←
← 0.5 s
Note The clock pulses cannot be designated directly in programming or allocations inside C200H Special I/O Units.
Clock Pulses Update Timing
Clock pulses are updated during program execution, so the ON and OFF status may differ at the beginning and end of the program.
476
Parameter Areas
Error
Section 9-27
The clock pulses have a maximum error of 0.01% at 25 °C. For long-term time control, it is recommended that control be based on the internal clock rather than the clock pulses. The internal clock itself also has an error factor.
9-27 Parameter Areas
Unlike the data areas in I/O memory which can be used in instruction operands, the Parameter Area can be accessed only from a Programming Device.
The Parameter Area is made up of the following parts.
• The PLC Setup
• The Registered I/O Table
• The Routing Table
• The CPU Bus Unit Settings
9-27-1 PLC Setup
The user can customize the basic specifications of the CPU Unit with the settings in the PLC Setup. The PLC Setup contains settings such as the serial port communications settings and minimum cycle time setting.
Refer to
7-1 PLC Setup for details on the PLC Setup settings and refer to the
Programming Device’s Operation Manual for details on changing these settings.
9-27-2 Registered I/O Table
The Registered I/O Table is a table in the CPU Unit that contains the information on the model and slot location of all of the Units mounted to the CPU
Rack, Expansion I/O Racks, and Slave Racks. The I/O Table is written to the
CPU Unit with a Programming Device operation.
The CPU Unit allocates I/O memory to actual I/O points (on Basic I/O Units or
Remote I/O Units) and CPU Bus Units based on the information in the Registered I/O Table. Refer to the Programming Device’s Operation Manual for details on registering the I/O Table.
Programming Device
0 1 2 3 4 CPU Unit
Registered
I/O
Table
Analog Communications
Output 16
Output 12 Input 16
The I/O Verification Error Flag (A40209) will be turned ON if the models and locations of the Units actually mounted to the PLC (CPU Rack, Expansion I/O
Racks, and Slave Racks) do not match the information in the Registered I/O
Table.
477
Parameter Areas
Section 9-27
9-27-3 Routing Table
When transferring data between networks, it is necessary to create a table in each CPU Unit that shows the communications route from the local PLC’s
Communications Unit to the other networks. These tables of communications routes are called “Routing Tables.”
Create the Routing Tables with a Programming Device or the Controller Link
Support Software and transfer the tables to each CPU Unit. The following diagram shows the Routing Tables used for a data transfer from PLC #1 to PLC
#4.
Node number M
PLC #1
Network 2
PLC #2 PLC #3
Network 1
Node number N
Unit number n
Network 3 PLC #4
1,2,3...
1.
Relay Network Table of PLC #1:
Destination network Relay network
3 1
2.
Relay Network Table of PLC #2:
Destination network Relay network
3 2
3.
Local Network Table of PLC #3:
Local network Unit number
3 n
N
M
Relay node
Relay node
Relay Network Table
This table lists the network address and node number of the first relay node to contact in order to reach the destination network. The destination network is reached through these relay nodes.
Local Network Table
This table lists the network address and unit number of the Communications
Unit connected to the local PLC.
These are settings for the CS-series CPU Bus Units which are controlled by the CPU Unit. The actual settings depend on the model of CS-series CPU
Bus Unit being used; refer to the Unit’s Operation Manual for details.
9-27-4 CPU Bus Unit Settings
These settings are not managed directly like the I/O memory’s data areas, but are set from a Programming Device like the Registered I/O Tables.
Example 1: For Controller Link Units, user-set data link parameters and network parameters are managed as CPU Bus Unit settings.
Example 2: For Ethernet Units, the settings required to operate as an Ethernet node, such as the IP address table, are managed as CPU Bus Unit settings.
478
Parameter Areas
Section 9-27
Refer to the Programming Device’s Operation Manual for details on changing these settings.
Programming Device
CS1 CPU Bus Unit
CPU Unit
CS1 CPU
Bus Unit
Settings
479
Parameter Areas
Section 9-27
480
SECTION 10
CPU Unit Operation and the Cycle Time
This section describes the internal operation of the CPU Unit and the cycle used to perform internal processing.
10-1-2 I/O Refreshing and Peripheral Servicing . . . . . . . . . . . . . . . . . . . . .
10-2-1 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-2-2 Status and Operations in Each Operating Mode. . . . . . . . . . . . . . . .
10-3-2 Instruction Execution for Power Interruptions . . . . . . . . . . . . . . . . .
10-4-1 CPU Unit Operation Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-4-2 Cycle Time Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-4-3 I/O Unit Refresh Times for Individual Units and Boards. . . . . . . . .
10-4-4 Cycle Time Calculation Example . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-4-5 Online Editing Cycle Time Extension . . . . . . . . . . . . . . . . . . . . . . .
10-4-6 I/O Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-4-7 Interrupt Response Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5 Instruction Execution Times and Number of Steps . . . . . . . . . . . . . . . . . . . .
10-5-1 Sequence Input Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-2 Sequence Output Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-3 Sequence Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-4 Timer and Counter Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-5 Comparison Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-6 Data Movement Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-7 Data Shift Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-8 Increment/Decrement Instructions . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-9 Symbol Math Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-10 Conversion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-12 Special Math Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-13 Floating-point Math Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-14 Double-precision Floating-point Instructions. . . . . . . . . . . . . . . . . .
10-5-15 Table Data Processing Instructions. . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-16 Data Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-18 Interrupt Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-20 Basic I/O Unit Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
481
482
10-5-21 Serial Communications Instructions . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-23 File Memory Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-26 Debugging Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-27 Failure Diagnosis Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-29 Block Programming Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-30 Text String Processing Instructions . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-31 Task Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-5-32 Model Conversion Instructions (Unit Ver. 3.0 or Later Only) . . . . .
10-5-33 Special Function Block Instructions (Unit Ver. 3.0 or Later Only). .
10-5-34 Function Block Instance Execution Time (CPU Units with Unit
Version 3.0 or Later) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPU Unit Operation
Section 10-1
10-1 CPU Unit Operation
10-1-1 General Flow
The following flowchart shows the overall operation of the CPU Unit.
Note The CPU Unit’s processing mode is set to Normal Mode, Parallel Processing with Synchronous Memory Access, or Parallel Processing with Asynchronous
Memory Access in the PLC Setup (Programming Console address 219, bits
08 to 15). This setting is also possible from the CX-Programmer.
Normal Mode
In the normal mode, the program is executed before I/O is refreshed and peripherals are serviced. This cycle is executed repeatedly.
483
CPU Unit Operation
Power ON
Startup initialization
Initialize hardware memory and system work area.
Detect I/O.
Automatically transfer data from Memory Card.
Verify actual Units with registered I/O tables.
Clear I/O memory.
Check user memory.
Clear forced status, etc.
Overseeing processing
Check the Battery.
Check for Memory Card and other devices.
Read DIP switch settings.
Check I/O bus.
Check user program memory.
Cycle time
Program execution Operation processing: Execute the user program.
Error processing: Turn OFF outputs. (Reset Units for bus errors.)
After error: Clear I/O memory is an error occurs
(unless a FALS(007) instruction created the error).
I/O refreshing
(even in
PROGRAM mode)
Refresh data for the following
Units.
Basic I/O Units
SYSMAC BUS Remote I/O Master
Units
Special I/O Units (both words allocated in CIO and DM area and specific data for each Unit)
CPU Bus Units (both words allocated in CIO and DM area and specific data for each Unit)
Inner Boards (both words allocated in CIO and DM area and specific data for each Unit)
Section 10-1
Peripheral servicing
Perform the following servicing if any events have occurred.
Special I/O Unit event servicing
CPU Bus Unit event servicing
Peripheral port servicing
RS-232C port servicing
Inner Board event servicing
File access servicing
Communications port servicing
Parallel Processing (CS1-H CPU Units Only)
The following two types of processing are performed in parallel in either of the
Parallel Processing Modes.
1,2,3...
1.
Program execution: Includes user program execution and I/O refreshing. It is this cycle time that is monitored from a Programming Device.
2.
Peripheral servicing: Programming Devices and events from Special I/O
Units and CPU Bus Units are serviced when they occur.
There are two different Parallel Processing Modes. Parallel Processing with
Synchronous Memory Access refreshes I/O memory in the program execution
484
CPU Unit Operation
Section 10-1
Power ON
Program
Execution
Cycle
Startup initialization
Initialize hardware memory and system work area.
Detect I/O.
Automatically transfer data from Memory
Card.
cycle and Parallel Processing with Asynchronous Memory Access refreshes
I/O memory in the peripheral servicing cycle.
Verify actual Units with registered I/O tables.
Clear I/O memory.
Check user memory.
Clear forced status, etc.
Peripheral Servicing Cycle
Program execution cycle time
Overseeing processing
Read DIP switch settings.
Check I/O bus.
Program execution
I/O refreshing
(even in
PROGRAM mode)
Operation processing: Execute the user program.
Error processing: Turn OFF outputs.
(Reset Units for bus errors.)
After error: Clear I/O memory is an error occurs (unless a FALS(007) instruction created the error).
Refresh data for the following Units.
Basic I/O Units
SYSMAC BUS Remote I/O Master Units
Special I/O Units (both words allocated in
CIO and DM area and specific data for each Unit)
CPU Bus Units (both words allocated in
CIO and DM area and specific data for each Unit)
Inner Boards (both words allocated in CIO and DM area and specific data for each
Unit)
Peripheral servicing cycle time
Overseeing processing
Check the Battery.
Check I/O bus.
Check user program memory.
Peripheral servicing
Perform the following servicing if any events have occurred.
Special I/O Unit event servicing
CPU Bus Unit event servicing
Peripheral port servicing
RS-232C port servicing
Inner Board event servicing
Communications port servicing
Note: In Parallel Processing with
Synchronous Memory Access, any events requiring I/O memory access are serviced in the program execution cycle.
Peripheral Perform the following servicing if any events servicing have occurred.
File access servicing
Note: In Parallel Processing with Synchronous
Memory Access, any events requiring I/O memory access are serviced here.
Note Always disconnect the Programming Console from the peripheral port during actual system operation in a Parallel Processing Mode. If the Programming
Console is left attached, excess time will be allocated to increase key response for the Programming Console, adversely affecting performance.
10-1-2 I/O Refreshing and Peripheral Servicing
I/O Refreshing
I/O refreshing involves cyclically transferring data with external devices using preset words in memory. I/O refreshing includes the following:
• Refreshing between Basic I/O Units and I/O words in the CIO Area and refreshing between SYSMAC BUS Remote I/O Master Units and SYS-
MAC BUS and I/O Terminal words in the CIO Area
• Refreshing between Special I/O Units, CPU Bus Units, and Inner Boards, and the words allocated to these in the CIO Area (and for CPU Bus Units, words allocated in the DM Area)
• Refreshing Unit-specific data for Special I/O Units, CPU Bus Units, and
Inner Boards.
485
CPU Unit Operation
Section 10-1
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 (even in a Parallel
Processing Mode for CS1-H CPU Units).
Units
Basic I/O Units (including C200H
Group-2 I/O Units)
Max. data exchange
Depends on the
Unit.
SYSMAC BUS Remote I/O Master Unit Depends on the
Unit.
Special I/O
Units
(CS-series and
C200H)
Words allocated in CIO
Area
Unit- specific data
C200H
DeviceNet Master Unit
10 words/Unit
(Depends on the
Unit.)
Depends on the
Unit.
CS-series
CPU Bus
Units
Inner
Boards
Master Unit
Words allocated in CIO
Area
CompoBus/S
Words allocated in DM
Area
Unitspecific data
Controller Link
Unit and SYS-
MAC LINK Unit
CS-series
DeviceNet Unit
Words allocated in CIO
Area
Unitspecific data
Serial Communications Unit
Ethernet Unit
Serial Communications Board
Words set for remote I/O communications (for either fixed or user-set allocations)
Special I/O Units Area Depends on the
Unit.
25 words/Unit CS-series CPU Bus Unit
Area
100 words/Unit CS-series CPU Bus Unit
Area
Depends on the
Unit.
Words set for data links
(for either fixed or userset allocations)
Depends on the
Unit.
Words set for remote I/O communications (for either fixed or user-set allocations)
Depends on the protocol macros.
Depends on the
Unit.
Communications data set for protocol macros
Communications data for socket services initiated by specific control bit operations.
100 words/Unit Inner Board Area
Depends on the protocol macros.
Data exchange area
I/O Bit Area
SYSMAC BUS Area and
I/O Terminal Area
Special I/O Unit Area
Communications data set for protocol macros
486
CPU Unit Operation
Section 10-1
Peripheral Servicing
Units
Event servicing for CSseries Special I/O Units
Event servicing for CSseries CPU Bus Units
Event servicing for
Inner Boards
Peripheral port servicing
RS-232C port servicing
Peripheral servicing involves servicing non-scheduled events for external devices. This includes both events from external devices and service requests to external devices.
Most peripheral servicing for CS-series PLCs involved FINS commands. The specific amount of time set in the system is allocated to each type of servicing and executed every cycle. If all servicing cannot be completed within the allocated time, the remaining servicing is performed the next cycle.
Servicing
Non-scheduled servicing for FINS commands from CS-series Special I/O Units, CS-series CPU
Bus Units, and Inner Boards (e.g., requests to start external interrupt tasks)
Non-scheduled servicing for FINS commands from the CPU Unit to the above Units.
Non-scheduled servicing for FINS or Host Link commands received via the peripheral or RS-
232C ports from Programming Devices, PTs, or host computers (e.g., requests to transfer programming, monitoring, forced-set/reset operations, or online editing
Non-scheduled servicing from the CPU Unit transmitted from the peripheral or RS-232C port
(non-solicited communications)
Communications port servicing
File access servicing
Servicing to execute network communications, serial communications, or file memory access for the SEND, RECV, CMND or PMCR instructions using communications ports 0 to 7 (internal logical ports)
Servicing to execute background execution using communications ports 0 to 7 (internal logical ports) (CS1-H CPU Unit only)
File read/write operations for Memory Cards or EM file memory.
Note 1.
CS-series Special I/O Units, CS-series CPU Bus Units, RS-232C communications ports, Inner Boards, and file servicing is allocated 4% of the cycle time by default (the default can be changed). If servicing is separated over many cycles, delaying completion of the servicing, set the same allocated time (same time for all services) rather than a percentage under execute time settings in the PLC Setup.
2.
In either of the Parallel Processing Modes for the CS1-H CPU Unit, all peripheral servicing except for file access is performed in the peripheral servicing cycle.
10-1-3 Initialization at Startup
The following initializing processes will be performed once each time the power is turned ON.
• Detect mounted Units.
• Compare the registered I/O tables and the actual Units.
• Clear the non-holding areas of I/O memory according to the status of the
IOM Hold Bit. (See note 1.)
• Clear forced status according to the status of the Forced Status Hold Bit.
(See note 2.)
• Autoboot using the autotransfer files in the Memory Card if one is inserted.
• Perform self-diagnosis (user memory check).
487
CPU Unit Operating Modes
Note
Section 10-2
1.
The I/O memory is held or cleared according to the status of the IOM Host
Bit and the setting for IOM Hold Bit Status at Startup in the PLC Setup
(read only when power is turned ON).
Auxiliary bit
PLC Setup setting
IOM Hold Bit Status at Startup
(Programming Console address:
Word 80, bit 15)
Clear
(OFF)
Hold
(ON)
IOM Hold Bit (A50012)
Clear (OFF)
At power ON: Clear
At mode change: Clear
Hold (ON)
At power ON: Clear
At mode change: Hold
At power ON: Hold
At mode change: Hold
Mode Change: Between PROGRAMMING mode and RUN or MONITOR mode
2.
The forced status held or cleared according to the status of the Force Status Hold Bit and the setting for Forced Status Hold Bit Status at Startup in the PLC Setup.
Auxiliary bit
PLC Setup setting
Forced Status Hold
Bit Status at Startup
(Programming Console address:
Word 80, bit 14)
Clear
(OFF)
Hold
(ON)
Forced Status Hold Bit (A50013)
Clear (OFF) Hold (ON)
At power ON: Clear
At mode change: Clear
At power ON: Clear
At mode change: Hold
At power ON: Hold
At mode change: Hold
Mode Change: Between PROGRAMMING mode and RUN or MONITOR mode
3.
If the CPU Unit is turned OFF after online editing before the backup process has been competed, an attempt will be made to recover the program when power is turned ON again. The BKUP indicator will light during this process. Refer to the CS/CJ Series Programming Manual (W394) for details.
10-2 CPU Unit Operating Modes
10-2-1 Operating Modes
The CPU Unit has three operating modes that control the entire user program and are common to all tasks.
PROGRAM:
MONITOR:
Programs are not executed and preparations, such as creating I/O tables, initializing the PLC Setup and other settings, transferring programs, checking programs, force-setting and force-resetting can be executed prior to program execution.
Programs are executed, but some operations, such as online editing, forced-set/reset, and changes to present values in I/O memory, are enabled for trial operation and other adjustments.
RUN: Programs are executed and some operations are disabled.
488
CPU Unit Operating Modes
Section 10-2
10-2-2 Status and Operations in Each Operating Mode
PROGRAM, RUN, and MONITOR are the three operating modes available in the CPU Unit. The following lists status and operations for each mode.
Overall Operation
Mode Program
(See note)
I/O refresh
PROGRAM
RUN
MONITOR
Stopped
Executed
Executed
Executed
Executed
Executed
External outputs
OFF
Controlled by program
Controlled by program
Non-holding areas
I/O Memory
Holding areas
Clear Hold
Controlled by program
Controlled by program
Programming Console Operations
Mode Monitor I/O
Memory
Monitor
Program
Create I/O
Table
PROGRAM
MONITOR
RUN
OK
OK
OK
OK
OK
OK
Transfer Program
PLC to
Programming
Device
Programming
Device to PLC
OK
OK
OK
OK
X
X
OK
X
X
Check
Program
OK
X
X
Mode
PROGRAM
RUN
MONITOR
Mode
PROGRAM
RUN
MONITOR
PLC Setup
OK
X
X
OK
X
OK
Modify
Program
OK
X
OK
Force- set/reset
Changing
Timer/Counter
SV
Changing
Timer/Counter
PV
OK
X
OK
OK
X
OK
Changing I/O
Memory PV
OK
X
OK
Note The following table shows the relationship of operating modes to tasks.
Cyclic task status
Disabled status (INI)
• Any task that has not yet been executed, will be in disabled status (INI).
• A task will go to READY status if the task is set to go to READY status at startup or the TASK ON (TKON) instruction has been executed for it.
• A task in READY status will be executed (RUN status) when it obtains the right to execute.
• A status will go to Standby status if a READY task is put into Standby status by a TASK OFF (TKOF) instruction.
Interrupt task status
Stopped
Executed if interrupt condition is met.
489
Power OFF Operation
Section 10-3
Operating Mode Changes and I/O Memory
Mode Changes Non-holding areas
• I/O bits
• Data Link bits
• CPU Bus Unit bits
• Special I/O Unit bits
• Inner Board bits
• SYSMAC BUS bits
• I/O Terminal bits
• C200H Special I/O Unit bits
• DeviceNet bits
• Work bits
• Timer PV/Completion Flags
• Index Registers
• Data Registers
• Task Flags
(Auxiliary Area bits/words are holding or non-holding depending on the address.)
RUN or MONITOR to PROGRAM Cleared (See note 1.)
PROGRAM to RUN or MONITOR Cleared (See note 1.)
RUN to MONITOR or
MONITOR to RUN
Held (See note 2.)
Holding Areas
• HR Area
• DM Area
• EM Area
• Counter PV and Completion Flags
(Auxiliary Area bits/words are holding or non-holding depending on the address.)
Held
Held
Held
Note 1.
The following processing is performed depending on the status of the I/O
Memory Hold Bit. Output from Output Units will be turned OFF when operation stops even if I/O bit status is held in the CPU Unit.
2.
The cycle time will increase by approximately 10 ms when the operating mode is changed from MONITOR to RUN mode. This will not, however, cause an error for exceeding the maximum cycle time limit.
I/O Memory
Hold Bit status
(A50012)
OFF
ON
Mode changed between
PROGRAM and RUN/
MONITOR
Cleared
Held
I/O Memory
Operation stopped
Fatal error other than
FALS
Cleared
Held
FALS executed
Held
Held
Output bits allocated to Output Units
Mode changed between
PROGRAM and RUN/
MONITOR
Operation stopped
Fatal error other than
FALS
FALS executed
OFF
Held
OFF
OFF
OFF
OFF
Note Refer to
9-2 I/O Memory Areas for more details on I/O Memory.
10-3 Power OFF Operation
10-3-1 Overview
1,2,3...
The following processing is performed if CPU Unit power is turned OFF.
Power OFF processing will be performed if the power supply falls below 85% of the rated voltage while the CPU Unit is in RUN or MONITOR mode.
1.
The CPU Unit will stop.
2.
Outputs from all Output Units will be turned OFF.
490
Power OFF Operation
Section 10-3
Note All output will turn OFF despite an I/O Memory Hold Bit or I/O Memory Hold
Bit at power ON settings in the PLC Setup.
85% of the rated voltage:
AC power: 85 V for a 100 V AC system and 170 V for a 200 V AC system
DC power: 19.2 V DC
The following processing will be performed if power drops only momentarily
(momentary power interruption).
1,2,3...
1.
The system will continue to run unconditionally if the momentary power interruption lasts less than 10 ms, i.e., the time it takes the rated voltage at
85% or less to return to 85% or higher is less than 10 ms.
2.
A momentary power interruption that lasts more than 10 ms but less than
25 ms is difficult to determine and a power interruption may or may not be detected.
3.
The system will stop unconditionally if the momentary power interruption lasts more than 25 ms.
If operation stops under the conditions given in items 2 and 3 above, the timing used to stop operation (or the timing used to start execution of the Power
OFF Interrupt Task) can be delayed by setting the Power OFF Detection Delay
Time (0 to 10 ms) in the PLC Setup. Operation, however, will always be stopped 10 ms after detecting a momentary power interruption regardless of the setting in the PLC Setup.
85% of the rated voltage or less
10 ms 25 ms
Time
0 to 10 ms
Momentary power interruption not detected and operation continues.
Power supply voltage
10 to 15 ms
Power supply voltage
Operation will continue or stop depending on whether or not a momentary power interruption is detected.
25 ms and longer
Power supply voltage
Momentary power interruption detected and operation stops.
Note The above timing chart shows an example when the power OFF detection time is set to 0 ms (the default value).
491
Power OFF Operation
Power OFF Timing Chart
85% of rated voltage
Section 10-3
The following timing chart shows the CPU Unit power OFF operation in more detail.
Operation always stopped at this point regardless.
Power OFF detected signal
Holding time for 5 V internal power supply after power
OFF detection: 10 ms.
Power OFF detected
Power OFF detection time: Default is
10 to 25 ms (Power OFF undetermined)
Power OFF confirmed
Power OFF Detection
Delay Time: 0 to
10 ms (set in PLC Setup)
Processing time after power OFF is confirmed:
10 ms minus Power OFF
Detection Delay Time
Note: The interrupt task execution time must be less than or equal to processing time after power
OFF is confirmed.
Program execution status
Cyclic tasks or interrupt tasks not associated with power OFF
Power OFF interrupt task
Stopped
CPU reset signal
Power OFF Detection Time
The time it takes to detect power OFF after the power supply falls below 85% of the rated voltage.
Power OFF Detection Delay Time
The delay time after power OFF is detected until it is confirmed. This can be set in the PLC Setup within a range from 0 to 10 ms. (The default is 0 ms.)
Power Holding Time
The amount of time (fixed at 10 ms) that 5 V will be held internally after power shuts OFF. The time that it takes for the power OFF interrupt task to execute must not exceed 10 ms minus the Power OFF Detection Delay Time (processing time after power OFF is confirmed). The power OFF interrupt task will be ended even if it has not been completely executed the moment this time expires.
Description of Operation
1,2,3...
1.
Power OFF will be detected if the 100 to 120 V AC, 200 to 240 V AC or 24 V
DC power supply falls below 85% of the rated voltage for the power OFF detection time (somewhere between 10 to 25 ms).
2.
If the Power OFF Detection Delay Time is set (0 to 10 ms) in the PLC Setup, then the following operations will be performed when the set time expires.
a) If the power OFF interrupt task is disabled (default PLC Setup setting)
The CPU reset signal will turn ON and the CPU will be reset immediately.
b) If the power OFF interrupt task is enabled (in the PLC Setup), the CPU reset signal will turn ON and the CPU will be reset after the power OFF interrupt task has been executed. Make sure that the power OFF interrupt task will finish executing within 10 ms minus the Power OFF Detection Delay Time = processing time after power OFF. The 5-V internal power supply will be maintained only for 10 ms after power
OFF is detected.
492
Power OFF Operation
Section 10-3
10-3-2 Instruction Execution for Power Interruptions
If power is interrupted and the interruption is confirmed when the CPU Unit is operating in RUN or MONITOR mode, the instruction currently being executed will be completed (see note) and the following power interruption processing will be performed.
• If the power OFF interrupt task has not been enabled, the CPU Unit will be reset immediately.
• If the power OFF interrupt task has been enabled, the task will be executed and then the CPU Unit will be reset immediately.
The power OFF interrupt task is enable and disabled in the PLC Setup.
Note The current instruction can be completed only when the time required to complete execution is less than or equal to the processing time after power interruption detection (10 ms − power interruption detection delay time). If the instruction is not completed within this time, it will be interrupted and the above processing will be performed.
Disabling Power Interruption Processing in the Program
With CS1-H CPU Units, if the power OFF interrupt task is disabled, areas of the program can be protected from power interruptions so that the instructions will be executed before the CPU Unit performs power OFF processing even if the power supply is interrupted. This is achieved by using the DISABLE
INTERRUPTS (DI(693)) and ENABLE INTERRUPTS (EI(694)) instructions.
The following procedure is used.
1,2,3...
1.
Insert DI(693) before the program section to be protected to disable interrupts and then place EI(694) after the section to enable interrupts.
W0.00
DI
Interrupt tasks disabled.
Power interruption confirmed.
Instructions that cannot be interrupted when a power interruption occurs
Instructions executed here.
EI
Interrupt tasks enabled.
2.
Set the Disable Setting for Power OFF Interrupts in A530 to A5A5 hex to enable disabling power interruption processing.
Note A530 is normally cleared when power is turned OFF. To prevent this, the IOM Hold Bit (A50012) must be turned ON and the PLC Setup must be set to maintain the setting of the IOM Hold Bit at Startup, or the following type of instruction must be included at the beginning of the program to set A530 to A5A5 hex.
A20011
First Cycle Flag
MOV
#A5A5
A530
Set A530 to A5A5 hex at the beginning of the program to enable disabling power interruption processing.
3.
Disable the Power OFF Interrupt Task in the PLC Setup.
493
Power OFF Operation
Note
Section 10-3
With the above procedure, all instructions between DI(693) and EI(694) (or
END) will be completed (see note 1) before the Power OFF Interrupt is executed even if the power interruption occurs while executing the instructions between DI(693) and EI(694).
1.
The protected instructions can be completed only when the time required to complete execution is less than or equal to the processing time after power interruption detection (10 ms − power interruption detection delay time). If the instructions is not completed within this time, they will be interrupted and the above processing will be performed.
2.
If the Power OFF Interrupt Task is not disabled in the PLC Setup, the Power
OFF Interrupt Task will be executed, and the CPU Unit will be reset without executing the protected instructions as soon as the power interruption is detected.
3.
If a power interrupt is detected while DI(693) is being executed, the CPU
Unit will be reset without executing the protected instructions.
Operation always stopped at this point regardless.
85% of rated voltage
Power OFF detected signal
Holding time for 5 V internal power supply after power
OFF detection: 10 ms.
Power OFF detected
Power OFF detection time:
Default is 10 to 25 ms
(Power OFF undetermined)
Power OFF confirmed
Power OFF Detection
Delay Time: 0 to
10 ms (set in PLC Setup)
Processing time after power OFF is confirmed:
10 ms minus Power OFF
Detection Delay Time
Note: The interrupt task execution time must be less than or equal to processing time after power
OFF is confirmed.
Program execution status
CPU reset signal
Cyclic tasks or interrupt tasks not associated with power OFF
DI(693) EI(694)
Instructions between
DI(693) and EI(694) are executed.
Stopped
Interrupt processing is performed according to the contents of A530 and the
PLC Setup as shown below.
A530
Power OFF
Interrupt Task
(PLC Setup)
A5A5 hex (disabling power interrupt processing)
Disabled All instructions between
DI(693) and EI(694) are executed and the CPU Unit is reset.
Other
Execution of the current instruction is completed and the CPU Unit is reset.
Enabled Execution of the current instruction is completed, the
Power OFF Interrupt Task is executed, and the CPU Unit is reset.
494
Computing the Cycle Time
Section 10-4
10-4 Computing the Cycle Time
10-4-1 CPU Unit Operation Flowchart
The CS-series CPU Units process data in repeating cycles from the overseeing processing up to peripheral servicing as shown in the following diagram.
Normal Processing Mode
Power ON
Checks Unit connection status.
Checks hardware and user program memory
NO
Check OK?
YES
Sets error flags
ERR/ALM indicator
ON or Flashing?
Flashing (nonfatal error)
ON (fatal error)
Executes user program (i.e., executes
READY cyclic tasks).
End of program?
NO
YES
Resets watchdog timer and waits until the set cycle time has elapsed
Calculates cycle time
Performs I/O refreshing
Services Programming Devices
Startup initialization
Overseeing processing
Program execution
Cycle time calculation
I/O refreshing
Peripheral servicing
PLC cycle time
495
Computing the Cycle Time
Parallel Processing Mode
Power ON
Checks Unit connection status
Program Execution
Cycle
Peripheral
Servicing Cycle
Check hardware, etc.
Check OK?
Set error flags.
ERR/ALM indicator lit or flashing
Flashing:
Non-fatal error
Lit: Fatal error
Execute user program (i.e., READY cyclic tasks).
Program completed?
YES
Wait for specified cycle time.
NO
Calculates cycle time.
Check user program memory, etc.
Check OK?
Services peripherals.
Section 10-4
Refreshes I/O.
Services peripherals.
10-4-2 Cycle Time Overview
Normal Processing Mode
The cycle time depends on the following conditions.
• Type and number of instructions in the user program (in all cyclic tasks that are executed during a cycle, and within interrupt tasks for which the execution conditions have been satisfied).
• Type and number of Basic I/O Units
• Number of SYSMAC BUS Remote I/O Master Units and number of I/O points on the Slaves
• Type and number of Special I/O Units, CS-series CPU Bus Units, Inner
Boards, and type of services being executed.
• Specific servicing for the following Units/Boards
• Data link refreshing and the number of data link words for Controller
Link and SYSMAC LINK Units
496
Computing the Cycle Time
Section 10-4
• Remote I/O for DeviceNet (Master) Units and the number of remote I/O words
• Use of protocol macros and the largest communications message
• Socket services for specific control bits for Ethernet Units and the number of send/receive words
• Fixed cycle time setting in the PLC Setup
• File access in file memory, and the amount of data transferred to/from file memory
• Event servicing for Special I/O Units, CPU Bus Units, Inner Boards, and communications ports
• Use of peripheral and RS-232C ports
• 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.
2.
When the mode is switched from MONITOR mode to RUN mode, the cycle time will be extended by 10 ms (this will not, however, take the cycle time over its limit).
The cycle time is the total time required for the PLC to perform the 5 operations shown in the following tables.
Cycle time = (1) + (2) + (3) + (4) + (5)
1: Overseeing
Details
Checks the I/O bus and user program memory, checks for battery errors and refreshes the clock.
Processing time and fluctuation cause
CS1-H CPU Unit: 0.3 ms
CS1 CPU Unit: 0.5 ms
2: Program Execution
Details
Executes the user program, and calculates the total time time taken for the instructions to execute the program.
Processing time and fluctuation cause
Total instruction execution time
3: Cycle Time Calculation
Details
Waits for the specified cycle time to elapse when a minimum
(fixed) cycle time has been set in the PLC Setup.
Calculates the cycle time.
Processing time and fluctuation cause
When the cycle time is not fixed, the time for step 3 is approximately 0.
When the cycle time is fixed, the time for step 3 is the preset fixed cycle time minus the actual cycle time ((1) + (2) + (4) +
(5)).
497
Computing the Cycle Time
Section 10-4
4: I/O Refreshing
Basic I/O Units
(including
C200H Group-
2 I/O Units)
Details
Basic I/O Units are refreshed. Outputs from the CPU Unit to the I/O Unit are refreshed first for each Unit, and then inputs.
SYSMAC BUS
Remote I/O
Master Unit
Special I/O
Units
SYSMAC BUS remote I/O is refreshed.
Outputs from the CPU Unit to remote I/O are refreshed first for each Unit, and then inputs.
Words allocated in CIO Area
Unit- specific data
DeviceNet remote I/O for C200H DeviceNet
Master Units and CompoBus/S remote I/O
CPU Bus Units Words allocated in CIO and DM Areas
Processing time and fluctuation cause
I/O refresh time for each Unit multiplied by the number of
Units used.
I/O refresh time for SYSMAC BUS remote I/O system.
I/O refresh time for each Unit multiplied by the number of
Units used.
I/O refresh time for each Unit multiplied by the number of
Units used.
I/O refresh time for each Unit multiplied by the number of
Units used.
Unit- specific data
Data links for Controller Link and SYSMAC
LINK Units, DeviceNet remote I/O for CSseries DeviceNet Units, send/receive data for protocol macros, and socket services for specific control bits for
Ethernet Units
Inner Boards Words allocated in Inner Board Area
Unit- specific data
Example: Send/receive data for protocol macros,
I/O refresh time for each Unit multiplied by the number of
Units used.
5: Peripheral Servicing
Services events for CS-series Special I/O
Units.
Details
Note Peripheral servicing does not include
I/O refreshing,
Services events for CS-series CPU Bus
Units.
Processing time and fluctuation cause
If a uniform peripheral servicing time hasn’t been set in the PLC Setup for this servicing, 4% of the previous cycle’s cycle time (calculated in step (3)) will be allowed for peripheral servicing.
If a uniform peripheral servicing time has been set in the PLC Setup, servicing will be performed for the set time. At least 0.1 ms, however, will be serviced whether the peripheral servicing time is set or not.
If no Units are mounted, the servicing time is 0 ms.
Same as above.
Note Peripheral servicing does not include
I/O refreshing.
Services events for peripheral ports.
Services RS-232C ports.
If a uniform peripheral servicing time hasn’t been set in the PLC Setup for this servicing, 4% of the previous cycle’s cycle time (calculated in step (3)) will be allowed for peripheral servicing.
If a uniform peripheral servicing time has been set in the PLC Setup, servicing will be performed for the set time. At least 0.1 ms, however, will be serviced whether the peripheral servicing time is set or not.
If the ports are not connected, the servicing time is 0 ms.
Same as above.
498
Computing the Cycle Time
Section 10-4
Details
Services Inner Board events.
Services file access (Memory Card or EM file memory).
Services communications ports.
Processing time and fluctuation cause
If a uniform peripheral servicing time hasn’t been set in the PLC Setup for this servicing, 4% of the previous cycle’s cycle time (calculated in step (3)) will be allowed for peripheral servicing.
If a uniform peripheral servicing time has been set in the PLC Setup, servicing will be performed for the set time. At least 0.1 ms, however, will be serviced whether the peripheral servicing time is set or not.
If no Inner Boards are mounted, the servicing time is 0 ms.
If a uniform peripheral servicing time hasn’t been set in the PLC Setup for this servicing, 4% of the previous cycle’s cycle time (calculated in step (3)) will be allowed for peripheral servicing.
If a uniform peripheral servicing time has been set in the PLC Setup, servicing will be performed for the set time. At least 0.1 ms, however, will be serviced whether the peripheral servicing time is set or not.
If there is no file access, the servicing time is 0 ms.
If a uniform peripheral servicing time hasn’t been set in the PLC Setup for this servicing, 4% of the previous cycle’s cycle time (calculated in step (3)) will be allowed for peripheral servicing.
If a uniform peripheral servicing time has been set in the PLC Setup, servicing will be performed for the set time. At least 0.1 ms, however, will be serviced whether the peripheral servicing time is set or not.
If no communications ports are used, the servicing time is 0 ms.
Parallel Processing with Asynchronous Memory Access
Program Execution Cycle The program execution cycle time depends on the following conditions.
• Type and number of instructions in the user program (in all cyclic tasks that are executed during a cycle, and within interrupt tasks for which the execution conditions have been satisfied).
• Type and number of Basic I/O Units
• Number of SYSMAC BUS Remote I/O Master Units and number of I/O points on the Slaves
• Type and number of Special I/O Units, CS-series CPU Bus Units, Inner
Boards, and type of services being executed.
• Specific servicing for the following Units/Boards
• Data link refreshing and the number of data link words for Controller
Link and SYSMAC LINK Units
• Remote I/O for DeviceNet (Master) Units and the number of remote I/O words
• Use of protocol macros and the largest communications message
• Socket services for specific control bits for Ethernet Units and the number of send/receive words
• Fixed cycle time setting in the PLC Setup
• File access in file memory, and the amount of data transferred to/from file memory
• Fixed peripheral servicing time in the PLC Setup
The program execution cycle time is the total time required for the PLC to perform the 5 operations shown in the following tables.
499
Computing the Cycle Time
Section 10-4
Peripheral Servicing Cycle
Time
Note
Cycle time = (1) + (2) + (3) + (4) + (5)
(1) Overseeing
Details
I/O bus check, etc.
Processing time and fluctuation cause
0.3 ms
(2) Program execution Same as for Normal Mode. Same as for Normal Mode.
(3) Cycle time calculation
Waits for the specified cycle time.
Same as for Normal Mode.
(4) I/O refreshing
(5) Partial peripheral servicing
Same as for Normal Processing Mode.
Servicing file access
Same as for Normal Processing Mode.
Same as for Normal Processing Mode.
The peripheral servicing execution cycle time depends on the following conditions.
• Type and number of Special I/O Units, CS-series CPU Bus Units, Inner
Boards, and type of services being executed.
• Type and frequency of event servicing requiring communications ports.
• Use of peripheral and RS-232C ports
The peripheral servicing cycle time is the total time required for the PLC to perform the 5 operations shown in the following tables.
Cycle time = (1) + (2)
(1)
(2)
Name
Overseeing processing
Peripheral servicing
Processing
Checks user program memory, checks for battery errors, etc.
Performs services for the events give at the right, including I/O memory access.
Events with CS-series
Special I/O Units (does not include I/O refreshing)
Events with CS-series
CPU Bus Units (does not include I/O refreshing)
Peripheral port events
RS-232C port events
Events with Inner
Boards
Events using communications ports
Processing time and fluctuation cause
0.2 ms
1.0 ms for each type of service
If servicing ends before
1 ms has expired, the next type of servicing will be started immediately without waiting.
1.
The cycle time display on a Programming Device is the Program Execution
Cycle Time.
2.
The peripheral service cycle time varies with the event load and number of
Units that are mounted. In a Parallel Processing Mode, however, this variation will not affect the program execution cycle time.
Parallel Processing with Synchronous Memory Access
Program Execution Cycle The program execution cycle time depends on the same conditions as the
Normal Mode. Partial peripheral servicing ((5) below), however, is restricted to servicing for file and I/O memory access.
The program execution cycle time is the total time required for the PLC to perform the 5 operations shown in the following tables.
500
Computing the Cycle Time
Peripheral Servicing Cycle
Time
Note
Section 10-4
Cycle time = (1) + (2) + (3) + (4) + (5)
Details
(1) Overseeing I/O bus check, etc.
Processing time and fluctuation cause
0.3 ms
(2) Program execution
(3) Cycle time calculation
Same as for Normal Mode.
Waits for the specified cycle time.
Same as for Normal
Mode.
Same as for Normal
Mode.
(4) I/O refreshing Same as for Normal Processing Mode. Same as for Normal
Mode.
(5) Partial peripheral servicing
Servicing file access (Memory Card or
EM file memory)
Same as for Normal
Mode.
Performs services for the events give at the right that requires
I/O memory access
Events with CS-series
Special I/O Units (does not include I/O refreshing)
Events with CS-series
CPU Bus Units (does not include I/O refreshing)
Peripheral port events
RS-232C port events
Events with Inner Boards
Events using communications ports
The peripheral servicing execution cycle time depends on the same conditions as the Parallel Processing with Asynchronous Memory Access. Peripheral servicing ((2) below), however, is restricted to servicing that does not access I/O memory.
The peripheral servicing cycle time is the total time required for the PLC to perform the 2 operations shown in the following tables.
Cycle time = (1) + (2)
(1)
(2)
Name
Overseeing processing
Peripheral servicing
Processing
Checks user program memory, checks for battery errors, etc.
Performs services for the events give at the right, excluding those that require I/O memory access.
Events with CS-series
Special I/O Units (does not include I/O refreshing)
Events with CS-series
CPU Bus Units (does not include I/O refreshing)
Peripheral port events
RS-232C port events
Events with Inner
Boards
Events using communications ports
Processing time and fluctuation cause
0.2 ms
1.0 ms for each type of service
If servicing ends before
1 ms has expired, the next type of servicing will be started immediately without waiting.
1.
The cycle time display on a Programming Device is the Program Execution
Cycle Time.
2.
The peripheral service cycle time varies with the event load and number of
Units that are mounted. In a Parallel Processing Mode, however, this variation will not affect the program execution cycle time.
501
Computing the Cycle Time
Section 10-4
10-4-3 I/O Unit Refresh Times for Individual Units and Boards
Basic I/O Unit Refresh
Unit Name Model
C200H
Basic I/O
Units
C200H
Group-2
High-density I/O Unit
(classified as Basic I/O
Units)
8-point Input Unit
8-point Output Unit
12-point Output Unit
16-point Input Unit
16-point Output Unit
Interrupt Input Unit
32-point Input Unit
32-point Output Unit
64-point Input Unit
64-point Output Unit
32-point B7A Input Units
32-point B7A Output Units
16/16-point B7A I/O Units
32/32-point B7A I/O Units
C200H-ID211
C200H-OC221
C200H-OA224
C200H-ID212
C200H-OD212
C200HS-INT01
C200H-ID216
C200H-OD218
C200H-ID217
C200H-OD219
C200H-B7A12
C200H-B7A02
C200H-B7A21
C200H-B7A22
I/O refresh time per Unit
0.03 ms
0.03 ms
0.03 ms
0.02 ms
0.03 ms
0.10 ms
0.10 ms
0.10 ms
0.20 ms
0.13 ms
0.1 ms
0.1 ms
0.1 ms
0.2 ms
502
Computing the Cycle Time
Section 10-4
Unit
CS-series
Basic I/O
Units
Name Model I/O refresh time per Unit
16-point DC Input Unit
16-point AC Input Unit
CS1W-ID211
CS1W-IA111/211
8/16-point Relay Output Unit CS1W-OC201/211 0.004 ms
(See note.)
8/16-point Triac Output Unit CS1W-OA201/211 0.004 ms
(See note.)
CS1W-OD211
0.004 ms
(See note.)
0.004 ms
(See note.)
16-point Transistor Output Unit, sinking outputs
16-point Transistor Output Unit, sourcing outputs
16-point Interrupt Input Unit
CS1W-OD212
CS1W-INT01
0.004 ms
(See note.)
0.004 ms
(See note.)
16-point High-speed Input Unit CS1W-IDP01
0.004 ms
(See note.)
0.004 ms
(See note.)
32-point DC Input Unit CS1W-ID231
64-point DC Input Unit
96-point DC Input Unit
CS1W-ID261
CS1W-ID291
0.007 ms
(See note.)
0.014 ms
(See note.)
0.02 ms
(See note.)
32-point Transistor Output Unit, sinking outputs
CS1W-OD231
32-point Transistor Output Unit, sourcing outputs
64-point Transistor Output Unit, sinking outputs
64-point Transistor Output Unit, sourcing outputs
CS1W-OD232
CS1W-OD261
CS1W-OD262
96-point Transistor Output Unit, sinking outputs
CS1W-OD291
0.008 ms
(See note.)
0.008 ms
(See note.)
0.016 ms
(See note.)
0.016 ms
(See note.)
0.02 ms
(See note.)
0.02 ms
(See note.)
0.015 ms
(See note.)
96-point Transistor Output Unit, sourcing outputs
32-point DC Input/32-point
Transistor Output Unit, sourcing outputs
32-point DC Input/32-point
Transistor Output Unit, sinking outputs
CS1W-OD292
CS1W-MD261
CS1W-MD262
48-point DC Input/48-point
Transistor Output Unit, sinking outputs
48-point DC Input/48-point
Transistor Output Unit, sourcing outputs
32-point B7A Input Unit
CS1W-MD291
CS1W-MD292
CS1W-B7A12
0.015 ms
(See note.)
0.02 ms
(See note.)
0.02 ms
(See note.)
64-point B7A Output Unit
16-point Input/16-point Output
B7A I/O Unit
32-point Input/32-point Output
B7A I/O Unit
CS1W-B7A02
CS1W-B7A21
CS1W-B7A22
0.1 ms
(See note.)
0.1 ms
(See note.)
0.1 ms
(See note.)
0.2 ms
(See note.)
503
Computing the Cycle Time
Section 10-4
Note Longer I/O refresh times will be required according to the distance from the
CPU Rack to the Unit when these Units are mounted to CS-series Long-distance Expansion Racks. Multiply the values given in the table by the factors on line *1 in the following graph.
I/O Unit Refresh Time Coefficients for Units on CS1 Long-distance Expansion Racks
Factor
(*3)
(*1)
(*2)
Special I/O Unit Refresh
Distance to Unit (m)
Unit
C200H Special I/O
Units
High-density I/O
Units
Name Model
C200H-MD215
C200H-MD501
C200H-TC @@@
I/O refresh time per Unit
0.5 ms
1.5 ms
2.6 ms Temperature Control Unit
Heat/Cool Temperature Control Unit
Temperature Sensor Unit
C200H-TV
C200H-TS
@@@
@@@
2.6 ms
1.0 ms
PID Control Unit
ASCII Unit
C200H-PID @@
C200H-ASC02
C200H-
ASC11/21/31
C200H-AD001
2.6 ms
1.8 ms
0.4 ms
Analog Input Unit
Position Control
Unit
1.0 ms
C200H-AD002
C200H-AD003
1.4 ms
0.7 ms
Analog Output Unit C200H-DA001/002 0.9 ms
C200H-DA003/004 0.6 ms
Analog I/O Unit
High-speed
Counter Unit
C200H-MAD01
C200H-CT001-
V1/CT002
C200H-CT021
0.6 ms
2.4 ms
0.5 ms
C200H-NC111/112 2.2 ms
(4.0 ms for read)
504
Computing the Cycle Time
Section 10-4
Unit
C200H Special I/O
Units, continued
Name
Position Control
Unit, continued
Motion Control Unit
Model
C200H-NC211
C200HW-NC113
C200HW-NC213
C200HW-NC413
C200H-MC221
C200H DeviceNet
Master Unit
C200HW-DRM21-
V1
C200H DeviceNet
I/O Link Unit
C200HW-DRT21-
V1
CompoBus/S Master Unit
C200HW-SRM21-
V1
I/O refresh time per Unit
5.1 ms
(6.7 ms for read)
2.0 ms
(2.9 ms for read or write)
2.3 ms
(3.2 ms for read or write)
4.3 ms
(5.5 ms for read or write)
1.2 ms
(2.1 ms for read)
1.8 ms ID Sensor Unit
Cam Positioner Unit C200H-CP114
Voice Unit
Fuzzy Logic Unit
PC Link Unit
C200H-IDS01-
V1/21
C200H-OV001
C200H-FZ001
C200H-LK401
SYSMAC BUS
Remote I/O Master
Unit
C200H-RM201
C200H-RM001-V1
2.0 ms
3.4 ms
1.8 ms
0.3 ms (connected without data links operating)
4.1 ms (for 256 data link points)
7.4 ms (for 512 data link points)
1.1 ms x No. of
Units + 0.17 x N, where N is the No. of words allocated to slaves
1.72 ms + 0.0022 × number of allocated words
1.72 ms + 0.0022 × number of allocated words
0.4 ms (for the maximum of 16 slaves)
0.9 ms (for the maximum of 32 slaves)
505
Computing the Cycle Time
Section 10-4
Unit
CS-series
Special I/O
Units
Name Model
Analog I/O Unit
Analog Input Unit
Analog Output Unit
Isolated Thermocouple
Input Unit
Isolated Resistance Thermometer Input Unit
Isolated Ni508.4
Ω Resistance Thermometer Input
Unit
CS1W-MAD44
CS1W-AD041/081-V1
CS1W-AD161
CS1W-DA041/08V/08C
CS1W-PTS01-V1
CS1W-PTS02-V1
CS1W-PTS03
Isolated 2-wire Transmission Device Input Unit
Isolated DC Input Unit
CS1W-PTW01
CS1W-PDC01
Isolated Control Output Unit
(Analog Output Unit)
Power Transducer Input
Unit
DC Input Unit (100 mA)
Isolated Pulse Input Unit
CS1W-PMV01
CS1W-PTR01
CS1W-PTR02
CS1W-PPS01
Position Control Unit CS1W-NC113/133
I/O refresh time per Unit
CS1 CS1-H
0.2 ms
0.2 ms
0.2 ms
0.2 ms
0.3 ms
0.3 ms
0.3 ms
0.3 ms
0.3 ms
0.3 ms
0.3 ms
0.12 ms
0.12 ms
0.11 ms
0.12 ms
0.16 ms
0.16 ms
0.16 ms
0.16 ms
0.16 ms
0.16 ms
0.16 ms
High-speed Counter Unit
Motion Control Unit
CompoNet Master Unit
CS1W-NC213/233
CS1W-NC413/433
CS1W-CT021/041
CS1W-MC221
CS1W-MC421
Customizable Counter Unit CS1W-HIO01
CS1W-HCP22
CS1W-HCA22
CS1W-
CRM21
0.3 ms
0.3 ms
0.16 ms
0.16 ms
0.29 ms (+ 0.7 ms for each instruction (IOWR/
IORD) used to transfer data)
0.32 ms (+ 0.7 ms for each instruction (IOWR/
IORD) used to transfer data)
0.41 ms (+ 0.6 ms for each instruction (IOWR/
IORD) used to transfer data)
0.2 ms 0.14 ms
0.8 ms
0.85 ms
0.32 ms
0.42 ms
0.2 ms (+ 0.3 ms if DM
Area or LR Area is used for data exchange with
CPU Unit)
0.2 ms 0.189 ms Communications mode No. 0
Communications mode No. 1
Communications mode No. 2
Communications mode No. 3
Communications mode No. 8
0.256 ms
0.3 ms
0.322 ms
0.154 +
(0.0022 ×
No. of allocated words) ms
0.211 ms
0.233 ms
0.289 ms
0.109 +
(0.0014 ×
No. of allocated words) ms
When a Longdistance
Expansion Rack is used (See note.)
0.2 ms × *2
0.2 ms × *2
0.3 ms × *2
0.2 ms × *2
0.3 ms × *2
0.3 ms
0.3 ms
0.3 ms
0.3 ms
0.3 ms
0.3 ms
0.3 ms
0.3 ms
× *2
× *2
Multiply times at left by factor *2 (See note.)
0.2 ms
0.8 ms
0.8 ms
× *2
× *2
× *2
Multiply times at left by factor *2 (See note.)
× *2
× *2
Multiply times at left by factor *2 (See note.)
× *2
× *2
× *2
× *2
Note Longer increases in the cycle time will occur according to the distance from the CPU Rack to the Unit when these Units are mounted to CS-series Long-
506
Computing the Cycle Time
Section 10-4
distance Expansion Racks. Multiply the values given in the table by the factors
on line *2 in the graph on page 504 for the increases for data link words and
send/receive words.
507
Computing the Cycle Time
Section 10-4
Increase in Cycle Time Caused by CPU Bus Units
Name
Controller Link Unit
SYSMAC LINK
Serial Communications
Unit
DeviceNet Unit
Ethernet Unit
Model
CS1W-
CLK11/21
(-V1) or
CS1W-
CLK23
CS1W-
CLK12/52
(-V1) or
CS1W-
CLK13/53
CS1W-
SLK11/21
CS1W-
SCU21-
V1
CS1W-
DRM21-
V1
CS1W-
ETN01/11
/21
Increase
CS1: 0.2 ms
CS1-H: 0.1 ms
(See note 1.)
With Long-distance Expansion Rack:
0.2 ms × factor *2
CS1: 0.2 ms
CS1-H: 0.1 ms
(See note 1.)
With Long-distance Expansion Rack:
0.2 ms × factor *2
CS1: 0.2 ms
CS1-H: 0.1 ms
(See note 1.)
With Long-distance Expansion Rack:
0.2 ms × factor *2
CS1: 0.25 ms
CS1-H: 0.22 ms
(See note 1.)
With Long-distance Expansion Rack:
0.2 ms × factor *2
Remarks
There will be an increase of 1.5 ms + 1 µs
× number of data link words for CS1 CPU
Units and of 0.1 ms + 0.7
µs x number of data link words for CS1-H CPU Units.
(See note 2.)
With Long-distance Expansion Rack:
(1.5 ms + (number of send words × 1 µs))
× factor *3
There will be an additional increase of the event execution times when message services are used.
There will be an increase of up to the following time when a protocol macro is executed:
CS1 CPU Units: 1.3 ms + 1 µs × maximum number of data words sent or received (0 to 500 words)
CS1-H CPU Units: 0.1 ms + 0.7
µs × maximum number of data words sent or received (0 to 500 words)
With Long-distance Expansion Rack:
(1.3 ms + (max. number of send/receive words × 1 µs)) × factor *3
Max. number of send/receive words = 0 to 500 words
There will be an increase of the event execution times when Host Links or 1:N
NT Links are used.
--CS1: 0.7 ms + 1 µs for each allocated word
CS1-H: 0.4 ms + 0.7
µs for each allocated word
(See note 1.)
With Long-distance Expansion Rack:
(0.7 ms + (number of allocated words ×
1 µs)) × factor *3
CS1: 0.25 ms
CS1-H: 0.1 ms
(See note 1.)
With Long-distance Expansion Rack:
0.2 ms × factor *2
If socket services are executed with software switches, there will be an increase of 2 µs × the number of bytes sent/received for CS1 CPU Units and of
1.4
µs × the number of bytes sent/received for CS1-H CPU Units. (See note 2.)
With Long-distance Expansion Rack:
(number of send or receive bytes × 2 µs)
× factor *3
There will be an increase of the event execution times when FINS communications services, socket services for CMND instructions, or FTP services are performed.
508
Computing the Cycle Time
Section 10-4
Name
PROFIBUS-DP Master
Unit
Loop Control Unit
Model
CS1W-
PRM21
CS1W-
LC001
Note
Increase
CS1: 0.7 ms + 1 µs for each allocated word
CS1-H: 0.4 ms + 0.7
µs for each allocated word
Remarks
Include all words allocated to the slaves, including unused ones.
For FINS communications with the Unit, add the number of communications words to the calculations on the left.
--CS1: 0.2 ms
CS1-H: 0.1 ms
(See note 1.)
With Long-distance Expansion Rack:
0.2 × factor *2
1.
The times given show the performance of the CPU6 @H.
2.
Longer increases in the cycle time will occur according to the distance from the CPU Rack to the Unit when these Units are mounted to CS-series
Long-distance Expansion Racks. Multiply the values given in the table by
the factors on line *2 in the graph on page 504 for the increases and by the
factors on line *3 for the additional increases for data link words and send/receive words
Increase in Cycle Time Caused by Inner Board
Name
Serial Communications
Board
Model
CS1W-
SCB21/41
-V1
Increase
CS1: 0.25 ms
CS1-H: 0.22 ms
Remarks
There will be an increase of up to the following time when a protocol macro is executed:
CS1 CPU Units: 1 µs × maximum number of data words sent or received (0 to
500 words) + 1.3 ms
CS1-H CPU Units: 0.7
µs × maximum number of data words sent or received
(0 to 500 words) + 0.1 ms
There will be an increase of the event execution times when Host Links or 1:N
NT Links are used.
10-4-4 Cycle Time Calculation Example
The following example shows the method used to calculate the cycle time when Basic I/O Units only are mounted to the PLC with a CS1G-CPU4 @H.
Conditions
User program
Item
CPU Rack (8 slots)
CS-series Expansion Rack (8 slots) × 1 Unit
Peripheral port connection
Fixed cycle time processing
Details
CS1W-ID291 96-point Input Units 4 Units
CS1W-OD291 96-point Output
Units
4 Units
CS1W-ID291 96-point Input Units 4 Units
CS1W-OD291 96-point Output
Units
5 K steps
4 Units
LD instruction
2.5 K steps,
OUT instruction 2.5 K steps
Yes and no
No
509
Computing the Cycle Time
Section 10-4
Item
RS-232C port connection
Peripheral servicing with other devices (Special I/O Units, CSseries CPU Bus Units, Inner
Boards, and file access)
No
No
Details
Calculation Example
Process name Calculation
(1) Overseeing
(2) Program execution
(3) Cycle time calculation
(4) I/O refreshing
(5) Peripheral servicing
---
0.04 µs × 2,500 +
0.04 µs × 2,500
(Fixed cycle time not set)
0.02 ms × 8 +
0.02 ms × 8
(Peripheral port connected only)
With
Programming
Device
0.3 ms
Processing time
Without
Programming
0.3 ms
Device
0.2 ms 0.2 ms
0 ms
0.32 ms
0.1 ms
0 ms
0.32 ms
0 ms
Cycle time (1) + (2) + (3) + (4)
+ (5)
0.92 ms 0.82 ms
10-4-5 Online Editing Cycle Time Extension
When online editing is executed from a Programming Device (such as Programming Console or CX-Programmer) while the CPU Unit is operating in
MONITOR mode to change the program, the CPU Unit will momentarily suspend operation while the program is being changed. The period of time that the cycle time is extended is determined by the following conditions.
• Number of steps changed
• Editing operations (insert/delete/overwrite)
• Types of instructions used
For pre-V1 CS1 CPU Units, the cycle time extension for online editing depends mainly on the size of the program in the largest task. Ideally, tasks should be separated so that one task is 64 Ksteps max.
For CS1 CPU Units of version 1 or higher, the cycle time extension for online editing will be negligibly affected by the size of task programs.
If the maximum program size for each task is 64 Ksteps, the following table provides guidelines for the maximum online editing cycle time extensions.
CPU Unit
CPU6 @H CS1-H CPU Units
CPU4 @H CS1-H CPU Units
V1 CS1 CPU Units or higher
Pre-V1 CS1 CPU Units
Guidelines for increase in cycle time for online editing
Approx. 8 ms
Approx. 11 ms
Approx. 12 ms
Approx. 90 ms
When editing online, the cycle time will be extended by the time that operation is stopped.
Note When there is one task, online editing is processed all in the cycle time following the cycle in which online editing is executed (written). When there are mul-
510
Computing the Cycle Time
Section 10-4
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.
10-4-6 I/O Response Time
The I/O response time is the time it takes from when an Input Unit’s input turns ON, the data is recognized by the CS-series CPU Unit, and the user program is executed, up to the time for the result to be output to an Output
Unit’s output terminals.
The length of the I/O response time depends on the following conditions.
• Timing of Input Bit turning ON.
• Cycle time.
• Type of Rack to which Input and Output Units are mounted (CPU Rack,
CPU Expansion Rack, Expansion Rack).
Basic I/O Units
Minimum I/O Response
Time
The I/O response time is shortest when data is retrieved immediately before
I/O refresh of the CPU Unit.
The minimum I/O response time is the total of the Input ON delay, the cycle time, and the Output ON delay.
Note The Input and Output ON delay differs according to the Unit used.
I/O refresh
Input
Input ON delay
(Interrupt to CPU Unit)
Cycle time
Instruction execution
Cycle time
Instruction execution
Output ON delay
Output
Maximum I/O Response
Time
Minimum I/O response time
The I/O response time is longest when data is retrieved immediately after I/O refresh of the Input Unit.
The maximum I/O response time is the total of the Input ON delay, (the cycle time × 2), and the Output ON delay.
511
Computing the Cycle Time
Section 10-4
I/O refresh
Input
Input ON delay
(Interrupt to CPU Unit)
Cycle time
Instruction execution
Cycle time
Instruction execution
Instruction execution
Output ON delay
Output
Maximum I/O response time
Calculation Example
Conditions: Input ON delay
Output ON delay
Cycle time
1.5 ms
0.2 ms
20.0 ms
Minimum I/O response time = 1.5 ms + 20 ms + 0.2 ms = 21.7 ms
Maximum I/O response time = 1.5 ms + (20 ms ×2) + 0.2 ms = 41.7 ms
SYSMAC BUS Remote I/O
The response times for both inputs and outputs are shown here for when
Slave Racks are used.
Minimum Remote I/O
Response Time
The minimum I/O response time is the sum of the Input ON delay, (the cycle time × 3), and the Output ON delay.
Note The cycle time is longer than the remote I/O transmission time.
CPU Unit
Program execution
Master-to-CPU Unit transmission
Remote I/O Master Unit
Master-to-Slave communications
Remote I/O Slave Unit
Slave I/O refresh
Input
Output
Maximum Remote I/O
Response Time
Remote I/O transmission time = (Remote I/O Slave transmission time per
Slave + I/O Terminal transmission time) × 2
Remote I/O Slave transmission time per Slave = 1.4 ms + 0.2 ms × (total number of I/O words on Slave Rack)
I/O Terminal transmission time = 2.0 ms × (number of I/O Terminals)
The maximum I/O response time is the sum of the Input ON delay, (the cycle time × 4), and the Output ON delay.
Note The cycle time is longer than the remote I/O transmission time.
512
Computing the Cycle Time
Section 10-4
CPU Unit
Remote I/O Master Unit
Remote I/O Slave Unit
Master-to-CPU Unit transmission
Slave I/O refresh
Program execution
Master-to-Slave communications
Input
Output
Calculation Example
Conditions: Input ON delay
Output ON delay
Cycle time
1.5 ms
0.2 ms
20.0 ms
Minimum I/O response time = 1.5 ms + (20 ms ×3) + 0.2 ms = 61.7 ms
Maximum I/O response time = 1.5 ms + (20 ms ×4) + 0.2 ms = 81.7 ms
• When Special I/O Units are mounted to Slave Racks, the cycle time may be less than or equal to the remote I/O transmission time. In this case, I/O refresh may not occur between the CPU Unit and the Remote I/O Master
Unit in some cycles.
• Refreshing will be performed for Remote I/O Masters only once in each cycle, and then only after confirming completion of the remote cycle.
• The short duration of ON/OFF status produced by differentiated instructions can cause inaccurate signals.
10-4-7 Interrupt Response Times
I/O Interrupt Tasks
Note
The interrupt response time for I/O interrupt tasks is the time taken from when an input from a CS1W-INT01 or C200HS-INT01 Interrupt Input Unit has turned ON (or OFF) until the I/O interrupt task has actually been executed.
The length of the interrupt response time for I/O interrupt tasks depends on the following conditions.
Item CPU Unit
Hardware response CS1-H CPU Unit
CS1 CPU Units
Software interrupt response
CS1-H CPU Unit
CS1 CPU Units
Time
Upward differentiation: 0.1 ms,
Downward differentiation: 0.5 ms
124 µs
320 µs
1.
The software interrupt response time will be 1 ms if there is a C200H Special I/O Unit in the PLC.
• The C200HS-INT01 Interrupt Input Unit’s input ON delay is 0.2 ms maximum.
• The C200HS-INT01 Interrupt Input Unit’s software interrupt response time is 1 ms maximum.
2.
I/O interrupt tasks can be executed (while an instruction is being executed, or by stopping the execution of an instruction) during execution of the user program, I/O refresh, peripheral servicing, or overseeing. The interrupt response time is not affected by the Input of the Interrupt Input Unit turning
ON during any of the above processing operations.
513
Instruction Execution Times and Number of Steps
Section 10-5
Some I/O interrupts, however, are not executed during interrupt tasks even if the I/O interrupt conditions are satisfied. Instead, the I/O interrupts are executed in order of priority after the other interrupt task has completed execution and the software interrupt response time (1 ms max.) has elapsed.
The interrupt response time of I/O interrupt tasks is the sum of the Input ON delay (0.2 ms max.) and the software interrupt response time (1 ms max.).
Input
Input ON delay
(Interrupt Input Unit retrieval)
Software interrupt response time
Interrupt task execution
I/O interrupt task interrupt response time
Scheduled Interrupt Tasks The interrupt response time of scheduled interrupt tasks is the time taken from after the scheduled time specified by the MSKS(690) instruction has elapsed until the interrupt task has actually been executed.
The length of the interrupt response time for scheduled interrupt tasks is 1 ms max.
Note Scheduled interrupt tasks can be executed (while an instruction is being executed, or by stopping the execution of an instruction) during execution of the user program, I/O refresh, peripheral servicing, or overseeing. The interrupt response time is not affected by the scheduled time elapsing during any of the above processing operations.
Some scheduled interrupts, however, are not executed during other interrupt tasks even if the scheduled interrupt conditions are satisfied. Instead, the scheduled interrupts are executed in order of priority after the other interrupt task has completed execution and the software interrupt response time (1 ms max.) has elapsed.
Scheduled interrupt time
Internal timer
Software interrupt response time
External Interrupt Tasks
Power OFF Interrupt Tasks
Scheduled interrupt task
The interrupt response time for external interrupt tasks differs depending on the Unit or Board (Special I/O Unit, CS-series CPU Bus Unit, or Inner Board) that is requesting the external interrupt task of the CPU Unit and the type of service requested by the interrupt. For details, refer to the appropriate operation manual for the Unit or Board being used.
Power OFF interrupt tasks are executed within 0.1 ms of the power being confirmed as OFF.
10-5 Instruction Execution Times and Number of Steps
The following table lists the execution times for all instructions that are available for CS-series PLCs.
514
Instruction Execution Times and Number of Steps
Section 10-5
The total execution time of instructions within one whole user program is the process time for program execution when calculating the cycle time (See note.).
Note User programs are allocated tasks that can be executed within cyclic tasks and interrupt tasks that satisfy interrupt conditions.
Execution times for most instructions differ depending on the CPU Unit used
(CS1 @-CPU6@H, CS1@-CPU6@, CS1@-CPU4@H, CS1@-CPU4@) and the conditions when the instruction is executed. The top line for each instruction in the following table shows the minimum time required to process the instruction and the necessary execution conditions, and the bottom line shows the maximum time and execution conditions required to process the instruction.
The execution time can also vary when the execution condition is OFF.
The following table also lists the length of each instruction in the Length
(steps) column. The number of steps required in the user program area for each of the CS-series instructions varies from 1 to 7 steps, depending upon the instruction and the operands used with it. The number of steps in a program is not the same as the number of instructions.
Note 1.
Program capacity for CS-series PLCs is measured in steps, whereas program capacity for previous OMRON PLCs, such as the C-series and CVseries PLCs, was measured in words. Basically speaking, 1 step is equivalent to 1 word. The amount of memory required for each instruction, however, is different for some of the CS-series instructions, and inaccuracies will occur if the capacity of a user program for another PLC is converted for a CS-series PLC based on the assumption that 1 word is 1 step. Refer to the information at the end of
10-5 Instruction Execution Times and Number
of Steps for guidelines on converting program capacities from previous
OMRON PLCs.
Most instructions are supported in differentiated form (indicated with ↑, ↓,
@, and %). Specifying differentiation will increase the execution times by the following amounts.
Symbol
↑ or ↓
@ or %
CS1-H CPU Units
CPU6 @H CPU4 @H
+0.24
+0.24
+0.32
+0.32
CS1 CPU Units
CPU6 @ CPU4 @
+0.41
+0.29
+0.45
+0.33
2.
Use the following times as guidelines when instructions are not executed.
CS1-H CPU Units
CPU6 @H CPU4 @H
Approx. 0.1
Approx. 0.2
CS1 CPU Units
CPU6 @ CPU4 @
Approx. 0.1 to 0.3
Approx. 0.2 to 0.4
10-5-1 Sequence Input Instructions
Instruction Mnemonic Code
LOAD LD
!LD
---
---
1
2
Length
(steps)
ON execution time ( µs)
CPU6 @H CPU4 @H CPU6 @
0.02
+21.14
0.04
+21.16
0.04
+21.16
CPU4 @
0.08
+21.16
+45.1
+45.1
+45.1
+45.1
Conditions
---
Increase for CS
Series
Increase for
C200H
515
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic Code
LOAD NOT LD NOT
!LD NOT
---
---
1
2
Length
(steps)
CPU6 @H CPU4 @H
0.02
ON execution time ( µs)
0.04
CPU6
0.04
@
+21.14
+21.16
+21.16
CPU4 @
008
+21.16
AND
AND NOT
OR
OR NOT
AND
!AND
AND NOT ---
!AND NOT ---
OR
!OR
---
---
---
---
OR NOT ---
!OR NOT ---
1
2
1
2
1
2
1
2
+45.1
0.02
+21.14
+45.1
0.02
+21.14
+45.1
0.02
+21.14
+45.1
0.02
+21.14
+45.1
+45.1
0.04
+21.16
+45.1
0.04
+21.16
+45.1
0.04
+21.16
+45.1
0.04
+21.16
+45.1
+45.1
0.04
+21.16
+45.1
0.04
+21.16
+45.1
0.04
+21.16
+45.1
0.04
+21.16
+45.1
+45.1
0.08
+21.16
+45.1
0.08
+21.16
+45.1
0.08
+21.16
+45.1
0.08
+21.16
+45.1
Conditions
---
Increase for CS
Series
Increase for
C200H
---
Increase for CS
Series
Increase for
C200H
---
Increase for CS
Series
Increase for
C200H
---
Increase for CS
Series
Increase for
C200H
---
Increase for CS
Series
Increase for
C200H
---
---
---
---
AND LOAD
OR LOAD
NOT
CONDITION
ON
CONDITION
OFF
LOAD BIT
TEST
LOAD BIT
TEST NOT
AND LD
OR LD
NOT
UP
DOWN
LD TST
LD TSTN
---
---
520
521
522
350
351
AND BIT
TEST NOT
AND TSTN 351
OR BIT TEST OR TST
OR BIT TEST
NOT
350
OR TSTN 351
1
1
1
3
4
4
4
4
4
4
0.02
0.02
0.02
0.3
0.3
0.14
0.14
0.14
0.14
0.14
0.04
0.04
0.04
0.42
0.42
0.24
0.24
0.24
0.24
0.24
0.04
0.04
0.04
0.46
0.46
0.25
0.25
0.25
0.25
0.25
0.08
0.08
0.08
0.54
0.54
0.37
0.37
0.37
0.37
0.37
---
---
---
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-2 Sequence Output Instructions
Instruction Mnemonic Code
OUTPUT OUT
!OUT
---
---
1
2
Length
(steps)
(See note.)
CPU-6
0.02
+21.37
@H
ON execution time ( µs)
CPU-4
0.04
+21.37
@H CPU-6
0.17
+21.37
@ CPU-4
0.21
+21.37
@
+49.3
+49.3
+49.3
+49.3
Conditions
---
Increase for CS
Series
Increase for
C200H
516
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic Code
OUTPUT NOT OUT NOT
!OUT NOT
---
---
1
2
Length
(steps)
(See note.)
CPU-6
0.02
+21.37
@H
ON execution time ( µs)
CPU-4
0.04
+21.37
@H CPU-6
0.17
+21.37
@ CPU-4
0.21
+21.37
@
011
013
1
2
+49.3
0.06
0.24
+49.3
0.08
0.40
+49.3
0.25
0.46
+49.3
0.29
0.54
Conditions
---
Increase for CS
Series
Increase for
C200H
---
---
KEEP
DIFFERENTI-
ATE UP
DIFFERENTI-
ATE DOWN
SET
KEEP
DIFU
DIFD
SET
!SET
014
---
---
2
1
2
0.24
0.02
+21.37
0.40
0.06
+21.37
0.46
0.17
+21.37
0.54
0.21
+21.37
---
RESET
MULTIPLE
BIT SET
MULTIPLE
BIT RESET
SINGLE BIT
SET
SINGLE BIT
RESET
SINGLE BIT
OUTPUT
RSET
!RSET
SETA
RSTA
SETB
!SETB
RSTB
!RSTB
OUTB
!OUTB
---
---
530
531
532
534
534
1
2
4
4
2
3
2
3
2
3
+49.3
0.02
+21.37
+49.3
5.8
25.7
5.7
25.8
0.24
+21.44
0.24
+21.44
0.22
+21.42
+49.3
0.06
+21.37
+49.3
6.1
27.2
6.1
27.1
0.34
+21.54
0.34
+21.54
0.32
+21.52
+49.3
0.17
+21.37
+49.3
7.8
38.8
7.8
38.8
---
---
---
---
---
---
+49.3
0.21
+21.37
+49.3
7.8
38.8
7.8
38.8
---
---
---
---
---
---
---
Increase for CS
Series
Increase for
C200H
Word specified
Increase for CS
Series
Increase for
C200H
With 1-bit set
With 1,000-bit set
With 1-bit reset
---
---
---
With 1,000-bit reset
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-3 Sequence Control Instructions
Instruction Mnemonic Code
END
NO OPERA-
TION
END
NOP
INTERLOCK IL
INTERLOCK
CLEAR
ILC
001
000
002
003
1
1
Length
(steps)
(See note.)
CPU-6
5.5
0.02
@H
ON execution time ( µs)
CPU-4
6.0
0.04
@H CPU-6
4.0
0.08
@ CPU-4
4.0
0.12
@
1
1
0.06
0.06
0.06
0.06
0.12
0.12
0.12
0.12
---
---
---
---
Conditions
517
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic Code
MULTI-
INTERLOCK
DIFFEREN-
TIATION
HOLD
(See note 2.)
MILH 517
Length
(steps)
(See note.)
3
CPU-6
6.1
7.5
@H
ON execution time ( µs)
CPU-4
6.5
7.9
@H
---
---
CPU-6 @
---
---
CPU-4 @
8.9
9.7
-----
MULTI-
INTERLOCK
DIFFEREN-
TIATION
RELEASE
(See note 2.)
MULTI-
INTERLOCK
CLEAR
(See note 2.)
JUMP
MILR
MILC
JMP
JUMP END JME
CONDI-
TIONAL
JUMP
CJP
CJPN CONDI-
TIONAL
JUMP NOT
MULTIPLE
JUMP
JMP0
MULTIPLE
JUMP END
JME0
FOR LOOP FOR
BREAK
LOOP
BREAK
NEXT LOOP NEXT
518
519
004
005
510
511
515
516
512
514
513
3
2
2
2
2
2
1
1
2
1
1
6.1
7.5
8.9
5.0
5.7
0.38
---
0.38
0.38
0.06
0.06
0.52
0.06
0.18
6.5
7.9
9.7
5.6
6.2
0.48
---
0.48
0.48
0.06
0.06
0.54
0.06
0.16
---
---
---
---
---
8.1
---
7.4
8.5
0.12
0.12
0.12
0.12
0.17
---
---
---
---
---
8.1
---
7.4
8.5
0.12
0.12
0.21
0.12
0.17
Conditions
During interlock
Not during interlock and interlock not set
Not during interlock and interlock set
During interlock
Not during interlock and interlock not set
Not during interlock and interlock set
Interlock not cleared
Interlock cleared
---
---
When JMP condition is satisfied
When JMP condition is satisfied
---
---
Designating a constant
---
0.22
0.40
0.12
0.12
When loop is continued
When loop is ended
Note 1.
When a double-length operand is used, add 1 to the value shown in the length column in the following table.
2.
Supported only by CPU Units Ver. 2.0 or later.
10-5-4 Timer and Counter Instructions
Instruction Mnemonic
TIMER TIM
COUNTER
HIGH-SPEED
TIMER
TIMX
CNT
CNTX
TIMH
TIMHX
Code
---
550
---
546
015
551
3
3
3
3
Length
(steps)
(See note.)
3
3
CPU-6
0.56
0.56
0.56
0.56
0.88
0.88
ON execution time ( µs)
@H CPU-4@H
0.88
0.88
0.88
0.88
1.14
1.14
CPU-6
0.37
---
0.37
---
0.37
---
@ CPU-4
0.42
---
0.42
---
0.42
---
@
---
---
---
---
---
---
Conditions
518
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic
ONE-MS
TIMER
ACCUMULA-
TIVE TIMER
TMHH
TMHHX
TTIM
MULTI-OUT-
PUT TIMER
TTIMX
LONG TIMER TIML
TIMLX
MTIM
MTIMX
REVERSIBLE
COUNTER
CNTR
CNTRX
CNR RESET
TIMER/
COUNTER
CNRX
Code
540
552
087
555
542
553
543
554
012
548
545
547
3
3
3
3
3
3
Length
(steps)
(See note.)
3
4
4
4
4
3
CPU-6
ON execution time (
@H CPU-4@H CPU-6
µs)
@ CPU-4 @
Conditions
0.86
0.86
16.1
10.9
8.5
16.1
10.9
8.5
7.6
6.2
1.12
1.12
17.0
11.4
8.7
17.0
11.4
8.7
10.0
6.5
0.37
---
21.4
14.8
10.7
---
---
---
12.8
7.8
0.42
---
21.4
14.8
10.7
---
---
---
12.8
7.8
---
---
---
When resetting
When interlocking
---
When resetting
When interlocking
---
When interlocking
--7.6
6.2
20.9
5.6
20.9
5.6
16.9
16.9
9.9
10.0
6.5
23.3
5.8
23.3
5.8
19.0
19.0
10.6
---
---
26.0
7.8
---
---
20.9
---
13.9
---
---
26.0
7.8
---
---
20.9
---
13.9
When interlocking
---
When resetting
---
When resetting
---
---
When resetting
1 word
4.16 ms 4.16 ms 5.42 ms 5.42 ms When resetting
1,000 words
9.9
10.6
----When resetting
1 word
4.16 ms 4.16 ms ----When resetting
1,000 words
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-5 Comparison Instructions
Instruction Mnemonic Code Length
(steps)
(See note.)
300 4
CPU-6
0.10
ON execution time ( µs)
@H CPU-4@H
0.16
CPU-6
0.21
@ CPU-4
0.37
@
Input Comparison Instructions
(unsigned)
LD, AND,
OR +=
LD, AND,
OR + <>
LD, AND,
OR + <
LD, AND,
OR +<=
LD, AND,
OR +>
LD, AND,
OR +>=
305
310
315
320
325
---
Conditions
519
Instruction Execution Times and Number of Steps
Section 10-5
Instruction
DOUBLE
COMPARE
Mnemonic
Input Comparison Instructions (double, unsigned)
Input Comparison Instructions (signed)
Input Comparison Instructions (double, signed)
Time Comparison Instructions
(See note 2.)
COMPARE
LD, AND,
OR +<=+SL
LD, AND,
OR +>+SL
LD, AND,
OR +>=+SL
LD, AND,
OR +DT
LD, AND,
OR +<>DT
LD, AND,
OR +<DT
LD, AND,
OR +<=DT
LD, AND,
OR +>DT
LD, AND,
OR +>=DT
CMP
!CMP
LD, AND,
OR +=+L
LD, AND,
OR +<>+L
LD, AND,
OR +<+L
LD, AND,
OR +<=+L
LD, AND,
OR +>+L
LD, AND,
OR +>=+L
LD, AND,
OR +=+S
LD, AND,
OR +<>+S
LD, AND,
OR +<+S
LD, AND,
OR +<=
LD, AND,
OR +>+S
LD, AND,
OR +>=+S
LD, AND,
OR +=+SL
LD, AND,
OR +<>+SL
LD, AND,
OR +<+SL
301
306
311
316
321
326
302
307
312
317
322
327
303
308
313
318
323
328
341
342
343
344
345
346
020
020
CMPL
Code Length
(steps)
(See note.)
4
CPU-6
0.10
ON execution time ( µs)
@H CPU-4@H
0.16
CPU-6
0.29
@ CPU-4
0.54
@
---
Conditions
060
4
4
4
4
4
4
4
4
3
7
3
0.10
0.10
25.1
25.2
25.2
25.2
25.1
25.2
0.04
+42.1
+90.4
0.08
0.16
0.16
36.4
36.4
36.4
36.4
36.4
36.4
0.04
+42.1
+90.4
0.08
6.50
6.50
---
---
---
---
---
---
0.17
+42.4
+90.5
0.25
6.50
6.50
---
---
---
---
---
---
0.29
+42.4
+90.5
0.46
---
---
ON and OFF execution times are the same as given at the left.
---
Increase for
CS Series
Increase for
C200H
---
520
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic
SIGNED
BINARY COM-
PARE
CPS
!CPS
Code
114
114
3
7
Length
(steps)
(See note.)
CPU-6
0.08
+35.9
ON execution time ( µs)
@H CPU-4@H
0.08
+35.9
CPU-6
6.50
+42.4
@ CPU-4
6.50
+42.4
@
3
+84.1
0.08
+84.1
0.08
+90.5
6.50
+90.5
6.50
Conditions
---
Increase for
CS Series
Increase for
C200H
--DOUBLE
SIGNED
BINARY COM-
PARE
TABLE COM-
PARE
MULTIPLE
COMPARE
UNSIGNED
BLOCK COM-
PARE
AREA RANGE
COMPARE
DOUBLE
AREA RANGE
COMPARE
CPSL
TCMP
MCMP
BCMP
ZCP
ZCPL
115
085
019
068
088
116
4
4
4
3
3
14.0
20.5
21.5
5.3
5.5
15.2
22.8
23.7
5.4
6.7
21.9
31.2
32.6
---
---
21.9
31.2
32.6
---
---
---
---
---
---
---
Note 1.
When a double-length operand is used, add 1 to the value shown in the length column in the following table.
2.
Supported only by CPU Units Ver. 2.0 or later.
10-5-6 Data Movement Instructions
Instruction Mnemonic
MOVE MOV
!MOV
Code
021
021
498
Length
(steps)
(See note.)
3
7
CPU-6
0.18
+21.38
ON execution time ( µs)
@H CPU-4@H
0.20
+21.40
CPU-6
0.25
+42.36
@ CPU-4
0.29
+42.36
@
3
+90.52
0.32
+90.52
0.34
+90.52
0.42
+90.52
0.50
Conditions
---
Increase for CS
Series
Increase for
C200H
--DOUBLE
MOVE
MOVE NOT
DOUBLE
MOVE NOT
MOVL
MVN
MVNL
MOVE BIT MOVB
MOVE DIGIT MOVD
MULTIPLE
BIT TRANS-
FER
XFRB
BLOCK
TRANSFER
XFER
BLOCK SET BSET
022
499
082
083
062
070
071
3
3
4
4
4
4
4
0.18
0.32
0.24
0.24
10.1
186.4
0.36
300.1
0.26
200.1
0.20
0.34
0.34
0.34
10.8
189.8
0.44
380.1
0.28
220.1
0.25
0.42
7.5
7.3
13.6
269.2
11.2
633.5
8.5
278.3
0.29
0.50
7.5
7.3
13.6
269.2
11.2
633.5
8.5
278.3
---
---
---
---
Transferring 1 bit
Transferring 255 bits
Transferring 1 word
Transferring
1,000 words
Setting 1 word
Setting 1,000 words
521
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic Code Length
(steps)
(See note.)
3
CPU-6
0.40
ON execution time ( µs)
@H CPU-4@H
0.56
CPU-6
0.5
@ CPU-4
0.7
@
---
Conditions
DATA
EXCHANGE
DOUBLE
DATA
EXCHANGE
SINGLE
WORD DIS-
TRIBUTE
DATA COL-
LECT
MOVE TO
REGISTER
MOVE TIMER/
COUNTER PV
TO REGIS-
TER
XCHG
XCGL
DIST
COLL
MOVR
MOVRW
073
562
080
081
560
561
3
4
4
3
3
0.76
5.1
5.1
0.08
0.42
1.04
5.4
5.3
0.08
0.50
0.9
7.0
7.1
0.42
0.42
1.3
7.0
7.1
0.50
0.50
---
---
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-7 Data Shift Instructions
Instruction Mnemonic
SHIFT
REGISTER
SFT
REVERSIBLE
SHIFT
REGISTER
SFTR
ASYNCHRO-
NOUS SHIFT
REGISTER
ASFT
WORD SHIFT WSFT
ARITHMETIC
SHIFT LEFT
DOUBLE
SHIFT LEFT
ARITHMETIC
SHIFT RIGHT
ASL
ASLL
ASR
DOUBLE
SHIFT RIGHT
ASRL
ROTATE LEFT ROL
DOUBLE
ROTATE LEFT
ROLL
RLNC ROTATE LEFT
WITHOUT
CARRY
DOUBLE
ROTATE LEFT
WITHOUT
CARRY
RLNL
Code
010
084
017
016
025
570
026
571
027
572
574
576
Length
(steps)
(See note.)
3
4
4
4
2
CPU-6
ON execution time (
@H CPU-4@H CPU-6
µs)
@ CPU-4 @
Conditions
7.4
433.2
6.9
615.3
10.4
488.0
7.2
680.2
10.4
763.1
9.6
859.6
10.4
763.1
9.6
859.6
Shifting 1 word
Shifting 1,000 words
Shifting 1 word
Shifting 1,000 words
6.2
6.4
7.7
7.7
Shifting 1 word
1.22 ms 1.22 ms 2.01 ms 2.01 ms Shifting 1,000 words
4.5
4.7
7.8
7.8
Shifting 1 word
171.5
0.22
171.7
0.32
781.7
0.29
781.7
0.37
Shifting 1,000 words
---
2
2
2
2
2
2
2
0.40
0.22
0.40
0.22
0.40
0.22
0.40
0.56
0.32
0.56
0.32
0.56
0.32
0.56
0.50
0.29
0.50
0.29
0.50
0.29
0.50
0.67
0.37
0.67
0.37
0.67
0.37
0.67
---
---
---
---
---
---
---
522
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic
SHIFT N-BIT
DATA RIGHT
NSFR
Code Length
(steps)
(See note.)
2
CPU-6
0.22
ON execution time ( µs)
@H CPU-4@H
0.32
CPU-6
0.29
@ CPU-4
0.37
@
---
Conditions
ROTATE
RIGHT
DOUBLE
ROTATE
RIGHT
ROTATE
RIGHT WITH-
OUT CARRY
DOUBLE
ROTATE
RIGHT WITH-
OUT CARRY
ONE DIGIT
SHIFT LEFT
ROR
RORL
RRNC
RRNL
SLD
ONE DIGIT
SHIFT RIGHT
SRD
SHIFT N-BIT
DATA LEFT
NSFL
028
573
575
577
074
075
578
579
2
2
2
3
3
4
4
0.40
0.22
0.40
5.9
561.1
6.9
760.5
7.5
40.3
7.5
50.5
0.56
0.32
0.56
6.1
626.3
7.1
895.5
8.3
45.4
8.3
55.3
0.50
0.29
0.50
0.67
0.37
0.67
---
---
---
8.2
760.7
8.7
8.2
760.7
8.7
Shifting 1 word
Shifting 1,000 words
Shifting 1 word
1.07 ms 1.07 ms Shifting 1,000 words
10.5
55.5
10.5
55.5
Shifting 1 bit
Shifting 1,000 bits
10.5
69.3
0.29
10.5
69.3
0.37
Shifting 1 bit
Shifting 1,000 bits
--SHIFT N-BITS
LEFT
DOUBLE
SHIFT N-BITS
LEFT
SHIFT N-BITS
RIGHT
DOUBLE
SHIFT N-BITS
RIGHT
NASL
NSLL
NASR
NSRL
580
582
581
583
3
3
3
3
0.22
0.40
0.22
0.40
0.32
0.56
0.32
0.56
0.50
0.29
0.50
0.67
0.37
0.67
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-8 Increment/Decrement Instructions
Instruction Mnemonic Code
590
Length
(steps)
(See note.)
2
ON execution time ( µs)
CPU-6 @H CPU-4@H CPU-6 @ CPU-4 @
0.22
0.32
0.29
0.37
---
Conditions
INCREMENT
BINARY
DOUBLE
INCREMENT
BINARY
DECREMENT
BINARY
DOUBLE DEC-
REMENT
BINARY
INCREMENT
BCD
++
++L
– –
– –L
++B
591
592
593
594
2
2
2
2
0.40
0.22
0.40
6.4
0.56
0.32
0.56
4.5
0.50
0.29
0.50
7.4
0.67
0.37
0.67
7.4
---
---
---
---
523
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic Code Length
(steps)
(See note.)
2
ON execution time ( µs)
CPU-6 @H CPU-4@H CPU-6 @ CPU-4 @
5.6
4.9
6.1
6.1
---
Conditions
DOUBLE
INCREMENT
BCD
DECREMENT
BCD
DOUBLE DEC-
REMENT BCD
++BL
– –B
– –BL
595
596
597
2
2
6.3
5.3
4.6
4.7
7.2
7.1
7.2
7.1
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-9 Symbol Math Instructions
Instruction Mnemonic Code
400
Length
(steps)
(See note.)
4
CPU-6
0.18
ON execution time ( µs)
@H CPU-4@H
0.20
CPU-6
0.25
@ CPU-4
0.37
@
---
Conditions
SIGNED
BINARY
ADD WITH-
OUT
CARRY
DOUBLE
SIGNED
BINARY
ADD WITH-
OUT
CARRY
SIGNED
BINARY
ADD WITH
CARRY
DOUBLE
SIGNED
BINARY
ADD WITH
CARRY
BCD ADD
WITHOUT
CARRY
DOUBLE
BCD ADD
WITHOUT
CARRY
BCD ADD
WITH
CARRY
DOUBLE
BCD ADD
WITH
CARRY
SIGNED
BINARY
SUBTRACT
WITHOUT
CARRY
+
+L
+C
+CL
+B
+BL
+BC
+BCL
–
401
402
403
404
405
406
407
410
4
4
4
4
4
4
4
4
0.32
0.18
0.32
8.2
13.3
8.9
13.8
0.18
0.34
0.20
0.34
8.4
14.5
9.1
15.0
0.20
0.42
0.25
0.42
14.0
19.0
14.5
19.6
0.25
0.54
0.37
0.54
14.0
19.0
14.5
19.6
0.37
---
---
---
---
---
---
---
---
524
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic Code
411
Length
(steps)
(See note.)
4
CPU-6
0.32
ON execution time ( µs)
@H CPU-4@H
0.34
CPU-6
0.42
@ CPU-4
0.54
@
---
Conditions
DOUBLE
BCD SUB-
TRACT
WITHOUT
CARRY
BCD SUB-
TRACT
WITH
CARRY
DOUBLE
BCD SUB-
TRACT
WITH
CARRY
SIGNED
BINARY
MULTIPLY
DOUBLE
SIGNED
BINARY
SUBTRACT
WITHOUT
CARRY
SIGNED
BINARY
SUBTRACT
WITH
CARRY
DOUBLE
SIGNED
BINARY
SUBTRACT
WITH
CARRY
BCD SUB-
TRACT
WITHOUT
CARRY
DOUBLE
SIGNED
BINARY
MULTIPLY
UNSIGNED
BINARY
MULTIPLY
DOUBLE
UNSIGNED
BINARY
MULTIPLY
BCD MULTI-
PLY
DOUBLE
BCD MULTI-
PLY
SIGNED
BINARY
DIVIDE
/
–L
–C
–CL
–B
–BL
–BC
–BCL
*
*L
*U
*UL
*B
*BL
412
413
414
415
416
417
420
421
422
423
424
425
430
4
4
4
4
4
4
4
4
4
4
4
4
4
0.18
0.32
8.0
12.8
8.5
13.4
0.38
7.23
0.38
7.1
9.0
23.0
0.40
0.20
0.34
8.2
14.0
8.6
14.7
0.40
8.45
0.40
8.3
9.2
24.2
0.42
0.25
0.42
13.1
18.2
13.8
18.8
0.50
11.19
0.50
10.63
12.8
35.2
0.75
0.37
0.54
13.1
18.2
13.8
18.8
0.58
11.19
0.58
10.63
12.8
35.2
0.83
---
---
---
---
---
---
---
---
---
---
---
---
---
525
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic Code Length
(steps)
(See note.)
4
CPU-6
7.2
ON execution time ( µs)
@H CPU-4@H
8.4
CPU-6
9.8
@ CPU-4
9.8
@
---
Conditions
DOUBLE
SIGNED
BINARY
DIVIDE
UNSIGNED
BINARY
DIVIDE
/L
/U
DOUBLE
UNSIGNED
BINARY
DIVIDE
/UL
BCD DIVIDE /B
DOUBLE
BCD DIVIDE
/BL
431
432
433
434
435
4
4
4
4
0.40
6.9
8.6
17.7
0.42
8.1
8.8
18.9
0.75
9.1
15.9
26.2
0.83
9.1
15.9
26.2
---
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-10 Conversion Instructions
Instruction Mnemonic Code
023
Length
(steps)
(See note.)
3
CPU-6
0.22
ON execution time ( µs)
@H CPU-4@H
0.24
CPU-6
0.25
@ CPU-4
0.29
@
---
Conditions
BCD-TO-
BINARY
DOUBLE
BCD-TO-
DOUBLE
BINARY
BINARY-TO-
BCD
DOUBLE
BINARY-TO-
DOUBLE
BCD
2’S COM-
PLEMENT
DOUBLE
2’S COM-
PLEMENT
16-BIT TO
32-BIT
SIGNED
BINARY
DATA
DECODER
BIN
BINL
BCD
BCDL
NEG
NEGL
SIGN
MLPX
058
024
059
160
161
600
076
3
3
3
3
3
3
4
6.5
0.24
6.7
0.18
0.32
0.32
0.32
6.8
0.26
7.0
0.20
0.34
0.34
0.42
9.1
8.3
9.2
0.25
0.42
0.42
8.8
9.1
8.3
9.2
0.29
0.5
0.50
8.8
---
---
---
---
---
---
0.98
3.30
6.50
1.20
4.00
7.90
12.8
20.3
33.4
12.8
20.3
33.4
Decoding 1 digit
(4 to 16)
Decoding 4 digits (4 to 16)
Decoding 1 digit
8 to 256
Decoding 2 digits (8 to 256)
526
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic
DATA
ENCODER
ASCII CON-
VERT
ASCII TO
HEX
COLUMN
TO LINE
LINE TO
COLUMN
SIGNED
BCD-TO-
BINARY
DOUBLE
SIGNED
BCD-TO-
BINARY
SIGNED
BINARY-TO-
BCD
DOUBLE
SIGNED
BINARY-TO-
BCD
DMPX
ASC
HEX
LINE
COLM
BINS
BISL
BCDS
BDSL
162
063
064
470
Code
077
086
472
471
473
4
4
Length
(steps)
(See note.)
4
CPU-6
7.5
ON execution time ( µs)
@H CPU-4@H
7.9
CPU-6
10.4
@ CPU-4
10.4
@
4
4
4
49.6
18.2
55.1
6.8
11.2
7.1
19.0
50.2
18.6
57.4
7.1
11.7
7.4
23.1
59.1
23.6
92.5
9.7
15.1
10.1
29.1
59.1
23.6
92.5
9.7
15.1
10.1
29.1
Conditions
Encoding 1 digit
(16 to 4)
Encoding 4 digits (16 to 4)
Encoding 1 digit
(256 to 8)
Encoding 2 digits (256 to 8)
Converting 1 digit into ASCII
Converting 4 digits into ASCII
Converting 1 digit
---
23.2
8.0
27.5
8.3
37.3
12.1
37.3
12.1
4
4
4
8.0
8.3
8.5
9.2
9.2
9.5
9.6
6.6
6.7
6.8
7.2
8.1
8.2
8.3
8.8
8.3
8.6
8.8
9.6
9.6
9.9
10.0
6.9
7.0
7.1
7.5
8.4
8.6
8.7
9.2
12.1
12.7
13.0
13.6
13.7
14.2
14.4
10.6
10.8
10.9
11.5
11.6
11.8
12.0
12.5
12.1
12.7
13.0
13.6
13.7
14.2
14.4
10.6
10.8
10.9
11.5
11.6
11.8
12.0
12.5
---
Data format setting No. 0
Data format setting No. 1
Data format setting No. 2
Data format setting No. 3
Data format setting No. 0
Data format setting No. 1
Data format setting No. 2
Data format setting No. 3
Data format setting No. 0
Data format setting No. 1
Data format setting No. 2
Data format setting No. 3
Data format setting No. 0
Data format setting No. 1
Data format setting No. 2
Data format setting No. 3
527
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic
GRAY
CODE CON-
VERSION
(See note 2.)
GRY
Code
474
Length
(steps)
(See note.)
4
3
CPU-6
46.9
49.6
57.7
61.8
64.5
72.8
52.3
55.1
64.8
13.79
ON execution time ( µs)
@H CPU-4@H
72.1
75.2
87.7
96.7
99.6
112.4
87.2
90.4
98.5
20.24
CPU-6
---
---
---
---
---
---
---
---
---
---
@ CPU-4
---
---
---
---
---
---
---
---
---
---
@
Conditions
8-bit binary
8-bit BCD
8-bit angle
15-bit binary
15-bit BCD
15-bit angle
360 ° binary
360 ° BCD
360 ° angle
--FOUR-
DIGIT
NUMBER
TO ASCII
(See note 3.)
EIGHT-
DIGIT
NUMBER
TO ASCII
(See note 3.)
SIXTEEN-
DIGIT
NUMBER
TO ASCII
(See note 3.)
ASCII TO
FOUR-
DIGIT
NUMBER
(See note 3.)
ASCII TO
EIGHT-
DIGIT
NUMBER
(See note 3.)
ASCII TO
SIXTEEN-
DIGIT
NUMBER
(See note 3.)
STR4
STR8
STR16
NUM4
NUM8
NUM16
601
602
603
604
605
606
3
3
3
3
3
18.82
30.54
18.46
27.27
52.31
27.44
44.41
27.27
40.29
78.25
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
Note 1.
When a double-length operand is used, add 1 to the value shown in the length column in the following table.
2.
Supported only by CPU Units Ver. 2.0 or later.
3.
Supported only by CPU Units Ver. 4.0 or later.
10-5-11 Logic Instructions
Instruction Mnemonic Code
034
Length
(steps)
(See note.)
4
CPU-6
0.18
ON execution time ( µs)
@H CPU-4@H
0.20
CPU-6
0.25
@ CPU-4
0.37
@
---
Conditions
LOGICAL
AND
ANDW
DOUBLE
LOGICAL
AND
ANDL
LOGICAL OR ORW
610
035
4
4
0.32
0.22
0.34
0.32
0.42
0.25
0.54
0.37
---
---
528
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic Code Length
(steps)
(See note.)
4
CPU-6
0.32
ON execution time ( µs)
@H CPU-4@H
0.34
CPU-6
0.42
@ CPU-4
0.54
@
---
Conditions
DOUBLE
LOGICAL OR
EXCLUSIVE
OR
DOUBLE
EXCLUSIVE
OR
EXCLUSIVE
NOR
DOUBLE
EXCLUSIVE
NOR
COMPLE-
MENT
DOUBLE
COMPLE-
MENT
ORWL
XORW
XORL
XNRW
XNRL
COM
COML
611
036
612
037
613
029
614
4
4
4
4
2
2
0.22
0.32
0.22
0.32
0.22
0.40
0.32
0.34
0.32
0.34
0.32
0.56
0.25
0.42
0.25
0.42
0.29
0.50
0.37
0.54
0.37
0.54
0.37
0.67
---
---
---
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-12 Special Math Instructions
Instruction Mnemonic Code
620
Length
(steps)
(See note.)
3
CPU-6
49.6
ON execution time ( µs)
@H CPU-4@H
50.0
CPU-6
530.7
@ CPU-4
530.7
@
---
Conditions
BINARY
ROOT
BCD SQUARE
ROOT
ARITHMETIC
PROCESS
ROTB
ROOT
APR
072
069
3
4
13.7
6.7
13.9
6.9
514.5
32.3
514.5
32.3
---
FDIV 079 4
17.2
116.6
18.4
176.6
78.3
176.6
78.3
176.6
Designating SIN and COS
Designating line-segment approximation
--FLOATING
POINT
DIVIDE
BIT
COUNTER
BCNT 067 4 0.3
0.38
22.1
22.1
Counting 1 word
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-13 Floating-point Math Instructions
Instruction Mnemonic Code
450
Length
(steps)
(See note.)
3
CPU-6
10.6
ON execution time ( µs)
@H CPU-4@H
10.8
CPU-6
14.5
@ CPU-4
14.5
@
---
Conditions
FLOATING TO
16-BIT
FLOATING TO
32-BIT
16-BIT TO
FLOATING
FIX
FIXL
FLT
451
452
3
3
10.8
8.3
11.0
8.5
14.6
11.1
14.6
11.1
---
---
529
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic
32-BIT TO
FLOATING
FLOATING-
POINT ADD
FLOATING-
POINT SUB-
TRACT
FLOATING-
POINT
DIVIDE
FLOATING-
POINT MULTI-
PLY
DEGREES TO
RADIANS
RADIANS TO
DEGREES
FLTL
+F
–F
/F
*F
RAD
DEG
SINE
COSINE
TANGENT
ARC SINE
SIN
COS
TAN
ASIN
ARC COSINE ACOS
ARC TAN-
GENT
ATAN
SQUARE
ROOT
SQRT
EXPONENT EXP
LOGARITHM LOG
EXPONEN-
TIAL POWER
PWR
Floating Symbol Comparison
LD, AND,
OR +=F
LD, AND,
OR +<>F
LD, AND,
OR +<F
LD, AND,
OR +<=F
LD, AND,
OR +>F
LD, AND,
OR +>=F
FSTR FLOATING-
POINT TO
ASCII
ASCII TO
FLOATING-
POINT
FVAL
453
454
Code Length
(steps)
(See note.)
3
CPU-6
8.3
ON execution time ( µs)
@H CPU-4@H
8.5
CPU-6
10.8
@ CPU-4
10.8
@
---
Conditions
455
4
4
8.0
8.0
9.2
9.2
10.2
10.3
10.2
10.3
---
---
457
456
458
459
460
461
462
463
464
465
466
467
468
840
329
330
331
332
333
334
448
449
4
4
3
3
3
3
3
3
3
3
3
3
3
4
3
4
3
8.7
8.0
10.1
9.9
42.0
31.5
16.3
17.6
20.4
16.1
19.0
65.9
12.8
125.4
6.6
48.5
21.1
9.9
9.2
10.2
10.1
42.2
31.8
16.6
17.9
20.7
16.4
19.3
66.2
13.1
126.0
8.3
48.9
21.3
12.0
10.5
14.9
14.8
61.1
44.1
22.6
24.1
28.0
16.4
28.1
96.7
17.4
181.7
---
---
---
12.0
10.5
14.9
14.8
61.1
44.1
22.6
24.1
28.0
16.4
28.1
96.7
17.4
181.7
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
530
Instruction Execution Times and Number of Steps
Section 10-5
10-5-14 Double-precision Floating-point Instructions
Instruction Mnemonic Code
335
Length
(steps)
(See note.)
3
CPU-6
8.5
ON execution time ( µs)
@H CPU-4@H
10.3
CPU-6
---
@ CPU-4
---
@
---
Conditions
DOUBLE
SYMBOL
COMPARI-
SON
LD, AND,
OR +=D
LD, AND,
OR +<>D
LD, AND,
OR +<D
LD, AND,
OR +<=D
LD, AND,
OR +>D
LD, AND,
OR +>=D
FIXD DOUBLE
FLOATING TO
16-BIT
BINARY
DOUBLE
FLOATING TO
32-BIT
BINARY
FIXLD
16-BIT
BINARY TO
DOUBLE
FLOATING
32-BIT
BINARY TO
DOUBLE
FLOATING
DOUBLE
FLOATING-
POINT ADD
DOUBLE
FLOATING-
POINT SUB-
TRACT
DOUBLE
FLOATING-
POINT MULTI-
PLY
DOUBLE
FLOATING-
POINT
DIVIDE
DOUBLE
DEGREES TO
RADIANS
DOUBLE
RADIANS TO
DEGREES
DOUBLE
SINE
DOUBLE
COSINE
DOUBLE
TANGENT
DBL
DBLL
+D
−D
*D
/D
RADD
DEGD
SIND
COSD
TAND
336
337
338
339
340
841
842
843
844
845
846
847
848
849
850
851
852
853
3
3
3
3
4
4
4
4
3
3
3
3
3
11.7
11.6
9.9
9.8
11.2
11.2
12.0
23.5
27.4
11.2
45.4
43.0
20.1
12.1
12.1
10.0
10.0
11.9
11.9
12.7
24.2
27.8
11.9
45.8
43.4
20.5
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
531
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic Code Length
(steps)
(See note.)
3
CPU-6
21.5
ON execution time ( µs)
@H CPU-4@H
21.9
CPU-6
---
@ CPU-4
---
@
---
Conditions
DOUBLE ARC
SINE
DOUBLE ARC
COSINE
DOUBLE ARC
TANGENT
DOUBLE
SQUARE
ROOT
ASIND
ACOSD
ATAND
SQRTD
DOUBLE
EXPONENT
DOUBLE
LOGARITHM
DOUBLE
EXPONEN-
TIAL POWER
EXPD
LOGD
PWRD
854
855
856
857
858
859
860
3
3
3
3
3
4
24.7
19.3
47.4
121.0
16.0
223.9
25.1
19.7
47.9
121.4
16.4
224.2
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-15 Table Data Processing Instructions
Instruction Mnemonic
SET STACK SSET
Code
630
632
Length
(steps)
(See note.)
3
CPU-6
8.0
ON execution time ( µs)
@H CPU-4@H
8.3
CPU-6
8.5
@ CPU-4
8.5
@
3
231.6
6.5
251.8
8.6
276.8
9.1
276.8
9.1
Conditions
Designating 5 words in stack area
Designating
1,000 words in stack area
--PUSH ONTO
STACK
FIRST IN
FIRST OUT
PUSH
FIFO 633 3 6.9
8.9
634 3
352.6
7.0
434.3
9.0
10.6
10.6
Designating 5 words in stack area
1.13 ms 1.13 ms Designating
1,000 words in stack area
9.9
9.9
--LAST IN
FIRST OUT
DIMENSION
RECORD
TABLE
SET RECORD
LOCATION
GET
RECORD
NUMBER
DATA
SEARCH
LIFO
DIM
SETR
GETR
SRCH
631
635
636
181
5
4
4
4
15.2
5.4
7.8
21.6
5.9
8.4
142.1
7.0
11.0
142.1
7.0
11.0
---
---
---
SWAP BYTES SWAP 637 3
15.5
19.5
19.5
19.5
Searching for 1 word
2.42 ms 3.34 ms 3.34 ms 3.34 ms Searching for
1,000 words
12.2
13.6
13.6
13.6
Swapping 1 word
1.94 ms 2.82 ms 2.82 ms 2.82 ms Swapping 1,000 words
532
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic
FIND MAXI-
MUM
FIND MINI-
MUM
SUM
FRAME
CHECKSUM
STACK SIZE
READ
STACK DATA
READ
STACK DATA
OVERWRITE
STACK DATA
INSERT
MAX
MIN
SUM
FCS
SNUM
SREAD
SWRIT
SINS
Code
182
183
184
180
Length
(steps)
(See note.)
4
4
4
4
3
CPU-6
ON execution time (
@H CPU-4@H CPU-6
µs)
@ CPU-4 @
Conditions
19.2
19.2
24.9
25.3
24.9
25.3
24.9
Searching for 1 word
2.39 ms 3.36 ms 3.36 ms 3.36 ms Searching for
1,000 words
25.3
Searching for 1 word
2.39 ms 3.33 ms 3.33 ms 3.33 ms Searching for
1,000 words
28.2
38.5
38.5
38.3
Adding 1 word
1.42 ms 1.95 ms 1.95 ms 1.95 ms Adding 1,000 words
20.0
28.3
28.3
28.3
For 1-word table length
1.65 ms 2.48 ms 2.48 ms 2.48 ms For 1,000-word table length
6.0
6.3
------638
639
640
4
4
8.0
7.2
8.4
7.6
---
---
---
---
---
---
STACK DATA
DELETE
SDEL
641
642
4
4
7.8
354.0
8.6
354.0
9.9
434.8
10.6
436.0
---
---
---
---
---
---
---
---
---
For 1,000-word table
---
For 1,000-word table
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
533
Instruction Execution Times and Number of Steps
Section 10-5
10-5-16 Data Control Instructions
Instruction Mnemonic
PID CON-
TROL
PID
Code
190
680
Length
(steps)
(See note.)
4
4
CPU-6
436.2
332.3
97.3
16.1
ON execution time ( µs)
@H CPU-4@H
678.2
474.9
141.3
22.1
CPU-6
678.2
474.9
141.3
22.1
@ CPU-4
678.2
474.9
141.3
22.1
@
LIMIT CON-
TROL
DEAD
BAND CON-
TROL
DEAD
ZONE CON-
TROL
TIME-PRO-
POR-
TIONAL
OUTPUT
(See note 2.)
LMT
BAND
ZONE
TPO
681
682
685
4
4
4
17.0
15.4
10.4
54.5
22.5
20.5
14.8
82.0
22.5
20.5
---
---
22.5
20.5
---
---
SCALING SCL
SCALING 2 SCL2
SCALING 3 SCL3
AVERAGE AVG
PID CON-
TROL WITH
AUTOTUN-
ING
PIDAT
194
486
487
195
191
4
4
4
4
4
61.0
37.1
28.5
33.4
36.3
291.0
446.3
339.4
100.7
189.2
535.2
91.9
53.0
40.2
47.0
52.6
419.9
712.5
533.9
147.1
281.6
709.8
---
419.9
---
---
---
---
56.8
50.7
57.7
53.1
---
---
---
---
---
---
56.8
50.7
57.7
53.1
419.9
---
Conditions
Initial execution
Sampling
Not sampling
---
---
---
OFF execution time
ON execution time with duty designation or displayed output limit
ON execution time with manipulated variable designation and output limit enabled
---
---
---
Average of an operation
Average of 64 operations
Initial execution
Sampling
Not sampling
Initial execution of autotuning
Autotuning when sampling
Note 1.
When a double-length operand is used, add 1 to the value shown in the length column in the following table.
2.
Supported only by CPU Units Ver. 2.0 or later.
534
Instruction Execution Times and Number of Steps
Section 10-5
10-5-17 Subroutine Instructions
Instruction Mnemonic Code
091
092
2
2
Length
(steps)
(See note.)
CPU-6
1.26
---
ON execution time ( µs)
@H CPU-4@H
1.96
---
CPU-6
17.0
---
@ CPU-4
17.0
---
@
Conditions
---
---
SUBROUTINE CALL SBS
SUBROUTINE
ENTRY
SBN
SUBROUTINE
RETURN
RET
MACRO
GLOBAL SUBROU-
TINE CALL
GLOBAL SUBROU-
TINE ENTRY
MCRO
GSBN
GRET
GLOBAL SUBROU-
TINE RETURN
GSBS
093
099
751
752
750
1
4
2
1
2
0.86
23.3
---
1.26
0.86
1.60
23.3
---
1.96
1.60
20.60
23.3
---
---
---
20.60
23.3
---
---
---
---
---
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-18 Interrupt Control Instructions
Instruction Mnemonic Code
690
Length
(steps)
(See note.)
3
ON execution time ( µs)
CPU-6 @H CPU-4@H CPU-6 @ CPU-4 @
25.6
38.4
39.5
39.5
Conditions
--SET INTERRUPT
MASK
READ INTER-
RUPT MASK
CLEAR INTER-
RUPT
DISABLE INTER-
RUPTS
ENABLE INTER-
RUPTS
MSKS
MSKR
CLI
DI
EI
692
691
693
694
3
3
1
1
11.9
27.4
15.0
19.5
11.9
41.3
16.8
21.8
11.9
41.3
16.8
21.8
11.9
41.3
16.8
21.8
---
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-19 Step Instructions
Instruction Mnemonic Code
STEP
DEFINE
STEP
START
STEP
SNXT
008
009
Length
(steps)
(See note.)
2
CPU-6
17.4
ON execution time ( µs)
@H CPU-4@H
20.7
CPU-6
27.1
@ CPU-4
27.1
@
2
11.8
6.6
13.7
7.3
24.4
10.0
24.4
10.0
Conditions
Step control bit
ON
Step control bit
OFF
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
535
Instruction Execution Times and Number of Steps
Section 10-5
10-5-20 Basic I/O Unit Instructions
Instruction Mnemonic Code
I/O REFRESH IORF 097
078
Length
(steps)
(See note.)
3
CPU-6
58.5
ON execution time ( µs)
@H CPU-4@H
63.2
CPU-6
81.7
@ CPU-4
81.7
@
4
62.6
15.5
17.20
303.3
348.2
319.9
358.00
6.5
67.0
16.4
18.40
343.9
376.6
320.7
354.40
6.9
86.7
23.5
25.6
357.1
407.5
377.5
460.1
14.1
86.7
23.5
25.6
357.1
407.5
377.6
460.1
14.1
Conditions
1-word refresh (IN) for C200H Basic
I/O Units
1-word refresh
(OUT) for C200H
Basic I/O Units
1-word refresh (IN) for CS-series Basic
I/O Units
1-word refresh
(OUT) for CSseries Basic I/O
Units
10-word refresh
(IN) for C200H
Basic I/O Units
10-word refresh
(OUT) for C200H
Basic I/O Units
60-word refresh
(IN) for CS-series
Basic I/O Units
60-word refresh
(OUT) for CSseries Basic I/O
Units
--7-SEGMENT
DECODER
DIGITAL
SWITCH
INPUT
(See note 2.)
SDEC
DSW 210
211
6
4
50.7
51.5
51.3
50.7
9.7
10.7
73.5
73.4
73.5
73.4
13.2
14.8
---
---
---
---
---
---
---
---
---
---
---
---
4 digits, data input value: 0
4 digits, data input value: F
8 digits, data input value: 0
8 digits, data input value: F
Data input value: 0
Data input value: F
TEN KEY
INPUT
(See note 2.)
HEXADECI-
MAL KEY
INPUT
(See note 2.)
MATRIX
INPUT
(See note 2.)
7-SEGMENT
DISPLAY
OUTPUT
(See note 2.)
TKY
HKY
MTR
7SEG
212
213
214
5
5
5
50.3
50.1
47.8
48.0
58.1
63.3
70.9
71.2
68.1
68.0
83.3
90.3
---
---
---
---
---
---
---
---
---
---
---
---
Data input value: 0
Data input value: F
Data input value: 0
Data input value: F
4 digits
8 digits
536
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic Code
INTELLI-
GENT I/O
READ
INTELLI-
GENT I/O
WRITE
CPU BUS I/O
REFRESH
IORD
IOWR
DLNK
222
223
226
Length
(steps)
(See note.)
4
CPU-6
ON execution time (
@H CPU-4@H CPU-6
µs)
@ CPU-4
Read/write times depend on the Special I/O
Unit for which the instruction is being executed.
@
4
---
---
Conditions
4 287.8
315.5
----Allocated 1 word
Note 1.
When a double-length operand is used, add 1 to the value shown in the length column in the following table.
2.
Supported only by CPU Units Ver. 2.0 or later.
10-5-21 Serial Communications Instructions
Instruction Mnemonic
PROTOCOL
MACRO
TRANSMIT
RECEIVE
PMCR
TXD
RXD
Code
260
236
235
256
Length
(steps)
(See note.)
5 100.1
ON execution time ( µs)
CPU-6 @H CPU-4@H CPU-6 @ CPU-4 @
4
4
4
134.2
68.5
734.3
89.6
724.2
131.5
Conditions
142.1
189.6
276.8
305.9
276.8
305.9
Sending 0 words, receiving 0 words
Sending 249 words, receiving 249 words
98.8
98.8
98.8
Sending 1 byte
1.10 ms 1.10 ms 1.10 ms Sending 256 bytes
131.1
131.1
131.1
Storing 1 byte
1.11 ms 1.11 ms 1.11 ms Storing 256 bytes
202.4
----Sending 1 byte TRANSMIT
VIA SERIAL
COMMUNI-
CATIONS
UNIT
RECEIVE VIA
SERIAL COM-
MUNICA-
TIONS UNIT
CHANGE
SERIAL
PORT SETUP
TXDU
RXDU
STUP
255
237
4
3
131
341.2
200.8
400.0
---
440.4
---
440.4
Storing 1 byte
---
Note 1.
When a double-length operand is used, add 1 to the value shown in the length column in the following table.
2.
TXDU(256) and RXDU(255) are supported for unit version 3.0 or later only.
537
Instruction Execution Times and Number of Steps
Section 10-5
10-5-22 Network Instructions
Instruction Mnemonic Code
090
Length
(steps)
(See note.)
4
CPU-6
84.4
ON execution time ( µs)
@H CPU-4@H
123.9
CPU-6
123.9
@ CPU-4
123.9
@
---
Conditions
NETWORK
SEND
NETWORK
RECEIVE
DELIVER
COMMAND
EXPLICIT
MESSAGE
SEND
(See note 2.)
EXPLICIT
GET
ATTRIBUTE
(See note 2.)
EXPLICIT
SET
ATTRIBUTE
(See note 2.)
EXPLICIT
WORD
READ
(See note 2.)
EXPLICIT
WORD
WRITE
(See note 2.)
SEND
RECV
CMND
EXPLT
EGATR
ESATR
ECHRD
ECHWR
098
490
720
721
722
723
724
4
4
4
4
3
4
4
85.4
106.8
127.6
123.9
110.0
106.8
106.0
124.7
136.8
190.0
185.0
164.4
158.9
158.3
124.7
136.8
---
---
---
---
---
124.7
136.8
---
---
---
---
---
---
---
---
---
---
---
---
Note 1.
When a double-length operand is used, add 1 to the value shown in the length column in the following table.
2.
Supported only by CPU Units Ver. 2.0 or later.
10-5-23 File Memory Instructions
Instruction Mnemonic
READ DATA
FILE
FREAD
WRITE
DATA FILE
FWRIT
Code
700
701
704
Length
(steps)
(See note.)
5
CPU-6
391.4
ON execution time ( µs)
@H CPU-4@H
632.4
CPU-6
684.1
@ CPU-4
684.1
@
5
5
836.1
387.8
833.3
390.1
1.33 ms
627.0
1.32 ms
619.1
1.35 ms
684.7
1.36 ms
---
1.35 ms
684.7
1.36 ms
---
Conditions
2-character directory + file name in binary
73-character directory + file name in binary
2-character directory + file name in binary
73-character directory + file name in binary
--WRITE
TEXT FILE
(See note 2.)
TWRIT
Note 1.
When a double-length operand is used, add 1 to the value shown in the length column in the following table.
2.
Supported only by CPU Units Ver. 4.0 or later.
538
Instruction Execution Times and Number of Steps
Section 10-5
10-5-24 Display Instructions
Instruction Mnemonic
DISPLAY
MESSAGE
MSG
Code
046
Length
(steps)
(See note.)
3
CPU-6
10.1
ON execution time ( µs)
@H CPU-4@H
14.2
CPU-6
14.3
@ CPU-4
14.3
@
8.4
11.3
11.3
11.3
Conditions
Displaying message
Deleting displayed message
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-25 Clock Instructions
Instruction Mnemonic Code
730
Length
(steps)
(See note.)
4
ON execution time ( µs)
CPU-6 @H CPU-4@H CPU-6 @ CPU-4 @
38.3
201.9
209.5
209.5
---
Conditions
CALENDAR
ADD
CALENDAR
SUBTRACT
HOURS TO
SECONDS
SECONDS TO
HOURS
CLOCK
ADJUSTMENT
CADD
CSUB
SEC
HMS
DATE
731
065
066
735
4
3
3
2
38.6
21.4
22.2
60.5
170.4
29.3
30.9
87.4
184.1
35.8
42.1
95.9
184.1
35.8
42.1
95.9
---
---
---
---
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-26 Debugging Instructions
Instruction Mnemonic
Trace Memory Sampling
TRSM
Code
045
Length
(steps)
(See note.)
1
CPU-6
80.4
ON execution time ( µs)
@H CPU-4@H
120.0
CPU-6
120.0
@ CPU-4
120.0
@
848.1
1.06 ms 1.06 ms 1.06 ms
Conditions
Sampling 1 bit and 0 words
Sampling 31 bits and 6 words
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
539
Instruction Execution Times and Number of Steps
Section 10-5
10-5-27 Failure Diagnosis Instructions
Instruction Mnemonic
FAILURE
ALARM
FAL
Code
006
Length
(steps)
(See note.)
3
CPU-6
15.4
ON execution time ( µs)
@H CPU-4@H
16.7
CPU-6
16.7
@ CPU-4
16.7
@
179.8
244.8
244.8
244.8
FALS 007 3
432.4
161.5
---
657.1
219.4
---
657.1
219.4
---
657.1
219.4
---
Conditions
Recording errors
Deleting errors
(in order of priority)
Deleting errors
(all errors)
Deleting errors
(individually)
--SEVERE
FAILURE
ALARM
FAILURE
POINT
DETECTION
FPD 269 4 140.9
163.4
185.2
207.5
202.3
217.6
268.9
283.6
202.3
217.6
268.9
283.6
202.3
217.6
268.9
283.6
When executed
First time
When executed
First time
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-28 Other Instructions
Instruction Mnemonic Code
040
041
1
1
Length
(steps)
(See note.)
CPU-6
0.06
0.06
ON execution time ( µs)
@H CPU-4@H
0.06
0.06
CPU-6
0.12
0.12
@ CPU-4
0.12
0.12
@
---
---
Conditions
SET CARRY STC
CLEAR
CARRY
CLC
EMBC SELECT EM
BANK
EXTEND
MAXIMUM
CYCLE
TIME
WDT
SAVE CON-
DITION
FLAGS
LOAD CON-
DITION
FLAGS
CCS
CCL
CONVERT
ADDRESS
FROM CV
CONVERT
ADDRESS
TO CV
DISABLE
PERIPH-
ERAL SER-
VICING
ENABLE
PERIPH-
ERAL SER-
VICING
FRMCV
TOCV
IOSP
IORS
281
094
282
283
284
285
287
288
2
2
1
1
3
3
---
---
14.0
15.0
8.6
9.8
13.6
11.9
13.9
63.6
15.1
19.7
12.5
13.9
19.9
17.2
19.8
92.3
15.1
19.7
---
---
---
---
---
---
15.1
19.7
---
---
---
---
---
---
---
---
---
---
---
---
---
---
540
Instruction Execution Times and Number of Steps
Section 10-5
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
10-5-29 Block Programming Instructions
Instruction Mnemonic Code Length
(steps)
(See note.)
2
CPU-6
12.1
ON execution time ( µs)
@H CPU-4@H
13.0
CPU-6
13.0
@ CPU-4
13.0
@
---
Conditions
BLOCK
PROGRAM
BEGIN
BLOCK
PROGRAM
END
BLOCK
PROGRAM
PAUSE
BLOCK
PROGRAM
RESTART
CONDI-
TIONAL
BLOCK
EXIT
BPRG
BEND
BPPS
BPRS
(Execution condition)
EXIT
CONDI-
TIONAL
BLOCK
EXIT
CONDI-
TIONAL
BLOCK
EXIT (NOT)
Branching
EXIT (bit address)
EXIT NOT
(bit address)
096
801
811
812
806
806
806
Branching
Branching
(NOT)
Branching
IF (execution condition)
802
802 IF (relay number)
IF NOT
(relay number)
ELSE
802
803
1
2
2
1
2
2
1
2
2
1
9.6
10.6
5.1
10.0
4.0
6.8
4.7
12.4
7.1
4.6
6.7
6.8
9.0
7.1
9.2
12.3
12.3
5.6
11.3
4.9
13.5
7.2
14.0
7.6
4.8
7.3
7.2
9.6
7.6
10.1
13.1
14.9
8.3
12.9
7.3
16.3
10.7
16.8
11.2
7.2
10.9
10.4
14.2
10.9
14.7
13.1
14.9
8.3
12.9
7.3
16.3
10.7
16.8
11.2
7.2
10.9
10.4
14.2
10.9
14.7
---
---
---
Branching IEND
ONE
CYCLE AND
WAIT
WAIT (relay number)
805
ONE
CYCLE AND
WAIT (NOT)
WAIT NOT
(relay number)
804
ONE
CYCLE AND
WAIT
WAIT (execution condition)
805
805
1
1
2
2
6.2
6.8
6.9
4.4
12.6
3.9
12.0
6.1
12.2
6.4
6.7
7.7
7.7
4.6
13.7
4.1
13.4
6.5
13.8
6.9
9.9
11.2
11.0
7.0
16.7
6.3
16.5
9.6
17.0
10.1
9.9
11.2
11.0
7.0
16.7
6.3
16.5
9.6
17.0
10.1
EXIT condition satisfied
EXIT condition not satisfied
EXIT condition satisfied
EXIT condition not satisfied
EXIT condition satisfied
EXIT condition not satisfied
IF true
IF false
IF true
IF false
IF true
IF false
IF true
IF false
IF true
IF false
WAIT condition satisfied
WAIT condition not satisfied
WAIT condition satisfied
WAIT condition not satisfied
WAIT condition satisfied
WAIT condition not satisfied
541
Instruction Execution Times and Number of Steps
Section 10-5
Instruction Mnemonic
COUNTER
WAIT
CNTW
HIGH-
SPEED
TIMER
WAIT
Loop Control LOOP
Loop Control LEND (execution condition)
809
810
Loop Control LEND NOT
(relay number)
810
TIMER
WAIT
CNTWX
TMHW
TMHWX
TIMW
TIMWX
Code
814
818
815
817
Loop Control LEND (relay number)
810
813
816
Length
(steps)
(See note.)
4
CPU-6
17.9
19.1
ON execution time ( µs)
@H CPU-4@H
22.6
23.9
CPU-6
27.4
28.7
@ CPU-4
27.4
28.7
@
4
3
3
1
1
2
2
3
3
17.9
19.1
25.8
20.6
25.8
20.6
9.3
7.9
7.7
6.8
9.9
8.9
10.2
9.3
22.3
24.9
22.3
24.9
22.6
23.9
27.9
22.7
27.9
22.7
10.8
9.1
8.4
8.0
10.7
10.3
11.2
10.8
25.2
27.8
25.2
27.8
---
---
34.1
28.9
---
---
---
12.3
10.9
9.8
14.4
13.0
14.8
13.5
33.1
35.7
---
---
---
---
34.1
28.9
---
---
---
12.3
10.9
9.8
14.4
13.0
14.8
13.5
33.1
35.7
---
---
Conditions
Default setting
Normal execution
Default setting
Normal execution
Default setting
Normal execution
Default setting
Normal execution
LEND condition not satisfied
---
LEND condition satisfied
LEND condition not satisfied
LEND condition satisfied
LEND condition not satisfied
LEND condition satisfied
LEND condition not satisfied
Default setting
Normal execution
Default setting
Normal execution
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
542
Instruction Execution Times and Number of Steps
Section 10-5
10-5-30 Text String Processing Instructions
Instruction Mnemonic
MOV STRING MOV$
CONCATE-
NATE
STRING
GET STRING
LEFT
+$
LEFT$
Code
664
656
652
Length
(steps)
(See note.)
3
CPU-6
45.6
ON execution time ( µs)
@H CPU-4@H
66.0
CPU-6
84.3
@ CPU-4
84.3
@
4 86.5
126.0
167.8
167.8
Conditions
Transferring 1 character
1 character + 1 character
4 53.0
77.4
94.3
94.3
GET STRING
RIGHT
RGHT$
GET STRING
MIDDLE
MID$
FIND IN
STRING
STRING
LENGTH
REPLACE IN
STRING
LEN$
RPLC$
DELETE
STRING
EXCHANGE
STRING
FIND$
DEL$
XCHG$
CLEAR
STRING
CLR$
INSERT INTO
STRING
INS$
String Comparison
Instructions
LD, AND,
OR +=$
LD, AND,
OR +<>$
LD, AND,
OR +<$
LD, AND,
OR +>$
LD, AND,
OR +>=$
653
654
660
650
661
658
665
666
657
670
671
672
674
675
4
5
4
3
6
5
3
2
5
4
52.2
56.5
51.4
19.8
175.1
63.4
60.6
23.8
136.5
48.5
76.3
84.6
77.5
28.9
258.7
94.2
87.2
36.0
200.6
69.8
94.2
230.2
94.1
33.4
479.5
244.6
99.0
37.8
428.9
86.2
94.2
230.2
94.1
33.4
479.5
244.6
99.0
37.8
428.9
86.2
Retrieving 1 character from 2 characters
Retrieving 1 character from 2 characters
Retrieving 1 character from 3 characters
Searching for 1 character from 2 characters
Detecting 1 character
Replacing the first of 2 characters with 1 character
Deleting the leading character of 2 characters
Exchanging 1 character with 1 character
Clearing 1 character
Inserting 1 character after the first of 2 characters
Comparing 1 character with 1 character
Note When a double-length operand is used, add 1 to the value shown in the length column in the following table.
543
Instruction Execution Times and Number of Steps
Section 10-5
10-5-31 Task Control Instructions
Instruction Mnemonic
TASK ON TKON
TASK OFF TKOF
Code
820
821
2
2
Length
(steps)
(See note.)
CPU-6
19.5
13.3
ON execution time ( µs)
@H CPU-4@H
26.3
19.0
CPU-6
26.3
26.3
@ CPU-4
26.3
26.3
@
---
---
Conditions
10-5-32 Model Conversion Instructions (Unit Ver. 3.0 or Later Only)
Instruction Mnemonic
BLOCK
TRANSFER
XFERC
SINGLE
WORD DIS-
TRIBUTE
DATA COL-
LECT
DISTC
COLLC
Code
565
566
567
4
4
4
Length
(steps)
ON execution time ( µs)
CPU-6 @H CPU-4@H CPU-6 @ CPU-4 @
6.4
6.5
-----
481.6
3.4
5.9
791.6
3.5
7.3
---
---
---
---
---
---
Conditions
Transferring 1 word
Transferring
1,000 words
Data distribute
Stack operation
3.5
8
8.3
3.85
9.1
9.6
---
---
---
---
---
---
MOVE BIT MOVBC
BIT
COUNTER
BCNTC
568
621
4
4
2052.3
4.5
4.9
1252.4
2097.5
4.88
5
1284.4
---
---
---
---
---
---
---
---
Data collection
Stack operation
Stack operation
1 word FIFO
Read
Stack operation
1,000 words
FIFO Read
---
Counting 1 word
Counting 1,000 words
10-5-33 Special Function Block Instructions (Unit Ver. 3.0 or Later Only)
Instruction Mnemonic
GET VARI-
ABLE ID
GETID
Code
286 4
Length
(steps)
ON execution time ( µs)
CPU-6 @H CPU-4@H CPU-6 @ CPU-4 @
14 22.2
-------
Conditions
Guidelines on Converting
Program Capacities from
Previous OMRON PLCs
Guidelines are provided in the following table for converting the program capacity (unit: words) of previous OMRON PLCs (SYSMAC C200HX/HG/HE,
CVM1, or CV-series PLCs) to the program capacity (unit: steps) of the CSseries PLCs.
544
Instruction Execution Times and Number of Steps
Section 10-5
Add the following value (n) to the program capacity (unit: words) of the previous PLCs for each instruction to obtain the program capacity (unit: steps) of the CS-series PLCs.
Instructions
Basic instructions
Special instructions
CS-series steps = “a” (words) of previous PLC + n
Variations Value of n when converting from
C200HX/HG/HE to
CS Series
Value of n when converting from
CV-series PLC or
CVM1 to CS
Series
None 0
Upward Differentiation
OUT, SET, RSET, or KEEP(011): –1
Other instructions:
0
None +1
None
None
0
+2
Immediate Refreshing
Upward Differentiation and
Immediate Refreshing
None
Upward Differentiation
Immediate Refreshing
Upward Differentiation and
Immediate Refreshing
0
+1
None
None
–1
0
+3
+4
For example, if OUT is used with an address of CIO 000000 to CIO 25515, the program capacity of a C200HX/HG/HE PLC would be 2 words per instruction and that of the CS-series PLC would be 1 (2 – 1) step per instruction.
For example, if !MOV is used (MOVE instruction with immediate refreshing), the program capacity of a CV-series PLC would be 4 words per instruction and that of the CS-series PLC would be 7 (4 + 3) steps.
10-5-34 Function Block Instance Execution Time (CPU Units with Unit
Version 3.0 or Later)
Use the following equation to calculate the effect of instance execution on the cycle time when function block definitions have been created and the instances copied into the user program using CS/CJ-series CPU Units with unit version 3.0 or later.
Effect of Instance Execution on Cycle Time
= Startup time (A)
+ I/O parameter transfer processing time (B)
+ Execution time of instructions in function block definition (C)
545
Instruction Execution Times and Number of Steps
Section 10-5
The following table shows the length of time for A, B, and C.
A Startup time
Operation
B I/O parameter transfer processing time
The data type is indicated in parentheses.
C Function block definition instruction execution time
CS1H-CPU6 @H
CJ1H-CPU6 @H
6.8 µs Startup time not including
I/O parameter transfer
1-bit I/O variable (BOOL) 0.4 µs
1-word I/O variable (INT,
UINT, WORD)
0.3 µs
2-word I/O variable
(DINT, UDINT, DWORD,
REAL)
0.5 µs
4-word I/O variable (LINT,
ULINT, LWORD, LREAL)
1.0 µs
CPU Unit model
CS1G-CPU4 @H
CJ1G-CPU4 @H
8.8 µs
0.7 µs
0.6 µs
0.8
1.6
µs
µs
Total instruction processing time (same as standard user program)
CJ1M-CPU @@
15.0 µs
1.0 µs
0.8 µs
1.1 µs
2.2 µs
Number of Function Block
Program Steps (CPU Units with Unit Version 3.0 or
Later)
Example: CS1H-CPU63H
Input variables with a 1-word data type (INT): 3
Output variables with a 1-word data type (INT): 2
Total instruction processing time in function block definition section: 10 µs
Execution time for 1 instance = 6.8 µs + (3 + 2) × 0.3 µs + 10 µs = 18.3 µs
Note The execution time is increased according to the number of multiple instances when the same function block definition has been copied to multiple locations.
Use the following equation to calculate the number of program steps when function block definitions have been created and the instances copied into the user program using CS/CJ-series CPU Units with unit version 3.0 or later.
Number of steps
= Number of instances × (Call part size m + I/O parameter transfer part size n × Number of parameters) + Number of instruction steps in the function block definition p
(See note.)
Note The number of instruction steps in the function block definition (p) will not be diminished in subsequence instances when the same function block definition is copied to multiple locations (i.e., for multiple instances). Therefore, in the above equation, the number of instances is not multiplied by the number of instruction steps in the function block definition (p).
m Call part n I/O parameter transfer part
The data type is shown in parentheses.
Contents
1-word I/O variable (INT,
UINT, WORD)
CS/CJ-series CPU Units with unit version 3.0 or later
57 steps
1-bit I/O variable (BOOL) 6 steps
6 steps
2-word I/O variable (DINT,
UDINT, DWORD, REAL)
4-word I/O variable (LINT,
ULINT, LWORD, LREAL)
6 steps
12 steps p Number of instruction steps in function block definition
The total number of instruction steps (same as standard user program) + 27 steps.
546
Instruction Execution Times and Number of Steps
Section 10-5
Example:
Input variables with a 1-word data type (INT): 5
Output variables with a 1-word data type (INT): 5
Function block definition section: 100 steps
Number of steps for 1 instance = 57 + (5 + 5) × 6 steps + 100 steps + 27 steps
= 244 steps
547
Instruction Execution Times and Number of Steps
Section 10-5
548
SECTION 11
Troubleshooting
This section provides information on hardware and software errors that occur during PLC operation.
11-2-3 Error Codes and Error Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11-2-4 Error Processing Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11-2-6 Power Supply Check. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11-2-7 Memory Error Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11-2-8 Program Error Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11-2-9 Cycle Time Too Long Error Check . . . . . . . . . . . . . . . . . . . . . . . . .
11-2-10 PLC Setup Setting Error Check . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11-2-12 Environmental Conditions Check . . . . . . . . . . . . . . . . . . . . . . . . . . .
549
Error Log
11-1 Error Log
Section 11-1
Each time that an error occurs, the CPU Unit stores error information in the
Error Log Area. The error information includes the error code (stored in
A400), error contents, and time that the error occurred. Up to 20 records can be stored in the Error Log.
Errors Generated by
FAL(006)/FALS(007)
Error Log Structure
In addition to system-generated errors, the PLC records user-defined
FAL(006) and FALS(007) errors, making it easier to track the operating status of the system.
A user-defined error is generated when FAL(006) or FALS(007) is executed in the program. The execution conditions of these instructions constitute the user-defined error conditions. FAL(006) generates a non-fatal error and
FALS(007) generates a fatal error that stops program execution.
The following table shows the error codes for FAL(006) and FALS(007).
Instruction
FAL(006)
FALS(007)
FAL numbers
#0001 to #01FF (1 to 511 decimal)
#0001 to #01FF (1 to 511 decimal)
Error codes
4101 to 42FF
C101 to C2FF
When more than 20 errors occur, the oldest error data (in A100 to A104) is deleted, the newest record is stored in A195 to A199, and the other errors are shifted by one.
550
Error Processing
Error code
Order of occurrence
Section 11-2
Error Log Area
Error code
Error contents
Minute, second
Day, hour
Year, month
Error code
Error contents
Minute, second
Day, hour
Year, month
Time of occurrence
Time of occurrence
Error code
Error contents
Minute, second
Day, hour
Year, month
Time of occurrence
Error Log Pointer (error counter)
The number of records is stored in binary in the Error Log Pointer (A300). The data in the Error Log can be cleared from a Programming Device.
Note The Error Log Pointer can be reset by turning ON the Error Log Pointer Reset
Bit (A50014), but this operation does not clear the data in the Error Log A100 to A199) itself.
11-2 Error Processing
11-2-1 Error Categories
Errors in CS-series PLCs can be broadly divided into the following three categories.
Category
CPU Standby
Non-fatal Errors
(including FAL(006))
Fatal Errors
(including FALS(007))
Result Indicators
RUN ERR/ALM
OFF OFF The CPU Unit will not start operation in RUN or MONITOR mode.
The CPU Unit will continue operating in RUN or MONITOR mode.
ON
(Green)
Flashing
(Red)
The CPU Unit will stop operating in
RUN or MONITOR mode.
OFF ON
(Red)
---
Comments
Other indicators will also operate when a communications error has occurred or the Output OFF Bit is
ON.
The indicators will all be OFF when there is a power interruption.
11-2-2 Error Information
There are basically four sources of information on errors that have occurred:
1,2,3...
1.
The CPU Unit’s indicators
2.
The Auxiliary Area Error Flags
3.
The Auxiliary Area Error Information Words
551
Error Processing
CPU Unit Indicators
4.
The Auxiliary Area Error Code Word
Auxiliary Area Flags and Words
RUN: Lit when the PLC is in
RUN or MONITOR mode.
Error Flags Error Info.
Section 11-2
Error Code
Word (A400)
RUN
ERR/ALM
INH
PRPHL/COMM
ERR/ALM: Flashing: Non-fatal error
Lit: Fatal error
INH: Lit when Output OFF Bit has been turned ON.
PRPHL: Lit when the CPU Unit is communicating through the peripheral port
COMM: Lit when the CPU Unit is communicating through the RS-232C port
Flags indicating the type of error.
Words providing error information.
Error Code
Word (A400)
A400 contains the error code.
(See note.)
CS1-H CPU Unit Indicators
RUN: Lit when the PLC is in
RUN or MONITOR mode.
ERR/ALM:
Flashing: Non-fatal error
Lit: Fatal Error
.INH: Lit when Output OFF
Bit has been turned ON.
PRPHL: Lit when the CPU
Unit is communicating through the peripheral port.
CS
RUN
ERR/ALM
INH BKUP
PRPH COMM
.BKUP: Lit when data is being written to the flash memory.
.COMM: Lit when the
CPU Unit is communicating through the RS-232C port.
Note When two or more errors occur at the same time, the highest (most serious) error code will be stored in A400.
Indicator Status and Error Conditions
The following table shows the status of the CPU Unit’s indicators for errors that have occurred in RUN or MONITOR mode.
Indicator* CPU error CPU reset
RUN
PRPHL
COMM
OFF
ERR/ALM ON
INH OFF
---
---
OFF
OFF
OFF
---
---
CPU standby
OFF
OFF
---
---
---
Fatal error Non-fatal error
OFF
ON
---
---
---
ON
Flashing
---
---
---
Communications error
Peripheral RS-232C
ON ON
---
---
OFF
---
---
---
---
OFF
Output
OFF Bit ON
---
---
ON
---
---
552
Error Processing
Section 11-2
11-2-3 Error Codes and Error Flags
Classification
Fatal system errors
Non-fatal system errors
User-defined fatal errors
Error code
80F1
80C0 to 80C7,
80CF
80CB
80E9
80E1
80E0
80F0
809F
80EA
82F0
008B
009A
009B
00E7
02F0
0200 to 020F
0300 to 035F
00A0 to 00A1
00F7
0400 to 040F
0500 to 055F
4101 to 42FF
User-defined non-fatal errors
C101 to C2FF
Memory error
Error name
I/O bus error
Page
I/O bus error B
Duplicated number error
Too many I/O points
I/O setting error
Program error
Cycle time too long
Expansion Rack number duplicated
Fatal Inner Board error
Interrupt task error
Basic I/O error
PLC Setup setting error
I/O verification error
Inner Board error
CS1-series CPU Bus Unit error
Special I/O Unit error
SYSMAC BUS error
Battery error
CS1-series CPU Bus Unit setting error 565
Special I/O Unit setting error
FALS(007) error
(C101 to C2FF are stored for FALS numbers 001 to 511)
FAL(006) error
(4101 to 42FF are stored for FAL numbers 001 to 511)
553
Error Processing
Section 11-2
11-2-4 Error Processing Flowchart
Use the following flowchart as a guide for error processing with a Programming Console.
Error occurred during operation
Is the POWER indicator lit?
Lit
OFF
Is the RUN indicator lit?
Lit
OFF
ERR/ALM indicator lit.
Connect the
Programming Console.
Check the Power
Is the ERR/ALM indicator flashing?
OFF
Check I/O and environmental conditions (See note 1.) Flashing
Connect the
Programming Console.
Non-fatal error
Is the Programming
Console's display operating?
Yes
- - - - displayed.
Fatal error
CPU Error
(WDT error)
554
Error Processing
Section 11-2
Fatal error
Non-fatal error
MEMORY ERR *
(See note 1.)
I/O BUS ERR
Memory error
I/O bus error
SYS FAIL FAL ***
(See note 2.)
FAL error
INTRPT ERR
Interrupt
Task error
UNIT NO. DPL ERR Unit Number
Duplication error
RACK NO. DPL ERR Rack Number
Duplication error
FATAL INNER ERR
Fatal Inner
Board error
TOO MANY I/O PNT
Too Many I/O
Points error
I/O SET ERR
PROGRAM ERR
CYCLE TIME ERR
I/O Table
Setting error
Program error
Cycle Time
Overrun error
DENSITY I/O ERR
PC SETUP ERR
Basic I/O error
PLC Setup error
I/O VRFY ERR I/O Table
Verification error
NO-FTL INNER ERR Non-fatal
Inner Board error
CPU BU ERR **
(See note 3.)
CS1 CPU
Bus Unit error
SIOU ERR **
(See note 3.)
Special I/O
Unit error
SYSBUS ERR **
(See note 4.)
BAT LOW
SYSMAC
BUS error
Battery error
SYS FAIL FALS
(See note 2.)
System FALS error
CPU BU STUP **
(See note 3.)
SIOU SETUP **
(See note 3.)
Note 1.
The rack number will be given at *.
2.
The FAL./FALS number will be given at ***.
3.
The unit number will be given at **.
4.
The master number will be given at *.
CPU
Bus Unit
Setup error
Special I/O
Unit Setup error
555
Error Processing
Section 11-2
11-2-5 Error Messages
The following tables show error messages for errors which can occur in CSseries PLCs and indicate the likely cause of the errors.
!Caution Always check the safety of the controlled system before turning the power supply OFF or ON.
CPU Errors
A CPU error has occurred if the indicators have the following conditions in
RUN or MONITOR mode. A Programming Device, such as a Programming
Console, cannot be connected when the CPU Unit is in this state.
CPU Unit Indicators Power Supply
Unit Indicator
POWER
ON
RUN
---
ERR/ALM
ON
INH
---
PRPHL
---
COMM
---
Status Error Programming
Console display
Stopped CPU error – – – –
Error flags in
Auxiliary
Area
None
Error code (in
A400)
None
Flags and word data
None
Probable cause Possible remedy
Watchdog timer has exceeded maximum setting.
Turn the power OFF and restart. The Unit may be faulty. Contact your OMRON representative if the problem persists.
CPU Reset
The following indicators status indicates an Expansion Rack power interruption, not a CPU error. A Programming Device, such as a Programming Console, cannot be connected when the CPU Unit is in this state.
CPU Unit Indicators Power Supply
Unit Indicator
POWER
ON
RUN
OFF
ERR/ALM
OFF
INH
OFF
PRPHL
---
COMM
---
Status Error Programming
Console display
Stopped CPU reset – – – –
Error flags in
Auxiliary
Area
None
Error code (in
A400)
None
Flags
None
Probable cause Possible remedy
Power is not being supplied to an
Expansion Rack.
An I/O Connecting
Cable is not connected properly.
For example, the IN and OUT connections between the
CPU Rack and an
Expansion Rack are reversed.
Supply power to the Expansion Rack.
Turn OFF the power supply, check the connections all I/O
Connecting Cables, and turn the power supply back ON.
Note When power supply is interrupted to an Expansion Rack, the CPU Unit will stop program execution and the same operations as are performed when the power supply to the CPU Unit is interrupted will be performed. For example, if the power OFF interrupt task is enabled, it will be executed. If power is then
556
Error Processing
Section 11-2
restored to the Expansion Rack, the CPU Unit will perform startup processing, i.e., the same operational status as existed before the power interrupt will not necessarily be continued.
CPU Standby Errors
A CPU standby error has occurred if the indicators have the following conditions in RUN or MONITOR mode.
CPU Unit Indicators Power Supply
Unit Indicator
POWER
ON
RUN
OFF
ERR/ALM
OFF
INH
---
PRPHL
---
COMM
---
Status Error
Stopped CPU standby error
Startup Condition
Programming
Console display
CPU
WAIT’G
Error flags in
Auxiliary
Area
None
Error code (in
A400)
None
Flags
None
Probable cause Possible remedy
Recognition of one or more of the following Unit has not been completed:
CPU Bus Units,
Special I/O Units,
High-density I/O
Units, Interrupt Input
Units, or an Inner
Board.
Power is not being supplied to a Slave
Rack or the terminator is not recognized in a Remote I/O System.
Turn OFF the power supply, check the mounting and settings of all the Unit and the
Inner Board, and turn the power supply back ON.
Check the power supply to the Slave Racks and terminating resistance settings for
Remote I/O Systems. Also check cable connections in the Remote I/O Systems.
The CS1-H CPU Units support a Startup Condition setting.
To start the CPU Unit in MONITOR or PROGRAM mode even if there is one or more Boards or Units that has not completed startup processing, set the
Startup Condition to 1.
PLC Setup
Programming
Console address
Word Bit
+83 15
Name Settings
Startup Condition 0: Wait for Units and Boards.
1: Don’t wait.
Default
0: Wait for Units and Boards.
Note The operation for Inner Boards, however, also depends on the next setting of the Inner Board Setting in word +84, but 15. This bit must also be turned ON to not wait for Inner Boards.
Fatal Errors
A fatal error has occurred if the indicators have the following conditions in
RUN or MONITOR mode.
CPU Unit Indicators Power Supply
Unit Indicator
POWER
ON
RUN
OFF
ERR/ALM
ON
INH
---
PRPHL
---
COMM
---
557
Error Processing
Section 11-2
Error
Memory error
Connect the CX-Programmer or a Programming Console to display the error message (in the PLC Error Window on the CX-Programmer). The cause of the error can be determined from the error message and related Auxiliary
Area flags and words.
Errors are listed in order of importance. When two or more errors occur at the same time, the more serious error’s error code will be recorded in A400.
If the IOM Hold Bit hasn’t been turned ON to protect I/O memory, all nonretained areas of I/O memory will be cleared when a fatal error other than
FALS(007) occurs. If the IOM Hold Bit is ON, the contents of I/O memory will be retained but all outputs will be turned OFF.
If the IOM Hold Bit hasn’t been turned ON to protect I/O memory, all nonretained areas of I/O memory will be cleared when a fatal error other than
FALS(007) occurs. When the IOM Hold Bit is ON, the contents of I/O memory will be retained but all outputs will be turned OFF.
Programming
Console display
MEMORY
ERR
Error code (in
A400)
80F1
Flag and word data
A40115:
Memory
Error Flag
A403:
Memory
Error Location
Probable cause Possible remedy
An error has occurred in memory. A bit in A403 will turn ON to show the location of the error as listed below.
A40300 ON:
A checksum error has occurred in the user program memory. The power was turned OFF while storing data to the flash memory
(backup memory).
A40304 ON:
A checksum error has occurred in the PLC Setup.
See below.
Check the program and correct the error.
Clear the entire PLC Setup to 0000 and reenter the settings.
A40305 ON:
A checksum error has occurred in the registered
I/O table.
A40307 ON:
A checksum error has occurred in the routing tables.
A40308 ON:
A checksum error has occurred in the CS-series
CPU Bus Unit setup.
A40309 ON:
An error occurred during automatic transfer from the
Memory Card at startup.
A40310 ON:
Flash memory has failed.
Initialize the registered I/O table and generate a new I/O table.
Initialize the routing tables and reenter the tables.
Initialize the CS-series CPU Bus Unit setup and reenter the settings.
Make sure that the Memory Card is installed properly and that the correct file is on the Card.
Retransfer the user program and parameter data.
558
Error Processing
Section 11-2
Error
I/O Bus error
Unit/Rack
Number
Duplication error
Fatal Inner
Board error
Programming
Console display
I/O BUS
ERR
Error code (in
A400)
80C0 to
80C7 or
80CF
I/O BUS
ERR B
UNIT No.
DPL ERR
RACK No.
DPL ERR
FATAL
INNER
ERR
80CB
80E9
80EA
82F0
Flag and word data
Probable cause Possible remedy
A40114: I/O
Bus Error
Flag
A404: I/O
Bus Error
Slot and
Rack Numbers
A404: I/O
Bus Error
Slot and
Rack Numbers
A40113:
Duplication
Error Flag
A410: CPU
Bus Unit
Duplicate
Number
Flags
Error has occurred in the bus line between the CPU and
I/O Units.
A40400 to A40407 contain the error slot number (00 to
09) in binary. 0F indicates that the slot cannot be determined.
A40408 to A40415 contain the error rack number (00 to
07) in binary. 0F indicates that the rack cannot be determined.
I/O bus error B: CPU Unit is mounted to a Duplex Backplane.
Note:
A40400 to A40407 = 0F hex
A40408 to A40415 = 0B hex
The same number has been allocated to more than one
CS-series CPU Bus Unit.
Bits A41000 to A41015 correspond to unit numbers 0 to
F.
Try turning the power OFF and ON again.
If the error isn’t corrected, turn the power
OFF and check cable connections between the I/O Units and Racks.
Check for damage to the cable or Units.
Correct the cause of the error and then turn the Rack’s power supply OFF and then ON again
Turn OFF the power, replace the Backplane with a CS1W-BC @@@ Backplane, and turn the power back ON.
Check the unit numbers, eliminate the duplications, and turn the Rack’s power supply OFF and then ON again.
A40113:
Duplication
Error Flag
A411 to
A416: Special I/O Unit
Duplicate
Number
Flags
A409:
Expansion
Rack Duplicate Rack
Number
A40112:
Inner Board
Stopped
Error Flag
A424: Inner
Board Error
Information
The same number has been allocated to more than one
Special I/O Unit.
Bits A41100 to A41615 correspond to unit numbers 0 to
95.
The same I/O word has been allocated to more than one Basic I/O Unit.
An Expansion I/O Rack’s starting word address exceeds CIO 0901.
The corresponding bit in
A40900 to A40907 (Racks 0 to 7) will be turned ON.
The Inner Board is faulty.
An error occurred on the
Inner bus.
Check the unit numbers, eliminate the duplications, and turn the Rack’s power supply OFF and then ON again.
Check allocations to Units on the rack number whose bit in ON in A40900 to
A40907. Correct the allocations so that no words are allocated more than once, including to Units on other Racks, and turn the Rack’s power supply OFF and then ON again.
Check the first word setting for the Rack indicated in A40900 to A40907 and change the setting to a valid word address below CIO 0901 with a Programming Device.
Check the indicators on the Inner Board and refer to the operation manual for the
Inner Board.
559
Error Processing
Section 11-2
Error
Too Many
I/O Points error
I/O Table
Setting error
Programming
Console display
TOO
MANY I/O
PNT
Error code (in
A400)
80E1
I/O SET
ERR
80E0
Flag and word data
Probable cause Possible remedy
A40111:
Too Many
I/O Points
Flag
A407: Too
Many I/O
Points,
Details
The probable causes are listed below. The 3-digit binary value (000 to 101) in
A40713 to A40715 indicates the cause of the error. The value of these 3 bits is also output to A40700 to A40712.
1) The total number of I/O points set in the I/O Table
(excluding Slave Racks) exceeds the maximum allowed for the CPU Unit
(bits: 000).
2) There are more than 32 interrupt inputs (bits: 001).
3) The unit number of a
Slave Unit is duplicated or the number of I/O points on a C500 Slave Unit exceeds
320 (bits: 010).
4) The unit number of an I/O
Interface (excluding Slave
Racks) is duplicated (bits:
011).
5) The unit number of a Master Unit is duplicated or the unit number is outside of the allowed setting range (bits:
100).
6) The number of Expansion Racks exceeds the maximum (bits: 101).
7) C200H Special I/O Unit not detected or Remote I/O not detected (bits: 110)
Correct the problem indicated by the content of A407 and turn the power OFF and ON again.
A40110: I/O
Setting
Error Flag
Input and output word allocations do no agree with input/output words required by Units actually mounted.
Check the I/O table with I/O Table Verification operation. When the system has been corrected, register the I/O table again.
560
Error Processing
Section 11-2
Error
Program error
Programming
Console display
PRO-
GRAM
ERR
Error code (in
A400)
80F0
Flag and word data
A40109:
Program
Error Flag
A294 to
A299: Program error information
Probable cause Possible remedy
The program is incorrect.
See the following rows of this table for details.
The address at which the program stopped will be output to A298 and A299.
A29511: No END error
Check A295 to determine the type of error that occurred and check
A298/A299 to find the program address where the error occurred.
Correct the program and then clear the error.
Be sure that there is an END(001) instruction at the end of the task specified in A294 (program stop task number).
A29512: Task error
A task error has occurred.
The following conditions will generate a task error.
1) There isn’t an executable cyclic task.
2) There isn’t a program allocated to the task. Check
A294 for the number of the task missing a program.
3) The task specified in a
TKON(820), TKOF(821), or
MSKS(690) instruction doesn’t exist.
Check the startup cyclic task attributes.
Check the execution status of each task as controlled by TKON(820) and
TKOF(821).
Make sure that all of the task numbers specified in TKON(820), TKOF(821), and
MSKS(690) instructions have corresponding tasks.
Use MSKS(690) to mask any I/O or scheduled interrupt tasks that are not being used and that do not have programs set for them.
Find the program address where the error occurred (A298/A299) and correct the instruction.
A29510: Illegal access error
An illegal access error has occurred and the PLC Setup has been set to stop operation for an instruction error.
The following are illegal access errors:
1. Reading/writing a parameter area.
2. Writing memory that is not installed.
3. Writing an EM bank that is
EM file memory.
4. Writing to a read-only area.
5. Indirect DM/EM address that is not in BCD when BCD mode is specified.
A29509: Indirect DM/EM
BCD error
An indirect DM/EM BCD error has occurred and the
PLC Setup has been set to stop operation for an instruction error.
Find the program address where the error occurred (A298/A299) and correct the indirect addressing or change to binary mode.
561
Error Processing
Section 11-2
Error
Program error
(contd.)
Cycle
Time
Overrun error
System
FALS error
Programming
Console display
PRO-
GRAM
ERR
Error code (in
A400)
80F0
CYCLE
TIME ERR
SYS FAIL
FALS
809F
C101 to
C2FF
Flag and word data
Probable cause Possible remedy
A40109:
Program
Error Flag
A294 to
A299: Program error information
A40108:
Cycle Time
Too Long
Flag
A40515:
Peripheral
Servicing
Cycle Time
Too Long
(Not supported by
CS1 @-
CPU @@
(-V1) Units)
A40106:
FALS Error
Flag
A29508: Instruction error
An instruction processing error has occurred and the
PLC Setup has been set to stop operation for an instruction error.
A29513: Differentiation overflow error
Too many differentiated instructions have been inserted or deleted during online editing.
A29514: Illegal instruction error
The program contains an instruction that cannot be executed.
A29515: UM overflow error
The last address in UM (user program memory) has been exceeded.
The cycle time has exceeded the maximum cycle time (watch cycle time) set in the PLC Setup.
Find the program address where the error occurred (A298/A299) and correct the instruction.
Alternatively, set the PLC Setup to continue operation for an instruction error.
After writing any changes to the program, switch to PROGRAM mode and then return to MONITOR mode to continue editing the program.
Retransfer the program to the CPU Unit.
Use a Programming Device to transfer the program again.
Change the program to reduce the cycle time or change the maximum cycle time setting.
Check the Maximum Interrupt Task
Processing Time in A440 and see if the
Cycle Time Watch Time can be changed.
The cycle time can be reduced by dividing unused parts of the program into tasks, jumping unused instructions in tasks, and disabling cyclic refreshing of
Special I/O Units that don’t require frequent refreshing.
Turns ON when the peripheral servicing time in a Parallel Processing Mode exceeds 2 s.
Change the CPU Processing Mode in the PLC Setup to Normal Mode or
Peripheral Servicing Priority Mode, or review the system to reduce the event load.
Parallel processing may not be possible if the program execution time (given in
A66) is too short (e.g., less than 0.2 ms).
FALS(007) has been executed in the program.
The error code in A400 will indicate the FAL number.
The leftmost digit of the code will be C and the rightmost 3 digits of the code will be from
100 to 2FF hex and will correspond to FAL numbers
001 to 511.
Correct according to cause indicated by the FAL number (set by user).
562
Error Processing
Section 11-2
Non-fatal Errors
A non-fatal error has occurred if the indicators have the following conditions in
RUN or MONITOR mode.
CPU Unit Indicators Power Supply
Unit Indicator
POWER
ON
RUN
ON
ERR/ALM
Flashing
INH
---
PRPHL
---
COMM
---
Connect the CX-Programmer or a Programming Console to display the error message (in the PLC Error Window on the CX-Programmer). The cause of the error can be determined from the error message and related Auxiliary
Area flags and words.
Errors are listed in order of importance. When two or more errors occur at the same time, the more serious error’s error code will be recorded in A400.
Error
System FAL error
Programming
Console display
SYS FAIL
FAL
Error code (in
A400)
4101 to
42FF
Interrupt
Task error
Basic I/O error
INTRPT
ERR
DENSITY
I/O ERR
008B
009A
Flag and word data
Probable cause Possible remedy
A40215:
FAL Error
Flag
A360 to
A391: Executed FAL
Number
Flags
A40213:
Interrupt
Task Error
Flag
A426: Interrupt Task
Error, Task
Number
FAL(006) has been executed in program.
Executed FAL Number
Flags A36001 to A39115 correspond to FAL numbers
001 to 511.
The error code in A400 will indicate the FAL number.
The leftmost digit of the code will be 4 and the rightmost 3 digits of the code will be from 100 to 2FF hex and will correspond to FAL numbers 001 to 511.
PLC Setup Set to Detect
Interrupt Task Errors:
An interrupt task was executed for more than 10 ms during I/O refreshing of a
C200H Special I/O Unit or a
SYSMAC BUS Remote I/O
Unit.
A40212:
Basic I/O
Unit Error
Flag
A408: Basic
I/O Unit
Error, Slot
Number
PLC Setup Set to Detect
Interrupt Task Errors:
Attempted to refresh a Special I/O Unit’s I/O from an interrupt task with
IORF(097) while the Unit’s
I/O was being refreshed by cyclic I/O refreshing (duplicate refreshing).
An error has occurred in a
Basic I/O Unit (including
C200H High-density I/O
Units and C200H Interrupt
Input Units).
A408 contains the errant rack/slot number.
Correct according to cause indicated by
FAL number (set by user).
Check the program. Either disable detection of interrupt task errors in the
PLC Setup (address 128, bit 14) or correct the problem in the program.
Check the errant Unit for blown fuse, etc.
563
Error Processing
Section 11-2
Error
PLC Setup error
I/O Table
Verification error
Non-fatal
Inner Board error
CS-series
CPU Bus
Unit error
Special I/O
Unit error
SYSMAC
BUS error
Battery error
Programming
Console display
Error code (in
A400)
PLC Setup
ERR
009B
I/O VRFY
ERR
NO-FTL
INNER
ERR
CPU BU
ERR
00E7
02F0
0200 to
020F
SIOU ERR 0300 to
SYSBUS
ERR
BATT
LOW
035F, or
03FF
00A0 or
00A1
00F7
Flag and word data
Probable cause Possible remedy
A40208:
Inner Board
Error Flag
A424: Inner
Board Error
Information
A40207:
CS-series
CPU Bus
Unit Error
Flag
A417: CSseries CPU
Bus Unit
Error, Unit
Number
Flags
A40206:
Special I/O
Unit Error
Flag
A418 to
A423: Special I/O Unit
Error, Unit
Number
Flags
A40205:
SYSMAC
BUS Error
Flag
A405: SYS-
MAC BUS
Master
Error Flags
A40210:
PLC Setup
Error Flag
A406: PLC
Setup Error
Location
A40209: I/O
Verification
Error Flag
There is a setting error in the PLC Setup. The location
(binary offset) of the error is written to A406.
Change the indicated setting to a valid setting.
A Unit has been added or removed, so the registered
I/O tables don’t agree with the actual Units in the PLC.
The I/O Verification Error
Flag goes OFF when the situation is corrected.
An error occurred in the
Inner Board
Execute the I/O Table Verify operation to find the problem location. Create new
I/O tables or replace the Unit to match the registered I/O tables.
Check the Inner Board indicators. Refer to the Inner Board’s operation manual for details.
An error occurred in a data exchange between the CPU
Unit and a CS-series CPU
Bus Unit.
The corresponding flag in
A417 is turned ON to indicate the problem Unit. Bits
A41700 to A41715 correspond to unit numbers 0 to
F.
An error occurred in a data exchange between the CPU
Unit and a Special I/O Unit.
The corresponding flag in
A418 to A423 is turned ON to indicate the problem Unit.
Bits A41800 to A42315 correspond to unit numbers 0 to 95.
An error has occurred between a Master and Slave
Rack.
A Unit has been removed from or added to a Slave
Rack.
The flag for the affected
Master Unit will be turned
ON.
A40500: Flag for Master
Unit #0
A40501: Flag for Master
Unit #1
Check the Unit indicated in A417. Refer to the Unit’s operation manual to find and correct the cause of the error.
Restart the Unit by toggling its Restart
Bit or turn the power OFF and ON again.
Replace the Unit if it won’t restart.
Check the Unit indicated in A418 to
A423. Refer to the Unit’s operation manual to find and correct the cause of the error. Restart the Unit by toggling its
Restart Bit or turn the power OFF and
ON again.
Replace the Unit if it won’t restart.
Check the condition of the Slave Unit and the transmission line between the
Master Unit and Slave Unit.
A40204:
Battery
Error Flag
This error occurs when the
PLC Setup has been set to detect battery errors and the
CPU Unit’s backup battery is missing or its voltage has dropped.
Check battery and replace if necessary.
Change the PLC Setup setting if batteryfree operation is being used.
564
Error Processing
Section 11-2
Error
CS-series
CPU Bus
Unit Setup error
Special I/O
Unit Setup error
Programming
Console display
CPU BU
ST ERR
Error code (in
A400)
0400 to
040F
SIOU
SETUP
ERR
0500 to
055F
Flag and word data
Probable cause Possible remedy
A40203:
CS-series
CPU Bus
Unit Setting Error
Flag
A427: CSseries CPU
Bus Unit
Setting
Error, Unit
Number
Flags
A40202:
Special I/O
Unit Setting Error
Flag
A428 to
A433: Special I/O Unit
Setting
Error, Unit
Number
Flags
An installed CS-series CPU
Bus Unit does not match the
CS-series CPU Bus Unit registered in the I/O table.
The corresponding flag in
A427 will be ON. Bits 00 to
15 correspond to unit numbers 0 to F.
An installed Special I/O Unit does not match the Special
I/O Unit registered in the I/O table.
The corresponding flag in
A428 to A433 will be ON.
Bits A42800 to A43315 correspond to unit numbers 0 to 95.
Change the registered I/O tables.
Other Errors
Peripheral Port Communications Error
A communications error has occurred in communications with the device connected to the peripheral port if the indicators have the following conditions.
Power Supply
Unit Indicator
POWER
ON
RUN
ON
CPU Unit Indicators
ERR/ALM
---
INH
---
PRPHL
OFF
COMM
---
Check the setting of pin 4 on the DIP switch and the peripheral port settings in the PLC Setup. Also check the cable connections.
RS-232C Port Communications Error
A communications error has occurred in communications with the device connected to the RS-232C port if the indicators have the following conditions.
Power Supply
Unit Indicator
POWER
ON
RUN
ON
CPU Unit Indicators
ERR/ALM
---
INH
---
PRPHL
---
COMM
OFF
Check the setting of pin 5 on the DIP switch and the RS-232C port settings in the PLC Setup. Also check the cable connections. If a host computer is connected, check the communications settings of the serial port on the host computer and the communications program in the host computer.
565
Error Processing
Section 11-2
11-2-6 Power Supply Check
The allowable voltage ranges are shown in the following table.
Power Supply Unit
C200HW-PA204S or C200HW-P209R
Power supply voltage
100 to 120 V AC
200 to 240 V AC
100 to 240 V AC C200HW-PA204, C200HW-PA204R, or
C200HW-PA204C
C200HW-PD024
C200HW-PD025
24 V DC
24 V DC
Allowable voltage range
85 to 132 V AC
170 to 264 V AC
85 to 264 V AC
20.4 to 28.8 V DC
19.2 to 28.8 V DC
566
Error Processing
Power indicator not lit.
Is power being supplied?
Yes
No Connect power supply.
Not lit
Is Power indicator lit?
Lit
Is voltage selector set correctly?
No 100 to 120 V AC: Shorted
200 to 240 V AC: Open
Yes
C200HW-PA204S,
C200HW-PA209R only.
No
Is Power indicator lit?
Yes
Power supply voltage in acceptable range?
No
Yes Set supply voltage with in acceptable limits.
Not lit
Is Power indicator lit?
Lit
Are there any loose terminal screws or broken wires?
No
Yes
Tighten screws or replace wires.
Not lit
Is Power indicator lit?
Lit
Are the 24-V DC terminals shorted externally?
Yes
No
C200H-PA204S only.
Wire the 24-V DC terminals correctly.
Not lit
Is Power indicator lit?
Lit
Replace the Power
Supply Unit.
End
Section 11-2
Note Always remove the short jumper before supplying 200 to 240 V AC. The Power Supply Unit will be destroyed if
200 to 240 V AC is supply with the jumper connected.
567
Error Processing
11-2-7 Memory Error Check
Memory error occurred.
A40309
(autotransfer at startup error)
ON?
OFF
A40310 (flash memory error)
ON?
OFF
ON
ON
Battery connected?
Battery-free operation necessary?
Power turned OFF during backup (with BKUP lit)?
Conditions have not been met for automatic transfer at startup. Confirm that the required files are on the
Memory Card and the pin 2 on the DIP switch is OFF.
The write life of the flash memory has been exceeded. Replace the CPU Unit.
Check to see if battery-free operation has been set correctly. Retransfer the user program and parameters and set the PLC
Setup so that battery errors are not detected.
Mount a Battery.
If power was turned OFF during the backup operation, retransfer the user program and parameters.
A hardware fault has occurred in internal memory. Replace the CPU
Unit.
Section 11-2
568
Error Processing
11-2-8 Program Error Check
Program error occurred.
Section 11-2
A29512 (Task
Error Flag) ON?
OFF
ON
Task that stopped program
(A294)?
#FFFF An active task does not exist. Check the usage of TKON(820) and
TKOF(821).
#8002, #8003,
#8064 to #8083 An attempt was made to start a task that doesn’t exist. Check the MSKS(690) instruction used to enable the interrupt task of the specified number.
An attempt was made to start the task of the specified number with an interrupt. Check the Inner Board or CPU Bus Unit.
Not related to problem.
There is no END(001) in the task that stopped the program (A294).
Add END(001).
A29511 (No END
Flag) ON?
OFF
ON
A29508 to A29510
(instruction error flags) ON?
OFF
ON
The program was stopped for the PLC
Setup setting to stop the program for instruction errors. Check the program based on the task (A294) and address
(A298 and A299) that stopped the program.
Turn the power supply OFF and then back
ON again.
569
Error Processing
11-2-9 Cycle Time Too Long Error Check
The cycle time was too long.
A40515 (Peripheral
Servicing Cycle Too
Long) ON?
OFF
ON
The peripheral servicing cycle time exceeded 2 s. Reduce the event load or set the CPU processing mode in the PLC Setup to Normal Mode or
Peripheral Servicing Priority Mode.
The Parallel Processing Modes may not function properly if the program execution cycle time (A266) is too short (less than 2 ms.)
Section 11-2
Anticipated cycle time less than PLC Setup monitor setting?
ON
Yes
Interrupts being used?
OFF
Yes
No
The monitoring time was execution time was exceed for program execution. Increase the monitoring time set in the PLC Setup.
A440
(Maximum Interrupt
Processing Time) value acceptable?
No
The problem may be caused by long processing times for interrupt tasks. Check the contents of the task specified in A441
(Task with Highest Processing Time).
Yes
There may be more than one interrupt task occurring, causing the cycle time to be increased. Reduce the frequency of interrupts.
No
There may be a bug in the program. Check all tasks for the following instructions.
FOR and LOOP
JMP, CJP, and CPN
11-2-10 PLC Setup Setting Error Check
PLC Setup setting error occurred.
Not related to problem.
Value of A406
(location of setting error)?
Other
#00DC(220)
PLC Setup written from Programming
Console?
Yes
No
The CPU processing mode is set to
Peripheral Servicing Priority Mode, but the priorities have not been set correctly.
The setting indicated by the contents of A406 is illegal. Check the setting from a Programming Console.
A communications error may have occurred during data transfer from the CX-
Programmer. Retransfer the PLC Setup.
570
Error Processing
11-2-11 Battery Error Check
Battery error occurred.
Section 11-2
Battery-free operation required?
Yes
Set the PLC Setup so that battery errors are not detected. (DM Area contents may be unstable when this setting is used.)
Refer to the CS/CJ Programming
Manual for details.
No
The Battery is missing or the voltage has dropped. Replace the Battery.
11-2-12 Environmental Conditions Check
Environmental conditions check
Is the ambient temperature below 55
°C?
Yes
No
Is the ambient temperature above
0
°C?
Yes
No
Consider using a fan or cooler.
Consider using a heater.
Is the ambient humidity between 10% and
90%?
Yes
No
Consider using an an air conditioner.
Is noise being controlled?
Yes
No
Install surge protectors or other noise-reducing equipment at noise sources.
Is the installation environment okay?
No
(See note.)
Yes
End.
Check the structure of the panel and the installation site.
Note Check for corrosive gases, flammable gases, dust, dirt, salts, metal dust, direct light, water, oils, and chemicals.
571
Error Processing
11-2-13 I/O Check
Section 11-2
The I/O check flowchart is based on the following ladder diagram section assuming that SOL1 does not turn ON.
(LS1)
000002
(LS2)
000003
000500 SOL1
000500 START
Indicator of
000500 normal?
NO
YES
Check terminal voltage of 000500 with tester
Correct wiring
NO
Replace terminal block connector
YES
Replace fuse
YES
Voltage normal?
ABNORMAL Output
wiring correct?
NORMAL YES
Disconnect external wiring and check terminal voltage of
000500 with tester
(Units with internal fuse)
Check output device SOL1
NORMAL
Voltage normal?
ABNORMAL
(Unit without fuse)
Replace Output
Unit
Monitor ON/OFF status of 000500 with Programming
Device
Faulty terminal block connector contact?
NO
Is the
blown fuse indicator lit?
NO
Operation OK?
ABNORMAL
NORMAL
Indicators of inputs (000002,
000003) normal?
NO
YES
Check terminal voltages of 000002 and 000003 with tester
Check terminal voltages of 000002 and 000003 with tester
Voltage normal?
ABNORMAL
Voltage normal?
ABNORMAL
NORMAL
Remove external wiring and mount
Dummy Input Unit to check
YES
Input
wiring correct?
NO
Correctly wire
ABNORMAL
Operation OK?
NORMAL
Tighten
Replace Input Unit
NORMAL
Check LS1 and LS2 Return to START
572
YES Terminal
screws loose?
NO
Faulty terminal block connector contact?
YES
Replace terminal block connector
NO
Replace Input Unit
Troubleshooting Racks and Units
Section 11-3
11-3 Troubleshooting Racks and Units
CPU Racks and Standard Expansion Racks
Symptom
POWER indicator is not lit.
Cause
PCB short-circuited or damaged.
RUN output* does not turn ON.
RUN indicator lit.
(*C200HW-PS204R/209R)
Serial Communications Unit or CSseries CPU Bus Unit does not operate or malfunctions.
Bits do not operate past a certain point.
Error occurs in units of 8 points.
I/O bit turns ON.
All bits in one Unit do not turn ON.
(1) Error in program.
(2) Power line is faulty.
Internal circuitry of Power Supply Unit is faulty.
(1) The I/O Connecting Cable is faulty.
(2) The I/O bus is faulty.
Remedy
Replace Power Supply Unit or Backplane.
Correct program.
Replace Power Supply Unit.
Replace Power Supply Unit.
Replace the I/O Connecting Cable
Replace the Backplane.
Special I/O Units
Refer to the Operation Manual for the Special I/O Unit to troubleshoot any other errors.
Symptom
The ERH and RUN indicators on the Special I/O Unit are lit.
Cause
I/O refreshing is not being performed for the
Unit from the CPU Unit (CPU Unit monitoring error).
It’s possible that cyclic refreshing has been disabled for the Special I/O Unit in the Cyclic
Refresh Disable Setting in the PLC Setup (i.e., the bit corresponding to the unit number has been set to 1).
Remedy
Change the bit corresponding to the unit number to 0 to enable cyclic refreshing, or make sure that the Unit is refreshed from the program using IORF at least once every 11 s.
CS-series Long-distance Expansion Racks
Symptom
CPU Unit won’t operate. (No response to Programming
Devices and no CPU Unit indicators are lit.)
Cause
(1) Power is not turned ON to an Expansion
Rack.
(2) An Expansion Rack is not connected correctly.
(3) An I/O Connecting Cable is not wired correctly.
(4) A Unit is faulty.
Remedy
Turn ON power to all Expansion Racks.
Recheck the connections and configuration
using information in 2-3-3 Expansion Racks,
3-5-4 I/O Control Units, I/O Interface Units,
and Terminators, and 5-2-7 I/O Connecting
Reconnect the I/O Connecting Cables in the correct order for output and input connectors.
Gradually remove/replace Units to determine the Unit that is faulty, including the
Backplane, Power Supply Unit, I/O Units,
I/O Control/Interface Unit, and I/O Connecting Cable.
573
Troubleshooting Racks and Units
Section 11-3
Expansion Rack not detected.
Symptom
I/O bus error or I/O verification error occurs.
Cycle time is too long.
I/O Control Unit and I/O Interface Units do not appear on
CX-Programmer I/O table.
Cause
(1) A Terminator is not connected.
(2) An Expansion Rack is not connected correctly.
(3) A Unit is faulty.
Remedy
If the TERM indicator is lit, connect a Terminator.
Recheck the connections and configuration
using information in 2-3-3 Expansion Racks,
3-5-4 I/O Control Units, I/O Interface Units,
and Terminators, and 5-2-7 I/O Connecting
Gradually remove/replace Units to determine the Unit that is faulty, including the
Backplane, Power Supply Unit, I/O Units,
I/O Control/Interface Unit, and I/O Connecting Cable.
(1) An I/O Connecting Cable or Terminator connection is faulty.
Check that I/O Connecting Cables and Terminators are connected correctly.
(2) Expansion cable is not wired correctly Rewire the terminals using the correct OUT-
IN sequence.
(3) Noise or other external factor.
Separate all cables from possible sources of noise or place them in metal ducts.
(4) A Unit is faulty.
Gradually remove/replace Units to determine the Unit that is faulty, including the
Backplane, Power Supply Unit, I/O Units,
I/O Control/Interface Unit, and I/O Connecting Cable.
Move the CPU Bus Unit to the CPU Rack.
(1) A CPU Bus Unit that is allocated many words (e.g., Controller Link Unit) is mounted to a CS-series Long-distance
Expansion Rack.
(2) A Unit is faulty.
This is not an error. These Units are not allocated I/O words and thus are not registered in the I/O tables.
Gradually remove/replace Units to determine the Unit that is faulty, including the
Backplane, Power Supply Unit, I/O Units,
I/O Control/Interface Unit, and I/O Connecting Cable.
---
Input Units
Symptom
Not all inputs turn ON or indicators are not lit.
Cause
(1) Power is not supplied to Input Unit.
(2) Supply voltage is low.
(3) Terminal block mounting screws are loose.
Supply power
Adjust supply voltage to within rated range.
Tighten screws.
Remedy
Not all inputs turn ON (indicator lit).
(4) Faulty contact of terminal block connector.
Input circuit is faulty. (There is a short at the load or something else that caused an overcurrent to flow.)
Replace terminal block connector.
Replace Unit.
Not all inputs turn OFF.
Input circuit is faulty.
Specific bit does not turn ON. (1) Input device is faulty.
Replace Unit.
Replace input devices.
(2) Input wiring disconnected.
(3) Terminal block screws are loose.
Check input wiring.
Tighten screws.
(4) Faulty terminal block connector contact.
Replace terminal block connector.
(5) Too short ON time of external input.
Adjust input device.
(6) Faulty input circuit
(7) Input bit number is used for output instruction.
Replace Unit.
Correct program.
574
Troubleshooting Racks and Units
Section 11-3
Specific bit does not turn
OFF.
Symptom
Input irregularly turns
ON/OFF.
Error occurs in units of
8 points or 16 points, i.e., for the same common.
Input indicator is not lit in normal operation.
Cause
(1) Input circuit is faulty.
(2) Input bit number is used for output instruction.
Replace Unit.
Correct program.
Remedy
(1) External input voltage is low or unstable. Adjust external input voltage to within rated range.
(2) Malfunction due to noise.
Take protective measures against noise, such as:
(1) Increase input response time (PLC
Setup)
(2) Install surge suppressor.
(3) Install insulation transformer.
(4) Install shielded cables between the Input
Unit and the loads.
(3) Terminal block screws are loose.
Tighten screws.
(4) Faulty terminal block connector contact.
Replace terminal block connector.
(1) Common terminal screws are loose.
Tighten screws.
(2) Faulty terminal block connector contact.
Replace terminal block connector.
(3) Faulty data bus Replace Unit.
(4) Faulty CPU
Faulty indicator or indicator circuit.
Replace CPU.
Replace Unit.
Output Units
Symptom
Not all outputs turn ON
Not all outputs turn OFF
Output of a specific bit number does not turn ON or indicator is not lit.
Output of a specific bit number does not turn ON (indicator lit).
Output of a specific bit number does not turn OFF (indicator is not lit).
Cause
(1) Load is not supplied with power.
Supply power
Remedy
(2) Load voltage is low.
(3) Terminal block screws are loose.
Adjust voltage to within rated range.
Tighten screws.
(4) Faulty terminal block connector contact.
Replace terminal block connector.
(5) An overcurrent (possibly caused by a short at the load) resulted in a blown fuse in the Output Unit. (Some Output
Units provide an indicator for blown fuses.)
Replace fuse or Unit.
(6) Faulty I/O bus connector contact.
(7) Output circuit is faulty.
(8) If the INH indicator is lit, the Output OFF
Bit (A50015) is ON.
Output circuit is faulty.
Replace Unit.
Replace Unit.
Turn A50015 OFF.
Replace Unit.
(1) Output ON time too short because of a mistake in programming.
(2) Bit status controlled by multiple instructions.
(3) Faulty output circuit.
(1) Faulty output device.
(2) Break in output wiring.
(3) Loose terminal block screws.
(4) Faulty terminal block connector faulty.
(5) Faulty output bit.
(6) Faulty output circuit.
(1) Faulty output bit.
(2) Bit does not turn OFF due to leakage current or residual voltage.
Correct program to increase the time that the output is ON.
Correct program so that each output bit is controlled by only one instruction.
Replace Unit.
Replace output device.
Check output wiring.
Tighten screws.
Replace terminal block connector.
Replace relay or Unit.
Replace Unit.
Replace relay or Unit.
Replace external load or add dummy resistor.
575
Troubleshooting Racks and Units
Section 11-3
Output of a specific bit number does not turn OFF (indicator lit).
Output irregularly turns
ON/OFF.
Symptom
Error occurs in units of
8 points or 16 points, i.e., for the same common.
Output indicator is not lit
(operation is normal).
Cause
(1) Bit status controlled by multiple instructions.
(2) Faulty output circuit.
(1) Low or unstable load voltage.
Correct program.
Remedy
Replace Unit.
Adjust load voltage to within rated range
(2) Bit status controlled by multiple instructions.
(3) Malfunction due to noise.
Correct program so that each output bit is controlled by only one instruction.
Protective measures against noise:
(1) Install surge suppressor.
(2) Install insulation transformer.
(3) Use shielded cables between the Output
Unit and the loads.
(4) Terminal block screws are loose.
Tighten screws.
(5) Faulty terminal block connector contact.
Replace terminal block connector.
(1) Loose common terminal screw.
Tighten screws.
(2) Faulty terminal block connector contact.
Replace terminal block connector.
Replace fuse or Unit.
(3) An overcurrent (possibly caused by a short at the load) resulted in a blown fuse in the Output Unit.
(4) Faulty data bus.
Replace Unit.
(5) Faulty CPU.
Faulty indicator.
Replace CPU.
Replace Unit.
576
SECTION 12
Inspection and Maintenance
This section provides inspection and maintenance information.
12-1-2 Unit Replacement Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12-2-1 Battery Replacement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12-2-2 Output Unit Fuse Replacement. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12-2-3 Relay Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
577
Inspections
Section 12-1
12-1 Inspections
Daily or periodic inspections are required in order to maintain the PLC’s functions in peak operating condition.
12-1-1 Inspection Points
Although the major electronic components in CS-series PLCs have an extremely long life time, they can deteriorate under improper environmental conditions. Periodic inspections are thus required to ensure that the required conditions are being kept.
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 following table are not met.
Inspection Points
No.
1
2
3
4 ply
Item
Source Power
Supply
I/O Power Sup-
Ambient environment
Inspection
Check for voltage fluctuations at the power supply terminals.
Check for voltage fluctuations at the I/O terminals.
Criteria
The voltage must be within the allowable voltage fluctuation range.
(See note.)
Voltages must be within specifications for each Unit.
Check the ambient temperature. (Inside the control panel if the PLC is in a control panel.)
Check the ambient humidity.
(Inside the control panel if the
PLC is in a control panel.)
0 to 55 °C
Relative humidity must be
10% to 90% with no condensation.
Action
Use a voltage tester to check the power supply at the terminals. Take necessary steps to bring voltage fluctuations within limits.
Use a voltage tester to check the power supply at the terminals. Take necessary steps to bring voltage fluctuations within limits.
Use a thermometer to check the temperature and ensure that the ambient temperature remains within the allowed range of 0 to
55 °C.
Use a hygrometer to check the humidity and ensure that the ambient humidity remains within the allowed range.
Protect the PLC if necessary.
Installation and wiring
Check that the PLC is not in direct sunlight.
Check for accumulation of dirt, dust, salt, metal filings, etc.
Check for water, oil, or chemical sprays hitting the PLC.
Check for corrosive or flammable gases in the area of the
PLC.
Check the level of vibration or shock.
Check for noise sources near the PLC.
Check that each Unit is installed securely.
Not in direct sunlight
No accumulation
No spray on the PLC
No corrosive or flammable gases
Vibration and shock must be within specifications.
No significant noise sources
No looseness
Check that cable connectors are fully inserted and locked.
Check for loose screws in external wiring.
Check crimp connectors in external wiring.
Check for damaged external wiring cables.
No looseness
No looseness
Adequate spacing between connectors
No damage
Clean and protect the PLC if necessary.
Clean and protect the PLC if necessary.
Check by smell or use a sensor.
Install cushioning or shock absorbing equipment if necessary.
Either separate the PLC and noise source or protect the PLC.
Tighten loose screws with a Phillips-head screwdriver.
Correct any improperly installed connectors.
Tighten loose screws with a Phillips-head screwdriver.
Check visually and adjust if necessary.
Check visually and replace cables if necessary.
578
Inspections
Section 12-1
No.
5
Item
User-serviceable parts
Inspection
Check whether internal relays in Relay Output Units have reached their service life.
Check whether the CS1W-
BAT01 Battery has reached its service life.
Check for blown fuses.
Criteria
No open relay contacts, improper operation, or faulty contacts
Refer to Appendix A Speci- fications of Basic I/O Units
and High-density I/O Units for information on relay service life.
Life expectancy is 5 years at 25 °C, less at higher temperatures.
(From 0.4 to 5 years depending on model, power supply rate, and ambient temperature.)
Action
Replace the relay or Unit.
Replace the battery when its service life has passed even if a battery error has not occurred.
(Battery life depends upon the model, the percentage of time in service, and ambient conditions.)
Preventative maintenance Even if the fuses are not blown, they should be replace periodically because they are weakened by inrush currents.
Note The following table shows the allowable voltage fluctuation ranges for source power supplies.
Supply voltage
100 to 120 V AC
200 to 240 V AC
24 V DC
Allowable voltage range
85 to 132 V AC
170 to 264 V AC
19.2 to 28.8 V DC
Tools Required for Inspections
Required Tools
• Slotted and Phillips-head screwdrivers
• Voltage tester or digital voltmeter
• Industrial alcohol and clean cotton cloth
Tools Required Occasionally
• Synchroscope
• Oscilloscope with pen plotter
• Thermometer and hygrometer (humidity meter)
12-1-2 Unit Replacement Precautions
Check the following after replacing any faulty Unit.
• Do not replace a Unit until the power is turned OFF.
• Check the new Unit to make sure that there are no errors.
• If a faulty Unit is being returned for repair, describe the problem in as much detail as possible, enclose this description with the Unit, and return the Unit to your OMRON representative.
• For poor contact, take a clean cotton cloth, soak the cloth in industrial alcohol, and carefully wipe the contacts clean. Be sure to remove any lint prior to remounting the Unit.
Note 1.
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 Unit before starting operation, including DM Area and HR Area settings. If data area and other data are not correct for the user program, un-
579
Replacing User-serviceable Parts
Section 12-2
expected accidents may occur. Be sure to include the routing tables,
Controller Link Unit data link tables, network parameters, and other CPU
Bus Unit data, which are stored as parameters in the CPU Unit. Refer to the CPU Bus Unit and Special I/O Unit operation manuals for details on the data required by each Unit.
2.
The simple backup operation can be used to store the user program and all parameters for the CS1-H CPU Unit, DeviceNet Units, Serial Communications Units, and other specific Units in a Memory Card as backup files.
A Memory Card and the simple backup operation can be used to easily restore data after replacing any of these Units. Refer to the CS/CJ Series
Programming Manual (W394) for details.
12-2 Replacing User-serviceable Parts
The following parts should be replaced periodically as preventative maintenance. The procedures for replacing these parts are described later in this section.
• Battery (the CPU Unit’s RAM-backup battery)
• Output Unit fuses (in Transistor Output and Triac Output Units)
• Output Unit relays (in Relay Output Units)
12-2-1 Battery Replacement
Battery Functions
The battery retains the following data of the CPU Unit’s RAM when the main power supply is OFF.
• 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 clock will stop and the data in RAM will not be stable when the main power supply turns
OFF.
The battery is not installed in a CS1 CPU Unit when it is shipped. Be sure to install the provided battery in the CS1 CPU Unit’s battery compartment before using the PLC.
Battery Service Life and Replacement Period
At 25 °C, the maximum service life for batteries is 5 years whether or not power is supplied to the CPU Unit while the battery is installed. The battery’s lifetime will be shorter when it is used at higher temperatures and when power is not supplied to the CPU Unit for long periods. In the worst case conditions, the battery will last for only 0.4 years.
The “time that CPU power is ON” in the following table (power supply rate) is calculated as follows:
Power supply rate =
Total time power is ON/(total time power is ON + total time power is OFF)
The following table shows minimum lifetimes and typical lifetimes for the backup battery for CS1 CPU Units.
580
Replacing User-serviceable Parts
Section 12-2
CS1 CPU Units
Model Time that CPU
Unit power is ON
Minimum lifetime Typical lifetime
CS1H-CPU @@ 0%
30%
50%
70%
100%
CS1G-CPU @@ 0%
30%
50%
70%
100%
Note
138 days
191 days
257 days
392 days
1,855 days
304 days
406 days
522 days
733 days
1,855 days
205 days
279 days
369 days
543 days
1,855 days
1,109 days
1,261 days
1,388 days
1,543 days
1,855 days
Min. time for battery error detection
138 days
191 days
257 days
265 days
844 days
304 days
406 days
522 days
733 days
844 days
Time from battery error detection to complete discharge
5 days
5 days
5 days
133 days
1,016 days
5 days
5 days
5 days
5 days
1,016 days
1.
The minimum lifetime is the memory backup time at an ambient temperature of 55 °C. The typical lifetime is the memory backup time at an ambient temperature of 25 °C.
2.
For CS1 CPU Units, actual battery lifetimes are given for the minimum and typical lifetimes. There may be some deviation between these times and the minimum times to battery error detection.
3.
The battery lifetime and low battery voltage detection will vary under application at high power-supply rates.
Memory Backup Time
(Hours)
2000
1800
1600
1400
1200
1000
800
600
400
200
0
0 20 40 60
Power supply rate (%)
80 100
CS1G typical value
CS1G guaranteed value
CS1H typical value
CS1H guaranteed value
581
Replacing User-serviceable Parts
Section 12-2
CS1-H CPU Units
Model Time that
CPU Unit power is ON
CS1H-CPU @@H 0%
30%
50%
70%
100%
CS1G-CPU @@H 0%
30%
50%
70%
100%
Note
Minimum lifetime Typical lifetime
626 days (1 yr, 8 mo) 1,855 days (5 yr)
886 days (2 yr, 5 mo) 1,855 days (5 yr)
1,225 days (3 yr, 4 mo) 1,855 days (5 yr)
1,855 days (5 yr) 1,855 days (5 yr)
1,855 days (5 yr) 1,855 days (5 yr)
780 days (2 yr, 1 mo) 1,855 days (5 yr)
1,101 days (3 yr) 1,855 days (5 yr)
1,519 days (4 yr, 1 mo) 1,855 days (5 yr)
1,855 days (5 yr)
1,855 days (5 yr)
1,855 days (5 yr)
1,855 days (5 yr)
Min. time for battery error detection
626 days
886 days
1,245 days
1,855 days
Time from battery error detection to complete discharge
5 days
5 days
5 days
5 days
1,855 days
780 days
1,101 days
1,519 days
1,855 days
1,855 days
5 days
5 days
5 days
5 days
5 days
5 days
1600
1400
1200
1000
800
600
400
200
1.
The minimum lifetime is the memory backup time at an ambient temperature of 55 °C. The typical lifetime is the memory backup time at an ambient temperature of 25 °C.
2.
For CS1-H CPU Units, there is no difference between the minimum lifetimes and the minimum times to battery error detection.
3.
The battery lifetime and low battery voltage detection will vary under application at high power-supply rates.
Memory Backup
Time (Days)
2000
1800
CS1H-CPU@@H (Minimum lifetime)
CS1H-CPU@@H (Typical lifetime)
CS1G-CPU@@H (Minimum lifetime)
CS1G-CPU@@H (Typical lifetime)
0
0 20 40 60
Power-supply rate (%)
80 100
Low Battery Indicators
If the PLC Setup has been set to detect a low-battery error, the ERR/ALM indicator on the front of the CPU Unit will flash when the CPU Unit detects that the battery is nearly discharged.
(CS1 CPU Unit indicators shown above.)
582
Replacing User-serviceable Parts
Section 12-2
When the ERR/ALM indicator flashes, connect the CX-Programmer to the peripheral port and read the error message. If the message “BATT LOW” appears on the Programming Console* and the Battery Error Flag (A40204) is
ON*, first check whether the battery is properly connected to the CPU Unit. If the battery is properly connected, replace the battery as soon as possible.
BATT LOW
Replacement Battery
Once a low-battery error has been detected, it will take 5 days before the battery fails for the CS1-H CPU Units and it will take the time indicated in the previous table for the CS1 CPU Units before the battery fails. Battery failure can be delayed by ensuring that the CPU Unit power is not turned OFF until the battery has been replaced.
Note *The PLC Setup must be set to detect a low-battery error (Detect Low Battery). If this setting has not been made, the BATT LOW error message will not appear on the Programming Console and the Battery Error Flag (A40204) will not go ON when the battery fails.
The battery replacement method depends on whether a CS1-H or CS1 CPU
Unit is used, and on the CPU Unit’s unit version.
!Caution We recommend replacing the battery with the power OFF to prevent the CPU
Unit’s sensitive internal components from being damaged by static electricity.
The battery can be replaced with the power ON, but be sure to touch a grounded metal object to discharge any static electricity before replacing the battery. After replacing the battery, connect a Programming Device and clear the battery error.
Unit Versions and Corresponding Battery Replacement Methods
Type Unit version Number of battery connectors
Replacement time (see note)
CS1 CPU Unit
CS1-V1 CPU Unit
No unit version 2 30 s
CS1-H CPU Units Pre-Ver. 2.0
Unit Ver. 2.0
Unit Ver. 3.0
1
2
3 min.
3 min.
Replacement method
Refer to Replacement Procedure for CS1, CS1-V1, and CS1-H (Ver.
3.0) CPU Units with Two Battery
Replacement Procedure for CS1-H CPU Units (Pre-Ver. 2.0 and Ver. 2.0) with One Battery
Replacement Procedure for CS1, CS1-V1, and CS1-H (Ver.
3.0) CPU Units with Two Battery
Note The replacement time indicates the time required to install a new battery after turning OFF the power (25 °C). If the CPU Unit is without a battery for a longer period of time, data will not be stable.
Replacement Procedure for CS1-H CPU Units (Pre-Ver. 2.0 and Ver. 2.0) with One Battery Connector
Use the following procedure to replace a battery that has been completely discharged.
1,2,3...
1.
Turn OFF the power to the CPU Unit. (If the power was already OFF, turn the power ON for at least one minute before turning the power OFF again.)
583
Replacing User-serviceable Parts
Section 12-2
Note There is a capacitor in the CPU Unit that will back up memory while the battery is being replaced. If this capacitor is not completely charged by turning
ON the power supply for one minute, data will not be stable during battery replacement.
2.
Insert a small flat-blade screwdriver into the notch at the bottom of the battery compartment cover and lift open the cover.
3.
Disconnect the connector under the cover of the CPU Unit, remove the old battery from the compartment, and replace the battery with a new one.
Note Complete the battery replacement procedure (at an ambient temperature of
25 °C) within three minutes of turning OFF the power supply. If more than three minutes elapse without a battery installed in the CPU Unit, data will not be stable during battery replacement.
Replacement Procedure for CS1, CS1-V1, and CS1-H (Ver. 3.0) CPU Units with Two Battery Connectors
Use the following procedure to replace a battery that has been completely discharged.
When replacing a battery with the power OFF, connect the new battery while the old battery is in place. Remove the old battery after connecting the new battery. (There are two pairs of identical connectors for the battery. The old battery will not be charged even if the new battery is connected at the same time.)
1,2,3...
1.
Turn OFF the power to the CPU Unit. (If the power was already OFF, turn the power ON for at least ten seconds before turning the power OFF again.)
2.
Insert a small flat-blade screwdriver into the notch at the bottom of the battery compartment cover and lift open the cover.
584
Replacing User-serviceable Parts
Section 12-2
3.
Remove the old battery from the compartment, but leave its connector connected.
Old battery
Leave connected.
Old battery
4.
Insert the new battery into the battery compartment with the cable and connector facing outward.
Battery compartment
New battery
New battery
Old battery
5.
With the old battery connected, insert the new battery’s connector in the open connector in the CPU Unit. Be sure that the connector is inserted so that its red wire is at the top and the white wire is at the bottom.
New battery
Old battery
Old battery
585
Replacing User-serviceable Parts
6.
Remove the old battery’s connector.
Section 12-2
Old battery
7.
Push the new battery’s wire into the battery compartment and close the cover.
586
Note
8.
Connect a Programming Device and verify that the Battery Error has been cleared.
1.
With the CS1 and CS1-V1 CPU Units, even if this procedure is not used and the old battery is disconnected with the power OFF (power OFF and no battery connected), memory will be backed up for a short time by an internal capacitor. In this case, the internal capacitor will discharge within approximately 30 s after the power is turned OFF, so be sure to connect the new battery immediately. (For CS1-H Ver. 3.0 CPU Units, the capacitor’s backup time is 3 min.)
2.
If the above procedure is not used and the old battery is disconnected with the power ON (power ON and no battery connected), memory will still be backed up. However, be sure to touch a grounded metal object to discharge any static electricity before replacing the battery.
3.
With CPU Units that have two battery connectors, leave the old battery attached while connecting the new battery. This prevents a battery error occurring during battery replacement. Remove the old battery after the new battery is connected.
!Caution With either a CS1, CS1-V, or CS1-H CPU Unit, do not short the battery terminals or charge, disassemble, heat, or incinerate the battery. Do not subject the battery to strong shocks. Doing any of these may result in leakage, rupture, heat generation, or ignition of the battery.
!Caution Dispose of any battery that has been dropped on the floor or otherwise subjected to excessive shock. Batteries that have been subjected to shock may leak if they are used.
!Caution Do not allow unqualified persons to replace batteries. UL standards required that batteries be replaced only by experienced technicians.
Replacing User-serviceable Parts
Section 12-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.
12-2-2 Output Unit Fuse Replacement
The following Transistor and Triac Output Units contain one fuse for each common. For the C200H-OD411/OD213/OD221/OA223 Units which have a blown-fuse (F) indicator, replace the fuse if the fuse indicator lights. For the
C200H-OD211/OD212/OA222V/OA224 Units which do not have blown-fuse indicators, check the fuses if outputs are not produced.
Replacement Fuses
Unit type Model
The Output Units are supplied with one spare fuse in the back of each Unit; if two or more fuses need to be replaced, use replacement fuses which meet the specifications shown in the following table.
Unit specifications
Transistor
Output
Triac Output
C200H-OD411 8 outputs, 1 A, 12 to 48 V DC
C200H-OD211 12 outputs, 0.3 A, 24 V DC
C200H-OD212 16 outputs, 0.3 A, 24 V DC
C200H-OD213 8 outputs, 2.1 A, 24 V DC
C200H-OA221 8 outputs, 1 A, 250 V AC max.
C200H-OA222V 12 outputs, 0.3 A, 250 V AC max.
C200H-OA223 8 outputs, 1.2 A, 250 V AC max.
C200H-OA224 12 outputs, 0.5 A, 250 V AC max.
Yes
Yes
No
Yes
Blown-fuse indicators*
Yes
No
No
No
Fuse specifications
125 V, 5 A (5.2 mm × 20 mm)
125 V, 8 A (5.2 mm × 20 mm)
250 V, 5 A (5.2 mm × 20 mm)
250 V, 3 A (5.2 mm × 20 mm)
250 V, 5 A (5.2 mm × 20 mm)
250 V, 3.15 A (5.2 mm × 20 mm)
Note The C200H-OD411/OD213/OD221/OA223 Output Units have a blown-fuse
(F) indicator at the location shown in the following diagram. When a fuse blows in one of these Units, the blown-fuse indicator will light and bit 8 of the word allocated to the Unit will be turned ON.
The "F" indicator lights when the fuse blows.
Replacement Procedure
1,2,3...
1.
Turn OFF the power to the PLC.
2.
Remove the terminal block by unlocking the lock levers at the top and bottom of the terminal block. The terminal block can be removed without disconnecting the wiring.
587
Replacing User-serviceable Parts
Section 12-2
3.
Remove the Output Unit. Push down the lock lever on the Backplane with a screwdriver and lift the Unit out as shown below.
Lock lever
4.
Use a Phillips-head screwdriver to remove the screws from the top and bottom of the Unit.
5.
Use a slotted screwdriver to detach the case from the Unit.
(4)
(5)
6.
Pull out the printed circuit board.
7.
Insert a new fuse. A spare fuse is provided inside the rear of the case when the Unit is delivered.
Rear of the case
Spare fuse
8.
Reverse the steps above to reassemble the Unit.
588
Replacing User-serviceable Parts
Section 12-2
12-2-3 Relay Replacement
A Relay Output Unit’s relay is probably faulty if one of the Unit’s outputs remains ON or OFF regardless of the execution of output instructions in the program. Replace a relay if it remains ON or OFF or if the Unit’s contact is otherwise faulty.
Replacement Relays
The following Output Units are equipped with relay sockets that allow the
Relays to be replaced if they should go bad. Use the Relay listed in the following table.
Model Unit specifications Replacement Relay
C200H-OC221 8 outputs, 2 A, 250 V AC/24 V DC max.
G6B-1174P-FD-US-M
C200H-OC222 12 outputs, 2 A, 250 V AC/24 V DC max.
24 V DC
C200H-OC225 16 outputs, 2 A, 250 V AC/24 V DC max.
C200H-OC223 5 outputs, 2 A, 250 V AC/24 V DC max.
(independent commons)
C200H-OC224 8 outputs, 2 A, 250 V AC/24 V DC max.
(independent commons)
C200H-OC222V 12 outputs, 2 A, 250 V AC/24 V DC max.
G6R-1, 24 V DC
C200H-OC226 16 outputs, 2 A, 250 V AC/24 V DC max.
C200H-OC224V 8 outputs, 2 A, 250 V AC/24 V DC max.
Note Relays cannot be replaced for the C200H-OC222N/OC226N/OC224N or the
CS1W-OC201/OC211.
Replacement Procedure
1,2,3...
1.
Turn OFF the power to the PLC.
2.
Remove the terminal block by unlocking the lock levers at the top and bottom of the terminal block. The terminal block can be removed without disconnecting the wiring.
3.
Remove the Output Unit. Push down the lock lever on the Backplane with a screwdriver and lift the Unit out as shown below.
Lock lever
4.
Use a Phillips-head screwdriver to remove the screws from the top and bottom of the Unit.
589
Replacing User-serviceable Parts
Section 12-2
5.
Use a slotted screwdriver to detach the case from the Unit.
590
6.
Pull out the printed circuit board.
7.
Replace the faulty Relay with a new one. Use the Relay puller provided inside the rear of the case when the Unit is delivered. Relays for the C200H-
OC222V/OC224V/OC226 can be replaced with the P6B-Y1 Relay Puller.
Rear of case
Relay Puller
Grasp the faulty Relay with the
Relay Puller and pull it out.
Note
OC221
8.
Reassemble the Unit by reversing the above procedure and mount it to the
Backplane.
1.
Use the P6B-Y1 Relay Puller (sold separately) to remove Relays.
2.
Check the pin arrangement before inserting a new Relay into the socket.
Pins can only be inserted one way, so do not try to force them if they do not go in easily. Applying too much force can bend the pins and render the Relay unusable.
OC222 OC225 OC223*
OC224* OC222V OC226 OC224V*
*The Relay Output Units marked with an asterisk have independent commons.
Appendix A
Specifications of Basic I/O Units and
High-density I/O Units
Input Units
Category
C200H/CS-series
Basic Input Units with Terminal
Blocks
CS-series Basic
Input Units with
Connectors
C200H Group-2
High-density Input
Units
Name
AC Input Units
Specifications
100 to 120V AC/V DC, 16 inputs,
50/60 Hz
100 to 120V AC, 8 inputs, 50/60 Hz
100 to 120V AC, 16 inputs, 50/60 Hz
200 to 240V AC, 8 inputs
200 to 240V AC, 16 inputs
AC/DC Input Units 12 to 24 V AC/V DC, 8 inputs
DC Input Units
24 V AC/V DC, 16 inputs
12 to 24 V DC, 8 inputs
12 to 24 V DC, 16 inputs
24 V DC, 16 inputs
Interrupt Input Units 24 V DC, 16 inputs
12 to 24 V DC, 8 inputs
24 V DC, 16 inputs High-speed Input
Unit
DC Input Units 24 V DC, 32 inputs
12 V DC, 64 inputs
24 V DC, 64 inputs
24 V DC, 96 inputs
Simultaneously ON 24-V DC inputs for
CS1W-ID291/MD291/MD292
Model
CS1W-IA111
C200H-IA121
C200H-IA122
C200H-IA122V
C200H-IA221
C200H-IA222
C200H-IA222V
CS1W-IA211
C200H-IM211
C200H-IM212
C200H-ID211
C200H-ID212
CS1W-ID211
CS1W-INT01
C200HS-INT01
CS1W-IDP01
CS1W-ID231
C200H-ID216
C200H-ID218
C200H-ID111
CS1W-ID261
C200H-ID217
C200H-ID219
CS1W-ID291
Page
591
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Output Units
Category
C200H/CSseries Basic
Outputs Units with Terminal
Blocks
Relay Output
Units
Name
Triac Output
Units
Transistor Output Units, sinking outputs
Transistor Output Units, sinking
Transistor Output Units, sourcing outputs
Specifications Model
250V AC/24V DC, 2 A; 120 V DC, 0.1 A; independent contacts, 8 outputs
CS1W-OC201 (See note.)
250V AC/24V DC, 2 A; 120 V DC, 0.1 A; 16 outputs CS1W-OC211
Page
250V AC/24V DC, 2 A, independent contacts, 5 outputs
250 V AC/24 V DC, 2 A, independent contacts, 8 outputs
C200H-OC223
C200H-OC224
250V AC/24V DC, 2 A, 8 outputs
250V AC/24V DC, 2 A, 12 outputs
C200H-OC224V/224N
C200H-OC221
C200H-OC222
C200H-OC222V/222N
250V AC/24V DC, 2 A, 16 outputs
Relay contact outputs
250 V AC, 1.2 A, with fuse burnout detection circuit,
8 outputs
250 V AC, 1 A, with fuse burnout detection circuit,
8 outputs
250 V AC, 1.2 A, with fuse burnout detection circuit,
8 outputs
C200H-OC225
C200H-OC226/226N
CS1W-OA201 (See note.)
C200H-OA221
C200H-OA223
250 V AC, 0.3 A, 12 outputs
250 V AC, 0.5 A, 12 outputs
250 V AC, 0.5 A, 16 outputs
24 V DC, 2.1 A, 8 outputs
12 to 48 V DC, 1A, 8 outputs
24 V DC, 0.3 A, 12 outputs
24 V DC, 0.3 A, 16 outputs
C200H-OA222V
C200H-OA224
CS1W-OA211
C200H-OD213
C200H-OD411
C200H-OD211
C200H-OD212
12 to 24 V DC, 0.5 A, 16 outputs
12 to 24 V DC, 0.5 A, 32 outputs
4.5 V DC/16 mA to 26.4 V/100mA, with fuse burnout detection circuit, 32 outputs
CS1W-OD211
CS1W-OD231
C200H-OD218
12 to 24 V DC, 0.3 A, 64 outputs
4.5 V DC/16 mA to 26.4 V/100mA, 64 outputs
12 to 24 V DC, 0.1 A, with fuse burnout detection circuit, 96 outputs
24 V DC, 0.8 A, load short-circuit protection,
8 outputs.
5 to 24 V DC, 0.3 A, 8 outputs
5 to 24 V DC, 0.3 A, 12 outputs
CS1W-OD261
C200H-OD219
CS1W-OD291
C200H-OD214
C200H-OD216
C200H-OD217
24 V DC, 0.5 A, load short-circuit protection,
16 outputs
CS1W-OD212
Load short-circuit protection for
CS1W-OD212/OD232/OD262/MD262 and C200H-OD21B
24 V DC, 1 A, load short-circuit protection,
16 outputs.
C200H-OD21A
24 V DC, 0.5 A, load short-circuit protection,
32 outputs
24 V DC, 0.5 A, 32 outputs, sourcing outputs, load short-circuit protection
24 V DC, 0.3 A, load short-circuit protection,
64 outputs
24 V DC, with fuse burnout detection circuit, 0.1 A,
96 outputs
CS1W-OD232
C200H-OD21B
CS1W-OD262
CS1W-OD292
592
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Note This Unit uses only 8 bits for external I/O even though 16 bits (1 word) are allocated. This Unit is also treated as a 16-point Unit in the I/O tables.
Mixed I/O Units
Category
CS-series Basic I/O
Units with Connectors
Name
DC Input/Transistor
Output Units
TTL I/O Unit
Specifications
24 V DC inputs;
12 to 24 V DC, 0.3-A, sinking outputs;
32 inputs, 32 outputs
24 V DC inputs;
12 to 24 V DC, 0.1A, sinking outputs with fuse burnout detection circuit;
48 inputs, 48 outputs
24 V DC inputs
24 V DC, 0.3 A, sourcing outputs with load short-circuit protection;
32 inputs, 32 outputs
24 V DC inputs
24 V DC, 0.1 A, sourcing outputs with fuse burnout detection circuit;
48 inputs, 48 outputs
5 V DC, 3.5 mA inputs;
5 V DC, 35 mA, outputs;
32 inputs, 32 outputs
Model
CS1W-MD261
CS1W-MD291
CS1W-MD262
CS1W-MD292
CS1W-MD561
Page
Note For details on the connectors included with the Unit, refer to the information provided under Accessories in the tables for Basic I/O Units in the following pages.
Special I/O Units
High-density Input Units
Category
TTL Input Units
DC Input Units
Name
TTL Input Unit
DC Input Unit
Specifications Model
5 V DC, static input mode, 32 inputs C200H-ID501
24 V DC, static input mode, 32 inputs C200H-ID215
High-density Output Units
Category
TTL Output
Units
Name
TTL Output
Units
5 V DC, 35 mA
Transistor Output Units
Transistor Output Units
4.5 V DC, 16 mA to 26.4 V, 100 mA
Specifications
Static output mode, 32 outputs
Dynamic output mode, 128 outputs
Static output mode, 32 outputs
Dynamic output mode, 128 outputs
Page
Model Page
C200H-OD501
C200H-OD215
Mixed I/O Units
Category Name Specifications
TTL I/O Units TTL I/O Units Static input mode: 5 V DC inputs; 5 V DC, 35 mA outputs; 16 inputs, 16 outputs
Dynamic output mode: 5 V DC, 35 mA outputs;
128 outputs
Model
C200H-MD501
Page
593
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Category
DC Input/Transistor Output
Units
Name
DC Input/Transistor Output
Units
Specifications
Static input mode: 12 V DC inputs; 4.5 V DC, 16 mA to
26.4 V 100 mA outputs, 16 inputs, 16 outputs
Dynamic output mode: 12 V DC, 50 mA outputs;
128 outputs
Static input mode: 24 V DC inputs, 24 V DC 16 mA to
26.4 V 100 mA outputs; 16 inputs, 16 outputs
Model
C200H-MD115
Page
C200H-MD215
Dynamic output mode: 24 V DC, 100 mA outputs;
128 outputs
Maximum switching capacity of C200H-MD115/MD215
Specifications Changes for Transistor Output Units
Some of the specifications of the following Units with transistor outputs have been improved.
Output elements have been changed from NPN to field-effect transistors (FET). Part of the circuit configuration has been changed. There are no changes in performance characteristics as a result of these improvements, but care is required in connecting the polarity of the load power supply. Outputs will not operate dependably if the polarity is reversed. check the manufacturing number on your Unit before wiring.
Name
Transistor Output Unit
DC Input/Transistor Output Unit
Transistor Output Units
Model
C200H-OD215
C200H-MD215
C200H-OD218
C200H-OD219
Date of change
Manufactured on or after
November 30, 1999
Manufactured on or after
January 31, 2000
Manufacturing number
(See below.)
30Y9 or later
3110 or later
Manufacturing Numbers
@ @ Z 9 @
Factory code (A to Z or blank)
Year: Last digit of calendar year; e.g., 1999 →9, 2000→0
Month: 1 to 9 (January to September), X (October), Y (November), Z (December)
Day: 01 to 31
The following figures and tables provide specifications for Basic I/O Units and High-density I/O Units. Refer to
Section
SECTION 3 Nomenclature, Functions, and Dimensions for dimensions.
Reading Terminal Connection Diagrams
• I/O terminals in terminal connection diagrams are shown as viewed from the front panel of the Unit.
• Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on all Units.
• A0 to A20 and B0 to B20 are printed on the Units.
Basic I/O Units
CS1W-IA111 100-V AC Input Unit (16 Points)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
ON Response Time
100 to 120 V AC (50/60 Hz), 100 to 120 V DC
85 to 132 V AC (50/60 Hz), 85 to 132 V DC
10 k Ω (50 Hz), 8 kΩ (60 Hz), 69 kΩ (DC)
10 mA typical (at 100 V AC), 1.5 mA typical
(at 100 V DC)
65 V AC min., 75 V DC min.
20 V AC max., 25 V DC max.
18 ms max. when PLC Setup on default setting
(8 ms) (See note.)
594
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
OFF Response Time
Insulation Resistance
63 ms max. when PLC Setup on default setting
(8 ms) (See note.)
20 M Ω between external terminals and the GR terminal (500 V DC)
Dielectric Strength 2,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
2 (each 8 points/common) No. of Circuits
Number of Inputs ON Simultaneously
100% simultaneously ON (for 110 V AC, 120 V DC)
Refer to the diagram below.
Internal Current Consumption 110 mA 5 V DC max.
Weight 260 g max.
Note The Input ON and OFF response times for Basic I/O Units can be set to 0 ms, 0.5 ms, 1 ms, 2 ms, 4 ms,
8 ms, 16 ms, or 32 ms in the PLC Setup. When the response times have been set to 0 ms, the ON response time will be 10 ms maximum and the OFF response time will be 40 ms maximum due to internal element delays.
Number of Inputs ON Simultaneously
110 V AC, 120 V DC
120 V AC
132 V DC
No. of inputs
ON simultaneously
132 V AC
Ambient temperature
Circuit Layout
IN0 to
IN7
COM0
IN8 to
IN15
COM1
2.2 k Ω
2.2 k Ω
Input indicator
Terminal Connections
100 to 120
V AC/V DC
100 to 120
V AC/V DC
595
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Note Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
C200H-IA121 AC Input Unit (8 Points)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
100 to 120 V AC (50/60 Hz)
85 to 132 V AC (50/60 Hz)
9.7 k Ω (50 Hz), 8 kΩ (60 Hz)
10 mA typical (at 100 V AC)
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
60 V AC min.
20 V AC max.
35 ms max. (at 100 V AC, 25 °C)
55 ms max. (at 100 V AC, 25 °C)
1 (8 points/common)
Internal Current Consumption 10 mA 5 V DC max.
Weight 250 g max.
Circuit Configuration
IN
100 to
120 V AC
IN
COM
0.33
µF
470
Ω
330 k Ω
910
Ω
Internal circuits
Terminal Connections
100 to
120 V AC
Input indicator
0
7
COM
5
6
1
2
3
4
NC
A6
A7
A8
A9
A0
A1
A2
A3
A4
A5
596
Specifications of Basic I/O Units and High-density I/O Units
C200H-IA122/IA122V AC Input Unit (16 Points)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
100 to 120 V AC (50/60 Hz)
85 to 132 V AC (50/60 Hz)
9.7 k Ω (50 Hz), 8 kΩ (60 Hz)
10 mA typical (at 100 V AC)
60 V AC min.
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
20 V AC max.
35 ms max. (at 100 V AC, 25 °C)
55 ms max. (at 100 V AC, 25 °C)
1 (16 points/common)
Internal Current Consumption 10 mA 5 V DC max.
Weight 300 g max./400 g max. (IA122V)
Circuit Configuration
IN
Appendix A
100 to
120 V AC
IN
COM
0.33
µF
470
Ω
330 k
Ω
910
Ω
Internal circuits
Input indicator
Terminal Connections
100 to
120 V AC
1
3
5
7
9
11
13
15
COM
A0
A1
A2
A3
A4
A5
A6
0
B0
B1
2
B2
4
B3
6
B4
8
B5
10
B6
12
B7
14
A7
B8
A8
B9
NC
NC
597
Specifications of Basic I/O Units and High-density I/O Units
C200H-IA221 AC Input Unit (8 Points)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
200 to 240 V AC (50/60 Hz)
170 to 264 V AC (50/60 Hz)
21 k Ω (50 Hz), 18 kΩ (60 Hz)
10 mA typical (at 200 V AC)
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
120 V AC min.
40 V AC max.
35 ms max. (at 200 V AC, 25 °C)
55 ms max. (at 200 V AC, 25 °C)
1 (8 points/common)
Internal Current Consumption 10 mA 5 V DC max.
Weight 250 g max.
Circuit Configuration
IN
Appendix A
200 to
240 V AC
IN
COM
0.15
µ F
820
Ω
680 k
Ω
910
Ω
Internal circuits
Terminal Connections
200 to
240 V AC
Input indicator
0
COM
6
7
4
5
1
2
3
NC
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
598
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-IA211 200-V AC Input Unit (16 Points)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON current
OFF Voltage/OFF current
ON Response Time
OFF Response Time
200 to 240 V AC (50/60 Hz)
170 to 264 V AC (50/60 Hz)
21 k Ω (50 Hz), 18 kΩ (60 Hz)
10 mA typical (at 200 V AC)
120 V AC min.
40 V AC max.
18 ms max. when PLC Setup on default setting
(8 ms) (See note.)
48 ms max. when PLC Setup on default setting
(8 ms) (See note.)
No. of Circuits
Number of Inputs ON Simultaneously
Insulation Resistance
Dielectric Strength
2 (each 8 points/common)
100% simultaneously ON (for 230 V AC). Refer to the diagram below.
20 M Ω between external terminals and the GR terminal (500 V DC)
1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 110 mA 5 V DC max.
Weight 260 g max.
Note The Input ON and OFF response times for Basic I/O Units can be set to 0 ms, 0.5 ms, 1 ms, 2 ms, 4 ms,
8 ms, 16 ms, or 32 ms in the PLC Setup. When the response times have been set to 0 ms, the ON response time will be 10 ms maximum and the OFF response time will be 40 ms maximum due to internal element delays.
Number of Inputs ON Simultaneously
230 V AC
No. of inputs
ON simultaneously
240 V AC
264 V AC
Ambient temperature
Circuit Configuration
IN0 to
IN7
COM0
IN8 to
IN15
COM1
Input indicator
599
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
200 to 240 V AC
Appendix A
200 to 240 V AC
Note Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
C200H-IA222/IA222V AC Input Unit (16 Points)
Rated Input Voltage
Input Impedance
Operating Input Voltage
Input Current
200 to 240 V AC (50/60 Hz)
21 k Ω (50 Hz), 18 kΩ (60 Hz)
170 to 264 V DC (50/60 Hz)
10 mA typical (at 200 V AC)
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
120 V AC min.
40 V AC max.
35 ms max. (at 200 V AC, 25 °C)
55 ms max. (at 200 V AC, 25 °C)
1 (16 points/common)
Internal Current Consumption 10 mA 5 V DC max.
Weight 300 g max./400 g max. (IA222V)
Circuit Configuration
IN
200 to
240 V AC
IN
COM
0.15 µF 680 Ω
680 k Ω
910
Ω
Internal circuits
Input indicator
600
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
200 to
240 V AC
11
13
15
COM
3
5
7
9
1
A0
A1
A2
A3
A4
A5
A6
A7
A8
B8
B9
0
B0
B1
2
B2
4
B3
6
B4
8
B5
10
B6
12
B7
14
NC
NC
C200H-IM211 AC/DC Input Unit (8 Points)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
12 to 24 V DC/V AC (50/60 Hz)
10.2 to 26.4 V AC/V DC (50/60 Hz)
2 k Ω
10 mA typical (at 24 V DC)
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
10.2 V DC min.
3.0 V DC max.
15 ms max. (at 12 to 24 V DC, 25 °C)
15 ms max. (at 12 to 24 V DC, 25 °C)
1 (8 points/common)
Internal Current Consumption 10 mA 5 V DC max.
Weight 200 g max.
Circuit Configuration
IN
Appendix A
COM
12 to
24 V AC/DC
IN 2 k
Ω
1.8
k
Ω
Input indicator
Internal circuits
601
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
12 to
24 V AC/DC
COM
7
5
6
1
2
3
4
NC
0
A6
A7
A8
A9
A0
A1
A2
A3
A4
A5
C200H-IM212 AC/DC Input Unit (16 Points)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
24 V DC/V AC (50/60 Hz)
20.4 to 26.4 V AC/V DC (50/60 Hz)
3 k Ω
7 mA typical (at 24 V DC)
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
14.4 V DC min.
5.0 V DC max.
15 ms max. (at 24 V DC, 25 °C)
15 ms max. (at 24 V DC, 25 °C)
1 (16 points/common)
Internal Current Consumption 10 mA 5 V DC max.
Weight 250 g max.
Circuit Configuration
IN
Appendix A
IN 3 k
Ω
COM
0.01
µF
1.8
k Ω
24 V AC/DC
Input indicator
Internal circuits
Terminal Connections
24 V AC/DC
1
A0
3
A1
5
15
A2
7
A3
9
13
A4
11
A5
A6
A7
COM
A8
B0
0
B1
2
B2
4
B3
6
B4
8
B5
10
B6
12
B7
14
B8
B9
NC
NC
602
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-ID211 DC Input Unit (8 Points)
Rated Input Voltage 12 to 24 V DC
Operating Input Voltage
Input Impedance
10.2 to 26.4 V DC
2 k Ω
10 mA typical (at 24 V DC) Input Current
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
10.2 V DC min.
3.0 V DC max.
1.5 ms max. (at 12 to 24 V DC, 25 °C)
1.5 ms max. (at 12 to 24 V DC, 25
1 (8 point/common)
Internal Current Consumption 10 mA 5 V DC max.
Weight 200 g max.
°C)
Circuit Configuration
IN
IN
COM
12 to 24 V DC
2 k Ω
0.01
µF
1.8
k Ω
Internal circuits
Input indicator
Terminal Connections
12 to 24 V DC
COM
7
4
5
6
2
3
0
1
NC
A3
A4
A5
A0
A1
A2
A6
A7
A8
A9
Note Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
603
Specifications of Basic I/O Units and High-density I/O Units
C200H-ID212 DC Input Unit (16 Points)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
20.4 to 26.4 V DC
3 k Ω
7 mA typical (at 24 V DC) Input Current
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
14.4 V DC min.
5.0 V DC max.
1.5 ms max. (at 24 V DC, 25 °C)
1.5 ms max. (at 24 V DC, 25
1 (16 points/common)
Internal Current Consumption 10 mA 5 V DC max.
Weight 300 g max.
°C)
Circuit Configuration
IN
Appendix A
IN
COM
3 k
Ω
0.01
µF
1.8
k Ω
Internal circuits
24 V DC
Input indicator
Terminal Connections
24 V DC 9
11
COM
1
3
5
7
13
15
A0
A1
A2
A3
A4
A5
A6
A7
B8
A8
B9
B0
0
B1
2
B2
4
B3
6
B4
8
B5
10
B6
12
B7
14
NC
NC
604
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-ID211 DC Input Unit (16 Points)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON Current
OFF Voltage/OFF Current
ON Response Time
OFF Response Time
20.4 to 26.4 V DC
3.3 k Ω
7 mA typical (at 24 V DC)
14.4 V DC min./3 mA min.
5 V DC max./1 mA max.
8.0 ms max. (Possible to set to between 0 and
32 ms in the PLC Setup.)
8.0 ms max. (Possible to set to between 0 and
32 ms using PLC)
No. of Circuits
Number of Simultaneously ON
Points
Insulation Resistance
16 (8 points/common, 2 circuits)
100% simultaneously ON
Dielectric Strength
20 M Ω between external terminals and the GR terminal (100 V DC)
1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 100 mA 5 V DC max.
Weight 270 g max.
Circuit Configuration
3.3 k
Ω
470
Ω
IN00 to
IN07
3.3 k
Ω
Input indicator
470
Ω
IN08 to
IN15
Terminal Connections
24
V DC
24
V DC
Polarity of the input power supply can connected in either direction.
Note 1.
The ON response time will be 20 µs maximum and OFF response time will be 300 µs maximum even if the response times are set to 0 ms due to internal element delays.
605
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
2.
Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
CS1W-INT01 Interrupt Input Unit (16 Points)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON Current
OFF Voltage/OFF Current
20.4 to 26.4 V DC
3.3 k Ω
7 mA typical (at 24 V DC)
14.4 V DC min./3 mA min.
5 V DC max./1 mA max.
ON Response Time
OFF Response Time
No. of Circuits
Number of Simultaneously ON
Points
0.1 ms max.
0.5 ms max.
16 (8 points/common, 2 circuits)
100% simultaneously ON
Insulation Resistance
Dielectric Strength
20 M Ω between external terminals and the GR terminal (100 V DC)
1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 100 mA 5 V DC max.
Weight 270 g max.
Circuit Configuration
3.3 k
Ω
470
Ω
IN00 to
IN07
3.3 k
Ω
Input indicator
470
Ω
IN08 to
IN15
0.5 ms min.
0.1 ms min.
• Up to two Interrupt Input Units can be mounted to the CPU Rack.
• Interrupts cannot be used when an Interrupt Input Unit is mounted to an Expansion I/O Rack, i.e., it will be treated as a 16-point Input Unit.
• Set the pulse width of signals input to the Interrupt Input Unit so they satisfy the above conditions.
606
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
24
V DC
Appendix A
24
V DC
Polarity of the input power supply can connected in either direction.
Note Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
C200HS-INT01 Interrupt Input Unit (8 Points)
Rated Input Voltage 12 to 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
10.2 to 26.4 V DC
2 K Ω
10 mA typical (24 V DC)
10.2 V DC min.
3.0 V DC max.
ON Response Time
OFF Response Time
0.2 ms max.
0.5 ms max.
No. of Circuits 1 (8 points/common)
Internal Current Consumption 20 mA 5 V DC max.
Weight 200 g max.
Circuit Configuration
IN
IN
COM
12 to 24 V DC
2 k
Ω
0.01
µF
1.8
k Ω
Internal circuits
Input indicator
Either plus or minus can be used for the input power supply.
607
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
12 to 24 V DC
7
COM
3
4
5
6
0
1
2
NC
A4
A5
A6
A7
A0
A1
A2
A3
A8
A9
CS1W-IDP01 High-speed Input Unit (16 Points)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON Current
OFF Voltage/OFF Current
24 V DC
20.4 to 26.4 V DC
3.3 k Ω
7 mA typical (at 24 V DC)
14.4 V DC min./3 mA min.
5 V DC max./1 mA max.
ON Response Time
OFF Response Time
0.1 ms max.
0.5 ms max.
No. of Circuits 16 (8 points/common, 2 circuits)
Number of Simultaneously ON Points 100% simultaneously ON
Insulation Resistance 20 M Ω between external terminals and the GR terminal
(100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the GR terminal for 1 minute at a leakage current of 10 mA max.
Internal Current Consumption
Weight
100 mA 5 V DC max.
270 g max.
Circuit Configuration
3.3 k
Ω
470
Ω
IN00 to
IN07
1000 pF
3.3 k
Ω
Input indicator
470
Ω
IN08 to
IN15
1000 pF
608
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
24
V DC
Appendix A
24
V DC
*1 Polarity of the input power supply can be connected in either direction.
*2 Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed the Unit.
• With a High-speed Input Unit, pulse inputs shorter than the cycle time of the CPU Unit can be read.
• The minimum pulse width (ON time) that can be read by the High-speed Input Unit is 0.1 ms.
• Input data in the internal circuits is cleared during the input refresh period.
CS1W-ID231 DC Input Unit (32 Points)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON Current
OFF Voltage/OFF Current
ON Response Time
OFF Response Time
20.4 to 26.4 V DC
3.9 k Ω
6 mA typical (at 24 V DC)
15.4 V DC min./3 mA min.
5 V DC max./1 mA max.
8.0 ms max. (Can be set to between 0 and 32 in the
PLC Setup.)
8.0 ms max. (Can be set to between 0 and 32 in the
PLC Setup)
32 (16 points/common, 2 circuits) No. of Circuits
Number of Simultaneously ON
Points
Insulation Resistance
70% (11 points/common) (at 24 V DC) (Refer to the following illustrations.)
20 M Ω between external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 150 mA 5 V DC max.
Weight
Accessories
200 g max.
One connector for external wiring (soldered)
609
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
3.9 k
Ω
1000 pF
560 Ω
3.9 k
Ω
Input indicator
1000 pF
560
Ω
Number of Simultaneously ON Points vs.
Ambient Temperature Characteristic
32 points at 34 °C 32 points at 40°C
Input voltage: 24 V DC
Input voltage: 26.4 V DC
22 points at 55 °C
16 points at 55 °C
Ambient Temperature
Terminal Connections
I/O word "m + 1" I/O word "m"
Appendix A
24
V DC
24
V DC
• The input power polarity can be connected in either direction provided that the same polarity is set for rows
A and B.
• Both COM0 and COM1 have two pins each. Although they are internally connected, wire all points completely.
Note The ON response time will be 120 µs maximum and OFF response time will be 300 µs maximum even if the response times are set to 0 ms due to internal element delays.
610
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-ID216 DC Input Unit (32 Points)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
ON Response Time
20.4 to 26.4 V DC
5.6 k Ω
4.1 mA (at 24 V DC)
14.4 V DC min.
5.0 V DC max.
1.0 ms max.
OFF Response Time
No. of Circuits
1.0 ms max.
32 (32 points/common)
Internal Current Consumption 100 mA 5 V DC max.
Weight 180 g max.
Circuit Configuration and Simultaneously Usable Points
32
30
A
COM
IN00
IN07
COM
IN08
IN15
5.6 k
Ω
1000 pF
680
Ω
Input indicator
25
20
Internal circuits
15
B
COM
IN00
IN07
COM
IN08
IN15
5.6 k
Ω
1000 pF
680
Ω
Input indicator
10
5
0
0
Input Voltage:
26.4 V DC
10 20 30 40
Ambient Temperature ( °C)
50 55 60
611
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
24 V DC
24 V DC
+
+
I/O word "m"
A
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
COM
9
8
10
9
11
10
12
11
13
12
14
13
15
14
16
15
17
COM
18
NC 19
NC 20
B
I/O word "m+1"
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
COM
9
8
10
9
11
10
12
11
13
12
14
13
15
14
16
15
17
COM
18
19
20
NC
NC
+
+
24 V DC
24 V DC
Note 1.
I/O word “m” is determined by the I/O number setting.
2.
The power can be supplied in either polarity, but the same polarity must be used for all COM terminals. Connect power supply wiring to every COM terminal, even though the COM terminals are connected internally.
C200H-ID218 DC Input Unit (32 Points)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON Current
OFF Voltage/OFF Current
ON Response Time
OFF Response Time
20.4 to 26.4 V DC
3.9 k Ω
6 mA (at 24 V DC)
15.4 V DC min./3.5 mA min.
5.0 V DC max./1 mA max.
1.0 ms max.
1.0 ms max.
No. of Circuits 32 (32 points/common)
Internal Current Consumption 100 mA 5 V DC max.
Weight 180 g max.
612
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration to
0.01 µF
3.9 k Ω
470
Ω
Appendix A
Ambient Temperature for Simultaneously ON Points
Input voltage: 24.0 V DC
Input voltage: 26.4 V DC to
Input indicator to
0.01
µF
3.9 k Ω
470 Ω to
Input indicator
Ambient temperature
Terminal Connections
I/O word "m" I/O word "m + 1"
24 V DC 24 V DC
24 V DC 24 V DC
Note 1.
The polarity of the input power supply can be either positive or negative. The polarity of all commons, however, must be the same.
2.
COM terminals must all be wired even though they are connected internally.
C200H-ID111 DC Input Unit (64 Points)
Rated Input Voltage 12 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
10.2 to 13.2 V DC
2.7 k Ω
4.1 mA typical (at 12 V DC)
8.0 V DC min.
3.0 V DC max.
1.0 ms max.
1.0 ms max.
2 (32 points/common)
Internal Current Consumption 120 mA 5 V DC max.
Weight 250 g max.
613
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Circuit Configuration
CN1
CN2
IN15
COM1
IN00
A
IN07
COM1
IN08
IN15
COM1
IN00
B
IN07
COM1
IN08
IN15
COM0
IN00
A IN07
COM0
IN08
IN15
COM0
IN00
B
IN07
COM0
IN08
2.7 k
2.7 k
1000 pF
820
1000 pF
820
CN1
SW
CN2
Input indicator
Internal circuits
Indicator switch circuit
Internal circuits
Terminal Connections
CN1
12 V DC
+
I/O word "m+1"
NC
B
20
NC
COM0
19
18
15
14
17
16
13
12
15
14
11
10
13
12
9
8
11
10
COM0
9
7
6
8
7
12 V DC
+
5
4
6
5
3
2
1
4
3
0
2
1
4
3
2
1
8
7
6
5
11
10
9
A
I/O word "m"
20
NC
19
18
NC
COM0
17
16
15
14
15
14
13
12
13
12
11
10
9
8
COM0
7
6
5
4
3
2
1
0
CN2
+
12 V DC
+
12 V DC
12 V DC
12 V DC
+
+
I/O word "m+2"
A
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
COM1
9
8
10
9
11
10
12
11
13
12
14
13
15
14
16
15
17
COM1
18
NC
NC
19
20
I/O word "m+3"
B
0
1
2
1
2
3
4
3
4
5
6
7
7
8
9
10
8
9
11
COM1
10
12
5
6
11
13
12
14
13
15
14
16
15
17
COM1
18
+
+
12 V DC
12 V DC
19 NC
20 NC
614
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Note The power can be supplied in either polarity, but the same polarity must be used for all COM terminals in each connector. Connect power supply wiring to every COM terminal, even though the COM terminals in each connector are connected internally.
CS1W-ID261 DC Input Unit (64 Points)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON Current
OFF Voltage/OFF Current
ON Response Time
OFF Response Time
No. of Circuits
Number of Simultaneously ON
Points
Insulation Resistance
20.4 to 26.4 V DC
3.9 k Ω
6 mA typical (at 24 V DC)
15.4 V DC min./3 mA min.
5 V DC max./1 mA max.
8.0 ms max. (Can be set to between 0 and 32 in the
PLC Setup.)
8.0 ms max. (Can be set to between 0 and 32 in the
PLC Setup.)
64 (16 points/common, 4 circuits)
50% (8 points/common) (at 24 V DC) (Refer to the following illustrations.)
20 M Ω between external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 150 mA 5 V DC max.
Weight 260 g max.
Accessories Two connectors for external wiring (soldered)
Circuit Configuration
3.9 k
Ω
1000 pF
560 Ω
Input indicator
3.9 k
Ω
1000 pF
560 Ω
Indicator switching circuit
615
Specifications of Basic I/O Units and High-density I/O Units
Number of Simultaneously ON Points vs.
Ambient Temperature Characteristic
64 points at 25 °C
64 points at 36 °C
64 points at 52
°C
Input voltage: 20.4 V DC
Input voltage: 24 V DC
Input voltage: 26.4 V DC
48 points at 55 °C
32 points at 55 °C
28 points at 55 °C
Ambient Temperature
Terminal Connections
I/O word "m+1" I/O word "m" I/O word "m+2" I/O word "m+3"
Appendix A
24
V DC
24
V DC
24
V DC
24
V DC
• The input power polarity can be connected in either direction provided that the same polarity be set for rows A and B.
• COM0, COM1, COM2, and COM3 have two pins each. Although they are internally connected, wire all points completely.
Note The ON response time will be 120 µs maximum and OFF response time will be 300 µs maximum even if the response times are set to 0 ms due to internal element delays.
616
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-ID217 DC Input Unit (64 Points)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
ON Response Time
20.4 to 26.4 V DC
5.6 k Ω
4.1 mA typical (at 24 V DC)
14.4 V DC min.
5.0 V DC max.
1.0 ms max.
OFF Response Time
No. of Circuits
1.0 ms max.
2 (32 points/common)
All 64 points cannot be turned ON simultaneously at high temperatures. Refer to the following graph.
Internal Current Consumption 120 mA 5 V DC max.
Weight 250 g max.
Circuit Configuration and Simultaneously Usable Points
COM0
IN00
A IN07
COM0
IN08
IN15
COM0
IN00
B
IN07
COM0
IN08
IN15
COM1
IN00
A
IN07
COM1
IN08
IN15
COM1
IN00
B
IN07
COM1
IN08
IN15
5.6 k
Ω
5.6 k
Ω
1000 pF
680
Ω
1000 pF
680
Ω
CN1
SW
CN2
Input indicator
Internal circuits
Indicator switch circuit
Internal circuits
64
60
50
40
30
20
10
0
0
Input Voltage:
24.0 V DC
Input Voltage:
26.4 V DC
10 20 30 40
Ambient Temperature (
°C)
50 55 60
617
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
I/O word "m+1"
CN1
B A
I/O word "m"
24 V DC
24 V DC
+
+
NC
20
NC
COM0
19
18
15
14
17
16
13
12
15
14
11
10
13
12
9
8
11
10
COM0
9
7
6
8
7
5
4
6
5
3
2
1
4
3
0
2
1
20
NC
19
18
NC
COM0
17
16
15
14
15
14
13
12
13
12
11
10
11
10
9
8
9
COM0
7
8
7
6
5
6
5
4
3
4
3
2
1
2
1
0
+
24 V DC
+
24 V DC
24 V DC
24 V DC
+
+
I/O word "m+2"
CN2
A B
0
1 1
1
2 2
2
3 3
3
4 4
4
5 5
5
6 6
6
7 7
7
8 8
COM1
9 9
8
10 10
9
11 11
10
12 12
11
13 13
12
14 14
13
15 15
14
16 16
15
17 17
COM1
18 18
I/O word "m+3"
8
9
10
11
12
13
14
15
COM1
2
3
0
1
6
7
4
5
COM1
+
+
24 V DC
24 V DC
NC
NC
19
20
19
20
NC
NC
Note 1.
I/O word “m” is determined by the I/O number setting.
2.
The power can be supplied in either polarity, but the same polarity must be used for all COM terminals in each connector. Connect power supply wiring to every COM terminal, even though the COM terminals in each connector are connected internally.
C200H-ID219 DC Input Unit (64 Points)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON Current
OFF Voltage/OFF Current
ON Response Time
OFF Response Time
20.4 to 26.4 V DC
3.9 k Ω
6 mA (at 24 V DC)
15.4 V DC min./3.5 mA min.
5.0 V DC max./1 mA max.
1.0 ms max.
1.0 ms max.
No. of Circuits 64 (32 points/common)
Note The number of points that can be ON simultaneously is limited according to the ambient temperature. Refer to the following diagram for details.
Internal Current Consumption 120 mA 5 V DC max.
Weight 250 g max.
618
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
A
COM
IN00 to
IN07
COM
IN08 to
IN15
B
COM
IN00 to
IN07
COM
IN08 to
IN15
0.01
µF
3.9 k Ω
470
Ω
0.01
µF
3.9 k Ω
470 Ω
Input indicator
Input indicator
Appendix A
Ambient Temperature for Simultaneously ON Points
64 points at 22 °C
64 points at 51 °C
64 points at 35 °C
64
60
Input voltage: 20 V DC
48 points at 55 °C
50
Input voltage: 24.0 V DC
40
32 points at 38 °C Input voltage: 26.4 V DC
30
32 points at 48 °C
20
24 points at 55 °C
10
16 points at 55 °C
0
0 10 20 30
Ambient temperature
40 50 55 60 (
°C)
Terminal Connections
(m + 1) words
COM0
(m + 1) words (m + 2) words
COM0
24 V DC
(m + 3) words
24 V DC
24 V DC
24 V DC
COM1 COM1
COM0 COM0
24 V DC 24 V DC
24 V DC 24 V DC
COM1 COM1
Note 1.
The polarity of the input power supply can be either positive or negative. The polarity of all commons for CN1 and CN2, however, must be the same.
2.
COM terminals for CN1 and CN2 must all be wired even though they are connected internally.
619
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS-series High-density I/O Units
CS1W-ID291 DC Input Unit (96 Points)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON Current
OFF Voltage/OFF Current
ON Response Time
OFF Response Time
No. of Circuits
Number of Inputs ON Simultaneously
Insulation Resistance
20.4 to 26.4 V DC
4.7 k Ω
Approx. 5 mA (at 24 V DC)
17 V DC min./3 mA min.
5 V DC max./1 mA max.
8.0 ms max.(Possible to select one out of eight times from 0 to 32 ms in the PLC Setup.) (See note.)
8.0 ms max. (Possible to select one out of eight times from 0 to 32 ms in the PLC Setup.) (See note.)
6 (16 points/common)
50% (8 points/common) (at 24 V DC) (Depends on ambient temperature)
20 M Ω between the external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 200 mA 5 V DC max.
Weight 320 g max.
Accessories Two connectors for external wiring (soldered)
Circuit Configuration
4.7 k Ω x 3 CN1 circuits
1000 pF
560 Ω
Indicator switch circuit Input indicator
4.7 k Ω x 3 CN2 circuits
1000 pF
560 Ω
Note 1.
The Input ON and OFF response times for Basic I/O Units can be set to 0 ms, 0.5 ms, 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, or 32 ms in the PLC Setup.
2.
The ON response time will be 120 µs maximum and OFF response time will be 300 µs maximum even if the response times are set to 0 ms due to internal element delays.
620
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections: CS1W-ID291 24-V DC 96-point Input Unit
COM2
24 V DC
Appendix A
COM3
COM1
COM4
COM0
24 V DC
COM5
• The polarity of the input power supply can be in either direction, as indicated by the dotted lines.
621
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Maximum Number of ON Inputs
The maximum number of 24-V DC inputs that can be ON simultaneously for the CS1W-ID291/MD291/MD292 depends on the ambient temperature, as shown in the following diagrams.
CS1W-MD291/MD292 Inputs CS1W-ID291 Inputs
Temperature Characteristic for
Max. ON Inputs (20.4 V)
53
°C: 48 pts
Temperature Characteristic for
Max. ON Inputs (20.4 V)
48 °C: 96 pts
55
°C: 30 pts
55
°C: 48 pts
Ambient temperature ( °C)
Temperature Characteristic for
Max. ON Inputs (24.0 V)
41
°C: 48 pts
53
°C: 48 pts
55
°C: 30 pts
Ambient temperature ( °C)
Temperature Characteristic for
Max. ON Inputs (24.0 V)
32
°C: 96 pts
51
°C: 62 pts
55
°C: 48 pts
Ambient temperature (
°C)
Temperature Characteristic for
Max. ON Inputs (26.4 V)
31 °C: 48 pts
Ambient temperature (
°C)
Temperature Characteristic for
Max. ON Inputs (26.4 V)
17
°C: 96 pts
51
°C: 30 pts
55
°C: 18 pts
48
°C: 58 pts
55
°C: 32 pts
Ambient temperature (
°C)
Ambient temperature (
°C)
If the maximum number of ON points is exceeded for the CS1W-ID291/MD291/MD292, heat generated by electronic elements will increase the temperature of the electronic elements and the interior of the Unit. This will reduce the reliability and life of the electronic elements and cause Unit malfunctions. There will be a delay in the temperature increase, however, and there will be no problems if all inputs are ON for 10 minutes or less at the start of operations or any other time that all inputs have been off for at least 2 hours.
622
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-OC211 Contact Output Unit (16 points)
Max. Switching Capacity
Min. Switching Capacity
Service Life of Relay
Relay replacement
ON Response Time
OFF Response Time
No. of Circuits
Number of Inputs ON Simultaneously
Surge Protector
Fuses
Insulation Resistance
Dielectric Strength
Internal Current Consumption
Weight
2 A 250 V AC (cos φ = 1), 2 A 24 V DC (8 A/common, 16 A/Unit), 0.1 A 120 V DC
1 mA 5 V DC
Electrical: 150,000 operations (resistive load)/
100,000 operations (inductive load)
Mechanical: 20,000,000 operations
Service life will vary depending on the connected
load. Refer to page 634 for information on service
life according to the load.
NY-24W-K-IE (Fujitsu Takamizawa Component
Ltd.)
Relays cannot be replaced by users.
15 ms max.
15 ms max.
2 (each 8 points/common)
16
None
None
20 M Ω between external terminals and the GR terminal (500 V DC)
2,000 V AC between the external terminals and the GR terminal for 1 minute at a leakage current of 10 mA max.
130 mA 5 V DC max. 96 mA 26 V DC (6 mA × No. points ON)
290 g max.
Circuit Configuration
Output indicator
IN0 to
IN7
COM0
IN8 to
IN15
COM1
623
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
Appendix A
COM0
2 A 250 V AC,
2 A 24 V DC,
0.1 A 120 V DC max.
COM1
Note Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
CS1W-OC201 Contact Output Unit (8 points) (See note 1.)
Max. Switching Capacity
Min. Switching Capacity
Service Life of Relay
Relay replacement
2 A 250 V AC (cos φ = 1), 2 A 24 V DC (16 A/Unit),
0.1 A 120 V DC
1 mA 5 V DC
Electrical: 150,000 operations (resistive load)/
100,000 operations (inductive load)
Mechanical: 20,000,000 operations
Service life will vary depending on the connected
load. Refer to page 634 for information on service
life according to the load.
NY-24W-K-IE (Fujitsu Takamizawa Component
Ltd.)
Relays cannot be replaced by users.
15 ms max.
15 ms max.
ON Response Time
OFF Response Time
No. of Circuits
Number of Inputs ON Simultaneously
Surge Protector
Fuses
Insulation Resistance
8 independent contacts
8
None
None
20 M Ω between external terminals and the GR terminal (500 V DC)
Dielectric Strength 2,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 100 mA 5 V DC max. 48 mA 26 V DC (6 mA × No. points ON)
Weight 270 g max.
Circuit Configuration
Output indicator
OUT
OUT
C
624
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
See note 2.
Appendix A
2 A 250 V AC,
2 A 24 V DC,
0.1 A 120 V DC max.
Note 1.
This Unit uses only 8 bits for external I/O even though 16 bits (1 word) are allocated. This Unit is also treated as a 16-point Unit in the I/O tables.
2.
Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
C200H-OC223 Contact Output Unit (5 Points)
Max. Switching Capacity
Min. Switching Capacity
Relay
Service Life of Relay
2 A 250 V AC (cos φ = 1), 2 A 250 V AC (cosφ = 0.4),
2 A 24 V DC (10 A/Unit)
10 mA 5 V DC
G6B-1174-P-FD-US-M (24 V DC) with socket
Electrical: 500,000 operations (resistive load)/
100,000 operations (inductive load)
Mechanical: 50,000,000 operations
Service life will vary depending on the current and ambient temperature.
10 ms max.
ON Response Time
OFF Response Time
No. of Circuits
10 ms max.
5 independent contacts
Internal Current Consumption 10 mA 5 V DC max. 75 mA 26 V DC (8 points ON simultaneously.)
Weight 250 g max.
Circuit Configuration
Note: There are no restrictions in the polarity when connecting a DC power supply.
Internal circuits
Output indicator
OUT
L
OUTc
250 V AC
24 V DC max.
625
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
250 V AC 24 V DC max.
(inductive load: 2 A resistive load: 2 A)
(10 A/Unit)
L
L
L
L
L
0
A0 c0
A1
1
A2 c1
A3
2
A4 c2
A5
3
A6 c3
A7
4
A8 c4
A9
C200H-OC224 Contact Output Unit (8 Points)
Max. Switching Capacity
Min. Switching Capacity
Relay
Service Life of Relay
2 A 250 V AC (cos φ = 1), 2 A 250 V AC (cosφ = 0.4),
2 A 24 V DC (16 A/Unit)
10 mA 5 V DC
G6B-1174-P-FD-US-M (24 V DC) with socket
Electrical: 500,000 operations (resistive load)/
100,000 operations (inductive load)
Mechanical: 50,000,000 operations
Service life will vary depending on the current and ambient temperature.
10 ms max.
10 ms max.
ON Response Time
OFF Response Time
No. of Circuits 8 independent contacts
Internal Current Consumption 10 mA 5 V DC max. 75 mA 26 V DC (8 points ON simultaneously.)
Weight 300 g max.
Circuit Configuration
Output indicator
Internal circuits
OUT
L
OUTc
250 V AC
24 V DC max.
626
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
250 V AC 24 V DC max.
(inductive load: 2 A resistive load: 2 A)
See note.
c0
A0 c1
A1 c2
A2 c3
A3 c4
A4 c5
A5 c6
A6 c7
A7
B0
0
1
B1
2
B2
3
B3
4
B4
5
B5
6
B6
7
B7
B8 NC
NC A8
B9 NC
L
L
L
L
L
L
L
L
Appendix A
Note: There are no restrictions in the polarity when connecting a DC power supply.
C200H-OC224V/OC224N Contact Output Unit (8 Points)
Item
Max. Switching Capacity
Min. Switching Capacity
Relay
Service Life of Relay
ON Response Time
OFF Response Time
No. of Circuits
Internal Current Consumption
Weight
OC224V OC224N
2 A 250 V AC (cos φ = 1), 2 A 250 V AC (cosφ =
0.4), 2 A 24 V DC (16 A/Unit)
10 mA 5 V DC
G6R-1 (24 V DC) with socket
G6RN-1-ACD (24 V
DC) PCB soldering
Electrical: 300,000 operations
Mechanical: 10,000,000 operations
Service life will vary depending on the current and ambient temperature.
15 ms max.
15 ms max.
8 independent contacts
10 mA 5 V DC max. 90 mA 26 V DC (8 points ON simultaneously.)
350 g max.
Circuit Configuration
Output indicator
Internal circuits
OUT
L
OUTc
250 V AC
24 V DC max.
627
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
250 V AC 24 V DC max.
(inductive load: 2 A resistive load: 2 A)
(16 A/Unit)
See note.
c0
A0 c1
A1 c2
A2 c3
A3 c4
A4 c5
A5 c6
A6 c7
A7
B0
0
1
B1
2
B2
3
B3
4
B4
5
B5
6
B6
7
B7
B8 NC
NC A8
B9 NC
L
L
L
L
L
L
L
L
Appendix A
Note: There are no restrictions in the polarity when connecting a DC power supply.
C200H-OC221 Contact Output Unit (8 Points)
Max. Switching Capacity
Min. Switching Capacity
Relay
Service Life of Relay
2 A 250 V AC (cos φ = 1), 2 A 250 V AC (cosφ = 0.4),
2 A 24 V DC (8 A/Unit)
10 mA 5 V DC
G6B-1174P-FD-US-M (24 V DC) with socket
Electrical: 500,000 operations (resistive load)/
100,000 operations (inductive load)
Mechanical: 50,000,000 operations
Service life will vary depending on the current and ambient temperature.
ON Response Time
OFF Response Time
10 ms max.
10 ms max.
No. of Circuits 1 (8 points/common)
Internal Current Consumption 10 mA 5 V DC max. 75 mA 26 V DC (8 points ON simultaneously.)
Weight 250 g max.
Circuit Configuration
Output indicator
OUT
L
OUT
L
Internal circuits
COM
250 V AC 24 V DC max.
628
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
L
L
L
L
L
L
L
L
0
A0
1
A1
2
A2
3
A3
4
A4
5
A5
6
A6
7
A7
COM
A8
NC
A9
250 V AC 24 V DC max.
(inductive load: 2 A, resistive load: 2 A) (8 A/Unit)
C200H-OC222 Contact Output Unit (12 Points)
Max. Switching Capacity
Min. Switching Capacity
Relay
Service Life of Relay
2 A 250 V AC (cos φ = 1), 2 A 250 V AC (cosφ = 0.4),
2 A 24 V DC (8 A/Unit)
10 mA 5 V DC
G6B-1174P-FD-US-M (24 V DC) with socket
Electrical: 500,000 operations (resistive load)/
100,000 operations (inductive load)
Mechanical: 50,000,000 operations
Service life will vary depending on the current and ambient temperature.
10 ms max.
10 ms max.
ON Response Time
OFF Response Time
No. of Circuits 1 (12 points/common) 8 points max. can be ON simultaneously.
Internal Current Consumption 10 mA 5 V DC max. 75 mA 26 V DC (8 points ON simultaneously.)
Weight 300 g max.
Circuit Configuration
Output indicator
OUT
L
OUT
L
Internal circuits
COM
250 V AC 24 V DC max.
629
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
Appendix A
L
L
L
L
L
L
1
3
5
7
9
11
A0
A1
A2
A3
A4
A5
B0
0
B1
2
B2
4
B3
6
B4
8
B5
10
B6 NC
NC A6
B7 NC
NC
COM
A7
A8
B8
NC
B9
NC
L
L
L
L
L
L
250 V AC 24 V DC max.
(inductive load: 2 A, resistive load: 2 A) (8 A/Unit)
C200H-OC222V/OC222N Contact Output Unit (12 Points)
Min. Switching Capacity
Relay
ON Response Time
OFF Response Time
No. of Circuits
Item
Max. Switching Capacity
Service Life of Relay
OC222V OC222N
2 A 250 V AC (cos φ = 1), 2 A 250 V AC (cosφ =
0.4), 2 A 24 V DC (8 A/Unit)
10 mA 5 V DC
G6R-1 (24 V DC) with socket
G6RN-1-ACD (24 V DC)
PCB soldering
Electrical: 300,000 operations
Mechanical: 10,000,000 operations
Service life will vary depending on the current and ambient temperature.
15 ms max.
15 ms max.
1 (12 points/common) 8 points max. can be ON simultaneously.
Internal Current Consumption 8 mA 5 V DC max. 90 mA 26 V DC (8 points ON simultaneously.)
Weight 400 g max.
Circuit Configuration
Output indicator
OUT
L
OUT
L
Internal circuits
COM
250 V AC
24 V DC max.
630
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
Appendix A
L
L
L
L
L
L
9
11
3
5
7
NC
NC
COM
1
A0
A1
A2
A3
A4
A5
B0
0
B1
2
B2
4
B3
6
B4
8
B5
10
B6 NC
A6
B7 NC
A7
A8
B8
NC
B9
NC
L
L
L
L
L
L
250 V AC 24 V DC max.
(inductive load: 2 A, resistive load: 2 A) (8 A/Unit)
C200H-OC225 Contact Output Unit (16 Points)
Max. Switching Capacity
Min. Switching Capacity
Relay
Service Life of Relay
2 A 250 V AC (cos φ = 1), 2 A 250 V AC (cosφ = 0.4),
2 A 24 V DC (8 A/Unit)
10 mA 5 V DC
G6B-1174P-FD-US-M (24 V DC) with socket
Electrical: 500,000 operations (resistive load)/
100,000 operations (inductive load)
Mechanical: 50,000,000 operations
Service life will vary depending on the current and ambient temperature.
ON Response Time
OFF Response Time
10 ms max.
10 ms max.
No. of Circuits 1 (16 points/common) 8 points max. can be ON simultaneously.
Internal Current Consumption 50 mA 5 V DC max. 75 mA 26 V DC (8 points ON simultaneously.)
Weight 400 g max.
Circuit Configuration
Output indicator
Internal circuits
OUT
L
OUT
L
COM
250 V AC
24 V DC max.
631
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
L
L
L
L
L
L
L
L
1
3
5
7
9
11
13
15
COM
A0
A1
A2
A3
A4
A5
A6
B0
0
B1
2
B2
4
B3
6
B4
8
B5
10
B6
12
B7
14
A7
A8
B8
B9
NC
NC
L
L
L
L
L
L
L
L
Appendix A
Note This Unit can overheat if more than 8 output points are turned ON simultaneously.
C200H-OC226/OC226N Contact Output Unit (16 Points)
Min. Switching Capacity
Relay
ON Response Time
OFF Response Time
No. of Circuits
Item
Max. Switching Capacity
Service Life of Relay
OC226 OC226N
2 A 250 V AC (cos φ = 1), 2 A 250 V AC (cosφ =
0.4), 2 A 24 V DC (8 A/Unit)
10 mA 5 V DC
G6R-1 (24 V DC) with socket
G6RN-1-ACD (24 V DC)
PCB soldering
Electrical: 300,000 operations
Mechanical: 10,000,000 operations
Service life will vary depending on the current and ambient temperature.
15 ms max.
15 ms max.
1 (16 points/common) 8 points max. can be ON simultaneously.
Internal Current Consumption 30 mA 5 V DC max. 90 mA 26 V DC (8 points ON simultaneously.)
Weight 500 g max.
Circuit Configuration
250 V AC 24 V DC max.
(inductive load: 2 A, resistive load: 2 A) (8 A/Unit)
Output indicator
Internal circuits
OUT
L
OUT
L
COM
250 V AC
24 V DC max.
632
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
L
L
L
L
L
L
L
L
1
3
5
7
9
11
13
15
COM
A0
A1
A2
A3
A4
A5
A6
B0
0
B1
2
B2
4
B3
6
B4
8
B5
10
B6
12
B7
14
A7
A8
B8
B9
NC
NC
L
L
L
L
L
L
L
L
Appendix A
250 V AC 24 V DC max.
(inductive load: 2 A, resistive load: 2 A) (8 A/Unit)
Note 1.
Mount to the C200H-BC @@1-V1/V2 Backplane.
2.
The number of simultaneously ON contact points must be eight or less to ensure proper heat resistance.
About Contact Output Units
There are some differences in the relays used by the C200H and CS-series Contact Output Units. For this reason, when used in the ways shown below, there may be differences in the respective life expectancies of the relays.
• When using in excess of rated values
• When appropriate surge countermeasures are not taken
• When connected to a load (e.g., relay, solenoid, or motor) that generates a high counterelectromotive force when power is interrupted
• When connected to a load (e.g., capacitor or lamp) that generates a high inrush current when power is turned ON
In the above cases, ensure the rated life expectancies of the relays by, for example, taking the appropriate surge countermeasures as explained in the manual, or using a switching device (as a relay) with ratings appropriate for the load.
Life Expectancy of CS1W-OC201/211 Relays
The life expectancy of the CS1W-OC201/211 Contact Output Unit is shown in the following diagrams. Use the diagrams to calculate the relay service life based on the operating conditions, and replace the relay before the end of its service life.
Note The diagrams show the life expectancy of the relay itself. Do not use a contact current, therefore, that exceeds the maximum switching capacity specified in the specifications for each Contact Output Unit. If a switching capacity exceeding the specifications is used, the reliability and life expectancy of other parts will be reduced and the Unit may malfunction.
633
Specifications of Basic I/O Units and High-density I/O Units
Service life
( ×10
4 )
240 V AC
(cos φ = 0.4)
Service Life with AC Load
120 V AC, resistive load
240 V AC, resistive load
120 V AC
(cos φ = 0.4)
Service life
( ×10
4 )
Appendix A
Service Life with DC Load
24 V DC τ = 7 ms
24 V AC, resistive load
100 to 120 V DC,
τ = 7 to 40 ms
Contact current (A)
Max. switching frequency: 1,800 times/h
Contact current (A)
Life Expectancy of C200H-OC221/222/223/224/225 Contact Output Unit
The C200H-OC221/222/223/224/225 Contact Output Unit uses OMRON’s G6B-1174P-FD-US-M Relay. The life of the G6B-1174P-FD-US-M Relay varies with the contact current and ambient temperature. Refer to the following graphs to calculate this value, and be sure to replace the Relays before their service life expires.
Contact Current vs. Life Expectancy
Conditions
Switching frequency: 1,800 times/hour max.
Ambient temperature: 23
°C
Ambient Temperature vs. Life
Expectancy
Conditions
Switching frequency: 1,800 times/hour max.
OMRON's H3BA
Timer (200 V AC)
30 V DC, L/R = 40 ms
(electromagnetic valve)
OMRON's MA415A
Contactor (200 V AC)
250 V AC, cos
φ = 0.4
30 V DC, L/R = 7 ms
(HK, MM, and MY
Hinge-type Relay)
250 V AC, cos
φ =
130 V DC, L/R = 0
2 A at 250 V AC, resistive load
2 A at 30 V DC, resistive load
1 A at 250 V AC, resistive load
1 A at 30 V DC, resistive load
OMRON's
MY4 Relay
(200 V AC)
Electromagnetic valve (250 V AC), cos
φ = 0.08 to
0.1)
1 A at 250 V AC, inductive load
(cos
φ = 0.4)
1 A at 30 V DC, inductive load
(L/R = 7 ms)
2 A at 250 V AC, inductive load (cos
φ = 0.4)
2 A at 30 V DC, inductive load (L/R = 7 ms)
Contact current (normal current) (A) Ambient temperature (˚C)
Note 1.
If the Contact Output Unit is panel-mounted, the temperature inside the panel represents the ambient temperature.
2.
The life of the Relay at an ambient temperature of 55 °C is one-fifth the life of the Relay at room temperature (0 ° to 40°C).
Inductive Load
The life of the Relay varies with the load inductance. If any inductive load is connected to the Contact Output
Unit, use an arc killer with the Contact Output Unit using an inductive load.
Be sure to connect a diode in parallel with every DC inductive load that is connected to the Contact Output
Unit.
634
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Contact Protection Circuit
Arc killers are used with the Contact Output Unit in order to prolong the life of each Relay mounted to the Contact Output Unit, prevent noise, and reduce the generation of carbide and nitrate deposits. Arc killers can, however, reduce relay life if not use correctly.
Note Arc killers used with the Contact Output Unit can delay the resetting time required by each Relay mounted to the Contact Output Unit.
Arc killer circuit examples are listed in the following table.
Circuit
CR method
Current
AC
Yes
DC
Yes
Characteristic
Power supply
Diode method
Power supply
Varistor method
Power supply
No
Yes
Yes
Yes
Required element
If the load is a relay or solenoid, there is a time lag between the moment the circuit is opened and the moment the load is reset.
If the supply voltage is 24 or 48 V, insert the arc killer in parallel with the load. If the supply voltage is 100 to
200 V, insert the arc killer between the contacts.
The diode connected in parallel with the load changes energy accumulated by the coil into a current, which then flows into the coil so that the current will be converted into Joule heat by the resistance of the inductive load. This time lag, between the moment the circuit is opened and the moment the load is reset, caused by this method is longer than that caused by the CR method.
The varistor method prevents the imposition of high voltage between the contacts by using the constant voltage characteristic of the varistor. There is time lag between the moment the circuit is opened and the moment the load is reset.
If the supply voltage is 24 or 48 V, insert the varistor in parallel with the load. If the supply voltage is 100 to
200 V, insert the varistor between the contacts.
The capacitance of the capacitor must be 1 to 0.5 µF per contact current of
1 A and resistance of the resistor must be 0.5 to 1 Ω per contact voltage of 1 V.
These values, however, vary with the load and the characteristics of the relay. Decide these values from experiments, and take into consideration that the capacitance suppresses spark discharge when the contacts are separated and the resistance limits the current that flows into the load when the circuit is closed again.
The dielectric strength of the capacitor must be 200 to 300 V. If the circuit is an
AC circuit, use a capacitor with no polarity.
The reversed dielectric strength value of the diode must be at least 10 times as large as the circuit voltage value.
The forward current of the diode must be the same as or larger than the load current.
The reversed dielectric strength value of the diode may be two to three times larger than the supply voltage if the arc killer is applied to electronic circuits with low circuit voltages.
---
Note Do not connect a capacitor as an arc killer in parallel with an inductive load as shown in the following diagram. This arc killer is very effective for preventing spark discharge at the moment when the circuit is opened. However when the contacts are closed, the contacts may be welded due to the current charged in the capacitor.
DC inductive loads can be more difficult to switch than resistive loads. If appropriate arc killers are used, however, DC inductive loads will be as easy to switch as resistive loads.
635
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Power supply
CS1W-OA211 Triac Output Unit (16 Points)
Max. Switching Capacity
Max. Inrush Current
Min. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
0.5 A 250 V AC, 50/60 Hz (2 A/common, 4 A/Unit)
15 A (pulse width: 10 ms)
50 mA 75 V AC
1.5 mA (200 V AC) max.
1.6 V AC max.
1 ms max.
1/2 of load frequency+1 ms or less.
2 (8 points/common)
Surge Protector
Fuses
C.R Absorber + Surge Absorber
2 × 4 A (1 per common)
The fuse cannot be replaced by the user.
Blown Fuse Detection Circuit None
Insulation Resistance 20 M Ω between the external terminals and the GR terminal (500 V DC)
Dielectric Strength 2,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 406 mA 5 V DC max. (70 mA + 21 mA × No. of ON points)
Weight 300 g max.
Circuit Configuration
Output indicator
IN0 to
IN7
COM0
Fuse
Fuse
IN8 to
IN15
COM1
Terminal Connections
COM0
0.5 A
250 V AC max.
COM1
636
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Note Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
C200H-OA221 Triac Output Unit (8 Points)
Max. Switching Capacity
Min. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
1 A 250 V AC, 50/60 Hz (4 A/Unit)
10 mA (resistive load)/40 mA (inductive load) 10 V
AC
3 mA (100 V AC) max./6 mA (200 V AC) max.
1.2 V max.
1 ms max.
1/2 of load frequency or less.
No. of Circuits 1 (8 points/common)
Internal Current Consumption 140 mA 5 V DC max.
Fuse Rating
Weight
5 A 250 V (5.2-dia. × 20)
250 g max.
Circuit Configuration
OUT
L
Output indicator
OUT
L
Internal circuits
Fuse
COM
250 V AC max.
Fuse blowout detection circuit
F indicator
Fuse: 5 A 250 V (5.2-dia. x 20) MF51SH (JIS)
Note When the fuse blows, the F indicator lights and bit 08 turns ON. Bits 08 through 15 cannot be used as work bits.
Terminal Connections
250 V AC max.
(1 A max. 4 A/Unit)
L
L
L
L
L
L
L
L
COM
4
5
6
7
2
3
0
1
NC
A4
A5
A6
A7
A0
A1
A2
A3
A8
A9
637
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-OA223 Triac Output Unit (8 Points)
Max. Switching Capacity
Max. Inrush Current
Min. Switching Capacity
1.2 A 250 V AC, 50/60 Hz (4 A/Unit)
15 A (pulse width: 100 ms)
30 A (pulse width: 10 ms)
100 mA 10 V AC/50 mA 24 V AC/10 mA 100 V AC min.
1.5 mA (120 V AC) max./3 mA (240 V AC) max.
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
1.5 V AC max. (50 to 1,200 mA)/ 5 V AC max. (10 to
50 mA)
1 ms max.
1/2 of load frequency+1 ms or less.
1 (8 points/common)
Internal Current Consumption 180 mA 5 V DC max.
Fuse Rating 5 A 250 V (5.2-dia. × 20)
Power for External Supply
Weight
N/A
300 g max.
Circuit Configuration
OUT
L
Output indicator
OUT
L
Internal circuits
Fuse
COM
250 V AC max.
Fuse blowout detection circuit
F indicator
Fuse: 5 A 250 V (5.2-dia. x 20) HT (SOC)
Note When the fuse blows, the F indicator lights and bit 08 turns ON. Bits 08 through 15 cannot be used as work bits.
Terminal Connections
250 V AC max.
(1.2 A max. 4 A/Unit)
L
L
L
L
L
L
L
L
COM
NC
A7
A8
A9
A4
A5
A6
A0
A1
A2
A3
5
6
3
4
7
0
1
2
638
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-OA222V Triac Output Unit (12 Points)
Max. Switching Capacity
Min. Switching Capacity
Leakage Current
Residual Voltage
0.3 A 250 V AC, 50/60 Hz (2 A/Unit)
10 mA (resistive load)/40 mA (inductive load) 10 V
AC
3 mA (100 V AC) max./6 mA (200 V AC) max.
1.2 V max.
ON Response Time
OFF Response Time
1/2 of load frequency or less
1/2 of load frequency or less.
No. of Circuits 1 (12 points/common)
Internal Current Consumption 200 mA 5 V DC max.
Fuse Rating
Weight
3 A 250 V (5.2-dia. × 20)
400 g max.
Circuit Configuration
OUT
L
Output indicator
OUT
L
Internal circuits
Fuse
COM
250 V AC max.
Fuse: 3 A 250 V (5.2-dia. x 20) MQ4 (SOC)
Note 1.
No blown fuse detector circuit is provided.
2.
Check the fuse when there is no output.
Terminal Connections
250 V AC max.
(0.3 A max., 2 A/Unit)
L
L
L
L
L
L
5
7
1
3
9
11
NC
NC
COM
A0
A1
A2
A3
A4
A5
A6
B6
A7
B8
A8
B7
B9
B0
0
B1
2
B2
4
B3
6
B4
8
B5
10
NC
NC
NC
NC
L
L
L
L
L
L
639
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-OA224 Triac Output Unit (12 Points)
Max. Switching Capacity
Max. inrush current
Min. Switching Capacity
0.5 A 250 V AC, 50/60 Hz (2 A/Unit)
10 A (pulse width: 100 ms)
20 A (pulse width: 10 ms)
100 mA 10 V AC/50 mA 24 V AC/10 mA 100 V AC min.
1.5 mA (120 V AC) max./3 mA (240 V AC) max.
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
1.5 V AC max. (50 to 500 mA)/5 V AC max. (10 to
50 mA)
1 ms max.
1/2 of load frequency + 1 ms or less.
1 (12 points/common)
Internal Current Consumption 270 mA 5 V DC max.
Fuse Rating 3.15 A 250 V (5.2-dia. × 20)
Weight 300 g max.
Circuit Configuration
Output indicator
OUT
L
OUT
L
Internal circuits
Fuse
COM
250 V AC max.
Fuse: 3.15 A 250 V (5.2-dia. x 20) MT4 (SOC)
Note 1.
No blown fuse detector circuit is provided.
2.
Check the fuse when there is no output.
Terminal Connections
250 V AC max.
(0.5 A max., 2 A/Unit)
L
L
L
L
L
L
1
3
5
7
9
11
NC
NC
COM
A0
A1
A2
A3
A4
B0
0
B1
2
B2
4
B3
6
B4
8
B5
10
A5
B6 NC
A6
A7
B7 NC
A8
B8
NC
B9 NC
L
L
L
L
L
L
640
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-OA201 Triac Output Unit (8 Points) (See note 1.)
Max. Switching Capacity
Max. Inrush Current
Min. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
Surge Protector
Fuses
Blown Fuse Detection Circuit
Insulation Resistance
Dielectric Strength
Internal Current Consumption
Weight
1.2 A 250 V AC, 50/60 Hz (4.8 A/Unit)
10 A (pulse width: 100 ms), 20 A (pulse width:
10 ms)
100 mA 10 V AC, 50 mA 24 V AC, 10 mA 100 V
AC min.
1.5 mA (120 V AC) max., 3.0 mA (240 V AC) max.
1.5 V AC max. (50 to 500 mA), 5.0 V AC max. (10 to 50 mA)
1 ms max.
1/2 of load frequency+1 ms or less.
1 (8 points/common)
C.R Absorber + Surge Absorber
8A
The fuse cannot be replaced by the user.
ERR indicator lit when fuse blown. Also, the corresponding Flag in the Basic I/O Unit Information
Area (A050 to A089) will turn ON.
20 M Ω between the external terminals and the GR terminal (500 V DC)
2,000 V AC between the external terminals and the GR terminal for 1 minute at a leakage current of 10 mA max.
230 mA 5 V DC max. (70 mA + 20 mA × No. of ON points)
300 g max.
Circuit Configuration
Output indicator
ERR indicator
Fuse
IN0 to
IN7
COM
Blown fuse detection circuit
Terminal Connections
1.2 A 250 V AC max.
641
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Note 1.
This Unit uses only 8 bits for external I/O even though 16 bits (1 word) are allocated. This Unit is also treated as a 16-point Unit in the I/O tables.
2.
Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
C200H-OD213 Transistor Output Unit (8 Points)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
2.1 A 24 V DC (20.4 to 26.4 V DC) (5.2 A/Unit) NPN output
0.1 mA max.
1.4 V max.
0.2 ms max.
0.3 ms max.
No. of Circuits 1 (8 points/common)
Internal Current Consumption 140 mA 5 V DC max.
Fuse Rating
Power for External Supply
8 A 125 V (5.2-dia. × 20)
30 mA 20.4 to 26.4 V DC min.
Weight 250 g max.
Circuit Configuration
OUT
L
+ V
Output indicator
OUT
L
Internal circuits
COM
24 V DC
Fuse
Fuse blowout detection circuit
Fuse: UL-TSC-8A-N1 (SOC)
8 A 125 V 5.2-dia.
× 20
F indicator
Note When the fuse blows, the F indicator lights and bit 08 turns ON. Bits 08 through 15 cannot be used as work bits.
Terminal Connections
24 V DC
(2.1 A max., 5.2 A/Unit)
0
L
1
L
2
L
3
L
L
L
6
L
7
L
COM (0 V)
4
5
24 V DC
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
Note 1.
Be sure to supply power to A9; otherwise current will leak through the load while the output is OFF.
2.
Incorrect load operation may result if polarity is not connected correctly.
642
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-OD411 Transistor Output Unit (8 Points)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
10.2 to 52.8 V DC 1 A (3 A/Unit)
0.1 mA max.
1.4 V max.
0.2 ms max.
OFF Response Time
No. of Circuits
0.3 ms max.
1 (8 points/common)
Internal Current Consumption 140 mA 5 V DC max.
Fuse Rating 5 A 125 V (5.2-dia. × 20)
Power for External Supply
Weight
30 mA 10.2 to 52.8 V DC min.
250 g max.
Circuit Configuration
OUT
L
V
Output indicator
OUT
L
Internal circuits Fuse
Fuse blowout detection circuit
COM
12 to
48 V DC
Fuse: FGMT (Fuji Terminal Industry Co. Ltd.)
5 A 125 V 5.2-dia. x 20
F indicator
Note When the fuse blows, the F indicator lights and bit 08 turns ON. Bits 08 through 15 cannot be used as work bits.
Terminal Connections
12 to 48 V DC
(1 A max., 3 A/Unit)
0
L
1
L
L
2
3
L
4
L
L
5
6
L
7
L
COM (0 V)
12 to 48 V DC
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
Note Be sure to supply power to A9; otherwise current will leak through the load while the output is OFF.
643
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-OD211 Transistor Output Unit (12 Points)
Max. Switching Capacity
Leakage Current
Residual Voltage
0.3 A 24 V DC (20.4 to 26.4 V DC) (2 A/Unit)
0.1 mA max.
1.4 V max.
ON Response Time
OFF Response Time
0.2 ms max.
0.3 ms max.
No. of Circuits 1 (12 points/common)
Internal Current Consumption 160 mA 5 V DC max.
Fuse Rating
Power for External Supply
Weight
5 A 125 V (5.2-dia. × 20)
25 mA 20.4 to 26.4 V DC min.
300 g max.
Circuit Configuration
OUT
L
+V
Output indicator
OUT
L
Internal circuits
Fuse
24 V DC
COM
Fuse: FGMT (Fuji Terminal Industry Co. Ltd.)
5 A 125 V 5.2-dia.
× 20
Note 1.
No blown fuse detector circuit is provided.
2.
Check the fuse when there is no output.
Terminal Connections
24 V DC
(0.3 A max., 2 A/Unit)
L
L
L
L
L
L
1
3
5
7
9
11
NC
NC
COM (0 V)
A0
B1
A1
B0
B2
A2
B3
A3
B4
A4
B5
A5
A6
B6
B7
A7
B8
A8
B9
0
2
4
6
8
10
NC
NC
L
L
L
L
L
L
NC
+ 24 V DC
Note 1.
Be sure to supply power to B9; otherwise current will leak through the load while the output is OFF.
2. Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
644
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-OD212 Transistor Output Unit (16 Points)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
0.3 A 24 V DC (20.4 to 26.4 V DC) (4.8 A/Unit)
0.1 mA max.
1.4 V max.
0.2 ms max.
OFF Response Time
No. of Circuits
0.3 ms max.
1 (16 points/common)
Internal Current Consumption 180 mA 5 V DC max.
Fuse Rating 8 A 125 V (5.2-dia. × 20)
Power for External Supply
Weight
35 mA 24 V DC (20.4 to 26.4 V DC) min.
350 g max.
Circuit Configuration
Units manufactured on or before October 9, 2002
(manufacturing numbers 09X2 or earlier)
OUT
L
+ V
Output indicator
OUT
L
Internal circuits Fuse COM
24 V DC
Fuse: UL-TSC-8A-N1 (SOC)
8 A 125 V 5.2-dia.
× 20
Units manufactured on or after October 10, 2002
(manufacturing numbers 10X2H or later)
OUT
L to
+V
Output indicator
OUT
L
24 V DC
Fuse COM
Built-in FET
Note 1.
No blown fuse detector circuit is provided.
2.
Check the fuse when there is no output.
645
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
Appendix A
24 V DC
(0.3 A max.)
L
L
L
L
L
L
L
L
1
3
5
7
9
11
13
15
COM (0 V)
A0
B0
B1
A1
B2
A2
B3
A3
B4
A4
B5
A5
B6
A6
B7
A7
B8
A8
B9
0
2
4
6
8
10
12
14
L
L
L
L
L
L
L
L
NC
+ 24 V DC
Note 1.
Be sure to supply power to B9; otherwise current will leak through the load while the output is OFF.
2.
Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
CS1W-OD211 Transistor Output Unit (16 Points, Sinking)
Rated Voltage 12 to 24 V DC
Operating Load Voltage Range 10.2 to 26.4 V DC
Maximum Load Current
Maximum Inrush Current
Leakage Current
Residual Voltage
0.5 A/point, 4.0 A/common, 8.0 A/Unit
4.0 A/point, 10 ms max.
0.1 mA max.
1.5 V max.
ON Response Time
OFF Response Time
Insulation Resistance
Dielectric Strength
0.5 ms max.
1.0 ms max.
20 M Ω between the external terminals and the GR terminal (100 V DC)
1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
No. of Circuits 16 (8 points/common, 2 circuits)
Internal Current Consumption 5 V DC 170 mA max.
Fuse
External Power Supply
None
10.2 to 26.4 V DC, 20 mA min.
Weight 270 g max.
Circuit Configuration
Output indicator
646
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
12 to 24 V DC
Appendix A
12 to 24 V DC
Note Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
When wiring, pay careful attention to the polarity. The load may operate incorrectly if the polarity is reversed.
CS1W-OD231 Transistor Output Unit (32 Points, Sinking)
Rated Voltage 12 to 24 V DC
Operating Load Voltage Range 10.2 to 26.4 V DC
Maximum Load Current
Maximum Inrush Current
Leakage Current
Residual Voltage
0.5 A/point, 2.5 A/common, 5.0 A/Unit (See note.)
4.0 A/point, 10 ms max.
0.1 mA max.
1.5 V max.
ON Response Time
OFF Response Time
Insulation Resistance
Dielectric Strength
0.5 ms max.
1.0 ms max.
20 M Ω between the external terminals and the GR terminal (100 V DC)
1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
No. of Circuits 32 (16 points/common, 2 circuits)
Internal Current Consumption 5 V DC 270 mA max.
Fuse
External Power Supply
None
10.2 to 26.4 V DC, 30 mA min.
Weight
Accessories
200 g max.
One connector for external wiring (soldered)
Note The maximum load currents will be 2.0 A/common and 4.0 A/Unit if a pressure-welded connector is used.
647
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Output indicator
Terminal Connections
I/O word "m + 1" I/O word "m"
Appendix A
12 to 24 V DC 12 to 24 V DC
• When wiring, pay careful attention to the polarity. The load may operate if the polarity is reversed.
• Although the +V and COM terminals of rows A and B are internally connected, wire all points completely.
C200H-OD218 Transistor Output Unit (32 Points)
Max. Switching Capacity
Leakage Current
Residual Voltage
Weight
16 mA 4.5 V DC to 100 mA 26.4 V DC (see below)
0.1 mA max.
0.8 V max.
ON Response Time
OFF Response Time
0.1 ms max.
0.4 ms max.
No. of Circuits 1 (32 points/common)
Internal Current Consumption 180 mA 5 V DC max.
Fuse Rating
Power for External Supply
3.5 A (The fuse is not user-replaceable.)
110 mA 5 to 24 V DC ±10% min.
(3.4 mA × number of ON pts)
180 g max.
648
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration and Maximum Switching Capacity
Units manufactured on or before January 28, 2000
(manufacturing numbers 2810 or earlier)
4.5 to
26.4 V DC
OUT00
Internal circuits
Output indicator
Output indicator
Fuse
(3.5 A)
OUT07
COM
4.5 to
26.4 V DC
OUT08
OUT15
COM
4.5 to
26.4 V DC
OUT00
Fuse blowout detection circuit
F indicator
OUT07
COM
4.5 to
26.4 V DC
OUT08
OUT15
COM
A
B
100
50
Units manufactured between January 31, 2000 and
October 9, 2002 (manufacturing numbers 3110 to 09X2)
4.5 to
26.4 V DC
OUT00
Internal circuits
Output indicator
OUT07
COM
4.5 to
26.4 V DC
OUT08
Fuse blowout detection circuit
Output indicator
F indicator
Fuse
(3.5 A)
OUT15
COM
4.5 to 26.4
V DC
OUT00
OUT07
COM
4.5 to
26.4 V DC
OUT08
OUT15
COM
A
B
Appendix A
16
0
0 4.5
10 20.4
Power Supply Voltage (V)
26.4
649
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Units manufactured on or after October 10, 2002
(manufacturing numbers 10X2H or later)
Fuse blowout detection circuit
Output indicator
Output indicator
F indicator
Fuse
4.5 to
26.4 V DC
OUT00 to
OUT07
COM
A
4.5 to
26.4 V DC
OUT08 to
OUT15
COM
4.5 to
26.4 V DC
OUT00 to
OUT07
COM B
4.5 to
26.4 V DC
OUT08 to
OUT15
COM
Terminal Connections
+
+
I/O word "m"
A B
2
3
4
0
1
5
6
7
L
L
L
L
L
L
L
L
COM
8
L
9
L
10
L
11
L
12
L
13
L
14
L
L
COM
15
10 10
11 11
12
13
14
15
16
17
18
19
12
13
14
15
16
17
18
19
20 20
7
8
9
5
6
3
4
1
2
7
8
9
5
6
3
4
1
2
I/O word "m+1"
2
3
4
0
1
5
6
7
L
L
L
L
L
L
L
L
COM
8
L
9
L
10
L
11
L
12
L
13
L
14
L
15
L
COM
+
+
4.5 to
26.4 V DC
Note 1.
When the fuse blows, the F indicator will light and the corresponding flag in the Basic I/O Unit Information Area (A050 to A089) will turn ON.
2.
The interruption of power from the external power supply is treated the same as a fuse blowout.
650
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
3.
Connect power supply wiring to every COM terminal, even though the COM terminals are connected internally.
CS1W-OD261 Transistor Output Unit (64 Points, Sinking)
Rated Voltage 12 to 24 V DC
Operating Load Voltage Range 10.2 to 26.4 V DC
Maximum Load Current
Maximum Inrush Current
0.3 A/point, 1.6 A/common, 6.4 A/Unit
3.0 A/point, 10 ms max.
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
Insulation Resistance
Dielectric Strength
0.1 mA max.
1.5 V max.
0.5 ms max.
1.0 ms max.
20 M Ω between the external terminals and the GR terminal (100 V DC)
1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
No. of Circuits 64 (16 points/common, 4 circuits)
Internal Current Consumption 5 V DC 390 mA max.
Fuse
External Power Supply
Weight
Accessories
None
10.2 to 26.4 V DC, 50 mA min.
260 g max.
Two connectors for external wiring (soldered)
Circuit Configuration
Output indicator
651
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
I/O word "m+1" I/O word "m" I/O word "m+2"
12 to
24 V DC
12 to
24 V DC
12 to 24 V DC
I/O word "m+3"
12 to
24 V DC
Appendix A
12 to 24 V DC
12 to
24 V DC
• When wiring, pay careful attention to the polarity. The load may operate if the polarity is reversed.
• Although the +V and COM terminals of rows A and B of CN1 and CN2 are internally connected, wire all points completely.
C200H-OD219 Transistor Output Unit (64 Points)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
16 mA 4.5 V DC to 100 mA 26.4 V DC (see below)
0.1 mA max.
0.8 V max.
0.1 ms max.
0.4 ms max.
No. of Circuits 2 (32 points/common)
Internal Current Consumption 270 mA 5 V DC max.
Fuses
Power for External Supply
Weight
Two 3.5 A fuses (1 fuse/common)
The fuses are not user-replaceable.
220 mA 5 to 24 V DC ±10% min.
(3.4 mA × number of ON pts)
250 g max.
652
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Units manufactured on or before January 28, 2000
(manufacturing numbers 2810 or earlier)
4.5 to
26.4 V DC
OUT00
Internal circuits
OUT07
Fuse
COM0
4.5 to
26.4 V DC
OUT08
OUT15
COM0
Indicator switch/ fuse blowout detection circuit
Output indicator
F indicator
SW CN1
CN2
Internal circuits
Fuse
4.5 to
26.4 V DC
OUT00
OUT07
COM1
4.5 to
26.4 V DC
OUT08
OUT15
COM1
CN1
CN2
Units manufactured between January 29, 2000 and
October 10, 2002 (manufacturing numbers 3110 to 10X2)
4.5 to
26.4 V DC
OUT00
Internal circuits
OUT07
COM0
CN1
Fuse
4.5 to
26.4 V DC
OUT08
OUT15
COM0 Indicator switch/ fuse blowout detection circuit
Output indicator
F indicator
SW CN1
CN2
Internal circuits
Fuse
4.5 to
26.4 V DC
OUT00
OUT07
COM1
4.5 to
26.4 V DC
OUT08
OUT15
COM1
CN2
Appendix A
653
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Maximum Switching Capacity
100
Units manufactured on or after October 11, 2002
(manufacturing numbers 11X2H or later)
Fuse
4.5 to
26.4 V DC
OUT00 to
OUT07
COM0
4.5 to
26.4 V DC
OUT08 to
OUT15
COM0
CN1
Indicator switch/ fuse blowout detection circuit
SW
CN1
CN2
Output indicator
F indicator
Fuse
4.5 to
26.4 V DC
OUT00 to
OUT07
COM1
4.5 to
26.4 V DC
OUT08 to
OUT15
COM1
CN2
50
16
0
0 4.5
10 20.4 26.4
Power Supply Voltage (V)
6.4
6.0
5.0
4.0
3.0
2.0
1.0
0
0 10 20 30 40 505560
Ambient Temperature ( °C)
654
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
CN1
+
+
I/O word "m+1"
B
COM0
L
L
L
L
L
L
L
L
COM0
L
L
L
L
L
L
L
L
11
10
9
8
15
14
13
12
17
16
15
14
13
12
11
10
9
20
19
18
8
7
6
5
4
3
2
1
7
6
5
4
3
2
1
0
I/O word "m"
A
17
16
15
14
13
12
11
10
9
20
19
18
8
7
6
5
4
3
2
1
7
6
5
4
3
2
1
0
15
14
9
8
13
12
11
10
COM0
L
L
L
L
L
L
L
L
COM0
L
L
L
L
L
L
L
L
+
+
CN2
+
+
I/O word "m+2"
8
L
9
L
10
L
11
L
12
L
13
L
14
L
L
COM1
15
0
L
1
L
2
L
3
L
4
L
5
L
6
L
L
COM1
7
A
18
19
20
14
15
16
17
10 10
11 11
12
13
12
13
14
15
16
17
18
19
20
7
8
9
5
6
3
4
1
2
8
9
5
6
3
4
1
2
B
I/O word "m+3"
0
1
L
L
2
3
L
L
4
5
L
L
7
6
7
L
L
COM1
+
8
L
9
L
10
L
11
L
12
L
13
L
14
L
15
L
COM1
+
4.5 to
26.4 V DC
Note 1.
When either fuse blows, the F indicator will light and the corresponding Flag in the Basic I/O Unit Information Area (A050 to A089) will turn ON.
2.
The interruption of power from the external power supply is treated the same as a fuse blowout.
3.
Connect power supply wiring to every COM terminal, even though the COM terminals in each connector are connected internally.
655
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-OD291 Transistor Output Unit (96 Points, Sinking)
Rated Voltage
Operating Load Voltage
Maximum Load Current
Maximum Inrush Current
12 to 24 V DC
10.2 to 26.4 V DC
0.1 A/point, 1.2 A/common, 7.2 A/Unit (See note 2.)
1.0 A/point, 10 ms max.
8.0 A/common, 10 ms max.
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
Insulation Resistance
Dielectric Strength
0.1 mA max.
1.5 V max.
0.5 ms max.
1.0 ms max.
20 M Ω between the external terminals and the GR terminal (100 V DC)
1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
No. of Circuits 6 (16 points/common)
Internal Current Consumption 480 mA max. at 5 V DC
Fuse 3 A (1 per common)
The fuse cannot be replaced by the user.
External Power Supply
Weight
Accessories
10.2 to 26.4 V DC, 100 mA min.
320 g max.
Two connectors for external wiring (soldered)
Circuit Configuration
10.2 to
26.4 V DC x 3 CN1 circuits
Fuse
Indicator switch circuit
Blown fuse detection circuit
Output indicator
ERR indicator
10.2 to
26.4 V DC x 3 CN2 circuits
Fuse
Note 1.
The ERR indicator will light if a fuse blows or if the external power supply is turned OFF, and the corresponding Flag in the Basic I/O Unit Information Area (A050 to A089) will turn ON.
2.
The maximum load currents will be 1.0 A/common and 6.0 A/Unit if a pressure-welded connector is used.
656
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections: CS1W-OD291 24-V DC 96-point Transistor Output Unit (Sinking Outputs)
COM2
12 to
24 V DC
12 to
24 V DC
COM3
COM1
12 to
24 V DC
12 to
24 V DC
COM4
COM0
12 to
24 V DC
12 to
24 V DC
COM5
C200H-OD214 Transistor Output Unit (8 Points, Sourcing)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
24 V DC (20.4 to 26.4 V DC) 0.8 A (2.4 A/Unit)
1 mA max.
1.5 V max.
1 ms max.
1 ms max.
1 (8 points/common)
Internal Current Consumption 140 mA 5 V DC max.
Short-circuit protection Overcurrent protection
Thermal protection
Power for External Supply
Weight
150 mA 20.4 to 26.4 V DC min.
250 g max.
657
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Source
Driver
Internal circuits
Reset button
OUT
L
Output indicator
+ V
+
OUT
L
COM
Alarm Output indicator
24 V DC
Appendix A
Terminal Connections
24 V DC
0
L
L
L
L
L
L
L
L
COM (0 V)
24 V DC
3
4
1
2
5
6
7
A4
A5
A6
A7
A0
A1
A2
A3
A8
A9
Note Be sure to supply power to A9; otherwise current will leak through the load while the output is OFF.
C200H-OD214 Short-circuit Protection
The C200H-OD214 Output Unit is equipped with two types of short-circuit protection: overcurrent protection and thermal protection. Any short-circuit must be eliminated immediately to protect the Unit.
Overcurrent Protection
When the output current reaches 2 A, the alarm output turns ON, and the alarm indicator lights. Make sure the surge current of the load does not exceed 2 A, or the alarm may be activated.
Thermal Protection
When the junction temperature of the output transistor reaches its upper limit, the output will turn OFF, the alarm output will turn ON, and the alarm indicator will flash protect to the transistor.
As shown in the alarm output table given below, there is one alarm indicator and alarm output bit for every two outputs. The alarm indicator and alarm output bit will function the same regardless of which output an alarm is detected for.
Thermal protection also works for two outputs at a time. If the thermal protection level is detected for one of the outputs, the other output will be turned OFF as well.
The output transistor is provided with a cooling plate. If only one of the outputs is short-circuited, heat generation will be balanced with heat radiation, and the transistor junction temperature may increase high enough to activate thermal protection. The alarm indicator and alarm output bit, however, will operate so that the alarm can be detected.
658
Specifications of Basic I/O Units and High-density I/O Units
How It Works
When the short-circuit protection activates, the output displays the characteristic shown below.
Appendix A
Output
Voltage
Overcurrent limit alarm output point
0 Output current:
2 A (minimum value)
Clearing the Alarm
When the short-circuit has been eliminated, reset the Unit by pressing the reset button. The alarm indicator will go out, the alarm output bit will turn OFF, and the output will be reset.
Operating Restrictions
Although the C200H-OD214 is provided with short-circuit protection, these are for protecting internal circuits against momentary short-circuiting in the load. Leaving short-circuits for any length of time will cause internal temperature rise, deterioration of elements, discoloration of the case or PCBs, etc. Therefore, observe the following restrictions.
If a short-circuit occurs in an external load, immediately turn OFF the corresponding output. The C200H-
OD214 turns ON an alarm output bit that corresponds with the external load output number. Each pair of outputs share one alarm indicator and one alarm output bit as shown below (bits 12 through 15 are not used and cannot be used as work bits)
Output No.
Alarm indicator No.
Alarm Output Point No.
0 1 2 3 4 5 6 7
0 2 4 6
08 09 10 11
Both the alarm indicator and alarm output bit for the short-circuited output turn ON even if only one of the outputs is short-circuited. Both outputs should be disconnected until the short-circuit can be traced.
Programming Example
If there is a short-circuit in an output, we want the program to turn that output OFF. Assume that the Unit is mounted at CIO 000. A program to turn OFF output bits 00 and 01 is shown below.
A 00008
00000
B 00008
00001
Since alarm output bit 08 covers both output bits 00 and 01, both these outputs are forced OFF as soon as output bit 08 turns ON (bits A and B can be any other bits required in the program).
659
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-OD216 Transistor Output Unit (8 Points, Sourcing)
Max. Switching Capacity
Min. Switching Capacity
Leakage Current
Residual Voltage
0.3 A 5 to 24 V DC
10 mA 5 V DC
0.1 mA max.
1.5 V max.
ON Response Time
OFF Response Time
1.5 ms max.
2 ms max.
No. of Circuits 1 (8 points/common) positive common (source type)
Internal Current Consumption 10 mA 5 V DC max. 75 mA 26 V DC (8 points ON simultaneously.)
Fuse Rating
Weight
None
250 g max.
Circuit Configuration
Internal circuits
Output indicator
OUT
L
OUT
L
5 to 24 V DC
COM
Terminal Connections
5 to 24 V DC
L
0
A0
L
1
A1
2
L A2
L
3
A3
L
4
A4
L
5
A5
L
6
A6
L
7
A7
COM A8
NC A9
660
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-OD217 Transistor Output Unit (12 Points, Sourcing)
Max. Switching Capacity
Min. Switching Capacity
Leakage Current
Residual Voltage
0.3 A 5 to 24 V DC
10 mA 5 V DC
0.1 mA max.
1.5 V max.
ON Response Time
OFF Response Time
1.5 ms max.
2 ms max.
No. of Circuits 1 (12 points/common) positive common (source type)
Internal Current Consumption 10 mA 5 V DC max. 75 mA 26 V DC (8 points ON simultaneously.)
Fuse Rating
Weight
None
300 g max.
Circuit Configuration
Internal circuits
Output indicator
OUT
L
OUT
L
5 to
24 V DC
COM
Terminal Connections
5 to 24 V DC
L
L
L
L
L
L
1
A0
3
5
A1
7
A2
A3
9
A4
11
A5
NC A6
NC A7
COM A8
B0
B1
B2
B3
B4
B5
0
L
2
L
4
L
6
L
8
L
10
L
B6 NC
B7 NC
B8
B9
NC
NC
661
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-OD212 Transistor Output Unit (16 Points, Sourcing)
Rated Voltage 24 V DC
Operating Load Voltage Range 20.4 to 26.4 V DC
Maximum Load Current
Maximum Inrush Current
0.5 A/point, 2.5 A/common, 5.0 A/Unit
0.1 mA max.
Leakage Current
ON Response Time
1.5 V max.
0.5 ms max.
OFF Response Time 1.0 ms max.
Load Short-circuit Prevention Detection current: 0.7 to 2.5 A
Automatic restart after error clearance. (Refer to the following pages.)
Insulation Resistance 20 M Ω between the external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
No. of Circuits 16 (8 points/common, 2 circuits)
Internal Current Consumption 5 V DC 170 mA max.
External Power Supply
Weight
20.4 to 26.4 V DC, 40 mA min.
270 g max.
Circuit Configuration
Output indicator
ERR indicator
When overcurrent is detected, the ERR indicator will light, and the corresponding flag in the Basic I/O Unit
Information Area (A050 to A089) will turn ON.
662
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
Appendix A
24 V DC
24 V DC
Note Terminal numbers A0 to A9 and B0 to B9 are used in this manual, but they are not printed on the Unit.
When wiring, pay careful attention to the polarity of the external power supply. The load may operate if the polarity is reversed.
Load Short-circuit Protection
This section describes the load short-circuit protection of the CS1W-OD212/OD232/OD262/MD262, C200H-
OD21B Output Units.
As shown below, normally when the output bit turns ON (OUT), the transistor will turn ON and then output current (Iout) will flow. If the output (Iout) is overloaded or short-circuited exceeding the detection current (Ilim), the output current (Iout) will be limited as shown in Figure 2 below. When the junction temperature (Tj) of the output transistor reaches the thermal shutdown temperature (Tstd), the output will turn OFF to protect the transistor from being damaged, and the alarm output bit will turn ON to light the ERR indicator. When the junction temperature (Tj) of the transistor drops down to the reset temperature (Tr), the ERR indicator will be automatically reset and the output current will start flowing.
Figure 1: Normal Condition
OUT: OUTPUT instruction
I
OUT current
ERR: Alarm output, ERR indicator
I lim current
Tj: Junction temperature of transistor
Tstd: Thermal shutdown temperature
663
Specifications of Basic I/O Units and High-density I/O Units
Figure 2: Overload or Short-circuit
Appendix A
Operating Restrictions
Although the CS1W-OD212/OD232/OD262/MD262 and C200H-OD21B are provided with short-circuit protection, these are for protecting internal circuits against momentary short-circuiting in the load. As shown in Figure
2 below, the short-circuit protection is automatically released when the Tj equals to Tr. Therefore, unless the cause of short-circuit is removed, ON/OFF operations will be repeated in the output. Leaving short-circuits for any length of time will cause internal temperature rise, deterioration of elements, discoloration of the case or
PCBs, etc. Therefore, observe the following restrictions.
Restrictions
If a short-circuit occurs in an external load, immediately turn OFF the corresponding output and remove the cause. The CS1W-OD212/OD232/OD262/MD262 and C200H-OD21B turn ON an alarm output bit that corresponds to the external load output number. There is an alarm output bit for every common.
When an alarm output bit turns ON, use a self-holding bit for the alarm in the user program and turn OFF the corresponding output.
The alarm output bit is allocated in the Basic I/O Unit Information Area (A050 to A089) for every Unit mounting slot.
The following table shows the correspondence between output bits and bits in the Basic I/O Unit Information
Area.
Output bit
0 to 7 m
8 to 15 m+1
0 to 15 m+2
0 to 15 m+3
0 to 15
CS1W-OD212 Mounted in even slot 0
Mounted in odd slot 8
CS1W-OD232 Mounted in even slot 0
Mounted in odd slot 8
CS1W-OD262 Mounted in even slot 0
Mounted in odd slot 8
CS1W-MD262 Mounted in even slot 0
Mounted in odd slot 8
C200H-OD21B Mounted in even slot 0
Mounted in odd slot 8
1
9
1
9
1
9
1
9
---
---
---
---
2
10
---
---
---
---
---
---
---
---
3
11
---
---
---
---
---
---
---
---
For example, when the CS1W-OD212 is mounted in slot 0 on Rack 0, A05001 will turn ON if the output 8 is short-circuited. When the CS1W-OD262 is mounted in slot 1 of Rack 0, A05011 will turn ON if the output m+3 is short-circuited.
Programming Example
In this example, CS1W-OD212 is mounted in slot 0 of the Rack 0.
This example shows how to turn OFF output bits CIO 000000 to CIO 000007 immediately if the alarm output bit
A05000 turns ON and how to keep the output bits OFF until the cause is removed and the bit is reset using work bit W000001.
664
Specifications of Basic I/O Units and High-density I/O Units
W00001 A05000
W00000
A W00000
B W00000
W0000
Appendix A
000000
000001
H W00000
000007
C200H-OD21A Transistor Output Unit (16 Points, Sourcing)
(Load Circuit Protection Provided)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
Power for External Supply
Weight
Alarm Output (See note 1.)
24 V DC (20.4 to 26.4 V DC), 1.0 A (4 A/Unit)
0.1 mA max.
0.8 V max.
0.1 ms max.
OFF Response Time
No. of Circuits
0.3 ms max.
1 (16 points/common)
Internal Current Consumption 160 mA 5 V DC max.
Load Short-circuit Protection Detection current: 1.2 A min (1.6 A typical)
35 mA 20.4 to 26.4 V DC min.
400 g max.
No. of outputs: 1 (2 k Ω internal resistor), Output current: 10 mA max.,
Connectable Units: Only the following DC Input
Units can be connected:
C200H-ID001, ID211, ID212, IM211 (DC), IM212
(DC), ID215, ID501, MD115, MD215, MD501
Reset Input Used when alarm output turns ON. Value will depend on the external power supply. (See note 2.)
Load Short-circuit Protection Detection current: 1.2 A min.
(1.6 A typical)
Dimensions B-shape
665
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Output indicator
2 k Ω
0 V to
Appendix A
Note When short-circuit/overload protection is activated, all 16 outputs will be switched OFF and the ALARM output becomes active (low level). The problem can be detected externally by connecting a DC Input
Unit to the ALARM output or by connecting an alarm output indicator. It’s not possible to connect both the Input Unit and the indicator at the same time.
Terminal Connections
+24 V DC
24 V DC
Note When the ALARM output turns ON, remove the cause of the high current and then shut off the external power supply for approx. 1 second. After confirming that the cause has been removed, turn ON the power supply again to reset the output. As shown in the diagram, it is recommended that a relay or switch that turns ON or OFF only the external power supply be connected right before the B9 (+V).
Check that this relay or switch has a contact capacity higher than the external power supply current consumption (35 mA + load current minimum).
666
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-OD232 (32 Points, Sourcing)
Rated Voltage 24 V DC
Operating Load Voltage Range 20.4 to 26.4 V DC
Maximum Load Current
Leakage Current
0.5 A/point, 2.5 A/common, 5.0 A/Unit (See note.)
0.1 mA max.
Residual Voltage
ON Response Time
1.5 V max.
0.5 ms max.
OFF Response Time 1.0 ms max.
Load Short-circuit Prevention Detection current: 0.7 to 2.5 A
Automatic restart after error clearance. (Refer to the above Load
Short-circuit Protection.)
Insulation Resistance 20 M Ω between the external terminals and the GR terminal
(100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the GR terminal for 1 minute at a leakage current of 10 mA max.
No. of Circuits 32 (16 points/common, 2 circuits)
Internal Current Consumption 5 V DC 270 mA max.
External Power Supply 20.4 to 26.4 V DC, 70 mA min.
Weight
Accessories
210 g max.
One connector for external wiring (soldered)
Note The maximum load currents will be 2.0 A/common and 4.0 A/Unit if a pressure-welded connector is used.
Circuit Configuration
Output Indicator
ERR indicator
When the output current of any output exceeds the detection current, the output for that point will turn OFF. At the same time, the ERR indicator will light and the corresponding flag (one for each common) in the Basic I/O
Unit Information Area (A050 to A089) will turn ON.
667
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
I/O word "m+1" I/O word "m"
Appendix A
24 V DC 24 V DC
• When wiring, pay careful attention to the polarity of the external power supply. The load may operate if the polarity is reversed.
• Although the COM(+V) and 0V of rows A and B are internally connected, wire all points completely.
Transistor Output Unit C200H-OD21B (32 Points)
(Load Short-circuit Protection Provided)
Max. Switching Current
Min. Switching Current
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
0.1 ms max.
0.3 ms max.
No. of Circuits 32 (32 points/common)
Internal Current Consumption 180 mA 5 V DC max.
Fuses
0.5 A 24 V DC (20.4 to 26.4 V DC) (5 A/Unit) (See note.)
None
0.1 mA max.
0.8 V max.
Power for External Supply
Weight
Alarm Indicator
Load Short-circuit Prevention
(See note 1.)
Dimensions
One 7 A fuse (1 fuse/common)
The fuses are not user-replaceable.
160 mA 20.4 to 26.4 V DC min.
(5 mA × number of ON pts)
180 g max.
Lamp F lights (unless fuse is broken).
Detection current: 0.7 to 2.5 A
Automatic restart after error clearance.
C-shape
Note The maximum load currents will be 4.0 A/Unit if a pressure-welded connector is used.
668
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Appendix A
Output indicator
Alarm indicator protection circuit to
0 V to
0 V
Output indicator protection circuit to
0 V to
0 V
Note When the short-circuit/overload protection is activated for a contact point, the output for that point is turned OFF. At the same time, lamp “F” lights, and the corresponding Flag in the Basic I/O Unit Information Area (A050 to A089) will turn ON. After the cause of the error has been removed, the alarm will be cleared automatically when the internal temperature of the element drops.
Terminal Connections
I/O word "m" I/O word "m+1"
24 V DC
24 V DC
24 V DC
24 V DC
669
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-OD262 (64 Points, Sourcing)
Rated Voltage 24 V DC
Operating Load Voltage Range 20.4 to 26.4 V DC
Maximum Load Current
Leakage Current
0.3 A/point, 1.6 A/common, 6.4 A/Unit
0.1 mA max.
Residual Voltage
ON Response Time
1.5 V max.
0.5 ms max.
OFF Response Time 1.0 ms max.
Load Short-circuit Prevention Detection current: 0.7 to 2.5 A
Automatic restart after error clearance. (Refer to the above Load Short-circuit Protection.)
Insulation Resistance 20 M Ω between the external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
No. of Circuits 64 (16 points/common, 4 circuits)
Internal Current Consumption 5 V DC 390 mA max.
External Power Supply
Weight
Accessories
20.4 to 26.4 V DC, 130 mA min.
270 g max.
Two connectors for external wiring (soldered)
Circuit Configuration
Output indicator
ERR indicator
When overcurrent is detected, the ERR indicator will light. At the same time, the corresponding flag (one for each common) in the Basic I/O Unit Information Area (A050 to A089) will turn ON.
670
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
I/O word "m+1"
CN1
I/O word "m" I/O word "m+2"
CN2
Appendix A
I/O word "m+3"
24 V DC
24 V DC
COM2(+V) COM3(+V)
24 V DC 24 V DC 24 V DC
24 V DC
COM2(+V) COM3(+V)
• When wiring, pay careful attention to the polarity of the external power supply. The load may operate if the polarity is reversed.
• Although the COM(+V) and 0V of rows A and B of CN1 and CN2 are internally connected, wire all points completely.
CS1W-OD292 Transistor Output Unit (96 Points, Sourcing)
Rated Voltage 12 to 24 V DC
Operating Load Voltage Range 10.2 to 26.4 V DC
Maximum Load Current
Maximum Inrush Current
Leakage Current
Residual Voltage
0.1 A/point, 1.2 A/common, 7.2 A/Unit (See note.)
1.0 A/point, 10 ms max.
8.0 A/common, 10 ms max.
0.1 mA max.
1.5 V max.
ON Response Time
OFF Response Time
Insulation Resistance
Dielectric Strength
0.5 ms max.
1.0 ms max.
20 M Ω between the external terminals and the GR terminal (100 V DC)
1,000 V AC between the external terminals and the GR terminal for 1 minute at a leakage current of 10 mA max.
No. of Circuits 6 (16 points/common)
Internal Current Consumption 480 mA max. at 5 V DC
Fuse
External Power Supply
3 A (1 per common)
The fuse cannot be replaced by the user.
10.2 to 26.4 V DC, 100 mA min.
Weight
Accessories
320 g max.
Two connectors for external wiring (soldered)
Note The maximum load currents will be 1.0 A/command and 6.0 A/Unit if a pressure-welded connector is used.
671
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Fuse x 3 CN1 circuits
Appendix A
Indicator switch circuit
Blown fuse detection circuit
Output indicator
ERR indicator
Fuse x 3 CN2 circuits
Note The ERR indicator will light if a fuse blows or if the external power supply is turned OFF, and the corresponding Flag in the Basic I/O Unit Information Area (A050 to A089) will turn ON.
672
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections: CS1W-OD292 24-V DC 96-point Transistor Output Unit (Sourcing Outputs)
COM2
12 to
24 V DC
12 to
24 V DC
COM3
COM1
12 to
24 V DC
12 to
24 V DC
COM4
COM0
12 to
24 V DC
12 to
24 V DC
COM5
673
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-MD261 DC Input/Transistor Output Unit (32/32 Points, Sinking)
Rated Voltage
Output section (CN1)
12 to 24 V DC
Input section (CN2)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
20.4 to 26.4 V DC
Operating Load Voltage Range
Maximum Load Current
Maximum Inrush Current
10.2 to 26.4 V DC
0.3 A/point, 1.6 A/common, 3.2 A/
Unit
3.0/point, 10 ms max.
Input Current
3.9 k Ω
6 mA typical (at 24 V DC)
ON Voltage/ON Current
15.4 V DC min./3 mA min.
Leakage Current
Residual Voltage
ON Response Time
0.1 mA max.
1.5 V max.
0.5 ms max.
OFF Voltage/OFF
Current
5 V DC min./1 mA min.
ON Response Time 8.0 ms max. (Can be set to between
0 and 32 in the PLC Setup.) (See notes 1 and 2.)
OFF Response Time
No. of Circuits
1.0 ms max.
32 (16 points/common, 2 circuits)
Fuse None
External Power Supply
10.2 to 26.4 V DC, 30 mA min.
Number of Simultaneously ON Points
70% (11 points/common)
(at 24 V DC)
Insulation Resistance 20 M Ω between the external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the GR terminal for 1 minute at a leakage current of 10 mA max.
5 V DC 270 mA max.
Internal Current Consumption
Weight 260 g max.
OFF Response Time 8.0 ms max. (Can be set to between
0 and 32 in the PLC Setup.) (See notes 1 and 2.)
No. of Circuits 32 (16 points/common, 2 circuits)
Accessories Two connectors for external wiring (soldered)
Circuit Configuration
(Outputs)
I/O indicator
3.9 k Ω
560 Ω
1000 pF
(Inputs)
674
Specifications of Basic I/O Units and High-density I/O Units
Number of Simultaneously ON Points vs.
Ambient Temperature Characteristic
16 points at 33 °C 16 points at 45 °C
Input voltage: 24 V DC
Input voltage: 26.4 V DC
12 points at 55 °C
9 points at 55 °C
Terminal Connections
I/O word "m"
Ambient Temperature
Inputs
I/O word "m+1"
Outputs
Appendix A
24
V DC
24
V DC
12 to 24 V DC
12 to
24 V DC
• When wiring, pay careful attention to the polarity. The load may operate is polarity is reversed.
• Although the +V and COM terminals of rows A and B of CN1 and CN2 are internally connected, wire all points completely.
Note 1.
The ON response time will be 120 µs maximum and OFF response time will be 300 µs maximum even if the response times are set to 0 ms due to internal element delays.
2.
The input ON and OFF response times for Basic I/O Units can be set to 0, 0.5, 1, 2, 4, 8, 16, or 32 ms in the PLC Setup.
675
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-MD291 DC Input/Transistor Output Unit (48/48 Points, Sinking)
Outputs (CN1)
Rated Voltage 12 to 24 V DC
Operating Load Voltage Range 10.2 to 26.4 V DC
Maximum Load Current
Maximum Inrush Current
0.1 A/point, 1.2 A/common, 3.6 A/Unit (See note.)
1.0 A/point, 10 ms max.
8.0 A/common, 10 ms max.
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
Fuse
External Power Supply
Insulation Resistance
0.1 mA max.
1.5 V max.
0.5 ms max.
1.0 ms max.
48 points (16 points/common, 3 commons)
3-A fuses (1 per common). Three fuses are used.
The fuse cannot be replaced by the user.
10.2 to 26.4 V DC, 50 mA min.
20 M Ω between the external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 350 mA max. at 5 V DC
Weight 320 g max.
Accessories Two connectors for external wiring (soldered)
Note The maximum load currents will be 1.0 A/common and 3.0 A/Unit if a pressure-welded connector is used.
Inputs (CN2)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON Current
OFF Voltage/OFF Current
ON Response Time
20.4 to 26.4 V DC
4.7 k Ω
Approx. 5 mA (at 24 V DC)
17 V DC min./3 mA min.
5.0 V DC max./1 mA max.
8.0 ms max.(Possible to select one out of eight times from 0 to 32 ms in the PLC Setup.) (See note below.)
OFF Response Time
No. of Circuits
Number of Inputs Simultaneous ON
Insulation Resistance
8.0 ms max. (Possible to select one out of eight times from 0 to 32 ms in the PLC Setup.) (See note below.)
48 points (16 points/common, 3 commons)
50% (8 points/common) (at 24 V DC) (Depends on ambient temperature.)
20 M Ω between the external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 350 mA max. at 5 V DC
Weight 320 g max.
Accessories Two connectors for external wiring (soldered)
Note The input ON and OFF response times for Basic I/O Units can be set to 0 ms, 0.5 ms, 1 ms, 2 ms, 4 ms,
8 ms, 16 ms, or 32 ms in the PLC Setup.
676
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
10.2 to
26.4 V DC
× 3 CN1 (Output)
Appendix A
Fuse
Indicator switch circuit
Blown fuse detection circuit
Output indicator
ERR indicator
4.7 k Ω
× 3 CN2 (Input) nal circuits 1000 pF
560 Ω
Note 1.
The ERR indicator will light if a fuse blows or if the external power supply is turned OFF, and the corresponding Flag in the Basic I/O Unit Information Area (A050 to A089) will turn ON.
2.
The ON response time will be 120 µs maximum and OFF response time will be 300 µs maximum even if the response times are set to 0 ms due to internal element delays.
677
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections: CS1W-MD291 24-V DC 48-point Input/48-point Output Unit (Sinking Outputs)
COM2
12 to
24 V DC
COM3
COM1
12 to
24 V DC
COM0
12 to
24 V DC
COM4
24 V DC
COM5
678
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-MD262 DC Input/Transistor Output Unit (32/32 Points, Sourcing)
Rated Voltage
Output section (CN1)
24 V DC
Input section (CN2)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
20.4 to 26.4 V DC
Operating Load Voltage Range
Maximum Load Current
Leakage Current
20.4 to 26.4 V DC
0.3 A/point, 1.6 A/common, 3.2 A/
Unit
0.1 mA max.
Input Current
3.9 k Ω
6 mA typical (at 24 V DC)
ON Voltage/ON Current
15.4 V DC min./3 mA min.
Residual Voltage
ON Response Time
OFF Response Time
Load Short-circuit
Prevention
No. of Circuits
1.5 V max.
0.5 ms max.
1.0 ms max.
Detection current: 0.7 to 2.5 A
Automatic restart after error clearance. (Refer to the above Load
Short-circuit Protection.)
32 (16 points/common, 2 circuits)
OFF Voltage/OFF
Current
5 V DC min./1 mA min.
ON Response Time 8.0 ms max. (Can be set to between
0 and 32 in the PLC Setup.) (Refer to the above Load Short-circuit Protection.)
OFF Response Time 8.0 ms max. (Can be set to between
0 and 32 in the PLC Setup.) (Refer to the above Load Short-circuit Pro-
tection.)
External Power Supply
20.4 to 26.4 V DC, 70 mA min.
Number of Simultaneously ON Points
70% (11 points/common)
(at 24 V DC)
Insulation Resistance 20 M Ω between the external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the GR terminal for 1 minute at a leakage current of 10 mA max.
Internal Current Consumption
5 V DC 270 mA max.
Weight
Accessories
270 g max.
Two connectors for external wiring (soldered)
Circuit Configuration
(Outputs)
I/O indicator
3.9 k Ω
1000 pF
560 Ω
ERR indicator
(Inputs)
679
Specifications of Basic I/O Units and High-density I/O Units
Number of Simultaneously ON Points vs.
Ambient Temperature Characteristic
32 points at 34 °C 32 points at 40°C
Input voltage: 24 V DC
Input voltage: 26.4 V DC
22 points at 55 °C
16 points at 55
°C
Ambient Temperature
Terminal Connections
I/O word "m+1" I/O word "m" I/O word "m+2" I/O word "m+3"
Appendix A
24
V DC
24
V DC
24 V DC
24 V DC
• When wiring, pay careful attention to the polarity. The load may operate if the polarity is reversed.
• Although the +V and COM terminals of rows A and B of CN1 and CN2 are internally connected, wire all points completely.
Note The ON response time will be 120 µs maximum and OFF response time will be 300 µs maximum even if the response times are set to 0 ms due to internal element delays.
680
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-MD292 DC Input/Transistor Output Unit (48/48 Points, Sourcing)
Outputs (CN1)
Rated Voltage 12 to 24 V DC
Operating Load Voltage Range 10.2 to 26.4 V DC
Maximum Load Current
Maximum Inrush Current
0.1 A/point, 1.2 A/common, 3.6 A/Unit (See note.)
1.0 A/point, 10 ms max.
8.0 A/common, 10 ms max.
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
Fuse
External Power Supply
Insulation Resistance
0.1 mA max.
1.5 V max.
0.5 ms max.
1.0 ms max.
48 points (16 points/common, 3 commons)
3 A (1 per common)
The fuse cannot be replaced by the user.
10.2 to 26.4 V DC, 50 mA min.
20 M Ω between the external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 350 mA max. at 5 V DC
Weight 320 g max.
Accessories Two connectors for external wiring (soldered)
Note The maximum load currents will be 1.0 A/common and 3.0 A/Unit if a pressure-welded connector is used.
Inputs (CN2)
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage/ON Current
OFF Voltage/OFF Current
ON Response Time
20.4 to 26.4 V DC
4.7 k Ω
Approx. 5 mA (at 24 V DC)
17 V DC min./3 mA min.
5.0 V DC max./1 mA max.
8.0 ms max. (Possible to select one out of eight times from 0 to 32 ms in the PLC Setup.) (See note below.)
OFF Response Time
No. of Circuits
Number of Simultaneously ON
Points
Insulation Resistance
8.0 ms max. (Possible to select one out of eight times from 0 to 32 ms in the PLC Setup.) (See note below.)
48 points (16 points/common, 3 commons)
50% (8 points/common) (at 24 V DC) (Depends on ambient temperature.)
20 M Ω between the external terminals and the GR terminal (100 V DC)
Dielectric Strength 1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 350 mA max. at 5 V DC
Weight 320 g max.
Accessories Two connectors for external wiring (soldered)
681
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Note The input ON and OFF response times for Basic I/O Units can be set to
0 ms, 0.5 ms, 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, or 32 ms in the PLC
Setup.
Circuit Configuration
Fuse x 3 CN1 (Output)
Indicator switch circuit
Blown fuse detection circuit
Output indicator
ERR indicator
4.7 k
Ω x 3 CN2 (Input)
1000 pF
560 Ω
Note 1.
The ERR indicator will light if a fuse blows or if the external power supply is turned OFF, and the corresponding Flag in the Basic I/O Unit Information Area (A050 to A089) will turn ON.
2.
The ON response time will be 120 µs maximum and OFF response time will be 300 µs maximum even if the response times are set to 0 ms due to internal element delays.
682
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections: CS1W-MD292 24-V DC 48-point Input/48-point Transistor Output Unit (Sourcing
Outputs)
COM2
12 to
24 V DC
COM3
COM1
12 to
24 V DC
COM0
12 to
24 V DC
COM4
24 V DC
COM5
683
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
CS1W-MD561 TTL I/O Unit (32/32 Points)
Outputs (CN1)
Rated Voltage 5 V DC ±10%
Operating Load Voltage Range 4.5 to 5.5 V DC
Maximum Load Current
Leakage Current
35 mA/point, 560 mA/common, 1.12 A/Unit
0.1 mA max.
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
Fuse
External Power Supply
Insulation Resistance
Dielectric Strength
0.4 V max.
0.2 ms max.
0.3 ms max.
32 points (16 points/common, 2 commons)
None
5 V DC ±10%, 40 mA min. (1.2 mA × No. of ON points)
20 M Ω between the external terminals and the GR terminal (100 V DC)
1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 270 mA max. at 5 V DC
Weight 260 g max.
Accessories Two connectors for external wiring (soldered)
Inputs (CN2)
Rated Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
5 V DC ±10%
1.1 k Ω
Approx. 3.5 mA (at 5 V DC)
3.0 V DC min.
1.0 V DC max.
8.0 ms max. (Possible to select one out of eight times from 0 to 32 ms in the PLC Setup.) (See notes
1 and 2.)
8.0 ms max. (Possible to select one out of eight times from 0 to 32 ms in the PLC Setup.) (See notes
1 and 2.)
32 points (16 points/common, 2 commons) No. of Circuits
Number of Simultaneously ON
Points
No restrictions
Insulation Resistance
Dielectric Strength
20 M Ω between the external terminals and the GR terminal (100 V DC)
1,000 V AC between the external terminals and the
GR terminal for 1 minute at a leakage current of
10 mA max.
Internal Current Consumption 270 mA max. at 5 V DC
Weight 260 g max.
Accessories Two connectors for external wiring (soldered)
Note 1.
The ON response time will be 120 µs maximum and OFF response time will be 300 µs maximum even if the response times are set to 0 ms due to internal element delays.
2.
The input ON and OFF response times for Basic I/O Units can be set to 0 ms, 0.5 ms, 1 ms, 2 ms,
4 ms, 8 ms, 16 ms, or 32 ms in the PLC Setup.
684
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
+V
4.7 k
Ω
100
Ω
4.7 k
Ω
1.1 k
Ω
2.4 k
Ω
1000 pF
IN00 to
IN15
COM
OUT0
0 to
OUT15
5
× 2 CN1
(Output)
COM
× 2 CN2
(Input)
Appendix A
Terminal Connections: CS1W-MD561 TTL 32-point Input/32-point Output Unit
5 V DC
CN1
I/O word "m+1"
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
B A
+V
20 20
+V
COM1
15
14
13
19 19
COM0
15
18 18
14
17 17
13
16 16
12 12
15 15
11 11
14 14
10 10
13 13
9 9
12 12
8 8
11 11
+V +V
10 10
COM1 COM0
9 9
7 7
8 8
6 6
7 7
5 5
6 6
4 4
5 5
3 3
4 4
2 2
3 3
1 1
2 2
0 0
1 1
I/O word "m"
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
5 V DC
5 V DC
CN2
I/O word "m+2"
A
0 0
1 1
1 1
2 2
2 2
3 3
3 3
4 4
4 4
5 5
5 5
6 6
6 6
7 7
7 7
8 8
COM2 COM3
9 9
8 8
10 10
9 9
11 11
10 10
12 12
11 11
13 13
12 12
14 14
13 13
15 15
14 14
15 15
COM2
17 17
18 18
COM3
NC
16 16
19 19
NC
NC
B
20 20 NC
I/O word "m+3"
5 V DC
• When wiring, pay careful attention to the polarity. The load may operate if the polarity is reversed.
• Although the +V and COM terminals of rows A and B of CN1 and CN2 are internally connected, wire all points completely.
685
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
High-density I/O Units (Special I/O Units)
C200H-ID501 TTL Input Unit Used for 32 Static Inputs
Rated Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
High-speed Inputs
5 V DC ±10%
1.1 k Ω
3.5 mA typical (at 5 V DC)
3.0 V DC min.
1.0 V DC max.
2.5 ms/15 ms max.
2.5 ms/15 ms max.
4 (8 points/common)
8 points (connector 2 terminals 8 to 15, when set)
Pulse width: 1 ms/4 ms min. (switchable)
Internal Current Consumption 130 mA 5 V DC max.
Weight 300 g max.
Circuit Configuration
CN1
COM0
IN00
IN07
COM1
IN08
IN15
2.4 k
1.1 k
The power supply polarity does not matter.
Internal circuits
CN2
COM2
IN00
IN07
COM3
IN08
IN15
2.4 k
1.1 k
Terminal Connections
5 V DC
+
+
NC
NC
NC
COM1
15
14
13
12
11
10
9
8
CN1
I/O word "n"
B
12
11
10
9
8
7
6
5
4
3
2
1
A
12
NC
11
NC
10
NC
COM0
9
8
7
7
6
6
5
5
4
4
3
3
2
2
1
1
0
+
5 V DC
+
5 V DC
+
+
COM2
4
5
0
CN2
I/O word "n+1"
A B
1 1
8
1 9
2 2
2 10
3 3
3 11
4 4
5
12
13
6
5
6
6 14
7 7
7 15
8 8
COM3
9 9
NC 10
NC
NC
11
12
10
11
12
NC
NC
NC
+
5 V DC
+
Note When pin 2 of the Unit’s DIP switch is ON, input points 08 to 15 in connector 2 are high-speed inputs.
686
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
C200H-ID215 DC Input Unit Used for 32 Static Inputs
Rated Input Voltage 24 V DC
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
High-speed Inputs
20.4 to 26.4 V DC
5.6 k Ω
4.1 mA (at 24 V DC)
14.4 V DC min.
5.0 V DC max.
2.5 ms/15 ms max.
2.5 ms/15 ms max.
4 (8 points/common) (See note 2.)
8 points (connector 2 terminals 8 to 15, when set)
Pulse width: 1 ms/4 ms min. (switchable)
Internal Current Consumption 130 mA 5 V DC max.
Weight 300 g max.
Circuit Configuration
CN1
COM0
IN00
IN07
COM1
IN08
IN15
5.6 k
Ω
1000 pF
620
Ω
The power supply polarity does not matter.
Internal circuits
CN2
COM2
IN00
IN07
COM3
IN08
IN15
5.6 k
Ω
1000 pF
620
Ω
Terminal Connections
24 V DC
+
+
CN1
I/O word "n"
NC
B
12
NC
11
NC
COM1
10
9
15
8
14
7
13
6
12
5
11
4
10
3
9
2
8
1
A
12
11
10
9
8
7
6
5
4
3
2
1
NC
NC
NC
COM0
7
6
5
4
3
2
1
0
+
24 V DC
+
24 V DC
+
+
COM2
0
1
CN2
I/O word "n+1"
A B
1 1
8
2 2
9
2
3
3 3
10
11
4 4
4 12
5 5
5 13
6
6
7
6
7
14
7 15
8 8
COM3
9 9
NC
NC
NC
10
11
12
10
11
12
NC
NC
NC
+
24 V DC
+
Note 1.
When pin 2 of the Unit’s DIP switch is ON, input points 08 to 15 in connector 2 are high-speed inputs.
2.
At high temperatures, the number of inputs that can be turned ON simultaneously is limited. Refer to the graphs on the following page for details.
687
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Number of Simultaneous Inputs
The number C200H-ID215 24-V DC inputs that can be ON simultaneously will vary with ambient temperature as shown in the figure below.
32
30
Input Voltage: 26.4 V DC
Input Voltage: 24.0 V DC
Input Voltage:
24.0 V DC; 55
°C,
22 points ON
22
20
16
Input Voltage:
24.0 V DC; 55
°C,
16 points ON
10
Input Voltage:
24.0 V DC; 34
°C,
32 points ON
Input Voltage:
24.0 V DC; 43
°C,
32 points ON
0
0 10 20 30 34 40 43
Ambient Temperature (
°C)
50 55 60
If the number of inputs that are ON exceeds the number that can be ON at the same time, then heat generated by electronic components will increase the temperature of the components and the case. Higher temperatures will lower the reliability and service life of the elements and will damage the Unit. Higher temperatures in electronic components and the case will also cause time delays. There is no particular problem if all input points are turned ON for less than 10 minutes (if all input points have been OFF for at least 2 hours) under special conditions, such as during startup work inspections.
C200H-OD501 TTL Output Unit Used for 32 Static Outputs
Max. Switching Capacity
Min. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
5 V DC ±10% 35 mA (280 mA/common, 1.12 A/Unit; output resistance 4.7 k Ω)
None
0.1 mA max.
0.4 V max.
0.2 ms max.
0.3 ms max.
No. of Circuits 4 (8 points/common)
Internal Current Consumption 220 mA 5 V DC max.
Fuses
Power for External Supply
Weight
4 (1 fuse/common; fuses are not user-replaceable.)
39 mA 5 V DC ±10% min. (1.2 mA × no. of outputs
ON)
300 g max.
688
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Units manufactured on or before November 13, 2002
(manufacturing numbers 13Y2 or earlier)
Internal circuits
5 V DC
4.7 k
Ω
Fuse
OUT00
OUT07
COM0
5 V DC
OUT08
OUT15
COM1
5 V DC
CN1
4.7 k
Ω
Fuse
OUT00
OUT07
COM2
CN2
5 V DC
OUT08
OUT15
COM3
Appendix A
Units manufactured on or after November 14, 2002
(manufacturing numbers 14Y2H or later)
5 V DC
4.7 k
Ω
Fuse
OUT00 to
OUT07 to
COM0
5 V DC
4.7 k Ω
OUT00 to
OUT07 to
COM1
Fuse
689
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
5 V DC
+
CN1
I/O word "n"
NC
B
12
NC
+5 V DC
11
10
COM1
9
L
15
8
L
14
7
L
13
6
L
12
5
L
11
4
L
10
3
L
9
2
L
8
1
A
12
NC
11
NC
+5 V DC
10
9
COM0
8
7
L
6
7
6
5
L
L
5
4
L
4
3
L
3
2
L
2
1
L
1
0
L
5 V DC
+
5 V DC
+
CN2
I/O word "n+1"
0
L
1
L
2
L
3
L
4
L
5
L
6
L
L
COM2
7
+5 V DC
NC
NC
A B
1
2
3
4
5
6
7
8
9
10
11
1
2
3
4
5
6
7
8
9
8
L
9
L
10
L
11
L
12
L
13
L
14
L
15
L
COM3
+5 V DC
10
11 NC
12 12 NC
+
5 V DC
Note 1.
I/O word “n” is determined by the unit number setting (n = CIO 2000 + 10 × unit number).
2.
The Unit will have 32 static output points when pin 1 of it’s DIP switch is OFF.
3.
The outputs are negative logic outputs; when there is an output, the terminal has an “L” voltage level.
Each output terminal has an output resistance of 4.7 k Ω.
C200H-OD501 TTL Output Unit Used for 128 Dynamic Inputs
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
5 V DC ±10% 35 mA (280 mA/common, 1.12 A/Unit; output resistance 4.7 k Ω)
0.1 mA max.
0.4 V max.
0.2 ms max.
OFF Response Time
No. of Circuits
0.3 ms max.
2 (dynamic, 64 points/circuit)
Internal Current Consumption 220 mA 5 V DC max.
Fuses
Power for External Supply
Weight
4 (1 fuse/common; fuses are not user-replaceable.)
39 mA 5 V DC min. (1.2 mA × no. of outputs ON)
300 g max.
690
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Units manufactured on or before November 13, 2002
(manufacturing numbers 13Y2 or earlier)
Internal circuits
5 V DC
4.7 k
Ω
Fuse
DATA00
DATA07
COM0
5 V DC
CN1
4.7 k Ω
Fuse
STB00
STB07
COM1
5 V DC
DATA08
DATA15
COM2
5 V DC
STB08
STB15
COM3
CN2
Appendix A
Units manufactured on or after November 14, 2002
(manufacturing numbers 14Y2H or later)
5 V DC
4.7 k Ω
Fuse
DAT00 to
DAT07
CN1
COM0
5 V DC
STB00 to
STB07
COM1
5 V DC
4.7 k Ω
Fuse
DAT08 to
DAT15
CN2
COM2
5 V DC
STB08 to
STB15
COM3
691
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
NC
NC
+V1
COM1
STB7
STB6
STB5
STB4
STB3
STB2
STB1
STB0
8
7
6
5
4
3
2
1
11
10
9
CN1
B A
12 12
8
7
6
5
4
3
2
1
11
10
9
NC
NC
+V0
COM0
+
DATA7
DATA6
DATA5
DATA4
DATA3
DATA2
DATA1
DATA0
5 V DC
Output device
(such as a numeric display)
Data input
Strobe input
Strobe input
Data input
Output device
(such as a numeric display)
5 V DC
DATA8
DATA9
DATA10
DATA11
DATA12
DATA13
DATA14
DATA15
+
COM2
+V2
NC
NC
10
11
12
8
9
6
7
3
4
5
1
2
A
CN2
B
8
9
10
11
12
3
4
5
1
2
6
7
STB8
STB9
STB10
STB11
STB12
STB13
STB14
STB15
COM3
+V3
NC
NC
Appendix A
Note 1.
Refer to the Unit’s operation manual for details on I/O bit allocation.
2.
The Unit will have 128 dynamic output points when pin 1 of it’s DIP switch is ON.
3.
Set pin 5 of the Unit’s DIP switch ON for positive logic outputs, or OFF for negative logic outputs.
When set for negative logic outputs, the terminal has an “L” voltage level when there is an output.
When set for positive logic outputs, the terminal has an “H” voltage level when there is an output.
4.
The strobe signal has negative logic regardless of the setting of pin 5.
5.
Each output terminal has an output resistance of 4.7 k Ω.
C200H-OD215 Transistor Output Unit Used for 32 Static Outputs
Max. Switching Capacity
Leakage Current
Residual Voltage
Weight
16 mA, 4.5 V DC to 100 mA, 26.4 V DC
800 mA/common, 3.2 A/Unit
0.1 mA max.
0.7 V max.
ON Response Time
OFF Response Time
0.2 ms max.
0.6 ms max.
No. of Circuits 4 (8 points/common)
Internal Current Consumption 220 mA 5 V DC max.
Fuses
Power for External Supply
4 (1 fuse/common; fuses are not user-replaceable.)
90 mA 5 to 24 V DC ±10% min.
(2.8 mA × number of ON outputs)
300 g max.
692
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Circuit Configuration
Units manufactured on or before November 29, 1999
(manufacturing numbers 29Y9 or earlier)
Internal circuits
10 k
Ω
8.2 k
Ω
Fuse
10 k Ω
8.2 k
Ω Fuse
5 to
24 V DC
OUT00
OUT07
COM0
5 to
24 V DC
OUT08
OUT15
COM1
5 to
24 V DC
OUT00
OUT07
COM2
5 to
24 V DC
OUT08
OUT15
COM3
CN1
CN2
Units manufactured between November 30, 1999 and
October 9, 2002 (manufacturing numbers 30Y9 to 09X2)
Internal circuits
6.8 k
Ω
6.8 k
Ω
15 k
Ω Fuse
15 k
Ω Fuse
5 to
24 V DC
OUT00
OUT07
COM0
5 to
24 V DC
OUT08
OUT15
COM1
5 to
24 V DC
OUT00
OUT07
COM2
5 to
24 V DC
OUT08
OUT15
COM3
CN1
CN2
Units manufactured on or after October 10, 2002
(manufacturing numbers 10X2H or later)
Internal circuits
8.2 k
Ω
100
Ω
12 k
Ω
8.2 k
Ω
100
Ω
12 k
Ω
Fuse
Fuse
5 to 24 V DC
OUT00 to
OUT07
CN1
COM0
5 to 24 V DC
OUT07 to
OUT15
COM1
5 to 24 V DC
OUT00 to
OUT07
CN2
COM2
5 to 24 V DC
OUT08 to
OUT15
COM3
693
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
CN1
I/O word "n"
5 to 24
V DC
+
NC
+5 to 24 V DC
COM1
L
NC
15
14
B
12
11
10
9
8
L
L
L
13
12
7
6
5
L
11
10
L
L
L
9
8
4
3
2
1
A
12
NC
11
10
NC
+5 to 24 V DC
9
COM0
8
7
L
7
6
L
6
5
L
5
4
L
4
3
L
3
2
L
2
1
L
1
0
L
5 to 24
V DC
+
5 to 24
V DC +
CN2
I/O word "n+1"
0
L
1
L
2
L
3
L
4
L
5
L
6
L
L
COM2
7
+5 to 24 V DC
A B
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
8
L
9
L
10
L
11
L
12
L
13
L
14
L
15
L
COM3
9
10
+5 to 24 V DC
NC
NC
11
12
11
12
NC
NC
+
5 to 24
V DC
Note 1.
I/O word “n” is determined by the unit number setting (n = CIO 2000 + 10 × unit number).
2.
The Unit will have 32 static output points when pin 1 of it’s DIP switch is OFF.
C200H-OD215 Transistor Output Unit Used for 128 Dynamic Outputs
Max. Switching Capacity
Leakage Current
Residual Voltage
Weight
16 mA, 4.5 V DC to 100 mA, 26.4 V DC
800 mA/common, 3.2 A/Unit
0.1 mA max.
0.7 V max.
ON Response Time
OFF Response Time
0.2 ms max.
0.6 ms max.
No. of Circuits 2 (dynamic, 64 points/circuit)
Internal Current Consumption 220 mA 5 V DC max.
Fuses
Power for External Supply
4 (1 fuse/common; fuses are not user-replaceable.)
90 mA 5 to 24 V DC ±10% min.
(2.8 mA × number of ON outputs)
300 g max.
694
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Units manufactured on or before November 29, 1999
(manufacturing numbers 29Y9 or earlier)
Internal circuits
10 k
Ω
8.2 k
Ω Fuse
10 kW
8.2 k
Ω Fuse
5 to
24 V DC
DATA00
DATA07
COM0
5 to
24 V DC
STB00
STB07
COM1
5 to
24 V DC
DATA08
DATA15
COM2
5 to
24 V DC
STB08
STB15
COM3
CN1
CN2
Appendix A
Units manufactured between November 30, 1999 and
October 9, 2002 (manufacturing numbers 30Y9 to 09X2)
Internal circuits
6.8 k
Ω
15 k
Ω
Fuse
5 to
24 V DC
DATA00
DATA07
COM0
5 to
24 V DC
CN1
6.8 k
Ω
15 k
Ω Fuse
STB00
STB07
COM1
5 to
24 V DC
DATA08
DATA15
COM2
5 to
24 V DC
STB08
STB15
COM3
CN2
Units manufactured on or after October 10, 2002
(manufacturing numbers 10X2H or later)
8.2 k
Ω
5 V DC
Internal circuits
100
Ω
12 k
Ω
8.2 k
Ω
Fuse
DAT00 to
DAT07
CN1
COM0
5 V DC
STB00 to
STB07
COM1
5 V DC
100
Ω
12 k
Ω
Fuse
DAT08 to
DAT15
CN2
COM2
5 V DC
STB08 to
STB15
COM3
695
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
NC
CN1
B
12
A
12 NC
NC 11 11 NC
10
9
+V0
COM0
+
+V1
COM1
10
9
STB7
8
STB6
7
STB5
6
STB4
5
STB3
4
STB2
3
STB1
2
STB0
1
8
7
6
5
4
3
2
1
DATA7
DATA6
DATA5
DATA4
DATA3
DATA2
DATA1
DATA0
5 to 24 V DC
Output device
(such as a numeric display)
Data input
Strobe input
B
CN2
A
Strobe input
DATA8
DATA9
1
2
DATA10
DATA11
3
4
Data input DATA12
DATA13
5
6
Output device
(such as a numeric display)
DATA14
DATA15
7
8
5 to 24 V DC
+
COM2
+V2
9
10
NC 11
NC 12
5
6
1
2
3
4
7
8
9
10
11
12
STB8
STB9
STB10
STB11
STB12
STB13
STB14
STB15
COM3
+V3
NC
NC
Appendix A
Note 1.
Refer to the Unit’s operation manual for details on I/O bit allocation.
2.
The Unit will have 128 dynamic output points when pin 1 of it’s DIP switch is ON.
3.
Set pin 5 of the Unit’s DIP switch ON for positive logic outputs, or OFF for negative logic outputs.
When set for negative logic outputs, the terminal has an “L” voltage level when there is an output.
When set for positive logic outputs, the terminal has an “H” voltage level when there is an output.
4.
The strobe signal has negative logic regardless of the setting of pin 5.
5.
When the output device (such as a numeric display) does not have a pull-up resistor, it is necessary to add a pull-up resistor between the + terminal of the power supply and each data (0 to 15) and strobe (0 to 15) terminal.
696
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
High-density I/O Unit Limitations
Limitations on the switching capacity of C200H-OD215/MD115/MD215 Transistor Output Units and the usable number of I/O points in the C200H-ID215 and C200H-MD215 are shown below.
Switching Capacity
The switching capacity of C200H-OD215/MD115/MD215 Transistor Output Units depends on the power supply voltage, as shown below.
100
50
16
0
0 4.5
10 20.4
26.4
Power Supply Voltage (V)
C200H-MD501 TTL I/O Unit
Used for 16 Static Inputs and 16 Static Outputs
Output Specifications (Connector 1)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
Fuses
Power for External Supply
5 V DC ±10% 35 mA (280 mA/common, 560 mA/
Unit; output resistance 4.7 k Ω)
0.1 mA max.
0.4 V max.
0.2 ms max.
0.3 ms max.
2 (8 points/common)
2 (1 fuse/common; fuses are not user-replaceable.)
20 mA 5 V DC ±10% min. (1.2 mA × no. of outputs
ON)
Input Specifications (Connector 2)
Rated Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
High-speed Inputs
5 V DC ±10%
1.1 k Ω
3.5 mA typical (at 5 V DC)
3.0 V DC min.
1.0 V DC max.
2.5 ms/15 ms max. (switchable)
2.5 ms/15 ms max. (switchable)
2 (8 points/common)
8 points (connector 2 terminals 8 to 15, when set)
Pulse width: 1 ms/4 ms min. (switchable)
697
Specifications of Basic I/O Units and High-density I/O Units
General Specifications
Internal Current Consumption 180 mA 5 V DC max.
Weight 300 g max.
Circuit Configuration
Units manufactured on or before November 21, 2002
(manufacturing numbers 21Y2 or earlier)
5 V DC
4.7 k
Ω
Internal circuits
2.4 k
Ω
Fuse
1.1 k
Ω
OUT00
OUT07
COM0
5 V DC
OUT08
OUT15
COM1
IN00
IN07
COM2
IN08
IN15
COM3
CN1 (Output)
CN2 (Input)
Appendix A
Units manufactured on or after November 22, 2002
(manufacturing numbers 22Y2H or later)
4.7 k
1.1 k
2.4 k
Ω
Ω
Ω
Fuse
5 V DC
OUT00 to
OUT07
COM0
5 V DC
OUT08 to
OUT15
COM1
IN0 0 to
IN0 7
COM2
IN08 to
IN15
COM3
CN1 (Output)
CN2 (Input)
698
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
5 V DC
+
CN1
NC
I/O word "n"
B
12
A
12
NC
NC
+5 V DC
11
10
11
10
NC
+5 V DC
COM1
9 9
COM0
L
15
8 8
7
L
L
L
14
13
7
6
7
6
6
5
L
L
12
L 5 5
4
L
11
L 4 4
3
L
10
L 3 3
2
L
9
L 2 2
1
L
8
L 1 1
0
L
5 V DC
5 V DC
+
+
+
CN2
I/O word "n+1"
A B
0 8
1 1
1 9
2 2
2 10
3 3
3 11
4 4
4 12
5 5
5 13
6 6
6 14
7 7
7 15
8 8
COM2 COM3
9 9
NC 10
NC 11
10
11
NC
NC
NC 12 12 NC
+
5 V DC
+
Note 1.
The Unit will have 16 static output and16 static input points when pin 1 of it’s DIP switch is OFF.
2.
When pin 2 of the Unit’s DIP switch is ON, input points 08 to 15 in connector 2 are high-speed inputs.
3.
The outputs are negative logic outputs; when there is an output, the terminal has an “L” voltage level.
Each output terminal has an output resistance of 4.7 k Ω.
4.
The user is not authorized to change the fuse.
C200H-MD501 TTL I/O Unit Used for 128 Dynamic Inputs
Output Specifications (Connector 1)
Max. Switching Capacity
Min. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
Fuses
Power for External Supply
5 V DC ±10% 35 mA (280 mA/common, 560 mA/
Unit; output resistance 4.7 k Ω)
None
0.1 mA max.
0.4 V max.
0.2 ms max.
0.3 ms max.
2 (1 fuse/common; fuses are not user-replaceable.)
20 mA 5 V DC ±10% min. (1.2 mA × no. of outputs
ON)
Input Specifications (Connector 2)
Rated Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
General Specifications
5 V DC ±10%
1.1 k Ω
3.5 mA (at 5 V DC)
3.0 V DC min.
1.0 V DC max.
No. of Circuits 2 (dynamic, 64 points/circuit)
Internal Current Consumption 180 mA 5 V DC max.
Weight 300 g max.
699
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Units manufactured on or before November 21, 2002
(manufacturing numbers 21Y2 or earlier)
Internal circuits
5 V DC
4.7 k
Ω
2.4 k
Ω
Fuse
1.1 k Ω
STB00
STB07
COM0
CN1
5 V DC
STB08
STB15
COM1
DATA00
DATA07
COM2
DATA08
CN2
DATA15
COM3
Appendix A
Units manufactured on or after November 22, 2002
(manufacturing numbers 22Y2H or later)
5 V DC
4.7 k
Ω
Fuse
1.1 k
Ω
2.4 k
Ω
STB00 to
STB07
COM0
5 V DC
STB08 to
STB15
COM1
DAT00 to
DAT07
COM2
DAT08 to
DAT15
COM3
CN1 (Output)
CN2 (Input)
700
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
5 V DC
+
NC
B
12
11
10
9
8
7
6
5
4
3
2
1
NC
+V1
COM1
STB15
STB14
STB13
STB12
STB11
STB10
STB9
STB8
CN1
10
9
8
A
12
11
5
4
3
2
1
7
6
NC
NC
+V0
5 V DC
COM0
+
STB7
STB6
STB5
STB4
STB3
STB2
STB1
STB0
Keyboard, thumbwheel switch, etc.
CN2
DATA0
DATA1
DATA2
DATA3
DATA4
DATA5
DATA6
DATA7
COM2
NC
NC
NC
6
7
4
5
2
3
A
1
8
9
10
8
9
10
11
12
11
12
6
7
4
5
2
3
B
1
NC
NC
NC
DATA8
DATA9
DATA10
DATA11
DATA12
DATA13
DATA14
DATA15
COM3
Appendix A
Keyboard, thumbwheel switch, etc.
Note 1.
Refer to the Unit’s operation manual for details on I/O bit allocation.
2.
The Unit will have 128 dynamic output points when pin 1 of it’s DIP switch is ON.
3.
Each output terminal has an output resistance of 4.7 k Ω.
C200H-MD115 12-V DC Input/Transistor Output Unit
Used for 16 Static Inputs and 16 Static Outputs
Output Specifications (Connector 1)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
Fuses
Power for External Supply
16 mA, 4.5 V DC to 100 mA, 26.4 V DC
800 mA/common, 1.6 A/Unit
0.1 mA max.
0.7 V max.
0.2 ms max.
0.6 ms max.
2 (8 points/common)
2 (1 fuse/common; fuses are not user-replaceable.)
45 mA 5 to 24 V DC ±10% min.
(2.8 mA × number of ON outputs)
701
Specifications of Basic I/O Units and High-density I/O Units
Input Specifications (Connector 2)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
High-speed Inputs
Appendix A
12 V DC
10.2 to 13.2 V DC
2.7 k Ω
4.1 mA typical (at 12 V DC)
8.0 V DC min.
3.0 V DC max.
2.5 ms/15 ms max. (switchable)
2.5 ms/15 ms max. (switchable)
2 (8 points/common)
8 points (connector 2 terminals 8 to 15, when set)
Pulse width: 1 ms/4 ms min. (switchable)
General Specifications
Internal Current Consumption 180 mA 5 V DC max.
Weight 300 g max.
702
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Units manufactured on or before November 17, 2002
(manufacturing numbers 17Y2 or earlier)
Internal circuits
5 to 24
V DC
4.7 k
Ω
620
Ω
Fuse
2.7 k
Ω
1000 pF
OUT00
OUT07
COM0
5 to 24
V DC
OUT08
OUT15
COM1
IN00
IN07
COM2
IN08
IN15
COM3
CN1
CN2
Appendix A
Units manufactured on or after November 18, 2002
(manufacturing numbers 18Y2H or later)
5 V DC
Fuse
620
Ω
1000 pF
2.7 k Ω
OUT00 to
OUT07
COM0
IN00 to
IN07
COM2
703
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
5 to 24
V DC
+
CN1
NC
I/O word "n"
B
12
A
12
NC
NC
+5 to 24 V DC
11
10
COM1
9
L
15
8
14
L
L
13
7
6
L
12
5
L
11
4
L
10
3
L
9
2
L
8
1
11
10
9
8
7
6
5
4
3
2
1
NC
+5 to 24 V DC
7
6
5
4
3
2
1
0
COM0
L
L
L
L
L
L
L
L
5 to 24
V DC
12 V DC
+
+
+
CN2
COM2
I/O word "n+1"
A B
0 8
1 1
1 9
2 2
2 10
3 3
3 11
4 4
4 12
5 5
5 13
6 6
6 14
7 7
7 15
8 8
9 9
COM3
NC 10 10 NC
NC
NC
11
12
11 NC
12 NC
+
12 V DC
+
Note 1.
I/O word “n” is determined by the unit number setting (n = CIO 2000 + 10 × unit number).
2.
The Unit will have 16 static output and16 static input points when pin 1 of it’s DIP switch is OFF.
3.
When pin 2 of the Unit’s DIP switch is ON, input points 08 to 15 in connector 2 are high-speed inputs.
4.
The user is not authorized to change the fuse.
C200H-MD115 12-V DC Input/Transistor Output Unit
Used for 128 Dynamic Inputs
Output Specifications (Connector 1)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
Fuses
Power for External Supply
50 mA, 12 V DC (10.2 to 13.2 V DC), 400 mA/common, 0.8 A/Unit
0.1 mA max.
0.7 V max.
0.2 ms max.
0.6 ms max.
2 (1 fuse/common; fuses are not user-replaceable.)
45 mA 5 to 24 V DC ±10% min.
(2.8 mA × number of ON outputs)
Input Specifications (Connector 2)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
12 V DC
10.2 to 13.2 V DC
2.7 k Ω
4.1 mA typical (at 12 V DC)
8.0 V DC min.
3.0 V DC max.
General Specifications
No. of Circuits 2 (dynamic, 64 points/circuit)
Internal Current Consumption 180 mA 5 V DC max.
Weight 300 g max.
704
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Units manufactured on or before November 17, 2002
(manufacturing numbers 17Y2 or earlier)
Internal circuits
12 V DC
Fuse
2.7 k
Ω
620
Ω
1000 pF
STB00
STB07
COM0
12 V DC
STB08
STB15
COM1
DATA00
DATA07
COM2
DATA08
DATA15
COM3
CN1
CN2
Appendix A
Units manufactured on or after November 18, 2002
(manufacturing numbers 18Y2H or later)
5 V DC
620
Ω
1000 pF
2.7 k
Ω
Fuse
OUT00 to
OUT07
COM0
IN00 to
IN07
COM2
705
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
12 V DC
+
CN1
NC
B
12
NC
+V1
11
10
COM1
STB15
9
8
STB14
7
STB13
6
STB12
STB11
5
4
STB10
3
STB9
2
STB8
1
10
9
8
A
12
11
5
4
3
2
1
7
6
NC
NC
+V0 12 V DC
COM0
+
STB7
STB6
STB5
STB4
STB3
STB2
STB1
STB0
Keyboard, thumbwheel switch, etc.
DATA0
DATA1
DATA2
DATA3
DATA4
DATA5
DATA6
DATA7
COM2
NC
NC
NC
CN2
6
7
4
5
2
3
B
1
8
9
10
11
12
6
7
4
5
2
3
A
1
8
9
10
11
12
DATA8
DATA9
DATA10
DATA11
DATA12
DATA13
DATA14
DATA15
COM3
NC
NC
NC
Appendix A
Keyboard, thumbwheel switch, etc.
Note 1.
Refer to the Unit’s operation manual for details on I/O bit allocation.
2.
The Unit will have 128 dynamic output points when pin 1 of it’s DIP switch is ON.
3.
The user is not authorized to change the fuse.
C200H-MD215 24-V DC Input/Transistor Output Unit
Used for 16 Static Inputs and 16 Static Outputs
Output Specifications (Connector 1)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
No. of Circuits
Fuses
Power for External Supply
16 mA, 4.5 V DC to 100 mA, 26.4 V DC
800 mA/common, 1.6 A/Unit
0.1 mA max.
0.7 V max.
0.2 ms max.
0.6 ms max.
2 (8 points/common)
2 (1 fuse/common; fuses are not user-replaceable.)
45 mA 5 to 24 V DC ±10% min.
(2.8 mA × number of ON outputs)
Input Specifications (Connector 2)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
ON Response Time
OFF Response Time
No. of Circuits
High-speed Inputs
24 V DC
20.4 to 26.4 V DC
5.6 k Ω
4.1 mA (at 24 V DC)
14.4 V DC min.
5.0 V DC max.
2.5 ms/15 ms max. (switchable)
2.5 ms/15 ms max. (switchable)
2 (8 points/common)
8 points (connector 2 terminals 8 to 15, when set)
Pulse width: 1 ms/4 ms min. (switchable)
706
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
General Specifications
Internal Current Consumption 180 mA 5 V DC max.
Weight 300 g max.
Circuit Configuration
Units manufactured on or before November 29, 1999
(manufacturing numbers 29Y9 or earlier)
Units manufactured between November 30, 1999 and
October 9, 2002 (manufacturing numbers 30Y9 to 09X2)
5 to
24 V DC
5 to
24 V DC
Internal circuits
10 k
Ω
8.2 k Ω Fuse
5.6 k
Ω
620
Ω
1,000 pF
OUT00
OUT07
COM0
5 to
24 V DC
OUT08
OUT15
COM1
IN00
IN07
COM2
IN08
IN15
COM3
CN1
CN2
Internal circuits
6.8 k
Ω
15 k
Ω
620
Ω
Fuse
5.6 k
Ω
1,000 pF
OUT00
OUT07
COM0
5 to
24 V DC
OUT08
OUT15
COM1
IN00
IN07
COM2
IN08
IN15
COM3
CN1
CN2
Units manufactured on or after October 10, 2002
(manufacturing numbers 10X2H or later)
8.2 k Ω
100 Ω
12 k
620 Ω
Ω
5.6 k Ω
1000 pF
Fuse
5 to 24 VDC
OUT00 to
OUT07
CN1
COM0
5 to 24 VDC
OUT08 to
OUT15
COM1
IN00 to
IN07
COM2
IN08 to
IN15
COM3
CN2
707
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Terminal Connections
5 to 24
V DC
+
CN1
NC
I/O word "n"
B
12
A
12
NC
NC
+5 to 24 V DC
11 11
10 10
NC
+5 to 24 V DC
COM1
9 9
COM0
L
15
8 8
7
L
14 6
L
L
13
7
6
7
6
5
L
L
L
12
5 5
4
L
L
11
4 4
3
L
L
10
3 3
2
L
L
9
2 2
1
L
L
8
1 1
0
L
5 to 24
V DC
+
24 V DC
+
+
CN2
COM2
I/O word "n+1"
A B
0 8
1 1
1 9
2 2
2 10
3 3
3 11
4 4
4 12
5 5
5 13
6 6
6 14
7 7
7 15
8 8
COM3
9 9
NC
NC
NC
10
11
12
10
11
12
NC
NC
NC
+
24 V DC
+
Note 1.
I/O word “n” is determined by the unit number setting (n = CIO 2000 + 10 × unit number).
2.
The Unit will have 16 static output and16 static input points when pin 1 of it’s DIP switch is OFF.
3.
At high temperatures, the number of inputs that can be turned ON simultaneously is limited. Refer to
the graph page 710 for details.
4.
When pin 2 of the Unit’s DIP switch is ON, input points 08 to 15 in connector 2 are high-speed inputs.
5.
The user is not authorized to change the fuse.
C200H-MD215 24-V DC Input/Transistor Output Unit
Used for 128 Dynamic Inputs/Dynamic Outputs
Output Specifications (Connector 1)
Max. Switching Capacity
Leakage Current
Residual Voltage
ON Response Time
OFF Response Time
Fuses
Power for External Supply
100 mA, 24 V DC (20.4 to 26.4 V DC), 800 mA/common, 1.6 A/Unit
0.1 mA max.
0.7 V max.
0.2 ms max.
0.6 ms max.
2 (1 fuse/common; fuses are not user-replaceable.)
45 mA 5 to 24 V DC ±10% min.
(2.8 mA × number of ON outputs)
Input Specifications (Connector 2)
Rated Input Voltage
Operating Input Voltage
Input Impedance
Input Current
ON Voltage
OFF Voltage
24 V DC
20.4 to 26.4 V DC
5.6 k Ω
4.1 mA (at 24 V DC)
14.4 V DC min.
5.0 V DC max.
General Specifications
No. of Circuits 2 (dynamic, 64 points/circuit)
Internal Current Consumption 180 mA 5 V DC max.
Weight 300 g max.
708
Specifications of Basic I/O Units and High-density I/O Units
Circuit Configuration
Units manufactured on or before November 29, 1999
(manufacturing numbers 29Y9 or earlier)
24 V DC
Appendix A
Units manufactured between November 30, 1999 and
October 9, 2002 (manufacturing numbers 30Y9 to 09X2)
24 V DC
Internal circuits
10 k Ω
8.2 k
Ω Fuse
5.6 k
Ω
620 Ω 1,000 pF
STB00
STB07
COM0
24 V DC
STB08
STB15
COM1
DATA00
DATA07
COM2
DATA08
DATA15
COM3
CN1
CN2
Units manufactured on or after October 10, 2002
(manufacturing numbers 10X2H or later)
8.2 k
Ω
100 Ω
12 k
620
Ω
Ω
5.6 k Ω
1000 pF
Fuse
5 to 24 V DC
STB00 to
STB07
CN1
COM0
5 to 24 V DC
STB08 to
STB15
COM1
DAT00 to
DAT07
COM2
DAT08 to
DAT15
COM3
CN2
Internal circuits
6.8 k
Ω
15 k
Ω
620 Ω
Fuse
5.6 k
Ω
1,000 pF
STB00
STB07
COM0
24 V DC
STB08
STB15
COM1
DATA00
DATA07
COM2
DATA08
DATA15
COM3
CN1
CN2
709
Specifications of Basic I/O Units and High-density I/O Units
Terminal Connections
12 V DC
+
NC
NC
+V1
COM1
STB15
STB14
STB13
STB12
STB11
STB10
STB9
STB8
CN1
B
12
11
10
9
8
7
6
5
4
3
2
1
10
9
8
A
12
11
5
4
3
2
1
7
6
NC
NC
+V0
12 V DC
COM0
+
STB7
STB6
STB5
STB4
STB3
STB2
STB1
STB0
Keyboard, thumbwheel switch, etc.
Keyboard, thumbwheel switch, etc.
CN2
DATA0
DATA1
DATA2
DATA3
DATA4
DATA5
DATA6
DATA7
COM2
NC
NC
NC
6
7
4
5
2
3
A
1
8
9
10
11
12
6
7
4
5
2
3
B
1
8
9
10
11
12
COM3
NC
NC
NC
DATA8
DATA9
DATA10
DATA11
DATA12
DATA13
DATA14
DATA15
Appendix A
Note 1.
Refer to the Unit’s operation manual for details on I/O bit allocation.
2.
The Unit will have 128 dynamic output points when pin 1 of it’s DIP switch is ON.
3.
Each output terminal has an output resistance of 4.7 k Ω.
4.
At high temperatures, the number of inputs that can be turned ON simultaneously is limited. Refer to the graph on the next page for details.
5.
The user is not authorized to change the fuse.
High-density I/O Unit Limitations
Limitations on the switching capacity of C200H-OD215/MD115/MD215 Transistor Output Units and the usable number of I/O points in the C200H-ID215 and C200H-MD215 are shown below.
Switching Capacity
The switching capacity of C200H-OD215/MD115/MD215 Transistor Output Units depends on the power supply voltage, as shown below.
100
50
16
0
0 4.5
10 20.4
26.4
Power Supply Voltage (V)
710
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
Simultaneous Input and Outputs for the C200H-MD215
The number C200H-MD215 24-V DC inputs that can be ON simultaneously will depend on ambient temperature as shown in the figure below. There is no limit to the number of outputs that can be ON simultaneously.
16
15
Input Voltage: 26.4 V DC
Input Voltage: 24.0 V DC
Input Voltage:
26.4 VDC; 55
°,
11 points ON
11
10
5
Input Voltage:
26.4 VDC; 43
°,
16 points ON
0
0 10 20 30 34 40 43 50 55 60
Ambient Temperature (
°C)
Note If the number of C200H-MD215 inputs that are ON exceeds the number that can be ON at the same time, then heat generated by electronic components will raise the temperature of the components and the case. This will lower the reliability and service life of the components and will damage the Unit.
Higher temperatures in electronic components and the case will also cause time delays. There is no problem if all input points are turned ON for less than 10 minutes (if all input points have been OFF for at least 2 hours) under special conditions, such as during startup work inspections.
711
Specifications of Basic I/O Units and High-density I/O Units
Appendix A
712
Appendix B
Auxiliary Area
Note The undefined addresses of the Auxiliary Area may be allocated to functions in future version upgrades of the CPU Unit. Do not use these words as CIO Area words in the user program.
A000 to A447: Read-only Area, A448 to A959: Read/Write Area
Read-only Area (Set by System)
A000
A001
A002
Address
Words
---
---
---
Bits
Name
10-ms
Incrementing Free
Running
Timer
100-ms
Incrementing Free
Running
Timer
1-s Incrementing
Free Running Timer
A050
A051 to
A069
A05000 to
A05007
A05008 to
A05015
A05100 to
A06915
Basic I/O
Unit Information,
Rack 0 Slot
0
Basic I/O
Unit Information,
Rack 0 Slot
1
Basic I/O
Unit Information,
Racks 2 to 9
Function
This word contains the system timer used after the power is turned ON.
0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every 10 ms.
The value returns to 0000 hex after reaching FFFF hex
(655,350 ms), and then continues to be automatically incremented by 1 every 10 ms.
Note: The timer will continue to be incremented when the operating mode is switched to RUN mode.
Example: The interval can be counted between processing A and processing B without requiring timer instructions. This is achieved by calculating the difference between the value in A000 for processing A and the value in
A000 for processing B. The interval is counted in 10 ms units.
This word contains the system timer used after the power is turned ON.
0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every 100 ms.
The value returns to 0000 hex after reaching FFFF hex
(655,350 ms), and then continues to be automatically incremented by 1 every 10 ms.
Note: The timer will continue to be incremented when the operating mode is switched to RUN mode.
This word contains a system timer used after the power is turned ON
0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every 1 s. The value returns to 0000 hex after reaching FFFF hex
(65,535 s), and then continues to be automatically incremented by 1 every 1 s.
Note: The timer will continue to be incremented when the operating mode is switched to RUN mode.
A bit will turn ON to indicate when a fuse has blows.
The bit numbers correspond to the fuse number on the
Unit.
Only the right-most bit is used for C200H Basic I/O
Units.
1: Fuse blown
0: Normal
Status after mode change
Status at startup
Write timing/
Related flags, settings
Retained Cleared Every 10 ms after power is turned ON
CPU Unit with unit version 3.0 or later
Retained Cleared Every 100 ms after power is turned ON
CPU Unit with unit version 3.0 or later
Retained Cleared Every 1 s after power is turned ON
CPU Unit with unit version. 4.0 or later
---
---
---
---
Every cycle
-----
713
Auxiliary Area
Appendix B
A093
A099
Address
Words
A090 to
A094 to
A097
---
---
Bits
A09900
A09901
A09902 Program
Write Protection Status when
Read Protection Is
Set
A09903 Enable/Disable Status for Backing
Up the Program to a
Memory
Card
A09914 IR/DR Operation between
Tasks
A09915
Name
User
Program
Date
Parameter
Date
UM Read
Protection
Status
Task Read
Protection
Status
Timer/
Counter PV
Refresh
Mode Flag
Function
These words contain in BCD the date and time that the user program was last overwritten.
A09000 to A09007:
Seconds (00 to 59)
A09008 to A09015:
Minutes (00 to 59)
A09100 to A09107: Hour (00 to 23)
A09108 to A09115:
Day of month (01 to 31)
A09200 to A09207: Month (01 to 12)
A09208 to A09215: Year (00 to 99)
A09308 to A09307: Day of the week
(00: Sunday, 01: Monday, 02: Tuesday, 03: Wednesday, 04: Thursday, 05: Friday, 06: Saturday)
These words contain in BCD the date and time that the parameters were last overwritten.
The format is the same as above
Indicates whether the entire user program in the PLC is read-protected.
0: UM not read-protected.
1: UM read-protected.
Indicates whether read protection is set for individual tasks.
0: Tasks not read-protected.
1: Tasks read-protected.
Indicates whether the program is write-protected.
0: Write-enabled.
1: Write-protected.
Indicates whether creating a backup program file
(.OBJ) is enabled or disabled.
0: Enabled.
1: Disabled.
Turn ON this bit to share index and data registers between all tasks. Turn OFF this bit to use separate index and data registers between in each task.
0: Independent
1: Shared (default)
Indicates whether the CPU Unit is storing timer/counter PV in BCD or binary.
0: BCD mode
1: Binary mode
Status after mode change
Status at startup
Write timing/
Related flags, settings
Retained Retained Not supported by
CS1 @-CPU@@(-V1)
Units
Retained Retained Not supported by
CS1 @-CPU@@(-V1)
Units
Retained Retained When protection is set or cleared
CPU Unit with unit version 2.0 or later
Retained Retained When protection is set or cleared
CPU Unit with unit version 2.0 or later
Retained Retained When protection is set or cleared
CPU Unit with unit version 2.0 or later
Retained
Retained
Retained
Retained
Retained
Retained
When protection is set or cleared
CPU Unit with unit version 2.0 or later
Not supported by
CS1 @-CPU@@(-V1)
Units
Not supported by
CS1 @-CPU@@(-V1)
Units
714
Auxiliary Area
Appendix B
Address
Words
A100 to
A199
A200
A201
All
Bits
A20011
A20012
A20014
A20015 First Task
Startup Flag
A20110 Online
Editing Wait
Flag
A20111
Name
Error Log
Area
First Cycle
Flag
Step Flag
Task
Started Flag
Online
Editing Flag
Function
When an error has occurred, the error code, error contents, and error’s time and date are stored in the Error
Log Area. Information on the 20 most recent errors can be stored.
Each error record uses 5 words; the function of these
5 words is as follows:
1) Error code (bits 0 to 15)
2) Error contents (bits 0 to 15)
Error code
Error contents:
Address of Aux. Area word with details or 0000
3) Minutes (bits 8 to 15),
Seconds (bits 0 to 7)
Seconds: 00 to 59, BCD
Minutes: 00 to 59, BCD
4) Day of month (bits 8 to 15),
Hours (bits 0 to 7)
Hours: 00 to 23, BCD
Day of month: 01 to 31, BCD
5) Year (bits 8 to 15),
Month (bits 0 to 7)
Year: 00 to 99, BDC
Month: 00 to 12, BCD
Errors generated by FAL(006) and FALS(007) will also be stored in this Error Log.
The Error Log Area can be reset from a Programming
Device.
If the Error Log Area is full (20 records) and another error occurs, the oldest record in A100 to A104 will be cleared, the other 19 records are shifted down, and the new record is stored in A195 to A199.
ON for one cycle after PLC operation begins (after the mode is switched from PROGRAM to RUN or MONI-
TOR, for example).
ON for the first cycle
ON for one cycle when step execution is started with
STEP(008). This flag can be used for initialization processing at the beginning of a step.
ON for the first cycle after execution of STEP(008).
When a task switches from WAIT or INI to RUN status, this flag will be turned ON within the task for one cycle only.
ON for first cycle (including transitions from WAIT and
IN)
The only difference between this flag and A20015 is that this flag also turns ON when the task switches from WAIT to RUN status.
ON when a task is executed for the first time. This flag can be used to check whether the current task is being executed for the first time so that initialization processing can be performed if necessary.
1: First execution
0: Not executable for the first time or not being executed.
ON when an online editing process is waiting.
(If another online editing command is received while waiting, the other command won’t be recorded and an error will occur.)
1: Waiting for online editing
0: Not waiting for online editing
ON when an online editing process is being executed
1: Online editing in progress
0: Online editing not in progress
Status after mode change
Status at startup
Write timing/
Related flags, settings
Retained Retained Written when error occurs
A50014
A300
A400
-----
Cleared ---
Cleared ---
---
---
Cleared Cleared Not supported by
CS1 @-CPU@@(-V1)
Units
---
Cleared Cleared A527
Cleared Cleared A527
715
Auxiliary Area
Appendix B
Words
A202
Address
A203 to
A210
All
Bits
A20200 to
A20207
Communications Port
Enabled
Flags
A20215
Name
Network
Communications
Automatic
Allocation
Flag
Communications Port
Completion
Codes
Function
ON when a network instruction (SEND, RECV, CMND,
PMCR, TXDU or RXDU) or background execution (not supported by CS1 @-CPU@@(-V1) Units) can be executed with the corresponding port number. Bits 00 to
07 correspond to communications ports 0 to 7.
1: Network instruction is not being executed
0: Network instruction is being executed (port busy)
When two or more network instructions are programmed with the same port number, use the corresponding flag as an execution condition to prevent the instructions from being executed simultaneously.
(The flag for a given port is turned OFF while a network instruction with that port number is being executed.)
(When the simple backup operation is used to performed a write or compare operation for a Memory
Card, a communications port will be automatically allocated, and the corresponding Flag will be turned OFF.)
This flag turns ON when a Network Communications
Instruction (SEND(090), RECV(098), CMND(490),
PMCR(260), TXDU(256), or RXDU(255)) can be executed using the automatic communications port allocation function.
1: Communications port available
0: Communications port not available
Note: When using the automatic communications port allocation function to execute nine or more network communications instructions simultaneously, use this flag to perform exclusive control.
These words contain the completion codes for the corresponding port numbers when network instructions
(SEND, RECV, CMND, or PMCR) or background execution has been executed.
Words A203 to A210 correspond to communications ports 0 to 7.
Non-zero: Error code
0000: Normal condition
The following codes will be stored when an Explicit
Message Instruction (EXPLT, EGATR, ESATR,
ECHRD, or ECHWR) has been executed.
If the Explicit Communications Error Flag turns OFF,
0000 hex is stored.
If the Explicit Communications Error Flag is ON and the Network Communications Error Flag is ON, the
FINS end code is stored.
If the Explicit Communications Error Flag is ON and the Network Communications Error Flag is OFF, the explicit message end code is stored.
During communications, 0000 hex will be stored and the suitable code will be stored when execution has been completed. The code will be cleared when operation is started.
(The completion code for a given port is cleared to
0000 when a network instruction with that port number is executed.)
(When the simple backup operation is used to performed a write or compare operation for a Memory
Card, a communications port will be automatically allocated, and a completion code will be stored in the corresponding word.)
Status after mode change
Status at startup
Cleared ---
Cleared ---
Cleared ---
---
---
---
Write timing/
Related flags, settings
716
Auxiliary Area
Appendix B
A213
A214
A215
Address
Words
A21300 to to
Bits
A21307
A21400
A21407
A21500 to
A21507
Name
Explicit
Communications
Error Flag
First Cycle
Flags after
Network
Communications Finished
First Cycle
Flags after
Network
Communications
Error
A220 to
A259
A22000 to
A25915
Basic I/O
Unit Input
Response
Times
Function
Turn ON when an error occurs in executing an Explicit
Message Instruction (EXPLT, EGATR, ESATR,
ECHRD, or ECHWR).
Bits 00 to 07 correspond to communications ports 0 to
7.
1: Error end
0: Normal end
The corresponding bit will turn ON both when the explicit message cannot be sent and when an error response is returned for the explicit message.
The status will be maintained until the next explicit message communication is executed. The bit will always turn OFF when the next Explicit Message
Instruction is executed.
Each flag will turn ON for just one cycle after communications have been completed. Bits 00 to 07 correspond to ports 0 to 7. Use the Used Communications
Port Number stored in A218 to determine which flag to access.
1: First cycle after communications finish only
2: Other status
Note: These flags are not effective until the next cycle after the communications instruction is executed. Delay accessing them for at least one cycle.
Each flag will turn ON for just one cycle after a communications error occurs. Bits 00 to 07 correspond to ports 0 to 7. Use the Used Communications Port Number stored in A218 to determine which flag to access.
Determine the cause of the error according to the
Communications Port Completion Codes stored in
A203 to A210.
1: First cycle after communications error only
0: Other status
Note: These flags are not effective until the next cycle after the communications instruction is executed. Delay accessing them for at least one cycle.
The completion code for a communications instruction is automatically stored at the address with the I/O memory address given in these words. Place this address into an index register and use indirect addressing through the index register to read the communications completion code.
Status after mode change
Status at startup
Cleared ---
Write timing/
Related flags, settings
A21900 to A21907
A203 to A210
Retained Cleared ---
Retained Cleared ---
Retained Cleared --A216 to
A217
A218
A219
All
All
Network
Communications
Completion
Code Storage
Address
Used Communications Port
Numbers
A21900 to
A21907
Communications Port
Error Flags
Stores the communications port numbers used when a communications instruction is executed using automatic communication port allocations.
0000 to 0007 hex: Communications port 0 to 7
ON when an error occurred during execution of a network instruction (SEND, RECV, CMND, or PMCR).
Bits 00 to 07 correspond to communications ports 0 to
7.
1: Error occurred
0: Normal condition
(When the simple backup operation is used to performed a write or compare operation for a Memory
Card, a communications port will be automatically allocated, and the corresponding Flag will be turned OF if an error occurs.)
These words contain the actual input response times.
0 to 17 hexadecimal
When the Basic I/O Unit input response time setting is changed in the PLC Setup while the PLC is in PRO-
GRAM mode, the setting in the PLC Setup will not match the actual value in the Basic I/O Unit unless the power is turned OFF and then ON again. In that case, the actual value can be monitored in these words.
Retained Cleared ---
Retained ---
Retained See function column.
---
PLC Setup (Basic I/O
Unit Input response time settings)
717
Auxiliary Area
Appendix B
A261
A262 and
A263
A264 and
A265
A266 and
A267
Address
Words Bits
Name Function Status after mode change
Status at startup
Write timing/
Related flags, settings
Retained Cleared When I/O tables are generated
A26100 CPU Bus
Unit Setup
Area Initialization Error
Flag (Not supported by CS1 @-
CPU @@(-
V1) Units)
A26102 I/O Overflow Flag
(Not supported by
CS1 @-
CPU @@(-
V1) Units)
A26103 Duplication
Error Flag
(Not supported by
CS1 @-
CPU @@(-
V1) Units)
A26104 I/O Bus
Error Flag
(Not supported by
CS1 @-
CPU @@(-
V1) Units)
A26106 SYSMAC
BUS Recognition Error
Flag (Not supported by CS1 @-
CPU @@(-
V1) Units)
A26107 Special I/O
Unit Error
Flag (Not supported by CS1 @-
CPU @@(-
V1) Units)
A26109 I/O Unconfirmed Error
Flag (Not supported by CS1 @-
CPU @@(-
V1) Units)
All Maximum
Cycle Time
ON: Error in CPU Bus Unit Setup
Turns OFF when I/O tables are generated normally.
ON: Error in CPU Bus Unit Setup
OFF: I/O tables generated normally
ON: Overflow in maximum number of I/O points
Turns OFF when I/O tables are generated normally.
ON: Overflow in maximum number of I/O points
OFF: I/O tables generated normally
ON: The same unit number was used more than once.
Turns OFF when I/O tables are generated normally.
ON: The same unit number was used more than once.
OFF: I/O tables generated normally
ON: I/O bus error
Turns OFF when I/O tables are generated normally.
ON: I/O bus error
OFF: I/O tables generated normally
ON: SYSMAC BUS detection ended in an error.
Turns OFF when I/O tables are generated normally.
ON: SYSMAC BUS detection ended in an error.
OFF: I/O tables generated normally
ON: Error in a Special I/O Unit
Turns OFF when I/O tables are generated normally.
ON: Error in a Special I/O Unit
OFF: I/O tables generated normally
ON: I/O detection has not been completed.
Turns OFF when I/O tables are generated normally.
ON: I/O detection has not been completed.
OFF: I/O tables generated normally
All
All
Present
Cycle Time
Program
Execution
Time + Priority Peripheral
Servicing
Time
A40111 (Too many I/O points)
A40113 (duplicated number)
A40114 (I/O but error)
These words contain the maximum cycle time since the start of PLC operation (the program execution cycle time for a Parallel Processing Mode). The cycle time is recorded in 8-digit hexadecimal with the leftmost 4 digits in A263 and the rightmost 4 digits in
A262.
0 to FFFFFFFF:
0 to 429,496,729.5 ms (0.1ms units)
These words contain the present cycle time in 8-digit hexadecimal with the leftmost 4 digits in A265 and the rightmost 4 digits in A264 (the program execution cycle time for a Parallel Processing Mode).
0 to FFFFFFFF:
0 to 429,496,729.5 ms
Total of all slice times for program execution and all slice times for peripheral servicing.
00000000 to FFFFFFFF hex
0.0 to 429,496,729.5 ms (0.1-ms increments)
Cleared Cleared---
Cleared Cleared ---
Cleared Cleared ---
718
Auxiliary Area
Appendix B
A268
A294
A295
Address
Words Bits
Name Function
In Parallel Processing with Synchronous or Asynchronous Memory Access, this word contains the peripheral servicing cycle time. The time is updated every cycle and is recorded in 16-bit binary.
0 to 4E20 hex, (0.0 to 2,000.0 ms in units of 0.1 ms)
Status after mode change
Status at startup
Write timing/
Related flags, settings
Cleared Cleared Each cycle
A40515
All
All
A29508 Instruction
Processing
Error Flag
A29509
Peripheral
Servicing
Cycle Time
(Not supported by
CS1 @-
CPU @@(-
V1) Units)
Task Number when
Program
Stopped
Indirect
DM/EM
BCD Error
Flag
This word contains the task number of the task that was being executed when program execution was stopped because of a program error.
Normal tasks: 0000 to 001F (task 0 to 31)
Interrupt tasks: 8000 to 80FF (task 0 to 255)
(A298 and A299 contain the program address where program execution was stopped.)
This flag and the Error Flag (ER) will be turned ON when an instruction processing error has occurred and the PLC Setup has been set to stop operation for an instruction error. CPU Unit operation will stop and the
ERR/ALM indicator will light when this flag goes ON.
1: Error Flag ON
0: Error Flag OFF
This flag and the Access Error Flag (AER) will be turned ON when an indirect DM/EM BCD error has occurred and the PLC Setup has been set to stop operation an indirect DM/EM BCD error. (This error occurs when the content of an indirectly addressed
DM or EM word is not BCD although BCD mode has been selected.) CPU Unit operation will stop and the
ERR/ALM indicator will light when this flag goes ON.
1: Not BCD
0: Normal
Cleared Cleared A298/A299
Cleared Cleared PLC Setup (Operation when instruction error has occurred)
The task number where the error occurred will be stored in A294 and the program address will be stored in A298 and
A299.
Cleared Cleared PLC Setup (Operation when instruction error has occurred)
The task number where the error occurred will be stored in A294 and the program address will be stored in A298 and
A299.
719
Auxiliary Area
Appendix B
Words
A295
Address
A298 to
A299
A300
A301
All
Bits
A29510
A29511
A29512
A29513
A29514
A29515
All
All
Name
Illegal
Access
Error Flag
No END
Error Flag
Task Error
Flag
Differentiation Overflow Error
Flag
Illegal
Instruction
Error Flag
UM Overflow Error
Flag
(started).
1: Error
0: Normal
ON when a program that cannot be executed has been stored. CPU Unit operation will stop and the
ERR/ALM indicator will light when this flag goes ON.
1: Error
0: Normal
Function
This flag and the Access Error Flag (AER) will be turned ON when an illegal access error has occurred and the PLC Setup has been set to stop operation an illegal access error. (This error occurs when a region of memory is access illegally.) CPU Unit operation will stop and the ERR/ALM indicator will light when this flag goes ON.
The following operations are considered illegal access:
1) Reading/writing the system area
2) Reading/writing EM File Memory
3) Writing to a write-protected area
4) Indirect DM/EM BCD error (in BCD mode)
1: Illegal access occurred
0: Normal condition
ON when there isn’t an END(001) instruction in each program within a task.
CPU Unit operation will stop and the ERR/ALM indicator will light when this flag goes ON.
1: No END
0: Normal condition
ON when a task error has occurred. The following conditions generate a task error.
There isn’t even one regular task that is executable
There isn’t a program allocated to the task.
The allowed value for Differentiation Flags which correspond to differentiation instructions has been exceeded. CPU Unit operation will stop and the
ERR/ALM indicator will light when this flag goes ON.
1: Error
0: Normal
Status after mode change
Status at startup
Write timing/
Related flags, settings
Cleared Cleared PLC Setup (Operation when instruction error has occurred)
The task number where the error occurred will be stored in A294 and the program address will be stored in A298 and
A299.
Cleared Cleared The task number where the error occurred will be stored in A294 and the program address will be stored in A298 and
A299.
Cleared Cleared The task number where the error occurred will be stored in A294 and the program address will be stored in A298 and
A299.
Cleared Cleared The task number where the error occurred will be stored in A294 and the program address will be stored in A298 and
A299.
Cleared Cleared The task number where the error occurred will be stored in A294 and the program address will be stored in A298 and
A299.
Cleared Cleared --ON when the last address in UM (User Memory) has been exceeded. CPU Unit operation will stop and the
ERR/ALM indicator will light when this flag goes ON.
1: Error
0: Normal
These words contain the 8-digit binary program address of the instruction where program execution was stopped due to a program error.
Cleared Cleared A294 contains the task number of the task where program execution was stopped.
Program
Address
Where Program
Stopped
Error Log
Pointer
Current EM
Bank
When an error occurs, the Error Log Pointer is incremented by 1 to indicate the location where the next error record will be recorded as an offset from the beginning of the Error Log
Area (A100 to A199).
00 to 14 hexadecimal
The Error Log Pointer can be cleared to 00 by turning
A50014 (the Error Log Reset Bit) from OFF to ON.
When the Error Log Pointer has reached 14 (20 decimal), the next record is stored in A195 to A199 when the next error occurs.
This word contains the current EM bank number in 4digit hexadecimal. The current bank number can be changed with the EMBC(281) instruction.
0000 to 000C hexadecimal
Retained Retained Written when error occurs
A50014
Cleared Cleared ---
720
Auxiliary Area
Appendix B
Words
A302
Address
A330 to
A335
A339 and
A340
Bits
A30200 to
A30215
CPU Bus
Unit Initializing Flags
A33000 to
A33515
All
Name
Special I/O
Unit Initializing Flags
Maximum
Differentiation Flag
Number
Function
These flags are ON while the corresponding CPU Bus
Unit is initializing after its CPU Bus Unit Restart Bit
(A50100 to A50115) is turned from OFF to ON or the power is turned ON.
Bits 00 to 15 correspond to unit numbers 0 to 15.
Use these flags in the program to prevent the CPU
Bus Unit’s refresh data from being used while the Unit is initializing. IORF(097) cannot be executed while an
CPU Bus Unit is initializing.
0: Not initializing
1: Initializing
(Reset to 0 automatically after initialization.)
These bits are turned OFF automatically when initialization is completed.
These flags are ON while the corresponding Special
I/O Unit is initializing after its Special I/O Unit Restart
Bit (A50200 to A50715) is turned from OFF to ON or the power is turned ON.
The bits in these words correspond to unit numbers 0 to 95 as follows:
A33000 to A33015: Units 0 to 15
A33100 to A33115: Units 16 to 31
----
A33500 to A33515: Units 80 to 95
Use these flags in the program to prevent the Special
I/O Unit’s refresh data from being used while the Unit is initializing. Also, IORF(097) cannot be executed while a Special I/O Unit is initializing.
0: Not initializing
1: Initializing
(Reset to 0 automatically after initialization.)
These bits are turned OFF automatically when initialization is completed.
These words contain the maximum value of the differentiation flag numbers being used by differentiation instructions.
Status after mode change
Status at startup
Write timing/
Related flags, settings
Retained Cleared Written during initialization
A50100
Retained Cleared A50200 to A50715
See
Function column.
Cleared Written at the start of operation
A29513
721
Auxiliary Area
Appendix B
Words
A343
Address
Bits
A34300 to
A34302
A34306
A34307
A34308
A34309
A34310
A34311
A34314
Name
Memory
Card Type
EM File
Memory
Format
Error Flag
Memory
Card Format Error
Flag
File Transfer Error
Flag
File Write
Error Flag
File Read
Error
File Missing
Flag
A34313 File Memory
Operation
Flag
Accessing
File Data
Flag
A34315 Memory
Card
Detected
Flag (except pre-version-
1 CS1 CPU
Units)
Function
Indicates the type of Memory Card, if any, installed.
This information is recorded when the PLC power is turned ON or the Memory Card power switch is turned
ON.
0: None
4: Flash ROM
ON when a format error occurs in the first EM bank allocated for file memory.
1: Format error
0: No format error
(The flag is turned OFF when formatting is completed normally.)
ON when the Memory Card is not formatted or a formatting error has occurred. (The flag is turned OFF when formatting is completed normally.)
1: Format error
0: No format error
This flag is written when the PLC power is turned ON or the Memory Card power switch is turned ON.
ON when an error occurred while writing data to file memory.
1: Error
0: No error
ON when data cannot be written to file memory because it is write-protected or the data exceeds the capacity of the file memory.
1: Write not possible
0: Normal condition
ON when a file could not be read because of a malfunction (file is damaged or data is corrupted).
1: Read not possible
0: Normal condition
ON when an attempt is made to read a file that doesn’t exist, or an attempt is made to write to a file in a directory that doesn’t exist.
1: Specified file or directory is missing
0: Normal condition
ON while any of the following operations is being executed. OFF when none of them are being executed.
CMND instruction sending a FINS command to the local CPU Unit.
Execution of a File Memory instructions.
Program replacement using the control bit in the Auxiliary Area.
Easy backup operation.
1: Instruction being executed.
0: Instruction not being executed.
ON while file data is being accessed. Use this flag to prevent two file memory instructions from being executed at the same time.
1: File being accessed
0: File not being accessed
ON when a Memory Card has been detected.
OFF when a Memory Card has not been detected.
1: Memory Card detected
0: Memory Card not detected
Status after mode change
Status at startup
Retained See
Function column.
See Function column.
---
Retained Cleared ---
Retained See
Function column.
Write timing/
Related flags, settings
See Function column.
Retained Cleared Written when file data is written
Retained Cleared Written when file data is written
Retained Cleared Written when file data is read
Retained Cleared Written when file data is read
Retained Cleared Written when file memory instruction is executed
Retained Cleared ---
Retained Cleared Written when Memory
Card is inserted, or the power is turned ON.
722
Auxiliary Area
Appendix B
A344
Address
Words
All
Bits
Name
EM File
Memory
Starting
Bank
Function
Contains the starting bank number of EM file memory
(bank number of the first formatted bank). All EM banks from this starting bank to the last bank in EM are formatted for use as file memory.
To convert the EM Area for use as file memory, first set the PLC Setup’s EM File Memory Function setting to
1, set the PLC Setup’s EM File Memory Starting Bank setting, and then format the EM Area from a Programming Device
The PLC Setup’s EM file memory settings won’t agree with the actual settings unless the EM Area is formatted after the PLC Setup’s EM file memory settings have been changed. In that case, the actual settings can be determined with this word.
Turns ON if the FB program memory contains FB program data.
Status after mode change
Status at startup
Write timing/
Related flags, settings
Retained Retained Written when EM file formatting is performed
PLC Setup (EM File
Memory Function setting and EM File Memory Starting Bank setting)
Retained Retained When program is downloaded
A345
A346 and
A347
A351 to
A354
A355
A34500 FB Program Data
Flag
A34501 Program
Index File
Flag
A34502 Comment
File Flag
A34503 Symbol
Table File
Flag
All Number of
Remaining
Words to
Transfer
All Calendar/Clock
Area
Turns ON when the comment memory contains a program index file.
Turns ON when the comment memory contains a comment file.
Turns ON when the comment memory contains a symbol table file.
These words contain the 8-digit hexadecimal number of words remaining to be transferred by FREAD(700) or FWRIT(701). When one of these instructions is executed, the number of words to be transferred is written to A346 and A347.
While the data is being transferred, the value in these words is decremented.
A326 contains the rightmost 4-digits and A347 contains the leftmost 4-digits.
Check the content of these words to determine whether or not the planned number of words have been transferred successfully.
These words contain the CPU Unit’s internal clock data in BCD. The clock can be set from a Programming Device such as a Programming Console, with the
DATE(735) instruction, or with a FINS command
(CLOCK WRITE, 0702).
Seconds (00 to 59) (BCD)
Retained Cleared Written as FREAD or
FWRIT is being executed.
Decremented as data is actually transferred.
Retained Retained Written every cycle
A35100 to
A35107
A35108 to
A35115
A35200 to
A35207
A35208 to
A35215
A35300 to
A35307
A35308 to
A35315
A35400 to
A35407
A35500 to
A35915
Inner Board
Monitoring
Area
Minutes (00 to 59) (BCD)
Hours (00 to 23) (BCD)
Day of the month (01 to 31) (BCD)
Month (01 to 12) (BCD)
Year (00 to 99) (BCD)
Day of the week (00 to 06) (BCD)
00: Sunday, 01: Monday, 02: Tuesday,
03: Wednesday, 04: Thursday,
05: Friday, 06: Saturday
The function of these words is defined by the Inner
Board.
Determined by
Inner
Board
Determined by
Inner
Board
---
723
Auxiliary Area
Appendix B
Address
Words
A360 to
A391
A392
A392
A393
Bits
A36001 to
A39115
A39204
Name
Executed
FAL Number Flags
RS-232C
Port Error
Flag
Function
The flag corresponding to the specified FAL number will be turned ON when FAL(006) is executed. Bits
A36001 to A39115 correspond to FAL numbers 001 to
511.
The flag will be turned OFF when the error is cleared.
1: That FAL was executed
0: That FAL wasn’t executed
ON when an error has occurred at the RS-232C port.
(Not valid in peripheral bus mode or NT Link mode.)
1: Error
0: No error
ON when the RS-232C port is able to send data in noprotocol mode.
1: Able-to-send
0: Unable-to-send
Status after mode change
Status at startup
Write timing/
Related flags, settings
Retained Cleared Written when error occurs
A40215
Retained Cleared Written when error occurs
Retained Cleared Written after transmission
A39205 RS-232C
Port Send
Ready Flag
(No-protocol mode)
A39206
A39207
A39212
A39300 to
A39307
A39308 to
A39315
RS-232C
Port Reception Completed Flag
(No-protocol mode)
RS-232C
Port Reception Overflow Flag
(No-protocol mode)
Peripheral
Port Communications Error
Flag
RS-232C
Port PT
Communications Flag
RS-232C
Port PT Priority Registered Flags
A39300 to
A39315
RS-232C
Port Reception Counter
(No-protocol mode)
ON when the RS-232C port has completed the reception in no-protocol mode.
• When the number of bytes was specified: ON when the specified number of bytes is received.
• When the end code was specified:
ON when the end code is received or 256 bytes are received.
ON when a data overflow occurred during reception through the RS-232C port in no-protocol mode.
• When the number of bytes was specified: ON when more data is received after the reception was completed but before RXD(235) was executed.
• When the end code was specified:
ON when more data is received after the end code was received but before RXD(235) was executed.
ON when 257 bytes are received before the end code.
1: Overflow
0: No overflow
ON when a communications error has occurred at the peripheral port. (Not valid in peripheral bus mode or
NT Link mode.)
1: Error
0: No error
The corresponding bit will be ON when the RS-232C port is communicating with a PT in NT link mode.
Bits 0 to 7 correspond to units 0 to 7.
1: Communicating
0: Not communicating
The corresponding bit will be ON for the PT that has priority when the RS-232C port is communicating in
NT link mode.
Bits 0 to 7 correspond to units 0 to 7.
These flags are written when the priority registration command is received.
1: Priority registered
0: Priority not registered
Indicates (in binary) the number of bytes of data received when the RS-232C port is in no-protocol mode.
Retained Cleared Written after reception
Retained Cleared ---
Retained Cleared ---
Retained Cleared Written when there is a normal response to the token
Retained Cleared See Function column.
Retained Cleared Written when data is received
724
Auxiliary Area
Appendix B
A394
A395
A395
A397
A400
Address
Words Bits
Name Function
A39400 to
A39407
A39408 to
A39415
A39506
Peripheral
Port PT
Communications Flag
Peripheral
Port PT Priority Registered Flags
File Deleted
Flags
The corresponding bit will be ON when the peripheral port is communicating with a PT in NT link mode.
Bits 0 to 7 correspond to units 0 to 7.
1: Communicating
0: Not communication
The corresponding bit will be ON for the PT that has priority when the peripheral port is communicating in
NT link mode.
Bits 0 to 7 correspond to units 0 to 7.
These flags are written when the priority registration command is received.
1: Priority registered
0: Priority not registered
The system deleted the remainder of a Memory Card file that was being updated when a power interruption occurred.
1: File deleted
0: No files deleted
A39507
A39510 ER/AER
Flag for
Background Execution (Not supported by CS1 @-
CPU @@
(-V1) Units)
A39511 Memory
Corruption
Detected
Flag
The system deleted the remainder of an EM file memory file that was being updated when a power interruption occurred.
1: File deleted
0: No files deleted
Turns ON if an error or illegal access occurs during background execution. Turns OFF when power is turned ON or operation is started.
1: Error
0: No error
(Cleared when background execution is started.)
A39512
---
All
DIP Switch
Pin 6 Status Flag
ON when memory corruption is detected when the power supply is turned ON.
1: Memory corruption
0: Normal operation
The status of pin 6 on the DIP switch on the front of the
CPU Unit is written to this flag every cycle.
1: Pin 6 ON
0: Pin 6 OFF
Simple
Backup
Write
Capacity
(Not supported by
CS1 @-
CPU @@
(-V1) Units)
If a write for a simple backup operation fails, A397 will contain the Memory Card capacity that would have been required to complete the write operation. The value is in Kbytes. (This indicates that the Memory
Card did not have the specified capacity when the write operation was started.)
A397 will be cleared to 0000 hex when the write is completed successfully for a simple backup operation.
Error code When a non-fatal error (user-defined FALS(006) or system error) or a fatal error (user-defined FALS(007) or system error) occurs, the 4-digit hexadecimal error
code is written to this word. (Refer to Details on Auxil-
iary Area Operation on page 746.) When two or more
errors occur simultaneously, the highest error code will be recorded.
Refer to page 746 for details on error codes.
Status after mode change
Status at startup
Write timing/
Related flags, settings
Retained Cleared Written when there is a normal response to the token
Retained Cleared See Function column.
Cleared Cleared Written when the system deletes the file.
Cleared Cleared Written when the system deletes the file.
Cleared Cleared ---
Retained See
Function column.
Retained See
Function column.
Written when power is turned ON.
Written every cycle
Retained Retained When write is executed
Cleared Cleared Written when error occurs
725
Auxiliary Area
Appendix B
A401
Address
Words Bits
Name
A40106 FALS Error
Flag
(Fatal error)
A40108 Cycle Time
Too Long
Flag
(Fatal error)
Function
ON when a non-fatal error is generated by the
FALS(006) instruction. The CPU Unit will continue operating and the ERR/ALM indicator will flash.
The corresponding error code will be written to A400.
Error codes C101 to C2FF correspond to FALS numbers 001 to 511.
1: FALS(006) executed
0: FALS(006) not executed
This flag will be turned OFF when the FALS errors are cleared.
ON if the cycle time exceeds the maximum cycle time set in the PLC Setup (the cycle time monitoring time).
The program execution cycle time is used in a Parallel
Processing Mode.
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
0: Cycle time under max.
1: Cycle time over max.
This flag will be turned OFF when the error is cleared.
Status after mode change
Status at startup
Write timing/
Related flags, settings
Cleared Cleared Written when error occurs
A400
Cleared Cleared Written when the cycle time exceeds max.
PLC Setup (Cycle time monitoring time)
726
Auxiliary Area
Appendix B
A401
Address
Words Bits
A40109
A40110
Program
Error Flag
(Fatal error)
I/O Setting
Error Flag
(Fatal error)
A40111 Too Many
I/O Points
Flag
(Fatal error)
A40112 Inner Board
Stopped
Error Flag
(Fatal error)
A40113
Name
Duplication
Error Flag
(Fatal error)
Function
ON when program contents are incorrect.
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light. The task number where the error occurred will be stored in
A294 and the program address will be stored in A298 and A299.
The type of program error that occurred will be stored in bits 8 to 15 of A295. Refer to the description of A295 or to 2-3 Checking Programs of CS/CJ Series Pro-
grammable Controllers (W394) for more details on program errors.
1: Error
0: No error
This flag will be turned OFF when the error is cleared.
ON when a Unit in the registered I/O tables does not agree with the Unit in the real I/O tables (i.e., the Unit actually connected).
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
1: Error
0: No error
This flag will be turned OFF when the error is cleared.
ON when the number of I/O points being used in Basic
I/O Units exceeds the maximum allowed for the PLC.
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
1: Error
0: No error
This flag will be turned OFF when the error is cleared.
ON when there is an Inner Board Error (Watchdog timer error).
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
1: Error
0: No error
This flag will be turned OFF when the error is cleared, but will be turned ON again unless the cause of the error is eliminated.
ON in the following cases:
• Two CPU Bus Units have been assigned the same unit number.
• Two Special I/O Units have been assigned the same unit number.
• Two Basic I/O Units have been allocated the same data area words.
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
The duplicated unit number is indicated in A409 to
A416.
1: Duplication error
0: No duplication
(This flag will be turned OFF when the error is cleared.)
Status after mode change
Status at startup
Write timing/
Related flags, settings
Cleared Cleared A294,A295, A298 and
A299
Cleared Cleared A40508
Cleared Cleared A407
Cleared Cleared ---
Cleared Cleared A410 to A416
727
Auxiliary Area
Appendix B
A401
A402
Address
Words Bits
A40114
A40115
A40202 Special I/O
Unit Setting
Error Flag
(Non-fatal error)
A40203 CPU Bus
Unit Setting
Error Flag
(Non-fatal error)
A40204
Name
I/O Bus
Error Flag
(Fatal error)
Memory
Error Flag
(Fatal error)
Battery
Error Flag
(Non-fatal error)
Function
ON when an error occurs in a data transfer between the CPU Unit and a Unit mounted to a slot.
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
1: Error
0: No error
The slot number (00 to 09) where the I/O Bus Error occurred is written to A40400 to A40407 in binary and the rack number (00 to 07) is written to A40408 to
A40415 in binary
(This flag will be turned OFF when the error is cleared.)
ON when an error occurred in memory or there was an error in automatic transfer from the Memory Card when the power was turned ON.
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
1: Error
0: No error
The location where the error occurred is indicated in
A40300 to A40308, and A40309 will be turned ON if there was an error during automatic transfer at startup.
This flag will be turned OFF when the error is cleared.
(The automatic transfer at start-up error cannot be cleared without turning off the PLC.)
ON when an installed Special I/O Unit does not match the Special I/O Unit registered in the I/O table. The
CPU Unit will continue operating and the ERR/ALM indicator on the front of the CPU Unit will flash.
1: Error
0: No error
The unit number of the Unit where the setting error occurred is indicated in A428 to A433.
(This flag will be turned OFF when the error is cleared.)
ON when an installed CPU Bus Unit does not match the CPU Bus Unit registered in the I/O table. The CPU
Unit will continue operating and the ERR/ALM indicator on the front of the CPU Unit will flash.
1: Error
0: No error
The unit number of the Unit where the setting error occurred is written to A427.
(This flag will be turned OFF when the error is cleared.)
ON if the CPU Unit’s battery is disconnected or its voltage is low and the Detect Battery Error setting has been set in the PLC Setup.
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash.
1: Error
0: No error
This flag can be used to control an external warning light or other indicator to indicate that the battery needs to be replaced.
(This flag will be turned OFF when the error is cleared.)
Status after mode change
Status at startup
Cleared Cleared A404
Write timing/
Related flags, settings
Cleared Cleared A403
Cleared Cleared A428 to A433
Cleared Cleared A427
Cleared Cleared PLC Setup (Detect
Battery Error)
728
Auxiliary Area
Appendix B
A402
Address
Words Bits
A40205
A40206
A40207
Name
SYSMAC
BUS Error
Flag
(Non-fatal error)
Special I/O
Unit Error
Flag
(Non-fatal error)
CPU Bus
Unit Error
Flag
(Non-fatal error)
A40208 Inner Board
Error Flag
(Non-fatal error)
A40209
A40210
I/O Verification Error
Flag
(Non-fatal error)
PLC Setup
Error Flag
(Non-fatal error)
Function
ON when an error occurs in a data transfer in the SYS-
MAC BUS system. The number of the Master involved is indicated with bits A40500 and A40501.
1: Error
0: No error
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash. (This flag will be turned OFF when the error is cleared.)
ON when an error occurs in a data exchange between the CPU Unit and a Special I/O Unit (including an error in the Special I/O Unit itself).
1: Error
0: No error
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash. The Special I/O Unit where the error occurred will stop operating and the unit number of the Unit where the data exchange error occurred is indicated in
A418 through A423.
(This flag will be turned OFF when the error is cleared.)
ON when an error occurs in a data exchange between the CPU Unit and an CPU Bus Unit (including an error in the CPU Bus Unit itself).
1: Error
0: No error
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash. The CPU Bus Unit where the error occurred will stop operating and the unit number of the Unit where the data exchange error occurred is indicated in A417.
(This flag will be turned OFF when the error is cleared.)
ON when an error occurs in a data exchange between the CPU Unit and the Inner Board (including an error in the Inner Board itself).
1: Error
0: No error
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash. The Inner Board will stop operating and details on the error will be written to A424.
(This flag will be turned OFF when the error is cleared.)
ON when a Basic I/O Unit registered in the I/O Table does not match the Basic I/O Unit actually installed in the PLC because a Unit was added or removed.
1: Mismatch
0: No mismatch
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash.
(This flag will be turned OFF when the error is cleared.)
ON when there is a setting error in the PLC Setup. The
CPU Unit will continue operating and the ERR/ALM indicator on the front of the CPU Unit will flash. The location of the error will be written to A406.
1: Error
0: No error
(This flag will be turned OFF when the error is cleared.)
Status after mode change
Status at startup
Write timing/
Related flags, settings
Cleared Cleared A40500, A40501
Cleared Cleared A418 to A423
Cleared Cleared A417
Cleared Cleared A424
Cleared Cleared ---
Cleared Cleared A406
729
Auxiliary Area
Appendix B
A402
Address
Words Bits
A40212 Basic I/O
Unit Error
Flag
(Non-fatal error)
A40213 Interrupt
Task Error
Flag
(Non-fatal error)
A40215
Name
FAL Error
Flag
(Non-fatal error)
Function
ON when an error has occurred in a Basic I/O Unit
(including C200H Group-2 High-density I/O Units and
C200H Interrupt Input Units).
1: Error
0: No error
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash. The location of the error will be written to A408.
(This flag will be turned OFF when the error is cleared.)
ON when the Detect Interrupt Task Errors setting in the PLC Setup is set to “Detect” and an interrupt task is executed for more than 10 ms during I/O refreshing of a C200H Special I/O Unit or a SYSMAC BUS I/O
Unit.
This flag will also be turned ON if an attempt is made to refresh a Special I/O Unit’s I/O from an interrupt task with IORF(097) while the Unit’s I/O is being refreshed by cyclic I/O refreshing (duplicate refreshing).
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash.
1: Error
0: No error
(This flag will be turned OFF when the error is cleared.)
ON when a non-fatal error is generated by executing
FAL(006). The CPU Unit will continue operating and the ERR/ALM indicator on the front of the CPU Unit will flash.
The bit in A360 to A391 that corresponds to the FAL number specified in FALS(006) will be turned ON and the corresponding error code will be written to A400.
Error codes 4101 to 42FF correspond to FAL numbers
001 to 2FF (0 to 511).
1: FALS(006) error occurred
0: FALS(006) not executed
(This flag will be turned OFF when the error is cleared.)
Status after mode change
Status at startup
Cleared Cleared A408
Write timing/
Related flags, settings
Cleared Cleared A426, PLC Setup
(Detect Interrupt Task
Errors setting)
Cleared Cleared A360 to A391, A400
730
Auxiliary Area
Appendix B
Words
A403
A404
A405
Address to
Bits
A40300 to
A40308
Name
A40309 Memory
Card Startup Transfer
Error Flag
A40310 Flash Memory Error
Flag
A40400 to
A40407
A40408
A40415
A40500 and
A40501
A40515
Memory
Error
Location
I/O Bus
Error Slot
Number
I/O Bus
Error Rack
Number
SYSMAC
BUS Master Flags
Peripheral
Servicing
Too Long
Flag (Not supported by CS1 @-
CPU @@
(-V1) Units)
Function
When a memory error occurs, the Memory Error Flag
(A40115) is turned ON and one of the following flags is turned ON to indicate the memory area where the error occurred.
1: Error
0: No error
A40300: User program
A40304: PLC Setup
A40305: Registered I/O Table
A40307: Routing Table
A40308: CPU Bus Unit Settings
When a memory error occurs, the CPU Unit will continue operating and the ERR/ALM indicator on the front of the CPU Unit will flash.
(The corresponding flag will be turned OFF when the error is cleared.)
ON when automatic transfer at start-up has been selected and an error occurs during automatic transfer. An error will occur if there is a transfer error, the specified file does not exist, or the Memory Card is not installed.
1: Error
0: No error
(This flag will be turned OFF when the error is cleared by turning the power off. The error cannot be cleared without turning the power off.)
ON when the flash memory is physically destroyed.
1: Error
0: No error
Status after mode change
Status at startup
Write timing/
Related flags, settings
Cleared Cleared A40115
Cleared Cleared Written when power is turned ON
Cleared Cleared Refreshed when error is detected.
Not supported by
CS1 @-CPU@@ CPU
Units
Cleared Cleared A40114 Contains the 8-bit binary slot number (00 to 09) where an I/O Bus Error occurred.
00 to 09 hex (slot No. 0 to 9)
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light. The I/O Bus
Error Flag (A40114) will be ON.
(This flag will be turned OFF when the error is cleared.)
Contains the 8-bit binary rack number (00 to 07) where an I/O Bus Error occurred.
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light. The I/O Bus
Error Flag (A40114) will be ON.
00 to 07 hex (Rack No. 0 to 7)
(This flag will be turned OFF when the error is cleared.)
When a transmission error occurs in the SYSMAC
BUS system, the flag for the affected Master Unit will be turned ON.
A40500: Flag for Master Unit #0
A40501: Flag for Master Unit #1
1: Error
0: No error
(The flag will be turned OFF when the error is cleared.)
Turns ON when the peripheral servicing time in a Parallel Processing Mode exceeds 2 s. This will also cause a cycle time error and operation will stop.
1: Too long (Parallel processing cannot be used.)
0: Not too long (Parallel processing can be used.)
Cleared
Cleared
Cleared
Cleared
Cleared
Cleared
A40114
---
A268
731
Auxiliary Area
Appendix B
Words
A406
A407
Address
All
Bits
A40700 to
A40712
A40713 to
A40715
Name
PLC Setup
Error Location
Too Many
I/O Points,
Details
Too Many
I/O Points,
Cause
Function
When there is a setting error in the PLC Setup, the location of that error is written to A406 in 4-digit hexadecimal. The location is given as the address displayed on a Programming Console.
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash.
0000 to 01FF hexadecimal
(A406 will be cleared when the cause of the error is eliminated.)
The 6 possible causes of the Too Many I/O Points
Error are listed below. The 3-digit binary value in
A40713 to A40715 indicates the cause of the error
(values 0 to 5 correspond to causes 1 to 6, below).
The 13-bit binary value in A40700 to A40712 indicates the details: the excessive value or the duplicated unit number.
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
1) The number of I/O points will be written here when the total number of I/O points set in the I/O Table
(excluding Slave Racks) exceed the maximum allowed for the CPU Unit.
2) The number of interrupt inputs will be written here when there are more than 32 interrupt inputs.
3) The unit number of the Slave Unit will be written here when a unit number is duplicated or the number of I/O points on a C500 Slave Unit exceeds 320.
4) The unit number of the I/O Terminal (excluding
Slave Racks) will be written here when a unit number is duplicated.
5) The unit number of the Master Unit will be written here when a unit number is duplicated or the unit number is outside of the allowed setting range.
6) The number of Racks will be written here when the number of Expansion I/O Racks exceeds the maximum.
(The relevant value will be written here (A40700 to
A40712) when the error occurs. These bits will be cleared when the error is cleared.)
The 3-digit binary value of these bits indicates the cause of the Too Many I/O Points Error and shows the meaning of the value written to bits A40700 to
A40712.
Values of 000 to 101 (0 to 5) correspond to causes 1 through 6 described in “Too Many I/O Points, Cause 1,” above.
000: Too many I/O total
001: Too many interrupt I/O
010: Duplicate Remote I/O Slave Unit unit numbers or too many I/O on C500 Remote I/O Slave Units
(more than 320)
011: Duplicate I/O Terminal unit numbers
100: Duplicate Remote I/O Master Unit unit numbers or undefined unit numbers (not 0 or 1)
101: Too many Racks
(These bits will be cleared when the error is cleared.)
Status after mode change
Status at startup
Write timing/
Related flags, settings
Cleared Cleared A40210
Cleared Cleared A40111, A40713 to
A40715
Cleared Cleared ---
732
Auxiliary Area
Appendix B
Address
Words
A408
A409
A410
A411 to
A416
A417
A40800 to
A40807
Basic I/O
Unit Error,
Slot Number
A40808 to
A40815
A40900 to
A40907
A41000 to to
Bits
A41015
A41100 to
A41615
A41700
A41715
Name
Basic I/O
Unit Error,
Rack Number
Expansion
I/O Rack
Number
Duplication
Flags
CPU Bus
Unit Number Duplication Flags
Special I/O
Unit Number Duplication Flags
CPU Bus
Unit Error,
Unit Number Flags
Function
When an error has occurred in a Basic I/O Unit (including C200H Group-2 High-density I/O Units and C200H
Interrupt Input Units), A40212 will be turned ON and the slot number where the error occurred will be written here in binary.
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash.
00 to 09 hexadecimal (Slots 0 to 9)
(These bits will be cleared when the error is cleared.)
When an error has occurred in a Basic I/O Unit (including C200H Group-2 High-density I/O Units and C200H
Interrupt Input Units), A40212 will be turned ON and the Rack number where the error occurred will be written here in binary.
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash.
00 to 07 hexadecimal (Racks 0 to 7)
(These bits will be cleared when the error is cleared.)
The corresponding flag will be turned ON when an
Expansion I/O Rack’s starting word address was set from a Programming Device and two Racks have overlapping word allocations or a Rack’s starting address exceeds CIO 0901. Bits 00 to 07 correspond to Racks
0 to 7.
1: The same word is allocated on more than one Rack or the starting word address on the Rack is too high
(i.e., causes the area to be exceeded).
0: No error
(The corresponding flag will be cleared when the error is cleared.)
The Duplication Error Flag (A40113) and the corresponding flag in A410 will be turned ON when an CPU
Bus Unit’s unit number has been duplicated. Bits 00 to
15 correspond to unit numbers 0 to F.
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
1: Duplication detected
0: No duplication
The Duplication Error Flag (A40113) and the corresponding flag in A411 through A416 will be turned ON when a Special I/O Unit’s unit number has been duplicated.
Bits 00 to 15 correspond to unit numbers 0 to F.
(Bits A41100 to A41615 correspond to unit numbers
000 to 05F (0 to 95).)
CPU Unit operation will stop and the ERR/ALM indicator on the front of the CPU Unit will light.
The corresponding bit will also be turned ON when the
Special I/O Unit’s words are also allocated to a Basic
I/O Unit on an Expansion I/O Rack because of the
Expansion I/O Rack’s starting word setting.
1: Duplication detected
0: No duplication
When an error occurs in a data exchange between the
CPU Unit and an CPU Bus Unit, the CPU Bus Unit
Error Flag (A40207) is turned ON and the bit in A417 corresponding to the unit number of the Unit where the error occurred is turned ON. Bits 00 to 15 correspond to unit numbers 0 to F.
1: Error
0: No error
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash.
Status after mode change
Status at startup
Write timing/
Related flags, settings
Cleared Cleared A40212
Cleared Cleared A40212
Cleared Cleared ---
Cleared Cleared A40113
Cleared Cleared A40113
Cleared Cleared A40207
733
Auxiliary Area
Appendix B
Address
Words
A418 to
A423
A424
A425
A41800 to
A42315
Special I/O
Unit Error,
Unit Number Flags
A42400 to
A42415
Inner Board
Error Information to
Bits
A42504 to
A42506
A42504
A42508
A42515
Name
Slave Number of SYS-
MAC BUS
Error After
Start-up
Function
When an error occurs in a data exchange between the
CPU Unit and a Special I/O Unit, the Special I/O Unit
Error Flag (A40206) will be turned ON.
Each bit corresponds to a unit number. Bit 00 in A418 to bit 15 in A423 correspond to unit numbers 0 to 95.
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash.
1: Error
0: No error
(Bits A41800 to A42315 correspond to unit numbers
000 to 05F (0 to 95).)
The unit number of the Unit where the error occurred is indicated in A417.
If the unit number of the Unit is uncertain, none of the flags will be turned ON.
(The flag will be turned OFF when the error is cleared.)
When an error occurs in a data exchange between the
CPU Unit and the Inner Board, the Inner Board Error
Flag (A40208) and the appropriate bits in A424 will be turned ON.
•The meaning of the bits in A424 depends upon the model of Inner Board that is being used. Refer to the
Board’s operation manual for details.
A424 will be cleared when the error is cleared.
When there is an error in a Slave Rack, these bits contain the Slave’s unit number.
0 to 4 hex (Unit No. 0 to 4)
These bits are reset when the system is restarted.
When there is an error in an Optical I/O Unit (excluding
Slave Racks), the status of A42504 (ON or OFF) indicates whether the Unit is allocated high or low bytes.
This flag is turned OFF when the system is restarted.
1: High
0: Low
When there is an error in a Slave Rack, this byte contains the 2-digit hexadecimal unit number of the Master to which the Slave is connected.
B0: Unit 0
B1: Unit 1
When there is an error in an Optical I/O Unit, this byte contains its 2-digit hexadecimal unit number (00 to 1F, or 0 to 31 decimal).
00 to 1F hex (0 to 31)
Status after mode change
Status at startup
Write timing/
Related flags, settings
Cleared Cleared A40206
Cleared Cleared ---
Cleared Cleared Written every cycle
Cleared Cleared Written every cycle
734
Auxiliary Area
Appendix B
A426
A427
A440
A441
A442
Address
Words
A428 to
A433
A42600 to to
All
All
Bits
A42611
A42615
A42700
A42715
A42800 to
A43315 ber
Name
Interrupt
Task Error,
Task Num-
Interrupt
Task Error
Cause Flag
CPU Bus
Unit Setting
Error, Unit
Number
Flags
Special I/O
Unit Setting
Error, Unit
Number
Flags
Max. Interrupt Task
Processing
Time
Interrupt
Task With
Max. Processing
Time
A44211 to
A44212
PLC Link
Operating
Level Detection Flags
Function
When A40213 is ON, the content of these bits depends upon the status of A42615 (the Interrupt Task
Error Cause Flag).
1) A42615 OFF:
An interrupt task was executed for more than 10 ms during I/O refreshing of a C200H Special I/O Unit or a SYSMAC BUS Remote I/O Unit. A42600 to
A42611: contain the interrupt task number.
2) A42615 ON:
An attempt was made to refresh a Special I/O Unit’s
I/O from an interrupt task with IORF(097) while the
Unit’s I/O is being refreshed by cyclic I/O refreshing
(duplicate refreshing). A42600 to A42611: contain the Special I/O Unit’s unit number.
Task number: 000 to 0FF (0 to 255)
Unit number: 000 to 05F (0 to 95)
These bits will be cleared when the error is cleared.
When A40213 (the Interrupt Task Error Flag) is ON, this flag indicates the cause of the error. The CPU Unit will continue operating and the ERR/ALM indicator on the front of the CPU Unit will flash.
A42615 will be ON if a Special I/O Unit was refreshed from the interrupt task while it was already being refreshed.
A42615 will be OFF if the interrupt task was executed for more than 10 ms during I/O refreshing of a C200H
Special I/O Unit or a SYSMAC BUS Remote I/O Unit.
1: Duplicated refreshing
0: Interrupt task executed over 10 ms
When an CPU Bus Unit Setting Error occurs, A40203 and the bit in this word corresponding to the Unit’s unit number are turned ON. Bits 00 to 15 correspond to unit numbers 0 to F.
The CPU Unit will continue operating and the
ERR/ALM indicator on the front of the CPU Unit will flash.
1: Setting error
0: No setting error
If a Special I/O Unit Setting Error occurs (i.e., when
A40202 turns ON), the bit corresponding to the unit number will turn ON. The CPU Unit will continue operating and the ERR/ALM indicator on the front of the
CPU Unit will flash.
Bits A42800 to A43315 correspond to 00 to 5F (unit numbers 0 to 95).
Contains the Maximum Interrupt Task Processing
Time in units of 0.1 ms.
(This value is written after the interrupt task with the max. processing time is executed and cleared when
PLC operation begins.)
Contains the task number of the interrupt task with the maximum processing time. Hexadecimal values 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 interrupt task with the max. processing time is executed and cleared when
PLC operation begins.)
Indicate whether PLC Link Units are mounted to the
PLC as follows:
A44211: PLC Link operating level 1
A44212: PLC Link operating level 0
1: Unit mounted
0: Unit not mounted
Status after mode change
Status at startup
Write timing/
Related flags, settings
Cleared Cleared A40213, A42615
Cleared Cleared A40213, A42600 to
A42611
Cleared Cleared Written when power is turned ON or I/O is recognized
A40203
Cleared Cleared Written when power is turned ON or I/O is recognized
A40202
Cleared Cleared See Function column.
Cleared Cleared See Function column.
Retained Cleared Written when power is turned ON or when
Unit is restarted.
A247 to A250
735
Auxiliary Area
Appendix B
Read/Write Area (Set by User)
Addresses
Word
A500
A501
A502 to
A507
Bit
Name Function
A50012 IOM Hold Bit Turn this bit ON to preserve the status of the I/O Memory when shifting from
PROGRAM to RUN or MONITOR mode or vice versa. The I/O Memory includes the CIO Area, Transition Flags, Timer
Flags and PVs, Index Registers, Data
Registers, and the Current EM Bank
Number.
(If the status of the IOM Hold Bit itself is preserved in the PLC Setup (IOM Hold
Bit Status), the status of the I/O Memory Area will be retained when the PLC is turned ON or power is interrupted.)
A50013 Forced Status Hold Bit
Turn this bit ON to preserve the status of bits that have been force-set or forcereset when shifting from PROGRAM to
MONITOR mode or vice versa. Bits that have been force-set or force-reset will always return to their default status when shifting to RUN mode.
(If the status of the Forced Status Hold
Bit itself is preserved in the PLC Setup
(Forced Status Hold Bit Status), the status of force-set and force-reset bits will be retained when the PLC is turned ON or power is interrupted.)
A50014 Error Log
Reset Bit
A50015 Output OFF
Bit
Turn this bit ON to reset the Error Log
Pointer (A300) to 00.
The contents of the Error Log Area itself (A100 to A199) are not cleared.
(This bit is automatically reset to 0 after the Error Log Pointer is reset.)
Turn this bit ON to turn OFF all outputs from Basic I/O Units and Special I/O
Units. The INH indicator on the front of the CPU Unit will light while this bit is
ON.
(The status of the Output OFF Bit is retained through power interruptions.)
A50100 to
A50115
CPU Bus Unit
Restart Bits
A50200 to
A50715
Special I/O
Unit Restart
Bits
Turn these bits ON to restart (initialize) the CPU Bus Unit with the corresponding unit number. Bits 00 to 15 correspond to unit numbers 0 to F.
When a restart bit is turned ON, the corresponding CPU Bus Unit Initializing
Flag (A30200 to A30215) will be turned
ON. Both the restart bit and initializing flag will be turned OFF automatically when initialization is completed.
Turn these bits ON to restart (initialize) the Special I/O Unit with the corresponding unit number. Bits A50200 to
A50715 correspond to unit numbers 0 to 95.
When a restart bit is turned ON, the corresponding Special I/O Unit Initializing Flag (A33000 to A33515) will be turned ON. Both the restart bit and initializing flag will be turned OFF automatically when initialization is completed.
Settings
1: Retained
0: Not retained
1: Retained
0: Not retained
0 →1: Clear
0 to 1: Restart
1 to 0: Restart completed
Turned OFF by the system when the Unit has been restarted.
0 to 1: Restart
1 to 0: Restart completed
Turned OFF by the system when the Unit has been restarted.
Status after mode change
Retained
Retained
Retained
Retained
Retained Cleared A30200 to A30215
Retained
Status at startup
See
Function column.
See
Function column.
Cleared
Retained
Cleared
---
Write timing/
Related Flags, umn.
umn.
A300
Settings
See Function col-
PLC Setup
(IOM Hold Bit Status setting)
See Function col-
PLC Setup
(Forced Status
Hold Bit Status setting)
A100 to A199,
A33000 to A33515
736
Auxiliary Area
Appendix B
Addresses
Word Bit
Name Function Settings
A508 A50809 Differentiate
Monitor Completed Flag
A50811 Trace Trigger
Monitor Flag
ON when the differentiate monitor condition has been established during execution of differentiation monitoring.
(This flag will be cleared to 0 when differentiation monitoring starts.)
ON when a trigger condition is established by the Trace Start Bit (A50814).
OFF when the next Data Trace is started by the Sampling Start bit
(A50815).
1: Monitor condition established
0: Not yet established
1: Trigger condition established
0: Not yet established or not tracing
1: Trace completed
0: Not tracing or trace in progress
A50812 Trace Completed Flag
ON when sampling of a region of trace memory has been completed during execution of a Trace.
OFF when the next time the Sampling
Start Bit (A50815) is turned from OFF to ON.
ON when the Sampling Start Bit
(A50815) is turned from OFF to ON.
OFF when the trace is completed.
A509
A510 to
A511
A512 to
A513
A50813 Trace Busy
Flag
A50814 Trace Start Bit Turn this bit from OFF to ON to establish the trigger condition. The offset indicated by the delay value (positive or negative) determines which data samples are valid.
A50815 Sampling
Start Bit
When a data trace is started by turning this bit from OFF to ON from a Programming Device, the PLC will begin storing data in Trace Memory by one of the three following methods:
1) Data is sampled at regular intervals
(10 to 2,550 ms).
2) Data is sampled when TRSM(045) is executed in the program.
3) Data is sampled at the end of every cycle.
The operation of A50815 can be controlled only from a Programming
Device.
Turn this bit ON to refresh the error information in A425 (unit number of
Slave where error occurred after startup).
A50900 SYSMAC
BUS Slave
Number
Refresh Bit
Start-up Time These words contain the time at which the power was turned ON. The contents are updated every time that the power is turned ON. The data is stored in BCD.
A51000 to A51007: Second (00 to 59)
A51008 to A51015: Minute (00 to 59)
A51100 to A51107: Hour (00 to 23)
A51108 to A51115: Day of month (01 to
31)
Power Interruption Time
These words contain the time at which the power was interrupted. The contents are updated every time that the power is interrupted. The data is stored in BCD.
A51200 to A51207: Second (00 to 59)
A51208 to A51215: Minute (00 to 59)
A51300 to A51307: Hour (00 to 23)
A51308 to A51315: Day of month (01 to
31)
(These words are not cleared at startup.)
1: Trace in progress
0: Not tracing
(not sampling)
1: Trace trigger condition established
0: Not established
0 to 1: Starts data trace
(sampling)
Turned ON from Programming Device.
See Function column.
See Function column.
Status after mode change
Status at startup
Retained Cleared ---
Write timing/
Related Flags,
Settings
Retained Cleared ---
Retained Cleared ---
Retained Cleared ---
Retained Cleared ---
Retained Cleared ---
Retained Cleared A425
Retained See
Function column.
Written when power is turned
ON
Retained Retained Written at power interruption
737
Auxiliary Area
Appendix B
Addresses
Word
A514
A515 to
A517
A518 to
A520
A523
A526
Bit
Number of
Power Interruptions
Operation
Start Time
Operation End
Time
Total Power
ON Time
A52600 RS-232C Port
Restart Bit
A52601 Peripheral
Port Restart
Bit
Name
A52614 SYSMAC
BUS Master 1
Restart Bit
A52615 SYSMAC
BUS Master 0
Restart Bit
Function
Contains the number of times that power has been interrupted since the power was first turned ON. The data is stored in binary. To reset this value, overwrite the current value with 0000.
(This word is not cleared at start-up, but it is cleared when the Memory Corruption Detected Flag (A39511) goes ON.)
The time that operation started as a result of changing the operating mode to RUN or MONITOR mode is stored here in BCD.
A51500 to A51507: Seconds (00 to 59)
A51508 to A51515: Minutes (00 to 59)
A51600 to A51607: Hour (00 to 23)
A51608 to A51615: Day of month (00 to
31)
A51700 to A51707: Month (01 to 12)
A51708 to A51715: Year (00 to 99)
Note: The previous start time is stored after turning ON the power supply until operation is started.
The time that operation stopped as a result of changing the operating mode to PROGRAM mode is stored here in
BCD.
A51800 to A51807: Seconds (00 to 59)
A51808 to A51815: Minutes (00 to 59)
A51900 to A51907: Hour (00 to 23)
A51908 to A51915: Day of month (00 to
31)
A52000 to A52007: Month (01 to 12)
A52008 to A52015: Year (00 to 99)
Note: If an error occurs in operation, the time of the error will be stored. If the operating mode is then changed to
PROGRAM mode, the time that PRO-
GRAM mode was entered will be stored.
Contains the total time that the PLC has been on in 10-hour units. The 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 start-up, but it is cleared to 0000 when the Memory
Corruption Detected Flag (A39511) goes ON.)
Turn this bit ON to restart the RS-232C port. (Do not use this bit when the port is operating in peripheral bus mode.)
This bit is turned OFF automatically when the restart processing is completed.
Turn this bit ON to restart the peripheral port.
This bit is turned OFF automatically when the restart processing is completed.
Turn this bit ON to restart SYSMAC
BUS Remote I/O Master Unit 1.
This bit is turned OFF automatically when the restart processing is completed.
Turn this bit ON to restart SYSMAC
BUS Remote I/O Master Unit 0.
This bit is turned OFF automatically when the restart processing is completed.
Settings
0000 to FFFF hexadecimal
See at left.
See at left.
0000 to FFFF hexadecimal
Status after mode change
Retained
Retained
Retained
Status at startup
Retained
Retained
Retained
Write timing/
Related Flags,
ON
Settings
Retained Retained Written when power is turned
A39511
See at left.
See at left.
---
0 to 1: Restart Retained Cleared ---
0 to1: Restart Retained Cleared ---
0 to 1: Restart Retained Cleared ---
0 to 1: Restart Retained Cleared ---
738
Auxiliary Area
Appendix B
Addresses
Word
A527
A528
A529
Bit
Name Function Settings Status after mode change
Status at startup
Write timing/
Related Flags,
Settings
Retained Cleared A52709 A52700 to
A52707
Online Editing Disable Bit
Validator
A52709 Online Editing Disable Bit
The Online Editing Disable Bit
(A52709) is valid only when this byte contains 5A.
To disable online editing from a Programming Device, set this byte to 5A and turn ON A52709.
(Online editing refers to changing or adding to the program while the PLC is operating in MONITOR mode.)
Turn this bit ON to disable online editing. The setting of this bit is valid only when A52700 to A52707 have been set to 5A.
A52800 to
A52807
RS-232C Port
Error Flags
These flags indicate what kind of error has occurred at the RS-232C port; they are automatically turned OFF when the
RS-232C port is restarted.
(These flags are valid in Serial Gateway mode. They are not valid in peripheral bus mode and only bit 5 is valid in NT
Link mode.)
Bits 0 and 1: Not used.
Bit 2: ON when there was a parity error.
Bit 3: ON when there was a framing error.
Bit 4: ON when there was an overrun error.
Bit 5: ON when there was a timeout error.
Bits 6 and 7: Not used.
A52808 to
A52815
Peripheral
Port Error
Code
--FAL/FALS
Number for
System Error
Simulation
(Not supported by
CS1
CPU
@-
@@
(-V1) Units)
These flags indicate what kind of error has occurred at the peripheral port; they are automatically turned OFF when the peripheral port is restarted.
(These flags are valid in Serial Gateway mode. They are not valid in peripheral bus mode and only bit 13 (timeout error) is valid in NT Link mode.)
Bits 8 and 9: Not used.
Bit 10: ON when there was a parity error.
Bit 11: ON when there was a framing error.
Bit 12: ON when there was an overrun error.
Bit 13: ON when there was a timeout error.
Bits 14 and 15: Not used.
Set a dummy FAL/FALS number to use to simulate the system error using
FAL(006) or FALS(007).
When FAL(006) or FALS(007) is executed and the number in A529 is the same as the one specified in the operand of the instruction, the system error given in the operand of the instruction will be generated instead of a userdefined error.
5A:
A52709 enabled
Other value:
A52709 disabled
1: Disabled
0: Not disabled
See Function column.
See Function column.
0001 to 01FF hex: FAL/FALS numbers 1 to
511
0000 or 0200 to FFFF hex:
No FAL/FALS number for system error simulation. (No error will be generated.)
Retained
Retained
Retained
Cleared
Cleared
Cleared
A52700 to A52707
---
---
Retained Cleared ---
739
Auxiliary Area
Appendix B
Addresses
Word
A530
A580
(See note.)
A581
(See note.)
A582
(See note.)
A595 and
A596
A597
---
Bit
Name
Power Interruption Disable Setting
(Not supported by
CS1
CPU
@-
@@
(-V1) Units)
Set to A5A5 hex to disable power interrupts (except the Power OFF Interrupt task) between DI(693) and EI(694) instructions.
Function
Automatically stores the number of retries in the FB communications instruction settings specified in the PLC
Setup.
Settings
A5A5 hex:
Masking power interruption processing enabled
Other: Masking power interruption processing not enabled.
0 to F hex
Status after mode change
Status at startup
Cleared Cleared ---
Write timing/
Related Flags,
Settings
As set in
PLC
Setup
Cleared Written at start of operation
A58000 to
A58003
FB Communications
Instruction
Retries (Not supported by
CS1 @-
CPU @@
(-V1) Units)
FB Communications
Instruction
Response
Monitoring
Time (Not supported by
CS1 @-
CPU @@
(-V1) Units)
---
---
FB DeviceNet
Communications Instruction Response
Monitoring
Time (Not supported by
CS1 @-
CPU @@
(-V1) Units)
IR00 Output for Background Execution (Not supported by
CS1 @-
CPU @@
(-V1) Units)
DR00 Output for Background Execution (Not supported by
CS1 @-
CPU @@
(-V1) Units)
Automatically stores the FB communications instruction response monitoring time set in the PLC Setup.
Automatically stores the FB DeviceNet communications instruction response monitoring time set in the PLC Setup.
When an index register is specified as the output for an instruction processed in the background, A595 and A596 receive the output instead of IR00.
When a data register is specified as the output for an instruction processed in the background, A597 receives the output instead of DR00.
0001 to FFFF hex (Unit: 0.1 s;
Range: 0.1 to
6553.5)
0000 hex: 2 s
0001 to FFFF hex (Unit: 0.1 s;
Range: 0.1 to
6553.5)
0000 hex: 2 s
0000 0000 to
FFFF FFFF hex
(A596 contains the leftmost digits.)
0000 to FFFF hex
As set in
PLC
Setup
As set in
PLC
Setup
Cleared
Cleared
Cleared
Cleared
Cleared
Cleared
Written at start of operation
Written at start of operation
---
---
740
Auxiliary Area
Appendix B
Addresses
Word
A598
Bit
Name
A59800 FPD Teaching Bit
A59801 Equals Flag for Background Execution (Not supported by
CS1 @-
CPU @@
(-V1) Units)
Function Settings
Turn this bit ON to set the monitoring time automatically with the teaching function.
While A59800 is ON, FPD(269) measures how long it takes for the diagnostic output to go ON after the execution condition goes ON. If the measured time exceeds the monitoring time, the measured time is multiplied by 1.5 and that value is stored as the new monitoring time.
(The teaching function can be used only when a word address has been specified for the monitoring time operand.)
Turns ON if matching data is found for an SRCH(181) instruction executed in the background.
1: Teach monitoring time
0: Teaching function off
1: Search data found in table
0: Search data not found
Status after mode change
Status at startup
Cleared Cleared ---
Write timing/
Related Flags,
Settings
Cleared Cleared ---
Note These Auxiliary Area bits/words are not to be written by the user. The number of resends and response monitoring time must be set by the user in the FB communications instructions settings in the PLC
Setup, particularly when using function blocks from the OMRON FB Library to execute FINS messages or DeviceNet explicit messages communications. The values set in the Settings for OMRON FB Library in the PLC Setup will be automatically stored in the related Auxiliary Area words A580 to A582 and used by the function blocks from the OMRON FB Library.
Addresses
Word Bit
Name Function Settings Status after mode change
Status at startup
Cleared Cleared ---
Write timing/
Related Flags,
Settings
A600 to
A603
A604 to
A607
A608
A619
A60800 Inner
A61901
A61902
Macro
Area Input
Words
Macro
Area Output Words
Board
Restart
Bit
Peripheral Port
Settings
Changing
Flag
RS-232C
Port Settings
Changing
Flag
When MCRO(099) is executed, it copies the input data from the specified source words (input parameter words) to A600 through A603 and executes the specified subroutine with that input data.
After the subroutine specified in
MCRO(099) has been executed, the results of the subroutine are transferred from A604 through A607 to the specified destination words. (output parameter words).
Turn the corresponding bit ON to restart
(initialize) Inner Board 0 or 1.
The bit is turned OFF automatically when the restart processing is completed.
ON while the peripheral port’s communications settings are being changed.
This flag will be turned ON when
STUP(237) is executed and it will be turned OFF after the settings have been changed.
ON while the RS-232C port’s communications settings are being changed.
This flag will be turned ON when
STUP(237) is executed and it will be turned OFF after the settings have been changed.
Input data:
4 words
Output data:
4 words
---
1: Changing
0: Not changing
1: Changing
0: Not changing
Cleared Cleared ---
Retained Cleared ---
Retained Cleared ---
Retained Cleared ---
741
Auxiliary Area
Appendix B
Addresses
Word Bit
Name Function Settings Status after mode change
Status at startup
Retained Cleared ---
Write timing/
Related Flags,
Settings
A620
A621 to
A635
A636
A62001 Communications
Unit 0,
Port 1
Settings
Changing
Flag
A62002 Communications
Unit 0,
Port 2
Settings
Changing
Flag
A62003 Communications
Unit 0,
Port 3
Settings
Changing
Flag
A62004 Communications
Unit 0,
Port 4
Settings
Changing
Flag
A62100 to
A63504
Communications
Units 0 to
15, Ports
1 to 4 Settings
Changing
Flag
A63601 Communications
Board
Port 1
Settings
Changing
Flag
A63602 Communications
Board
Port 2
Settings
Changing
Flag
A63603 Communications
Board
Port 3
Settings
Changing
Flag
A63604 Communications
Board
Port 4
Settings
Changing
Flag
The corresponding flag will be ON when the settings for that port are being changed.
The flag will be turned ON when
STUP(237) is executed and it will be turned OFF by an event issued from the
Serial Communications Unit after the settings have been changed.
It is also possible for the user to indicate a change in serial port settings by turning these flags ON.
1: Changing
0: Not changing
1: Changing
0: Not changing
Same as above.
1: Changing
0: Not changing
1: Changing
0: Not changing
1: Changing
0: Not changing
The corresponding flag will be ON when the settings for that port are being changed.
The flag will be turned ON when
STUP(237) is executed and it will be turned OFF by an event issued from the
Serial Communications Board after the settings have been changed.
It is also possible for the user to indicate a change in serial port settings by turning these flags ON.
1: Changing
0: Not changing
1: Changing
0: Not changing
1: Changing
0: Not changing
1: Changing
0: Not changing
Retained
Retained
Retained
Retained
Cleared
Cleared
Cleared
Cleared
---
---
---
---
Retained Cleared ---
Retained Cleared ---
Retained Cleared ---
Retained Cleared ---
742
Auxiliary Area
Appendix B
Addresses
Word
A650
A651
Bit
Name Function Settings Status after mode change
Status at startup
Retained Cleared ---
Write timing/
Related Flags,
Settings
A65000 to
A65007
Program
Replacement End
Code
(Not supported by
CS1 @-
CPU @@
(-V1)
Units)
A65014 Replacement
Error Flag
(Not supported by
CS1 @-
CPU @@
(-V1)
Units)
• Normal End (i.e., when A65014 is
OFF)
01 hex: Program file (.OBJ) replaced.
• Error End (i.e., when A65014 is ON)
00 hex: Fatal error
01 hex: Memory error
11 hex: Write-protected
12 hex: Program replacement password error
21 hex: No Memory Card
22 hex: No such file
23 hex: Specified file exceeds capacity (memory error).
31 hex: One of the following in progress:
• File memory operation
• User program write
• Operating mode change
ON when the Replacement Start Bit
(A65015) is turned ON to replace the program, but there is an error. If the
Replacement Start Bit is turned ON again, the Replacement Error Flag will be turned OFF.
---
A65015 Replacement Start
Bit (Not supported by
CS1 @-
CPU @@
-V1)
Units)
--Program
Password
(Not supported by
CS1
CPU
@-
@@
(-V1)
Units)
Program replacement starts when the
Replacement Start Bit is turned ON if the Program Password (A651) is valid
(A5A5 hex). Do not turn OFF the
Replacement Start Bit during program replacement.
When the power is turned ON or program replacement is completed, the
Replacement Start Bit will be turned
OFF, regardless of whether replacement was completed normally or in error.
It is possible to confirm if program replacement is being executed by reading the Replacement Start Bit using a
Programming Device, PT, or host computer.
Type in the password to replace a program.
A5A5 hex: Replacement Start Bit
(A65015) is enabled.
Any other value: Replacement Start Bit
(A65015) is disabled.
When the power is turned ON or program replacement is completed, the
Replacement Start Bit will be turned
OFF, regardless of whether replacement was completed normally or in error.
---
1: Replacement error
0: No replacement error, or the
Replacement Start
Bit (A65015) is ON.
1: Program replaced
0: Replacement completed, or after power is turned ON
Retained Cleared ---
Retained Cleared ---
Retained Cleared ---
743
Auxiliary Area
Appendix B
Addresses
Word Bit
A654 to
A657
---
Name Function
Program
File Name
(Not supported by
CS1 @-
CPU @@
(-V1)
Units)
When program replacement starts, the program file name will be stored in
ASCII. File names can be specified up to eight characters in length excluding the extension.
File names are stored in the following order: A654 to A657 (i.e., from the lowest word to the highest), and from the highest byte to the lowest. If a file name is less than eight characters, the lowest remaining bytes and the highest remaining word will be filled with spaces (20 hex). Null characters and space characters cannot be used within file names.
Example: File name is ABC.OBJ
---
Settings Status after mode change
Status at startup
Retained Cleared ---
Write timing/
Related Flags,
Settings
A720 to
A722
A723 to
A725
A726 to
A728
A729 to
A731
Power ON
Clock
Data 1
(See note.)
Power ON
Clock
Data 2
(See note.)
Power ON
Clock
Data 3
(See note.)
Power ON
Clock
Data 4
(See note.)
These words contain the same time data as the startup time stored in words
A510 to A511, as well as the month and year information.
A72000 to A72007: Seconds (00 to 59)
A72008 to A72015: Minutes (00 to 59)
A72100 to A72107: Hour (00 to 23)
A72108 to A72115: Day of month (00 to
31)
A72200 to A72207: Month (01 to 12)
A72208 to A72215: Year (00 to 99)
These words contain the time at which the power was turned ON one time before the startup time stored in words
A510 to A511.
A72300 to A72307: Seconds (00 to 59)
A72308 to A72315: Minutes (00 to 59)
A72400 to A72407: Hour (00 to 23)
A72408 to A72415: Day of month (00 to
31)
A72500 to A72507: Month (01 to 12)
A72508 to A72515: Year (00 to 99)
These words contain the time at which the power was turned ON two times before the startup time stored in words
A510 to A511.
A72600 to A72607: Seconds (00 to 59)
A72608 to A72615: Minutes (00 to 59)
A72700 to A72707: Hour (00 to 23)
A72708 to A72715: Day of month (00 to
31)
A72800 to A72807: Month (01 to 12)
A72808 to A72815: Year (00 to 99)
These words contain the time at which the power was turned ON three times before the startup time stored in words
A510 to A511.
A72900 to A72907: Seconds (00 to 59)
A72908 to A72915: Minutes (00 to 59)
A73000 to A73007: Hour (00 to 23)
A73008 to A73015: Day of month (00 to
31)
A73100 to A73107: Month (01 to 12)
A73108 to A73115: Year (00 to 99)
Note Supported by unit version 3.0 or later.
See at left.
See at left.
See at left.
See at left.
Retained Retained Written when power is turned ON.
Retained Retained Written when power is turned ON.
Retained Retained Written when power is turned ON.
Retained Retained Written when power is turned ON.
744
Auxiliary Area
Appendix B
Addresses
Word Bit
Name Function Settings
A732 to
A734
A735 to
A737
A738 to
A740
A741 to
A743
A744 to
A746
A747 to
A749
Power ON
Clock
Data 5
(See note.)
Power ON
Clock
Data 6
(See note.)
Power ON
Clock
Data 7
(See note.)
Power ON
Clock
Data 8
(See note.)
Power ON
Clock
Data 9
(See note.)
Power ON
Clock
Data 10
(See note.)
These words contain the time at which the power was turned ON four times before the startup time stored in words
A510 to A511.
A73200 to A73207: Seconds (00 to 59)
A73208 to A73215: Minutes (00 to 59)
A73300 to A73307: Hour (00 to 23)
A73308 to A73315: Day of month (00 to
31)
A73400 to A73407: Month (01 to 12)
A73408 to A73415: Year (00 to 99)
These words contain the time at which the power was turned ON five times before the startup time stored in words
A510 to A511.
A73500 to A73507: Seconds (00 to 59)
A73508 to A73515: Minutes (00 to 59)
A73600 to A73607: Hour (00 to 23)
A73608 to A73615: Day of month (00 to
31)
A73700 to A73707: Month (01 to 12)
A73708 to A73715: Year (00 to 99)
These words contain the time at which the power was turned ON six times before the startup time stored in words
A510 to A511.
A73800 to A73807: Seconds (00 to 59)
A73808 to A73815: Minutes (00 to 59)
A73900 to A73907: Hour (00 to 23)
A73908 to A73915: Day of month (00 to
31)
A74000 to A74007: Month (01 to 12)
A74008 to A74015: Year (00 to 99)
These words contain the time at which the power was turned ON seven times before the startup time stored in words
A510 to A511.
A74100 to A74107: Seconds (00 to 59)
A74108 to A74115: Minutes (00 to 59)
A74200 to A74207: Hour (00 to 23)
A74208 to A74215: Day of month (00 to
31)
A74300 to A74307: Month (01 to 12)
A74308 to A74315: Year (00 to 99)
These words contain the time at which the power was turned ON eight times before the startup time stored in words
A510 to A511.
A74400 to A74407: Seconds (00 to 59)
A74408 to A74415: Minutes (00 to 59)
A74500 to A74507: Hour (00 to 23)
A74508 to A74515: Day of month (00 to
31)
A74600 to A74607: Month (01 to 12)
A74608 to A74615: Year (00 to 99)
These words contain the time at which the power was turned ON nine times before the startup time stored in words
A510 to A511.
A74700 to A74707: Seconds (00 to 59)
A74708 to A74715: Minutes (00 to 59)
A74800 to A74807: Hour (00 to 23)
A74808 to A74815: Day of month (00 to
31)
A74900 to A74907: Month (01 to 12)
A74908 to A74915: Year (00 to 99)
Note Supported by unit version 3.0 or later.
See at left.
See at left.
See at left.
See at left.
See at left.
See at left.
Status after mode change
Status at startup
Write timing/
Related Flags,
Settings
Retained Retained Written when power is turned ON.
Retained Retained Written when power is turned ON.
Retained Retained Written when power is turned ON.
Retained Retained Written when power is turned ON.
Retained Retained Written when power is turned ON.
Retained Retained Written when power is turned ON.
745
Auxiliary Area
Appendix B
Note In CS-series PLCs, 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. Always use the labels to
9-25 Condition Flags and 9-26 Clock Pulses for details.
Flag area
Condition Code
Area
Clock Pulse
Area
Error Flag
Name
Access Error Flag
Carry Flag
Greater Than Flag
Equals Flag
Less Than Flag
Label
ER
AER
CY
>
=
<
Meaning
Turns ON when an error occurs in processing an instructions, indicating an error end to the instruction.
Turns ON when an attempt is made to access an illegal area. The status of this flag is maintain only during the current cycle and only in the task in which it occurred.
Turns ON when there is a carry or borrow in a math operation, when a bit is shifted into the Carry Flag, etc.
Turns ON when the result of comparing two values is “greater than,” when a value exceeds a specified range, etc.
Turns ON when the result of comparing two values is “equals,” when the result of a math operation is 0, etc.
Turns ON when the result of comparing two values is “less than,” when a value is below a specified range, etc.
Negative Flag
Overflow Flag
Underflow Flag
Greater Than or Equals
Flag
Not Equal Flag <>
Less than or Equals Flag <=
N
OF
UF
>=
Always ON Flag
Always OFF Flag
0.02-s clock pulse
0.1-s clock pulse
0.2-s clock pulse
1-s clock pulse
1-min clock pulse
Turns ON when the MSB in the result of a math operation is 1.
Turns ON when the result of a math operation overflows.
Turns ON when the result of a math operation underflows.
Turns ON when the result of comparing two values is “greater than or equals.”
Turns ON when the result of comparing two values is “not equal.”
Turns ON when the result of comparing two values is “less than or equals.”
This flag is always ON.
This flag is always OFF.
A1
A0
0.02s
Repeatedly turns ON for 0.02 s and OFF for 0.02 s.
0.1s
Repeatedly turns ON for 0.1 s and OFF for 0.1 s.
0.2s
1s
Repeatedly turns ON for 0.2 s and OFF for 0.2 s.
Repeatedly turns ON for 1 s and OFF for 1 s.
1min Repeatedly turns ON for 1 min and OFF for 1 min.
Details on Auxiliary Area Operation
A100 to A199: Error Log Area
Error code
Error flag contents min day yr s hr mo
Error record
Error code
Error flag contents min day yr s hr mo
Error record
746
Auxiliary Area
Appendix B
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
2 May 1997 at 8:30:15.
Error Codes and Error Flags
Classification
System-defined fatal errors
Error code
80F1
80C0 to 80C7,
80CF
80E9
Memory error
I/O bus error
Meaning
Duplicate number error
80E1
80E0
80F0
809F
Too many I/O error
I/O setting error
Program error
Cycle time too long error
80EA Duplicate Expansion Rack number error
C101 to C2FF FALS instruction executed (See note 1.) User-defined fatal errors
User-defined non-fatal errors
System-defined non-fatal errors
4101 to 42FF
008B
009A
009B
0200 to 020F
0300 to 035F
00A0 to 00A1
0400 to 040F
0500 to 055F
FAL instruction executed (See note 2.)
Interrupt task error
Basic I/O error
PLC Setup setting error
CS-series CPU Bus Unit error
Special I/O Unit error
SYSMAC BUS error
CS-series CPU Bus Unit setup error
Special I/O Unit setup error
A403
A404
A410, A411 to 416 (See note 3.)
A407
---
A295 to 299 (See note 4.)
---
A40900 to 40907
---
---
Error flags
A426
A408
A406
A417
A418 to 423 (See note 5.)
A405
A427
A428 to 433 (See note 5.)
Note 1.
C101 to C2FF will be stored for FALS numbers 001 to 511.
2.
4101 to 42FF will be stored for FAL numbers 001 to 511.
3.
The contents of the error flags for a duplicate number error are as follows:
Bits 0 to 7: Unit number (binary), 00 to 5F hex for Special I/O Units, 00 to 0F hex for CS-series CPU
Bus Units
Bits 8 to 14: All zeros.
Bit 15: Unit type, 0 for CS-series CPU Bus Units and 1 for Special I/O Units.
4.
Only the contents of A295 is stored as the error flag contents for program errors.
5.
0000 hex will be stored as the error flag contents.
747
Auxiliary Area
A20011: First Cycle Flag
Appendix B
Execution started.
Time
1 cycle
A20015: Initial Task Flag
A20015 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.
Executable status
Executed
1 cycle
A20015
A20200 to A20207: Communications Port Enabled Flags
Network communications instruction executed for port 0.
Port 0
Port 1
Port 7
Instruction execution
The program is designed so that CMND(490) will be executed only when A20200 is ON.
748
Auxiliary Area
A300: Error Record Pointer
Appendix B
Error record 1
Example
Error record 20
Points to the next record to be used.
Stored
Stored
Stored next
A20110: Online Editing Wait Flag
Online edit processing
Wait
A20110
A50100 to A50115: CPU Bus Unit Restart Bits and
A30200 to A30215: CPU Bus Unit Initialization Flags
Automatically turned OFF by system.
Example: Unit No. 1
A50101 (or at startup)
A30201
A301: Current EM Bank
EM Area
Bank 0
Bank 1
Bank 2
Unit initialized.
Current Bank
If bank 2 is the current bank, the
E2_00100 can also be address simply as E00100
Bank C
749
Auxiliary Area
A40109: Program Error
Error
UM Overflow Error Flag
Illegal Instruction Flag
Distribution Overflow Error Flag
Task Error Flag
No END(001) Error Flag
Illegal Area Access Error Flag
Indirect DM/EM Addressing Error Flag
A42615: Interrupt Task Error Cause Flag
A29515
A29514
A29513
A25912
A29511
A29510
A29509
Address
Appendix B
Interrupt task
10 ms or more
Special I/O Unit
Interrupt task
IORF(097) instruction
I/O refresh
750
Appendix C
Memory Map of PLC Memory Addresses
PLC Memory Addresses
PLC memory addresses are set in Index Registers (IR00 to IR15) to indirectly address I/O memory. Normally, use the MOVE TO REGISTER (MOVR(560)) and MOVE TIMER/COUNTER PV TO REGISTER
(MOVRW(561)) instructions to set PLC memory addresses into the Index Registers.
Some instructions, such as DATA SEARCH (SRCH(181)), FIND MAXIMUM (MAX(182)), and FIND MINIMUM
(MIN(183)), output the results of processing to an Index Register to indicate an PLC memory address.
There are also instructions for which Index Registers can be directly designated to use the PLC memory addresses stored in them by other instructions. These instructions include DOUBLE MOVE (MOVL(498)), some symbol comparison instructions (=L, <>L, <L, >L, <=L, and >=L), DOUBLE COMPARE (CMPL(060)),
DOUBLE DATA EXCHANGE (XCGL(562)), DOUBLE INCREMENT BINARY (++L(591)), DOUBLE DECRE-
MENT BINARY (––L(593)), DOUBLE SIGNED BINARY ADD WITHOUT CARRY (+L(401)), DOUBLE SIGNED
BINARY SUBTRACT WITHOUT CARRY (–L(411)), SET RECORD LOCATION (SETR(635)), and GET
RECORD LOCATION (GETR(636)).
The PLC memory addresses all are continuous and the user must be aware of the order and boundaries of the memory areas. As reference, the PLC memory addresses are provided in a table at the end of this appendix.
Note Directly setting PLC memory addresses in the program should be avoided whenever possible. If PLC memory addresses are set in the program, the program will be less compatible with new CPU Unit models or CPU Units for which changed have been made to the layout of the memory.
Memory Configuration
There are two classifications of the RAM memory (with battery backup) in a CS-series CPU Unit.
Parameter Areas: These areas contain CPU Unit system setting data, such as the PLC Setup, CS-series 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.
I/O Memory Areas: These are the areas that can be specified as operands in the instructions in user programs.
751
Memory Map of PLC Memory Addresses
Appendix C
Memory Map
Do not access addresses reserved by the system.
Classification
I/O memory areas
PLC memory addresses (hex)
00000 to 0B1FF
0B200 to 0B7FF
0B800 to 0B801
0B802 to 0B83F
0B840 to 0B9FF
0BA00 to 0BBFF
0BC00 to 0BDFF
0BE00 to 0BEFF
0BF00 to 0BFFF
0C000 to 0D7FF
0D800 to 0D9FF
0DA00 to 0DDFF
User addresses
---
---
TK00 to TK31
---
A000 to A447
A448 to A959
---
T0000 to T4095
C0000 to C4095
CIO 0000 to CIO 6143
H000 to H511
H512 to H1535
0DE00 to 0DFFF
0E000 to 0EFFF
0F000 to 0FFFF
10000 to 17FFF
18000 to 1FFFF
20000 to 27FFF
78000 to 7FFFF
F8000 to FFFFF
W000 to W511
T0000 to T4095
C0000 to C4095
D00000 to D32767
E0_00000 to E0_32767
E1_00000 to E1_32767
EC_00000 to EC_32767
E_0000 to E_32767
Area
Reserved for system.
Reserved for system.
Task Flag Area
Reserved for system.
Read-only Auxiliary Area
Read/Write Auxiliary Area
Reserved for system.
Timer Completion Flags
Counter Completion Flags
CIO Area
Holding Area
Holding Area
These words are used for function blocks only.
Work Area
Timer PVs
Counter PVs
DM Area
EM Area bank 0
EM Area bank 1
EM Area bank C
EM Area, current bank (See note.)
Note The data from the current EM Area bank specified in the program is stored in this area. For example, if the current bank is bank 1 (20000 to 27FFF), then the data in F8000 to FFFFF will be the same as the data in 20000 to 27FFF.
752
Appendix D
PLC Setup Coding Sheets for
Programming Console
Use the following coding sheets when setting the PLC Setup from a Programming Console.
Address
10@@@@
A
B
A
B
11
12
13
14
16
17
00
10
15
16
17
12
13
14
15
00
10
11
Value (hex) Rack 0, Slot 0 I/O Response Time
8 ms
No filter
0.5 ms
1 ms
2 ms
4 ms
8 ms
16 ms
32 ms
8 ms
No filter
0.5 ms
1 ms
2 ms
4 ms
8 ms
16 ms
32 ms
753
PLC Setup Coding Sheets for Programming Console
Address
11@@@@
A
B
A
B 00
10
11
12
13
14
15
16
17
12
13
14
15
00
10
11
16
17
Address
49@@@@
A
B
A
B 00
10
11
12
13
14
15
16
17
12
13
14
15
00
10
11
16
17
Value (hex)
Value (hex)
Value (hex)
Value (hex)
754
Appendix D
Rack 0, Slot 2 I/O Response Time
8 ms
No filter
0.5 ms
1 ms
2 ms
4 ms
8 ms
16 ms
32 ms
Rack 0, Slot 3 I/O Response Time
8 ms
No filter
0.5 ms
1 ms
2 ms
4 ms
8 ms
16 ms
32 ms
Rack 7, Slot 8 I/O Response Time
8 ms
No filter
0.5 ms
1 ms
2 ms
4 ms
8 ms
16 ms
32 ms
Rack 7, Slot 9 I/O Response Time
8 ms
No filter
0.5 ms
1 ms
2 ms
4 ms
8 ms
16 ms
32 ms
PLC Setup Coding Sheets for Programming Console
Appendix D
Address
80@@@@
A
Value (hex)
A C000
8000
4000
0000
Address
128@@@@
A
Value (hex)
A C000
8000
4000
0000
IOM Hold Bit Status at
Startup
Retained
Retained
Cleared
Cleared
Forced Status Hold Bit
Status at Startup
Retained
Cleared
Retained
Cleared
Address
81@@@@
A
A
PRCN
Value (hex)
PRG
MON
RUN
Startup Mode
Mode on Programming Console’s mode switch
PROGRAM mode
MONITOR mode
RUN mode
Address
83@@@@
A
A
Value (hex)
8000
0000
Startup Condition (CS1-H CPU Units only)
Don’t wait.
Wait for all Units and Boards.
Address
84@@@@
A
A
Value (hex)
8000
0000
Inner Board Setting (CS1-H CPU Units only)
Don’t wait.
Wait for all Boards.
Low Battery Voltage
Detection
Do not detect
Do not detect
Detect
Detect
Interrupt Task Error
Detection
Do not detect
Detect
Do not detect
Detect
755
PLC Setup Coding Sheets for Programming Console
Appendix D
Address
129@@@@
A
A
Value (hex)
8000
0000
FAL Error Log Registration (CS1-H CPU Units only)
Don’t store user-defined FAL error in error log.
Store user-defined FAL error in error log.
Address
136@@@@
A
A
0000
0080
0081 to
008C
Value (hex) EM File Memory Conversion
None
EM File Memory Enabled: Bank No. 0
EM File Memory Enabled: Bank No. 1 to
EM File Memory Enabled: Bank No. C
Address
144@@@@
A
B
Peripheral Port
Value (hex)
A
05
06
08
09
00
01
02
04
0A
0C
0D
0E
B 00
80
82
84
85
Value (hex)
Data bits
7 bits
7 bits
7 bits
7 bits
7 bits
7 bits
8 bits
8 bits
8 bits
8 bits
8 bits
8 bits
2 bits
2 bits
2 bits
1 bit
1 bit
1 bit
2 bits
2 bits
2 bits
1 bit
1 bit
1 bit
Stop bits
Communications mode
Default (Rightmost 2 digits ignored.)
Host link
NT link
Peripheral bus
Host link
Even
Odd
None
Even
Odd
None
Even
Odd
None
Even
Odd
None
Parity
756
PLC Setup Coding Sheets for Programming Console
Appendix D
Address
145@@@@
A
Peripheral Port
A 0000
0001
0002
0003
0004
0005
0006
0007
0008
0009
000A
Value (hex)
9,600 bps
300 bps
600 bps
1,200 bps
2,400 bps
4,800 bps
9,600 bps
19,200 bps
38,400 bps
57,600 bps
115,200 bps
Baud rate
Note Set 0000 to 0009 hex for standard NT Links and 000A hex for highspeed NT Links.
Address
147@@@@
A
Peripheral Port
Value (hex) Host link Unit No.
A 0000
0001
0002 to
001F
No. 0
No. 1
No. 2 to
No. 31
Address
150@@@@
A
Peripheral Port
Value (hex)
A 0000
0001 to
0007
NT Link Mode Maximum Unit No.
No. 0
No. 1 to
No. 7
757
PLC Setup Coding Sheets for Programming Console
Appendix D
Address
160@@@@
A
B
RS-232C Port
Value (hex)
A
06
08
09
0A
0C
0D
0E
00
01
02
04
05
B 00
80
82
83
84
85
Value (hex)
7 bits
8 bits
8 bits
8 bits
8 bits
8 bits
8 bits
Data bits
7 bits
7 bits
7 bits
7 bits
7 bits
Stop bits
2 bits
2 bits
2 bits
1 bit
1 bit
1 bit
2 bits
2 bits
2 bits
1 bit
1 bit
1 bit
Communications mode
Default (Rightmost 2 digits ignored.)
Host link
NT link
No-protocol
Peripheral bus
Host link
Even
Odd
None
Even
Odd
None
Even
Odd
None
Even
Odd
None
Parity
Address
161@@@@
A
RS-232C Port
A 0000
0001
0002
0003
0004
0005
0006
0007
0008
0009
000A
Value (hex)
9,600 bps
300 bps
600 bps
1,200 bps
2,400 bps
4,800 bps
9,600 bps
19,200 bps
38,400 bps
57,600 bps
115,200 bps
Baud rate
Note Set 0000 to 0009 hex for standard NT Links and 000A hex for highspeed NT Links.
758
PLC Setup Coding Sheets for Programming Console
Appendix D
Address
162@@@@
A
RS-232C Port
Value (hex)
A 0000
0001 to
270F
Address
163@@@@
A
RS-232C Port
Value (hex)
A 0000
0001
0002 to
001F
Address
164@@@@
A
B
Value (hex)
A 00 to
FF
00 to
FF
Value (hex)
B 00 to
FF
00 to
FF
0 ms
10 ms to
99,990 ms
No-protocol mode delay
No. 0
No. 1
No. 2 to
No. 31
Host link Unit No.
No-protocol Mode End Code
No-protocol Mode Start Code
759
PLC Setup Coding Sheets for Programming Console
Appendix D
Address
165@@@@
A
B
C
RS-232C Port
Value (hex)
A 00
01 to
FF
Value (hex)
B 0
1
2
Value (hex)
C 0
1
Address
166@@@@
A
RS-232C Port
Value (hex)
A 0000
0001 to
0007
Address
195@@@@
A
Value (hex)
No-protocol Mode reception data volume
256
1 to
256
No-protocol Mode end code setting
None (Specify the amount of data being received)
Yes (Specify the end code)
End code is set to CF+LF
No-protocol Mode start code setting
None
Yes
No. 0
No. 1 to
No. 7
Maximum Unit No. in NT Link Mode
A 0000
0001
Scheduled interrupt time unit
10 ms
1.0 ms
Address
197@@@@
A
A 0000
8000
Value (hex) Instruction Error Operation
Continue operation
Stop operation
760
PLC Setup Coding Sheets for Programming Console
Appendix D
Address
198@@@@
A
Value (hex)
A 0 to 7
Background Communications Port Number
(CS1-H CPU Units only)
Communications port number 0 to 7 (logical port number)
B E00
C00
A00
800
600
400
100
000
Value (hex)
No
No
No
No
Yes
Yes
Yes
Yes
Background Processes (CS1-H CPU Units only)
Table data instructions
Text string instructions
Data shifting instructions
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
Address
208@@@@
A
A 0000
0001 to
7D00
Address
209@@@@
A
Value (hex) Minimum Cycle Time
Cycle time not fixed
Cycle time fixed: 1 ms to
Cycle time fixed: 32,000 ms
A 0000
8001 to
8FA0
Address
218@@@@
A
Value (hex) Watch Cycle Time
Default: 1,000 ms (1 s)
10 ms to
40,000 ms
A 0000
8000
8001 to
80FF
Value (hex) Fixed Peripheral Servicing Time
Default (4% of the cycle time)
00 ms
0.1 ms to
25.5 ms
761
PLC Setup Coding Sheets for Programming Console
Appendix D
Address
219@@@@
A
B
[
Value (hex)
A
B
B 00
01
02
00
01 to FF
Value (hex)
00
05 to FF
Value (hex)
Slice Time for Peripheral Servicing in Peripheral
Servicing Priority Mode
Disable Peripheral Servicing Priority Mode.
0.1 to 25.5 ms (in 0.1-ms increments)
Slice Time for Program Execution in Peripheral
Servicing Priority Mode
Disable Peripheral Servicing Priority Mode.
5 to 255 (in 1-ms increments)
Slice Time for Program Execution in Parallel
Processing Mode (CS1-H CPU Units only)
Don’t use Parallel Processing Mode
Parallel Processing with Synchronous Memory
Access
Parallel Processing with Asynchronous Memory
Access
Address
220@@@@
A
B
A
B
00
Value
(hex)
10 to 1F
20 to 7F
FC
FD
Value
(hex)
00
10 to 1F
20 to 7F
FC
FD
Unit/Port for Priority Servicing
Disable Peripheral Servicing Priority Mode.
CPU Bus Unit unit number (0 to 15) + 10 hex
CPU Special I/O Unit unit number (0 to 96) + 20 hex
RS-232C port
Peripheral port
Unit/Port for Priority Servicing
Disable Peripheral Servicing Priority Mode.
CPU Bus Unit unit number (0 to 15) + 10 hex
CPU Special I/O Unit unit number (0 to 96) + 20 hex
RS-232C port
Peripheral port
762
PLC Setup Coding Sheets for Programming Console
Appendix D
Address
221@@@@
A
B
A
B
Value
(hex)
00
10 to 1F
20 to 7F
FC
FD
Value
(hex)
00
10 to 1F
20 to 7F
FC
FD
Unit/Port for Priority Servicing
Disable Peripheral Servicing Priority Mode.
CPU Bus Unit unit number (0 to 15) + 10 hex
CPU Special I/O Unit unit number (0 to 96) + 20 hex
RS-232C port
Peripheral port
Unit/Port for Priority Servicing
Disable Peripheral Servicing Priority Mode.
CPU Bus Unit unit number (0 to 15) + 10 hex
CPU Special I/O Unit unit number (0 to 96) + 20 hex
RS-232C port
Peripheral port
Address
222@@@@
Not used.
A
A
Value
(hex)
00
10 to 1F
20 to 7F
FC
FD
Unit/Port for Priority Servicing
Disable Peripheral Servicing Priority Mode.
CPU Bus Unit unit number (0 to 15) + 10 hex
CPU Special I/O Unit unit number (0 to 96) + 20 hex
RS-232C port
Peripheral port
Address
225@@@@
A
A 0000
0001 to
000A
8000
8001 to
800A
Value (hex) Power OFF Interrupt
Task
Disabled
Enabled
0 ms
1 ms to
Power OFF Detection
Delay Time
10 ms
0 ms
1 ms to
10 ms
763
PLC Setup Coding Sheets for Programming Console
Appendix D
Value
(hex)
A 0000 0
15
0001 0
0002 0
0003 0
0004 0
0005 0 to
FFFF 1
0
0
0
0
0
0
14
1
0
0
0
0
0
0
13
1
Address
226@@@@
A
0
0
0
0
0
0
12
1
0
0
0
0
0
0
11
Special I/O Unit Cyclic Refreshing 0: Yes 1: No
Unit number
9 8 7 6 5 4
0
0
0
10
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1 1
Addresses 227 through 231 are the same as 226.
Address
448@@@@
A
B
1 1 1 1 1 1
0
0
0
0
0
0
3
1
0
1
1
0
0
0
2
1
0
0
0
0
1
1
1 1
1
0
1
0
1
0
0
1
Use FINS Write Protection and Number of Node Excluded from Write
Protection
Value (hex)
A 00 to
20
Number of Nodes Excluded from Write Protection
Set the number of nodes excluded from write protection in Programming Console addresses 448 to 480.
00 to 20 hex (0 to 32 nodes)
B 80
Value (hex) Use FINS Write Protection
Write protection enabled
00 Write protection disabled
Address
449@@@@ to
448@@@@
A
B
Nodes Excluded from Write Protection (Protection Releasing
Addresses, 32 Nodes Maximum)
Value (hex)
A 01 to
FE
FF
FINS Source Node Address
Node address of a node to be excluded from write protection.
B 00 to
7F
Value (hex)
All nodes in specified network.
FINS Source Network Address
Network address of the node to be excluded from write protection.
764
Appendix E
Connecting to the RS-232C Port on the CPU Unit
Connection Examples
The wiring diagrams for connecting to the RS-232C port are provided in this appendix. In actual wiring, we recommend the use of shielded twisted-pair cables and other methods to improve noise resistance. Refer to Rec-
ommended Wiring Methods later in this appendix for recommended wiring methods.
Connections to Host Computers
Note Connections to a computer running the CX-Programmer are the same as those shown here.
1:1 Connections via RS-232C Port
RS-232C port
RS-232C
Note The maximum cable length for an RS-232C connection is 15 m. RS-232C communications specifications, however, do not cover transmissions at 19.2 Kbps. Refer to documentation of the device being connected when using this baud rate.
IBM PC/AT or Compatible Computer
CPU Unit
Signal name
Pin
No.
Computer
Pin
No.
Signal name
RS-232C interface
RS-232C interface
D-sub, 9-pin connector (male)
D-sub, 9-pin connector (male)
765
Connecting to the RS-232C Port on the CPU Unit
1:N Connections via RS-232C Port
RS-232C
NT-AL001 Link Adapters
NT-AL001 terminating resistance ON, 5-V power required
RS-232C RS-232C RS-232C
Terminating resistance ON
Appendix E
RS-232C ports
NT-AL001 Link Adapter
Personal Computer
Shield
Signal
RS-232C name
RS-232C
Interface
FG
SD
RD
RS
CS
DR
ER
SG
Pin
No.
Shell
1
2
3
Signal name
FG
NC
SD
RD
4
5
6
7
RS
CS
5V
DR
8
9
ER
SG
RS-232
Signal name
Pin
No.
GRD
SG
SDB
SDA
RDB
RDA
CSB
CSA
4
5
6
7
8
1
2
3
RS-422
D-sub, 9-pin connector (male)
Terminal block
5-V (+) power (–)
(See note 2.)
DIP Switch Settings
Pin 1: ON
Pin 2: ON
(terminating resistance)
Pin 3: OFF
Pin 4: OFF
Pin 5: OFF
Pin 6: OFF
RS-422A
NT-AL001 Link Adapter
Pin
No.
5
6
7
1
2
3
4
8
Signal name
GRD
SG
SDB
SDA
RDB
RDA
CSB
CSA
RS-422
Signal name
Pin
No.
NC
SD
RD
RS
CS
5V
DR
FG Shell
1
2
3
4
5
6
7
ER 8
SG 9
RS-232
RS-232C
(See note 1.)
(See note
2.)
Pin
No.
1
2
3
4
5
6
7
8
9
CPU Unit
Signal name
FG
SD
RD
RS
CS
5V
DR
ER
SG
RS-232C
Interface
D-sub, 9-pin connector (male)
DIP Switch Settings
Pin 1: ON
Pin 2: OFF
Pin 3: OFF
Pin 4: OFF
Pin 5: OFF
Pin 6: ON
NT-AL001 Link Adapter
Pin
No.
1
2
3
4
5
6
7
8
Signal name
GRD
SG
SDB
SDA
RDB
RDA
CSB
CSA
RS-422
Signal name
FG
Pin
No.
Shell
RS-232C
(See note 1.)
NC
SD
1
2
RD
RS
CS
5V
DR
ER
7
8
SG 9
RS-232
3
4
5
6
(See note
2.)
DIP Switch Settings
Pin 1: ON
Communications Board/Unit
Pin
No.
1
2
3
4
5
6
7
8
9
Signal name
FG
SD
RD
RS
CS
5V
DR
ER
SG
RS-232C
Interface
D-sub, 9-pin connector (male)
Pin 3: OFF
Pin 4: OFF
Pin 5: OFF
Pin 6: ON
Note 1.
We recommend using the following NT-AL001 Link Adapter Connecting Cables to connect to NT-
AL001 Link Adapters.
XW2Z-070T-1: 0.7 m
XW2Z-200T-1: 2 m
The recommended cables should be wired as shown below. Each signal wire should be twisted with the SG (signal ground) wire and placed in a shielded cable to prevent the effects of noise in noiseprone environments. The 5-V wires can also be twisted with the SG wire to increase noise immunity.
766
Connecting to the RS-232C Port on the CPU Unit
Appendix E
Although this wiring is different from that shown in the example above, it can be used to increase noise immunity if required.
Wiring with XW2Z@@0T-1 (10 Conductors)
5
6
3
4
PLC
Pin
No.
Signal name
7
8
9
Shell
4
5
6
1
2
3
FG
SD
RD
RS
CS
5V
DR
ER
SG
FG
NT-AL001 (interior)
Signal name
Pin
No.
RD
SD
RS
CS
5V
DR
ER
SG
FG
Not used
7
8
9
Shell
4
5
6
1
3
2
The arrow indicates the signal direction.
Loopback
Loopback
Shield
2.
When the NT-AL001 Link Adapter is connected to the RS-232C port on the CPU Unit, 5 V is supplied from pin 6, eliminating the need for a 5-V power supply.
3.
Do not use the 5-V power from pin 6 of the RS-232C port for anything other than an NT-AL001, CJ1W-
CIF11 Link Adapter, or NV3W-M @20L Programmable Terminal. Using this power supply for any other external device may damage the CPU Unit or the external device.
4.
The XW1Z@@0T-1 Cable is designed to connect the NT-AL001 and contains special wiring for the
CS and RS signals. Do not use this cable for any other application. Connecting this cable to other devices can damage them.
DIP Switch Settings on the NT-AL001 Link Adapter
There is a DIP switch on the NT-AL001 Link Adapter that is used to set RS-422A/485 communications parameters. Set the DIP switch as required for the serial communications mode according to the following table.
Pin Function
1
2
Not used. (Leave set to ON.)
Internal terminating resistance setting.
Default setting
ON
ON
OFF: Terminating resistance not connected.
2-wire/4-wire setting
Both pins ON: 2-wire communications
Both pins OFF: 4-wire communications
Communications mode (See note.)
Both pins OFF: Always send.
5 OFF/6 ON:
5 ON/6 OFF:
Send when RS-232C’s CS is high.
Send when RS-232C’s CS is low.
OFF
OFF
ON
OFF
Note Turn OFF pin 5 and turn ON pin 6 when connected to a CS-series CPU Unit.
767
Connecting to the RS-232C Port on the CPU Unit
Connection Example to Programmable Terminal (PT)
Direct Connection from RS-232C to RS-232C
PT
RS-232C
Host Link or NT Link (1:N)
RS-232C port
Appendix E
CPU Unit
RS-232C interface
Signal name
Pin
No.
Shell FG
FG
SD
RD
RS
CS
5V
DR
ER
SG
1
4
5
2
3
6
7
8
9
D-Sub, 9-pin (male connector on cable)
• 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
Pin
No.
Shell
PT
Signal name
1
4
5
2
3
6
7
8
9
FG
–
SD
RD
RS
CS
5V
–
–
SG
RS-232C interface
D-Sub, 9-pin (male connector on cable)
Recommended Wiring Methods
We recommend the following wiring methods for RS-232C, especially in environment prone to noise.
1.
Use shielded twisted-pair cable for communications cables. The following RS-232C cables are recommended.
Model
UL2464 AWG28 ×5P IFS-RVV-SB (UL approved)
AWG28 ×5P IFVV-SB (not UL approved)
UL2464-SB (MA) 5P ×28AWG (7/0.127) (UL approved)
CO-MA-VV-SB 5P ×28AWG (7/0.127) (not UL approved)
Manufacturer
Fujikura Ltd.
Hitachi Cable, Ltd.
2.
Use a twisted-pair cable for each signal line and SG (signal ground) to connect the CPU Unit to a communications partner. Also, bundle all the SG lines at the Board/Unit and at the other device and connect them together.
3.
Connect the shield line of the communications cable to the hood (FG) of the RS-232C connector at the
Board/Unit. Also, ground the protective earth (GR) terminal of the Power Supply Units on the CPU Rack and the CS-series Expansion Racks to a resistance of 100 Ω or less. The following example shows connecting SD-SG, RD-SG, RS-SG, and CS-SG for Serial Communications Mode using a twisted-pair cable using the peripheral bus.
768
Connecting to the RS-232C Port on the CPU Unit
2
3
4
5
9
Shell
1
CPU Unit
Pin
No.
Signal name
SD
RD
RS
CS
SG
FG
FG Shield
Communications partner
Signal name
RD
SD
CS
RS
SG
FG
Appendix E
Arrows indicate signal directions.
SG signal line
SG signal lines bundled together
Aluminum foil
XM2S-0911-E
Note The hood (FG) is internally connected to the protective earth (GR) terminal on the Power Supply Unit through the CPU Rack or CS-series Expansion Rack. FG can thus be connected by connecting the protective earth (GR) terminal on the Power Supply Unit. The hood (FG) is also electrically connected to pin
1 (FG), but the connection resistance between the shield and the FG is smaller for the hood. To reduce contact resistance between the hood (FG) and the FG, connect the shield both to the hood (FG) and to pin 1 (FG).
CPU Unit
Power Supply Unit
GR
Shield and GR connected internally.
Ground to 100
Ω or less
The hood will be grounded if the GR terminal is grounded.
769
Connecting to the RS-232C Port on the CPU Unit
Appendix E
Wiring Connectors
Use the following procedures to wire connectors.
1. Preparing the Cable
Lengths for steps in the procedure are provided in the diagrams.
Connecting the Shield Line to the Hood (FG)
1. Cut the cable to the required length, leaving leeway for wiring and laying the cables.
2. Use a razor blade to cut away the sheath, being careful not to damage the braiding.
40 mm (RS-232C)
3. Use scissors to cut away all but 10 mm of the exposed braiding.
10 mm
4. Use wire strippers to remove the insulation from the end of each wire.
5.
5 mm
Fold the braiding back over the end of the sheath.
6. Wrap aluminum foil tape over the top of the braiding for one and a half turns.
Aluminum foil tape
770
Connecting to the RS-232C Port on the CPU Unit
Appendix E
Not Connecting the Shield to the Hood (FG)
1. Cut the cable to the required length, leaving leeway for wiring and laying the cables.
2. Use a razor blade to cut away the sheath, being careful not to damage the braiding.
3.
40 mm (RS-232C)
Use scissors to cut away the exposed braiding.
4. Use wire strippers to remove the insulation from the end of each wire.
5 mm
5. Wrap electrician's tape over the top and end of the cut sheath.
2. Soldering
Electrician's tape
1.
2.
3.
Place heat-shrinking tubes over all wires.
Pre-solder all wires and connector terminals.
Solder the wires.
1 mm
Soldering iron
Heat-shrinking tube
(inner dia. 1.5, l = 10)
4. Move the heat-shrinking tubes onto the soldered area and shrink them into place.
Heat-shrinking tube
771
Connecting to the RS-232C Port on the CPU Unit
3. Assembling the Hood
Assemble the connector hood as shown.
Appendix E
FG Connection
Ground plate
4. Connection to the CPU Unit
Aluminum foil tape
No FG Connection
Tighten the screws firmly.
• Always turn OFF the power supply to the PLC before connecting or disconnecting communications cables.
• Tighten the communications connector attachment screws to 0.4 N·m.
772
Appendix F
Restrictions in Using C200H Special
I/O Units
Restrictions in Areas and Addresses
There are restrictions in transferring I/O memory data between C200H Special I/O Units and the CPU Unit. The restrictions on the Unit depend on the group in which the Unit belongs. The five groups are shown in the following tables.
Units that Transfer data for Programming Inside the Unit Itself
Group
Group I
Group II
Models
C200H-ASC02 ASCII Unit
C200H-ASC11/21/31 ASCII Units
Units that Transfer data for Allocated Words
Group
Group III
Group IV
Models
C200H-CT001-V1/CT002 High-speed Counter Units, C200H-IDS01-
V1/ IDS21 ID Sensor Units, C200H-NC111/NC112/NC211 Position
Control Units, C200H-FZ001 Fuzzy Logic Unit
C200H-CT021 High-speed Counter Unit, C200H-MC221 Motion Control Unit, C200H-DRT21 C200H I/O LInk Unit, C200HW-NC113/NC213/
NC413 Position Control Units
Units that Do Not Transfer data for Programming or
Allocated Words
Group
Group V
Models
C200H-TS001/TS002/TS101/TS102 Temperature Sensor Units,
C200H-TC001/TC002/TC003/TC101/TC102/TC103 Temperature Controller Units, C200H-PID01/PID02/PID03 PID Control Units, C200H-
TV001/TV002/TV003/TV101/TV102/TV103 Heating/Cooling Units,
C200H-OV001 Voice Unit, C200H-ID501/ID215 High-density Input
Units, C200H-OD501/OD215 High-density Output Units, C200H-
MD501/MD215/MD115 High-density I/O Units, C200HW-SRM21 CompoBus/S Master Unit, C200H-AD001/AD002/AD003 Analog Input
Units, C200H-DA001/DA002/DA003/DA004 Analog Output Units,
C200H-MAD01 Analog I/O Unit, C200HW-DRM21-V1 DeviceNet Master Unit, C200H-CP114 Cam Positioner Unit, T200H-MIF01 M-Net
Interface Unit
If any of the above Units in groups I to IV are used in combination with the following functionality, the restrictions described in the rest of this section apply for area and address specifications.
• Data transfers with the CPU Unit from instructions (PLC READ, PLC WRITE, etc.) in the program executed by the C200H Special I/O Unit. This applies to the ASCII Units only.
• Data transfers with the CPU Unit for allocated words or DM area specifications (i.e., source/destination areas and addresses).
Note There are no restriction in using the IORD(222) and IOWR(223) instruction in the CPU Unit to transfer data. These instruction can thus be used in the CPU Unit to transfer data for Units that support data transfer for IORD(222) and IOWR(223), i.e., C200H-CT021, C200H-MC221, and C200H-ASC11/
ASC21/ASC31.
773
Restrictions in Using C200H Special I/O Units
Appendix F
1,2,3...
Restrictions in Using Existing ASCII Unit Programs
The following replacements in areas and addresses will be made if existing
ASCII Unit programs are used.
For most addresses, a zero (0) will simply be added as the most significant digit. The following four exceptions exist.
1.
AR 00, AR02 to AR 27 (C200H AR Area words) will specify H100, H102 to
H127 in the CS-series CPU Unit.
2.
TIM 000 to TIM 511 and CNT 000 to CNT 511 (C200H Timer/Counter Area words) will specify T0000 to T0511 in the CS-series CPU Unit.
3.
LR 00 to LR 63 (C200H LR Area words) will specify CIO 1000 to CIO 1063 in the CS-series CPU Unit.
4.
AR 01 and CIO 281 cannot be specified. Use other addresses.
Corresponding Addresses for C200H-ASC02 (Group I)
@R
@L
@H
@A
@G
@D
Area/Address specifications in a C200H CPU Unit
Code Area Addresses
IR 000 to 255
LR
HR
AR
LR 00 to LR 63
HR 00 to HR 99
AR 00
AR01
Areas/Addresses in a CS-series CPU Unit
CIO
CIO
Area
Holding
Holding
000 to 0255
Address
1000 to 1063
H000 to H099
H100
Cannot be accessed. Use another address.
AR02 to AR27 Holding H102 to H127
Timer/Counter TIM/CNT 000 to TIM/CNT 511 Timer/Counter T0000 to T0511
DM DM 0000 to DM 0999
DM 0000 to DM 1999
DM D00000 to D00999
D20000 to D20999
Corresponding Addresses for C200H-ASC11/ASC21/ASC31 (Group II)
@R
@L
@H
@A
@G
@D
@E
Area/Address specifications in a C200H CPU Unit
Code Area
IR 000 to 280
281
282 to 511
Addresses
Areas/Addresses in a CS-series CPU Unit
CIO
Area Address
0000 to 0280
Cannot be accessed. Use another address.
CIO 0282 to 0511
LR
HR
AR
LR 00 to LR 63
HR 00 to HR 99
AR 00
AR 01
CIO
Holding
1000 to 1063
H000 to H099
Holding H100
Cannot be accessed. Use another address.
AR 02 to AR 27 Holding
Timer/Counter TIM/CNT 000 to TIM/CNT 511 Timer
DM
EM
DM 0000 to DM 6655
EM 0000 to EM 6143
DM
EM
H102 to H127
T0000 to T0511
D00000 to D6655
E0_00000 to E0_06143
774
Restrictions in Using C200H Special I/O Units
Appendix F
1,2,3...
Restrictions in Programming C200H Special I/O Units for the CS Series
(Groups I to IV)
There following restrictions in area and address specifications exist in programming inside C200H Special I/O Units (i.e., ASCII Unit) or in specifying
C200H Special I/O Unit allocations for the CS-series CPU Unit.
1.
CIO 0256 to CIO 0999 cannot be specified for Units in Group I or III, CIO
0281, 0512 to CIO 0999 cannot be specified for Units in Group II or IV, and
CIO 1064 to CIO 6143 cannot be specified.
2.
Addresses in the Work Area (W000 to W511) cannot be specified.
3.
H101 and H128 to H511 cannot be specified, and H100, H102 to H127 must be specified using AR 00, AR02 to AR 27.
4.
Timers T0512 to T4095 cannot be specified.
5.
Counters (C0000 to C4095) cannot be specified.
6.
D01000 to D19999 and D21000 to D32767 in Group I or III D06656 to
D32767 in Group II or IV cannot be specified.
Note If D1000 to D1999 are specified in a C200H Special I/O Unit for data transfer, the CS Series will interpret them as D20000 to D20999. Do not use D1000 to D1999.
7.
E0_06144 to E0_32767 (bank 0) and E @_00000 to E@_32767 in all banks except bank 0 cannot be specified.
Special I/O Units in Groups I and III
Area/Address specifications in CS-series CPU Unit
Area Addresses
CIO
CIO
0000 to 0255
0256 to 0999
1000 to 1063
CIO
Work
Auxiliary
Holding
1064 to 6143
W000 to W511
A000 to A959
H000 to H099
H100
H101
H102 to H127
H128 to H511
Timer
Counter
DM
EM
T0000 to T0511
T0512 to Y4095
C0000 to C4095
D00000 to D00999
D06656 to D19999
D20000 to D20999
D21000 to D32767
E0_00000 to E0_32767
E1_00000 to EC_32767
IR
LR
Areas/Addresses to use in C200H Special I/O Unit
Area
000 to 255
Not addressable.
LR 00 to LR 63
Address
IR
None
None
HR
AR
AR
AR
None
Not addressable.
---
---
HR 00 to HR 99
AR 00
Not addressable.
AR 02 to AR 27
---
Timer/Counter TIM/CNT 000 to TIM/CNT 511
Not addressable.
DM
Not addressable.
DM0000 to DM 0999
None
Not addressable.
DM1000 to DM1999
Not addressable.
---
---
775
Restrictions in Using C200H Special I/O Units
Appendix F
Special I/O Units in Groups II and IV
Area/Address specifications in CS-series CPU Unit
Area Addresses
CIO 0000 to 0280
0281
CIO
CIO
0282 to 0511
0512to 0999
1000 to 1063
1064 to 6143
Work
Auxiliary
Holding
Timer
W000 to W511
A000 to A959
H000 to H099
H100
H101
H102 to H127
H128 to H511
T0000 to Y0511
Counter
DM
EM
T0512 to Y4095
C0000 to C4095
D00000 to D06655
D06656 to D32767
E0_00000 to E0_06143
E0_06144 to E0_32767
E1_00000 to EC_32767
IR
Areas/Addresses to use in C200H Special I/O Unit
Area Address
000 to 280
Not addressable.
LR
IR
282 to 511
Not addressable.
LR 00 to LR 63
Not addressable.
None
None
HR
AR
---
---
HR 00 to HR 99
AR 00
Not addressable.
AR 02 to AR 27
None ---
Timer/Counter TIM/CNT 000 to TIM/CNT 511
DM
EM
Not addressable.
Not addressable.
DM0000 to DM 6655
Not addressable.
EM0000 to EM6143
Not addressable.
Not addressable.
Functions with Addressing Restrictions
Restrictions apply to the following functions.
ASCII Units
I
Group Unit
ASCII
Units
II
Model
C200H-ASC11/
ASC21/ASC31
Function with restricted addressing
C200H-ASC02 Areas and addresses in read/write operands for PLC READ, PLC WRITE,
PLC READ@ and PLC WRITE@.
Areas and addresses in read/write operands for PLC READ, PLC WRITE,
PLC READ@, PLC WRITE@
Alternative
Write to available addresses and then transfer to the desired locations. (See the note following the next table.)
Use IORD(222) and IOWR(223)
(#00 @@).
776
Restrictions in Using C200H Special I/O Units
Appendix F
Other C200H Special I/O Units
Group
III
Unit
High-speed
Counter Units
Model
C200H-CT001-V1/
CT002
IV
ID Sensor
Units
Position Control Units
Fuzzy Logic
Unit
C200H-NC111/
NC112/NC211
C200H-FZ001
High-speed
Counter Unit
Motion Control Unit
C200H I/O
Link Unit
C200H-IDS01-V1/
IDS21
C200H-CT021
C200H-MC221
C200HW-DRT21
Function with restricted addressing
Setting the source areas and addresses in allocated words n+2 and n+3 for transferring words m to m+99 (high-speed counter system data).
Setting the source areas and addresses in allocated word n+2 for command data.
Setting the destination areas and addresses in allocated word n+3 for storing data read from
Data Carriers.
Setting the source areas and addresses in allocated word n+4 for position data and speeds.
Setting the source areas and addresses in allocated word n+1 for fuzzy input write data to be transferred to the Fuzzy Logic Unit.
Setting the destination areas and addresses in allocated word n+3 for fuzzy logic results data to be read from the Fuzzy Logic Unit.
Setting the source areas and addresses in allocated word m+4 for upper/lower limits, present values, and other data to be transferred to the
High-speed Counter Unit.
Setting the source/destination areas and addresses for expansion information.
Setting the areas and addresses in allocated words n+1 to n+4 in the CPU Unit for automatic transfer of I/O memory of the CPU Unit to which the C200H I/O Link Unit is mounted to the
DeviceNet Master Unit.
Alternative
Write to available addresses and then transfer to the desired locations. (See note.)
Use IORD(222) and
IOWR(223).
Write to available addresses and then transfer to the desired locations. (See note.)
Note Examples of the alternative method are shown below.
Reading CPU Unit Data from a Special I/O Unit
• Bit Data
Write the data from the unsupported address to a supported address and then read the data from the supported address to the Special I/O Unit.
Example
Unsupported
Address
Supported
Address
• Word Data
Example:
Always ON
Unsupported
Address
Supported
Address
777
Restrictions in Using C200H Special I/O Units
Reading Special I/O Unit
Data form the CPU Unit
• Bit Data
Appendix F
Read the data from the Special I/O Unit and then write the data from the supported address to an unsupported address.
Supported
Address
Unsupported
Address
Example
• Word Data
Example:
Always ON
Supported
Address
Unsupported
Address
Precautions When Using C200HW-DRM21-V1 DeviceNet Master Unit
When using a DeviceNet Master Unit, limitations apply when using the following functions (except for data transfer).
Allocation Limitations Only the following areas can be allocated when allocating remote I/O using a
Configurator.
Area
CIO
HR
LR
DM
0000 to 0235
0300 to 0511
Allocation words
H000 to H099
1000 to 1063
D00000 to D05999
Note 1.
When creating master parameters using a configurator, set the PLC model to C200HX/HG/HE(-Z)
(except for the C200HE-CPU11).
2.
When reading master parameters from a master using a configurator, set the PLC model to the
C200HX-CPU85.
Limitations when using
DM as the Status Area
When using the DeviceNet Master Unit, the following words will be allocated in addition to the DM Area words allocated to the Unit as a Special I/O Unit.
Master Status Area: D06032 + (2 × unit number)
Communications cycle time present value: D06033 + (2 × unit number)
Do not use these words for other applications, because data is updated when the DeviceNet Master Unit is being used.
778
Appendix G
CJ1W-CIF11 RS-422A Converter
The CJ1W-CIF11 RS-422A Converter converts RS-232C to RS-422A/485.
Specifications
General Specifications
Item
Dimensions
Weight
Ambient operating temperature
Ambient storage temperature
Ambient operating humidity
Rated power supply voltage
Specification
18.2 × 34.0 × 38.8 (W × H × D)
20 g max.
0 to 55 °C
–20 to 75 °C
10% to 90% (with no condensation)
5 V (Supplied from pin 6 of the RS-232C connector.)
Current consumption
Operating atmosphere
Vibration resistance
Shock resistance
40 mA max.
No corrosive gases
Same as SYSMAC CS/CJ Series.
Same as SYSMAC CS/CJ Series.
Isolation method Not isolated
Maximum communications distance 50 m
Electrical Specifications
RS-232C Connector
Connector Pin Arrangement for
RS-232C Port
SG (0 V)
FG
Pin number
3
4
1
2
5
6
7, 8
9
Hood
Signal
FG
RD
SD
CS
RS
+5V
NC
SG (0 V)
FG
Note The hood will have the same electrical potential as the connector on the other end of the cable.
779
CJ1W-CIF11 RS-422A Converter
RS-422A/485 Terminal Block
Appendix G
RDA–
RDB+
SDA–
SDB+
FG
Signal
DIP Switch Settings
Function
1
Pin number
Terminating resistance
2
3
4
5
6
ON OFF
With (at both ends of the communications path)
Two-wire method
Without
Four-wire method Two-wire/four-wire method selection (See note 1.)
Two-wire/four-wire method selection (See note 1.)
Not used.
Selection of RS control for RD
(See note 2.)
Selection of RS control for SD
(See note 3.)
Two-wire method
---
With RS control
With RS control
Four-wire method
---
Without RS control (always ready to receive)
Without RS control (always ready to send)
Note 1.
Set pins 2 and 3 to the same setting. (ON for the two-wire method or OFF for the four-wire method.)
2.
To prohibit echoback, set pin 5 to ON (with RS control).
3.
When connecting to several devices using the four-wire method in a 1:N connection, set pin 6 to ON
(with RS control). When connecting using the two-wire method, set pin 6 to ON (with RS control).
Dimensions
5.8
38.8
18.2
780
CJ1W-CIF11 RS-422A Converter
Appendix G
DIP Switch Settings, Wiring, and Installation
Setting the DIP Switch
The DIP switch settings must be changed to perform communications according to settings other than the default settings.
1.
Remove the DIP switch cover using a flat-bladed screwdriver in the way shown below.
Note Press the cover gently while removing it to prevent it from popping out suddenly.
2.
Using a fine pair of tweezers or other tool with a fine point, change the settings of the DIP switch pins to match the desired communications conditions.
3.
Be sure to remount the cover after finishing the DIP switch settings.
O
N
3
4
1
2
5
6
O
N
All the pins are factory-set to OFF.
Wiring the RS-422A/485 Terminal Block
• Use either two-wire or four-wire shielded cable.
Recommended cable: CO-HC-ESV-3P ×7/0.2 (Hirakawa Hewtech)
• Connect the shield wire at both ends of the cable carrying RS-422A/485 signals to ground, and ground the ground terminal on the Power Supply Unit of the CPU or Expansion Rack to 100 Ω max.
1.
Taking care not to damage the shield, strip between 30 and 80 mm of sheath off the end of the cable.
30 to 80 mm
2.
Carefully twist the shield mesh together to form a single wire, and carefully cut off the material surrounding the signal wires and any unnecessary signal wires.
781
CJ1W-CIF11 RS-422A Converter
Appendix G
3.
Strip the sheath off the signal wires to a length sufficient to attach crimp terminals. Apply vinyl tape or heatshrinking tube to the sheathes and stripped parts of communications lines.
4.
Attach sticktype crimp terminals to ends of the signal lines and crimp them using a crimp tool.
• Recommend crimp terminals:
Phoenix Contact
AI Series
AI-0.5-8WH-B (serial number: 3201369)
• Recommended crimp tool:
Phoenix Contact ZA3
With four-wire cables, insert two signal lines into each crimp terminal together before crimping.
• Recommend crimp terminals:
Phoenix Contact
AI Series
AI-TWIN2 ×0.5-8WH (serial number: 3200933)
• Recommended crimp tool:
Phoenix Contact
UD6 (serial number: 1204436)
5.
Connect the signal lines and the shield line to the RS-422A/485 terminal block.
782
CJ1W-CIF11 RS-422A Converter
Appendix G
Mounting to the Unit
Mount the Converter to the RS-232C port (D-Sub, 9-pin) of the Unit to be connected in the following way.
1.
Align the Converter’s connector with that of the Unit and push it into the Unit’s connector as far as possible.
2.
Tighten the mounting screws on either side of the Converter. (Tightening torque: 0.3 N ⋅m.)
As an example, connection to a CS1-H CPU Unit is shown below.
MCPWR
OPEN
BUSY
PERIPHERAL
PORT
783
CJ1W-CIF11 RS-422A Converter
Wiring Examples
Wiring for Four-wire Cable
CS1-H CPU
Unit (master)
DIP Switch Settings
Terminating resistance
Two-wire/four-wire
Two-wire/four-wire
Not used.
RD control
SD control
ON (with)
OFF (four-wire)
OFF (four-wire)
OFF
OFF (without)
OFF (without)
CS1-H CPU
Unit (slave 0)
OFF (without)
OFF (four-wire)
OFF (four-wire)
OFF
OFF (without)
ON (with)
CS1-H CPU
Unit (slave 1)
ON (with)
OFF (four-wire)
OFF (four-wire)
OFF
OFF (without)
ON (with)
Appendix G
Wiring for Two-wire Cable
CS1-H CPU
Unit (master)
DIP Switch Settings
Terminating resistance
Two-wire/four-wire
Two-wire/four-wire
Not used.
RD control
SD control
ON (with)
ON (two-wire)
ON (two-wire)
OFF
OFF (without)
ON (with)
CS1-H CPU
Unit (slave 0)
OFF (without)
ON (two-wire)
ON (two-wire)
OFF
OFF (without)
ON (with)
CS1-H CPU
Unit (slave 1)
ON (with)
ON (two-wire)
ON (two-wire)
OFF
OFF (without)
ON (with)
784
Numerics
24-V DC output power
,
26-V power supply
,
A
Access Error Flag
,
addresses memory map
,
allocations
Always OFF Flag
Always ON Flag
,
Analog Timer Units
dimensions
,
specifications
applications precautions
arc killers
Auxiliary Area
,
read/write section
,
read-only section
,
B
B7A Link Terminals
,
background execution special flags
,
background execution settings
,
Backplane Insulation Plates
,
Backplanes
,
Basic I/O Units
,
available models
basic I/O errors
,
components
dimensions
,
error information
,
fuse status flags
I/O allocations
,
I/O response time
,
mounting
,
specifications
wiring
battery
Battery Set
,
compartment
error
error flag
installation
,
low battery error detection
replacement
,
service life
Battery Error Flag
,
battery-free operation
,
Index
block programs instruction execution times
BUSY indicator
,
C
C200H Expansion I/O Backplanes
,
C200H High-density I/O Units
,
C200H Special I/O Units restrictions on data transfers
C200H-PRO27-E Programming Console
,
C200HX/HG/HE PLCs comparison
,
cables
connections
,
See also I/O Connecting Cables
Carry Flag
CIO Area
,
description
,
circuit configurations
CJ Series definition
,
clearing memory
,
clock clock data
,
setting the clock
,
clock instructions execution times
,
clock pulses flags
communications
,
baud rate
,
Communications Port Enabled Flags
,
data
,
distances
,
errors
,
flags
instruction execution times
network instruction execution times
,
networks
,
overview
protocol support
,
serial communications
,
specifications
system expansion
Communications Port Enabled Flags
,
comparison instructions execution times
,
compatibility with previous PLCs
CompoBus/S
,
components
Analog Timer Unit
,
Basic I/O Units
,
C200H Expansion I/O Backplanes
,
785
786
C200H High-density Units
,
CPU Backplane
CPU Unit
,
CS-series Expansion Backplane
,
Group-2 High-density I/O Units
Power Supply Units
,
Condition Flags
saving and loading status
connectors
,
connector pin arrangement
,
RS-232C connectors
contact protection circuit
,
control panels installation
,
Controller Link
,
conversion instructions execution times
cooling fan
Counter Area
counters execution times
CPU Backplanes
,
dimensions
,
CPU Bus Unit Area capacity
,
CPU Bus Units
,
data exchange
,
error information
,
errors
,
I/O allocations
,
Initialization Flags
,
memory area
,
mounting
,
refreshing
,
related flags/bits
Restart Bits
,
setting area capacity
settings
setup errors
,
specifications
CPU Racks description
,
maximum current consumption
,
troubleshooting
,
CPU Unit
capabilities
,
components
connections
,
CPU errors
,
dimensions
,
DIP switch
,
indicators
initialization
operation
,
Index
RS-232C port connections
CPU Units comparison
,
models
,
CQM1-PRO01-E Programming Console
CS Series definition
,
CS1 CPU Units
,
CS1-H CPU Unit features
,
CS1-H CPU Units
functions
new instructions
,
CS-series Basic I/O Units wiring
CS-series CPU Bus Unit Area
CS-series CPU Bus Units
CS-series Expansion Backplanes
CS-series High-density I/O Units
current consumption
,
tables
,
CX-Programmer
peripheral servicing
cycle time computing
,
effects of online editing
errors
,
example calculations
flags
maximum cycle time
,
present cycle time
setting
,
Cycle Time Too Long Flag
D
data areas forcing bit status
,
overview
status after fatal errors
status after mode changes
status after power interruptions
,
data control instructions execution times
,
Data Link Area
,
data links
,
data movement instructions execution times
,
Data Registers
data registers sharing
,
data shift instructions
execution times
,
data tracing related flags/bits
,
date setting the clock
,
debugging
,
flags
,
debugging instructions execution times
,
decrement instructions execution times
,
DeviceNet
,
DeviceNet Area
dimensions
Analog Timer Unit
,
B7A Interface Unit
,
Backplane Insulation Plates
Backplanes
,
Basic I/O Units
C200H Expansion I/O Backplanes
C200H High-density I/O Units
CPU Racks
,
CPU Unit
,
CS-series High-density I/O Units
,
Group-2 High-density I/O Units
,
installation
Memory Cards
Power Supply Units
,
DIN track mounting
,
DIP switch
display instructions execution times
,
DM Area
changing settings
,
settings
,
DR00 Output for Background Execution
ducts wiring
,
Dynamic Input Mode
,
Dynamic Output Mode
,
E
EC Directives
,
electrical noise
EM Area
current EM bank
,
EM bank current EM bank
,
EM file memory
,
initializing
,
PC Setup settings
,
starting bank
,
Index emergency stop circuit
,
environmental conditions checking
,
Equals Flag
,
Equals Flag for Background Execution
,
ER/AER Flag for Background Execution
,
error codes
Error Flag
error log
Error Log Area
,
error messages
,
errors basic I/O errors
communications error flags
,
CPU Bus Units
,
CPU Rack
CPU standby errors
,
error codes
error log
error messages
,
Programming Consoles
,
Expansion I/O Rack
,
FAL/FALS flags
fatal errors
flags
,
flash memory
,
Inner Boards
,
Input Units
,
memory error flags
,
non-fatal
,
Output Units
,
PC Setup errors
,
peripheral service time too long
,
programming error flags
,
settings
,
Special I/O Units
,
status after fatal errors
,
SYSMAC Bus
troubleshooting
,
user-programmed errors
Ethernet
,
execution settings
,
execution times
,
Expansion Backplanes
,
Expansion I/O Backplanes
,
Expansion I/O Racks troubleshooting
,
Expansion Racks description
maximum current consumption
,
maximum number allowed
,
external interrupts response time
,
787
788
F
fail-safe circuits
,
failure diagnosis instructions execution times
FAL Error Flag
FAL errors
,
flag
,
FAL/FALS Number for System Error Simulation
,
FALS Error Flag
,
FALS errors
,
flag
,
fatal errors
,
fatal operating errors
,
features
overview
file management overview
file memory
,
converting EM Area to file memory
file names
initializing
,
instruction execution times
related flags/bits
file memory instructions execution times
file names
,
FINS commands
FINS messages
First Cycle Flag
,
first Rack word
Programming Console display
flags table
flash memory
data dates
,
Flash Memory Error
,
floating-point math instructions execution times
flowchart environmental conditions check
,
error processing flowchart
,
I/O check
overall CPU operation
,
PLC cycle
,
power supply check
,
Forced Status Hold Bit
functionality
,
fuses fuse status flags
replacing
Index
G
general specifications
,
Greater Than Flag
,
Greater Than or Equals Flag
grounding
,
Group-2 High-density I/O Units
components
dimensions
,
wiring
H
hardware specifications
High-density I/O Units dimensions
,
limitations
,
See also C200H High-density I/O Units
See also CS-series High-density I/O Units
specifications
high-speed inputs
Holding Area
,
Host Link System
,
I
I/O checking
,
I/O allocations
,
reserving words
I/O Area
,
initializing
,
I/O Bus error
,
I/O Connecting Cables
I/O Control Units
,
I/O Interface Units
,
I/O interrupts response time
,
setting
,
I/O memory
,
addresses
,
areas
,
effects of operating mode changes
structure
I/O refreshing
I/O response time
,
Basic I/O Units
,
calculating
I/O table errors
,
registering
,
I/O Table Setting error
,
I/O Table Verification error
,
I/O tables
error information
I/O Terminal Area
I/O Unit Cover
,
immediate refreshing input bits and words
output bits and words
,
increment instructions execution times
,
index registers
,
sharing
,
indicators
,
CPU Unit
,
error indications
indirect addressing
DM Area
EM Area
index registers
,
inductive load surge suppressor
,
Initial Task Execution Flag
Initial Task Flag
,
Initial Task Startup Flag
,
initialization
CPU Bus Units
,
CPU Unit
,
file memory
I/O Area
,
Inner Board Area
Inner Board setting
,
Inner Boards error information
fatal Inner Board error
installing
,
monitoring
non-fatal Inner Board error
,
related flags/bits
,
words allocated to Inner Boards
,
input bits
,
input devices wiring
,
input instructions execution times
,
Input Units specifications
,
troubleshooting
,
inputs high-speed
,
inspection procedures
,
installation
,
control panels
,
DIN track
environment
,
ambient conditions
,
cooling
Index fail-safe circuits
initial setup
Inner Boards
,
mounting height
mounting Units
package contents
,
precautions
,
instruction execution times
,
instructions
DI(693)
,
EI(694)
execution times
,
failure diagnosis
,
index registers
,
loops
,
ranges
,
records and tables
,
stacks
steps per instruction
,
table data processing instructions
,
text strings
,
interrupt control instructions execution times
,
Interrupt Input Units
,
response time
,
specifications
,
Interrupt Task error
Interrupt Task Error Cause Flag
interrupt tasks error flag
,
error information
errors
,
interrupts
,
Power OFF Interrupt Task
response time
,
IOM Hold Bit
IORF(097) refreshing input bits and words
output bits and words
,
IR/DR Operation between Tasks
,
IR00 Output for Background Execution
,
J-L
leakage current output
,
Less Than Flag
,
Less Than or Equals Flag
,
Link Adapters current consumption
Link Area
,
Local Network Table
logic instructions
789
790
execution times
loops instructions
,
M
maintenance procedures
Master Units
See also Remote I/O Master Units
MCPWR indicator
memory capacities
clearing
,
memory areas
memory block map
,
memory map
,
memory areas
Memory Cards
,
dimensions
,
indicators
initializing
,
installing
installing in a personal computer
,
overview
removing
,
memory error
Memory Error Flag
momentary power interruption
MONITOR mode
,
monitoring
,
remote monitoring
,
mounting
DIN track
,
DIN Track Mounting Bracket
,
N
Negative Flag
network instructions execution times
networks
,
Controller Link
,
DeviceNet
,
Ethernet
,
multilevel networks
overview
related flags/bits
new instructions
,
noise reducing electrical noise
,
non-fatal operating errors
,
no-protocol communications
Index settings
Not Equal Flag
,
NT Link settings
NT Links
,
maximum unit number
,
O
online editing effect on cycle time
,
Online Editing Flags
,
Online Editing Wait Flag
,
related flags/bits
,
operating environment precautions
operating modes description
,
effects of mode changes on counters
,
effects of mode changes on data areas
,
effects of mode changes on timers
,
operations allowed in each mode
,
operation checking
,
checking operation
CPU Unit
,
preparations
,
testing
,
trial operation
,
output bits
,
output instructions execution times
,
Output OFF Bit
,
Output Units replacing fuses
,
replacing relays
,
specifications
troubleshooting
,
Overflow Flag
P
parallel processing
parallel processing modes
,
Parameter Area
,
Parameter Date
parts replacing parts
,
PC Setup
coding sheets
error information
,
errors
,
overview
performance
,
peripheral bus
settings
,
peripheral devices
peripheral port communications error
connecting a personal computer
,
related flags/bits
,
removing cover
,
settings
,
specifications
,
peripheral servicing
,
priority servicing
setting
Peripheral Servicing Cycle Time
,
Peripheral Servicing Priority Mode
,
Peripheral Servicing Too Long Flag
,
personal computer connecting
,
installing a Memory Card
,
PLC Link flags
,
Operating Level Flags
,
PLC Link Area
,
PLC Memory Address
,
PLCs cooling
,
power consumption
Power Holding Time
,
power interruptions
CPU operation for power interruptions
,
disabling
,
effects on data areas
information
,
momentary interruptions
Power OFF Detection Delay Time
power OFF interrupt task
power interrupts holding time
,
power OFF detection delay
,
Power OFF Detection Time
power OFF interrupts response time
,
power OFF processing
,
power supply
24 V
,
checking
,
CPU processing for power interruptions
specifications
,
Power Supply Units
,
dimensions
,
emergency stop
,
grounding
,
wiring AC Units
wiring DC Units
Index precautions
,
applications
,
data transfers for C200H Special I/O Units
general
,
handling precautions
interlock circuits
,
operating environment
,
output surge current
,
output wiring
,
periodic inspections
safety
,
safety circuits
printing
,
Program Error Flag
,
program errors
,
PROGRAM mode
,
Programmable Terminals
RS-232C connection example
programming
capacity
converting programs
,
error flag
,
errors
,
examples
instruction execution times
,
program capacity
,
program error information
,
program errors
,
remote programming
saving the program
,
symbols
transferring the program
Programming Consoles
,
connecting
,
error messages
,
PC Setup coding sheets
,
peripheral servicing
,
Programming Devices
,
connecting
,
connections
,
peripheral servicing
,
Windows
,
protocol macros
system configuration
,
R
range instructions
record-table instructions
,
refreshing
I/O refreshing
,
immediate refreshing
,
IORF(097)
791
792
Registered I/O Table
,
Relay Network Table
,
Relay Output Units specifications
relays
Output Unit replacement
,
remote I/O communications
CompoBus/S
,
SYSMAC BUS Slave Racks
,
Remote I/O Master Units
SYSMAC BUS
,
Remote I/O System
,
replacement parts
reserving I/O words
,
response time settings
Restart Bits
CPU Bus Units
Inner Board
M-Net Interface
,
peripheral port
,
RS-232C port
,
Special I/O Units
,
SYSMAC BUS
,
Routing Tables
,
RS-232C port communications error
,
connecting a personal computer
connection examples
pin arrangement
,
precautions
recommended wiring methods
related flags/bits
settings
specifications
RS-422A Converter
,
RUN mode
,
RUN output
,
specifications
S
safety circuits
,
safety precautions
,
scheduled interrupts response time
,
setting
,
time units
,
self-maintaining bits
,
sequence control instructions execution times
serial communications communications information
,
protocols
Index
system configuration
serial communications instructions execution times
,
setup initial setup
,
preparations for operation
short-circuit protection
simulating system errors
Slave Racks
I/O allocations to SYSMAC BUS Slave Racks
,
I/O response time
,
maximum current consumption
,
SYSMAC BUS
,
Special I/O Unit Area
Special I/O Units
data exchange
,
disabling cyclic refreshing
error information
,
errors
,
I/O allocations
,
Initialization Flags
,
,
mounting
,
Restart Bits
,
restrictions on C200H Units
,
setup errors
,
specifications
words allocated to Special I/O Units
special math instructions execution times
,
specifications
,
B7A Interface Unit
,
Analog Timer Unit
,
Analog Timer Units
,
Basic I/O Units
,
C200H High-density I/O Units
,
C200H Special I/O Units
C200H-IA121
,
C200H-IA122
,
C200H-IA122V
,
C200H-IA221
,
C200H-IA222
,
C200H-IA222V
,
C200H-ID211
,
C200H-ID212
,
C200H-ID215
,
C200H-ID216
,
C200H-ID217
,
C200H-ID218
,
C200H-ID219
,
C200H-ID501
,
C200H-IM211
C200H-IM212
C200H-MD115 (dynamic)
C200H-MD115 (static)
C200H-MD215 (dynamic)
C200H-MD215 (static)
C200H-MD501 (dynamic)
C200H-MD501 (static)
C200H-OA221
,
C200H-OA222V
C200H-OA223
,
C200H-OA224
,
C200H-OC221
,
C200H-OC222
,
C200H-OC222V
,
C200H-OC223
,
C200H-OC224
,
C200H-OC224V
,
C200H-OC225
,
C200H-OC226
,
C200H-OD211
,
C200H-OD212
,
C200H-OD213
,
C200H-OD214
,
C200H-OD215 (dynamic)
,
C200H-OD215 (static)
,
C200H-OD217
,
C200H-OD218
,
C200H-OD219
,
C200H-OD21A
,
C200H-OD21B
,
C200H-OD411
,
C200H-OD501 (dynamic)
,
C200H-OD501 (static)
,
C200HS-INT01
communications
,
CPU Units
CS-series CPU Bus Units
CS-series High-density I/O Units
,
CS-series Special I/O Units
functions
,
general
,
Input Units
,
Output Units
,
peripheral port
RS-232C port
Special I/O Units
,
specificationsCJ1W-CIF11
,
stack instructions
,
execution times
,
stack processing execution times
,
standby errors
standby operating errors
,
Startup Condition
startup condition
,
startup mode
Index setting
Step Flag
step instructions execution times
,
subroutine instructions execution times
,
subroutines execution times
,
Support Software
switch settings
Analog Timer Unit
,
Basic I/O Units
C200H Expansion I/O Backplanes
C200H Group-2 High-density Units
,
C200H High-density I/O Units
C200H High-density Units
,
CPU Backplane
,
CPU Unit
,
CS-series Expansion Backplanes
,
Power Supply Units
,
symbol math instructions execution times
,
SYSMAC BUS communications information
error information
errors
,
I/O allocations to other Slaves
,
I/O allocations to Slave Racks
,
I/O response time
SYSMAC BUS Area
,
SYSMAC BUS Slave Racks description
I/O allocations
maximum current consumption
,
system configuration
,
basic
,
Host Link
,
NT Link
serial communications
SYSMAC BUS remote I/O
T
task control instructions execution times
,
Task Error Flag
Task Flags
Task Started Flag
,
tasks description
instruction execution times
,
related flags/bits
,
793
794
Task Flags
,
terminal blocks
Basic I/O Units
,
terminal connections
Terminators
,
text strings instruction execution times
instructions
,
time setting the clock
,
Timer Area
timers execution times
Too Many I/O Points error
TR Area
,
tracing data tracing
,
Triac Output Units specifications
troubleshooting
overview
U
Underflow Flag
,
Units available models
classifications
,
limitations
,
lists
user program automatically transferring
,
disabling
,
User Program Date
,
V–W
voltage setting
,
wiring
,
AC Input Units
Basic I/O Units
,
DC Input Units
I/O devices
,
I/O Units with Connectors
,
installing wiring ducts
,
power supply
precautions
interlock circuits
output surge current
procedure
,
recommended RS-232C wiring methods
,
wire size
,
Index
Work Area
,
work bits
work words
Revision History
A manual revision code appears as a suffix to the catalog number on the front cover of the manual.
Cat. No. W339-E1-16
Revision code
The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
Revision code
01
02
03
Date
February 1999
October 1999
May 2000
Revised content
Original production
Revisions and additions for version-1 CPU Units. See page 118 of the CS-series Pro-
gramming Manual for a list.
Revisions and additions as follows:
All: “CS1 High-density I/O Unit” changed to “CS1 Basic I/O Units with connectors.”
Page xi: Information on CX-Programmer and CX-Server manuals added.
Page 38: Noise immunity specification changed.
Pages 54 to 57, 84, 85, 120, and 542: Tables reworked and expanded.
Page 63: Note added on Voice Unit.
Page 67: Note added.
Page 87: Voice Unit added to top table. Model numbers added to bottom table.
Pages 122, 124, 181, and 493: CS1 Unit information added.
Pages 124 and 125: Interrupt Input Unit section reworked and section added on Highspeed Input Unit.
Page 127: Subsection moved to end of section.
Pages 132: Section reworked and moved before previous section.
Page 134: Section reworked and renamed.
Page 144: Two sections added.
Page 180: Information added for 20-terminal Units
Pages 182 and 183: Section headings changed and information added.
Page 186 to 188: Models added to diagrams and diagrams added.
Pages 188: Last line of page changed.
Page 191: Information on residual voltages added.
Page 192: Information on sensor surge current and fuse capacity added.
Page 217: Information for task flags changed.
Page 224: Information on DM area allocations for DeviceNet added.
Page 225: Note added.
Pages 292 and 293: “Host link mode” removed from default settings.
Page 459: Less than sign changed to equals sign.
Page 470: Reference to other manual added.
Page 493: Information added.
Page 545: Section starting at bottom of page redone.
Page 548: Information added to I/O interrupt task description.
Page 549: Information added.
Page 551 to 574: “Top: Min. Bottom: Max.” removed from table column heading.
Pages 550 to 554: Small table added on differentiation; ! execution times added.
Page 583: Fatal Inner Board error description rewritten.
Page 588 and 589: Part of Cause removed from non-fatal Inner Board error and low battery error.
Page 609: Tables added.
Page 611 to end of appendix: CS1 Units added.
Page 620, 621, and 622: OC222N, OC226N, and OC224N added.
Page 627 to 630: Circuit configuration diagrams corrected.
Page 630, 651, 658, and 659: Note added.
Pages 648, 651, 654 to 657, 671, 673, 680, and 682: Diagrams revised.
Page 649: Note changed.
Page 659: Last two sentences removed.
Page 754: Information added to notes.
Page 762: Information added to restrictions at bottom of page.
795
Revision code
04
05
06
Date
August 2000
January 2001
October 2001
Revision History
Revised content
Revisions and additions to add CS1 Long-distance Expansion Racks and Peripheral Servicing Mode. Specific changes are as follows:
Page xvii: “Power Supply Unit” added to mounting/dismounting warning.
Pages 4,16, 41, 48 to 51, 84, 118 to 121, 187 to 190, 292, and 613: Changes and additions for CS1 Long-distance Expansion Racks.
Pages 4, 16, 307, 313, 322, 539, 729, and 792: Changes and additions for Peripheral
Servicing Priority Mode.
Pages 45, 46, 106, and 108: Programming Console model added.
Page 51: CS1W-INT01 added (two locations).
Page 52: Headings corrected in middle of page.
Page 89: Section added on CPU Unit Setting Area capacity.
Page 100: “Etc.” replaced with “SYSMAC LINK link tables and Controller Link link tables.”
Pages 118 to 121: Weights added.
Pages 147 to 151: Information on I/O number switch removed/replaced (not used for
CS1).
Section 7: “CompoBus/D” changed to “DeviceNet” (with references left to CompoBus/D).
Page 234: Status area added to top graphic.
Page 243: Information added to note.
Page 323: Information added to top graphic.
Page 532: Table added to bottom of page.
Pages 560, 562, and 563: Note added after table.
New products added and other changes made as follows:
Pages 59, 62, 89, 90, 94, 129, 130, 133, 135, 574, 645, 646, 648, 650, 672, 680, 682, and
686: Information added on new products.
Page 325: Paragraph below diagram changed.
Page 631: Remedy added for “Input irregularly turns ON/OFF.”
Pages 631 and 632: Replacing Unit added for 4 remedies.
Page 635: First row for “User-serviceable parts” changed.
Page 642: Model added to note following table.
Page 648: Precautions added before Basic I/O Units.
New products added to the manual, including the new High-speed CPU Units (CS1-H
CPU Units). (Extensive changes too numerous to list.)
796
Revision code
07
Revision History
Date
September 2002
Revised content
“PC” was changed to “PLC” throughout the manual. “CS1” was changed to “CS Series” where appropriate (i.e., when not referring directly to a CPU Unit). In addition, the following changes were made:
Page v: Change made to information on OMRON product references.
Page xi: Model numbers changed or added in several places.
Page xv: Precautionary information added.
Page 2: Minor change made to callouts.
Page 5: Line added before graphic.
Page 6: “CompoBus/D” added in one place.
Page 12: Wording changed in second heading.
Pages 14, 17, 348, 349, 349, 350, 402, 422: Information related to new timer/counter instructions added.
Pages 57, 62, 64, 65, 66, 69, 72, 74, 75, 76, 77, 132: Notes added.
Pages 57, 129, 184: New section headings added.
Page 60: 32 corrected to 64 in two places.
Page 61: Information on new CPU Backplanes added.
Page 64: Information added to middle section.
Pages 67, 69, 76, 102, 143, 145, 163, 211, 262, 391, 469, 573: Information added to tables.
Page 132: Minor changes made to information in table.
Pages 141, 144: Tables added.
Page 143: Numerical corrections made in two places.
Page 150, 162, 163, 166, 168: Page references removed.
Pages 198, 200, 201: Information reordered.
Page 233, 558, 626, 627, 628: Minor changes made to headings.
Page 256: Third table removed.
Pages 270, 277: Changes made to graphic callouts.
Pages 280, 281: Callout moved.
Page 300: Second graphic replaced.
Pages 356, 360: Changes made to explanation of I/O Hold Bit operation.
Page 377: 25 changed to 15 in bottom graphic.
Page 378: Minor change in wording.
Page 386: Information added before bottom table.
Page 387: Information added before second table.
Page 393: Numerical changes made in two places in table.
Page 395: First note removed.
Pages 400 to 425: Zeroes added before instruction codes where appropriate (i.e., to make them three digits long.)
Page 406: Numerical corrections made in six places.
Page 454: Minor change made to wording of text before table.
Page 457: Changes made to bottom table in several places.
Page 459: Last heading removed.
Appendix A: Minor changes made to graphics and notation used for input voltage, maximum switching capacity, and external power supply throughout the Appendix.
Page 553: Information on TTL I/O Unit added.
Page 589: Change made to setting range for A406.
Page 623: Graphic replaced.
797
Revision code
08
Revision History
Date
December 2003
Revised content
Revisions and additions as follows:
Pages xv to xxv: PLP information updated
Page 18: Rows beginning “Operation after” corrected.
Page 34: “Peripheral bus” removed from second cell in CS-series PLCs column.
Pages 63, 242, 535, and 561: Graphic corrected.
Pages 64, 119, 126, 304, 463, 506, 551, 560, and 616: Note added.
Pages 65, 119, 250, 251, 432, and 631: Note changed.
Page 70: Section on cable restrictions added.
Page 79: “No” in SYSMAC BUS Slave Racks column corrected.
Page 124: Memory Card models corrected.
Page 125: “General-purpose” removed from bottom table.
Pages 133 and 34: Keyboard corrected.
Page 142: Information added to RUN Output section.
Pages 145, 147, 503, and 505: Sentence added to graphic.
Page 165: Model number corrected in bottom table.
Page 226: Paragraph added at top of page.
Page 234: Information added on grounding.
Page 256: Dates changed.
Pages 291 and 294: Paragraph added to bottom of page.
Page 307: Sentence added to SYSMAC BUS Area and I/O Terminal Area descriptions.
Page 322: Address corrected in note.
Page 357: Information added before note.
Page 432: Address corrected under table.
Page 434: Column added to top table.
Page 437: Multiple additions and changes made.
Page 438: “Stopped” status information changed.
Page 473: TTL I/O Unit model number corrected.
Page 474: Manufacturing number description changed.
Pages 478, 501, 502, 515, and 520: Insulation resistance test voltage changed to 500 V
DC.
Pages 524, 528, 531, 565, 566, 568, 569, 571, 572, 574, 575, 577, and 578: Alternate circuit configuration added.
Page 584: Description of A266 and A267 changed.
Page 590: “A528” added to top right of table.
Page 591: Description of A39506 and A39507 reversed.
Page 602: Description of A50014 changed.
Page 616: Sentence added at top of page.
Page 643: Appendix added.
798
Revision code
09
10
Date
July 2004
January 2005
Revision History
Revised content
Revisions and additions were made throughout the manual for the functionality supported by the version upgrade to CPU Units with unit version 3.0, including the following changes.
Pages vi to xiv: Reorganized, changed, and added information on unit versions.
Page xix: Added manuals to table.
Page 15: Added new sections 1-3-7 and 1-3-8 with information on new functionality.
Page 18: Added version upgrade information to new section 1-4.
Pages 19 and 21: Added information on function blocks.
Pages 32 and 33: Added notes.
Page 54: Changed 3049 to 3079 for SYSMAC BUS Area.
Page 66: Replaced table for CS1-H and expanded table for CS1.
Page 67: Expanded specifications table.
Page 68: Changed values for SYSMAC Bus Area.
Page 69: Added note to Holding Area.
Page 71: Added information to flash memory
Page 73: Changed information on storing comment data.
Page 85: Changed Memory Card models.
Page 88: Added information on USB connections.
Page 93: Removed note reference for CS-series Expansion Backplanes.
Page 96: Changed 5 Racks to 8 Racks in table.
Page 100: Removed note reference for CS1W-IDP01.
Page 108: Added V1 suffix to Analog Input Units.
Page 109: Added CS1W-PMV02.
Page 111: Added information.
Page 112: Updated diagram and added new information to table.
Page 113: Added new information and diagram.
Page 116: Added new information and diagrams for Serial Gateway.
Page 117: Added note.
Page 119: Added information on Host Link Master.
Page 120: Added information on protocol conversion.
Page 130: Changed current consumption from 0l11 to 0.01 for DC Input Unit.
Page 135: Added V1 suffix to Analog Input Units.
Pages 148 and 149: Changed information on memory block maps.
Pages 152, 154, 156, and 157: Added information to tables and also added information on comment memory to 157.
Page 225: Added reference information.
Page 259: Changed diagram and added precaution.
Page 291: Added information for function blocks.
Pages 297 and 298: Added information for Serial Gateway.
Pages 327 and 328: Changed 4 to 7 in unit number range, and 3049 to 3079 in SYSMAC
BUS Area range.
Page 341: Changed 800 to 1,280 and 3049 to 3079 in SYSMAC BUS Area. Also added note for Holding Area.
Pages 344, 345, and 367: Changed information for SYSMAC BUS Area.
Pages 346 and 370: Added note to Holding Area.
Pages 376 and 387: Added information on new words and bits to table.
Page 389: Added note for A39212 and A39204.
Page 390: Added information on new words and bits for function blocks.
Pages 467 and 474: Added information on new instructions.
Page 498: Added error information to table.
Pages 507, 508, and 510: Changes made to precautions and new precautions added.
Page 517: Added note to table.
Pages 525 and 527: Changed voltage for ON/OFF response time.
Page 534: Changed “m” to “m+1” and vice versa in terminal connections diagram.
Page 640: Added TXDU/RXDU instructions in information on A203 to A210. Also added information for A214 to A218 to table.
Page 646: Added information on A345.
Pages 647 and 648: Added note on Serial Gateway to A39204 and A39212.
Page 650: Changed reference for A40109.
Page 663: Added information to A528
Page 664: Added information for new words A580 to A582.
Page 667: Added information for new words A720 to A749.
Revisions and additions were made throughout the manual for functionality supported by the C200HW-PA204C Power Supply Units with Replacement Notification, including the following changes.
Page xx: Changed table of reference manuals.
Pages xxix, xxx, and xxxi: Added precautionary information.
Pages 11 and 18: Added information on battery replacement notification.
Pages 83, 94, 10, 140, 185, and 515: Added information to table.
Pages 84, 256: Added notes.
Pages 185 and 186: Added information on components and switch settings.
Page 187: Added dimensions diagram and information on selecting Power Supply Units.
Pages 187 and 188: Added models to tables.
Page 188: Added new sub section on battery replacement notification.
Page 273: Added wiring diagram.
Page 274: Added information on AC power source and changed table.
Page 275: Added information on alarm output.
Page 278: Added note and moved diagram to following page.
Pages 590, 591, 592, and 593: Changed fuse information in diagrams.
Pages 531 to 534: Revised information on battery replacement.
799
Revision code
11
12
13
Revision History
Date
November 2005
October 2006
September 2007
Revised content
Revisions and additions were made throughout the manual to include information on the
C200HW-PD025, including the following changes.
Page 83: Column added to table and reference to note 7 added for output capacity.
Page 84: Column added to table.
Page 85: Notes 6 and 7 added, column added to table, reference to note 6 added for safety measures, and reference to the C200HW-PD025 added to note 3.
Pages 95, 107, 142, 187, 190, 191, 287, and 527: Information on C200HW-PD025 added.
Pages 195, 377, 401, and 675: Note added.
Page 685: “VM” changed to “UM” in table.
Revisions and additions were made throughout the manual to include information on unit version 4.0 of the CPU Units.
Descriptions and contents were improved.
The 15-Mbyte flash memory was deleted.
Many other changes were made throughout the manual.
Pages x and xiii: Added upgraded features for release of CX-Programmer 7.2.
Pages xix and xx: Added the CJ1H-CPU @@H-R CPU Units.
Pages 52 to 55: Added the CS1G-CPU4 @H and CS1G-CPU4@-E CPU Units.
Pages 78 and 79: Corrected “E2_” to “E0” in “Extended data memory” for CPU Units supporting only one bank.
Page 86: Rewrote row for three-level communications.
Page 93: Corrected data memory capacity for the CS1G-CPU43H, CS1G-CPU42H, and
GS1H-CPU63-EV1.
Pages 99 and 172: Added Memory Card model.
Page 114: Corrected “DC” to “AC” for AC Input Unit.
Page 120 and 159: Corrected model numbers of B7A Interface Units.
Pages 121, 154, 156, 160, and 502: Added the CS1W-AD161.
Page 122: Upgraded versions of Motion Control Units and changed notes.
Page 127: Removed “High-resolution Isolated DC Input Unit” from left column and corrected model number of the High-resolution Motion Control Unit.
Page 151: Corrected model number of B7A Output Unit.
Pages 157 and 162: Removed line for CompoNet Unit in table.
Page 160: Added CompoNet Master Unit.
Page 173: Added section on Memory Card specifications.
Page 206: Added “-V1” to two Backplane model numbers.
Pages 212, 583, 619, 620, 622, 623, 625, and 628: Added “-M” to Relay model number.
Page 252: Corrected model number of C200H Basic Output Unit.
Page 301: Corrected beginning of first paragraph.
Page 302: Added information on connector brackets.
Page 445: Added paragraph at bottom of page and split table.
Page 452: Changed note for A39204.
Page 472: Added column to table, added sentence after table, changed “1 s” in diagram and accompanying table, and added information at bottom of page.
Page 503: Added Ethernet Unit model number.
Page 574: Removed first two bulleted items and changed the next paragraph.
Page 710: Added TXDU and RXDU to function description in first row and added A21215.
Page 773: Added “(0 V).”
800
Revision code
14
15
15A
16
Revision History
Date
December 2008
September 2009
December 2009
March 2010
Revised content
Page xix: Changed top figure.
Page xx: Updated manual names and versions.
Page xxx: Updated CLK model numbers.
Pages xxxv, 672, and 673: Removed “-E” from “NT-AL001-E.”
Page 55: Changed instruction names in last row of table.
Pages 78 and 79: Changed final Extended Data Memory address for CS1W-CPU67-EV1.
Page 79: Changed programming specification.
Page 100: Moved note.
Page 105: Changed notes.
Page 111: Corrected model numbers for C200H I/O Connecting Cables.
Page 117: Removed note.
Pages 129, 157, and 159: Removed Optical Controller Link Unit (CS1W-CLK11) and
10Base-T Ethernet Unit (CS1W-ETN11).
Page 129: Changed first note and added new note 2.
Page 152: Added Triac Output Unit.
Page 158: Changed current consumption for first row for Analog Input Units.
Page : Removed most of FL-net Unit models.
Pages 228, 229, and 231: Added model numbers and names.
Page 287: Added note.
Pages 313, 314, and 318: Redid Crimp Terminals section.
Page 321: Changed wire sizes in Wire section.
Page 326: Added “#3” to right side of top figure.
Pages 601, 602, 604, 605, 611, and 616: Added voltage to specification for internal current consumption.
Page 607: Changed specification for number of circuits.
Page 608: Removed note from table.
Page 616: Moved paragraph to note.
Page 664: Moved note to next page.
Page 672: Changed specification for fuse.
Page 683: Added reference in table to note 2.
Page 731: Changed description of A428 to A433.
Page 739: Added information above A650.
Page 787: Added “PLC memory address” to index.
Pages xxxv, 192, and 763: Added Programmable Terminal.
Pages 100, 110, 175, 449, 450, 673, 678, 740, and 471: Added note.
Pages 110 and 293: Updated model numbers.
Pages 124 and 156: Added High-speed Counter Units and CompoNet Master Units.
Pages 127 and 148: Corrected model numbers from “C200” to “C200HW.”
Pages 150 and 157: Added information to note.
Page 195: Corrected Output column.
Pages 246 to 248: Corrected terminal numbers and corrected “output” to “input.”
Page 321: Added “/F” in top two tables.
Page 340: Added paragraph at top of page.
Pages 403 and 404: Added and reorganized notes.
Page 504: Added CompoNet Master Units.
Pages 612, 616, 671, 676, and 680: Changed note.
Page 739: Added information to top cell in Name column.
Page xxix: Changed precaution on safety measures in external circuits.
Page xx: Versions updated in manual names.
Pages 87 to 89: Columns reorganized.
Page 87: First two rows of specifications changed.
Page 89: Last row of table changed.
Page 90: Note 6 removed and note added.
Pages 100 and 111: Rows for Power Supply Units changed.
Page 195: Table changed.
Page 199: New section added before 3-4-5 Replacement Notification.
Page 204: Information added to sections on startup time and power failure detection voltage. Note changed.
Page 205: Top table changed.
Page 308: Model restrictions added to labels in figures.
Page 309: Models added in last paragraph.l
Page 310: Models added in top table.
Page 326: Models corrected at bottom left of top figure.
Page 411: "Cleared" corrected to "Retained" in row for Task Flags.
Page 412: "Retained" corrected to "Cleared" two times in bottom right corner of top table.
Page 430: Note added.
Page 564: Models added in table.
Page 565: Model restrictions added and removed in flowchart.
801
802
Revision History
OMRON Corporation Industrial Automation Company
Tokyo, JAPAN
Contact: www.ia.omron.com
Regional Headquarters
OMRON EUROPE B.V.
Wegalaan 67-69-2132 JD Hoofddorp
The Netherlands
Tel: (31)2356-81-300/Fax: (31)2356-81-388
OMRON ELECTRONICS LLC
One Commerce Drive Schaumburg,
IL 60173-5302 U.S.A.
Tel: (1) 847-843-7900/Fax: (1) 847-843-7787
OMRON ASIA PACIFIC PTE. LTD.
No. 438A Alexandra Road # 05-05/08 (Lobby 2),
Alexandra Technopark,
Singapore 119967
Tel: (65) 6835-3011/Fax: (65) 6835-2711
OMRON (CHINA) CO., LTD.
Room 2211, Bank of China Tower,
200 Yin Cheng Zhong Road,
PuDong New Area, Shanghai, 200120, China
Tel: (86) 21-5037-2222/Fax: (86) 21-5037-2200
Authorized Distributor:
© OMRON Corporation 2001 All Rights Reserved.
In the interest of product improvement, specifications are subject to change without notice.
Cat. No. W339-E1-16
Printed in Japan
0310
Scarica
Pubblicità