Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact
Page 1 of SYSMAC CQM1/CPM1/CPM1A/SRM1 Programmable Controllers Programming Manual

Manual · Omron

SYSMAC CQM1/CPM1/CPM1A/SRM1 Programmable Controllers Programming Manual

Manual520 pagesPDF 2.1 MB

Programming manual for the OMRON SYSMAC CQM1, CPM1, CPM1A and SRM1 programmable controllers: setup, memory, ladder instructions.

Download the PDF2.1 MB

Names · 1 model

The models it names

Filed with · 8 models

Also filed with these models on the old site

Summary

What is in it

OMRON's programming manual for the SYSMAC CQM1, CPM1, CPM1A and SRM1 Programmable Controllers. It covers the PC Setup and related functions such as interrupts, pulse outputs and communications, the memory areas and Memory Cassettes, writing ladder-diagram programs, the full instruction set, host link commands, cycle and I/O response times, and troubleshooting. Appendices list the instructions, memory areas, FAL numbers and coding sheets. Hardware details are in the separate operation manuals.

Its parts

  1. Precautions
  2. PC Setup and Other Features
  3. Special Features
  4. Memory Areas
  5. Ladder-diagram Programming
  6. Instruction Set
  7. Host Link Commands
  8. PC Operations and Processing Time
  9. Troubleshooting

From the manual

Key facts from this manual

Each line names its page in the PDF.

Programming manual for the Omron SYSMAC CQM1, CPM1, CPM1A and SRM1 programmable controllers, covering the PC Setup, memory areas, ladder-diagram instructions, host link commands, processing time and troubleshooting. It is a software manual: for hardware details it refers the reader to the separate operation manuals, so it does not describe the CQM1-ID211 or other I/O Units themselves.

Read for this summary: pages 3 to 4, 109, 154 to 155, 441 to 446 and 452 of 520.

Document
Programming manual for CQM1, CPM1, CPM1A and SRM1 PCs: memory structure, ladder instructions, host link commands and error diagnosis p. 4
CQM1 power supply range
CQM1-PA203/PA206: 85 to 264 VAC; CQM1-PD026: 20 to 28 VDC p. 452
CQM1 I/O bits
Input bits IR 00000 to IR 01515; output bits IR 10000 to IR 11515 p. 155
Error code location
Error code stored in SR 25300 to SR 25307; recent errors kept in the error log area p. 441
Low battery error
CQM1 BATT LOW (F7): backup battery missing or low, SR 25308 ON; DM 6655 sets whether it is detected p. 445
Watchdog error
SCAN TIME OVER (F8): watchdog timer over 100 ms, SR 25309 ON p. 445
CQM1 fatal error codes
MEMORY ERR (F1), NO END INST (F0), I/O BUS ERR (C0), I/O UNIT OVER (E1), SYS FAIL FALS 01 to 99 and 9F p. 446
I/O capacity by CPU
CQM1-CPU11/21-E: up to 8 words (128 bits), up to 7 Units; CQM1-CPU4□-EV1: up to 16 words (256 bits), up to 11 Units p. 154
Program memory by CPU
CQM1-CPU11/21-E: 3,200 words; CQM1-CPU4□-EV1: 7,200 words p. 155
DM area
DM 0000 to DM 1023 (1,024 words); DM 1024 to DM 6143 only on CQM1-CPU4□-EV1; PC Setup in DM 6600 to DM 6655 p. 155, 446
Other CQM1 areas
HR 00 to HR 99, AR 00 to AR 27, LR 00 to LR 63, timers and counters TC 000 to TC 511 p. 154
Communications ports
RS-232C port (DM 6645) and peripheral port (DM 6650): host link, RS-232C, 1:1 link slave or master, 1:1 NT Link p. 109
Host link node number
00 to 31, default 00 (DM 6648 for the RS-232C port, DM 6653 for the peripheral port) p. 109
Write protect
CQM1: pin 1 of the CPU Unit's DIP switch; set it OFF to write to memory p. 441

