EasyManua.ls Logo

Inovance H3U Series - Page 202

Inovance H3U Series
737 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...
201
4
4 Instructions 4.5.4 Data Rotation and Shift
Example:
Overflow
Shift of every four bits to the right
X20
ķ
M15
~
M12
ĸ
M 7~ M 4
M 3~ M 0
Ĺ
M 11~M 8
M 7~ M 4
ĺ
M 11~M 8
Ļ
X3~X0
M 15~M 12
M15
M14
X0
X1X2
X3
M0 M1 M2 M3 M4
M5
M6
M7
M8 M9 M10
M11
M12
M13
ĺ
Ĺ
ĸ
ķ
Ļ
ǒSFTLP X0 M0 K16 K4Ǔ
S
D n1 n2
M 3~ M 0
WSFR: Word shift right
Overview
When driving conditions are met, the WSFR instruction shifts a combination of word elements with a
length of K1 from head address D to the right by K2 word places, to accommodate a combination of word
elements with a length of K2 from head address S that ll the higher words. The K2 lower words that are
moved out are discarded. The original values in the word element combination S remain unchanged.
WSFR S D n1 n2
Word shift right Applicable model:
H3U
S
Word
element
head
address
Head address of shifted word elements
16-bit instruction (9
steps)
WSFR:
Continuous
execution
WSFRP: Pulse
execution
D
Incoming
word head
address
Head address of incoming word elements
n1
Incoming
word count
Number of incoming word elements
n2
Word
element
count
Number of shifted word elements
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
n1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
n2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals