Omron CPM2C Operation Manual page 211

Sysmac series programmable controller
Hide thumbs Also See for CPM2C:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cpm2c

Table of Contents