Program Examples For Data Handling Instructions; Switching Of Timer Set Values - Mitsubishi Electric melsec-k Programming Manual

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

Advertisement

5-3. Program examples for data hameling instructions
5-3-1. Switching of timer set values
(1)Subject
The set values for the timer time limits among the 3 types of '1 sec, 10 sec, and lo0 sec can be
switched by external switching signals.
The timer start signal is by push button input, display is made during operation, and output
is put out at time-up.
(2)Outlines of programming
1
sec
3
lo0
sec
, , ,
\
I%-
Timer start
1
Timer reset
Lo-
Input power supply
Timer operating signal
KX10
KY10
7
OE
'Timer up signal
YlO
y11
d
R L
t n - l "
I
I
R L
I I
Load power supply
Fig. 5-25. Switching of the timer set value
(3)Sequence design and coding example
(Sequence)
12
14
16
20
Fig.
5-26.
Switching circuit for the timer set value
-55-
0 L D
1
MOV
2 K
3
4
L D
5
MOV
6 K
7
8 LD
9
MOV
10
K
1 1
12 LD
18
SET
1 4 LD
-
'Load
3 types of timer con-
stants are provided
internally, and set-
ting is executed
by
selection.
(Coding)
XO
15
1 6
10
17
DO
18
x1
19
20
100
21
110
2 2
xz
2 3
1000
DO
x 3
Mo
x 4
RS'I'
Mo
IJ)
M~
OUT
To
1)o
O U T
Y l o
Lz)
To
O U T
Y l l
OUT
Y12
END

Advertisement

Table of Contents
loading

Table of Contents