Counter Setting By External Digital Switch - Mitsubishi Electric melsec-k Programming Manual

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

Advertisement

, . . , *
- .
5-3-3.
Counter setting by external digital switch
(1) Subject
Input of the setting values for the counters
@4
(fourth digit), C5 (third digit), C6 (second
digit), and C7 (first digit) is executed by external digital switches.
Digital switch input is composed
of a
BCD for each digit.
KX32 (64 points) is connected to the I/O unit0, and input X assignment is executed.
X O is used in common for count input.
X1 is used as the count reset input.
X2 is used as the read-in signal for the counter data setting value.
These external input signals should be changed to pulses internally for easier use.
The set value input assignment is executed sequently from X10 on wards.
(2) Programming outlines
C4 is 4 bits
x
4
=
16 points
...
X10 to X1F
C5 is 12 points
...
X20 to X2B, C6 is X2C to X33
C7 is X33 to X37.
(3) Sequence design example
I
(Sequence)
1 -
Counter
1'
d .
input
i
PLS
-
Counter
reset
2t
PLS
M2
-1
Set value
Fig. 5-29. External counter setting
-57-

Advertisement

Table of Contents
loading

Table of Contents