Mitsubishi Electronics FX3G 사용자 설명서

다운로드
페이지 964
307
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
11 Rotation and Shift Operation – FNC 30 to FNC 39
11.7 FNC 36 – WSFR / Word Shift Right
11
FN
C30
-FN
C3
9
R
ota
tion and 
Shi
ft
12
FN
C40-FN
C49
D
ata O
perati
on
13
FNC
50-FNC
59
High-Speed
 
Proc
essing
14
FM
C60-FN
C69
H
andy 
In
struction
15
FN
C70-FN
C79
E
xternal
 F
X
 I/O
 
De
vice
16
FNC
80-FNC
89
External
 FX 
Dev
ice
17
FNC1
00-
FNC10
9
Dat
Transfer 2
18
FNC1
10-
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
 
Operation 2
20
FNC1
50-
FNC159
Pos
itioning 
Control
Caution
Note that "n2" words are shifted when the drive input turns ON in the WSFRP instruction, but that "n2" words are
shifted in each operation cycle in the WSFR instruction.
Error
If the transfer source 
 is equivalent to the shifted device 
, an operation error occurs (error code: K6710).
Program example
1. Shifting devices with digit specification
   
S
   
D
[3]
[2]
[1]
X007 X006 X005 X004 X003 X002 X001 X000
Y017 Y016 Y015 Y014 Y013 Y012 Y011 Y010 Y007 Y006 Y005 Y004 Y003 Y002 Y001 Y000
Make sure that the number of digits is
equivalent (Kn
).
X000
FNC 36
WSFRP
K1X000 K1Y000
K  4
K  2
Specify the same digit for devices with digit specification.
n1
n2