Addition - Mitsubishi Electric melsec-k Programming Manual

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

Advertisement

5-3-4.
Addition
lTubject
The data register D O is cleared by ON of input XO1, and flicker (0.5
- I -
0.5 sec) for the
timers TO and T1 is started simultaneously.
With each flicker,
+
2 is executed for the data register DO, and the output Y 10 becomes
ON when the contents of D O become 20.
(DO is monitored to confirm program operation.)
Programming outlines
Data processing for addition of the external input signal X1 at each timer flicker, etc., is ex-
ecuted by the internal pulse formation and processing of this signal.
Sequence design and coding example
(Sequence)
(Coding)
6
10
15
Fig. 5-30 Addition circuit
l
Operationg
1
1)o
Clear
}
Flicker
I
I
I
I10
+
2
'
- + D o
I
YlO
C'llt-
1
: ; :
: m e
of D O
=
20
Note: In the test mode of the PU, MO SET and RST enable starthtop operations.
-58-

Advertisement

Table of Contents
loading

Table of Contents