Specifications

7. Application Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
7-36
78
FROM
m1 m2 D n
Read special module CR
data
Bit device Word device
Device
Operand
X Y M S K H KnX KnY KnM KnS T C D E F
m1
ϨϨ
m2
ϨϨ
D
Ϩ Ϩ Ϩ ϨϨϨϨϨ
n
ϨϨ
Note: The usage range of operand m
1
is 0~7. The usage range of operand
m
2
is 0~35. The usage range of operand n is 36-m2. Please refer to
function specification chart for each device usage range.
m
1 : the number for special module.
m2
: the number of CR
(Control Register) of special module that will be read.
D
: the
location to save reading data.
n
: the data number of reading one
time.
DVP PLC uses this command to read CR data of special module.
When
D
indicates bit operand, you can use K1~K4 for 16-bit
command and K1~K8 for 32-bit command.
Program Example
FROM K0 D0K29
X0
K2
Ϩʳ To read the content of CR#29 of special module#0 to D0 of PLC and to
read the content of CR#30 of special module#0 to D1 of PLC. It can
read 2 data at one time (n=2).
Ϩʳ The command will be executed when X0=ON. The command won’ t be
executed when X0=OFF and the content of previous reading data
won’ t change.
79 TO
m1 m2 S n
Special module CR
data write in
Bit device Word device
Device
Operand
X Y M S K H KnX KnY KnM KnS T C D E F
m1
ϨϨ
m2
ϨϨ
S
ϨϨϨϨϨϨϨϨϨϨϨ
n
ϨϨ
Note: The usage range of operand m
1
is 0~7. The usage range of operand
m
2
is 0~35. The usage range of operand n is 36-m2. Please refer to
function specification chart for every device usage range.
m1
: the number of special module.
m2
: the number of CR
(Control Register) of special module that will be wrote in.
S
: the
data to write in CR.
n
: the data number to write in one time.
DVP-series PLC uses this command to write data into CR of special
module.
S
: When assigning bit operand, K1~K4 can be used for 16-bit
and K5~K8 can be used for 32-bit.
Program Example
Ϩʳ Using 32-bit command DTO, program will write D11 and D10 into
CR#13 and CR#12 of special module#0. It only writes a group of data
at one time (n=1).
Ϩʳ The command will be executed when X0=ON and it won’ t be executed
when X0=OFF. The data that wrote in previous won’ t have any change.
DTO K0 D10K12
X0
K1
Footnote: