Mitsubishi FX3G Series Programming Manual page 298

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

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
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
Before
execution
After
execution
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
296
Series
are transferred to "n2" bits from
S
FNC 34
S
D
SFTRP
n2 (in the case of "n2=3")
+2
+1
S
S
D
+8
D
+7
D
[3] Copy
+8
+7
D
D
D
S
S
+2 to
before shift (n2=3)
is equivalent to the shifted device
S
/FX
3G
11 Rotation and Shift Operation – FNC 30 to FNC 39
, "n2" bits are shifted rightward ([1] and [2] shown below).
D
D
n1
n2
S
n1 (in the case of "n1=9")
+6
D
+5
D
+4
[2]
"n2" bits are
shifted rightward
(n2=3).
+6
D
+5
D
+4
D
+8 to
D
PLCs.
3GC
11.5 FNC 34 – SFTR / Bit Shift Right
+n1-n2 ([3] shown below).
D
+3
+2
+1
D
D
[1]
Overflow (data to
be deleted)
D
+3
D
+2
D
+1
D
+3 before shift (n2=3)
in FX
/FX
PLCs, an operation error occurs
3U
3UC
D
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents