EasyManua.ls Logo

Delta DVP-20PM

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
Loading...
5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-82
API
Applicable model
20PM
79
D
D
TO
P
P
Writing data into a control register
in a special module
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
m
1
m
2
S
n
Note: m
1
is in the range of 0 to 255 (16-bit instruction/32-bit instruction).
m
2
is in the range of 0 to 499 (16-bit instruction/32-bit instruction).
n is in the range of 1 to (500-m
2
) (16-bit instruction).
n is in the range of 1~(500-m
2
)/2 (32-bit instruction).
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.)
16-bit instruction (9 steps)
TO
Continuity
instruction
TOP
Pulse
instruction
32-bit instruction (17 steps)
DTO
Continuity
instruction
DTOP
Pulse
instruction
Please refer to the additional remark below.
Explanation
m
1
: Special module number (m
1
is in the range of 0 to 255.); m
2
: Control
register number (m
2
is in the range of 0 to 499.); D: Data which will be written
into a control register; n: Quantity of data which will be written (16-bit instruction:
1~(500-m
2
); 32-bit instruction: 1~(500-m
2
)/2
A DVP-20PM series motion controller can write data into a control register in a
special module by means of the instruction.
Example
The 32-bit instruction DTO is used. The value in (D11, D10) is written into
(CR#13, CR#12) in special module 0. One value is written at a time.
When X0 is ON, the instruction is executed. When X0 is turned OFF, the
instruction is not executed, and the value which is written remains unchanged.
X0
DTOK0K12D10K1
Regulation of operands
1. m
1
: m
1
is a special module number. It is the number of a special module
connected to the DVP-10PM series motion controller used.
The number of the first special module which is connected to the DVP-10PM
series motion cotroller used is 0. Eight special modules at most can be
connected to the DVP-10PM series motion controller used, and they do not
occupy I/O devices.
2. m
2
: m
2
is a control register number. the 16-bit memories in a special
modules are called control registers. Control register numbers are decimal
numbers. The operation of a special module and setting values are stored in
the control registers in the special module.
3. If the instruction FROM/TO is used, one control register is taken as a unit for
the reading/writing of data. If the instruction DFROM/DTO is used, two
control registers are taken as a unit for the reading/writing of data.
High 16 bits
Low 16 bits
Control register number specified
CR #10 CR #9
4. n which is 2 in a 16-bit instruction has the same meaning as n which is 1 in
a 32-bit instruction.

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals