Fnc 17 - Xch / Exchange - Mitsubishi Electric MELSEC FX3U Programming Manual

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
9.8
FNC 17 – XCH / Exchange
Outline
This instruction exchanges data between two devices.
1. Instruction format
FNC 17
D
XCH
2. Set data
Operand Type
D
1
D
2
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
D
1
D
2
Explanation of function and operation
1. 16-bit operation (XCH and XCHP)
Data is exchanged between
Command
input
FNC 17
XCHP
Before
execution
=
D
1
=
D
2
2. 32-bit operation (DXCH and DXCHP)
Data is exchanged between [
Command
input
FNC 17
DXCHP
Before execution
D
D
1
1
+1,
D
D
+1,
2
2
274
Mnemonic
16-bit Instruction
P
XCH
5 steps
XCHP
Device number storing data to be exchanged.
Device number storing data to be exchanged.
Digit Specification
and
D
1
D
D
D
1
2
execution
=
K36
K10
=
K36
K10
Exchange
+1,
D
1
D
D
1
2
=
K10000
K1433600
=
K1433600
K10000
Exchange
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
.
D
2
D
1
2
After
D
1
D
2
] and [
+1,
D
D
D
1
2
2
D
D
D
+1,
+1,
1
1
2
After execution
=
D
D
1
1
+1,
=
D
D
+1,
2
2
9 Move and Compare – FNC 10 to FNC 19
9.8 FNC 17 – XCH / Exchange
Mnemonic
32-bit Instruction
DXCH
9 steps
DXCHP
Con-
Real
Index
stant
Number
V Z Modify K H
E
].
D
2
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Data Type
16- or 32-bit binary
16- or 32-bit binary
Others
Charac-
Pointer
ter String
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents