Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
Omron Manuals
Controller
SYSMAC C200HG
Operation manual
Omron SYSMAC C200HG Operation Manual
Hide thumbs
Also See for SYSMAC C200HG
:
Programming manual
(448 pages)
,
Specification
(18 pages)
,
Specification
(17 pages)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
page
of
586
Go
/
586
Contents
Table of Contents
Troubleshooting
Bookmarks
Table of Contents
Table of Contents
Precautions
General Precautions
Intended Audience
Safety Precautions
Application Precautions
Operating Environment Precautions
EC Directives
Applicable Directives
Concepts
Conformance to EC Directives
Relay Output Noise Reduction Methods
Introduction
Overview
PC Terminology
OMRON Product Terminology
Peripheral Devices
Available Manuals
C200HX/HG/HE Features
Section 2 Hardware Considerations
CPU Unit Components
CPU Unit Indicators
Peripheral Device Connection
CPU Unit Capabilities
PC Configuration
Memory Cassettes
Hardware and Software Settings
Writing/Reading um Data
Writing/Reading IOM Data
CPU Unit DIP Switch
Operating Without a Backup Battery
Section 3 Memory Areas
Introduction
Data Area Overview
IR/SR Area Overview
Data Area Structure
IR (Internal Relay) Area
SR (Special Relay) Area
SYSMAC NET/SYSMAC LINK System
Remote I/O Systems
Link System Flags and Control Bits
Forced Status Hold Bit
I/O Status Hold Bit
Output off Bit
FAL (Failure Alarm) Area
Low Battery Flag
Cycle Time Error Flag
I/O Verification Error Flag
First Cycle Flag
Clock Pulse Bits
Step Flag
Group-2 Error Flag
Special Unit Error Flag
Instruction Execution Error Flag, er
Arithmetic Flags
Interrupt Subroutine Areas
RS-232C Port Communications Areas
Peripheral Port Communications Areas
Memory Cassette Areas
Data Transfer Error Bits
Ladder Diagram Memory Areas
Memory Error Flags
Data Save Flags
Transfer Error Flags
PC Setup Error Flags
Clock and Keyboard Mapping
Group-2 Error Flags
Special I/O Unit Restart Bits and Error Flags
AR (Auxiliary Relay) Area
Restarting Special I/O Units
Slave Rack Error Flags
Group-2 Error Flags
Optical I/O Unit and I/O Terminal Error Flags
SYSMAC Link/Controller Link System Data Link Settings
Error History Bits
Active Node Flags
SYSMAC LINK/SYSMAC NET Link System Service Time
Calendar/Clock Area and Bits
TERMINAL Mode Key Bits
Power off Counter
SYSMAC LINK - Peripheral Device Flags
Cycle Time Flag
Link Unit Mounted Flags
CPU Unit-Mounting Device Mounted Flag
FPD Trigger Bit
Data Tracing Flags and Control Bits
Cycle Time Indicators
DM (Data Memory) Area
Expansion DM Area
Special I/O Unit Data
Error History Area
PC Setup
Communications Board Settings
Special I/O Unit Area Settings
Holding Relay) Area
TC (Timer/Counter) Area
LR (Link Relay) Area
UM Area
EM (Extended Data Memory) Area
Using the EM Area
The Current EM Bank
TR (Temporary Relay) Area
Section 4 Writing and Inputting the Program
Basic Procedure
Instruction Terminology
Basic Ladder Diagrams
Basic Terms
Mnemonic Code
Ladder Instructions
OUTPUT and OUTPUT NOT
The END Instruction
Logic Block Instructions
Coding Multiple Right-Hand Instructions
Program Capacity
The Programming Console
The Keyboard
PC Modes
The Display Message Switch
Preparation for Operation
Entering the Password
Buzzer
Clearing Memory
Registering the I/O Table
Clearing Error Messages
Verifying the I/O Table
Reading the I/O Table
Clearing the I/O Table
SYSMAC NET Link Table Transfer
Inputting, Modifying, and Checking the Program
Setting and Reading from Program Memory Address
Entering and Editing Programs
Checking the Program
Displaying the Cycle Time
Program Searches
Inserting and Deleting Instructions
Branching Instruction Lines
Jumps
Controlling Bit Status
DIFFERENTIATE up and DIFFERENTIATE down
Keep
Self-Maintaining Bits (Seal)
Work Bits (Internal Relays)
Programming Precautions
Program Execution
Special I/O Unit Interface Programs
Restarting Special I/O Units
Special I/O Unit Error Processing Program
Changing the Special I/O Unit Settings
Special I/O Unit I/O Refreshing Interval
Reducing the Cycle Time
Analog Timer Unit Programming
Operation
Bit Allocation and DIP Switch Settings
Example Program
Section 5 Instruction Set
Data Areas, Definer Values, and Flags
Instruction Format
Notation
Differentiated Instructions
Expansion Instructions
Coding Right-Hand Instructions
Instruction Set Lists
Function Codes
Alphabetic List by Mnemonic
Ladder Diagram Instructions
LOAD, LOAD NOT, AND, and NOT, OR, and or NOT
AND LOAD and or LOAD
Bit Control Instructions
OUTPUT and OUTPUT NOT - out and out NOT
DIFFERENTIATE up and down - DIFU(13) and DIFD
SET and RESET - SET and RSET
Keep - Keep(11)
INTERLOCK and INTERLOCK CLEAR - IL(02) and ILC
JUMP and JUMP END - JMP(04) and JME(05)
End - End(01)
Operation - Nop(00)
Timer and Counter Instructions
Timer - Tim
High-Speed Timer - Timh(15)
Totalizing Timer - Ttim(87)
Counter - Cnt
Reversible Counter - Cntr(12)
Data Shifting
Shift Register - Sft(10)
Reversible Shift Register - Sftr(84)
Arithmetic Shift Left - Asl(25)
Arithmetic Shift Right - Asr(26)
Rotate Left - Rol(27)
Rotate Right - Ror(28)
One Digit Shift Left - Sld(74)
One Digit Shift Right - Srd(75)
Word Shift - Wsft(16)
Asynchronous Shift Register - Asft(17)
Data Movement
Move - Mov(21)
Move Not - Mvn(22)
Block Set - Bset(71)
Block Transfer - Xfer(70)
Data Exchange - Xchg(73)
Single Word Distribute - Dist(80)
Data Collect - Coll(81)
Move Bit - Movb(82)
Move Digit - Movd
Transfer Bits - Xfrb(62)
Em Block Transfer - Xfr2
Em Bank Transfer - Bxf2
Data Comparison
Multi-Word Compare - Mcmp
Compare - Cmp(20)
Double Compare - Cmpl(60)
Block Compare - Bcmp(68)
Area Range Compare - Zcp(88)
Double Area Range Compare - Zcpl
Signed Binary Compare - Cps
Double Signed Binary Compare - Cpsl(--)
Data Conversion
Bcd-To-Binary - bin(23)
Double Bcd-To-Double Binary - Binl(58)
Binary-To-Bcd - Bcd(24)
Double Binary-To-Double Bcd - Bcdl(59)
Hours-To-Seconds - Sec(65)
Seconds-To-Hours - Hms(66)
4-To-16/8-To-256 Decoder - Mlpx(76)
16-To-4/256-To-8 Encoder - Dmpx(77)
7-Segment Decoder - Sdec(78)
Ascii Convert - Asc(86)
Ascii-To-Hexadecimal - Hex
Scaling - Scl
Column to Line - Line(63)
Line to Column - Colm(64)
2'S Complement - Neg
Double 2'S Complement - Negl(--)
BCD Calculations
Increment - Inc(38)
Decrement - Dec(39)
Set Carry - Stc(40)
Clear Carry - Clc(41)
Bcd Add - Add(30)
Double Bcd Add - Addl(54)
Bcd Subtract - Sub(31)
Double Bcd Subtract - Subl(55)
Bcd Multiply - Mul(32)
Double Bcd Multiply - Mull(56)
Bcd Divide - DIV(33)
Double Bcd Divide - Divl(57)
Floating Point Divide - Fdiv(79)
Square Root - Root(72)
Binary Calculations
Binary Add - Adb(50)
Binary Subtract - Sbb(51)
Binary Multiply - Mlb(52)
Binary Divide - Dvb(53)
Double Binary Add - Adbl(--)
Double Binary Subtract - Sbbl(--)
Signed Binary Multiply - Mbs
Double Signed Binary Multiply - Mbsl(--)
Signed Binary Divide - Dbs
Double Signed Binary Divide - Dbsl(--)
Special Math Instructions
Find Maximum - Max
Find Minimum - Min
Average Value - Avg
Sum - Sum(--)
Arithmetic Process - Apr(69)
Logic Instructions
Complement - Com(29)
Logical and - Andw(34)
Logical or - Orw(35)
Exclusive or - Xorw
Exclusive nor - Xnrw
Subroutines and Interrupt Control
Subroutines
Interrupts
Subroutine Enter - Sbs(91)
SUBROUTINE DEFINE and RETURN - SBN(92)/RET(93)
Macro - Mcro(99)
Interrupt Control - Int(89)
Step Instructions
STEP DEFINE and STEP START-STEP(08)/SNXT(09)
Special Instructions
FAILURE ALARM - FAL(06) and
Severe Failure Alarm - Fals(07)
Cycle Time - Scan(18)
Trace Memory Sampling - Trsm(45)
Message Display - Msg(46)
Long Message - Lmsg(47)
Terminal Mode - Term(48)
Watchdog Timer Refresh - Wdt(94)
I/O Refresh - Iorf(97)
Group-2 High-Density I/O Refresh - Mprf(61)
Bit Counter - Bcnt(67)
Frame Checksum - Fcs
Failure Point Detection - Fpd
Data Search - Srch
Expansion DM Read - Xdmr
Indirect Em Addressing - Iems
Select Em Bank - Embc
Network Instructions
Network Send - Send(90)
Network Receive - Recv(98)
About Network Communications
Serial Communications Instructions
Receive - Rxd
Transmit - Txd
Change Rs-232C Setup - Stup
Protocol Macro - Pmcr
Advanced I/O Instructions
7-Segment Display Output - 7Seg
Digital Switch Input - Dsw
Hexadecimal Key Input - Hky
Ten Key Input - Tky
Matrix Input - Mtr
Special I/O Unit Instructions
Special I/O Unit Read - Iord
Special I/O Unit Write - Iowr
Pcmcia Card Macro - Cmcr
SECTION 6 Program Execution Timing
Cycle Time
Calculating Cycle Time
Instruction Execution Times
O Response Time
SECTION 7 Program Monitoring and Execution
Monitoring Operation and Modifying Data
Serial Communications
Introduction
Host Link Communications
RS-232C Communications
One-To-One PC Links
NT Links
The Protocol Macro Function
SECTION 9 Troubleshooting
Alarm Indicators
Error Messages
Error Flags
Host Link Errors
SECTION 10 Host Link Commands
Host Link Command Summary
Host Link End Codes
Host Link Commands
Standard Models
Programming Instructions
Word Assignment Recording Sheets
Program Coding Sheet
Data Conversion Tables
Extended ASCII
Glossary
Index
Revision History
Advertisement
Quick Links
Download this manual
Cat. No. W303-E1-09
Programmable Controllers
C200HX/C200HG/C200HE
OPERATION MANUAL
Table of
Contents
Previous
Page
Next
Page
1
2
3
4
5
Advertisement
Chapters
Table of Contents
7
Precautions
13
Section 2 Hardware Considerations
29
Section 3 Memory Areas
41
Section 4 Writing and Inputting the Program
91
Section 5 Instruction Set
153
Table of Contents
Need help?
Do you have a question about the SYSMAC C200HG and is the answer not in the manual?
Ask a question
Questions and answers
Subscribe to Our Youtube Channel
Related Manuals for Omron SYSMAC C200HG
Controller OMRON CJ - PROGRAMMING MANUAL 12-2009 Programming Manual
Programmable controllers (448 pages)
Controller OMRON CJ - PROGRAMMING MANUAL 08-2008 Programming Manual
Programmable controllers (443 pages)
Control Unit OMRON C200H-MC221 Specification
Motion control unit (18 pages)
Control Unit OMRON C200H Specification
Position control unit (17 pages)
Controller Omron C200HE-CPU11 Installation Manual
(241 pages)
Controller Omron C200HX Series Replacement Manual
From c200hx/hg/he to cj2 (38 pages)
Controller Omron C200HG-CPU43 Installation Manual
(241 pages)
Controller Omron C200HG-CPU 3 Series Replacement Manual
From c200hx/hg/he to cj2 (38 pages)
Controller Omron C200HG-CPU 3-Z Series Replacement Manual
From c200hx/hg/he to cj2 (38 pages)
Controller Omron C200HX-CPU E Series Installation Manual
(253 pages)
Controller Omron C200HX-CPU ZE Series Operation Manual
(20 pages)
Controller Omron C200HE-CPU42-E Instruction Manual
(261 pages)
Controller Omron C200HX-CPU-E Series Installation Manual
(20 pages)
Controller Omron C200HG-CPU43-E Instruction Manual
(261 pages)
Controller Omron SYSMAC C200HS Installation Manual
(230 pages)
Controller Omron C200H-MC221 Operation Manual
Motion control unit (305 pages)
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL
Need help?
Do you have a question about the SYSMAC C200HG and is the answer not in the manual?
Questions and answers