Download Print this page

Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 419

Hide thumbs Also See for MELSEC FX Series:

Advertisement

FXCPU Structured Programming Manual
(Basic & Applied Instruction)
D 0
0
0
0
0
D 1
0
0
0
0
3. <8-bit conversion mode> When M8161=ON(M8161 is used commonly with RS, ASCI, HEX,
CRC instructions)
Of the data of n points (lower 8 bits only) starting from the device specified by
horizontal parity data are stored in the device specified by
M8161 is used commonly with RS, ASCI, HEX, CRC instructions. When using in 8 bits, you must keep always
ON.
M8161 is cleared when changed from RUN to STOP.
M8000
Command input
Head object device
Number of data
Example of 8-bit conversion
In the case of the program shown below, the conversion is executed as follows.
M8000
X010
D 100
D 101
D 102
D 103
D 104
D 105
D 106
D 107
D 108
D 109
Total
Horizontal parity
0
0
0
0
D 0
D 1
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
1
0
0
0
OUT
EN
ENO
d
M8161
CCD
EN
ENO
s
d
Head storage destination
device of calculated data
n
OUT
EN
ENO
d
M8161
CCD
EN
ENO
s
d
D100
D0
n
K10
Example of data content
K100
= 01100100
K111
= 0110111
K100
= 01100100
K 98
= 01100010
K123
= 0111101
K 66
= 01000010
K100
= 01100100
K 95
= 0101111
K210
= 11010010
K 88
= 01011000
K1091
1000010
0
1
0
0
0
1
0
0
0
0
0
0
1
0
0
0
1091 in BCD.
0
0
1
1
0
1
0
1
Horizontal parity
.
8-bit mode
Ignored
8-bit mode
When the number of "1" is an odd number, the horizontal
parity is 1.
When the number of "1" is an even number, the horizontal
parity is 0.
0
0
1
1
1091 in BCD.
0
1
0
1
Horizontal parity
7 Applied Instructions
7.9 External Device (optional device)
, the addition data and the
16 bits
Lower 8 bits
Source data
1
2
3
4
5
6
7
8
A
417

Advertisement

loading

This manual is also suitable for:

Fxcpu