Mitsubishi Electric FX3G SERIES Programming Manual page 305

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Explanation of function and operation
1. 16-bit operation (SFTR and SFTRP)
For "n1" bits (shift register length) starting from
After shift, "n2" bits from
Command
input
FNC 34
SFTRP
Before
execution
After
execution
S
Caution
Note that "n2" bits are shifted every time the command input turns from OFF to ON in the SFTRP instruction, but that
"n2" bits are shifted in each scan time (operation cycle) in SFTR instruction.
Error
If the transfer source
(error code: K6710).
An operation error does not occur in FX
are transferred to "n2" bits from
S
S
D
n2 (in the case of "n2=3")
+2
+1
S
S
S
D
+8
D
+7
D
+6
[3] Copy
+8
+7
+6
D
D
D
S
+2 to
before shift (n2=3)
is equivalent to the shifted device
S
PLCs.
3G
11 Rotation and Shift Operation – FNC 30 to FNC 39
, "n2" bits are shifted rightward ([1] and [2] shown below).
D
+n1-n2 ([3] shown below).
D
n1
n2
n1 (in the case of "n1=9")
D
+5
D
+4
D
+3
[2]
"n2" bits are
shifted rightward
(n2=3).
+5
+4
+3
D
D
D
D
D
+8 to
+3 before shift (n2=3)
in FX
D
3U
11.5 FNC 34 – SFTR / Bit Shift Right
+2
+1
D
D
D
[1]
Overflow (data to
be deleted)
+2
+1
D
D
D
/FX
PLCs, an operation error occurs
3UC
11
12
13
14
15
16
17
18
19
20
303

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents