Справочник Пользователя для Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G

Скачать
Страница из 936
303
FX
3G
/FX
3U
/FX
3UC
 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
FN
C
30
-FN
C
39
R
otati
on and 
Shi
ft
12
FNC4
0-F
NC4
9
D
ata O
per
ati
on
13
FN
C
50-FN
C
59
H
igh S
pe
ed 
P
rocessing
14
FM
C
60-FN
C
69
H
andy 
In
st
ru
ct
ion
15
FNC7
0-F
NC7
9
Ex
ter
nal FX
 I/O
 
D
evice
16
FN
C
80-FN
C
89
Ext
ernal
 FX 
De
vic
e
17
FN
C
100-
FN
C
10
9
Da
ta
 
Transf
er 2
18
FN
C
110-
FN
C
139
Floati
ng Poi
nt
19
FN
C
14
0-F
N
C
149
Da
ta
 
O
per
at
ion 2
20
FN
C
150-
FN
C
159
Posit
ioning 
C
ont
ro
l
11.6.1 Replacement of SFT instruction in F
1
 and F
2
 Series
SFT instruction in F
1
/F
2
 PLCs corresponds to SFTL (FNC 35) instruction in FX
3G
/FX
3U
/FX
3UC
 PLCs as shown below:
1. F
1
 and F
2
 PLCs
M100: Input data
M101 to M117 (octal number): 15-step shift register
2. FX
3G
, FX
3U
 and FX
3UC
 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