Fnc 34 - Sftr / Bit Shift Right - Mitsubishi Electric FX3G SERIES Programming Manual

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
11.5
FNC 34 – SFTR / Bit Shift Right
Outline
This instruction shifts bit devices of the specified bit length rightward by the specified number of bits.
After shift, the bit device
1. Instruction format
FNC 34
SFTR
2. Set data
Operand Type
S
D
n1
n2
*1.
Do not set a negative value to the number of bits to be shifted rightward.
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
D
n1
n2
: "D .b" is available only in FX
302
is transferred by "n2" bits from the most significant bit.
S
Mnemonic
16-bit Instruction
P
SFTR
9 steps
SFTRP
Head bit device number to be stored to the shift data after rightward shift
Head bit device number to be shifted rightward
Bit length of the shift data n2 ≤ n1 ≤ 1024
Number of bits to be shifted rightward n2 ≤ n1 ≤ 1024
Digit Specification
and FX
3U
11 Rotation and Shift Operation – FNC 30 to FNC 39
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
*1
Word Devices
Special
System User
Unit
PLCs. However, index modifiers (V and Z) are not available.
3UC
11.5 FNC 34 – SFTR / Bit Shift Right
Mnemonic
Operation Condition
Others
Con-
Real
Index
stant
Number
V
Z Modify K H
E
Data Type
Bit
Bit
16-bit binary
16-bit binary
Charac-
Pointer
ter String
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents