EasyManua.ls Logo

Xinje XD5 - Bit Shift Right [SFTR]

Xinje XD5
389 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
Loading...
135
M includes M, HM, SM; S includes S, HS; T includes T, HT; C includes C, HC.
Move n2 bits left for the object which contains n1 bits.
When X0 changes from OFF to ON, the instruction will move n2 bits for the object.
For example, if n2 is 1, the object will move 1 bit left when the instruction executes once.
4-7-5Bit shift right [SFTR]
1. Summary
Bit shift right
Bit shift right [SFTR]
16 bits
SFTR
32 bits
DSFTR
Execution
condition
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands
Function
Data Type
S
Source soft element head address
bit
D
Target soft element head address
bit
n1
Source data quantity
16 bits/32 bits, BIN
n2
Shift right times
16 bits/32 bits, BIN
Description
M15~M12Overflow
M11~M 8→M15~M 12
M 7~M 4→M11~M8
M 3~M 0→M7~M4
X 3~X 0→M3~M0

Table of Contents

Related product manuals