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 #170 background imageLoading...
Page #170 background image
5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-50
API
Applicable model
20PM
32
D
D
RCR
P
P
Rotating bits rightwards with a carry flag
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)
RCR
Continuity
instruction
RCRP
Pulse
instruction
32-bit instruction (9 steps)
DRCR
Continuity
instruction
DRCRP
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 rightwards with a carry flag.
D: Device which is rotated; n: Number of bits forming a group
The n
th
bit from the right is transmitted to a carry flag.
Generally, the pulse instructions RCRP and DRCRP are used.
If the operand D is KnY/KnM/KnS, Kn in KnY/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 rightwards with a carry
flag. (The bit marked with is transmitted to the carry flag.)
High byte
Low byte
Rotating the bits in D10 rightwards
Rotating the
16 bits in D10
Carry flag
Carry flag
Low byte
High byte
000 11 100 0 1001 001
10001100111000 0
0
1
X0
D10 K4
1
D10
D10
RCRP

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