Omron SYSMAC C20K Operation Manual page 99

K-type programmable controllers
Hide thumbs Also See for SYSMAC C20K:
Table of Contents

Advertisement

Timer and Counter Instructions
Example
Setup
Programming
1, 2, 3... 1.
88
Timer ranges are set in the output words as shown in the following table.
Timer
Output
word bit
T
08
0
09
T
10
1
11
T
12
2
13
T
14
3
15
This example uses an Analog Timer Unit connected to a C28K CPU. Word
allocations are shown in the following table.
Unit
CPU
Analog Timer Unit
All four time's are used. Times for two of them are adjusted on the variable
resistors provided on the Analog Timer Unit. The other two times are ad-
justed using external resistors. These adjustments are made as follows. Re-
fer to the Analog Timer Unit Installation Guide for hardware details.
Timer
SV
T
Approx. 0.6 s
0
T
Approx. 3 s
1
T
Approx. 2.6 s
2
T
Approx. 8 min
3
The following program sections are used to set up the required data and pro-
duce outputs from the four timers. The first section moves E400 into IR 06 to
set the desired ranges (see table above). The second program section
achieves the following operation.
IR 0500 is turned ON approximately 0.6 seconds after IR 0002 turns ON
as the result of the action of T
2.
IR 0501 is turned ON approximately 3 seconds after IR 0003 turns ON
as the result of the action of T
3.
IR 0502 is turned ON approximately 20 seconds after IR 0004 turns ON
as the result of the action of T
4.
IR 0503 is turned ON approximately 8 minutes after IR 0004 turns ON
as the result of the action of T
0.1 to 1s
1 to 10s
OFF
ON
OFF
OFF
OFF
ON
OFF
OFF
OFF
ON
OFF
OFF
OFF
ON
OFF
ON
Input word
00
02
Range
0.1 to 1 s
1 to 10 s
10 to 60 s
1 to 10 min
.
0
.
1
.
2
.
3
Section 5-11
10 to 60s
1 to 10m
OFF
ON
ON
ON
OFF
ON
ON
ON
OFF
ON
ON
ON
OFF
ON
OFF
ON
Output word
01
03
Resistor adjustment
6/10th turn clockwise
3/10th turn clockwise
2/10th turn clockwise
8/10th turn clockwise

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c40kSysmac c60kSysmac c28k

Table of Contents