EasyManuals Logo
Home>Delta>Controller>DVP-SS2

Delta DVP-SS2 User Manual

Delta DVP-SS2
1006 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 #222 background imageLoading...
Page #222 background image
3. Instruction Set
3-101
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
34 SFTR P
Bit Shift Right
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
SFTR, SFTRP: 9 steps
S
*
*
*
*
D
*
*
*
n
1
*
*
n
2
*
*
PULSE
16-bit
32-bit
ES2/EX2
/EC5
SS2
SA2
SE
SX2
ES2/EX2
/EC5
SS2
SA2
SE
SX2
ES2/EX2
/EC5
SS2
SA2
SE
SX2
Operands:
S: Start No. of source device D: Start No. of destination device n
1
: Length of data to be
shifted n
2
: Number of bits to be shifted as a group
Explanation:
1. This instruction performs a right shift from source device of n
2
bits starting from S to
destination device of n
1
bits starting from D.
2. This instruction is generally used in pulse execution mode (SFTRP).
3. Valid range of operand n1, n2 : 1≤ n2 n1 ≤1024
Program Example:
1. When X0 is rising edge triggered, SFTR instruction shifts X0~X4 into 16 bit data M0~M15 and
M0~M15 also shift to the right with a group of 4 bits.
2. The figure below illustrates the right shift of the bits in one scan.
M3~M0 Carry
M7~M4 M3~M0
M11~M8 M7~M4
M15~M12 M11~M8
X3~X0 M15~M12 completed
X0
SFTR X0 M0 K16 K4
X3 X2 X1 X0
M15 M14 M13 M12 M11 M10 M9 M8 M7 M6
M5
M4 M3 M2 M1 M0
12
34
5
4 bits in a group shift to the right
Carry

Table of Contents

Other manuals for Delta DVP-SS2

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-SS2 and is the answer not in the manual?

Delta DVP-SS2 Specifications

General IconGeneral
BrandDelta
ModelDVP-SS2
CategoryController
LanguageEnglish

Related product manuals