EasyManuals Logo

Delta DVP-20PM User Manual

Delta DVP-20PM
580 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 #169 background imageLoading...
Page #169 background image
5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-49
API
Applicable model
20PM
31
D
D
ROL
P
P
Rotating bits leftwards
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
D
n
Note: The instruction supports V devices and Z devices. (If the 16-bit
instruction is used, Z devices can not be used. If the 32-bit
instruction is used, V devices can not be used.)
Please refer to specifications for more information about device
ranges.
If KnX/KnY/KnM/KnS is used, it is suggested that X/devices/Y
devices/M device numbers/S device numbers should start from a
number which is a multiple of 16 in the octal numeral system or in the
decimal numeral system, e.g. K1X0 (octal numeral system), K4SY20
(octal numeral system), K1M0 (decimal numeral system), and K4S16
(decimal numeral system).
16-bit instruction (5 steps)
ROL
Continuity
instruction
ROLP
Pulse
instruction
32-bit instruction (9 steps)
DROL
Continuity
instruction
DROLP
Pulse
instruction
Flags
Ox O100
M1810 M1970 Carry flag
Please refer to the additional remark below.
Explanation
The bits in D are divided into groups (
n bits as a group), and these groups are
rotated leftwards.
D: Device which is rotated; n: Number of bits forming a group
The n
th
bit from the left is transmitted to a carry flag.
Generally, the pulse instructions ROLP and DROLP are used.
If the operand D is KY/KnM/KnS, Kn in KY/KnM/KnS must be K4 (16 bits) or
K8 (32 bits).
16-bit instruction: 1n16; 32-bit instruction: 1n32
Example
When X0 is turned from OFF to ON, the bits in D10 are divided into groups
(four bits as a group), and these groups are rotated leftwards. (The bit marked
with is transmitted to a carry flag.)
High byte
Low byte
Rotating the bits in D10 leftwards
Rotating the
16 bits in D10
Carry flag
Carry flag
Low by te
High byte
X0
D10
K4
111 11 100 0 0011 000
11000001100110111
D10
D10
ROLP

Table of Contents

Other manuals for Delta DVP-20PM

Questions and Answers:

Question and Answer IconNeed help?

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

Delta DVP-20PM Specifications

General IconGeneral
BrandDelta
ModelDVP-20PM
CategoryController
LanguageEnglish

Related product manuals