16-Bit Data Dissociation - Mitsubishi Electric MELSEC-KOJIU Instruction Manual

Table of Contents

Advertisement

5.4.3 16-bit data dissociation
The result from AND or Or with 16-bit data is divided into one pair of 8-bit data when this
function is used.
5.4.3.1 Functions
Function No.: F111
Data to be dissociated
Dn (DIIO)
Dissociated data
Dm (D111)
Dn (D110)
-
-
\
0 1 0 1 0 1 0 1 0 0 0 0 1 1 1 1
0 0 0 0 0 0 0 0 1 0 1 0 1 0 1
[
m
o
m
1
They always
turn to "0"
They always
turn t o "0".
Low-o rd e r data
High-order
I
data
I
Fig. 5.4.3.1 Data dissociation
(1
)
When D No. (Dn) storing 16-bit data to be dissociated is entered in D110 and D No. in
which upper 8-bit data is placed after the dissociation is entered in D111, and F111 is exe-
cuted, the dissociated two data are placed in Dm (D111) and Dn (DIIO).
(2) The data to be dissociated may be binary 16-bit data or BCD 4-digit data.
5.4.3.2 Circuit applications
Ex.:
Content (BCD 4-digit data) of D5 are divided into two-digit BCD data, and placed in D5
and D20 separately.
D5 content
m - 1
I
-'
D5
i s specified in
DIIO.
DllO
l m m01016111?T;rj l
D20 is specified in D111.
D111
m - 1
Fig. 5.4.3.2 Data Dissociation Circuit
58
I
1
1

Advertisement

Table of Contents
loading

Table of Contents