EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 419

Mitsubishi Electric MELSEC FX Series
838 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Applied Instructions
7.9 External Device (optional device)
417
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
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 , the addition data and the
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.
Example of 8-bit conversion
In the case of the program shown below, the conversion is executed as follows.
Example of data content
D 100 K100 = 01100100
D 101 K111
= 0110111
D 102 K100 = 01100100
D 103 K 98 = 01100010
D 104 K123
= 0111101
D 105 K 66 = 01000010
D 106 K100 = 01100100
D 107 K 95
= 0101111
D 108 K210 = 11010010
D 109 K 88 = 01011000
Total K1091
Horizontal parity
1000010
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.
1100001000100000
D 0
1091 in BCD.
Horizontal parity
1010000100000000
D 1
M8000
8-bit mode
Head storage destination
device of calculated data
OUT
EN ENO
d
M8161
Command input
Head object device
Number of data
CCD
EN
s
n
ENO
d
16 bits
Source data
Ignored Lower 8 bits
X010
CCD
EN
s
ENO
d
n
D100
K10
D0
M8000
8-bit mode
OUT
EN ENO
M8161
d
1100001000100000
D 0
1091 in BCD.
1010000100000000
D 1
Horizontal parity

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals