Output To The External Indicator For The Timer Time Limit - Mitsubishi Electric melsec-k Programming Manual

Hide thumbs Also See for melsec-k:
Table of Contents

Advertisement

a
3
6
9
12
5-3-2. Output to the
external indicator for the timer time limit
(1) Subject
Output of the present time limit value for the timers T O (first digit)
,
T1 (second digit)
,
T2
(third digit)
,
and T3 (fouth digit) is executed as a BCD for each digit, and the numerical
display is driven. (DC
5V)
(2) Programming outlines
KY32 (64 points) is con-
nected to the I/O unit 0,
KXlO (16 points) is con-
nected to the I/O unit 1,
and assignment of X
and Y is executed
as
shown in the figure on
the right. Because of the
64 Points of KY32, the
upper digits 0 to 3 of the
I/O adresses are oc-
cupied. The timer set
values are T O
=
0.9 sec,
Numerical display
K y 3 2
03
YO4
1
OB
Yoc
2
1 7
PI1
8
27
2
1 %
5v
T1
=
1.5 sec, T2
=
52
AClQOv
I / O U N I T
I/OUNIT
1
0
Fig. 5-27. External display of the timer time limit
sec, and T3
=
131 sec.
(3) Sequence design and coding example
0
LD
1
OUT
Timer
2
K
+
- - i
Dummy
contact
for normal
switching
J
drive con-
ditions
BCD
con v er
-
sion for
the timer
contents
and out-
put
Fig. 5-28. External display circuit for the timer time limit
(Coding)
3
L D
X r i
4
OUT
Ti
5
K
15
6
LD
Xaz
7 OUT
T 2
8
K
520
9
LD
X 4 3
10
OUT
T3
11
,
K
1310
12
ED1
Mo
18
BCD
14
TO
15
D O
1 6
MOV
17
D O
18
K1
Yo
x 4 0
19
T o
20
9
2 1
2 2
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
RCD
TI
D 1
D1
MOV
K2
y o 4
BCD
T 2
D2
D2
K3
Yoc
T3
D3
D3
MOV
BCD
MOV
K d
y18
END
-56-

Advertisement

Table of Contents
loading

Table of Contents