Omron SYSMAC CPM2B Operation Manual page 122

Programmable controller
Hide thumbs Also See for SYSMAC CPM2B:
Table of Contents

Advertisement

Programming Example
(3) Inputting the
Two-second Timer
1, 2, 3...
(4) Inputting the 10-count
Counter
1, 2, 3...
LD
110
4. Input the SV for T001 (#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
A
LD
2
0
0
0
2. Input the normally closed AND condition T002.
(It isn't necessary to input leading zeroes.)
AND
NOT
TIM
3. Input the 2-second timer T002.
TIM
4. Input the SV for T002 (#0020 = 2.0 s).
C
2
The following key operations are used to input the 10-count counter.
1. Input the normally open condition IR 20000.
C
A
A
A
LD
2
0
0
0
2. Input the normally open AND condition T001.
(It isn't necessary to input leading zeroes.)
AND
TIM
3. Input the normally closed condition IR 20000.
C
A
A
A
2
0
0
0
NOT
00006 TIM DATA
A
0
00007READ
WRITE
NOP (000)
00007
A
0
LD
00008READ
WRITE
NOP (000)
00008
C
2
AND NOT
00009READ
WRITE
NOP (000)
00009
C
2
TIM
00009 TIM DATA
WRITE
00009 TIM DATA
A
0
00010READ
WRITE
NOP (000)
00010
A
0
LD
00011READ
WRITE
NOP (000)
00011
B
1
AND
00012READ
WRITE
NOP (000)
00012
A
0
LD NOT
00013READ
WRITE
NOP (000)
Section
#0010
20000
TIM 002
002
#0000
#0020
20000
TIM 001
20000
6-3

Advertisement

Table of Contents
loading

Table of Contents