![background image](http://html1.mh-extra.com/html/omron/cpm2c-s100c/cpm2c-s100c_operation-manual_742520219.webp)
197
Programming Example
Section 8-3
(4) Inputting the 10-count
Counter
The following key operations are used to input the 10-count counter.
1,2,3...
1.
Input the normally open condition IR 20000.
2.
Input the normally open AND condition T001.
(It isn’t necessary to input leading zeroes.)
3.
Input the normally closed condition IR 20000.
4.
Input the counter 000.
5.
Input the SV for counter 000 (#0010 = 10 counts).
(5) Inputting the Flicker
Output
1,2,3...
1.
Input the normally open condition IR 20000.
LD
C
2
A
0
A
0
A
0
A
0
10
LD
20000
WRITE
11READ
NOP (000)
AND
TIM
B
1
11
AND
TIM 001
WRITE
12READ
NOP (000)
LD
NOT
C
2
A
0
A
0
A
0
A
0
12
LD NOT
20000
WRITE
13READ
NOP (000)
CNT
A
0
13
CNT
000
WRITE
13 CNT DATA
#0000
B
1
A
0
13 CNT DATA
#0010
WRITE
14READ
NOP (000)
LD
C
2
A
0
A
0
A
0
A
0
14
LD
20000
WRITE
15READ
NOP (000)
Summary of Contents for CPM2C-S100C
Page 2: ......
Page 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 14: ...xiv ...
Page 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Page 222: ...200 Programming Example Section 8 3 ...
Page 250: ......
Page 256: ......
Page 258: ......
Page 260: ...238 Support Software Appendix C ...
Page 268: ......