Omron CQM1H - 08-2005 Operation Manual page 208

Programmable controllers; inner boards
Hide thumbs Also See for CQM1H - 08-2005:
Table of Contents

Advertisement

Programming Example
(3) Inputting the Two-second Timer
1,2,3...
2. Input the normally closed AND condition TIM 002.
(It isn't necessary to input leading zeroes.)
AND
NOT
TIM
3. Input the 1-second timer TIM 001.
TIM
4. Input the SV for TIM 001 (#0010 = 1.0 s).
B
1
The following key operations are used to input the 2-second timer.
1. Input the normally open condition IR 20000.
C
A
A
LD
2
0
0
2. Input the normally closed AND condition TIM 002.
(It isn't necessary to input leading zeroes.)
AND
NOT
TIM
3. Input the 2-second timer TIM 002.
TIM
4. Input the SV for TIM 002 (#0020 = 2.0 s).
C
2
5READ
NOP (000)
WRITE
5
C
AND NOT TIM 002
2
6READ
NOP (000)
WRITE
6
B
TIM
1
6 TIM DATA
WRITE
6 TIM DATA
A
0
7READ
NOP (000)
WRITE
7
A
LD
0
8READ
NOP (000)
WRITE
8
AND NOT TIM 002
C
2
9READ
NOP (000)
WRITE
9
C
TIM
2
9 TIM DATA
WRITE
9 TIM DATA
A
0
10READ
NOP (000)
WRITE
Section 7-4
001
#0000
#0010
02000
002
#0000
#0020
183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents