7 Applied Instructions
7.21 Data Operation 3
678
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
7.21.4 SFR
Outline
This instruction shifts 16 bits stored in a word device rightward by "n" bits.
1. Format and operation, execution form
2. Set data
3. Applicable devices
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
SFR 16 bits Continuous SFR(EN,n,d);
SFRP 16 bits Pulse SFRP(EN,n,d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Number of times of shift (0 ≤ n ≤ 15) ANY16
Output
variable
ENO Execution state Bit
Device storing data to be shifted. ANY16
Operand
type
Bit Devices Word Devices Others
System user Digit specification
System
user
Special
unit
Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
V Z Modifier K H E
""
P
zzzzzzz z zz z
z z z z zzzz z zz zz
SFR
EN
n
ENO
d
SFRP
EN
n
ENO
d