Data Handling Instructions; Mov; Data Transmission - Mitsubishi Electric melsec-k Programming Manual

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

Advertisement

4-4.
Data ]handling instructions
In addition to sequence instructions by relay symbols and logic symbols, data handling instruc-
tions such as addition and subtraction, magnitude comparison, BCD/BIN conversion, etc. are in-
cluded.
Data handling instructions are composed of 3 steps, and their notation method is shown in the
following figure.
Data handling
instructions
- -
a
+*
-
II
Destination address
Operation is executed with
the data of D and the data
of S, and the result isa
'
stored in the address D.
I
/ /
B C D , B I N
Source address
This indicates the source of the data for
the operation.
Fig. 4-26. Composition of the data
handling instructions
4-4-1.
MOV'
...
Data transmission
0
1,
D
X O
1
2
3
I
M O V
2
D 1
Fig. 4-27.
MOV instruction
3
When
XO
becomes ON, the data of S
(Dl) are transmitted to D (D2).
The possible operation S/D combina-
tions are shown in the following table by circles.
0 2
Constant
--*
According to the table on the left,
these data operations are possible.
h I 0
v
K
D
M O T
D i
D j
M O V
T o r C D
M O V
X
D
M O V
n
T or
c
M O V
D
Y
M O V
D
M
M O V
M
D

Advertisement

Table of Contents
loading

Table of Contents