What this manual walks you through

  • Clearing Programming Console operation error messages p. 441
  • Fixing syntax errors found by the three program check levels p. 442, 443
  • Defining your own errors with MSG, FAL and FALS p. 443, 444
  • Responding to non-fatal operating errors p. 444, 445
  • Responding to fatal operating errors p. 446
  • Solving Memory Cassette transfer errors p. 444
  • Setting the communications mode and 1:1 links p. 109
  • The CQM1 memory area map p. 154, 155
  • Checking the power supply when the Power indicator is not lit p. 452

Good to know

  • A fatal error stops program execution and turns OFF all outputs from the PC. p. 446
  • Installing or removing a Memory Cassette with the power on causes a MEMORY ERR. p. 446
  • Do not use the same output bit in more than one OUT or OUT NOT instruction. p. 155
  • A 1:1 NT Link cannot be used with the CQM1-CPU21-E. p. 109
  • Hardware information and Programming Console procedures are in the separate operation manuals. p. 4

Questions this manual answers

What input voltage does the CQM1-PA203 power supply accept?

The manual gives 85 to 264 VAC for the CQM1-PA203/PA206 and 20 to 28 VDC for the CQM1-PD026. p. 452

What does I/O BUS ERR mean on a CQM1?

A data transfer error between the CPU Unit and an I/O Unit. Find the location with AR 2408 to AR 2415, turn the power off, check for loose I/O Units or end covers, and power up again. p. 446

What does BATT LOW mean on a CQM1?

The backup battery is missing or its voltage has dropped (SR 25308 ON); check the battery and replace it if necessary. p. 445

How do I clear the REPL ROM message on a CQM1?

It means a write to write-protected memory; set pin 1 of the CPU Unit's DIP switch to OFF. p. 441

How much program memory does the CQM1-CPU21-E have?

3,200 words for the CQM1-CPU11/21-E, against 7,200 words for the CQM1-CPU4□-EV1. p. 155

Contents

Chapters and sections

Each line opens the PDF at its page.

  1. Front1
  2. CQM1/CPM1/CPM1A/SRM1 Programmable Controllers2
  3. PRECAUTIONS8
    1. 1 Intended Audience9
    2. 2 General Precautions9
    3. 3 Safety Precautions9
    4. 4 Application Precautions9
  4. SECTION 1 PC Setup and Other Features21
    1. 1-1 PC Setup23
    2. 1-2 Basic PC Operation and I/O Processes36
    3. 1-3 Pulse Output Function (CQM1 Only)42
    4. 1-4 Pulse Output Function (CPM1A Only)55
    5. 1-5 CQM1 Interrupt Functions58
    6. 1-6 CPM1/CPM1A Interrupt Functions87
    7. 1-7 SRM1 Interrupt Functions103
    8. 1-8 CompoBus/S Distributed I/O Functions (SRM1 Only)106
    9. 1-9 Communications Functions107
    10. 1-10 Calculating with Signed Binary Data131
  5. SECTION 2 Special Features135
    1. 2-1 Expansion Instructions (CQM1/SRM1 Only)136
    2. 2-2 Advanced I/O Instructions (CQM1 Only)138
    3. 2-3 Macro Function148
    4. 2-4 Differential Monitor149
    5. 2-5 Analog Settings (CQM1-CPU42-EV1/CPM1/CPM1A Only)149
    6. 2-6 Quick-response Inputs (CPM1/CPM1A Only)151
  6. SECTION 3 Memory Areas153
    1. 3-1 CQM1 Memory Area Functions154
    2. 3-2 CPM1/CPM1A Memory Area Functions159
    3. 3-3 SRM1 Memory Area Functions163
    4. 3-4 SRM1 Flash Memory165
    5. 3-5 Using Memory Cassettes (CQM1 Only)166
  7. SECTION 4 Ladder-diagram Programming170
    1. 4-1 Basic Procedure171
    2. 4-2 Instruction Terminology171
    3. 4-3 Basic Ladder Diagrams172
    4. 4-4 Controlling Bit Status192
    5. 4-5 Work Bits (Internal Relays)194
    6. 4-6 Programming Precautions196
    7. 4-7 Program Execution198
