Sign In
Upload
Manuals
Brands
Omron Manuals
Computer Hardware
SYSMAC CQM1H Series
Omron SYSMAC CQM1H Series Manuals
Manuals and User Guides for Omron SYSMAC CQM1H Series. We have
2
Omron SYSMAC CQM1H Series manuals available for free PDF download: Programming Manual, Operation Manual
OMRON SYSMAC CQM1H Series Programming Manual (602 pages)
Programmable Controllers; Inner Boards
Brand:
OMRON
| Category:
Controller
| Size: 8.35 MB
Table of Contents
Table of Contents
6
About this Manual
10
Precautions
16
Format
16
General Precautions
17
Intended Audience
17
Safety Precautions
17
Application Precautions
19
Operating Environment Precautions
19
Conformance to EC Directives
23
Applicable Directives
23
Concepts
23
Relay Output Noise Reduction Methods
23
Conformance to EC Directives
25
Section 1
26
PC Setup and Other Features
26
Masking
26
PC Setup
27
Changing the PC Setup
27
Serial Communications Board Settings
28
PC Setup Settings
29
Inner Board Settings
34
Settings for a Serial Communications Board
34
Settings for a High-Speed Counter Board
35
Settings for a Pulse I/O Board
36
Settings for an Absolute Encoder Interface Board
36
Basic PC Operation and I/O Processes
37
Settings for an Analog I/O Board
37
Startup Mode
37
Hold Bit Status
38
RS-232C Port Servicing Time
38
Input Time Constants
39
Minimum Cycle Time
39
Peripheral Port Servicing Time
39
High-Speed Timers
40
DSW(87) Input Digits and Output Refresh Method
41
Peripheral Port Settings
41
Error Log Settings
42
Interrupt Functions
43
Types of Interrupts
43
Processing the same Memory Locations with the Main Program and Interrupt Subroutines
46
Input Interrupts
48
Control
50
Ladder
50
Masking All Interrupts
55
Interval Timer Interrupts
56
Interval Timers
56
Scheduled Interrupt Mode
56
High-Speed Counter 0 Interrupts
59
High-Speed Counter 0 Overflows/Underflows
67
Pulse Output Function
69
Communications Functions
72
Host Link and No-Protocol Communications Settings
73
Host Link Communications Settings and Procedures
76
No-Protocol Communications Settings and Procedures
78
One-To-One Data Links
80
NT Link 1:1 Mode Communications
82
Calculating with Signed Binary Data
83
Definition of Signed Binary Data
83
Wiring Ports
83
Arithmetic Flags
84
Inputting Signed Binary Data Using Decimal Values
84
Application Example Using Signed Binary Data
85
Using Signed-Binary Expansion Instructions
85
Section 2 Inner Boards
88
Inner Boards
88
High-Speed Counter Board
89
Example System Configuration
89
Functions
89
Model
89
Applicable Inner Board Slots
90
Names and Functions
90
Specifications
91
High-Speed Counters 1 to 4
94
Pulse I/O Board
112
Function
112
Model
112
System Configuration
113
Applicable Inner Board Slot
114
Names and Functions
114
Specifications
115
Pulse Output Specifications
117
High-Speed Counters 1 and 2
120
Fixed Duty Factor Pulse Output
130
Functions
130
Variable Duty Factor Pulse Outputs
142
Determining the Status of Ports 1 and 2
145
Absolute Encoder Interface Board
146
Model
146
Precautions When Using Pulse Output Functions
146
Functions
147
System Configuration
147
Applicable Inner Board Slots
148
Names and Functions
148
Absolute Encoder Input Specifications
149
High-Speed Counter Interrupts
151
Absolute Encoder Interface Board
153
Analog Setting Board
160
Function
160
Model
160
Applicable Inner Board Slots
161
Names and Functions
161
Specifications
161
Analog I/O Board
162
Function
162
Model
162
System Configuration
162
Applicable Inner Board Slot
163
Names and Functions
163
Specifications
164
Serial Communications Board
166
Application Procedure
166
Model Number
166
Serial Communications Boards
166
Features
167
System Configuration
168
Section 3 Memory Areas
170
Memory Areas
170
Memory Area Structure
171
IR Area
173
I/O Allocation
173
Input and Output Areas
173
Work Areas
173
Flags/Bits for an Inner Board in Slot 1 (IR 200 to IR 215)
180
Flags/Bits for an Inner Board in Slot 2 (IR 232 to IR 243)
183
Flags/Bits for Communications Units
184
SR Area
185
TR Area
188
HR Area
188
AR Area
189
Shared Flags/Bits (AR 00 to AR 04)
189
Flags/Bits for Inner Boards (AR 05 and AR 06)
190
Shared Flags/Bits (AR 07 to AR 27)
192
Using the Clock
195
LR Area
196
Timer/Counter Area
197
DM Area
197
EM Area
199
Using Memory Cassettes
199
Memory Cassettes and Contents
199
Memory Cassette Capacity and Program Size
200
Reading from the Memory Cassette
202
Writing to the Memory Cassette
202
Comparing Memory Cassette Contents
203
Section 4 Ladder-Diagram Programming
204
Ladder-Diagram Programming
204
Controlling Bit Status
204
Logic Block Instructions
204
Basic Procedure
205
Instruction Terminology
205
Basic Ladder Diagrams
206
Basic Terms
206
Mnemonic Code
207
Ladder Instructions
208
OUTPUT and OUTPUT NOT
211
The END Instruction
211
Logic Block Instructions
212
Coding Multiple
219
Coding Multiple Right-Hand Instructions
219
Branching
220
Branching Instruction Lines
220
Interlocks
222
Jumps
223
Controlling Bit Status
225
SET and RESET
225
DIFFERENTIATE up and DIFFERENTIATE down
226
Keep
226
Self-Maintaining Bits (Seal)
226
Work Bits (Internal Relays)
227
Programming Precautions
229
Program Execution
230
Indirectly Addressing the DM and EM Areas
231
Section 5 Instruction Set
232
Instruction Set
232
Notation
236
Instruction Format
236
Data Areas, Definer Values, and Flags
236
Differentiated Instructions
238
Expansion Instructions
239
Sqrt
239
Srch
239
Stup
239
Sum
239
Tan
239
Xfrb
239
Coding Right-Hand Instructions
240
Instruction Tables
242
Instructions with Fixed Function Codes
242
Expansion Instructions
243
Alphabetic List by Mnemonic
243
Int(89)
245
Sft 10
246
Sftr(84)
246
Sld(74)
246
Snxt 09
246
Srd(75)
246
Stc(40)
246
Sub(31)
246
Subl(55)
246
Tcmp(85)
246
Tim
246
Ladder Diagram Instructions
247
LOAD, LOAD NOT, AND, and NOT, OR, and or NOT
247
Xnrw(37)
247
Xorw(36)
247
Zcp
247
Zcpl
247
Bit Control Instructions
248
AND LOAD and or LOAD
248
OUTPUT and OUTPUT NOT - out and out NOT
249
SET and RESET - SET and RSET
249
Keep - Keep(11)
250
DIFFERENTIATE up and down - DIFU(13) and DIFD(14
251
No Operation - Nop(00)
252
End - End(01)
252
INTERLOCK and INTERLOCK CLEAR - IL(02) and ILC(03)
252
INTERLOCK and INTERLOCK CLEAR - IL(02) and ILC
252
IL(02) and ILC(03)
253
JUMP and JUMP END - JMP(04) and JME(05)
254
JUMP and JUMP END - JMP(04) and JME
254
Jump Numbers
254
User Error Instructions
255
FAILURE ALARM and RESET - FAL(06) and SEVERE FAILURE ALARM - FALS(07)
255
User Error Instructions: FAILURE ALARM and RESET - FAL(06) and SEVERE FAILURE ALARM - FALS(07
255
Step Instructions: STEP DEFINE and STEP START-STEP(08)/SNXT(09)
256
STEP DEFINE and STEP START-STEP(08)/SNXT(09)
256
Timer and Counter Instructions
258
Timer - Tim
259
Counter - Cnt
260
Reversible Counter - Cntr(12)
262
High-Speed Timer - Timh(15)
263
Totalizing Timer - Ttim
264
Interval Timer - Stim(69)
266
Register Comparison Table - Ctbl(63)
268
Mode Control - Ini(61)
280
High-Speed Counter Pv Read - Prv(62)
282
Shift Instructions
286
Shift Register - Sft(10)
286
Word Shift - Wsft(16)
287
Arithmetic Shift Left - Asl(25)
288
Arithmetic Shift Right - Asr(26)
288
Rotate Left - Rol(27)
289
Rotate Right - Ror(28)
289
One Digit Shift Left - Sld(74)
290
One Digit Shift Right - Srd(75)
291
Reversible Shift Register - Sftr(84)
291
Asynchronous Shift Register - Asft(17)
293
Data Movement Instructions
294
Move - Mov(21)
294
Move Not - Mvn(22)
295
Block Transfer - Xfer(70)
296
Block Set - Bset(71)
297
Data Exchange - Xchg(73)
298
Single Word Distribute - Dist(80)
298
Data Collect - Coll(81)
300
Move Bit - Movb(82)
302
Move Digit - Movd(83)
303
Transfer Bits - Xfrb
304
Comparison Instructions
305
Compare - Cmp(20)
305
Block Compare - Bcmp(68)
308
Double Compare - Cmpl(60)
309
Multi-Word Compare - Mcmp(19)
310
Signed Binary Compare - Cps
311
Double Signed Binary Compare - Cpsl
312
Area Range Compare - Zcp(- -)
314
Double Area Range Compare - Zcpl
315
Conversion Instructions
316
Bcd-To-Binary - bin(23)
316
Binary-To-Bcd - Bcd(24)
317
Double Bcd-To-Double Binary - Binl(58)
318
Double Binary-To-Double Bcd - Bcdl(59)
318
4-To-16 Decoder - Mlpx(76)
319
16-To-4 Encoder - Dmpx(77)
321
7-Segment Decoder - Sdec(78)
323
Ascii Convert - Asc(86)
326
Ascii-To-Hexadecimal - Hex
328
Scaling - Scl(66)
330
Signed Binary to Bcd Scaling - Scl2
332
Bcd to Signed Binary Scaling - Scl3
333
Hours-To-Seconds - Sec
336
Seconds-To-Hours - Hms
337
Column-To-Line - Line
338
Line-To-Column - Colm
339
2'S Complement - Neg
340
Double 2'S Complement - Negl
341
BCD Calculation Instructions
342
Bcd Add - Add(30)
342
Clear Carry - Clc(41)
342
Set Carry - Stc(40)
342
Bcd Subtract - Sub(31)
343
Bcd Multiply - Mul(32)
345
Bcd Divide - DIV(33)
346
Double Bcd Add - Addl(54)
347
Double Bcd Subtract - Subl(55)
349
Double Bcd Multiply - Mull(56)
350
Double Bcd Divide - Divl(57)
351
Square Root - Root(72)
352
Binary Calculation Instructions
353
Binary Add - Adb(50)
353
Binary Subtract - Sbb(51)
354
Binary Multiply - Mlb(52)
355
Binary Divide - Dvb(53)
356
Double Binary Add - Adbl
357
Double Binary Subtract - Sbbl
358
Signed Binary Multiply - Mbs
359
Double Signed Binary Multiply - Mbsl
360
Signed Binary Divide - Dbs
361
Double Signed Binary Divide - Dbsl
362
Special Math Instructions
363
Find Maximum - Max
363
Find Minimum - Min
365
Average Value - Avg
366
Sum - Sum(--)
367
Arithmetic Process - Apr
369
Floating-Point Math Instructions
372
Floating to 16-Bit: Fix(--)
377
Floating to 32-Bit: Fixl
378
16-Bit to Floating: Flt
379
32-Bit to Floating: Fltl
380
Floating-Point Add: +F
380
Floating-Point Subtract: -F
382
Floating-Point Multiply: *F
383
Floating-Point Divide: /F
384
Degrees to Radians: Rad
385
Radians to Degrees: Deg
386
Sine: sin
387
Sin
387
Cosine: Cos
388
Tangent: tan
389
Arc Sine: Asin
390
Arc Cosine: Acos
391
Arc Tangent: Atan
392
Square Root: Sqrt
394
Exponent: Exp
395
Logarithm: Log
396
Logic Instructions
397
Complement - Com(29)
397
Logical and - Andw(34)
398
Logical or - Orw(35)
399
Exclusive or - Xorw(36)
399
Exclusive nor - Xnrw(37)
400
Increment/Decrement Instructions
401
Bcd Decrement - Dec(39)
401
Bcd Increment - Inc(38)
401
Subroutine Instructions
402
Subroutine Enter - Sbs(91)
402
Special Instructions
404
SUBROUTINE DEFINE and RETURN - SBN(92)/RET(93)
404
Trace Memory Sampling - Trsm(45)
404
Message Display - Msg(46)
406
I/O Refresh - Iorf(97)
407
Macro - Mcro(99)
408
Bit Counter - Bcnt(67)
410
Frame Checksum - Fcs(- -)
410
Failure Point Detection - Fpd
412
Interrupt Control - Int(89)
416
Set Pulses - Puls(65)
418
Speed Output- Sped(64)
420
Pulse Output - Pls2
423
Counter Mode
423
Acceleration Control - Acc
425
Pulse with Variable Duty Factor - Pwm
427
Data Search - Srch
428
Pid Control - Pid
430
Network Instructions
431
Network Send - Send(90)
431
Network Receive - Recv(98)
435
Deliver Command: Cmnd
437
Communications Instructions
440
Receive - Rxd(47)
440
Transmit - Txd(48)
442
Change Serial Port Setup - Stup
444
Protocol Macro - Pmcr
447
Advanced I/O Instructions
449
7-Segment Display Output - 7Seg(88)
449
Digital Switch Input - Dsw(87)
452
Hexadecimal Key Input - Hky
456
Ten Key Input - Tky(18)
459
Host Link Commands
462
Host Link Command Summary
463
End Codes
464
Codes and Applicable Commands
466
Communications Procedure
467
Command and Response Formats
468
Commands from the Host Computer
468
Commands from the Pc
471
Host Link Commands
472
Ir/Sr Area Read –– Rr
472
Lr Area Read –– Rl
472
Hr Area Read –– Rh
473
DM Area Read –– Rd
474
Tc Status Read –– Rg
474
Ar Area Read –– Rj
475
Em Area Read –– Re
475
Ir/Sr Area Write –– Wr
476
Lr Area Write –– Wl
476
Hr Area Write –– Wh
477
Pv Write –– Wc
477
DM Area Write –– Wd
478
Tc Status Write –– Wg
478
Em Area Write –– We
479
Ar Area Write –– Wj
480
Status Read –– Ms
486
Status Write –– Sc
487
Error Read –– Mf
488
Forced Set –– Ks
489
Forced Reset –– Kr
490
Multiple Forced Set/Reset –– Fk
491
Forced Set/Reset Cancel –– Kc
492
Pc Model Read –– MM
492
Compound Command –– Qq
494
Program Read –– Rp
494
Program Write –– Wp
494
Txd Response –– Ex
497
Undefined Command –– IC
497
CPU Unit Operation and Processing Time
498
CPU Unit Operation
499
Power Interruptions
500
Operation at Power Interruption
500
Startup Operation after a Power Interruption
502
Cycle Time
503
Instruction Execution Times
504
Execution Times
505
I/O Response Time
516
One-To-One Link I/O Response Time
518
Interrupt Processing Time
520
Troubleshooting
522
Introduction
523
Programming Console Operation Errors
523
Programming Errors
524
User-Defined Errors
525
Operating Errors
526
Non-Fatal Errors
526
Fatal Errors
528
Error Log
529
Troubleshooting Flowcharts
530
Programming Instructions
538
Error and Arithmetic Flag Operation
544
Memory Areas
548
Using the Clock
566
I/O Assignment Sheet
568
Program Coding Sheet
570
List of FAL Numbers
574
Extended ASCII
576
Glossary
578
Ladder Diagram
585
Index
594
Floating-Point Math Instructions
599
Expansion
600
Right-Hand Instructions
600
Revision History
602
Advertisement
OMRON SYSMAC CQM1H Series Operation Manual (285 pages)
Programmable Controllers; Inner Boards
Brand:
OMRON
| Category:
Computer Hardware
| Size: 7.79 MB
Table of Contents
Table of Contents
6
About this Manual
8
Precautions
14
1 Intended Audience
15
2 General Precautions
15
3 Safety Precautions
15
4 Operating Environment Precautions
17
5 Application Precautions
17
6 Conformance to EC Directives
21
Applicable Directives
21
Concepts
21
Relay Output Noise Reduction Methods
21
7 Upgrades Made to New Version of CQM1H CPU Units
23
Reading Manufacturing Numbers
23
Changes in Specifications
23
Section 1 Introduction
26
Introduction
26
Features
27
System Configuration
32
Basic Configuration
32
Connections to Programming Devices
34
CPU Units
34
Inner Boards
35
Communications Units
36
Memory Cassettes
37
Power Supply Units
37
Products for Expansion I/O Blocks
38
I/O Units
39
Dedicated I/O Units
40
Accessories
42
Maximum Number of I/O Units and I/O Points
43
Expanded System Configuration
45
Serial Communications System
45
Communications Networks
51
Functions Listed by Purpose
52
High-Speed Counters
60
CQM1-CQM1H Comparison
61
Pulse Outputs
61
Overview Application Procedure
66
Specifications
68
Unit Specifications
69
Cpu Unit Specifications
70
Input Unit Specifications
75
Cpu Unit's Built-In 24-V DC Inputs
75
DC Input Units
78
Ac Input Units
83
Output Unit Specifications
84
Contact Output Units
84
Transistor Output Units
88
Triac Output Units
98
Section 3 Units
100
Units
100
CPU Units
101
Indicators
102
Battery Compartment Cover
103
Battery
103
DIP Switch
104
Memory Cassettes
104
Serial Communications Ports
107
Peripheral Port
108
Built-In RS-232C Port
108
Power Supply Unit
110
Inner Board Slots 1 and 2
110
Built-In Inputs
110
Power Supply Unit Components
111
Selecting a Power Supply Unit
111
Unit Weights
113
I/O Units
114
Inner Boards
115
Products for Expansion I/O Blocks
116
Programming Devices
117
Programming Consoles
117
Support Software
119
Connecting Cables
122
Section 4 Installation
126
Installation
126
Fail-Safe Circuits
127
Installation Precautions
129
Mounting Dimensions
131
Connecting PC Components
135
Inner Board Installation
137
DIN Track Installation
138
Wiring and Connections
140
Power Supply Unit Wiring
140
Connecting the CPU Block and Expansion I/O Block
144
I/O Unit Wiring
146
Preparing Cables for 32-Point Input and Output Units
148
I/O Unit Wiring Precautions
150
Connecting Programming Devices
153
Connecting Programmable Terminals
154
Section 5 Overview of Operation
158
Overview of Operation
158
Internal Structure of CPU Unit
159
Memory Areas
159
Operating Modes
160
DIP Switch
160
Memory Cassette
160
Description of Operating Modes
160
Initialization of I/O Memory
161
Startup Mode
162
Operation Without a Battery
162
Switch Settings
164
DIP Switch Settings
165
Communications Port and Startup Modes Settings
166
Section 7 Using a Programming Console
168
Using a Programming Console
168
Programming
169
Connecting the Programming Console
169
Compatible Programming Consoles
171
Changing the Cqm1H's Mode with the Mode Switch
175
Operating Mode at Startup
177
Preparation for Operation
177
Entering the Password
177
Programming Console Operations
178
Overview
178
Clearing Memory
179
Reading/Clearing Error Messages
181
Buzzer Operation
182
Reading and Assigning Expansion Instruction Function Codes
182
Setting and Reading a Program Memory Address and Monitoring
183
Bit Status
183
Entering or Editing Programs
184
Instruction Search
187
Bit Operand Search
188
Inserting and Deleting Instructions
189
Checking the Program
190
Bit, Digit, Word Monitor
191
Binary Monitor
193
Three-Word Monitor
193
Signed Decimal Monitor
194
Unsigned Decimal Monitor
195
Differentiation Monitor
195
Changing Timer, Counter SV
196
Hexadecimal, BCD Data Modification
197
Binary Data Modification
198
Signed Decimal Data Modification
199
Unsigned Decimal Data Modification
200
Three-Word Data Modification
200
Force Set, Reset
201
Clear Force Set/Reset
202
Hex-ASCII Display Change
203
Reading and Setting the Clock
203
Programming Example
204
Displaying the Cycle Time
204
Preparatory Operations
204
Programming Console Error Messages
205
Example Program
206
Programming Procedures
207
Checking the Program
210
Test Run in MONITOR Mode
212
Section 8 Inner Boards
214
Inner Boards
214
High-Speed Counter Board
215
Model
215
Functions
215
Example System Configuration
215
Applicable Inner Board Slots
216
Names and Functions
216
Pin Arrangement of Connectors CN1 and CN2
217
Wiring Examples
218
Specifications
223
Pulse I/O Board
227
Internal Circuits
227
Model
227
Function
227
System Configuration
229
Applicable Inner Board Slot
229
Names and Functions
229
CN1 and CN2 Pin Arrangement
230
Wiring Examples
231
Specifications
236
Pulse Output Specifications
237
Absolute Encoder Interface Board
238
Model
238
Functions
238
System Configuration
239
Applicable Inner Board Slots
239
Names and Functions
239
Pin Arrangement of Connectors CN1 and CN2
240
Wiring Examples
241
Specifications
242
Absolute Encoder Input Specifications
242
Internal Circuit Configuration
244
Analog Setting Board
245
Model
245
Function
245
Applicable Inner Board Slots
245
Names and Functions
245
Specifications
246
Analog I/O Board
247
Model
247
Function
247
System Configuration
247
Applicable Inner Board Slot
248
Names and Functions
248
Pin Arrangement of Connectors CN1 and CN2
249
Wiring Examples
250
Specifications
251
Serial Communications Board
252
Internal Circuit Configuration
252
Model Number
252
Serial Communications Boards
252
Features
253
System Configuration
254
Battery Maintenance
256
Battery Replacement
257
Battery Life
257
Replacement Procedure
258
Appendix
260
Preparing Cables for Inner Boards
260
Glossary
262
Index
278
Revision History
282
Advertisement
Related Products
Omron SYSMACCS1D-PA Series
Omron SYSMACCS1D-PD Series
Omron SYSMAC CS1D
Omron Sysmac NJ-series
Omron Sysmac NX-series
Omron SYSMAC CJ1W-ECT21
Omron SYSMAC CP1E Series
Omron SYSMAC CJ2
Omron SYSMAC CQM1
Omron SYSMAC CQM1H
Omron Categories
Blood Pressure Monitor
Controller
Accessories
Switch
Inverter
More Omron Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL