Mitsubishi Electric MELSEC-KOJIU Instruction Manual page 82

Table of Contents

Advertisement

J
5 . EXPLANATION OF PROGRAM
0
1
0
1
1
0
0
0
1
,
1
0
1
1
1 - 0
1
0
(1) When 12-bit contents starting from
Y20
are transferred to 08
.
.
. . .
Y2B 2A
29
28
27
26
25
24
23
22
21
20
20481024 512 256 128
64
32
16
8
4
2
1
1
1
+
8
+
2
+
1
=
1419
1
1
1
1024
+
256+128
(2) When 8-bit contents from
Y30
are transferred to 024
. .
. . . .
Y37' 36
35
34
33
32
31
30
128
64
32
16
8
4
2
1
=
186
1
1
1
1
1
128
+
3 2 + 1 6 + 8
+
2
When K1419 for
Y20.
or K186 for
Y30. is
entered to the specified D by using
MOV
instruc-
tained.
I
tion, the bit pattern in the D becomes as shown above and the standard pattern can be ob-
Y20 transfer command
"ON"
= IK14191 D9
HSET
M66
1
I )
I
t
1 )
Reset of checked result
Y30 transfer command M80
M81
I
,
I
t
l M O V l K10241 D l l l
1
t
I
M81
M82
- 1
-+
"12 bit from Y20" is specified
D9 is specified for destination of transfer.
Execution of transfer command
Entered bit pattern is checked against standard
pattern.
When result is acceptable, M66 turns on.
When
it
is not acceptable, M66 turns off.
Y30 transfer command
"ON"
"8 bit from Y30"
is
specified.
024 is specified for destination of transfer.
Execution of transfer command
Checking of entered bit pattern against stand-
ard bit pattern.
When result is acceptable, M82 turns on.
When
it
is not acceptable, M82 turns
off.
.
Fig. 5.4.1 1.2 Y
+
D Data Transfer Circuit.
74

Advertisement

Table of Contents
loading

Table of Contents