EasyManuals Logo

Mitsubishi FX3G Series Programming Manual

Mitsubishi FX3G Series
944 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #298 background imageLoading...
Page #298 background image
296
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
11 Rotation and Shift Operation – FNC 30 to FNC 39
11.5 FNC 34 – SFTR / Bit Shift Right
Explanation of function and operation
1. 16-bit operation (SFTR and SFTRP)
For "n1" bits (shift register length) starting from , "n2" bits are shifted rightward ([1] and [2] shown below).
After shift, "n2" bits from are transferred to "n2" bits from +n1-n2 ([3] shown below).
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 is equivalent to the shifted device in FX3U/FX3UC PLCs, an operation error occurs
(error code: K6710).
An operation error does not occur in FX3G/FX3GC PLCs.
D
S
D
Command
input
FNC 34
SFTRP
n1 n2D
S
+2 +8
Before
execution
After
execution
+2
n2 (in the case of "n2=3")
n1 (in the case of "n1=9")
[1]
Overflow (data to
be deleted)
S
+1
+7
D
+6 +5 +4 +3
D
+1
+8
D
+7 +6 +5
D
+4
D
+3
D
+2
D
+1
D
D
[3] Copy
[2]
"n2" bits are
shifted rightward
(n2=3).
+2 to before shift (n2=3)
S
S
D
D
D
D
D
D
D
D
D
+8 to +3 before shift (n2=3)
D
D
S
S
S
D

Table of Contents

Other manuals for Mitsubishi FX3G Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX3G Series and is the answer not in the manual?

Mitsubishi FX3G Series Specifications

General IconGeneral
ModelFX3G Series
Power SupplyAC 100-240V or DC 24V
Program Capacity32, 000 steps
Execution Speed0.21 µs/basic instruction
Communication OptionsRS-422, USB, Ethernet
Expansion ModulesAnalog, digital, communication
Programming LanguageLadder Logic, Instruction List
Built-in FunctionsHigh-speed counters, pulse output
Analog I/OAvailable via expansion modules

Related product manuals