Mitsubishi Electric MELSEC FX3U Programming Manual page 277

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Extension function (function compatible between the FX
When the instruction is executed while M8160 is ON, high-order 8 bits (byte) and low-order 8 bits (byte) of a
word device are exchanged each other.
Because this instruction works in the same way as SWAP (FNC147) instruction, use SWAP instruction when
programming new exchange.
In a 32-bit operation, high-order 8 bits (byte) and low-order 8 bits (byte) of each word device are exchanged
for each other.
X000
M8160
FNC 17
DXCH
M8000
Error
An operation error occurs in the following case. The error flag M8067 turns ON, and the error code is stored
in D8067.
• When M8160 is ON, and the device number is different between
SWAP
D 10
D 10
High-order 8 bits Low-order 8 bits
M8160
9 Move and Compare – FNC 10 to FNC 19
9.8 FNC 17 – XCH / Exchange
Series and the FX
2
D 11
High-order 8 bits Low-order 8 bits
and
D
D
1
2
1
Series)
2C
2
3
D 10
4
5
6
7
8
9
10
275

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents