Sign In
Upload
Manuals
Brands
Omron Manuals
Controller
SYSMAC SRM1
Omron SYSMAC SRM1 Manuals
Manuals and User Guides for Omron SYSMAC SRM1. We have
2
Omron SYSMAC SRM1 manuals available for free PDF download: Programming Manual
OMRON SYSMAC SRM1 Programming Manual (541 pages)
Brand:
OMRON
| Category:
Controller
| Size: 6.02 MB
Table of Contents
Table of Contents
6
Advanced I/O
6
Precautions
12
General Precautions
13
Intended Audience
13
Safety Precautions
13
Operating Environment Precautions
14
Application Precautions
15
Conformance to EC Directives
18
Section 1 PC Setup and Other Features
22
PC Setup and Other Features
22
PC Setup
24
Changing the PC Setup
24
CQM1 PC Setup Settings
25
CPM1/CPM1A PC Setup Settings
30
SRM1 PC Setup Settings
34
Basic PC Operation and I/O Processes
37
Startup Mode
37
Hold Bit Status
38
Program Memory Write-Protection (CPM1/CPM1A Only)
38
RS-232C Port Servicing Time (CQM1/SRM1 Only)
39
Peripheral Port Servicing Time
39
Cycle Time
39
Input Time Constants
40
High-Speed Timers (CQM1 Only)
41
DSW(87) Input Digits & Output Refresh Method (CQM1 Only)
42
Error Log Settings
42
Pulse Output Function (CQM1 Only)
43
Types of Pulse Outputs
43
Standard Pulse Output from an Output Point
44
Standard Pulse Output from Ports 1 and 2
46
Variable-Duty-Ratio Pulse Output from Ports 1 and 2
53
Determining the Status of Ports 1 and 2
55
Pulse Output Function (CPM1A Only)
56
Programming Example in Continuous Mode
57
Programming Example in Independent Mode
57
Using Pulse Output Instructions
57
Changing the Frequency
58
Stopping Pulse Output
58
CQM1 Interrupt Functions
59
Types of Interrupts
59
Input Interrupts
61
Masking All Interrupts
65
Interval Timer Interrupts
66
High-Speed Counter 0 Interrupts
68
High-Speed Counter 0 Overflows/Underflows
74
High-Speed Counter 1 and 2 Interrupts (CQM1-CPU43-EV1)
76
Absolute High-Speed Counter Interrupts (CQM1-CPU44-EV1)
83
Mov(21)
87
CPM1/CPM1A Interrupt Functions
88
Types of Interrupts
88
Input Interrupts
90
Masking All Interrupts
95
Interval Timer Interrupts
96
High-Speed Counter Interrupts
98
SRM1 Interrupt Functions
106
Types of Interrupts
106
Interval Timer Interrupts
106
Compobus/S Distributed I/O Functions (SRM1 Only)
109
Communications Functions
110
CQM1 PC Setup
111
Wiring Ports
114
CQM1 Host Link Communications
114
CPM1/CPM1A Host Link Communications
116
SRM1 Host Link Communications
118
RS-232C Communications (CQM1/SRM1 Only)
121
CQM1 One-To-One Link Communications
123
CPM1/CPM1A One-To-One Link Communications
125
CPM1/CPM1A NT Link Communications
126
SRM1 One-To-One Link Communications
127
SRM1 NT Link Communications
129
SRM1 no Protocol Communications
130
Transmission Data Configuration
132
Transmission Flags
133
No Protocol Communications Program Example
133
Calculating with Signed Binary Data
134
Definition of Signed Binary Data
134
Arithmetic Flags
136
Inputting Signed Binary Data Using Decimal Values
136
Using Signed-Binary Expansion Instructions (CQM1 Only)
136
Application Example Using Signed Binary Data
137
Section 2 Special Features
138
Special Features
138
Expansion Instructions (CQM1/SRM1 Only)
139
CQM1 Expansion Instructions
140
SRM1 Expansion Instructions
140
Mcmp(19)
140
Scl(66)
140
Scl2
140
Scl3
140
Tky(18)
140
Xfrb
140
Zcp
140
Zcpl
140
Advanced I/O Instructions (CQM1 Only)
141
Ten-Key Input - Tky(18)
141
Hexadecimal Key Input - Hky
143
Digital Switch Input - Dsw(87)
145
7-Segment Display Output - 7Seg
148
Alternate I/O Bits
150
Movd(83)
150
Macro Function
151
Differential Monitor
152
Analog Settings (CQM1-CPU42-EV1/CPM1/CPM1A Only)
153
Quick-Response Inputs (CPM1/CPM1A Only)
154
Memory Areas
156
CQM1 Memory Area Functions
157
Mcro(99)
157
Min
157
CPM1/CPM1A Memory Area Functions
163
SRM1 Memory Area Functions
166
SRM1 Flash Memory
169
Using Memory Cassettes (CQM1 Only)
170
Nop(00)
171
Operation Without a Battery
173
Section 4 Ladder-Diagram Programming
176
Ladder-Diagram Programming
176
Basic Procedure
177
Instruction Terminology
177
Basic Ladder Diagrams
178
Basic Terms
178
Mnemonic Code
179
Ladder Instructions
180
Or Not
182
OUTPUT and OUTPUT NOT
183
The END Instruction
183
Logic Block Instructions
184
Coding Multiple Right-Hand Instructions
193
Branching Instruction Lines
193
Jumps
197
Controlling Bit Status
198
SET and RESET
198
Jme(05) 00
198
Jmp(04) 00
198
DIFFERENTIATE up and DIFFERENTIATE down
199
Keep
199
The KEEP Instruction
199
Work Bits (Internal Relays)
200
Self-Maintaining Bits (Seal)
200
Programming Precautions
202
Out
202
Program Execution
204
Section 5 Instruction Set
206
Instruction Set
206
Notation
209
Instruction Format
209
Data Areas, Definer Values, and Flags
209
Differentiated Instructions
211
Coding Right-Hand Instructions
212
Tim 000
213
Instruction Tables
215
CQM1 Function Codes
215
CPM1/CPM1A Function Codes
216
SRM1 Function Codes
217
Alphabetic List by Mnemonic
218
Max (@)
219
Pid(- -)
219
Pwm (@)
220
Reset
220
Srch (@)
220
Sum
220
Zcpl
220
Ladder Diagram Instructions
221
LOAD, LOAD NOT, AND, and NOT, OR, and or NOT
221
Bit Control Instructions
222
AND LOAD and or LOAD
222
OUTPUT and OUTPUT NOT - out and out NOT
222
SET and RESET - SET and RSET
223
Keep - Keep(11)
224
DIFFERENTIATE up and down - DIFU(13) and DIFD(14
225
No Operation - Nop(00)
226
End - End(01)
226
INTERLOCK and INTERLOCK CLEAR - IL(02) and ILC(03)
226
No Operation - Nop
226
End - End
226
INTERLOCK and INTERLOCK CLEAR - IL(02) and ILC
226
JUMP and JUMP END - JMP(04) and JME(05)
228
JUMP and JUMP END - JMP(04) and JME
228
JMP(04) and JME(05)
229
User Error Instructions: FAILURE ALARM and RESET - FAL(06) and SEVERE FAILURE ALARM - FALS
230
Severe Failure Alarm - Fals(07)
230
Step Instructions: STEP DEFINE and STEP START-STEP(08)/SNXT(09)
231
STEP DEFINE and STEP START-STEP(08)/SNXT(09)
231
Step Instructions: STEP DEFINE and STEP START-STEP(08)/SNXT
231
Snxt(09)
232
Timer and Counter Instructions
233
Timer - Tim
234
Counter - Cnt
235
Reversible Counter - Cntr(12)
237
High-Speed Timer - Timh(15)
238
Interval Timer - Stim(69)
239
Register Comparison Table - Ctbl(63)
241
Mode Control - Ini(61)
246
High-Speed Counter Pv Read - Prv(62)
248
Shift Instructions
250
Shift Register - Sft(10)
250
Word Shift - Wsft(16)
251
Arithmetic Shift Left - Asl(25)
251
Arithmetic Shift Right - Asr(26)
252
Rotate Left - Rol(27)
252
Rotate Right - Ror(28)
253
One Digit Shift Left - Sld(74)
254
One Digit Shift Right - Srd(75)
254
Reversible Shift Register - Sftr(84)
255
Asynchronous Shift Register - Asft(17)
256
Data Movement Instructions
258
Move - Mov(21)
258
Move Not - Mvn(22)
259
Block Transfer - Xfer(70)
260
Block Set - Bset(71)
260
Data Exchange - Xchg(73)
261
Single Word Distribute - Dist(80)
262
Data Collect - Coll(81)
263
Move Bit - Movb(82)
266
Movb(82)
266
Move Digit - Movd(83)
267
Transfer Bits - Xfrb
268
Comparison Instructions
269
Compare - Cmp(20)
269
Block Compare - Bcmp(68)
271
Double Compare - Cmpl(60)
273
Multi-Word Compare - Mcmp(19)
274
Signed Binary Compare - Cps
275
Double Signed Binary Compare - Cpsl(--)
276
Area Range Compare - Zcp(--)
277
Conversion Instructions
279
Double Area Range Compare - Zcpl
279
Bcd-To-Binary - bin(23)
279
Binary-To-Bcd - Bcd(24)
280
Double Bcd-To-Double Binary - Binl(58)
281
Double Binary-To-Double Bcd - Bcdl(59)
281
4-To-16 Decoder - Mlpx(76)
282
16-To-4 Encoder - Dmpx(77)
284
Mlpx(76)
284
7-Segment Decoder - Sdec(78)
286
Ascii Convert - Asc(86)
289
Ascii-To-Hexadecimal - Hex
290
Scaling - Scl(66)
293
Signed Binary to Bcd Scaling - Scl2
295
Bcd to Signed Binary Scaling - Scl3
297
Hours-To-Seconds - Sec
299
Seconds-To-Hours - Hms(--)
300
Column-To-Line - Line
301
Line-To-Column - Colm
302
2'S Complement - Neg(--)
303
Double 2'S Complement - Negl(--)
304
BCD Calculation Instructions
306
Set Carry - Stc(40)
306
Clear Carry - Clc(41)
306
Bcd Add - Add(30)
306
Bcd Subtract - Sub(31)
307
Bcd Multiply - Mul(32)
309
Bcd Divide - DIV(33)
310
Double Bcd Add - Addl(54)
311
Double Bcd Subtract - Subl(55)
313
Double Bcd Multiply - Mull(56)
315
Double Bcd Divide - Divl(57)
315
Square Root - Root(72)
316
Binary Calculation Instructions
317
Binary Add - Adb(50)
317
Binary Subtract - Sbb(51)
318
Sbb(51)
319
Binary Multiply - Mlb(52)
320
Binary Divide - Dvb(53)
320
Double Binary Add - Adbl
321
Double Binary Subtract - Sbbl
322
Signed Binary Multiply - Mbs
324
Double Signed Binary Multiply - Mbsl
325
Signed Binary Divide - Dbs
326
Double Signed Binary Divide - Dbsl
327
Special Math Instructions
328
Find Maximum - Max
328
Find Minimum - Min
329
Average Value - Avg
330
Sum - Sum
332
Arithmetic Process - Apr
334
Logic Instructions
337
Complement - Com(29)
337
Logical and - Andw(34)
337
Logical or - Orw(35)
338
Exclusive or - Xorw(36)
339
Exclusive nor - Xnrw(37)
339
Increment/Decrement Instructions
340
Bcd Increment - Inc(38)
340
Bcd Decrement - Dec(39)
340
Subroutine Instructions
342
Subroutine Enter - Sbs(91)
342
Special Instructions
344
SUBROUTINE DEFINE and RETURN - SBN(92)/RET(93)
344
Trace Memory Sampling - Trsm(45)
344
Message Display - Msg(46)
346
I/O Refresh - Iorf(97)
347
Iorf(97)
347
Macro - Mcro(99)
348
Bit Counter - Bcnt(67)
349
Frame Checksum - Fcs
349
Failure Point Detection - Fpd
351
Interrupt Control - Int(89)
355
Set Pulses - Puls(65)
357
Speed Output- Sped(64)
359
Pulse Output - Pls2
361
Acceleration Control - Acc
363
Pulse with Variable Duty Ratio - Pwm
366
Data Search - Srch
367
Pid Control - Pid
368
Communications Instructions
370
Receive - Rxd(47)
370
Transmit - Txd(48)
371
Change Rs-232C Setup - Stup
373
Advanced I/O Instructions
375
7-Segment Display Output - 7Seg(88)
375
Digital Switch Input - Dsw(87)
376
Hexadecimal Key Input - Hky
376
Ten Key Input - Tky(18)
377
Host Link Commands
380
Communications Procedure
381
Command and Response Formats
383
Host Link Commands
387
PC Operations and Processing Time
412
CQM1 Cycle Time and I/O Response Time
413
Execution Times
420
Ld Not
421
CPM1/CPM1A Cycle Time and I/O Response Time
431
Timh(15)
432
SRM1 Cycle Time and I/O Response Time
443
Troubleshooting
454
Introduction
455
Programming Console Operation Errors
455
Programming Errors
456
User-Defined Errors
457
Operating Errors
458
Error Log
462
Host Link Errors
463
Troubleshooting Flowcharts
465
Programming Instructions
472
Or Ld
472
Out Not
472
Error and Arithmetic Flag Operation
478
Memory Areas
482
Using the Clock Function
500
I/O Assignment Sheet
502
Program Coding Sheet
504
List of FAL Numbers
508
Extended ASCII
510
CPM1/CPM1A and CQM1 Memory Area Comparison
512
Glossary
514
Index
530
Msg(46)
535
Not
535
Ret(93)
536
Rxd(47)
536
Expansion
536
Right-Hand Instructions
536
Revision History
538
Advertisement
OMRON SYSMAC SRM1 Programming Manual (615 pages)
Brand:
OMRON
| Category:
Controller
| Size: 3.64 MB
Table of Contents
Table of Contents
6
Precautions
16
General Precautions
17
Intended Audience
17
Safety Precautions
17
Operating Environment Precautions
19
Application Precautions
20
Section 1 PC Setup
23
PC Setup
24
Changing the PC Setup
24
CPM1/CPM1A PC Setup Settings
25
CPM2A/CPM2C PC Setup Settings
29
SRM1(-V2) PC Setup Settings
35
Basic PC Operation and I/O Processes
38
Startup Mode
38
Hold Bit Status
39
Program Memory Write-Protection
39
RS-232C Port Servicing Time (CPM2A/CPM2C/SRM1(-V2) Only)
40
Peripheral Port Servicing Time
40
Cycle Monitor Time
40
Minimum Cycle Time
41
Input Time Constants
41
CPM2C Changes in SW2
43
Error Log Settings
43
Section 2 Special Features
46
Special Features
46
CPM2A/CPM2C Interrupt Functions
47
Processing the same Memory Locations with the Main Program
48
And Interrupt Subroutines
48
Interrupt Inputs
51
Interval Timer Interrupts
58
Precautions on Programming Interrupts
63
CPM2A/CPM2C High-Speed Counters
66
Using High-Speed Counters
68
Input Interrupts in Counter Mode
89
CPM1/CPM1A Interrupt Functions
98
Types of Interrupts
98
Input Interrupts
100
Masking All Interrupts
104
Interval Timer Interrupts
105
High-Speed Counter Interrupts
107
SRM1(-V2) Interrupt Functions
115
Types of Interrupts
115
CPM2A/CPM2C Pulse Output Functions
118
Interval Timer Interrupts
119
CPM2A/CPM2C Pulse Output Functions
119
Using Pulse Outputs with Variable Duty Ratio
132
Using Pulse Outputs with Trapezoidal Acceleration and Deceleration
138
CPM1A Pulse Output Functions
152
Programming Example in Continuous Mode
153
Programming Example in Independent Mode
153
Using Pulse Output Instructions
153
Changing the Frequency
154
Stopping Pulse Output
154
Synchronized Pulse Control (CPM2A/CPM2C Only)
155
Data Computation Standards
167
Pulse Outputs
167
Synchronized Pulse Control
167
Analog I/O Functions (CPM1/CPM1A/CPM2A/CPM2C Only)
168
Temperature Sensor Input Functions (CPM1A/CPM2A/CPM2C Only)
168
Compobus/S I/O Slave Functions (CPM1A/CPM2A/CPM2C Only)
168
Compobus/S I/O Master Functions (SRM1(-V2) and CPM2C-S Only)
169
Analog Controls (CPM1/CPM1A/CPM2A Only)
171
Quick-Response Inputs
174
CPM1/CPM1A Quick-Response Inputs
174
CPM2A/CPM2C Quick-Response Inputs
175
Macro Function
178
Calculating with Signed Binary Data
179
Differential Monitor
180
Definition of Signed Binary Data
180
Arithmetic Flags
180
Inputting Signed Binary Data Using Decimal Values
180
Expansion Instructions (CPM2A/CPM2C/SRM1(-V2) Only)
181
CPM2A/CPM2C/CPM2C-S Expansion Instructions
182
SRM1(-V2) Expansion Instructions
183
Using the CPM2A/CPM2C Clock Function
184
Data Area Words
184
Setting the Time
184
Section 3 Using Expansion Units
185
Section 3
185
Analog I/O Units
186
CPM1A-MAD01 Analog I/O Unit
186
CPM1A-MAD11 and CPM2C-MAD11 Analog I/O Units
197
Temperature Sensor Units
213
CPM1A/CPM2A Temperature Sensor Units
213
CPM2C Temperature Sensor Units
214
Using Temperature Sensor Units
215
Connecting Temperature Sensor Units
215
Ladder Programming
222
Two-Decimal-Place Mode
228
Compobus/S I/O Link Units
234
Devicenet I/O Link Unit
239
Using Expansion Units
185
Section 4 Communications Functions
245
Communications Functions
245
SECTION 4 Communications Functions
245
Introduction
246
Overview
246
Wiring Ports
246
CPM1/CPM1A Communications Functions
247
Host Link Communications
247
One-To-One NT Link Communications
248
One-To-One PC Link Communications
249
CPM2A/CPM2C Communications Functions
251
Host Link Communications
251
No-Protocol Communications
271
One-To-One NT Link Communications
280
One-To-One PC Link Communications
283
SRM1(-V2) Communications Functions
288
Host Link Communications
288
No-Protocol Communications
292
One-To-One NT Link Communications
297
One-To-N NT Link Communications
298
One-To-One PC Link Communications
299
Host Link Commands
301
Ir/Sr Area Read - Rr
301
Lr Area Read - Rl
302
Hr Area Read - Rh
302
Pv Read - Rc
302
Tc Status Read - Rg
303
DM Area Read - Rd
303
Ar Area Read - Rj
304
Ir/Sr Area Write - Wr
305
Lr Area Write - Wl
305
Hr Area Write - Wh
306
Pv Write - Wc
306
Tc Status Write - Wg
307
DM Area Write - Wd
308
Ar Area Write - Wj
308
Sv Read 1 - R
309
Sv Read 2 - R
310
Sv Change 1 - W
311
Sv Change 2 - W
312
Status Read - Ms
313
Status Write - Sc
314
Error Read - Mf
315
Forced Reset - Kr
317
Multiple Forced Set/Reset - Fk
318
Forced Set/Reset Cancel - Kc
319
Pc Model Read - MM
320
Test - Ts
320
Program Read - Rp
321
Program Write - Wp
321
Compound Command - Qq
322
Abort - Xz
324
Initialize
324
Txd Response - Ex
324
Undefined Command - IC
325
Section 5 Memory Areas
326
Memory Areas
326
Memory Area Functions
327
Memory Area Structure
327
SECTION 5 Memory Areas
328
Functions
330
I/O Allocation for CPM1/CPM1A/CPM2A Pcs
332
CPM1/CPM1A/SRM1(-V2) Flash Memory
332
CPU Units
332
Expansion I/O Units
336
Expansion Units
337
Examples of Expansion Unit and Expansion I/O Unit Allocation
338
I/O Allocation for CPM2C Pcs
342
CPU Units
342
Expansion I/O Units
344
Expansion Units
347
Examples of Expansion Unit and Expansion I/O Unit Allocation
348
Ladder-Diagram Programming
351
Basic Procedure
352
Instruction Terminology
352
Basic Ladder Diagrams
353
Controlling Bit Status
372
Work Bits (Internal Relays)
374
Programming Precautions
376
Program Execution
378
Instruction Set
379
SECTION 7 Instruction Set
379
Notation
382
Instruction Format
382
Data Areas, Definer Values, and Flags
382
Differentiated Instructions
384
Coding Right-Hand Instructions
385
Instruction Tables
388
Ladder Diagram Instructions
394
Bit Control Instructions
395
No Operation - Nop
399
End - End
399
INTERLOCK and INTERLOCK CLEAR - IL(02) and ILC(03)
399
JUMP and JUMP END - JMP(04) and JME
401
User Error Instructions: FAILURE ALARM and RESET - FAL(06) and SEVERE FAILURE ALARM - FALS
403
Step Instructions: STEP DEFINE and STEP START-STEP(08)/SNXT
403
STEP DEFINE and STEP START-STEP(08)/SNXT(09)
403
Timer and Counter Instructions
406
Shift Instructions
422
Data Movement Instructions
429
Data Control Instructions
439
Comparison Instructions
450
Conversion Instructions
457
BCD Calculation Instructions
475
Binary Calculation Instructions
485
Special Math Instructions
489
Logic Instructions
497
Increment/Decrement Instructions
501
Subroutine Instructions
502
Pulse Output Instructions
505
Special Instructions
515
Interrupt Control Instructions
519
Communications Instructions
523
Section 8
529
PC Operations and Processing Time
529
CPM1/CPM1A Cycle Time and I/O Response Time
530
The CPM1/CPM1A Cycle
530
CPM1/CPM1A Cycle Time
531
I/O Response Time
532
One-To-One PC Link I/O Response Time
533
Interrupt Processing Time
535
CPM1/CPM1A Instruction Execution Times
536
CPM2A/CPM2C Cycle Time and I/O Response Time
541
CPM2A/CPM2C Cycle Time
541
I/O Response Time
542
One-To-One PC Link I/O Response Time
543
Interrupt Processing Time
545
CPM2A/CPM2C Instruction Execution Times
546
SRM1(-V2) Cycle Time and I/O Response Time
555
The SRM1(-V2) Cycle
555
SRM1(-V2) Cycle Time
556
I/O Response Time
558
One-To-One PC Link I/O Response Time
559
Interrupt Processing Time
560
SRM1(-V2) Instruction Execution Times
561
Troubleshooting
567
Introduction
568
Programming Console Operation Errors
568
Programming Errors
569
User-Defined Errors
570
Operating Errors
571
Error Log
573
Host Link Errors
575
Troubleshooting Flowcharts
575
A Programming Instructions
576
B Error and Arithmetic Flag Operation
581
C Memory Areas
584
D I/O Assignment Sheet
601
E Program Coding Sheet
602
F List of FAL Numbers
605
G Extended ASCII
607
Index
608
Revision History
614
Advertisement
Related Products
Omron SYSMAC-SE2
Omron SYSMAC-SE20 Series
OMRON SYSMAC CJ Series
Omron SYSMAC CPM1
Omron SYSMAC CPM1A
Omron SYSMAC CP1L
Omron SYSMAC CQM1H
Omron SYSMAC NY Series
Omron sysmac EtherCAT NJ501 Series
Omron sysmac EtherCAT NX1P2 Series
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