
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)
Содержание CPM2C-S100C
Страница 2: ......
Страница 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 14: ...xiv ...
Страница 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Страница 222: ...200 Programming Example Section 8 3 ...
Страница 250: ......
Страница 256: ......
Страница 258: ......
Страница 260: ...238 Support Software Appendix C ...
Страница 268: ......