Mitsubishi Electric FX3G SERIES Programming Manual page 470

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
2. 16-bit conversion mode (while M8161 is OFF)
(M8161 is also used for the RS, ASCI, HEX and CRC instructions.)
With regard to "n" data starting from
order 8 bits are stored to
M8161 is used also for the RS, ASCI, HEX and CRC instructions. When using the 16-bit mode, set M8161 to normally
OFF. M8161 is cleared when the PLC mode is changed from RUN to STOP.
M8000
Command
input
FNC 84
CCD
Example of 16-bit conversion
In the following program, conversion is executed as follows:
M8000
X010
FNC 84
CCD
S
Low-order 8 bits of D100
High-order 8 bits of D100
Low-order 8 bits of D101
High-order 8 bits of D101
Low-order 8 bits of D102
High-order 8 bits of D102
Low-order 8 bits of D103
High-order 8 bits of D103
Low-order 8 bits of D104
High-order 8 bits of D104
Total
Horizontal parity
0
0
0
D 0
D 1
0
0
0
468
S
, the addition data and horizontal parity data of high-order 8 bits and low-
and
+1 respectively.
D
D
M8161
S
D
M8161
D100
D0
K10
Example of data contents
K100
= 01100100
K111
= 0110111 (1)
K100
= 01100100
K 98
= 01100010
K123
= 0111101 (1)
K 66
= 01000010
K100
= 01100100
K 95
= 0101111 (1)
K210
= 11010010
K 88
= 01011000
K1091
1000010 (1)
0
0
1
0
0
0
1
0
0
0
0
0
0
1
0
0
16-bit mode
n
16-bit mode
← When the number of "1" is odd, the horizontal parity is "1".
When the number of "1" is even, the horizontal parity is "0".
0
0
0
1
1
0
0
1
0
1
16 External FX Device – FNC 80 to FNC 89
16.5 FNC 84 – CCD / Check Code
"1091" in BCD
Horizontal parity

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents