303
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
11 Rotation and Shift Operation – FNC 30 to FNC 39
11.6 FNC 35 – SFTL / Bit Shift Left
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
11.6.1 Replacement of SFT instruction in F1 and F2 Series
SFT instruction in F1/F2 PLCs corresponds to SFTL (FNC 35) instruction in FX3G/FX3U/FX3UC PLCs as shown below:
1. F1 and F2 PLCs
M100: Input data
M101 to M117 (octal number): 15-step shift register
2. FX3G, FX3U and FX3UC PLCs
X000
X001
X002
OUT
SFT
RST
M100
M117
data input
shift input
reset input
LD
OUT
LD
SFT
LD
RST
Circuit program
List program
0000
0001
0002
0003
0004
0005
X000
M100
X001
M100
X002
M100
X000
FNC 35
SFTLP
M100 M101 K 15 K 1
X001
X002
FNC 40
ZRST
M101 M115
M100
data input
shift input
reset input
M101 to M115 (decimal number): 15-step shift register
Shift registers M101 to M115 are reset
at one time.
Input data Number
of steps
Shift by
1 bit
Head
device
Fixed value
Head
device