FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Explanation of function and operation
1. 16-bit operation (SFTL and SFTLP)
For "n1" bits (shift register length) starting from
After shift, "n2" bits from
Command
input
FNC 35
SFTLP
Before
execution
Overflow (data to
After
execution
Caution
Note that "n2" bits are shifted every time the command input turns ON from OFF in SFTLP instruction, but
that "n2" bits are shifted in each operation cycle in SFTL instruction.
Error
If the transfer source
occurs (error code: K6710).
An operation error does not occur in FX
318
are transferred to "n2" bits from
S
S
D
+8
+7
+6
D
D
D
[1]
be deleted)
D
+8
D
+7
D
+6
D
D
to
+5 before shift (n2=3)
is equivalent to the shifted device
S
3G
11 Rotation and Shift Operation – FNC 30 to FNC 39
, "n2" bits are shifted leftward ([1] and [2] shown below).
D
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
PLCs.
11.6 FNC 35 – SFTL / Bit Shift Left
([3] shown below).
n2 (in the case of "n2=3")
S
+2
S
+1
S
D
+2
D
+1
D
[3] Copy
+2
+1
D
D
D
S
S
+2 to
before shift (n2=3)
in FX
/FX
PLCs, an operation error
3U
3UC