Mitsubishi Electric MELSEC FX3U Programming Manual page 324

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Before
execution
After
execution
S
Caution
Note that "n2" words are shifted when the drive input turns ON in WSFRP instruction, but that "n2" words are
shifted in each operation cycle in WSFR instruction.
Error
If the transfer source
K6710).
Program example
1. Shifting devices with digit specification
X000
FNC 36
WSFRP
X007 X006 X005 X004 X003 X002 X001 X000
[3]
Y017 Y016 Y015 Y014 Y013 Y012 Y011 Y010 Y007 Y006 Y005 Y004 Y003 Y002 Y001 Y000
322
n2 (in the case of "n2=3")
S
+2
S
+1
S
D
+8
D
+7
D
[3] Copy
+8
+7
D
D
D
S
+2 to
before shift (n2=3)
is equivalent to the shifted device
S
S
D
K1X000 K1Y000
Specify a same digit for devices with digit specification.
11 Rotation and Shift Operation – FNC 30 to FNC 39
n1 (in the case of "n1=9")
+6
D
+5
D
+4
D
[2]
"n2" bits are
shifted rightward
(n2=3).
+6
D
+5
D
+4
D
D
D
+8 to
D
n1
n2
K 4
K 2
Make sure that the number of digits is
equivalent (Kn
[2]
11.7 FNC 36 – WSFR / Word Shift Right
+3
+2
+1
D
D
D
[1]
Overflow (data to
be deleted)
+3
D
+2
D
+1
D
+3 before shift (n2=3)
, an operation error occurs (error code:
).
[1]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents