EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - 7.13.6 SWAP

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.13 Data Operation 2
527
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
7.13.6 SWAP
Outline
This instruction swaps higher 8 bits and lower 8 bits of word data.
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder ST
SWAP 16 bits Continuous SWAP(EN,s);
SWAPP 16 bits Pulse SWAPP(EN,s);
DSWAP 32 bits Continuous DSWAP(EN,s);
DSWAPP 32 bits Pulse DSWAPP(EN,s);
Variable Description
Data type
16-bit
operation
32-bit
operation
Input
variable
EN Execution condition Bit
Device for swapping higher and lower bytes. ANY16 ANY32
Output
variable
ENO Execution state Bit
Operand
type
Bit Devices Word Devices Others
System user Digit designation Special unit Index Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
VZModifierKH E
""
P
zzzzzz
S1 S1
zz z
SWAP
EN ENO
s
SWAPP
EN ENO
s
DSWAP
EN ENO
s
DSWAPP
EN ENO
s

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals