Mitsubishi Electric FX3G SERIES Programming Manual page 264

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
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 with each other.
Because this instruction works in the same way as SWAP (FNC147) instruction, use SWAP instruction when
programming a 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
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
262
SWAP
M8160
FNC 17
D 10
D 10
DXCH
M8160
Series and the FX
2
D 11
High-order 8 bits Low-order 8 bits
D
1
9 Move and Compare – FNC 10 to FNC 19
9.8 FNC 17 – XCH / Exchange
Series)
2C
D 10
High-order 8 bits Low-order 8 bits
and
D
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents