EasyManua.ls Logo

Omron CQM1H - 08-2005 - Page 209

Omron CQM1H - 08-2005
285 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
184
Programming Example Section 7-4
(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 02000.
2. Input the normally open AND condition TIM 001.
(It isn’t necessary to input leading zeroes.)
3. Input the normally closed condition IR 02000.
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 02000.
2. Input the normally closed AND condition TIM 001.
(It isn’t necessary to input leading zeroes.)
LD
C
2
A
0
A
0
A
0

10
LD 02000
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

12
LD NOT 02000
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

14
LD 02000
WRITE

15READ
NOP (000)
AND
NOT
TIM
B
1

15
AND NOT TIM 001
WRITE

16READ
NOP (000)

Table of Contents

Related product manuals