EasyManua.ls Logo

Thinget XC3-24RT-E - [Sftl] & [Sftr]

Default Icon
283 pages
Print Icon
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...
Applied Instructions
Bit shift left》
《
《Bit shift right》
Function & Action
① M15~M12→Overflow
15~M 12
1~M8
M7~M4
→M3~M0
② M11~M 8→M
M1③ M 7~M 4→
→④ M 3~M 0
⑤ X 3~X 0
① M 3~M 0→Overflow
② M 7~M 4→M3~M0
③ M11~M 8→M7~M4
④ M15~M12→M11~M8
⑤ X 3~X 0→M15~M12
z In every scan cycle, loop shift left/right action will be executed
[SFTL] & [SFTR]
16 bits instruction:SFTL、SFTR 32 bits instruction:DSFTL、DSFTR
Suitable Models:
XC3、XC5
¾
Word
Device
Bit
Device
z The instruction copies n2 source devices to a bit stack of length n1. For every new addition of n2
bits, the existing data within the bit stack is shifted n2 bits to the left/right. Any bit data moving to
the position exceeding the n1 limit is diverted to an overflow area. The bit shifting operation will
occur every time the instruction is processed unless it is modified with either the pulse suffix or a
controlled interlock.
D
FD
DM
DX
DY
DS
TD
CD
K/H
n1
n2
X Y M S T C Dn.m
D·
S·
104

Table of Contents