59 more lines, from page 199 on
  1. SECTION 5 Instruction Set199
    1. 5-1 Notation202
    2. 5-2 Instruction Format202
    3. 5-3 Data Areas, Definer Values, and Flags202
    4. 5-4 Differentiated Instructions204
    5. 5-5 Coding Right-hand Instructions204
    6. 5-6 Instruction Tables208
    7. 5-7 Ladder Diagram Instructions214
    8. 5-8 Bit Control Instructions215
    9. 5-9 NO OPERATION – NOP(00)219
    10. 5-10 END – END(01)219
    11. 5-11 INTERLOCK and INTERLOCK CLEAR – IL(02) and ILC(03)219
    12. 5-12 JUMP and JUMP END – JMP(04) and JME(05)221
    13. 5-13 User Error Instructions: FAILURE ALARM AND RESET – FAL(06) and SEVERE FAILURE ALARM – FALS(07)223
    14. 5-14 Step Instructions: STEP DEFINE and STEP START–STEP(08)/SNXT(09)224
    15. 5-15 Timer and Counter Instructions226
    16. 5-16 Shift Instructions242
    17. 5-17 Data Movement Instructions250
    18. 5-18 Comparison Instructions260
    19. 5-18-9 DOUBLE AREA RANGE COMPARE – ZCPL(––)270
    20. 5-19 Conversion Instructions270
    21. 5-20 BCD Calculation Instructions296
    22. 5-21 Binary Calculation Instructions307
    23. 5-22 Special Math Instructions318
    24. 5-23 Logic Instructions326
    25. 5-24 Increment/Decrement Instructions329
    26. 5-25 Subroutine Instructions331
    27. 5-26 Special Instructions333
    28. 5-27 Communications Instructions358
    29. 5-28 Advanced I/O Instructions363
  2. SECTION 6 Host Link Commands367
    1. 6-1 Communications Procedure368
    2. 6-2 Command and Response Formats370
    3. 6-3 Host Link Commands374
  3. SECTION 7 PC Operations and Processing Time398
    1. 7-1 CQM1 Cycle Time and I/O Response Time399
    2. 7-2 CPM1/CPM1A Cycle Time and I/O Response Time417
    3. 7-3 SRM1 Cycle Time and I/O Response Time429
  4. SECTION 8 Troubleshooting440
    1. 8-1 Introduction441
    2. 8-2 Programming Console Operation Errors441
    3. 8-3 Programming Errors442
    4. 8-4 User-defined Errors443
    5. 8-5 Operating Errors444
    6. 8-6 Error Log447
    7. 8-7 Host Link Errors449
    8. 8-8 Troubleshooting Flowcharts451
  5. Appendix A Programming Instructions458
  6. Appendix B Error and Arithmetic Flag Operation464
  7. Appendix C Memory Areas468
  8. Appendix D Using the Clock Function486
  9. Appendix E I/O Assignment Sheet487
  10. Appendix F Program Coding Sheet488
  11. Appendix G List of FAL Numbers491
  12. Appendix H Extended ASCII493
  13. Appendix I CPM1/CPM1A and CQM1 Memory Area Comparison494
  14. Glossary495
  15. Index511
  16. Revision History518

From the PDF’s own bookmarks.

The whole text · 60 parts

Read the manual here as text

