Data Inversion - Mitsubishi Electric MELSEC-KOJIU Instruction Manual

Table of Contents

Advertisement

t
5.4.14 Data inversion
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
With this function, the contents in the specified data register are inversed, that is, "1 '"s comple-
ment is obtained.
+
5.4.14.1 Functions
Function No.:
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
D (D110)
D (D110)
F l O O
Fig. 5.4.14.1 Data Inversion
5.4.14.2 Circuit applications
Ex.:
Since the subtracted result is obtained as "2"' s complement
must be changed to absolute vafue as follows:
When (DIO)
-
(020) is equal to
5 - 7 =
(DlO), for example,
-2 -2
1
when the result is minus,
it
D10 is specified in D110.
Fig. 5.4.14.2 Data Inversion Circuit
80

Advertisement

Table of Contents
loading

Table of Contents