Read Cr Data In Special Modules - Delta DVP-PLC Applications Manual

Table of Contents

Advertisement

API
Mnemonic
78
D
FROM
P
Type
Bit Devices
OP
X
Y
m
1
m
2
D
n
Operands:
: No. of special module
m
1
Number of data to be read at a time
Explanations:
1.
Range of m
(16-bit and 32-bit): for ES/SA: 0 ~ 7, for EH/EH2 :0 ~ 255, for SV: 0 ~ 107.
1
2.
Range of m
(16-bit and 32-bit): for ES/SA: 0 ~ 48, for EH: 0 ~ 254, for EH2/SV: 0 ~ 499.
2
3.
Range of n:
a) 16-bit: for ES/SA: 1 ~ (49 – m
b) 32-bit: for ES/SA: 1 ~ (49 – m
4.
ES series MPU does not support E, F index register modification.
5.
, m
and n of EH series MPU do not support word device D.
m
1
2
6.
Flag: M1083 (On when allowing interruptions during FROM/TO instruction).
7.
This instruction is for reading the data in the CR in special modules.
8.
The 16-bit instruction can designate D = K1 ~ K4; the 32-bit instruction can designate D = K1 ~ K8.
Program Example:
1.
Read CR#29 of special module No.0 into D0 and CR#30 into D1. Only 2 groups of data is read at a time (n = 2).
2.
When X0 = On, the instruction will be executed. When X0 = Off, the instruction will not be executed and the data
read will not be changed.
X0
FROM
D V P - P L C A P P L I C AT I O N M A N U A L
Operands
M
S
K
H KnX KnY KnM KnS T
*
*
*
*
*
*
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
: CR# in special module to be read
m
2
), for EH: 1 ~ (255 – m
2
)/2, for EH: 1 ~ (255 – m
2
K0
K29
D0
7 Application Instructions API 50-99
Function
Read CR Data in Special
Modules
Word Devices
C
*
*
*
*
*
PULSE
D: Device for storing read data
), for EH2/SV: 1 ~ (500 – m
2
)/2, for EH2/SV: 1 ~ (500 – m
2
K2
Controllers
ES/EX/SS SA/SX/SC EH/SV
Program Steps
D
E
F
FROM, FROMP: 9 steps
*
DFROM, DFROMP: 17 steps
*
*
*
*
*
16-bit
).
2
)/2.
2
32-bit
n:
7 - 7 5

Advertisement

Table of Contents
loading

Table of Contents