文件名称:
欧姆龙CQM1/CPM1/CPM1A/SRM1 PLC操作手册.pdf
开发工具:
文件大小: 3mb
下载次数: 0
上传时间: 2019-10-09
详细说明:欧姆龙CQM1/CPM1/CPM1A/SRM1 PLC操作手册pdf,欧姆龙CQM1/CPM1/CPM1A/SRM1 PLC操作手册TABLE OF CONTENTS
PRECAUTIONS∴,,,,,,。,
●●●b●●●●●●D●●●●●●●·●●
XIII
1 Intended audience
2 General precautions
XIY
3 Safety Precautions
XIV
4 Application Precautions
XIV
SECTION 1
PC Setup and other Features...,.,,......
1-1 PC Setup·…
1-2 Basic PC Operation and I/O Processes
136
1-3 Pulse Output Function(CQMl Only
22
1-4 Pulsc Output Function(CPM1A Only)
35
1-5 CQMl Interrupt Functions
38
1-6 CPM1/CPMIA Interrupt Functions
67
1-7 SRMl Interrupt Functions
83
1-8 Compo Bus,S Distributed I/O Functions(SRM1 Only)
86
1-9 Communications functions
87
1-10 Calculating with Signed Binary Data
111
SECTION 2
Special Features...,.....,,...... 115
2-1 Expansion Instructions(CQM1SRM1 Only)................
116
2-2 Advanced I/O Instructions(COM1 Only)
118
2-3M
128
2-4 Differential monitor
129
2-5 Analog Settings(CQMI-CPU42-EV1/CPM1/CPMIA Only)
129
2-6 Quick-response Inputs(CPM1/ CPM1A Only)
131
sectiOn 3
Memory Areas ....,....
●●●●D●●●●●●●·●●●
133
3-1 CQM1 Memory Area Functions
····.···
134
3-2 CPMI/CPMIA Memory Area Functions
139
3-3 SRM1 Memory Area functions
143
3-4 SRMI Flash Memory
145
3-5 Using Memory Cassettes(CQMl Only
146
seCtION 4
Ladder-diagram Programming
●●●●●b●●●●●●●·●●●●
l51
4-1 Basic Procedure
152
4-2 Instruction Terminology
152
4-3 Basic Ladder Diagrams
153
4-4 Controlling Bit Status
··
173
4-5 Work Bits(Internal Relays)
175
4-6 Programming Precautions
177
4-7 Program Execution
179
TABLE OF CONTENTS
SECTION 5
Instruction set ................. 181
5-1 Notation
184
2 Instruction format
184
3 Data areas, Definer values,and且lags∴.∴…………
184
5-4 Differentiated Instructions
186
5-5 Coding right-hand Instructions..……
·····
186
5-6 Instruction tables
5-7 Ladder Diagram Instructions.,.......
196
8 Bit Control instructions
197
5-9 NO OPERATION-NOP(OO)
201
5-10END-END(01)
201
5-11 INTERLOCK and INTERLOCK CLEAR-IL(02)and ILC(o3)
201
5-12 JUMP and JUMP END-JMP(04)and JME(O5)
5-13 User Error Instru
FAILURE ALARM AND RESET-FAL(O6)and
SEVERE FAILURE ALARM一IALS(07).…
205
5-14 Step Instructions
STEP DEFINE and STEP START-STEP(O8)/SNXT(09)
206
5-15 Timer and Counter instructions
208
5-16 Shift Instructions
224
5-17 Data Movement Instructions
232
5-18 Comparison Instructions
242
5-19 Conversion instructions
252
5-20 BCD Calculation Instructions
278
5-21 Binary Calculation Instructions..........
289
5-22 Special Math Instructions
300
23 Logic Instructions
···.·.························
308
5-24 Increment/Decrement Instructions
·····
垂
311
5-25 Subroutine instructions
313
315
5-27 Communications Instructions
340
28 Advanced I/o Instructions
345
SECTION 6
Host link commands。.,
·······················
349
6-1 Communications Procedure
6-2 Command and response formats
352
6-3 Host link commands
356
SECtION 7
PC Operations and Processing Time
381
7-1 CQMl Cycle Time and IO Response Time
382
7-2 CPMl/ CPMIA Cycle Time and I/O Response Time
··
400
7-3 SRMl Cycle Time and I/O Response Time
411
sectiOn 8
Troubleshooting..,......,,...... 423
8-1 Introductie
424
8-2 Programming Console Opcration Errors..........
424
8-3 Programming errors
42
8-4 User-defined errors
426
Operating erro
427
8-6 Error Log
430
8-7 Host Link errors
432
8-8 Troubleshooting Flowcharts
TABLE OF CONTENTS
A
appendices
A Programming lnstructions
········
441
B Error and arithmetic Flag operation
447
C Memory Areas
451
D USing the Clock Function
469
E IO Assignment Sheet
471
F Program Coding sheet
单······
473
G List of fal numbers
477
H Extended ASCIi
479
I CPM1/CPM1A and CQMl Memory Arca Comparison
4····
481
Glossary∴.∴∴∴∴483
Index
499
Revision History ...,............. 507
About this manual
This manual describes programming of the CQM1, CPM1, CPM1A, and SRM1 Programmable Control-
lers, including memory structure, memory contents, ladder-diagram instructions, etc, and includes the
sections described below. Refer to the CQM1 Operation Manual, CPM1 Operation Manual, CPM1AOp
eration Manual, and sRM1 Master Control Units Operation Manual for hardware information and Pro
gramming Console operating procedures. Refer to the SSS Operation Manua/: C-series PCs for SSS op
erating procedures
Note The SRM1 is a specialized programmable controller and is normally called a compoBus/S Mas
ter Control Unit. The SRM1, however, is programmed in the same way as the other Program-
mable controllers and it is treated and referred to as a pc in this manual
to program and operate the CQM1, CPM1, CPM1A or SRM, ne in
Please read this manual carefully and be sure you understand the information provided before attempting
Section 1 explains the Pc setup and related PC functions, including interrupt processing and commu-
nications. The PC Setup can be used to control the operating parameters of the PC
Section 2 provides an introduction to new PC features, including the new instructions available through
expansion instructions and a new monitoring feature call differential monitoring
Section 3 describes the structure of the PC's memory areas and explains how to use them. It also de
scribes Memory Cassette operations used to transfer data between the cQm1 and a Memory Cassette
Section 4 explains the basic steps and concepts involved in writing a basic ladder diagram program. It
introduces the instructions that are used to build the basic structure of the ladder diagram and control its
execution
Section 5 individually describes the ladder-diagram programming instructions that can be used with the
Section 6 explains the methods and procedures for using host link commands, which can be used for host
link communications via the pc ports
Section 7 explains the internal processing of the PCs, and the time required for processing and execu
tion. Refer to this section to gain an understanding of the precise timing of PC operation
Section 8 describes how to diagnose and correct the hardware and software errors that can occur during
PC operation
The following appendices are also provided: A Programming Instructions, B Error and Arithmetic
Flag Operation, C Memory Areas, D Using the Clock Function, E /0 Assignment Sheet, F Pro
gram Coding Sheet, G List of FAL Numbers, H Extended AsCII, and/CPMiA and CPMi Memory
Area Comparison
/ WARNING Failure to read and understand the information provided in this manual may result in
personal injury or death, damage to the product, or product failure. Please read each
section in its entirety and be sure you understand the information provided in the section
and related sections before attempting any of the procedures or operations given
PRECAUTIONS
This section provides general precautions for using the Programmable Controller(PC)and related devices
The information contained in this section is important for the safe and reliable application of the programmable con-
troller. You must read this section and understand the information contained before attempting to set up or operate a
PC system
1 Intended audience
XIV
2 General Precautions
3 Safety precautions
4 Application precautions
·····
Application Precautions
Intended audience
This manual is intended for the following personnel, who must also have knowl-
edge 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 ma
chines, 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 pertormance 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
/A WARNING It is extremely important that a pC and all PC 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 PC System to the above-mentioned
applications
3 Safety Precautions
A 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 changing the l o memory area. Doing either of these without confirming
safety may result in injury
4 Application Precautions
Observe the following precautions when using the Pc system
Caution Failure to abide by the following precautions could lead to faulty operation of the
PC or the system, or could damage the Pc or Pc Units. always heed these pre
cautions
Fail-safe measures must be taken by the customer to ensure safety in the
event of incorrect, missing, or abnormal signals caused by broken signal lines
momentary power interruptions, or other causes
Interlock circuits, limit circuits, and similar safety measures in external circuits
(i.e, not in the Programmable Controller) must be provided by the customer.
XIV
Application Precautions
Check the user program for proper execution before actually running it on the
Unit Not checking the program may result in an unexpected operation
Confirm that no adverse effect will occur in the system before attempting any of
the following Not doing so may result in an unexpected operation
Changing the operating mode of the Pc
Force-setting/force- resetting any bit in memory
Changing the present value of any word or any set value in memory
Resume operation only after transferring to the new CPU Unit the contents of
the DM and HR Areas required for resuming operation Not doing so may result
in an unexpected operation
Do not place objects on top of the cables. Doing so may break the cables
Before touching the Unit, be sure to first touch a grounded metallic object in
order to discharge any static built-up. Not doing so may result in malfunction or
damage
Do not touch the Expansion IyO Unit Connecting Cable while the power is
being supplied in order to prevent any malfunction due to static electricity
/Caution Always clear memory before beginning to program the CPM1, CPM1Aor SRM1
Although memory is cleared before the CPU Unit is shipped(except for bits with
specific functions), AR 1314, which turns on when the internal capacitor cannot
back up memory, may have turned on during shipment
Caution If the CPM1 or CPM1A will be turned oFF for periods exceeding the data backup
period of the internal capacitor, design the system so that it will not be intluenced
if data in the dm, hr, and cnt areas is cleared when power is turned oFF
/Caution Either switch the CPM1 or CPM1A to RUN or MONITOR mode, orturn OFF and
oN power to the cPm1 or CPM1A after changing from a programming Device
any data that is backed up in flash memory. This data includes the user program,
read-only DM area(DM 6144 to DM 6599), and the PC Setup(DM 6600 to DM
6655).
The user program and memory area data in the CPM1 or CPM1A are backed
up either by an internal capacitor or in flash memory as shown in the following
table
Backup method
Data
Internal capacitor Read /write dm area dm 0000 to dm 0999, dm 1022, and
DM1023
Error log area(M 1000 to DM 1021)
HR area(HR 00 to HR 19)
Counter area(CNT 000 to CNT 127)
Flash memory
ser program
Read-only DM area (DM 6144 to DM 6599)
PC Setup( DM 6600 to DM 6655
Note 1. The IR, TR, LR, and timer areas are not normally backed up when power is
turned OFF and all contents will be cleared the next time power is turned
ON.(The PC Setup setting in DM 6601 can be used to back up this data
Refer to details on the Pc Setup later in this manual for details.
2. The bits in the aR and sr areas have special functions and are set accord
ing to these functions when power is turned ON
Application Precautions
The capacitor backup time depends on the ambient temperature, as shown in
the following graph. The backup time, however, assumes that the capacitor is
fully charged, which requires that power be supplied to the CPU Unit continu-
ously for at least 15 minutes
10
mmmmmm
80
Ambient temperature oC)
If the power remains OFF for a period exceeding the data backup period,
AR 1314 will turn on to indicate that the capacitor can no longer back up data
and the data backed up by the capacitor will be cleared. AR 131 4 will remain
ON unless it is turned OFF using l/0 monitor operations, using memory clear
operations, or from the user program
If desired, the PC Setup setting in DM 6604 can be set to create a fatal error
and thus stop the system when AR 1314 goes ON
The data stored in flash memory will not be lost even if power remains OFF for
a period exceeding the data backup period, because the data stored in flash
memory will be read to the CPU Unit when the CPMi or CPM1Ais turned ON
If the power is turned OFF without changing the mode from PROGRAM mode
to run or MoNITOR mode after having made changes in the data that is
backed up in flash memory, the changes will not be written to flash memory. If
the power is then left OFF for more than 20 days (at 25C), the changes (i.e
the contents of the RAM)will be erased and the data values will become unde
fined
Caution Be sure that the Srm1 system is not influenced by any undefined data if the data
in the dm. he. or cnt area is cleared when the srml has been turned off for
a period exceeding the data backup period of the internal lithium battery. If the
AR 1414 flag is ON, the data will be held unless it is turned oFF using the l o
Monitor operation, instructions, etc. The system can be stopped by designating
DM 6604 in the Pc Setup so that a memory error occurs when the power inter
ruption hold area is not held (with AR 1314 ON)
A lithium battery in the CPU Unit is used to back up the counter values and the
contents of the dm area. and hr area the deterioration of the lithium batter
capacity depends on the ambient temperature. The standard service life is
12 years at an ambient temperature of 40c when operating 8 hours a day
If the power remains off for a period exceeding the data backup period, the
contents of the Data Memory(DM), Hold Relay(HR), and Counter(CNT)
Areas in the CPU Unit may be cleared and the AR 1314 flag(which turns ON
When the power interruption hold area is not held)may turn ON
If the contents of the CPU Unit's program area are lost, the program stored in
flash memory will be read to the CPU Unit's program area when the SRM1 is
started up because the contents in the read- only area DM 61 44 through
DM 6599)and PC setup(DM 6600 through DM 6655) will be written to flash
memory.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.