Its text as extracted from the PDF, unedited, in parts; each page opens the PDF at that page.

  1. Pages 1 to 41-4
  2. TABLE OF CONTENTS5-7
  3. PRECAUTIONS8-20
  4. SECTION 1 PC Setup and Other Features, pages 21 to 3021-30
  5. SECTION 1 PC Setup and Other Features, pages 31 to 4031-40
  6. SECTION 1 PC Setup and Other Features, pages 41 to 5041-50
  7. SECTION 1 PC Setup and Other Features, pages 51 to 6051-60
  8. SECTION 1 PC Setup and Other Features, pages 61 to 7061-70
  9. SECTION 1 PC Setup and Other Features, pages 71 to 8071-80
  10. SECTION 1 PC Setup and Other Features, pages 81 to 9081-90
  11. SECTION 1 PC Setup and Other Features, pages 91 to 10091-100
  12. SECTION 1 PC Setup and Other Features, pages 101 to 110101-110
  13. SECTION 1 PC Setup and Other Features, pages 111 to 120111-120
  14. SECTION 1 PC Setup and Other Features, pages 121 to 130121-130
  15. SECTION 1 PC Setup and Other Features, pages 131 to 134131-134
  16. SECTION 2 Special Features, pages 135 to 143135-143
  17. SECTION 2 Special Features, pages 144 to 152144-152
  18. SECTION 3 Memory Areas, pages 153 to 161153-161
  19. SECTION 3 Memory Areas, pages 162 to 169162-169
  20. SECTION 4 Ladder-diagram Programming, pages 170 to 179170-179
  21. SECTION 4 Ladder-diagram Programming, pages 180 to 189180-189
  22. SECTION 4 Ladder-diagram Programming, pages 190 to 198190-198
  23. SECTION 5 Instruction Set, pages 199 to 208199-208
  24. SECTION 5 Instruction Set, pages 209 to 218209-218
  25. SECTION 5 Instruction Set, pages 219 to 228219-228
  26. SECTION 5 Instruction Set, pages 229 to 238229-238
  27. SECTION 5 Instruction Set, pages 239 to 248239-248
  28. SECTION 5 Instruction Set, pages 249 to 258249-258
  29. SECTION 5 Instruction Set, pages 259 to 268259-268
  30. SECTION 5 Instruction Set, pages 269 to 278269-278
  31. SECTION 5 Instruction Set, pages 279 to 288279-288
  32. SECTION 5 Instruction Set, pages 289 to 298289-298
  33. SECTION 5 Instruction Set, pages 299 to 308299-308
  34. SECTION 5 Instruction Set, pages 309 to 318309-318
  35. SECTION 5 Instruction Set, pages 319 to 328319-328
  36. SECTION 5 Instruction Set, pages 329 to 338329-338
  37. SECTION 5 Instruction Set, pages 339 to 348339-348
  38. SECTION 5 Instruction Set, pages 349 to 358349-358
  39. SECTION 5 Instruction Set, pages 359 to 366359-366
  40. SECTION 6 Host Link Commands, pages 367 to 374367-374
  41. SECTION 6 Host Link Commands, pages 375 to 382375-382
  42. SECTION 6 Host Link Commands, pages 383 to 390383-390
  43. SECTION 6 Host Link Commands, pages 391 to 397391-397
  44. SECTION 7 PC Operations and Processing Time, pages 398 to 406398-406
  45. SECTION 7 PC Operations and Processing Time, pages 407 to 415407-415
  46. SECTION 7 PC Operations and Processing Time, pages 416 to 424416-424
  47. SECTION 7 PC Operations and Processing Time, pages 425 to 433425-433
  48. SECTION 7 PC Operations and Processing Time, pages 434 to 439434-439
  49. SECTION 8 Troubleshooting, pages 440 to 448440-448
  50. SECTION 8 Troubleshooting, pages 449 to 457449-457
  51. Appendix A Programming Instructions458-463
  52. Appendix B Error and Arithmetic Flag Operation464-467
  53. Appendix C Memory Areas, pages 468 to 476468-476
  54. Appendix C Memory Areas, pages 477 to 485477-485
  55. Pages 486 to 490486-490
  56. Pages 491 to 493491-493
  57. Pages 494 to 502494-502
  58. Pages 503 to 510503-510
  59. Index511-517
  60. Revision History518-520

The file

Revision and size

RevisionCat.No. W228-E1-7, Revised May 1999
PublisherOMRON
Pages520
PDF2.1 MB
TextText from the PDF itself; page 490 is a scan, read by OCR, which may hold reading errors.

The first pages · 3 of 520

Look before you download

Each page opens the PDF at that page.

Page 1
Page 1of 520
Page 2
Page 2of 520
Page 3
Page 3of 520