Mitsubishi Electric MELSEC FX3U Programming Manual page 318

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
Explanation of function and operation
1. 16-bit operation (SFTR and SFTRP)
For "n1" bits (shift register length) starting from
below).
After shift, "n2" bits from
Command
input
Before
execution
After
execution
Caution
Note that "n2" bits are shifted every time the command input turns ON from OFF in SFTRP instruction, but
that "n2" bits are shifted in each scan time (operation cycle) in SFTR instruction.
Error
If the transfer source
occurs (error code: K6710).
An operation error does not occur in FX
316
are transferred to "n2" bits from
S
FNC 34
S
D
SFTRP
n2 (in the case of "n2=3")
+2
+1
S
S
+8
+7
D
D
D
[3] Copy
+8
+7
D
D
D
S
S
+2 to
before shift (n2=3)
is equivalent to the shifted device
S
11 Rotation and Shift Operation – FNC 30 to FNC 39
, "n2" bits are shifted rightward ([1] and [2] shown
D
n1
n2
S
n1 (in the case of "n1=9")
+6
+5
+4
D
D
[2]
"n2" bits are
shifted rightward
(n2=3).
+6
D
+5
D
+4
D
+8 to
D
PLCs.
3G
11.5 FNC 34 – SFTR / Bit Shift Right
+n1-n2 ([3] shown below).
D
+3
+2
+1
D
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
3U
3UC
D
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents