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