Omron CP1L-L14D Series, CP1L-J14D Series, CP1L-L20D Series, CP1L-M30D Series, CP1L-M40D Series Getting Started Manual

...
CP1L CPU Unit
Cat. No. W07E-EN-02
CP1L-J14D@-@ CP1L-J20D@-@ CP1L-L10D@-@ CP1L-L14D@-@ CP1L-L20D@-@ CP1L-M30D@-@ CP1L-M40D@-@ CP1L-M60D@-@
GETTING STARTED GUIDE
CP1L CPU Unit
Getting Started Guide
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property.
DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury. Additionally, there may be severe property damage.
WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury. Additionally, there may be severe property damage.
Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PLC” means Programmable Controller. “PC” is used, however, in some CX-Pro­grammer 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.
Trademarks
Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
SYSMAC is a registered trademark of OMRON’s Programmable Controllers.
Other brand and product names are trademarks or registered trademarks of their respective owners.
© OMRON, 2007
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is sub­ject 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.
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.
2
TABLE OF CONTENTS
PRECAUTIONS ............................................................... 9
1 Intended Audience.................................................................................................... 10
2 General Precautions................................................................................................. 10
3 Safety Precautions ................................................................................................... 10
4 Application Precautions ............................................................................................ 10
SECTION 1CP1L Overview ........................................... 11
1-1 CP1L Models ............................................................................................................ 12
1-2 Part Names and Functions ....................................................................................... 15
SECTION 2Designing Systems...................................... 19
2-1 Organization of this Manual...................................................................................... 20
2-2 About the Shutter Control System ............................................................................ 22
2-3 I/O Allocation for the Shutter Control System........................................................... 24
2-4 Example Ladder Program......................................................................................... 26
SECTION 3Mounting and Wiring ................................... 27
3-1 Installation Notes ...................................................................................................... 28
3-2 Mounting onto DIN Tracks ........................................................................................ 31
3-3 Wiring Devices.......................................................................................................... 32
3-4 Power Testing CP1L................................................................................................. 35
SECTION 4Creating Programs ...................................... 37
4-1 Preparing for Programming ...................................................................................... 38
4-2 Creating Ladder Programs ....................................................................................... 44
4-3 Using CX-Programmer ............................................................................................. 47
4-4 Using the Help .......................................................................................................... 50
4-5 Inputting Programs ................................................................................................... 53
4-6 Saving/Loading Programs ........................................................................................ 70
4-7 Editing Programs ...................................................................................................... 73
SECTION 5Transferring and Debugging Programs ....... 77
5-1 Going Online............................................................................................................. 78
5-2 Adjusting/Debugging Online ..................................................................................... 85
Appendix ........................................................................ 95
A-1 Channel/Relay Numbers .......................................................................................... 96
A-2 Instructions ............................................................................................................. 101
A-3 Inner Workings of CP1L ......................................................................................... 105
A-4 CP1L Programming Examples ............................................................................... 114
3
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.
This manual is intended for first-time users of the SYSMAC CP series. The basic use of the series is explained based on SYSMAC CP1L.
Circuit configurations, wiring methods, and programs provided in this manual are given strictly as examples. When constructing an actual system, check the specifications, performance, and safety of each component by referring to the respective manuals.
Ladder programs in this manual are provided strictly as examples. When designing the actual circuits, take adequate safety measures.
Precautions provide general precautions for using the Programmable Controller and related devices.
Section 1 introduces the types of CP1L, as well the part names.
Section 2 explains how to construct a CP1L system, using a shutter control system as an example.
Section 3 explains the how to install CP1L onto a DIN track, how to wire power supply and I/O lines,
and how to test operation.
Section 4 explains the basic functions of CX-Programmer creating the ladder program for the shutter control system.
Section 5 describes how to transfer and debug programs.
The Appendices provide channel/relay numbers, instructions, inner workings of CP1L, and CP1L pro­gramming examples.
4
Related Manuals
The following manuals are used for the CP-series CPU Units. Refer to these manuals as required.
Cat. No. Manual name Description
W462 SYSMAC CP Series CP1L
CPU Unit User’s Manual
W451 SYSMAC CP Series
CP1H/CP1L CPU Unit Pro­gramming Manual
W446 SYSMAC CX-Programmer
Operation Manual
Explains the system configuration, installation, wir­ing, I/O allocation, pulse/counter functions, and expansion unit connections in details. Also provides information on errors, troubleshooting, mainte­nance, and inspection.
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).
Provides information on installing and operating the CX-Programmer for all functions except for function blocks.
5
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.
6
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.
7
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.
8
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2 General Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
9
Intended Audience
1 Intended Audience
This manual is intended for the following personnel, who must also have
knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.
2 General Precautions
The user must operate the product according to the performance
specifications described in the operation manuals.
Before using the product under conditions which are not described in the
manual or applying the product to nuclear control systems, railroad systems,
aviation systems, vehicles, combustion systems, medical equipment,
amusement machines, safety equipment, and other systems, machines, and
equipment that may have a serious influence on lives and property if used
improperly, consult your OMRON representative.
Make sure that the ratings and performance characteristics of the product are
sufficient for the systems, machines, and equipment, and be sure to provide
the systems, machines, and equipment with double safety mechanisms.
This manual provides information for programming and operating the Unit. Be
sure to read this manual before attempting to use the Unit and keep this
manual close at hand for reference during operation.
WARNING It is extremely important that a PLC and all PLC Units be used for the
specified purpose and under the specified conditions, especially in
applications that can directly or indirectly affect human life. You must consult
with your OMRON representative before applying a PLC System to the
above-mentioned applications.
3 Safety Precautions
Caution When power is ON or has just been turned OFF, do not touch the power
supply, I/O terminals, or the surrounding areas. Doing so may result in burns.
After turning the power OFF, wait for the unit to cool down sufficiently before
touching it.
Caution Secure the AC power supply line to the terminal block with a 0.5N
torque. Loosening the screw may result in a fire or malfunction.
Caution Before starting online editing, confirm that the extension of cycle time will
have no adverse effects. Otherwise, input signals may not be read.
4 Application Precautions
Caution Confirm that the facility will not be affected by changing to MONITOR or RUN
mode.
·m of
10
SECTION 1
CP1L Overview
This section introduces the types of CP1L, as well the part names used during operation.
1-1 CP1L Models ........................................................................ 12
1-2 Part Names and Functions ................................................... 15
1
CP1L Overview
1
CP1L Overview
1-1 CP1L Models
CP1L programmable controller is a PLC package type, available with 10, 14, 20, 30, 40, or 60 I/O points.
For application examples that use CP1L, refer to appendix A-4 CP1L Programming Examples.
10-point I/O Units (CP1L-L10D-)
• The CPU Unit has 6 inputs and 4 outputs built in.
• The PLC cannot use CP-series Expansion I/O Units to expand the maximum total of I/O points.
14-point I/O Units (CP1L-L14D-/CP1L-J14D-)
• CPU unit has 8 input points and 6 output points.
• CP-series expansion I/O units can be used to add I/O points, up to a total of 54 I/O points.
12 SYSMAC CP1L Getting Started Guide
20-point I/O Units (CP1L-L20D-/CP1L-J20D-)
• CPU unit has 12 input points and 8 output points.
• CP-series expansion I/O units can be used to add I/O points, up to a total of 60 I/ O points.
30-point I/O Units (CP1L-M30D-)
• CPU unit has 18 input points and 12 output points.
• CP-series expansion I/O units can be used to add I/O points, up to a total of 150 I/O points .
1-1 CP1L Models
1
1
CP1L Overview
SYSMAC CP1L Getting Started Guide 13
1
CP1L Overview
1-1 CP1L Models
1
40-point I/O Units (CP1L-M40D-)
• CPU unit has 24 input points and 16 output points.
• CP-series expansion I/O units can be used to add I/O points, up to a total of 160 I/O points.
60-point I/O Units (CP1L-M60D-)
• CPU unit has 36 input points and 24 output points.
• CP-series expansion I/O units can be used to add I/O points, up to a total of 180
14 SYSMAC CP1L Getting Started Guide
1-2 Part Names and Functions
1-2 Part Names and Functions
This section describes the part names and functions, using the 14-point I/O unit as an example.
14-point I/O Unit
1
1
CP1L Overview
(1) Memory cassette slot
Used to attach a memory cassette (15). Memory cassettes can be used to store backups for CP1L programs, parameters, and data memory. They also allow you to copy data to other CP1L units without using a programming tool (software).
(2) Peripheral USB port
Used for connection to a computer. Computers can be used for programming and monitoring.
(3) Analog adjuster
Rotate to adjust the value for auxiliary area A642CH to within the 0 to 255 range. Use to change timer and counter settings without using a programming tool (software).
(4) External analog settings input connector
Takes an external input between 0 and 10V, and changes the value for auxiliary area A643CH to a value between 0 and 256. This input is not isolated.
(5) DIP switches
Used for settings such as write-permission on user memory, automatic transfers from memory cassettes, and tool bus use. For details, refer to 2-1 Part Names and Functions of CP Series CP1L CPU Unit User's Manual (W462).
(6) Battery
Maintains the internal clock and RAM contents while the power supply is OFF.
SYSMAC CP1L Getting Started Guide 15
1
CP1L Overview
1-2 Part Names and Functions
1
(7) Operation indicators
(8) Power supply, ground, and input terminal block
(9) Input indicators
(10) Option board slot
(11) Expansion I/O unit connector
Indicates the operating status of CP1L. Indicated statuses include power status, operating mode, errors, and peripheral USB communication status.
Used to connect the power supply line, ground line, and input lines.
Lit when the corresponding input terminal contact is ON.
Used to install an RS-232C option board (16) or an RS-422A/485 option board (17). 14/20-point I/O units may have 1 serial communication option board installed. 30/40/60-point I/O units may have up to 2 serial communication option boards installed.
Used to connect CP-series expansion I/O units and expansion units. 14/20­point I/O units may have 1 expansion unit connected. 30/40/60-point I/O units may have up to 3 expansion units connected.
(12) Output indicators
Lit when the corresponding output terminal contact is ON.
(13) External power supply and output terminal block
• External power supply terminal: Units that use AC power supply have a 24VDC external power supply terminal with a maximum capacity of 300mA.This can be used as a service power supply for input devices.
• Output terminals: Used to connect output lines.
(14) DIN track mounting pin
Used for mounting unit to a DIN track.
(15) Memory cassette (optional)
Used to store data from the built-in flash memory. Insert into memory cassette slot (1).
(16) RS-232C option board
Insert into option board slot (10).
(17) RS-422A/485 option board
Insert into option board slot (10).
16 SYSMAC CP1L Getting Started Guide
zIndicator Statuses
This section describes the operating statuses of CP1L as displayed by the operation indicators.
1-2 Part Names and Functions
1
1
CP1L Overview
POWER (Green)
RUN (Green)
ERR/ALM (Red)
INH (Yellow)
PRPHL (Yellow)
BKUP (Yellow)
Lit Power is ON.
Not lit Power is OFF.
Lit CP1L is executing a program in either RUN or MONITOR mode.
Not lit Operation is stopped in PROGRAM mode, or stopped due to a fatal error.
Lit A fatal error (including FALS execution) or a hardware error (WDT error)
has occurred. CP1L operation will stop, and all outputs will be turned OFF.
Blinking A non-fatal error (including FAL execution) has occurred.
CP1L operation will continue.
Not lit Operation normal.
Lit The output OFF bit (A500.15) has turned ON.
All outputs will be turned OFF.
Not lit Operation normal.
Blinking Communication (either sending or receiving) is active on the peripheral
USB port.
Not lit Any other state.
Lit • User program, parameter, or data memory is being written to or read
from the built-in flash memory (backup memory).
• User program, parameter, data memory, DM defaults, or comment memory is being written to or read from the memory cassette.
• User programs, parameters, and data memory are being restored following a PLC power-on.
Note: Do not turn the PLC power supply OFF while this indicator is lit.
Not lit Any other state.
SYSMAC CP1L Getting Started Guide 17
1
CP1L Overview
1-2 Part Names and Functions
1
18 SYSMAC CP1L Getting Started Guide
SECTION 2
Designing Systems
This section explains how to construct a CP1L system, using a shutter control system as an example. All subsequent sections are written based on the sample program used in this section.
2-1 Organization of this Manual .................................................. 20
2-2 About the Shutter Control System ........................................ 22
2-2-1 Operation........................................................................ 22
2-2-2 System Components ...................................................... 23
2-3 I/O Allocation for the Shutter Control System ....................... 24
2-4 Example Ladder Program..................................................... 26
2
Designing Systems
2-1 Organization of this Manual
Sections 2 through 5 of this manual explain the construction process of a CP1L system, from design to operation, using a shutter control system as an example. Section contents are as follows:
2
Designing Systems
Section 2: Workflow from design to operation, shutter control system
specifications, components, and I/O allocation.
Section 3: CP1L installation, component wiring, and power testing.
Section 4: Connecting CP1L to a computer, and creating ladder programs.
Section 5: Setting PLC clock and PLC operation mode, transferring data from
computer to CP1L, operation, adjustment, and debugging.
Note Circuit configurations, wiring methods, and programs provided in this manual
are given strictly as examples. When constructing an actual system, check the specifications, performance, and safety of each component by referring to the respective manuals.
20 SYSMAC CP1L Getting Started Guide
2-1 Organization of this Manual
zWorkflow from Design to Operation
The workflow for constructing a CP1L shutter control system is shown below. For details, refer to the respective sections of the manual.
2
I/O allocation
· Allocate relay numbers to sensors and switches
Preparing the equipment
· Equipment preparation
· Wire power supply and ground
· Wire I/O devices
Supplying power to CP1L
· Test PLC operation
Preparing to write program
· Install USB driver onto computer
· Connecting CP1L to a computer
Writing programs
· Enter ladder programs in CX-Programmer
· Compile
· Save
· Edit
Refer to 2-3 I/O Allocation for the Shutter Control System.
Refer to 3-2 Mounting onto DIN Tracks and 3-3 Wiring Devices.
Refer to 3-4 Power Testing CP1L.
Refer to 4-1 Preparing for Programming.
Refer to 4-2 Creating a Ladder Program, 4-3 Using
CX-Programmer, 4-5 Inputting Programs, 4-6 Saving/ Loading Programs, and 4-7 Editing Programs.
2
Designing Systems
Going online with CP1L and the computer
· Set the CP1L clock
· Switch to PROGRAM mode.
· Transfer the program
Online debugging
· Monitor power
· Force-set/force-reset commands
· Online Editing
Production run
Refer to 5-1 Going Online.
Refer to 5-2 Adjusting/Debugging Online.
Refer to 5-1 Going Online.
SYSMAC CP1L Getting Started Guide 21
2
Designing Systems
2-2 About the Shutter Control System
2
2-2 About the Shutter Control System
This section defines the operation and components of a shutter control system.
2-2-1 Operation
This section defines the operation of a shutter control system.
A car approaches the shutter.
• When a sensor detects 3 headlight flashes within 5 seconds, the shutter opens.
• The shutter can also be opened, closed, and stopped with buttons.
• When a sensor detects full car entrance into the garage, the shutter closes.
• When pulling the car out of the garage, use the buttons to operate the shutter.
22 SYSMAC CP1L Getting Started Guide
2-2-2 System Components
This section defines components to be used in the shutter control system. The following components are to be used.
zPLC
• CP1L (14-point I/O unit with AC power supply)
2-2 About the Shutter Control System
2
2
zEquipment and Software for Programming
• CX-Programmer
•Computer
• USB cable (A-B)
zInputs
• Shutter OPEN button : PB1
• Shutter STOP button : PB2
• Shutter CLOSE button : PB3
• Car detection sensor : SEN1
• Headlight detection sensor : SEN2
• Limit switch, turned ON when shutter is fully open : LS1
• Limit switch, turned ON when shutter is fully closed : LS2
zOutputs
• Contact for activating the shutter escalation motor : MO1
• Contact for activating the shutter de-escalation motor : MO2
Designing Systems
SYSMAC CP1L Getting Started Guide 23
2
Designing Systems
2-3 I/O Allocation for the Shutter Control System
2
2-3 I/O Allocation for the Shutter Control System
I/O relays on CP1L are allocated to contacts as defined by following.
zInputs
Device Contact Address
OPEN button PB1 0.00
STOP button PB2 0.01
CLOSE button PB3 0.02
Car detection sensor
Light detection sensor
Upper limit LS LS1 0.05
Lower limit LS LS2 0.06
zOutputs
Device Contact Address
Escalation motor MO1 100.00
De-escalation motor MO2 100.01
SEN1 0.03
SEN2 0.04
24 SYSMAC CP1L Getting Started Guide
2-3 I/O Allocation for the Shutter Control System
Used as work area
zI/O Allocation on CP1L with 14-point I/O
8 inputs
2
Input Area
Output Area
100 CH
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
0 CH
0 CH (0.00~0.07)
100 CH (100.00~100.05)
6 outputs
Not available
Allocate
Allocate
Input area : 8 inputs
Output area : 6 outputs
On 14-point I/O units, 8 inputs, from 0.00 to 0.07 (bits 00 to 07 on 0CH), are allocated to the input terminal block. Also, 6 output relays, from 100.00 to 100.05 (bits 00 to 05 on 100CH), are allocated to the output terminal block. Unused upper bits on the input channel (bits 08 to 15) cannot be used as a work area. Unused upper bits on the output channel (bits 06 to 15) , however, can be used.
2
Designing Systems
SYSMAC CP1L Getting Started Guide 25
2-4 Example Ladder Program
2
2-4 Example Ladder Program
An example ladder program for the shutter control system is shown below. Program creation is explained in SECTION 4.
2
Designing Systems
0.04
Light detection sensor
W0.00
Work area
W0.00
Work area
0.04
Light detection sensor
T0000
Timer
C0000
Counter
A200.11
T0000
Timer
W0.00
Work area
TIM
0000
#50
CNT
0000
#3
Timer
Counter
P_First_Cycle First cycle flag
C0000
Counter
0.00
OPEN button
100.00
Escalation motor
0.02
CLOSE button
100.01
De-escalation motor
0.03
Car detection sensor
0.01
STOP button
0.01
STOP button
0.05
Upper limit LS
0.06
Lower limit LS
100.01
De-escalation motor
100.00
Escalation motor
100.00
Escalation motor
100.01
De-escalation motor
26 SYSMAC CP1L Getting Started Guide
SECTION 3
Mounting and Wiring
This section explains how to install CP1L onto a DIN track, how to wire power supply and I/O lines, and how to test operation.
3-1 Installation Notes .................................................................. 28
3-2 Mounting onto DIN Tracks .................................................... 31
3-3 Wiring Devices...................................................................... 32
3-3-1 Connecting Power Supply and Ground Lines ................ 32
3-3-2 Connecting I/O Lines ...................................................... 33
3-4 Power Testing CP1L ............................................................. 35
3
Mounting and Wiring
3
Mounting and Wiring
3-1 Installation Notes
For improved reliability and maximized functionality, take the following factors into consideration when installing a CP1L system.
Installation Location
Do not install in the following locations:
• Locations subject to ambient temperature lower than 0°
°C.
55
• Locations subject to dramatic temperature changes, causing possible condensation.
• Locations subject to relative humidity lower than 10%RH or higher than 90%RH.
• Locations subject to corrosive or flammable gases.
• Locations subject to excessive dust, salt, or metal powder.
• Locations subject to shock or vibration.
• Locations exposed to direct sunlight.
• Locations subject to water, oil, or chemical reagent splashes.
C or higher than
Shield the system sufficiently when installing in the following locations:
• Locations subject to static electricity and other forms of noise.
• Locations subject to strong electromagnetic fields.
• Locations subject to possible radioactive exposure.
• Locations in close proximity to close to power lines.
Installation into Cabinets and Control Panels
When installing CP1L into a cabinet or control panel, ensure adequate environment resistance, as well as sufficient accessibility for operation and maintenance.
zTemperature Control
The ambient operating temperature for CP1L is 0 to 55°C. The following precautions apply.
• Provide adequate space for air flow.
• Do not install above equipment, which generates significant heat (i.e. heaters, transformers, high-capacity resistors).
• If the ambient temperature is to exceed 55 conditioner.
°C, install a cooling fan or air
28 SYSMAC CP1L Getting Started Guide
(1) Control panel
(2) Fan
(3) Louver
zAccessibility for Operation and Maintenance
• For safety during operation and maintenance, separate the unit as far as possible from high-voltage equipment and power machinery.
• For ease of operation, mount the unit onto the control panel at a height of 1,000 to 1,600mm.
3-1 Installation Notes
3
3
Mounting and Wiring
Caution When power is ON or has just been turned OFF, do not touch the power supply,
I/O terminals, or the surrounding areas. Doing so may result in burns. After turning the power OFF, wait for the unit to cool down sufficiently before touching it.
zImproving Noise Resistance
• Avoid installing into a cabinet, which also has high-voltage equipment installed.
• Secure at a distance of 200mm or more from power lines.
Power Line
200mm min.
CP1L
• Properly ground the mounting plate between the unit and the mounting surface.
200mm min.
SYSMAC CP1L Getting Started Guide 29
Loading...
+ 137 hidden pages