Omron SYSMAC CP, SYSMAC CP1H-X40D, SYSMAC CP1H-XA40D, SYSMAC CP1H-Y20DT-D Operation Manual

Page 1
Cat. No. W450-E1-06
CP1H CPU Unit
SYSMAC CP Series CP1H-X40D_-_ CP1H-XA40D_-_ CP1H-Y20DT-D
OPERATION MANUAL
Page 2
Page 3
CP1H-X40D@-@ CP1H-XA40D@-@ CP1H-Y20DT-D
CP1H CPU Unit
Operation Manual
Revised March 2009
Page 4
iv
Page 5
v
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 pre­cautions 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, how­ever, in some CX-Programmer 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 opera-
tion of the product.
1,2,3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.
OMRON, 2005
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, o
r
by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission o
f
OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con­stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. 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.
Page 6
vi
Unit Versions of CP-series CPU Units
Unit Versions A “unit version” has been introduced to manage CPU Units in the CP Series
according to differences in functionality accompanying Unit upgrades.
Notation of Unit Versions on Products
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.
Confirming Unit Versions with Support Software
CX-Programmer version 6.1 or higher can be used to confirm the unit version using one of the following two methods. (See note.)
Using the PLC Information
• Using the Unit Manufacturing Information
Note CX-Programmer version 6.1 or lower cannot be used to confirm unit versions
for CP-series CPU Units.
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.
Lot No.
CP1H-XA40CDR-A
CPU UNIT
Lot No. 28705 0000 Ver.1.0
OMRON Corporation MADE IN JAPAN
Product nameplate
CP-series CPU Unit
Unit version (Example for Unit version 1.0)
Page 7
vii
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.
Unit version
Page 8
viii
Use the above display to confirm the unit version of the CPU Unit connected online.
Using the Unit Version Labels
The following unit version labels are provided with the CPU Unit.
These labels can be attached to the front of previous CPU Units to differenti­ate between CPU Units of different unit versions.
Unit version
Ver.
1.0
Ver.
1.0
Ver.
Ver.
These Labels can be used to manage differences in the available functions among the Units. Place the appropriate label on the front of the Unit to show what Unit version is actually being used.
Page 9
ix
Functions Supported by Unit Version for CP-series CPU Units
Functions Supported by Unit Version 1.0 and 1.1
Functionality is the same as that for CS/CJ-series CPU Units with unit version
3.0. The functionality added for CS/CJ-series CPU Unit unit version 4.0 is not supported.
CP1H CPU Units
• CX-Programmer version 6.11 or higher is required to use CP1H-X@@@@­@/XA@@@@-@ with unit version 1.1 or 1.0.
• CX-Programmer version 6.20 or higher is required to use CP1H-Y@@@@­@ with unit version 1.1.
Note 1. The unit version for the CP1H-X@@@@-@/XA@@@@-@ begins at 1.0.
2. The unit version for the CP1H-Y@@@@-@ begins at 1.1.
3. CX-Programmer version 7.11 or higher is required to use CP1L CPU Units with unit version 1.0.
4. CX-Programmer version 7.3 or higher is required to use CP1L CPU Units with 10 I/O points.
CPU Unit CP1H CPU Unit Model CP1H-@@@@-@
CP1H-XA@@@@-@ (See note 1.)
CP1H-Y@@@@-
@
(See note 2.)
Unit version
Function
Ver. 1.1 or later Ver. 1.0 Ver. 1.1
Pulse outputs
Allocated built­in I/O terminals
4 axes at 100 kHz 2 axes at 100 kHz
2 axes at 30 kHz
2 axes at 100 kHz
Special pulse output terminals
None 2 axes at 1 MHz
Page 10
x
Page 11
xi
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
1 Intended Audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiv
2 General Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiv
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiv
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvi
5 Application Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx
SECTION 1
Features and System Configuration . . . . . . . . . . . . . . . . . . . 1
1-1 Features and Main Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1-3 Connecting Programming Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1-4 Function Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
1-5 Function Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
SECTION 2
Nomenclature and Specifications . . . . . . . . . . . . . . . . . . . . . 41
2-1 Part Names and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
2-2 Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
2-3 CP1H CPU Unit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
2-4 CPU Unit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
2-5 CPU Unit Operating Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
2-6 Power OFF Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
2-7 Computing the Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
SECTION 3
Installation and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
3-1 Fail-safe Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
3-2 Installation Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
3-3 Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
3-4 Wiring CP1H CPU Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
3-5 Wiring Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
3-6 CP-series Expansion I/O Unit Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
SECTION 4
I/O Memory Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
4-1 Overview of I/O Memory Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
4-2 I/O Area and I/O Allocations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .150
4-3 Built-in Analog I/O Area (XA CPU Units Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
4-4 Data Link Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Page 12
xii
TABLE OF CONTENTS
4-5 CPU Bus Unit Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
4-6 Special I/O Unit Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
4-7 Serial PLC Link Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
4-8 DeviceNet Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
4-9 Internal I/O Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
4-10 Holding Area (H). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
4-11 Auxiliary Area (A). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
4-12 TR (Temporary Relay) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
4-13 Timers and Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
4-14 Data Memory Area (D) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
4-15 Index Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
4-16 Data Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
4-17 Task Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
4-18 Condition Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
4-19 Clock Pulses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
SECTION 5
Basic CP1H Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
5-1 Interrupt Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
5-2 High-speed Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
5-3 Pulse Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
5-4 Quick-response Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
5-5 Analog I/O (XA CPU Units) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
SECTION 6
Advanced Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
6-1 Serial Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
6-2 Analog Adjuster and External Analog Setting Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
6-3 7-Segment LED Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .362
6-4 Battery-free Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
6-5 Memory Cassette Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
6-6 Program Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
6-7 Failure Diagnosis Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .381
6-8 Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
SECTION 7 Using CP-series Expansion Units and
Expansion I/O Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
7-1 Connecting CP-series Expansion Units and Expansion I/O Units . . . . . . . . . . . . . . . . . . . . 388
7-2 Analog Input Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
7-3 Analog Output Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
7-4 Analog I/O Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Page 13
xiii
TABLE OF CONTENTS
7-5 Temperature Sensor Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .429
7-6 CompoBus/S I/O Link Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
7-7 DeviceNet I/O Link Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .450
SECTION 8
LCD Option Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
8-1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
8-2 Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
8-3 Part Names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
8-4 Installation and Removing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .461
8-5 Basic Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
8-6 LCD Option Board Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
8-7 Trouble Shooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
SECTION 9
Ethernet Option Board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
9-1 Ethernet Option Board Function Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
9-2 Differential Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523
9-3 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 524
9-4 Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
9-5 FINS Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .526
9-6 Part Names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528
9-7 Comparison with Previous Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529
9-8 Installation and Initial Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 530
9-9 Memory Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537
9-10 Web Browser Setup and Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543
9-11 Trouble Shooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
9-12 Sample Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
SECTION 10
Program Transfer, Trial Operation, and Debugging . . . . . 565
10-1 Program Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 566
10-2 Trial Operation and Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 566
SECTION 11
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
11-1 Error Classification and Confirmation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574
11-2 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579
11-3 Error Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
11-4 Troubleshooting Unit Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .592
Page 14
xiv
TABLE OF CONTENTS
SECTION 12
Inspection and Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . 595
12-1 Inspections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 596
12-2 Replacing User-serviceable Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598
Appendices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601
A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601
B Dimensions Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .609
C Auxiliary Area Allocations by Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619
D Auxiliary Area Allocations by Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
E Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
F Connections to Serial Communications Option Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687
G PLC Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713
H Specifications for External Power Supply Expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 745
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751
Page 15
xv
About this Manual:
This manual describes installation and operation of the CP-series Programmable Controllers (PLCs) and includes the sections described below. The CP Series provides advanced package-type PLCs based on OMRON’s advanced control technologies and vast experience in automated control.
Please read this manual carefully and be sure you understand the information provided before attempting to install or operate a CP-series PLC. Be sure to read the precautions provided in the fol­lowing section.
Definition of the CP Series
The CP Series is centered around the CP1H CPU Units and is designed with the same basic architec­ture as the CS and CJ Series. The Special I/O Units and CPU Bus Units of the CJ Series can thus be used. CJ-series Basic I/O Units, however, cannot be used. Always use CP-series Expansion Units and CP-series Expansion I/O Units when expanding I/O capacity.
I/O words are allocated in the same way as the CPM1A/CPM2A PLCs, i.e., using fixed areas for inputs and outputs.
CS/CJ/CP Series
CS1H-CPU@@H
CS1G-CPU@@H
CS1-H CPU Units
CS-series Power Supply Units
Note: Products specifically for the CS1D
Series are required to use CS1D CPU Units.
CS-series Basic I/O Units
CS-series CPU Bus Units
CS-series Special I/O Units
CS1 CPU Units
CS Series
CS1H-CPU@@ (-V1)
CS1G-CPU@@ (-V1)
CJ1H-CPU@@H
CJ1G-CPU@@H
CJ1G -CPU@@P
(Loop CPU Unit)
CJ1-H CPU Units
CJ1 CPU Unit
CJ Series
CJ1G-CPU@@
CJ1M CPU Unit
CJ1M-CPU@@
CS1D CPU Units
CS1D CPU Units for Duplex-CPU System
CS1D-CPU
@@H
CS1D CPU Units for Single-CPU System
CS1D-CPU S
CS1D Process CPU Units
CS1D-CPU
@@P
CP1H-X@@@@-@
CP1H-XA@@@@-@
CP1H-Y@@@@-@
CP1H CPU Units
CJ-series CPU Bus Units
CJ-series Special I/O Units
CP Series
CP-series Expansion Units
CP-series Expansion I/O Units
@@
CJ-series Basic I/O Units
CJ-series Special I/O Units
CJ-series CPU Bus Units
CJ-series Power Supply Units
Page 16
xvi
Precautions provides general precautions for using the Programmable Controller and related devices.
Section 1 introduces the features of the CP1H and describes its configuration. It also describes the
Units that are available and connection methods for Programming Devices and other peripheral devices.
Section 2 describes the names and functions of CP1H parts and provides CP1H specifications.
Section 3 describes how to install and wire the CP1H.
Section 4 describes the structure and functions of the I/O Memory Areas and Parameter Areas.
Section 5 describes the CP1H’s interrupt and high-speed counter functions.
Section 6 describes all of the advanced functions of the CP1H that can be used to achieve specific
application needs.
Section 7 describes how to use CP-series Expansion Units and Expansion I/O Units.
Section 8 gives an outline of the LCD Option Board, explains how to install and remove the LCD
Option Board, and describes the functions including how to monitor and make settings for the PLC. It also lists the errors during operation and provides probable causes and countermeasures for trouble­shooting.
Section 9 gives an outline of the Ethernet Option Board, explains how to install and remove the Ether­net Option Board, and how to monitor and make settings required for operation. It also lists the errors during operation and provides countermeasures for troubleshooting.
Section 10 describes the processes used to transfer the program to the CPU Unit and the functions that can be used to test and debug the program.
Section 11 provides information on hardware and software errors that occur during CP1H operation.
Section 12 provides inspection and maintenance information.
Appendices provide product lists, dimensions, tables of Auxiliary Area allocations, and a memory
map.
Page 17
xvii
Related Manuals
The following manuals are used for the CP-series CPU Units. Refer to these manuals as required.
Cat. No. Model numbers Manual name Description
W450 CP1H-X40D@-@
CP1H-XA40D@-@ CP1H-Y20DT-D
SYSMAC CP Series CP1H CPU Unit Operation Manual
Provides the following information on the CP Series:
• Overview, design, installation, maintenance, and other basic specifications
•Features
• System configuration
• Mounting and wiring
• I/O memory allocation
• Troubleshooting
Use this manual together with the CP1H Program- mable Controllers Programming Manual (W451).
W451 CP1H-X40D@-@
CP1H-XA40D@-@ CP1H-Y20DT-D
SYSMAC CP Series CP1H CPU Unit Pro­gramming Manual
Provides the following information on the CP Series:
• Programming instructions
• Programming methods
•Tasks
• File memory
• Functions
Use this manual together with the CP1H Program- mable Controllers Operation Manual (W450).
W342 CS1G/H-CPU@@H
CS1G/H-CPU@@-V1 CS1D-CPU@@H CS1D-CPU@@S CS1W-SCU21 CS1W-SCB21-V1/41-V1 CJ1G/H-CPU@@H CJ1G-CPU@@P CP1H-CPU@@ CJ1G-CPU@@ CJ1W-SCU21-V1/41-V1
SYSMAC CS/CJ­series Communica­tions Commands Ref­erence Manual
Describes commands addressed to CS-series and CJ-series CPU Units, including C-mode commands and FINS commands.
Note This manual describes on commands
address to CPU Units regardless of the com­munications path. (CPU Unit serial ports, Serial Communications Unit/Board ports, and Communications Unit ports can be used.) Refer to the relevant operation manuals for information on commands addresses to Spe­cial I/O Units and CPU Bus Units.
W446 WS02-CXPC1-E-V70 SYSMAC CX-Pro-
grammer Ver. 7.0 Operation Manual
Provides information on installing and operating the CX-Programmer for all functions except for function blocks.
W447 WS02-CXPC1-E-V70 SYSMAC CX-Pro-
grammer Ver. 7.0 Operation Manual Function Blocks
Provides specifications and operating procedures for function blocks. Function blocks can be used with CX-Programmer Ver. 6.1 or higher and either a CS1-H/CJ1-H CPU Unit with a unit version of 3.0 or a CP1H CPU Unit. Refer to W446 for operating pro­cedures for functions other than function blocks.
W444 CXONE-AL@@C-E CX-One FA Inte-
grated Tool Package Setup Manual
Provides an overview of the CX-One FA Integrated Tool and installation procedures.
W445 CXONE-AL@@C-E CX-Integrator Opera-
tion Manual
Describes CX-Integrator operating procedures and provides information on network configuration (data links, routing tables, Communications Units setup, etc.
W344 WS02-PSTC1-E CX-Protocol Opera-
tion Manual
Provides operating procedures for creating protocol macros (i.e., communications sequences) with the CX-Protocol and other information on protocol mac­ros.
The CX-Protocol is required to create protocol mac­ros for user-specific serial communications or to customize the standard system protocols.
Page 18
xviii
Page 19
xix
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.
Page 20
xx
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.
Page 21
xxi
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.
Page 22
xxii
Page 23
xxiii
PRECAUTIONS
This section provides general precautions for using the CP-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.
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiv
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiv
3 Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiv
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvi
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx
6-1 Applicable Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx
6-2 Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx
6-3 Conformance to EC Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxi
6-4 Relay Output Noise Reduction Methods . . . . . . . . . . . . . . . . . . . . . xxxi
6-5 Conditions for Meeting EMC Directives
when Using CP-series Relay Expansion I/O Units. . . . . . . . . . . . . . xxxiii
Page 24
xxiv
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 specifica­tions 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, amuse­ment machines, safety equipment, and other systems, machines, and equip­ment 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 man­ual close at hand for reference during operation.
!WARNING It is extremely important that a PLC and all PLC Units be used for the speci-
fied purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PLC System to the above-mentioned appli­cations.
3 Safety Precautions
!WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing
so may result in electric shock.
!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 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.
Page 25
xxv
Safety Precautions 3
• 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. As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system.
• The PLC or outputs may remain ON or OFF due to deposits on or burning of the output relays, or destruction of the output transistors. As a counter­measure for such problems, external safety measures must be provided to ensure safety in the system.
• When the 24-V DC output (service power supply to the PLC) is over­loaded 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.
!WARNING 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. Not doing so may result in serious accidents.
!WARNING Do not apply the voltage/current outside the specified range to this unit. It may
cause a malfunction or fire.
!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.
!Caution Confirm safety at the destination node before transferring a program to
another node or editing the I/O 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 to the torque
specified in this manual. The loose screws may result in burning or malfunc­tion.
!Caution Do not touch anywhere near the power supply parts or I/O terminals while the
power is ON, and immediately after turning OFF the power. The hot surface may cause burn injury.
!Caution Pay careful attention to the polarities (+/-) when wiring the DC power supply. A
wrong connection may cause malfunction of the system.
Page 26
xxvi
Operating Environment Precautions 4
!Caution When connecting the PLC to a computer or other peripheral device, either
ground the 0 V side of the external power supply or do not ground the external power supply at all. Otherwise the external power supply may be shorted depending on the connection methods of the peripheral device. DO NOT ground the 24 V side of the external power supply, as shown in the following diagram.
!Caution After programming (or reprogramming) using the IOWR instruction, confirm
that correct operation is possible with the new ladder program and data before starting actual operation. Any irregularities may cause the product to stop operating, resulting in unexpected operation in machinery or equipment.
!Caution The CP1H CPU Units 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 Area, counter present values and Completion Flags, and HR Area), however, is not written to flash memory. The DM Area, counter present values and Completion Flags, and HR Area 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 Area, counter present values and Completion Flags, and HR Area are used to control external outputs, prevent inappropriate outputs from being made whenever the Battery Error Flag (A402.04) is ON.
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 tem­perature.
• 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.
24 V
0 V
0 V
Non-insulated DC power supply
0 V
Peripheral device
FG
FG
CPU Unit
FG
Twisted-pair cable
FG
Page 27
xxvii
Application Precautions 5
• Locations subject to possible exposure to radioactivity.
• Locations close to power supplies.
!Caution The operating environment of the PLC System can have a large effect on the
longevity and reliability of the system. Improper operating environments can lead to malfunction, failure, and other unforeseeable problems with the PLC System. Make sure that the operating environment is within the specified con­ditions 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.
!WARNING Always heed these precautions. Failure to abide by the following precautions
could lead to serious or possibly fatal injury.
• Always connect to 100 or less when installing the Units. Not connecting to a ground of 100 or less may result in electric shock.
• 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 Expansion Units or any other Units
• Connecting or removing the Memory Cassette or Option Board
• Setting DIP switches or rotary switches
• Connecting or wiring the cables
• Connecting or disconnecting the connectors
!Caution Failure to abide by the following precautions could lead to faulty operation of
the PLC or the system, or could damage the PLC or PLC Units. Always heed these precautions.
• Install external breakers and take other safety measures against short-cir­cuiting in external wiring. Insufficient safety measures against short-cir­cuiting may result in burning.
• Mount the Unit only after checking the connectors and terminal blocks completely.
• Be sure that all the terminal screws and cable connector screws are tight­ened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction.
• Wire all connections correctly according to instructions in this manual.
• Always use the power supply voltage specified in the operation manuals. An incorrect voltage may result in malfunction or burning.
• 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.
• Leave the label attached to the Unit when wiring. Removing the label may result in malfunction.
Page 28
xxviii
Application Precautions 5
• Remove the label after the completion of wiring to ensure proper heat dis­sipation. 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.
• Do not apply voltages to the input terminals in excess of the rated input voltage. Excess voltages may result in burning.
• Do not apply voltages or connect loads to the output terminals in excess of the maximum switching capacity. Excess voltage or loads may result in burning.
• Be sure that the terminal blocks, connectors, Option Boards, and other items with locking devices are properly locked into place. Improper locking may result in malfunction.
• Disconnect the functional ground terminal when performing withstand voltage tests. Not disconnecting the functional ground terminal may result in burning.
• Wire correctly and double-check all the wiring or the setting switches before turning ON the power supply. Incorrect wiring may result in burn­ing.
• Check that the DIP switches and data memory (DM) are properly set before starting operation.
• Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected opera­tion.
• Resume operation only after transferring to the new CPU Unit and/or Spe­cial I/O Units the contents of the DM, HR, and CNT Areas required for resuming operation. Not doing so 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.
• 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. Doing so may break the cables.
• 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 the Unit, be sure to first touch a grounded metallic object in order to discharge any static buildup. Not doing so may result in mal­function or damage.
• Do not touch the Expansion I/O Unit Connecting Cable while the power is being supplied in order to prevent malfunction due to static electricity.
• Do not turn OFF the power supply to the Unit while data is being trans­ferred.
• When transporting or storing the product, cover the PCBs and the Units or put there in the antistatic bag with electrically conductive materials to pre­vent LSls and ICs from being damaged by static electricity, and also keep the product within the specified storage temperature range.
Page 29
xxix
Application Precautions 5
• Do not touch the mounted parts or the rear surface of PCBs because PCBs have sharp edges such as electrical leads.
• Double-check the pin numbers when assembling and wiring the connec­tors.
• Wire correctly according to specified procedures.
• Do not connect pin 6 (+5V) on the RS-232C Option Board on the CPU Unit to any external device other than the NT-AL001 or CJ1W-CIF11 Con­version Adapter. The external device and the CPU Unit may be damaged.
• Use the dedicated connecting cables specified in this manual to connect the Units. Using commercially available RS-232C computer cables may cause failures in external devices or the CPU Unit.
• Check that data link tables and parameters are properly set before start­ing operation. Not doing so may result in unexpected operation. Even if the tables and parameters are properly set, confirm that no adverse effects will occur in the system before running or stopping data links.
• Transfer a routing table to the CPU Unit only after confirming that no adverse effects will be caused by restarting CPU Bus Units, which is auto­matically done to make the new tables effective.
• The user program and parameter area data in the CPU Unit 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.
• Do not turn OFF the power supply to the PLC while the Memory Cassette is being accessed. Doing so may corrupt the data in the Memory Cas­sette. The 7-segment LED will light to indicate writing progress while the Memory Cassette is being accessed. Wait for the LED display to go out before turning OFF the power supply to the PLC.
• Before replacing the battery, supply power to the CPU Unit for at least 5 minutes and then complete battery replacement within 5 minutes of turn OFF the power supply. Memory data may be corrupted if this precaution is not observed.
• Always use the following size wire when connecting I/O Units, Special I/O Units, and CPU Bus Units: AWG22 to AWG18 (0.32 to 0.82 mm
2
).
• UL standards required that batteries be replaced only by experienced technicians. Do not allow unqualified persons to replace batteries. Also, always follow the replacement procedure provided in the manual.
• Never short-circuit the positive and negative terminals of a battery or charge, disassemble, heat, or incinerate the battery. Do not subject the battery to strong shocks or deform the barry by applying pressure. 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 sub­jected to shock may leak if they are used.
• Always construct external circuits so that the power to the PLC it turned ON before the power to the control system is turned ON. If the PLC power supply is turned ON after the control power supply, temporary errors may result in control system signals because the output terminals on DC Out­put Units and other Units will momentarily turn ON when power is turned ON to the PLC.
Page 30
xxx
Conformance to EC Directives 6
• 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 cir­cuit failures, which can occur in relays, transistors, and other elements.
• 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.)
• Dispose of the product and batteries according to local ordinances as they apply. Have qualified specialists properly dispose of used batteries as industrial waste.
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 Direc­tives 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 The applicable EMC (Electromagnetic Compatibility) standard is EN61131-2.
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).
Page 31
xxxi
Conformance to EC Directives 6
6-3 Conformance to EC Directives
The CP1H PLCs comply with EC Directives. To ensure that the machine or device in which the CP1H PLC is used complies with EC Directives, the PLC must be installed as follows:
1,2,3... 1. The CP1H PLC must be installed within a control panel.
2. You must use reinforced insulation or double insulation for the DC power supplies used for I/O Units and CPU Units requiring DC power. The output holding time must be 10 ms minimum for the DC power supply connected to the power supply terminals on Units requiring DC power.
3. CP1H PLCs complying with EC Directives also conform to EN61131-2. 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, 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 CP1H PLCs conforms to the Common Emission Standards (EN61131-2) of the EMC Directives. However, noise generated by relay output switching may not satisfy these Standards. In such a case, a noise filter must be con­nected to the load side or other appropriate countermeasures must be pro­vided external to the PLC.
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
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.
Note Refer to EN61131-2 for more details.
Page 32
xxxii
Conformance to EC Directives 6
Countermeasure Examples
When switching an inductive load, connect an surge protector, diodes, etc., in parallel with the load or contact as shown below.
When switching a load with a high inrush current such as an incandescent lamp, suppress the inrush current as shown below.
Circuit Current Characteristic Required element
AC DC
Yes Yes If the load is a relay or solenoid, there is
a time lag between the moment the cir­cuit 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.
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 experi­ments, and take into consideration that the capacitance suppresses spark dis­charge when the contacts are sepa­rated 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.
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.
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 impo-
sition of high voltage between the con­tacts by using the constant voltage characteristic of the varistor. There is time lag between the moment the cir­cuit 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 con­tacts.
---
CR method
Powe r supply
Inductive
load
C
R
Diode method
Power supply
Inductive
load
Varistor method
Powe r supply
Inductive
load
OUT
COM
R
OUT
COM
R
Countermeasure 1
Providing a dark current of approx. one-third of the rated value through an incandescent
Countermeasure 2
Providing a limiting resistor
lamp
Page 33
xxxiii
Conformance to EC Directives 6
6-5 Conditions for Meeting EMC Directives when Using CP-series
Relay Expansion I/O Units
EN61131-2 immunity testing conditions when using the CP1W-40EDR, CPM1A-40EDR, CP1W-32ER, CP1W-16ER or CPM1A-16ER with a CP1W­CN811 I/O Connecting Cable are given below.
Recommended Ferrite Core
Ferrite Core (Data Line Filter): 0443-164151 manufactured by Nisshin Electric
Minimum impedance: 90 at 25 MHz, 160 at 100 MHz
Recommended Connection Method
1,2,3... 1. Cable Connection Method
2. Connection Method As shown below, connect a ferrite core to each end of the CP1W-CN811 I/O Connecting Cable.
30
32 33
SYSMAC CP1H
BATTERY
MEMORY
AC100-240V
PERIPHERAL
POWER ERR/ALM BKUP
100CH 101CH
1CH
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08 10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05 07
IN
OUT
CH
NCNCNC
NC
NC
NC
COM
COM COM COM COM COM COM03 06 01 03 06
00 02 04 06 08 10
00 01 02 04 05 07 00 02 04 05 07
00 02 04 06 08 10
01 03 05 07 09 11 01 03 05 07 09 11
IN
40EDR
OUT
CH CH
CH CH
EXP
CH
CH
CH
111009080706050403020100
111009080706050403020100
0706050403020100
0706050403020100
Page 34
xxxiv
Conformance to EC Directives 6
Page 35
1
SECTION 1
Features and System Configuration
This section introduces the features of the CP1H and describes its configuration. It also describes the Units that are available and connection methods for the CX-Programmer and other peripheral devices.
1-1 Features and Main Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-1 CP1H Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-2 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1-2 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1-2-1 Basic System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1-2-2 System Expansion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1-2-3 System Expansion with CJ-series Units . . . . . . . . . . . . . . . . . . . . . . 21
1-2-4 Restrictions on System Configuration . . . . . . . . . . . . . . . . . . . . . . . 23
1-3 Connecting Programming Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1-3-1 Connecting to a USB Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1-3-2 Connecting to a Serial Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
1-4 Function Charts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
1-5 Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
1-5-1 Overview of Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
1-5-2 Advantages of Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Page 36
2
Features and Main Functions Section 1-1
1-1 Features and Main Functions
1-1-1 CP1H Overview
The SYSMAC CP1H is an advanced high-speed, package-type Programma­ble Controller. While the CP1H employs the same architecture as the CS/CJ Series and provides the same I/O capacity of 40 I/O points as the CPM2A, the CP1H is approximately ten times faster.
There are three types of CP1H CPU Units to select from: a basic CPU Unit (X), a CPU Unit with built-in analog I/O terminals (XA), and a CPU Unit with Dedicated Pulse I/O Terminals (Y).
Basic CPU Units: X The X CPU Units are the standard models in the CP1H Series.
• The CPU Unit has 24 inputs and 16 outputs built in.
• High-speed counters and pulse outputs can be used on four axes with the CPU Unit alone.
• The CP1H can be expanded to a maximum total of 320 I/O points by using CP-series Expansion I/O Units.
• Using CP-series Expansion Units also allows extra functions (such as temperature sensor inputs) to be added.
• Installing an Option Board enables RS-232C and RS-422A/485 communi­cations for Programmable Terminals, Bar Code Readers, Inverters, etc.
• Using CJ-series CPU Bus Units enables communications with higher and lower level devices.
24 built-in inputs (Functions can be assigned.) (See note.)
Normal inputs (24)
Interrupt inputs (8)
Quick-response inputs (8)
High-speed counter (4 axes) 100 kHz (single phase)
16 built-in outputs (Functions can be assigned.) (See note.)
Normal outputs (16)
2 pulse outputs 100 kHz
2 pulse outputs 30 kHz
2 PWM outputs
Unit Ver. 1.0 or Earlier Unit Ver. 1.1 or Later
4 pulse outputs 100 kHz
2 PWM outputs
Page 37
3
Features and Main Functions Section 1-1
Note Settings in the PLC Setup determine whether each input point is to be used
as a normal input, interrupt input, quick-response input, or high-speed counter. The instruction used to control each output point determines whether it is used as a normal output, pulse output, or PWM output.
CPU Units with Built­in Analog I/O Terminals: XA
The XA CPU Unit adds analog I/O functionality to the X CPU Unit capabilities.
• The CPU Unit has 24 inputs and 16 outputs built in.
• High-speed counters and pulse outputs can be used on four axes with the CPU Unit alone.
• The CPU Unit has 4 analog voltage/current inputs and 2 analog voltage/ current outputs built in.
• The CP1H can be expanded to a maximum total of 320 I/O points by using CP-series Expansion I/O Units.
• Using CP-series Expansion Units also allows extra functions (such as temperature sensor inputs) to be added.
• Installing an Option Board enables RS-232C and RS-422A/485 communi­cations for connecting to Programmable Terminals, Bar Code Readers, Inverters, etc.
• Using CJ-series CPU Bus Units enables communications with higher and lower level devices.
Note Settings in the PLC Setup determine whether each input point is to be used
as a normal input, interrupt input, quick-response input, or high-speed counter. The instruction used to control each output point determines whether it is used as a normal output, pulse output, or PWM output.
24 built-in inputs (Functions can be assigned.) (See note.)
Normal inputs (24)
Interrupt inputs (8)
Quick-response inputs (8)
High-speed counter (4 axes) 100 kHz (single phase)
4 analog inputs
2 analog outputs
Normal outputs (16)
2 pulse outputs 100 kHz
2 pulse outputs 30 kHz
2 PWM outputs
Unit Ver. 1.0 and Earlier
Unit Ver. 1.1 and Later
4 pulse outputs 100 kHz
2 PWM outputs
16 built-in outputs (Functions can be assigned.) (See note.)
Page 38
4
Features and Main Functions Section 1-1
CPU Unit with Dedicated Pulse I/O Terminals: Y
In place of the X CPU Units' more numerous built-in I/O points, the Y CPU Unit provides dedicated pulse I/O terminals (1 MHz).
• The CPU Unit has 12 inputs and 8 outputs built in.
• High-speed counters and pulse outputs can be used on four axes with the CPU Unit alone. The CPU Unit provides a high-speed pulse output of up to 1 MHz, and can handle linear servos.
• The CP1H can be expanded to a maximum total of 300 I/O points by using CP-series Expansion I/O Units.
• Using CP-series Expansion Units also allows extra functions (such as temperature sensor inputs) to be added.
• Installing an Option Board enables RS-232C and RS-422A/485 communi­cations for connecting to Programmable Terminals, Bar Code Readers, Inverters, etc.
• Using CJ-series CPU Bus Units enables communications with higher and lower level devices.
Note Settings in the PLC Setup determine whether each input point is to be used
as a normal input, interrupt input, quick-response input, or high-speed counter. The instruction used to control each output point determines whether it is used as a normal output, pulse output, or PWM output.
2 high-speed counters 1 MHz (single phase)
Pulse inputs
Pulse outputs
12 built-in inputs (Functions can be assigned.) (See note.)
Normal inputs (12)
Interrupt inputs (6)
Quick-response inputs (6)
High-speed counter (2 axes) 100 kHz (single phase)
8 built-in outputs (Functions can be assigned.) (See note.)
Normal outputs (8)
2 pulse outputs 100 kHz
2 PWM outputs
2 pulse outputs 1 MHz
Page 39
5
Features and Main Functions Section 1-1
CP1H CPU Unit Models
Note When CP-series Expansion I/O Units are used.
Interpreting CP1H CPU Unit Model Numbers
Model X CPU Units XA CPU Units Y CPU Units
CP1H-X40DR-A
(relay outputs)
CP1H-X40DT-D
(transistor
outputs, sinking)
CP1H-X40DT1-
D (transistor
outputs,
sourcing)
CP1H-XA40DR-
A (relay
outputs)
CP1H-XA40DT-
D (transistor
outputs, sinking)
CP1H-
XA40DT1-D
(transistor
outputs,
sourcing)
CP1H-Y20DT-D
(transistor
outputs, sinking)
(to be released
soon)
Power supply 100 to 240 VAC
50/60 Hz
24 VDC 100 to 240 VAC
50/60 Hz
24 VDC 24 VDC
Program capacity 20K steps Max. number of I/O points
(See note.)
320 300
Normal I/O I/O points 40 20
Input points 24 12 Input specifica-
tions
24 VDC
Interrupt or quick-response inputs
8 max. 6 max.
Output points 16 8 Output specifica-
tions
Relay output Transistor out-
put
Relay output Transistor out-
put
Transistor out­put
High­speed counter inputs
High-speed counter inputs
4 axes, 100 kHz (single phase)/50 kHz (differential phases) 2 axes, 1 MHz
(single phase)/ 50 kHz (differen­tial phases)
Dedicated high­speed counter input terminals
None 2 axes, 1 MHz
(single phase)/ 500 kHz (differ­ential phases)
Pulse out­puts
Built-in I/O termi­nal allocation
Unit version 1.0 and earlier: 2 axes; 100 kHz, 2 axes, 30 kHz Unit version 1.1 and later: 4 axes, 100 kHz
2 axes, 100 kHz
Dedicated pulse output terminals
None 2 axes, 1 MHz
Built-in analog I/O None Analog voltage/current inputs: 4
Analog voltage/current outputs: 2
None
CP1H-@@@@@@-@
Class
X: Basic model XA: Built-in analog I/O terminals Y: Dedicated pulse I/O terminals
Number of built-in normal I/O points 40: 40 20: 20
Input classification
D: DC inputs
Power supply
A: AC D: DC
Output classification
R: Relay outputs T: Transistor outputs (sinking) T1: Transistor outputs (sourcing)
Page 40
6
Features and Main Functions Section 1-1
1-1-2 Features
This section describes the main features of the CP1H.
Basic CP1H Configuration
Faster Processing Speed (All Models)
• Top-class performance has been achieved in a micro PLC, with an instruction processing speed equivalent to the CJ1M.
• Approximately 500 instructions are processed at high speed.
• Program creation and control are simplified by using function blocks (FB) and tasks.
CX-One
CP1H CPU Unit (Example: XA)
Two-digit 7-segment LED display
USB port
Battery (CJ1W-BAT01)
Input terminal block
Peripheral USB port
Analog adjuster
External analog settings input
Built-in analog inputs
Built-in analog outputs (XA models only)
Memory Cassette
CP1W-ME05M
Memory
Cassette
Two Option Board slots
Option Board
One RS-232C port CP1W-CIF01
RS-232C Option Board
One RS-422A/485 port CP1W-CIF11/CIF12
RS-422A/485 Option Board
Output terminal block
USB cable
123
4
ON
CP1W-DAM01 LCD Option Board
CP1W-CIF41 Ethernet Option Board
Page 41
7
Features and Main Functions Section 1-1
Full Complement of High-speed Counter Functions (All Models)
High-speed counter inputs can be enabled by connecting rotary encoders to the built-in inputs. The ample number of high-speed counter inputs makes it possible to control a multi-axis device with a single PLC.
• X and XA CPU Units Four 100-kHz (single phase)/50-kHz (differential phases) high-speed counter inputs are provided as a standard feature. (See note.)
Note Settings in the PLC Setup determine whether each input point is to
be used as a normal input, interrupt input, quick-response input, or high-speed counter.
• Y CPU Units Along with two 100-kHz (single phase)/50-kHz (differential phases) high­speed counter inputs, two 1-MHz (single phase)/500-kHz (differential phases) dedicated high-speed counter terminals are provided.
Note Settings in the PLC Setup determine whether each input point is to
be used as a normal input, interrupt input, quick-response input, or high-speed counter.
24 built-in inputs (Functions can be assigned.)
High-speed counter (4 axes) 100 kHz (single phase)
12 built-in inputs (Functions can be assigned.)
Dedicated pulse inputs
High-speed counter (2 axes) 100 kHz (single phase)
Two high-speed counters 1 MHz (for single phase)
Page 42
8
Features and Main Functions Section 1-1
Full Complement of High­speed Counter Functions (All Models)
High-speed Processing for High-speed Counter Present Value (PV) Target Values or Range Comparison Interrupts
An interrupt task can be started when the count reaches a specified value or falls within a specified range.
High-speed Counter Input Frequency (Speed) Monitoring
The input pulse frequency can be monitored using the PRV instruction (one point only).
High-speed Counter PV Holding/Refreshing
It is possible to toggle between holding and refreshing the high-speed counter PV by turning ON and OFF the High-speed Counter Gate Flag from the ladder program.
Versatile Pulse Control (All Models)
Positioning and speed control by a pulse-input servo driver is enabled by out­putting fixed duty ratio pulse output signals from the CPU Unit's built-in out­puts.
Four axes (X,Y, Z, and θ) can be controlled. A 1-MHz speed pulse rate is also possible for Y CPU Units.
• X and XA CPU Units Pulse outputs for 4 axes at 100 kHz maximum are provided as standard features. (See note.) (Unit version 1.0 or earlier: Pulse outputs for 2 axes at 100 kHz maximum and 2 axes at 30 kHz maximum.)
Note The instruction used to control each output point determines
whether it is used as a normal output, pulse output, or PWM output.
16 built-in inputs (Functions assigned.)
2 pulse outputs 100 kHz
2 pulse outputs 30 kHz
Unit Ver. 1.0 or Earlier
4 pulse outputs 100 kHz
Unit Ver. 1.1 or Later
Page 43
9
Features and Main Functions Section 1-1
• Y CPU Units Along with pulse outputs for two axes at 100 kHz maximum, dedicated pulse output terminals for two axes at 1 MHz are provided as standard features. (See note.) High-speed, high-precision positioning by linear servomotor, direct drive motor, etc., is enabled using 1-MHz pulses.
Note The instruction used to control each output point determines
whether it is used as a normal output, pulse output, or PWM output.
Full Complement of Pulse Output Functions (All Models)
Select CW/CCW Pulse Outputs or Pulse Plus Direction Outputs for the Pulse Outputs
The pulse outputs can be selected to match the pulse input specifications of the motor driver.
Easy Positioning with Absolute Coordinate System Using Automatic Direction Setting
For operations in an absolute coordinate system (i.e., when the origin is established or when the PV is changed by the INI instruction), the CW/CCW direction can be automatically set when PULSE OUTPUT instructions are executed according to whether the specified number of output pulses is more or less than the pulse output PV.
Triangular Control
If the amount of output pulses required for acceleration and deceleration (the target frequency times the time to reach the target frequency) exceeds the preset target number of output pulses during positioning (when the ACC instruction in independent mode or the PLS2 instruction is executed), the acceleration and deceleration will be shortened and triangular control will be executed instead of trapezoidal control. In other words, the trapezoidal pulse output will be eliminated, with no period of constant speed.
Target Position Changes during Positioning (Multiple Start)
While positioning using a PULSE OUTPUT (PLS2) instruction is in progress, the target position, target speed, acceleration rate, and deceleration rate can be changed by executing another PLS2 instruction.
Positioning Changes during Speed Control (Interrupt Feeding)
While speed control in continuous mode is in effect, it is possible to change to positioning in independent mode by executing a PULSE OUTPUT (PLS2) instruction. By this means, interrupt feeding (moving a specified amount) can be executed under specified conditions.
2 pulse outputs 100 kHz
2 pulse outputs 1 MHz
8 built-in I/O points (Functions assigned)
Dedicated pulse outputs
Page 44
10
Features and Main Functions Section 1-1
Target Speed, Acceleration Rate, and Deceleration Rate Changes during Acceleration or Deceleration
When a PULSE OUTPUT instruction with trapezoidal acceleration and decel­eration is executed (for speed control or positioning), the target speed and acceleration and deceleration rates can be changed during acceleration or deceleration.
Lighting and Power Control by Outputting Variable Duty Ratio Pulses
Operations, such as lighting and power control, can be handled by outputting variable duty ratio pulse (PWM) output signals from the CPU Unit's built-in outputs.
Origin Searches (All Models)
Origin Search and Origin Return Operations Using a Single Instruction
An accurate origin search combining all I/O signals (origin proximity input sig­nal, origin input signal, positioning completed signal, error counter reset out­put, etc.) can be executed with a single instruction. It is also possible to move directly to an established origin using an origin return operation.
Input Interrupts (All Models)
In direct mode, an interrupt task can be started when a built-in input turns ON or OFF. In counter mode, the rising or falling edges of built-in inputs can be counted, and an interrupt task started when the count reaches a specified value. The maximum number of points is 8 for X and XA CPU Units and 6 for Y CPU Units. (See note.)
Note For each input point, a selection in the PLC Setup determines whether it is to
be used as a normal input, interrupt input, quick-response input, or high­speed counter. The interrupt input response frequency in counter mode must be 5 kHz or less total for all interrupts.
Quick-response Inputs (All Models)
By using quick-response inputs, built-in inputs up to a minimum input signal width of 30 µ s can be read regardless of the cycle time.
The maximum number of points is 8 for X and XA CPU Units and 6 for Y CPU Units. (See note.)
Note For each input, a PLC Setup parameter determines whether it is to be used as
a normal input, interrupt input, quick-response input, or high-speed counter.
Analog I/O Function (XA CPU Units Only)
XA CPU Units have analog I/O functionality, with 4 analog voltage/current inputs and 2 analog voltage/current outputs built in.
• A wide range of applications is possible at a resolution of 6,000 or 12,000.
• Application is also possible for process-control sensor input or Inverter control without using Expansion I/O Units.
0 to 5 V, 1 to 5 V, 0 to 10 V, 10 to 10 V 0 to 20 mA, 4 to 20 mA
0 to 5 V, 1 to 5 V, 0 to 10 V, 10 to 10 V 0 to 20 mA, 4 to 20 mA
4 analog inputs
2 analog outputs
Inverter, etc.
123
4
ON
Page 45
11
Features and Main Functions Section 1-1
Analog Settings (All Models)
Changing Settings Using Analog Adjustment
By adjusting the analog adjuster with a Phillips screwdriver, the value in the Auxiliary Area can be changed to any value between 0 and 255. This makes it easy to change set values such as timers and counters without Programming Devices.
Changing Settings Using External Analog Setting Inputs
External analog values of 0 to 10 V (resolution: 256) are converted to digital values and stored in a word in the AR Area. This enables applications that require on-site adjustment of settings that do not demand a particularly high degree of accuracy, such as for example, a setting based on changes in out­door temperatures or potentiometer inputs.
CNTX
A642
Phillips screwdriver
Analog adjuster
Ladder program
Example: The production quantity could be changed by
changing the counter set value from 100 to 150.
Turning the control on the CP1H changes the PV in A642 between 0000 and 0255 (00 and FF hex). (During the adjustment, the value in A642 is displayed from 00 to FF on the 7-segment display.)
TIMX
A643
0 to 10 V
External analog setting input connector
Potentiometer, temperature sensor, etc.
Ladder program
Example: The production quantity could be changed by
changing the timer set value from 100 to 150.
When a voltage (0 to 10 V) is input from a device such as a potentiometer to the external analog setting input, the PV in A643 is refreshed between 0000 and 0100 hex (0 to 256).
Page 46
12
Features and Main Functions Section 1-1
Connectability with Various Components (All Models)
USB Port for Programming Devices
CX-One Support Software, such as the CX-Programmer, connects from the USB port on a computer to the CP1H built-in peripheral USB port via commer­cially available USB cable.
Expansion Capability for Two Serial Ports (All Models)
A maximum of two Serial Communications Boards each with one RS-232C port or one RS-422A/485 port can be added. With a total of up to three ports, including the USB port, this makes it possible to simultaneously connect a computer, PT, CP1H, and/or various components, such as an Inverter, Tem­perature Controller, or Smart Sensor.
POWER ERR/ALM BKUP
100CH 101CH
1CH
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
Personal computer CX-One (ver. 1.1 or higher) (e.g., CX-Programmer ver. 6.1 or higher)
USB port
USB cable
Peripheral USB port
RS-232C
RS-422A
CP1H
NS-series PT, personal computer, bar code reader, etc.
CP1W-CIF01 RS-232C Option Board
CP1W-CIF11/CIF12 RS-422A/485 Option Board
Inverter, etc. (See note 1.)
CP1H (or CJ1M) (See note 2.)
123
4
ON
Page 47
13
Features and Main Functions Section 1-1
Note (1) The Modbus-RTU easy master (available for all models) makes it easy to
control Modbus Slaves (such as Inverters) with serial communications. After the Modbus Slave address, function, and data have been preset in a fixed memory area (DM), messages can be sent or received indepen­dently of the program by turning software switches.
(2) By using the serial PLC Links (available for all models), a maximum of 10
words of data per CPU Unit can be shared independently of the program among a maximum of nine CPU Units (CP1H-CP1H-CJ1M) using RS­422A/485 Option Boards.
7-segment LED Display (All Models)
A two-digit 7-segment LED display makes it easy to monitor PLC status. This improves the human-machine interface for maintenance, making it easier
to detect troubles that may occur during machine operation.
• Displays error codes and details for errors detected by the CPU Unit.
Modbus-RTU
Communications can be executed independently of the program by setting a Modbus-RTU command in the DM and turning ON a software switch.
Inverte
r
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
100CH 101CH
1CH
COMM
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
100CH 101CH
1CH
COMM
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
RUN INH PRPHL
100CH 101CH
COMM COMM
EXP
L1 L2/N COM
0CH 1CH
01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
RS-422A/485
CP1H CPU Unit (Master)
Data sharing
CP1H CPU Unit (Slave)
CP1H CPU Unit (Slave)
CJ1M CPU Unit (Slave)
8 CPU Units max.
2-digit 7-segment LED display
Page 48
14
Features and Main Functions Section 1-1
• Displays the progress of transfers between the CPU Unit and Memory Cassette.
• Displays changes in values when using the analog control.
• Displays user-defined codes from special display instructions in the lad­der program.
No-battery Operation (All Models)
Programs, the PLC Setup, and other data can be automatically saved to the CPU Unit's built-in flash memory. Moreover, DM Area data can be saved to the flash memory and then used as initial data when the power is turned ON.
This allows programs and initial values (such as recipe setup data) in the DM Area to be saved in the CPU Unit without the need to maintain a backup bat­tery.
Memory Cassettes (All Models)
Built-in flash memory data, such as programs and DM initial-value data, can be stored on a Memory Cassette (optional) as backup data. In addition, pro­grams and initial-value data can be easily copied to another CPU Unit using the Memory Cassette to recreate the same system.
Security (All Models) A password registration function is provided for the CPU Unit to prevent unau-
thorized copy of ladder programs. If an attempt is made to read a ladder pro­gram from a CX-Programmer, access to the program is denied if the password that is entered does not match the registered password. If incorrect pass­words are entered for five consecutive attempts, the CPU Unit does not accept any more passwords for two hours.
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
RUN INH PRPHL
100CH 101CH
EXP
L1 L2/N COM
0CH 1CH
01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
CP1H CPU Unit
Built-in flash memory
Data saving capability without a battery
Pro
g
rams, DM initial values, etc.
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
RUN INH PRPHL
100CH 101CH
EXP
L1 L2/N COM
0CH 1CH
01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
MEMORY
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
RUN INH PRPHL
100CH 101CH
EXP
L1 L2/N COM
0CH 1CH
01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
CP1H CPU Unit Another CP1H CPU Unit
Built-in flash memory
Memory Cassette
Can be automatically transferred at startup.
Programs, DM initial values, etc.
Page 49
15
System Configuration Section 1-2
Expansion Capability for CJ-series Special I/O Units and CPU Bus Units (All Models)
A maximum of two CJ-series Special I/O Units or CPU Bus Units can be con­nected via a CJ Unit Adapter. It is also possible to connect to upper level and lower level networks, and to expand the system by using analog I/O.
1-2 System Configuration
1-2-1 Basic System
Maximum Number of Normal I/O Points
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
100CH 101CH
1CH
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
CP1W-EXT01 CJ Unit Adapter
CJ1W-TER01 CJ-series End Cover (Included with CJ Unit Adapter.)
DIN Track
Can be expanded by connecting two CJ-series CPU Bus Units and/or Special I/O Units.
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
RUN INH PRPHL
100CH 101CH
EXP
L1 L2/N COM
0CH 1CH
01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
Type Description Power supply
voltage
Model Normal built-in
inputs
Normal built-in
outputs
Weight
X Basic CPU Units 100 to 240 VAC CP1H-X40DR-A 24 DC inputs 16 relay outputs 740 g max.
24 VDC CP1H-X40DT-D 16 transistor (sink-
ing) outputs
590 g max.
CP1H-X40DT1-D 16 transistor (sourc-
ing) outputs
590 g max.
XA CPU Units with
built-in analog I/O terminals
100 to 240 VAC CP1H-XA40DR-A 16 relay outputs 740 g max. 24 VDC CP1H-XA40DT-D 16 transistor (sink-
ing) outputs
590 g max.
CP1H-XA40DT1-D 16 transistor (sourc-
ing) outputs
590 g max.
Y CPU Unit with ded-
icated pulse I/O terminals
24 VDC CP1H-Y20DT-D 12 DC inputs 8 transistor (sinking)
outputs
560 g max.
Page 50
16
System Configuration Section 1-2
Optional Products
Serial Communications Expansion
When serial communications are required for a CP1H CPU Unit, an RS-232C or RS-422A/485 Option Board can be added.
This enables connection by serial communications to NS-series PTs, Bar Code Readers, components such as Inverters, and computers without USB ports (such as when using the CX-Programmer).
Option Boards for Serial Communications
Item Model Specifications Weight
Memory Cassette
CP1W-ME05M Can be used to store user programs in
flash memory, parameters, DM initial values, comment memory, FB pro­grams, and data in RAM.
10 g max.
LCD Option Board
CP1W-DAM01 Can be used to monitor and change
user-specified messages, time or other data of the PLC.
20 g max.
Ethernet Option Board
CP1W-CIF41 Can be used to communicate with these
units supported OMRON FINS/TCP, FINS/UDP protocol.
20 g max.
NS-series PT, personal computer, bar code reader, etc.
RS-232C (Expansion)
CP1W-CIF01 RS-232C Option Board
CP1W-CIF11/CIF12 RS-422A/485C Option Board
RS-422A (Expansion)
Inverter, etc.
Appearance Name Model Port Serial communications modes
RS-232C Option Board
CP1W-CIF01 One RS-232C port
(D-Sub, 9 pins, female)
Host Link, NT Link (1: N mode), No-protocol, Serial PLC Link Slave, Serial PLC Link Master, Serial Gateway (conversion to CompoWay/F, conversion to Mod­bus-RTU), peripheral bus
RS-422A/485 Option Board
CP1W-CIF11/CIF12 One RS-422A/485
port (terminal block for ferrules)
COMM
COMM
Page 51
17
System Configuration Section 1-2
Unit Consumption Currents
Note (1) The current consumption of the following is included with the current con-
sumption of the CPU Unit: CP1W-ME05M Memory Cassette, CP1W-CIF­1 or CP1W-CIF11 Option Board, and CP1W-EXT01 CJ Unit Adapter.
(2) The current consumption of the following is not included with the current
consumption of the CPU Unit: CP1W-CIF12.
(3) CPU Units taking a DC power supply do not provide an external power
supply.
1-2-2 System Expansion
A maximum of seven CP-series Expansion Units or Expansion I/O Units can be connected to a CP1H CPU Unit.
This allows for the expansion of various functions such as I/O points or tem­perature sensor inputs.
When CP1W-CN811 I/O Connecting Cable is used, the cable length can be extended by up to 80 cm, enabling installing the Units in two rows.
Up to seven Units can be added, and the maximum number of I/O points per Unit is 40, so the maximum total number of expansion I/O points is 280.
Unit Model Current consumption External power supply
5 V DC 24 V DC
CPU Unit CP1H-XA40DR-A 0.430 A 0.180 A 0.3 A max.
CP1H-XA40DT-D 0.510 A 0.120 A --­CP1H-XA40DT1-D 0.510 A 0.150 A --­CP1H-X40DR-A 0.420 A 0.070 A 0.3 A max. CP1H-X40DT-D 0.500 A 0.010 A --­CP1H-X40DT1-D 0.500 A 0.020 A --­CP1H-Y20DT-D 0.55 A --- ---
Unit Model Current consumption External power supply
5 V DC 24 V DC
Interface Unit CP1W-CIF12 0.075 A --- ---
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
100CH 101CH
1CH
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
CP1H CPU Unit
A maximum of 7 CP-series Expansion I/O Units or Expansion Units can be added.
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
100CH 101CH
1CH
EXP
L1 L2/NCOM010305070911010305070911
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
CP1H CPU Unit
DIN Track
CP1W-CN811 I/O Connecting Cable
Page 52
18
System Configuration Section 1-2
Maximum Normal I/O Points
CP-series Expansion I/O Units
Typ e Pow er
supply
voltage
Model Built-in
normal
inputs
Built-in normal
outputs
Max. number of Expansion
I/O Units
Max. number of expansion
points
Max. total I/O points
X (Basic CPU Units)
100 to 240 VAC
CP1H-X40DR-A 24 DC
inputs
16 relay outputs 7 280
(7 Units × 40 points)
320
24 VDC CP1H-X40DT-D 16 transistor out-
puts (sinking)
CP1H-X40DT1-D 16 transistor out-
puts (sourcing)
XA (CPU Units with built-in analog I/O terminals)
100 to 240 VAC
CP1H-XA40DR-A 16 relay outputs
24 VDC CP1H-XA40DT-D 16 transistor out-
puts (sinking)
CP1H-XA40DT1-D 16 transistor out-
puts (sourcing)
Y (CPU Unit with dedicated pulse I/O terminals)
24 VDC CP1H-Y20DT-D 12 DC
inputs
8 transistor out­puts (sinking)
300
Appearance Model Normal
inputs
Normal outputs Weight
CP1W-40EDR CPM1A-40EDR
24 VDC: 24 inputs
16 relay outputs 380 g max.
CP1W-40EDT CPM1A-40EDT
16 transistor outputs (sinking)
320 g max.
CP1W-40EDT1 CPM1A-40EDT1
16 transistor outputs (sourcing)
CP1W-32ER None 32 relay outputs 465 g max. CP1W-32ET
32 transistor outputs (sinking)
325 g max.
CP1W-32ET1
32 transistor outputs (sourcing)
CP1W-20EDR1 CPM1A-20EDR1
24 VDC: 12 inputs
8 relay outputs 300 g max.
CP1W-20EDT CPM1A-20EDT
8 transistor outputs (sinking)
CP1W-20EDT1 CPM1A-20EDT1
8 transistor outputs (sourcing)
CP1W-16ER CPM1A-16ER
None 16 relay outputs 280 g max.
CP1W-16ET
16 transistor outputs (sinking)
225 g max.
CP1W-16ET1
16 transistor outputs (sourcing)
CP1W-8ED CPM1A-8ED
24 VDC: 8 inputs
None 200 g max.
CP1W-8ER CPM1A-8ER
None 8 relay outputs 250 g max.
CP1W-8ET CPM1A-8ET
8 transistor outputs (sinking)
CP1W-8ET1 CPM1A-8ET1
8 transistor outputs (sinking)
IN
CH
CH
OUT
00 01 02 03
08 09 10 11
04 05 06 07
00 01 02 03 04 05 06 07
CH
CH
EXP
COM 01 03 05 07 09 11
NC 00 02 04 06 08 10
NC 00 01 02 04 05 07
NC COM COM COM 03 COM 06
IN
00 02
01COM 03
COM 05 07
04 06
CH
00 01 02 03
08 09 10 11
EXP
Page 53
19
System Configuration Section 1-2
CP-series Expansion Units
Name and
appearance
Model Specifications Weight
Analog I/O Units CPM1A-MAD01 2 analog
inputs
0 to 10 V/1 to 5 V/4 to 20 mA
Resolu­tion: 256
150 g max.
1 analog output
0 to 10 V/10 to +10 V/4 to 20 mA
CP1W-MAD11 CPM1A-MAD11
2 analog inputs
0 to 5 V/1 to 5 V/0 to 10 V/10 to +10 V/0 to 20 mA/4 to 20 mA
Resolu­tion: 6,000
1 analog output
1 to 5/0 to 10 V/−10 to +10 V/0 to 20 mA/ 4 to 20 mA
Analog Input Units
CP1W-AD041 CPM1A-AD041
4 analog inputs
0 to 5 V/1 to 5 V/0 to 10 V/10 to +10 V/ 0 to 20 mA/ 4 to 20 mA
Resolu­tion: 6,000
200 g max.
Analog Output Units
CP1W-DA041 CPM1A-DA041
4 analog outputs
1 to 5 V/0 to 10 V/
10 to +10 V/ 0 to 20 mA/ 4 to 20 mA
Temperature Sensor Units
CP1W-TS001 CPM1A-TS001
2 inputs Thermocouple input
K, J
250 g max.
CP1W-TS002 CPM1A-TS002
4 inputs
CP1W-TS101 CPM1A-TS101
2 inputs Platinum resistance thermometer
input Pt100, JPt100
CP1W-TS102 CPM1A-TS102
4 inputs
DeviceNet I/O Link Unit
CPM1A-DRT21 As a DeviceNet Slave, 32 inputs and 32 out-
puts are allocated.
200 g max.
CompoBus/S I/O Link Unit
CP1W-SRT21 CPM1A-SRT21
As a CompoBus/S slave, 8 inputs and 8 out­puts are allocated.
200 g max.
IN
OUT
V OUT COM I IN1 V IN2 COM2
I OUT V IN1 COM1 I IN2
MAD01
CH
CH
EXP
NC
NC
CH
I IN1 I IN3
I IN2
VIN1
VIN2
VIN3COM1
COM2
I IN4
VIN4
COM4NCAG
COM3
IN
CH
I OUT1 I OUT3
I OUT2
VOUT1
VOUT2
VOUT3
COM1
COM2
I OUT4
VOUT4
COM4NCAG
COM3
OUT
BD L NC(BS-) NC
BD H NC(BS+)
S
COMM
ERR
No.
SRT21
EXP
Page 54
20
System Configuration Section 1-2
Number of Allocated Words and Current Consumption for Expansion Units and Expansion I/O Units
Note CP1W-32ER/32ET/32ET1’s maximum number of simultaneously ON points is
24 (75%).
Unit name Model I/O words Current
Input Output 5 VDC 24 VDC
Expansion I/O Units 40 I/O points
24 inputs 16 outputs
CP1W-40EDR CPM1A-40EDR
2 2 0.080 A 0.090 A
CP1W-40EDT CPM1A-40EDT
0.160 A ---
CP1W-40EDT1 CPM1A-40EDT1
32 outputs CP1W-32ER None 2 0.049 A 0.131 A
CP1W-32ET 0.113 A --­CP1W-32ET1
20 I/O points 12 inputs 8 outputs
CP1W-20EDR1 CPM1A-20EDR1
1 1 0.103 A 0.044 A
CP1W-20EDT CPM1A-20EDT
0.130 A ---
CP1W-20EDT1 CPM1A-20EDT1
16 outputs CP1W-16ER
CPM1A-16ER
None 2 0.042 A 0.090 A
CP1W-16ET 0.076 A --­CP1W-16ET1
8 inputs CP1W-8ED
CPM1A-8ED
1 None 0.018 A ---
8 outputs CP1W-8ER
CPM1A-8ER
None 1 0.026 A 0.044 A
CP1W-8ET CPM1A-8ET
0.075 A ---
CP1W-8ET1 CPM1A-8ET1
Expansion Units
Analog I/O Units A/D: 2 points
D/A: 1 point
CPM1A-MAD01 2 1 0.066 A 0.066 A CP1W-MAD11
CPM1A-MAD11
0.083 A 0.110 A
A/D: 4 points CP1W-AD041
CPM1A-AD041
4 None 0.100A 0.090A
D/A: 4 point CP1W-DA041
CPM1A-DA041
None 4 0.080A 0.124A
Temperature Sensor Units
Thermocouple inputs K/J
CP1W-TS001 CPM1A-TS001
2 None 0.040 A 0.059 A
CP1W-TS002 CPM1A-TS002
4
Platinum resis­tance inputs Pt/JPt
CP1W-TS101 CPM1A-TS101
2 0.054 A 0.073 A
CP1W-TS102 CPM1A-TS102
4
CompoBus/S I/O Link Unit
8 inputs 8 outputs
CP1W-SRT21 CPM1A-SRT21
110.029 A---
DeviceNet I/O Link Unit
32 inputs 32 outputs
CPM1A-DRT21 2 2 0.048 A ---
Page 55
21
System Configuration Section 1-2
1-2-3 System Expansion with CJ-series Units
A maximum of two CJ-series Special I/O Units or CPU Bus Units can be con­nected. In order to connect them, a CP1W-EXT01 CJ Unit Adapter and a CJ1W-TER01 End Cover are required. These Units make it possible to add serial communication functions, such as network communications or protocol macros.
Required Units
Main Connectable CJ­series Units
The main CPU Bus Units and Special I/O Units that can be connected are listed in the following table.
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
100CH 101CH
1CH
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
DIN Track
PFP-M End Plates
CP1W-EXT01 CJ Unit Adapter
CJ-series CPU Bus Units Special I/O Units
CJ-series CJ1W-TER01 End Cover (Included with CJ Unit Adapter.)
Name Model Description Weight
CJ Unit Adapter CP1W-EXT01 Mounting a CJ Unit Adapter to the right of the
CP1H CPU Unit makes it possible to connect up to two CJ-series Special I/O Units or CPU Bus Units.
Note The CJ Unit Adapter comes packaged
with one CJ1W-TER01 End Cover.
40 g max.
Classification Unit name Model Current
consumption
(5 VDC)
Weight
CPU Bus Units
Ethernet Units CJ1W-ETN11/21 0.38 A 100 g max. Controller Link Unit CJ1W-CLK21-V1 0.35 A 110 g max. Serial Communica-
tions Units
CJ1W-SCU21-V1 0.28 A 110 g max. CJ1W-SCU41-V1 0.38 A
DeviceNet Unit CJ1W-DRM21 0.29 A 118 g max.
Page 56
22
System Configuration Section 1-2
Simultaneously Connecting Expansion I/O Units and CJ-series Units
When Expansion Units or Expansion I/O Units are connected simultaneously with CJ-series Special I/O Units or CPU Bus Units, they cannot be connected in a straight line with the CP1H CPU Unit.
As shown in the diagram below, use a DIN Track to mount the CP1H CPU Unit and CJ-series Units, and use CP1W-CN811 I/O Connecting Cable to connect the Expansion Units or Expansion I/O Units.
Note Only one I/O Connecting Cable can be used per System.
Special I/O Units
CompoBus/S Mas­ter Unit
CJ1W-SRM21 0.15 A 66 g max.
Analog Input Units CJ1W-AD081/081-V1/041-V1 0.42 A 140 g max. Analog Output Units CJ1W-DA041/021 0.12 A 150 g max.
CJ1W-DA08V 0.14 A Analog I/O Unit CJ1W-MAD42 0.58 A 150 g max. Process Input Units CJ1W-PTS51/52 0.25 A 150 g max.
CJ1W-PTS15/16 0.18 A
CJ1W-PDC15 0.18 A Temperature Con-
trol Units
CJ1W-TC@@@ 0.25 A 150 g max.
Position Control Units
CJ1W-NC113/133/213/233 0.25 A 150 g max.
CJ1W-NC413/433 0.36 A High-speed Counter
Unit
CJ1W-CT021 0.28 A 100 g max.
ID Sensor Units CJ1W-V600C11 0.26 A (0.12 A
at 24 VDC)
100 g max.
CJ1W-V600C12 0.32 A (0.24 A
at 24 VDC)
130 g max.
Classification Unit name Model Current
consumption
(5 VDC)
Weight
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
100CH 101CH
1CH
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
CP1H
CJ Unit Adapter
CJ-series Units
CP1W-CN811 I/O Connecting Cable (0.8 m)
Page 57
23
System Configuration Section 1-2
1-2-4 Restrictions on System Configuration
The following restrictions apply to the CP-series Expansion Units, CP-series Expansion I/O Units, and CJ-series Units that can be connected to CP1H CPU Units.
Number of Expansion Units and Expansion I/O Units Connected
A maximum of seven Units can be connected. If eight or more Units are con­nected, an I/O UNIT OVER error will occur and the PLC will not operate.
Number of Words Allocated
The total number of either input or output words allocated to Expansion Units and Expansion I/O Units must be no more than 15. Even if no more than seven Units are connected, an I/O UNIT OVER error will be generated if 16 or more input or output words are allocated.
Current Consumption
The total combined current consumption of the CP1H CPU Unit, Expansion Units, Expansion I/O Units, and CJ-series Units must be no more than 2 A for 5 V and 1 A for 24 V and the total power consumption must be no more than 30 W. For CPU Units with AC power supply, the current consumption from external 24-VDC power supply output must be included.
Number of CJ-series Units Connected
No more than two CJ-series Special I/O Units or CPU Bus Units can be con­nected to the CP1H via a CJ Unit Adapter. No CJ-series Basic I/O Units can be connected.
Example: Calculating the Limit on the Number of Connected Units
In this example, because each CPM1A-TS002 Temperature Sensor Unit is allocated four input words, no more than three of these Units can be con­nected. (Three Units × four words = 12 words.) After these have been con­nected, there remain unallocated three input words and 15 output words. The following table provides an example of Units that can be mounted in combina­tion without exceeding these limits.
Combination Example
Restrictions on the number of simultaneously ON output points
CP1W-32ER/32ET/32ET1’s maximum number of simultaneously ON points is 24 (75%).
Number of Units CP1H-X40DR-A TS002 × 3 + TS001 × 1 + 20EDT × 1+ 8ER × 2 Total: 7 Units 7 Units
Input words --- 4 words × 3 Units
= 12 words
2 words × 1 Unit = 2 words
1 word × 1 Unit = 1 word
0 words Total: 15 words 15 words
Output words --- 0 words 0 words 1 word × 1 Unit
= 1 word
1 word × 2 Units = 2 words
To t al : 3 w o rd s 15 words
Current consump­tion
5 V 0.420 A 0.040 A × 3
= 0.120 A
0.040 A × 1 = 0.040 A
0.130 A × 1 = 0.130 A
0.026 A × 2 = 0.0520 A
Total: 0.762 A 2 A
24 V 0.070 A 0.059 A × 3
= 0.177 A
0.059 A × 1 = 0.059 A
0 A 0.044 A × 2
= 0.088 A
Total: 0.394 A 1 A
Power con­sumption
5 V × 0.762 A = 3.81 W 24 V × 0.394 A = 9.46 W
Total: 13.27 W 30 W
Page 58
24
System Configuration Section 1-2
Restrictions for the Ambient Temperature
Restrictions in the System Configuration
Configure the system within the restrictions for the output load current, simul­taneously ON inputs, and total power consumption.
Power Supply Voltage Specifications for CPU Units with DC Power and Transistor Outputs
When connecting CP-series Expansion I/O Units with Relay Outputs to CPU Units with DC Power and Transistor Outputs (CP1H-X40DT(1)-D, CP1H­XA40DT(1)-D, and CP1H-Y40DT(1)-D), use a power supply voltage of 24 VDC ±10% if connecting more than three Expansion I/O Units or if the ambient temperature is greater than 45°C.
Mounting Restriction
When connecting CP-series Expansion Units or Expansion I/O Units, provide a space of approximately 10 mm between the CPU Unit and the first Expan­sion Unit or Expansion I/O Unit.
If sufficient space cannot be provided between the CPU Unit and the first Expansion Unit or Expansion I/O Unit, reduce the temperatures in the above derating curves for the output load current, number of simultaneously ON inputs, and total power consumption by 5°C.
Model Output load current Simultaneously ON inputs Total power
consumption
CP1H-X40DT-D CP1H-X40DT1-D CP1H-XA40DT-D CP1H-XA40DT1-D CP1H-Y20DT-D
CP1H-X40DR-A CP1H-XA40DR-A
100%
67%
50 55
Ambient temperature (°C)
100%
Input voltage:
26.4 V
55
Ambient temperature (°C)
100%
55
Ambient temperature (°C)
100%
75%
47
55
Ambient temperature (°C)
100%
67%
47
55
Ambient temperature (°C)
Input voltage: 24 V
Input voltage:
26.4 V
100%
75%
47 55
Ambient temperature (°C
)
10 mm
CP1H CPU Unit
Expansion I/O Units or Expansion Units
SYSMAC CP1H
BATTERY
MEMORY
AC100-240V
PERIPHERAL
POWER ERR/ALM BKUP
100CH 101CH
DC24V0.3A OUTPUT
1CH
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
CH
NCNCNC
NC
NC
NC
COM
COM COM COM COM COM COM03 06 01 03 06
00 02 04 06 08 10
00 01 02 04 05 07 00 02 04 05 07
00 02 04 06 08 10
01 03 05 07 09 11 01 03 05 07 09 11
IN
40EDR
OUT
CH CH
CH CH
EXP
CH
CH
CH
111009080706050403020100
111009080706050403020100
0706050403020100
0706050403020100
CH
NCNCNC
NC
NC
NC
COM
COM COM COM COM COM COM03 06 01 03 06
00 02 04 06 08 10
00 01 02 04 05 07 00 02 04 05 07
00 02 04 06 08 10
01 03 05 07 09 11 01 03 05 07 09 11
IN
40EDR
OUT
CH CH
CH CH
EXP
CH
CH
CH
111009080706050403020100
111009080706050403020100
0706050403020100
0706050403020100
CH
NCNCNC
NC
NC
NC
COM
COM COM COM COM COM COM03 06 01 03 06
00 02 04 06 08 10
00 01 02 04 05 07 00 02 04 05 07
00 02 04 06 08 10
01 03 05 07 09 11 01 03 05 07 09 11
IN
40EDR
OUT
CH CH
CH CH
EXP
CH
CH
CH
111009080706050403020100
111009080706050403020100
0706050403020100
0706050403020100
Page 59
25
Connecting Programming Devices Section 1-3
1-3 Connecting Programming Devices
“Programming Device” is a general term for a computer running programming and debugging software used with OMRON Programmable Controllers.
The CX-Programmer (Ver. 6.1 and later), which runs on Windows, can be used with CP-series Programmable Controllers. (See note.)
Note A Programming Console cannot be used with CP-series Program-
mable Controllers.
Devices can be connected to the USB port or to a serial port.
1-3-1 Connecting to a USB Port
Connect the computer running the CX-One Support Software (e.g., the CX­Programmer) using commercially available USB cable to a standard periph­eral USB port.
The peripheral USB port (conforming to USB 1.1, B connector) is a dedicated port for connecting Support Software, such as the CX-Programmer.
Items Required for USB Connection
POWER ERR/ALM BKUP
100CH 101CH
1CH
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
Personal computer CX-One (CX-Programmer, etc.)
USB port
USB cable
Peripheral USB port
Operating system Windows 98, Me, 2000, or XP Support Software CX-Programmer Ver. 6.1 (CX-One Ver. 1.1) USB driver Included with above Support Software. USB cable USB 1.1(or 2.0) cable (A connector-B connector), 5 m max.
Page 60
26
Connecting Programming Devices Section 1-3
USB Connection Procedure
The procedure for first connecting a computer to the CP1H peripheral USB port is described below.
It is assumed that the Support Software has already been installed in the computer.
Installing the USB Driver The installation procedure depends on the OS of the computer. The following
procedures are for Windows XP and Windows 2000.
Windows XP
Turn ON the power supply to the CP1H, and connect USB cable between the USB port of the computer and the peripheral USB port of the CP1H.
After the cable has been connected, the computer will automatically recognize the device and the following message will be displayed.
1,2,3... 1. If the following window appears, select the No, not this time Option and
then click the Next Button. This window is not always displayed.
Page 61
27
Connecting Programming Devices Section 1-3
2. The following window will be displayed. Select the Install from a list of spe­cific location Option and then click the Next Button.
3. The following window will be displayed. Click the Browse Button for the In­clude this location in the search Field, specify C:\Program Files\
OMRON\CX-Server\USB\win2000_XP\Inf, and then click the Next Button. The driver will be installed. (“C:\” indicates the installation drive and may be different on your computer.)
Page 62
28
Connecting Programming Devices Section 1-3
4. Ignore the following window if it is displayed and click the Continue Any­way Button.
5. The following window will be displayed if the installation is completed nor­mally. Click the Finish Button.
Windows 2000
Turn ON the power supply to the CP1H, and connect USB cable between the USB port of the computer and the peripheral USB port of the CP1H.
After the cable has been connected, the computer will automatically recognize the device and the following message will be displayed.
Page 63
29
Connecting Programming Devices Section 1-3
1,2,3... 1. The following message will be displayed. Click the Next Button.
2. The following window will be displayed.
Page 64
30
Connecting Programming Devices Section 1-3
3. Select the Search for a suitable driver for the device (recommended) Op- tion and then click the Next Button. The following window will be displayed. From the list in the window, select the Specify location Checkbox and then click the Next Button.
4. Click the Browse Button, specify C:\Program Files\OMRON\CX-Serv­er\USB\win2000_XP\Inf, and then click the Next Button. (“C:\” indicates the installation drive and may be different on your computer.)
Page 65
31
Connecting Programming Devices Section 1-3
5. A search will be made for the driver and the following window will be dis­played. Click the Next Button. The driver will be installed.
6. After the driver has been successfully installed, the following window will be displayed. Click the Finish Button.
Page 66
32
Connecting Programming Devices Section 1-3
Connection Setup Using the CX-Programmer
1,2,3... 1. Select CP1H as the device type in the Change PLC Dialog Box and con-
firm that USB is displayed in the Network Type Field.
2. Click the OK Button to finish setting the PLC model. Then connect to the CP1H by executing the CX-Programmer's online connection command.
Page 67
33
Connecting Programming Devices Section 1-3
Checking after Installation
1,2,3... 1. Display the Device Manager at the computer.
2. Click USB (Universal Serial Bus) Controller, and confirm that OMRON SYSMAC PLC Device is displayed.
Re-installing the USB Driver
If the USB driver installation fails for some reason or is cancelled in progress, the USB driver must be reinstalled.
Checking USB Driver Status
1,2,3... 1. Display the Device Manager on the computer.
2. If USB Device is displayed for Other devices, it means that the USB driver installation has failed.
Page 68
34
Connecting Programming Devices Section 1-3
Reinstalling the USB Driver
1,2,3... 1. Right-click USB Device and select Delete from the pop-up menu to delete
the driver.
2. Reconnect the USB cable. The USB Driver Installation Window will be dis­played.
3. Reinstall the USB driver.
Restrictions when Connecting by USB
In conformity with USB specifications, the following restrictions apply when connecting a computer running Support Software.
• A USB connection is possible for only one CP1H from a single computer. It is not possible to connect multiple CP1Hs simultaneously.
• Do not disconnect the USB cable while the Support Software is con­nected online. Before disconnecting the USB cable, be sure to place the application in offline status. If the USB cable is disconnected while online, the situations described below will occur as a result of OS error.
• Windows Me, 2000, or XP: The Support Software cannot be returned to online status by simply re­connecting the USB cable. First return the Support Software to offline status, and then reconnect the USB cable. Then perform the online connection procedure for the Support Software.
• Windows 98: If the USB cable is disconnected while online, an error message may be displayed on a blue screen. If that occurs, it will be necessary to re­boot the computer.
1-3-2 Connecting to a Serial Port
Mounting a CP1W-CIF01 RS-232C Option Board in a CP1H Option Board slot makes it possible to connect Support Software with serial communica­tions, just as with previous models.
Connect the CX-Programmer to the RS-232C port of the CP1W-CIF01 Option Board by XW2Z-200S-CV/500S-CV RS-232C cable.
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
RUN INH PRPHL
100CH 101CH
COMM COMM
EXP
L1 L2/N COM
0CH 1CH
01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
Personal computer CX-One (e.g., CX-Programmer)
D-Sub connector (9-pin, female)
D-Sub connector (9-pin, male)
Recommended cable XW2Z-200S-CV (2 m) or XW2Z-500S-CV (5 m)
CP1W-CIF01 RS-232C Option Board
Page 69
35
Connecting Programming Devices Section 1-3
Connection Method Connect the Programming Device using the Connecting Cable that is appro-
priate for the serial communications mode of the computer and CPU Unit.
Serial Communications Mode
Note When a Serial Communications Option Board is mounted in Option Board
Slot 1, it is called “Serial Port 1.” When mounted in Option Board Slot 2, it is called “Serial Port 2.”
Computer Connecting Cable CP1H CPU Unit
Model Connector Model Length Connector Serial
communications
mode
IBM PC/AT or compatible
D-Sub 9 pin, male
XW2Z-200S-CV 2 m D-Sub 9 pin, female
(With a CP1W-CIF01 RS­232C Option Board mounted in Option Board Slot 1 or 2.)
Peripheral bus or Host Link (SYSWAY)
XW2Z-500S-CV 5 m
Serial
communications
mode
Features CPU Unit setting method
Peripheral bus (toolbus)
This is the faster mode, so it is generally used for CX-Pro­grammer connections.
• Only 1: 1 connections are possible.
• When a CP1H CPU Unit is used, the baud rate is auto­matically detected by the Sup­port Software.
Turn ON pins SW4 (Serial Port
1) and SW5 (Serial Port 2) on the DIP switch on the front panel of the CPU Unit. These settings enable connection by peripheral bus regardless of the serial port settings in the PLC Setup.
Host Link (SYSWAY)
A standard protocol for host computers with either 1: 1 or 1: N connections.
• Slower than the peripheral bus mode.
• Allows modem or optical adapter connections, or long­distance or 1: N connections using RS-422A/485.
Turn OFF pins SW4 (Serial Port
1) and SW5 (Serial Port 2) on the DIP switch on the front panel of the CPU Unit.
The mode will then be deter­mined by the serial port set­tings in the PLC Setup. The default settings are for Host Link with a baud rate of 9,600 bits/s, 1 start bit, data length of 7 bits, even parity, and 2 stop bits.
Page 70
36
Function Charts Section 1-4
1-4 Function Charts
X and XA CPU Units
Built-in I/O functions Built-in input functions
Selected in PLC Setup.
Normal inputs
24 inputs CIO 0, bits 00 to 11; CIO 1, bits 00 to 11 Immediate refreshing supported.
Interrupt inputs
8 inputs (Interrupt inputs 0 to 7) CIO 0, bits 00 to 03 CIO 1, bits 00 to 03
Interrupt inputs (Direct mode)
Interrupt task 140 to 147 started when input turns ON or OFF. Response time: 0.3 ms
Interrupt inputs (Counter mode)
Interrupt task 140 to 147 started by up or down counter for input. Response frequency: 5 kHz total for all interrupts
High-speed counter inputs
4 inputs (High-speed Counter 0 to 3) CIO 0, bits 08, 09, 03; CIO 0, bits 06, 07, 02 CIO 0, bits 04, 05, 01; CIO 0, bits 10, 11; CIO 1, bit 00
Differential phase input: 50 kHz
Pulse plus direction input: 100 kHz
Up, down input: 100 kHz
Increment pulse input: 100 kHz
Count stopping and starting (Gate function)
Frequency monitoring (High-speed counter 0 only)
No interrupts
High-speed counter interrupts
Target value comparison interrupts
Range comparison interrupts
Quick-response inputs
8 inputs (Quick-response 0 to 7) CIO 0, bits 00 to 03 CIO 1, bits 00 to 03 Minimum input signal width: 50 µs
Built-in output functions
Selected by instructions.
Normal outputs
16 outputs CIO 100, bits 00 to 07; CIO 101, bits 00 to 07 Immediate refreshing supported.
Pulse outputs
4 outputs (Pulse outputs 0 to 3) CIO, 100, bits 00 to 07 Unit version 1.0 and earlier: 1 Hz to 100 kHz: 2 outputs 1 Hz to 30 kHz: 2 outputs Unit version 1.1 and later: 1 Hz to 100 kHz: 4 outputs CW/CCW pulse outputs or pulse plus direction outputs (Pulse outputs 0 and 1 must use the same method.)
Pulse outputs with no acceleration and deceleration
Pulse outputs with trapezoidal acceleration and deceleration
Variable duty ratio pulse outputs (PWM outputs)
2 outputs CIO 101, bits 00 and 01 Variable duty ratio pulse outputs Duty ratio: 0.0% to 100.0% (Unit: 0.1%) Frequency: 0.1 to 6553.5 Hz
Origin functions Origin search
CIO 101, bits 02 to 05: Used as error counter reset output. (Operation modes 1 and 2 only) CIO 0 and CIO 1, bits 00 to 03: Used as origin search-related inputs.
Origin inputs: CIO 0, bits 00, 02; CIO 1, bits 00, 02
Origin proximity inputs: CIO 0, bits 01, 03; CIO 1, bits 01, 03
Origin return
Execute the ORG instruction to move from any position to the origin.
Built-in analog I/O terminals
(XA models only)
Analog inputs
4 inputs 0 to 5 V, 1 to 5 V, 0 to 10 V, 10 to 10 V, 4 to 20 mA, 0 to 20 mA Resolution: 1/6,000 or 1/12,000 Conversion time: 1 ms/input
Analog outputs
2 outputs 0 to 5 V, 1 to 5 V, 0 to 10 V, 10 to 10 V, 4 to 20 mA, 0 to 20 mA Resolution: 1/6,000 or 1/12,000 Conversion time: 1 ms/output
Page 71
37
Function Charts Section 1-4
Y CPU Units
Built-in I/O terminal functions
Pulse I/O terminal functions
Built-in input functions
Selected in PLC Setup.
Built-in output functions
Selected by instructions.
Positioning functions
Normal inputs
12 inputs CIO 0, bits 00, 01, 04, 05, 10, 11 CIO 1, bits 00 to 05 Immediate refreshing supported.
Interrupt inputs
6 inputs (Interrupt inputs 0 to 5) CIO 0, bits 00, 01; CIO 1, bits 00 to 03
High-speed counter inputs
2 inputs (High-speed counters 2, 3) Word 0, bits 04, 05, 01 CIO 0, bits 10, 11; CIO 1, bit 00
Differential phase input: 50 kHz
Pulse plus direction input: 100 kHz
Up/down input: 100 kHz
Increment pulse input: 100 kHz
Count stopping and starting (gate
function)
Quick-response inputs
6 inputs (Quick-response 0 to 5) CIO 0, bits 00, 01; CIO 1, bits 00 to 03 Minimum input signal width: 50 µs
Normal outputs
16 outputs CIO 100, bits 00 to 07; CIO 101, bits 00 to 07 Immediate refreshing supported.
Pulse outputs
2 outputs (Pulse outputs 2, 3) CIO 100, bits 04 to 07 1 Hz to 100 kHz: 2 outputs CW/CCW pulse outputs or pulse plus direction outputs
Pulse outputs with no acceleration and deceleration
Pulse outputs with trapezoidal acceleration and deceleration
Variable duty ratio pulse outputs (PWM outputs)
2 outputs CIO 101, bits 00, 01 Variable duty ratio pulse outputs Duty ratio: 0.0% to 100.0% (Unit: 0.1%) Frequency: 0.1 to 6,553.5 Hz
Origin search
CIO 101, bits 00 to 03: Used as error counter reset output (operation modes 1 and 2 only). CIO 0 and 1, bits 00 to 03: Used as origin search-related inputs.
Origin inputs: CIO 0, bits 02 to 03 (line driver); CIO 1, bits 02 to 03 (open collector); CIO 1 (bits 00 to 01)
Origin proximity inputs: Word 0, bits 00/01; word 1, bits 04/05
Origin return
Execute the ORG instruction to move from any position to the origin.
High-speed counter
outputs 2 outputs (High-speed counters 0, 1) CIO 0, bits 08, 09, 03; CIO 0, bits 06, 07, 02 CIO 0, bits 10, 11; CIO 1, bit 00
Differential phase input: 500 kHz
Pulse plus direction input: 1 MHz
Up/down input: 1 MHz
Increment pulse input: 1 MHz
Count stopping and starting (Gate function)
Pulse outputs
2 outputs (pulse outputs 0, 1) CIO 100, bits 00 to 03 1 Hz to 1 MHz: 2 outputs CW/CCW pulse outputs or pulse plus direction outputs
Pulse outputs with no acceleration and deceleration
Pulse outputs with trapezoidal acceleration and deceleration
Interrupt inputs (Direct mode)
Interrupt task 140 to 145 started when input turns ON or OFF. Response time: 0.3 ms
Interrupt inputs (Counter mode)
Interrupt task 140 to 145 started by up or down counter for input. Response frequency: 5 kHz total for all interrupts
No interrupts
High-speed counter interrupts
Target value comparison interrupts
Range comparison interrupts
No interrupts
High-speed counter interrupts
Target value comparison interrupts
Range comparison interrupts
Page 72
38
Function Charts Section 1-4
Functions Common to All Models
Analog setting functions
Analog adjustment
1 input
Set value: 0 to 255 External analog setting
input
1 input, 0 to 10 V
Resolution: 256
7-segment LED display
Error code when CPU Unit error occurs
Any 7-segment display by special instruction
Remaining capacity during Memory Cassette data transfer
Analog control PV
Refer to Section 6.
No-battery operation
User memory, parameters (such as PLC Setup), DM initial values, comment memory, etc., can be saved in the CPU Unit's built-in flash memory.
Memory Cassette
Data saved in the CPU Unit's built-in flash memory can be saved to a Memory Cassette (purchased separately) and transferred automatically from the Memory Cassette when the power supply is turned ON.
Clock
Functions using Option Boards
A maximum of two Boards can be mounted.
Serial communications
RS-232C Option Board: One RS-232C port RS-422A/485 Option Board: One RS-422A/485 port Host Link, NT Links (1: N), no-protocol, Serial PLC Link (See note 1.), Serial Gateway (See note 2.), peripheral bus Note 1. Two ports cannot be used simultaneously for Serial PLC Link communications. Note 2. With Modbus-RTU easy master communications function.
Functions using CP-series Expansion Units
Analog I/O functions
CPM1A-MAD11 Analog I/O Unit (Resolution: 1/6,000)
Two analog inputs: 0 to 5 V, 1 to 5 V, 0 to 10 V, 10 to
+10 V, 0 to 20 mA, or 4 to 20 mA
One analog output: 1 to 5 V, 0 to 10 V, 10 to +10 V,
0 to 20 mA, or 4 to 20 mA Temperature sensor input functions
Temperature Sensor Unit
Thermocouple input: 2 or 4 inputs K: 200 to 1300°C (300 to 2,300°F)
0.0 to 500.0°C (0.0 to 900.0°F)
J: 100 to 850°C (100 to 1,500°F)
0.0 to 400.0°C (0.0 to 750.0°F)
Platinum resistance thermometer input: 2 or 4 inputs Pt100: 200.0 to 650.0°C (300.0 to 1,200.0°F) JPt100: 200.0 to 650.0°C (300.0 to 1,200.0°F)
Refer to Section 7.
CompoBus/S Slave function
CompoBus/S I/O Link Unit
Data exchanged with Master Unit: 8 inputs and 8 outputs
DeviceNet Slave function
DeviceNet I/O Link Unit Data exchanged with DeviceNet Master: 32 inputs and 32 outputs
Functions using CJ­series Special I/O Units and CPU Bus Units
Page 73
39
Function Blocks Section 1-5
1-5 Function Blocks
In the SYSMAC CP Series, function blocks can be used in programming just as in the CS/CJ Series.
1-5-1 Overview of Function Blocks
A function block is a basic program element containing a standard processing function that has been defined in advance. Once the function block has been defined, the user just has to insert the function block in the program and set the I/O in order to use the function.
As a standard processing function, a function block is not created with actual physical addresses, but local variables. The user sets parameters (addresses or values) in those variables to use the function block. The addresses used for the variables themselves are automatically assigned by the system (CX-Pro­grammer) each time they are placed in the program.
In particular, each function block is saved by the CX-Programmer as an indi­vidual file that can be reused with programs for other PLCs. This makes it pos­sible to create a library of standard processing functions.
1-5-2 Advantages of Function Blocks
Function blocks allow complex programming units to be reused easily. Once standard program sections have been created as function blocks and saved in files, they can be reused just by placing a function block in a program and set­ting the parameters for the function block's I/O. Reusing standardized function blocks reduces the time required for programming/debugging, reduces coding errors, and makes programs easier to understand.
Structured Programming
Structured programs created with function blocks have better design quality and required less development time.
ccaa
bb
#0000
MOV
dd
Standard program section written with variables
Function block A
Define in advance.
Insert in program.
Save function block as file.
Library
Function block A
Reuse
To another PLC program
Program 1
Copy of function block A
Input
Variable Variable Output
Setting Setting
Copy of function block A
Input
Variable Variable Output
Program 2
Copy of function block A
Variable Output
Page 74
40
Function Blocks Section 1-5
Easy-to-read “Block Box” Design
The I/O operands are displayed as local variable names in the program, so the program is like a “black box” when entering or reading the program and no extra time is wasted trying to understand the internal algorithm.
Different Processes Easily Created from a Single Function Block
Many different processes can be created easily from a single function block by using input variables for the parameters (such as timer SVs, control con­stants, speed settings, and travel distances) in the standard process.
Reduced Coding Errors Coding mistakes can be reduced, because blocks that have already been
debugged can be reused.
Data Protection The local variables in the function block cannot be accessed directly from the
outside, so the data can be protected. (Data cannot be changed unintention­ally.)
Improved Reusability through Programming with Variables
The function block's I/O is entered as local variables, so the data addresses in the function block do not have to be changed as they do when copying and reusing a program section.
Creating Libraries Processes that are independent and reusable (such as processes for individ-
ual steps, machinery, equipment, or control systems) can be saved as func­tion block definitions and converted to library functions.
The function blocks are created with local variable names that are not tied to physical addresses, so new programs can be developed easily just by reading the definitions from the file and placing them in a new program.
Nesting Multiple Languages
Mathematical expressions can be entered in structured text (ST) language. Nesting function blocks is supported for CX-Programmer Ver. 6.0 or higher.
For example, it is possible to express only special operations in ST language within a function block in a ladder diagram.
For details on using function blocks, refer to the CX-Programmer Ver. 7.0 Operation Manual: Function Blocks (Cat. No. W447).
Function block (ladder language)
Call (Nesting)
Function block (ST language)
Page 75
41
SECTION 2
Nomenclature and Specifications
This section describes the names and functions of CP1H parts and provides CP1H specifications.
2-1 Part Names and Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
2-1-1 CP1H CPU Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
2-1-2 CP1W-CIF01 RS-232C Option Boards . . . . . . . . . . . . . . . . . . . . . . 46
2-1-3 CP1W-CIF11/CIF12 RS-422A/485 Option Boards . . . . . . . . . . . . . 47
2-2 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
2-2-1 CP1H CPU Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
2-2-2 I/O Memory Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
2-2-3 I/O Specifications for XA and X CPU Units . . . . . . . . . . . . . . . . . . 53
2-2-4 Built-in Analog I/O Specifications (XA CPU Units Only) . . . . . . . 61
2-2-5 I/O Specifications for Y CPU Units . . . . . . . . . . . . . . . . . . . . . . . . . 63
2-2-6 CP-series Expansion I/O Unit I/O Specifications. . . . . . . . . . . . . . . 70
2-3 CP1H CPU Unit Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
2-3-1 Overview of CPU Unit Configuration . . . . . . . . . . . . . . . . . . . . . . . 74
2-3-2 Flash Memory Data Transfers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
2-3-3 Memory Cassette Data Transfers . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
2-4 CPU Unit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
2-4-1 General Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
2-4-2 I/O Refreshing and Peripheral Servicing . . . . . . . . . . . . . . . . . . . . . 83
2-4-3 I/O Refresh Methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
2-4-4 Initialization at Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
2-5 CPU Unit Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
2-5-1 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
2-5-2 Status and Operations in Each Operating Mode. . . . . . . . . . . . . . . . 87
2-5-3 Operating Mode Changes and I/O Memory . . . . . . . . . . . . . . . . . . . 88
2-5-4 Startup Mode Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
2-6 Power OFF Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
2-6-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
2-6-2 Instruction Execution for Power Interruptions . . . . . . . . . . . . . . . . . 90
2-7 Computing the Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
2-7-1 CPU Unit Operation Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
2-7-2 Cycle Time Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
2-7-3 Functions Related to the Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . 94
2-7-4 I/O Refresh Times for PLC Units. . . . . . . . . . . . . . . . . . . . . . . . . . . 95
2-7-5 Cycle Time Calculation Example. . . . . . . . . . . . . . . . . . . . . . . . . . . 97
2-7-6 Online Editing Cycle Time Extension . . . . . . . . . . . . . . . . . . . . . . . 97
2-7-7 I/O Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
2-7-8 Interrupt Response Times. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
2-7-9 Serial PLC Link Response Performance . . . . . . . . . . . . . . . . . . . . . 101
2-7-10 Pulse Output Start Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
2-7-11 Pulse Output Change Response Time. . . . . . . . . . . . . . . . . . . . . . . . 102
Page 76
42
Part Names and Functions Section 2-1
2-1 Part Names and Functions
2-1-1 CP1H CPU Units
(1) Battery Cover
Covers the location where the battery is stored.
(2) Operation Indicators
Show CP1H operation status.
POWER ERR/ALM BKUP
100CH 101CH
1CH
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
Front Back
(1) Battery cover
(2) Operation indicators
(3) Peripheral USB port
(4) 7-segment display
(5) Analog adjuster
(6) External analog settings
input connector
(7) DIP switch
(8) Built-in analog I/O terminal
block and terminal block base (See note 1.)
(9) Built-in analog input switch
(See note 1.)
(11) Power supply, ground,
and input terminal block
(12) Option Board slots
(13) Input indicators
(14) Expansion I/O
Unit connector
(15) Output indicators
(10) Memory
Cassette slot
(16) External 24-VDC
(See note 2.) and output terminal block
(17) Connector for CJ Unit
Adapter
Note 1: XA CPU Units only. Note 2: CPU Units with AC Power Supply only.
123
4
ON
POWER (Green)
Lit Power is ON. Not lit Power is OFF.
RUN (Green)
Lit The CP1H is executing a program in either RUN or
MONITOR mode.
Not lit Operation is stopped in PROGRAM mode or due to
a fatal error.
ERR/ALM (Red)
Lit A fatal error (including FALS execution) or a hard-
ware error (WDT error) has occurred. CP1H opera­tion will stop and all outputs will be turned OFF.
Flashing A non-fatal error has occurred (including FAL execu-
tion). CP1H operation will continue.
Not lit Operation is normal.
INH (Yellow)
Lit The Output OFF Bit (A500.15) has turned ON. All
outputs will be turned OFF.
Not lit Operation is normal.
POWER
ERR/ALM
BKUP
RUN
INH
PRPHL
Page 77
43
Part Names and Functions Section 2-1
(3) Peripheral USB Port
Used for connecting to a personal computer for programming and moni­toring by the CX-Programmer.
(4) 7-segment Display
The 2-digit 7-segment display shows CP1H CPU Unit status, such as error information and the PV during analog adjustment. Also, various codes can be displayed from the ladder program. (Refer to 6-3 7-Segment LED Display.)
(5) Analog Adjuster
By turning the analog adjuster, it is possible to adjust the value of A642 within a range of 0 to 255. (Refer to 6-2 Analog Adjuster and External Analog Setting Input.)
(6) External Analog Setting Input Connector
By applying 0 to 10 V of external voltage, it is possible to adjust the value of A643 within a range of 0 to 256. This input is not isolated. (Refer to 6- 2 Analog Adjuster and External Analog Setting Input.)
(7) DIP Switch
BKUP (Yellow)
Lit A user program, parameters, or Data Memory are
being written or accessed in the built-in flash mem­ory (backup memory).
The BKUP indicator also lights while user programs, parameters, and Data Memory are being restored when the PLC power supply is turned ON.
Note Do not turn OFF the PLC power supply while
this indicator is lit.
Not lit Other than the above.
PRPHL (Yellow)
Flashing Communications (either sending or receiving) are in
progress through the peripheral USB port.
Not lit Other than the above.
No. Setting Description Application Default
SW1 ON User memory write-
protected (See note.)
Used to prevent pro­grams from being inad­vertently overwritten by a Peripheral Device (CX­Programmer) onsite.
OFF
OFF User memory not
write-protected.
SW2 ON Data automatically
transferred from Memory Cassette at startup.
Used to enable pro­grams, Data Memory, or parameters saved on a Memory Cassette to be opened by the CPU Unit at startup.
OFF
OFF Data not transferred.
SW3 --- Not used. --- OFF SW4 ON Used for peripheral
bus.
Used to enable a Serial Communications Option Board mounted in Option Board Slot 1 to be used by the peripheral bus.
OFF
OFF According to PLC
Setup.
ON
123456
Page 78
44
Part Names and Functions Section 2-1
Note The following data will be write-protected if pin SW1 is turned ON:
• The entire user program (all tasks)
• All data in parameter areas (such as the PLC Setup) When SW1 is turned ON, the user program and the data in the pa-
rameter areas will not be cleared even if the All Clear operation is performed from a Peripheral Device (i.e., the CX-Programmer).
(8) Built-in Analog I/O Terminal Block and Terminal Block Base (XA CPU
Units Only) There are four analog inputs and two analog outputs. Mount the terminal block (included with the CPU Unit) to the terminal block base. (Refer to 5-5 Analog I/O (XA CPU Units).)
(9) Built-in Analog Input Switch (XA CPU Units Only)
This DIP switch determines whether each analog input is to be used for voltage input or current input.
Note The built-in analog input switch is located on the PCB inside the case. To
make setting the switch easier, make the switch settings before mounting the terminal block to the base. While setting this switch, be very careful not to damage the wiring on the PCB.
(10) Memory Cassette Slot
Used for mounting a CP1W-ME05M Memory Cassette. When mounting a Memory Cassette, remove the dummy cassette. Data, such as CP1H CPU Unit programs, parameters, and data memory, can be transferred to the Memory Cassette to be saved.
SW5 ON Used for peripheral
bus.
Used to enable a Serial Communications Option Board mounted in Option Board Slot 2 to be used by the peripheral bus.
OFF
OFF According to PLC
Setup.
SW6 ON A395.12 ON Used to bring about a
given condition without using an Input Unit. A395.12 is used in the program by setting SW6 to ON or OFF.
OFF
OFF A395.12 OFF
No. Setting Description Default
SW1 ON Analog input 1: Current input OFF
OFF Analog input 1: Voltage input
SW2 ON Analog input 2: Current input
OFF Analog input 2: Voltage input
SW3 ON Analog input 3 Current input
OFF Analog input 3: Voltage input
SW4 ON Analog input 4: Current input
OFF Analog input 4: Voltage input
No. Setting Description Application Default
ON
ON
OFF
1
2
3
4
Page 79
45
Part Names and Functions Section 2-1
(11) Power Supply, Ground, and Input Terminal Block
(12) Option Board Slots
The following Option Boards can be mounted in either slot 1 or slot 2.
• CP1W-CIF01 RS-232C Option Board
• CP1W-CIF11/CIF12 RS-422A/485 Option Board
• CP1W-DAM01 LCD Option Board
• CP1W-CIF41 Ethernet Option Board
!Caution Always turn OFF the power supply to the PLC before mounting or removing
an Option Board.
(13) Input Indicators
The input indicators light when input terminal contacts turn ON.
(14) Expansion I/O Unit Connector
A maximum of seven CP-series Expansion I/O Units (40 I/O points, 20 I/ O points, 8 input points, 8 or output points) and Expansion Units (Analog I/O Units, Temperature Sensor Units, CompoBus/S I/O Link Units, or DeviceNet I/O Link Units) can be connected. (For details on using Expansion Units and Expansion I/O Units, refer to SECTION 7 Using CP- series Expansion Units and Expansion I/O Units.)
(15) Output Indicators
The output indicators light when output terminal contacts turn ON.
(16) External Power Supply and Output Terminal Block
Power supply ter­minals
Used to provide a 100- to 240-VAC or 24-VDC power supply.
Ground terminals
Functional ground ( ): Connect this ground to strengthen noise immunity and to prevent electric shock. (AC power supply models only.)
Protective ground ( ): To prevent electric shock, ground to 100 or less.
Input terminals Used to connect input devices.
External power supply terminals
XA and X CPU Units with AC power supply specifications have external 24-VDC, 300-mA max., power supply ter­minals. They can be used as service power supplies for input devices.
Output terminals Used for connecting output devices.
Page 80
46
Part Names and Functions Section 2-1
(17) Connector for CJ Unit Adapter
A maximum total of two CJ-series Special I/O Units or CPU Bus Units can be connected by mounting a CP1W-EXT01 CJ Unit Adapter to the side of a CP1H CPU Unit. CJ-series Basic I/O Units, however, cannot be connected.
2-1-2 CP1W-CIF01 RS-232C Option Boards
RS-232C Option Boards can be mounted to Option Board slots 1 or 2 on the CPU Unit.
When mounting an Option Board, first remove the slot cover. Grasp both of the cover's up/down lock levers at the same time to unlock the cover, and then pull the cover out.
Then to mount the Option Board, check the alignment and firmly press it in until it snaps into place.
!Caution Always turn OFF the power supply to the PLC before mounting or removing
an Option Board.
SYSMAC CP1H
BATTERY
MEMORY
PERIPHERAL
POWER ERR/ALM BKUP
100CH 101CH
1CH
EXP
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08
10
00 01 02 03 04 06 00 01 03 04 06
COM COM COM COM 05 07 COM 02 COM 05
07
IN
OUT
CP1W-EXT01 CJ Unit Adapter
CJ1W-TER01 CJ-series End Cover (Included with CJ Unit Adapter)
DIN Track
A maximum of two CJ-series Special I/O Units or CPU Bus Units can be connected
COMM
Front Back
(1) Communications Status Indicator
(2) RS-232 Connector
(3) CPU Unit Connecto
r
Page 81
47
Part Names and Functions Section 2-1
RS-232C Connector
2-1-3 CP1W-CIF11/CIF12 RS-422A/485 Option Boards
RS-422A/485 Option Boards can be mounted to Option Board slots 1 or 2 on the CPU Unit.
When mounting an Option Board, first remove the slot cover. Grasp both of the cover's up/down lock levers at the same time to unlock the cover, and then pull the cover out.
Then to mount the Option Board, check the alignment and firmly press it in until it snaps into place.
!Caution Always turn OFF the power supply to the PLC before mounting or removing
an Option Board.
RS-422A/485 Terminal Block
Pin Abbr. Signal name Signal direction
1 FG Frame Ground --­2 SD (TXD) Send Data Output 3 RD (RXD) Receive Data Input 4 RS (RTS) Request to Send Output 5 CS (CTS) Clear to Send Input 6 5V Power Supply --­7 DR (DSR) Data Set Retry Input 8 ER (DTR) Equipment Ready Output 9 SG (0V) Signal Ground --­Connector hood FG Frame Ground ---
5
6
1
9
COMM
RDA RDB+ SDA SDB+ FG
Front Back
(1) Communications Status Indicator
(2)
RS-422A/485 Connector
(3) CPU Unit Connecto
r
(4) DIP Switch for
Operation Settings
RDB+
RDA
SDA
SDB+
FG
Tighten the terminal block screws to a torque of 0.28 N·m (2.5 Lb In.).
Page 82
48
Specifications Section 2-2
DIP Switch for Operation Settings
Note (1) Set both pins 2 and 3 to either ON (2-wire) or OFF (4-wire).
(2) To disable the echo-back function, set pin 5 to ON (RS control enabled). (3) When connecting to a device on the N side in a 1: N connection with the
4-wire method, set pin 6 to ON (RS control enabled). Also, when connecting by the 2-wire method, set pin 6 to ON (RS control enabled).
2-2 Specifications
2-2-1 CP1H CPU Units
General Specifications
Pin Settings
1 ON ON (both ends) Terminating resistance selection
OFF OFF
2 ON 2-wire 2-wire or 4-wire selection (See
note 1.)
OFF 4-wire
3 ON 2-wire 2-wire or 4-wire selection (See
note 1.)
OFF 4-wire 4 --- --- Not used. 5 ON RS control enabled RS control selection for RD (See
note 2.)
OFF RS control disabled (Data
always received.)
6 ON RS control enabled RS control selection for SD (See
note 3.)
OFF RS control disabled (Data
always sent.)
O
N
12345
6
Power supply classification
AC power supply DC power supply
Model numbers • XA CPU Units
CP1H-XA40DR-A
• X CPU Units CP1H-X40DR-A
• XA CPU Units CP1H-XA40DT-D CP1H-XA40DT1-D
• X CPU Units CP1H-X40DT-D CP1H-X40DT1-D
• Y CPU Units CP1H-Y20DT-D
Power supply 100 to 240 VAC
50/60 Hz
24 VDC
Operating voltage range
85 to 264 VAC 20.4 to 26.4 VDC
(with 4 or more Expansion Units and Expansion
I/O Units: 21.6 to 26.4 VDC) Power consumption 100 VA max. 50 W max. Inrush current
(See note.)
100 to 120 VAC inputs:
20 A max.(for cold start at room temperature.) 8 ms max.
200 to 240 VAC inputs:
40 A max.(for cold start at room temperature.) 8 ms max.
30 A max.(for cold start)
20 ms max.
External power sup­ply
300 mA at 24 VDC None
Page 83
49
Specifications Section 2-2
Note The above values are for a cold start at room temperature for an AC power
supply, and for a cold start for a DC power supply.
• A thermistor (with low-temperature current suppression characteristics) is used in the inrush current control circuitry for the AC power supply. The thermistor will not be sufficiently cooled if the ambient temperature is high or if a hot start is performed when the power supply has been OFF for only a short time, so in those cases the inrush current values may be higher (as much as two times higher) than those shown above.
• A capacitor delay circuit is used in the inrush current control circuitry for the DC power supply. The capacitor will not be charged if a hot start is performed when the power supply has been OFF for only a short time, so in those cases the inrush current values may be higher (as much as two times higher) than those shown above.
• Always allow for this when selecting fuses and breakers for external cir­cuits.
Characteristics
Insulation resistance 20 M min. (at 500 VDC) between the external
AC terminals and GR terminals
No insulation between primary and secondary DC power supplies.
Dielectric strength 2,300 VAC 50/60 Hz for 1 min between the
external AC and GR terminals, leakage current: 5 mA max.
No insulation between primary and secondary DC power supplies.
Noise resistance Conforms to IEC 61000-4-4 2 kV (power supply line) Vibration resistance
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 each (time coefficient of 8 minutes × coefficient factor of 10 = total time of 80 minutes)
Shock resistance
147 m/s
2
three times each in X, Y, and Z directions
Ambient operating temperature
0 to 55°C
Ambient humidity 10% to 90% (with no condensation) Atmosphere No corrosive gas. Ambient storage
temperature
20 to 75°C (excluding battery)
Terminal screw size M3 Power interrupt time 10 ms min. 2 ms min. Weight 740 g max. 590 g max. 560 g max.
Power supply classification
AC power supply DC power supply
Model numbers • XA CPU Units
CP1H-XA40DR-A
• X CPU Units CP1H-X40DR-A
• XA CPU Units CP1H-XA40DT-D CP1H-XA40DT1-D
• X CPU Units CP1H-X40DT-D CP1H-X40DT1-D
• Y CPU Units CP1H-Y20DT-D
Type X CPU Units XA CPU Units Y CPU Units
Model CP1H-X40DR-A
CP1H-X40DT-D
CP1H-X40DT1-D
CP1H-XA40DR-A
CP1H-XA40DT-D
CP1H-XA40DT1-D
CP1H-Y20DT-D
Program capacity 20 Ksteps Control method Stored program method I/O control method Cyclic scan with immediate refreshing Program language Ladder diagram
Page 84
50
Specifications Section 2-2
Function blocks Maximum number of function block definitions: 128
Maximum number of instances: 256 Languages usable in function block definitions: Ladder diagrams, structured text
(ST) Instruction length 1 to 7 steps per instruction Instructions Approx. 500 (function codes: 3 digits) Instruction execution time Basic instructions: 0.10 µs min.
Special instructions: 0.15 µs min. Common processing time 0.7 ms Number of connectable Expansion
Units and Expansion I/O Units
7 Units (CP Series or CPM1A)
(There are restrictions on the Units that can be used in combination, however, based
on the total number of I/O words and the total current consumption.) Max. number of I/O points 320 (40 built in + 40 per Expansion Unit/
Expansion I/O Unit × 7 Units)
300 (20 built in + 40 per Expansion Unit/ Expansion I/O Unit × 7 Units)
Number of connectable CJ-series Units
2 Units
(CPU Bus Units or Special I/O Units only. Basic I/O Units cannot be used. A CP1W-
EXT01CJ Unit Adapter is required.) Built-in
input termi­nals (Func­tions can be assigned.)
Normal I/O 40 terminals
(24 inputs and 16 outputs)
20 (12 inputs and 8 outputs)
Note Aside from the above, 2 1-MHz
high-speed counter inputs and 2 1-MHz pulse outputs can be added as special pulse I/O termi­nals.
Interrupt inputs
Direct mode
8 inputs (Shared by the external interrupt
inputs (counter mode) and the quick-
response inputs.)
Rising or falling edge
Response time: 0.3 ms
6 inputs (Shared by the external interrupt inputs (counter mode) and the quick­response inputs.)
Rising or falling edge Response time: 0.3 ms
Counter mode
8 inputs, response frequency: 5 kHz
total, 16 bits
Incrementing counter or decrementing
counter
6 inputs, response frequency: 5 kHz total, 16 bits
Incrementing counter or decrementing counter
Quick-response inputs
8 points (Min. input pulse width: 50 µs
max.)
6 points (Min. input pulse width: 50 µs max.)
High-speed counters 4 inputs (24 VDC)
• Single phase (pulse plus direction, up/ down, increment), 100 kHz
• Differential phases (4×), 50 kHz
Value range: 32 bits, Linear mode or ring mode
Interrupts: Target value comparison or range comparison
2 inputs (24 VDC)
• Single phase (pulse plus direction, up/ down, increment), 100 kHz
• Differential phases (4×), 50 kHz
Value range: 32 bits, Linear mode or ring mode
Interrupts: Target value comparison or range comparison
Special high-speed counter ter­minals
High-speed counters None 2 inputs (Line-driver inputs)
• Single phase (pulse plus direction, up/ down, increment), 1 MHz
• Differential phases (4×), 500 kHz
Value range: 32 bits, linear mode or ring mode
Interrupts: Target value comparison or range comparison
Note High-speed counter terminals are
line-driver inputs, so they cannot be used as normal inputs.
Type X CPU Units XA CPU Units Y CPU Units
Model CP1H-X40DR-A
CP1H-X40DT-D
CP1H-X40DT1-D
CP1H-XA40DR-A
CP1H-XA40DT-D
CP1H-XA40DT1-D
CP1H-Y20DT-D
Page 85
51
Specifications Section 2-2
Pulse out­puts (Transistor output mod­els only)
Pulse outputs Unit version 1.0 and earlier:
2 outputs, 1 Hz to 100 kHz 2 outputs, 1 Hz to 30 kHz
Unit version 1.1 and later:
4 outputs, 1 Hz to 100 kHz (CCW/CW or pulse plus direction) Trapezoidal or S-curve acceleration and
deceleration (Duty ratio: 50% fixed)
2 outputs, 1 Hz to 100 kHz Trapezoidal or S-curve acceleration and deceleration (Duty ratio: 50% fixed)
PWM outputs 2 outputs, 0.1 to 6,553.5 Hz
Duty ratio: 0.0% to 100.0% variable (Unit: 0.1%) (Accuracy: ±5% at 1 kHz)
Special pulse out­put termi­nals
Pulse outputs None 2 outputs, 1 Hz to 1 M Hz (CCW/CW or
pulse plus direction, line-driver outputs) Trapezoidal or S-curve acceleration and
deceleration (Duty ratio: 50% fixed)
Note Special pulse output terminals are
line-driver outputs, so they cannot be used as normal outputs.
Built-in analog I/O terminals None 4 analog inputs and
2 analog outputs (See note 1.)
None
Analog set­tings
Analog adjuster 1 (Setting range: 0 to 255) External analog set-
ting input
1 input (Resolution: 1/256, Input range: 0 to 10 V)
Serial port Peripheral USB port Supported. (1-port USB connector, type B): Special for a Peripheral Device such as
the CX-Programmer. (Set the network classification to USB in the Peripheral Device's PLC model setting.)
• Serial communications standard: USB 1.1
RS-232C port, RS­422A/485 port
Ports not provided as standard equipment. (2 ports max.) The following Option Boards can be mounted:
• CP1W-CIF01: One RS-232C port
• CP1W-CIF11/CIF12: One RS-422A/485 port Applicable communications modes (same for all of the above ports): Host Link, NT
Link (1: N mode), No-protocol, Serial PLC Link Slave, Serial PLC Link Master, Serial Gateway (conversion to CompoWay/F, conversion to Modbus-RTU), peripheral bus (See note 2.)
7-segment display 2-digit 7-segment LED display (red)
• At startup: The Unit version is displayed.
• When a CPU Unit error occurs: The error code and error details are displayed in
order (fatal error, non-fatal error).
• When a special instruction is executed: The DISPLAY 7-SEGMENT LED WORD
DATA (SCH) instruction displays the upper or lower byte of specified word data, and the 7-SEGMENT LED CONTROL (SCTRL) instruction controls the ON/OFF status of each segment.
• While data is being transferred between a Memory Cassette and the CPU, the
remaining amount to be transferred is displayed as a percentage.
• When the analog adjuster is adjusted, the value is displayed from 00 to FF.
Number of tasks 288 (32 cycle execution tasks and 256 interrupt tasks)
Scheduled interrupt tasks: 1 (interrupt task 2, fixed) Input interrupt tasks: 8 (interrupt tasks 140 to 147, fixed) Note Y CPU Units have 6 input interrupt tasks. (Interrupt tasks 140 to 145 can be
used.) (High-speed counter interrupts and interrupt tasks specified by external inter­rupts can also be executed.)
Type X CPU Units XA CPU Units Y CPU Units
Model CP1H-X40DR-A
CP1H-X40DT-D
CP1H-X40DT1-D
CP1H-XA40DR-A
CP1H-XA40DT-D
CP1H-XA40DT1-D
CP1H-Y20DT-D
Page 86
52
Specifications Section 2-2
Note (1) For detailed specifications, refer to 5-5 Analog I/O (XA CPU Units).
(2) Can be used as Modbus-RTU easy master function.
2-2-2 I/O Memory Details
Maximum subroutine number 256 Maximum jump number 256 Scheduled interrupts 1 Clock function Supported.
Accuracy (monthly deviation): 4.5 min to 0.5 min (ambient temperature: 55°C),
2.0 min to +2.0 min (ambient temperature: 25°C),
2.5 min to +1.5 min (ambient temperature: 0°C)
Memory Backup
Built-in flash memory User programs and parameters (such as the PLC Setup) are automatically saved to
the flash memory. It is also possible to save and read data memory initial data. The data is automatically transferred to RAM when the power supply is turned ON.
(Data memory initial data, however, may or may not be transferred, depending on the selection in the PLC Setup.
Battery backup The HR Area, DM Area, and counter values (flags, PV) are backed up by a battery.
Battery model: CJ1W-BAT01 (Built into the CP1H CPU Unit.) Maximum battery service life: 5 years Guaranteed (ambient temperature: 55°C): 13,000 hours (approx. 1.5 years) Effective value (ambient temperature: 25°C): 43,000 hours (approx. 5 years)
Memory Cassette function A CP1W-ME05M Memory Cassette (512K words, optional) can be mounted. It can
be used to back up the following data on the CPU Unit's RAM and to transfer the data at startup.
• Data saved on Memory Cassette: User programs, parameters (such as the PLC
Setup), DM Area, data memory initial data, comment memory (CX-Programmer conversion tables, comments, program indices), and FB program memory.
• Writing to Memory Cassette: By operations from the CX-Programmer.
• Reading from Memory Cassette: At startup, or by operations from the CX-Pro-
grammer.
Type X CPU Units XA CPU Units Y CPU Units
Model CP1H-X40DR-A
CP1H-X40DT-D
CP1H-X40DT1-D
CP1H-XA40DR-A
CP1H-XA40DT-D
CP1H-XA40DT1-D
CP1H-Y20DT-D
Type X CPU Units XA CPU Units Y CPU Units
Model CP1H-X40DR-A
CP1H-X40DT-D
CP1H-X40DT1-D
CP1H-XA40DR-A
CP1H-XA40DT-D
CP1H-XA40DT1-D
CP1H-Y20DT-D
I/O Areas Input bits 272 bits (17 words): CIO 0.00 to CIO 16.15
Output bits 272 bits (17 words): CIO 100.00 to CIO 116.15 Built-in Analog Input
Area
--- CIO 200 to CIO 203 ---
Built-in Analog Out­put Area
--- CIO 210 to CIO 211 ---
Data Link Area 3,200 bits (200 words): CIO 1000.00 to CIO 1119.15 (words CIO 1000 to CIO 1119) CJ-series CPU Bus
Unit area
6,400 bits (400 words): CIO 1500.00 to CIO 1899.15 (words CIO 1500 to CIO 1899)
CJ-series Special I/O Unit Area
15,360 bits (960 words): CIO 2000.00 to CIO 2959.15 (words CIO 2000 to CIO 2959)
Serial PLC Link Area 1,440 bits (90 words): CIO 3100.00 to CIO 3189.15 (words CIO 3100 to CIO 3189) DeviceNet Area 9,600 bits (600 words): CIO 3200.00 to CIO 3799.15 (words CIO 3200 to CIO 3799) Work bits 4,800 bits (300 words): CIO 1200.00 to CIO 1499.15 (words CIO 1200 to CIO 1499)
37,504 bits (2,344 words): CIO 3800.00 to CIO 6143.15 (words CIO 3800 to CIO 6143)
Work bits 8,192 bits (512 words): W000.00 to W511.15 (words W0 to W511)
Page 87
53
Specifications Section 2-2
2-2-3 I/O Specifications for XA and X CPU Units
Relationship between Built-in Inputs and Terminal Block Arrangement
Terminal Block Arrangement
TR Area 16 bits: TR0 to TR15 HR Area 8,192 bits (512 words): H0.00 to H511.15 (words H0 to H511) AR Area Read-only (Write-prohibited)
7,168 bits (448 words): A0.00 to A447.15 (words A0 to A447) Read/Write
8,192 bits (512 words): A448.00 to A959.15 (words A448 to A959) Timers 4,096 bits: T0 to T4095 Counters 4,096 bits: C0 to C4095 DM Area 32 Kwords: D0 to D32767
Note Initial data can be transferred to the CPU Unit's built-in flash memory using the
data memory initial data transfer function. A setting in the PLC Setup can be used so that the data in flash memory is transferred to RAM at startup.
DM Area words for CJ-series Special I/O Units:
D20000 to D29599 (100 words × 96 Units)
DM Area words for CJ-series CPU Bus Units:
D30000 to D31599 (100 words × 16 Units)
DM fixed allocation words for Modbus-RTU Easy Master
D32200 to D32249 for Serial Port 1, D32300 to D32349 for Serial Port 2 Data Register Area 16 registers (16 bits): DR0 to DR15 Index Register Area 16 registers (16 bits): IR0 to IR15 Task Flag Area 32 flags (32 bits): TK0000 to TK0031 Trace Memory 4,000 words (500 samples for the trace data maximum of 31 bits and 6 words.)
Type X CPU Units XA CPU Units Y CPU Units
Model CP1H-X40DR-A
CP1H-X40DT-D
CP1H-X40DT1-D
CP1H-XA40DR-A
CP1H-XA40DT-D
CP1H-XA40DT1-D
CP1H-Y20DT-D
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
00 02 04 06 08 10 00 02 04 06 08 10
Upper Terminal Block (Example: AC Power Supply Models)
Inputs (CIO 0) Outputs (CIO 1)
Normal in
p
ut terminals
Page 88
54
Specifications Section 2-2
Setting Input Functions in the PLC Setup
Functions for the normal input terminals in the built-in inputs can be individu-
ally allocated by making selections in the PLC Setup.
Note Set using the MSKS instruction in direct mode or counter mode.
Input
terminal
block
Input operation High-speed counter
operation
Origin search function
Word Bit Normal inputs Interrupt inputs
(See note.)
Quick-
response
inputs
High-speed counters 0
to 3 set to be used.
Origin search function
for pulse outputs 0 to 3
set to be used.
CIO 0 00 Normal input 0 Interrupt input 0 Quick-response
input 0
--- Pulse 0: Origin input sig­nal
01 Normal input 1 Interrupt input 1 Quick-response
input 1
High-speed counter 2 (phase-Z/reset)
Pulse 0: Origin proximity input signal
02 Normal input 2 Interrupt input 2 Quick-response
input 2
High-speed counter 1 (phase-Z/reset)
Pulse output 1: Origin input signal
03 Normal input 3 Interrupt input 3 Quick-response
input 3
High-speed counter 0 (phase-Z/reset)
Pulse output 1: Origin proximity input signal
04 Normal input 4 --- --- High-speed counter 2
(phase-A, increment, or count input)
---
05 Normal input 5 --- --- High-speed counter 2
(phase-B, decrement, or direction input)
---
06 Normal input 6 --- --- High-speed counter 1
(phase-A, increment, or count input)
---
07 Normal input 7 --- --- High-speed counter 1
(phase-B, decrement, or direction input)
---
08 Normal input 8 --- --- High-speed counter 0
(phase-A, increment, or count input)
---
09 Normal input 9 --- --- High-speed counter 0
(phase-B, decrement, or direction input)
---
10 Normal input 10 --- --- High-speed counter 3
(phase-A, increment, or count input)
---
11 Normal input 11 --- --- High-speed counter 3
(phase-B, decrement, or direction input)
---
CIO 1 00 Normal input 12 Interrupt input 4 Quick-response
input 4
High-speed counter 3 (phase-Z/reset)
Pulse output 2: Origin input signal
01 Normal input 13 Interrupt input 5 Quick-response
input 5
--- Pulse output 2: Origin proximity input signal
02 Normal input 14 Interrupt input 6 Quick-response
input 6
--- Pulse output 3: Origin input signal
03 Normal input 15 Interrupt input 7 Quick-response
input 7
--- Pulse output 3: Origin proximity input signal
04 Normal input 16 --- --- --- --­05 Normal input 17 --- --- --- --­06 Normal input 18 --- --- --- --­07 Normal input 19 --- --- --- --­08 Normal input 20 --- --- --- --­09 Normal input 21 --- --- --- --­10 Normal input 22 --- --- --- --­11 Normal input 23 --- --- --- ---
Page 89
55
Specifications Section 2-2
Input Specifications
Normal Inputs
Inputs CIO 0.00 to CIO 0.11 and CIO 1.00 to CIO 1.11 can be used not only as normal inputs but also as high-speed counter, interrupt, or quick-response inputs.
Item Specification
CIO 0.04 to CIO 0.11 CIO 0.00 to CIO 0.03 and
CIO 1.00 to CIO 1.03
CIO 1.04 to CIO 1.11
Input voltage
24 VDC
+10%
/
15%
Applicable inputs 2-wire and 3-wire sensors Input impedance 3.0 k 3.0 k 4.7 k Input current 7.5 mA typical 7.5 mA typical 5 mA typical ON voltage 17.0 VDC min. 17.0 VDC min. 14.4 VDC min. OFF voltage/current 1 mA max. at 5.0 VDC max. 1 mA max. at 5.0 VDC max. 1 mA max. at 5.0 VDC max. ON delay 2.5 µs max. 50 µs max. 1 ms max. OFF delay 2.5 µs max. 50 µs max. 1 ms max. Circuit configuration
IN
IN
COM
3.0 k
4.3 k
1000 pF
3.0 k
1000 pF
IN
IN
COM
910
IN
IN
COM
4.7 k
750
Input bits: CIO 0.04 to CIO 0.11
Input bits: CIO 0.00 to CIO 0.03, CIO 1.00 to CIO 1.03
Input bits: CIO 1.04 to CIO 1.11
Input LED
Input LED
Input LED
Internal circuits
Internal circuits
Internal circuits
Page 90
56
Specifications Section 2-2
Simultaneously ON Inputs-Ambient Temperature Characteristic
High-speed Counter Inputs
Input Bits for High-speed Counters
Input Bits Phase A: CIO 0.04, CIO 0.06, CIO 0.08, CIO 0.10
Phase B: CIO 0.05, CIO 0.07, CIO 0.09, CIO 0.11
Pulse plus direction input mode, Increment mode
Ambient temperature (°C)
16
24
Input voltage:
26.4 V DC
Input voltage: 24 V DC
No. of simultaneously ON inputs
55
47
Differential
phase mode
Pulse plus
direction input
mode
Up/down input
mode
Increment
mode
CIO 0.04, CIO 0.06, CIO 0.08, CIO 0.10
A-phase pulse input
Pulse input Increment pulse
input
Increment pulse input
CIO 0.05, CIO 0.07, CIO 0.09, CIO 0.11
B-phase pulse input
Direction input Decrement
pulse input
Normal input
CIO 0.01, CIO 0.02, CIO 0.03, CIO 1.00
Z-phase pulse input or hardware reset input (Can be used as ordinary inputs when high-speed counter is not being used.)
Max. count frequency
50 kHz (4×)100 kHz
Phase A Phase B Phase Z
High-speed counter 0 CIO 0.08 CIO 0.09 CIO 0.03 High-speed counter 1 CIO 0.06 CIO 0.07 CIO 0.02 High-speed counter 2 CIO 0.04 CIO 0.05 CIO 0.01 High-speed counter 3 CIO 0.10 CIO 0.11 CIO 1.00
90%
10%
50 µs min.
50 µs min.
ON
OFF
ON
OFF
ON
OFF
ON
OFF
T1T2T3T
4
T1, T2, T3, T4: 2.5 µs min.
90% 50% 10%
90% 50% 10%
90% 50% 10%
2.5 µs min.
2.5 µs min.
20.0 µs min.
10.0 µs min.
Up/down input mode Differential phase mode
Input bits: CIO 0.00 to CIO 0.03 and CIO 1.00 to CIO 1.03
Page 91
57
Specifications Section 2-2
Interrupt Inputs and Quick-response Inputs
Input bits CIO 0.00 to CIO 0.03 and CIO 1.00 to CIO 1.03 can be used not only as normal inputs but also as interrupt or quick-response inputs depend­ing on the settings in the PLC Setup.
The ON/OFF response time is 8 ms for normal inputs, but it can be changed in the PLC Setup to 0, 0.5, 1, 2, 4, 8, 16, or 32 ms.
Relationship between Built-in Outputs and Terminal Block Arrangement
Terminal Block Arrangement
Setting Functions Using Instructions and PLC Setup
Pulses can be output from the normal output terminals in the built-in outputs by executing pulse output instructions. To use the ORIGIN SEARCH (ORG) instruction, all of the pulse output settings in the PLC Setup must be set.
Input bit Interrupt inputs Quick-response inputs
CIO 0.00 Interrupt input 0 Quick-response input 0 CIO 0.01 Interrupt input 1 Quick-response input 1 CIO 0.02 Interrupt input 2 Quick-response input 2 CIO 0.03 Interrupt input 3 Quick-response input 3 CIO 1.00 Interrupt input 4 Quick-response input 4 CIO 1.01 Interrupt input 5 Quick-response input 5 CIO 1.02 Interrupt input 6 Quick-response input 6 CIO 1.03 Interrupt input 7 Quick-response input 7
NC 00 01 02 03 04 06 00 01 03 04 06
NC COM COM COM COM 05 07 COM 02 COM 05 07
Lower Terminal Block (Example: Transistor Outputs)
CIO 100 CIO 101
Normal output terminals
Output
terminal
block
When the
instructions to
the right are
not executed
When a pulse output instruction
(SPED, ACC, PLS2, or ORG) is
executed
When the origin search
function is set to be used in
the PLC Setup, and an
origin search is executed by
the ORG instruction
When the PWM
instruction is
executed
Word Bit No rmal
outputs
Fixed duty ratio pulse output Variable duty ratio
pulse output
CW/CCW Pulse plus
direction
+ When the origin search
function is used
PWM output
CIO 100
00 Normal output 0 Pulse output 0
(CW)
Pulse output 0 (pulse)
--- ---
01 Normal output 1 Pulse output 0
(CCW)
Pulse output 1 (pulse)
--- ---
02 Normal output 2 Pulse output 1
(CW)
Pulse output 0 (direction)
--- ---
03 Normal output 3 Pulse output 1
(CCW)
Pulse output 1 (direction)
--- ---
04 Normal output 4 Pulse output 2
(CW)
Pulse output 2 (pulse)
--- ---
05 Normal output 5 Pulse output 2
(CCW)
Pulse output 2 (direction)
--- ---
06 Normal output 6 Pulse output 3
(CW)
Pulse output 3 (pulse)
--- ---
07 Normal output 7 Pulse output 3
(CCW)
Pulse output 3 (direction)
--- ---
Page 92
58
Specifications Section 2-2
Output Specifications
Relay Outputs
Under the worst conditions, the service life of output contacts is as shown above. The service life of relays is as shown in the following diagram as a guideline.
CIO 101
00 Normal output 8 --- --- --- PWM output 0 01 Normal output 9 --- --- --- PWM output 1 02 Normal output 10--- --- Origin search 0 (Error counter
reset output)
---
03 Normal output 11--- --- Origin search 1 (Error counter
reset output)
---
04 Normal output 12--- --- Origin search 2 (Error counter
reset output)
---
05 Normal output 13--- --- Origin search 3 (Error counter
reset output)
---
06 Normal output 14--- --- --- ---
07 Normal output 15--- --- --- ---
Output
terminal
block
When the
instructions to
the right are
not executed
When a pulse output instruction
(SPED, ACC, PLS2, or ORG) is
executed
When the origin search
function is set to be used in
the PLC Setup, and an
origin search is executed by
the ORG instruction
When the PWM
instruction is
executed
Word Bit No rmal
outputs
Fixed duty ratio pulse output Variable duty ratio
pulse output
CW/CCW Pulse plus
direction
+ When the origin search
function is used
PWM output
Item Specification
Max. switching capacity 2 A, 250 VAC (cosφ = 1)
2 A, 24 VDC (4 A/common) Min. switching capacity 10 mA, 5 VDC Service life
of relay
Electrical Resistive
load
100,000 operations (24 VDC)
Inductive load
48,000 operations (250 VAC, coφs = 0.4)
Mechanical 20,000,000 operations ON delay 15 ms max. OFF delay 15 ms max. Circuit configuration
COM
OUT
OUT
Output LED
Internal circuits
Maximum 250 VAC: 2 A 24 VDC: 2 A
Page 93
59
Specifications Section 2-2
Transistor Outputs (Sinking or Sourcing)
Normal Outputs
300
500
200
100
50
30
20
5
3 2
10
0.1 0.2 0.3 0.5 0.7 1 2 3 5 10
Life (× 10
4
)
Contact current (A)
125 VAC resistive load
30 VDC/250 VAC resistive load
30 VDC τ = 7 ms
125 VAC cosφ = 0.4
250 VAC cosφ = 0.4
4
0
55
0
3
47
Common terminal current (A)
Ambient temperature (°C)
Item Specification
CIO 100.00 to CIO 100.07 CIO 101.00 and
CIO 101.01
CIO 101.02 to
CIO 101.07
Max. switching capac­ity
4.5 to 30 VDC, 300 mA/output, 0.9 A/common, 3.6 A/Unit (See notes 2 and 3.)
Min. switching capacity 4.5 to 30 VDC, 1 mA Leakage current 0.1 mA max. Residual voltage 0.6 V max. 1.5 V max. ON delay 0.1 ms max. OFF delay 0.1 ms max. 1 ms max.
Page 94
60
Specifications Section 2-2
Note (1) The fuse cannot be replaced by the user.
(2) Also do not exceed 0.9 A for the total for CIO 100.00 to CIO 100.03. (3) If the ambient temperature is maintained below 50°C, up to 0.9 A/com-
mon can be used.
!Caution Do not connect a load to an output terminal or apply a voltage in excess of the
maximum switching capacity.
Pulse Outputs (CIO 100.00 to CIO 100.07)
Fuse 1 fuse/common (See note 1.) Circuit configuration • Normal outputs CIO 100.00 to CIO 100.07
(Sinking Outputs)
• Normal outputs CIO 100.00 to CIO 100.07 (Sourcing Outputs)
• Normal outputs CIO 101.00, CIO 101.01 and CIO 101.02 to CIO 101.07 (Sinking Outputs)
• Normal outputs CIO 101.00, CIO 101.01 and CIO 101.02 to CIO 101.07 (Sourcing Outputs)
Item Specification
CIO 100.00 to CIO 100.07 CIO 101.00 and
CIO 101.01
CIO 101.02 to
CIO 101.07
OUT
OUT
COM (−)
L
L
Internal circuits
Internal circuits
24 VDC/
4.5 to 30 VDC
OUT
OUT
COM (+)
L
L
Internal circuits
Internal circuits
24 VDC/
4.5 to 30 VDC
OUT
OUT
COM (−)
L
L
Internal circuits
24 VDC/4.5 to 30 VDC
OUT
OUT
COM (+)
L
L
Internal circuits
24 VDC/4.5 to 30 VDC
0.9
0.6
0
5550
0
Common terminal current (A)
Ambient temperature (°C)
Item Specification
Max. switching capacity 30 mA/4.75 to 26.4 VDC Min. switching capacity 7 mA/4.75 to 26.4 VDC Max. output frequency 100 kHz Output waveform
4 µs min.
2 µs min.
ON
90%
10%
OFF
Page 95
61
Specifications Section 2-2
Note (1) The load for the above values is assumed to be the resistance load, and
does not take into account the impedance for the connecting cable to the load.
(2) Due to distortions in pulse waveforms resulting from connecting cable im-
pedance, the pulse widths in actual operation may be smaller than the values shown above.
PWM Outputs (CIO 101.00 and CIO 101.01)
2-2-4 Built-in Analog I/O Specifications (XA CPU Units Only)
Analog I/O Terminal Block Arrangement
Note Do not connect the shield.
Item Specification
Max. switching capacity 30 mA/4.75 to 26.4 VDC Max. output frequency 1 kHz PWM output accuracy For ON duty +5%, 0%/1 kHz output. Output waveform
ON
t
ON
T
OFF
× 100%
t
ON
T
ON duty =
Pin Function Pin Function
1IN1+ 9OUT V1+ 2IN1 10 OUT I1+ 3 IN2+ 11 OUT 1 4IN2 12 OUT V2+ 5 IN3+ 13 OUT I2+ 6IN3 14 OUT 2− 7 IN4+ 15 IN AG* 8IN4 16 IN AG*
A/D
D/A
1234 5678
9 101112 13141516
Page 96
62
Specifications Section 2-2
Analog I/O Specifications
Note (1) The built-in analog input switch is used for toggling between voltage input
and current input. (The default setting at the time of shipping is for voltage input.)
(2) Switching between 1/6,000 and 1/12,000 resolution is done in the PLC
Setup. The same resolution setting is used for all I/O words. It is not pos­sible to set them individually.
(3) The total conversion time is the total of the conversion times for all the
points that are used. It would be 6 ms for 4 analog inputs and 2 analog outputs.
(4) When the analog current output is within 0 to 20 mA, the accuracy cannot
be ensured if below 0.2 mA.
Model CP1H-XA40DR-A
CP1H-XA40DT-D
CP1H-XA40DT1-D
Item Voltage I/O (See note 1.) Current I/O (See note 1.)
Analog Input Sec­tion
Number of inputs
4 inputs (4 words allocated)
Input signal range
0 to 5 V, 1 to 5 V, 0 to 10 V, or 10 to 10 V 0 to 20 mA or 4 to 20 mA
Max. rated input ±15 V ±30 mA External input
impedance
1 MΩ min. Approx. 250 Ω
Resolution 1/6000 or 1/12000 (full scale) (See note 2.) Overall accu-
racy
25°C: ±0.3% full scale/0 to 55°C: ±0.6% full scale
25°C: ±0.4% full scale/0 to 55°C: ±0.8% full scale
A/D conversion data
Full scale for 10 to 10 V: F448 (E890) to 0BB8 (1770) hex Full scale for other ranges: 0000 to 1770 (2EE0) hex
Averaging func­tion
Supported (Set for individual inputs in the PLC Setup.)
Open-circuit detection func­tion
Supported (Value when disconnected: 8000 hex)
Analog Out­put Section
Number of out­puts
2 outputs (2 words allocated)
Output signal range
0 to 5 V, 1 to 5 V, 0 to 10 V, or 10 to 10 V 0 to 20 mA or 4 to 20 mA (See note 4.)
Allowable exter­nal output load resistance
1 k min. 600 max.
External output impedance
0.5 max. ---
Resolution 1/6000 or 1/12000 (full scale) (See note 2.) Overall accu-
racy
25°C: ±0.4% full scale/0 to 55°C: ±0.8% full scale
D/A conversion data
Full scale for 10 to 10 V: F448 (E890) to 0BB8 (1770) hex
Full scale for other ranges: 0000 to 1770 (2EE0) hex Conversion time 1 ms/point (See note 3.) Isolation method Photocoupler isolation between analog I/O terminals and internal circuits. No isolation
between analog I/O signals.
Page 97
63
Specifications Section 2-2
2-2-5 I/O Specifications for Y CPU Units
Relationship between Built-in Inputs and Terminal Block Arrangement
Terminal Block Arrangement
Setting Input Functions in the PLC Setup
Functions for the normal input terminals in the built-in inputs can be individu­ally allocated by making selections in the PLC Setup.
Note High-speed counter terminals are line -river inputs, so they cannot be used as
normal inputs.
++
A0+ B0+ Z0+ A1+ B1+ Z1+
A0B0Z0A1B1Z1
NC
COM 01 05 11 01 03 05
00 04 10 00 02 04
Upper Terminal Block
24-VDC input terminals
Special high-speed counter terminals CIO 0 CIO 1
Normal input terminals
Input terminal
block
Input operation setting High-speed counter
operation setting
Origin search
function
Word Ter minal/
Bit
Normal
inputs
Interrupt
inputs
(See note.)
Quick-
response
inputs
High-speed counters 0 to 3
set to be used.
Origin search
function for pulse
outputs 0 and 1 set
to be used.
--- A0 --- --- --- High-speed counter 0
(phase-A, increment, or count input) fixed
---
--- B0 --- --- --- High-speed counter 0
(phase-B, decrement, or direction input) fixed
---
--- Z0 --- --- --- High-speed counter 0
(phase-Z/reset) fixed
Pulse 0 origin input signal (line driver)
--- A1 --- --- --- High-speed counter 1
(phase-A, increment, or count input) fixed
---
--- B1 --- --- --- High-speed counter 1
(phase-B, decrement, or direction input) fixed
---
--- Z1 --- --- --- High-speed counter 1
(phase-Z/reset) fixed
Pulse 1 origin input signal (line driver)
CIO 0 00 Normal input 0Interrupt
input 0
Quick-response input 0
--- Pulse 2 origin proxim­ity input signal
01 Nor mal input 1Interrupt
input 1
Quick-response input 1
High-speed counter 2 (phase-Z/reset)
---
04 Nor mal input 2--- --- High-speed counter 2
(phase-A, increment, or count input)
---
05 Nor mal input 3--- --- High-speed counter 2
(phase-B, decrement, or direction input)
---
10 Nor mal input 4--- --- High-speed counter 3
(phase-A, increment, or count input)
---
11 Nor mal input 5--- --- High-speed counter 3
(phase-B, decrement, or direction input)
Pulse 3 origin proxim­ity input signal
Page 98
64
Specifications Section 2-2
Note Set using the MSKS instruction in direct mode or counter mode.
Input Specifications
Special High-speed Counter Inputs
Note The power supply at the line-driver must 5 V ±5% max.
CIO 1 00 Normal input 6Interrupt
input 2
Quick-response input 2
High-speed counter 3 (phase-Z/reset)
Pulse 3 origin input signal
01 Nor mal input 7Interrupt
input 3
Quick-response input 3
--- Pulse 2 origin input signal
02 Nor mal input 8Interrupt
input 4
Quick-response input 4
--- Pulse 1 origin input signal (open collector)
03 Nor mal input 9Interrupt
input 5
Quick-response input 5
--- Pulse 0 origin input signal (open collector)
04 Nor mal input 10--- --- --- Pulse 1 origin proxim-
ity input signal
05 Nor mal input 11--- --- --- Pulse 0 origin proxim-
ity input signal
Input terminal
block
Input operation setting High-speed counter
operation setting
Origin search
function
Word Ter minal/
Bit
Normal
inputs
Interrupt
inputs
(See note.)
Quick-
response
inputs
High-speed counters 0 to 3
set to be used.
Origin search
function for pulse
outputs 0 and 1 set
to be used.
Item High-speed counter inputs, phase A and
phase B
High-speed counter inputs, phase Z
Input voltage RS-422A line-driver, AM26LS31 or equivalent (See note.) Applicable inputs Line-driver inputs Input current 10 mA typical 13 mA typical Circuit configuration
ON/OFF delay • 1-MHz 50% duty ratio pulses, in phase-A or
phase-B pulse plus direction input mode, incre­ment mode, or up/down mode
• Differential phase mode
•Phase Z
+
680
180 pF
330
330
Internal circuits
180
+
560
6800 pF
180
Internal circuits
OFF
ON
0.5 µs min.
0.5 µs min.
1 µs min.
OFF
ON
T1 T2
2 µs min.
OFF
ON
T3 T4
T1, T2, T3, T4: 0.5 µs min.
Phase A
Phase B
OFF
ON
90 µs min.
Page 99
65
Specifications Section 2-2
Normal Inputs
High-speed Counter Inputs
Item Specification
CIO 0.04, CIO 0.05,
CIO 0.10, and
CIO 0.11
CIO 0.00,
CIO 0.01, and
CIO 1.00 to
CIO 1.03
CIO 1.04 and
CIO 1.05
Input voltage
24 VDC
+10%
/
15%
Applicable inputs 2-wire and 3-wire sensors Input impedance 3.0 k 3.0 k 4.7 k Input current 7.5 mA typical 7.5 mA typical 5 mA typical ON voltage 17.0 VDC min. 17.0 VDC min. 14.4 VDC min. OFF voltage/current 5.0 VDC max.,
1mA max.
5.0 VDC max., 1mA max.
5.0 VDC max.,
1mA max. ON delay 2.5 µs max. 50 µs max. 1 ms max. OFF delay 2.5 µs max. 50 µs max. 1 ms max. Circuit configuration
Differential
input mode
Pulse plus
direction
input mode
Up/down
input mode
Increment
mode
A0+/A0 A1+/A1
A-phase pulse input
Pulse input Increment
pulse input
Increment pulse input
B0+/B0 B1+/B1
B-phase pulse input
Direction input Decrement
pulse input
Normal input
Z0+/Z0 Z1+/Z1
Z-phase pulse input or hardware reset input (Can be used as ordi­nary inputs when high-speed counter is not being used.)
IN
IN
COM
3.0 k
.4.3 k
1000 pF
3.0 k
1000 pF
IN
IN
COM
910
IN
IN
COM
4.7 k
750
Input bits: CIO 0.04, CIO 0.05, CIO 0.10, CIO 0.11
Input bits: CIO 0.00, CIO 0.01, CIO 1.00 to CIO 1.03
Input bits: CIO 1.04, CIO 1.05
Input LED
Input LED
Input LED
Internal circuits
Internal circuits
Internal circuits
Page 100
66
Specifications Section 2-2
Inputs and Terminal Numbers for High-speed Counters
Input terminals: A0+/A0−/A1+A1− (Phase A)
B0+/B0/B1+/B1 (Phase B)
Pulse plus direction input mode Increment mode
Interrupt Inputs and Quick-response Inputs
The following inputs can be used not only as normal inputs but also as inter­rupt or quick-response inputs depending on the settings in the PLC Setup.
The ON/OFF response time is 8 ms for normal inputs, but it can be changed in the PLC Setup to 0, 0.5, 1, 2, 4, 8, 16, or 32 ms.
Max. count fre­quency
500 kHz (4×)1 MHz
0.04, 0.10 A-phase pulse
input
Pulse input Increment
pulse input
Increment pulse input
0.05, 0.11 B-phase pulse
input
Direction input Decrement
pulse input
Normal input
0.01, 1.00 Z-phase pulse input or hardware reset input (Can be used as ordi-
nary inputs when high-speed counter is not being used.)
Max. count fre­quency
50 kHz (4×) 100 kHz
Differential
input mode
Pulse plus
direction
input mode
Up/down
input mode
Increment
mode
Phase A Phase B Phase Z
High-speed counter 0 A0+/A0 B0+/B0 Z0+/Z0− High-speed counter 1 A1+/A1 B1+/B1 Z0+/Z0− High-speed counter 2 CIO 0.04 CIO 0.05 CIO 0.01 High-speed counter 3 CIO 0.10 CIO 0.11 CIO 1.00
90%
10%
50 µs min.
50 µs min.
ON
OFF
10.0 µs min.
ON
OFF
ON
OFF
ON
OFF
T1T2T3T
4
T1, T2, T3, T4: 2.5 µs min.
90% 50% 10%
90% 50% 10%
90% 50% 10%
2.5 µs min.
2.5 µs min.
20.0 µs min.
Up/down input mode Differential phase mode
Input terminals/bits: Z0+/Z1+/CIO 0.01/CIO 1.00
Phase A
Phase B
Input bit Interrupt inputs Quick-response inputs
CIO 0.00 Interrupt input 0 Quick-response input 0 CIO 0.01 Interrupt input 1 Quick-response input 1 CIO 1.00 Interrupt input 2 Quick-response input 2 CIO 1.01 Interrupt input 3 Quick-response input 3 CIO 1.02 Interrupt input 4 Quick-response input 4 CIO 1.03 Interrupt input 5 Quick-response input 5
Loading...