8 Application Instructions API 100-149
DVP-PLC Application Manual
8-67
API Mnemonic
Operands
Function
148
D MEMR P
Read File Register
Controllers
ES/EX/SS SA/SX/SC EH/SV
Bit Devices
Word Devices
Program Steps
Type
OP
X Y M S K H
KnX KnY KnM KnS T
C
D
E
F
m
*
*
*
D
*
n
*
*
*
MEMR, MEMRP: 7 steps
DMEMR, DMEMRP: 13 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Operands:
m
: Address in the file register to be read
D
: Device for storing the read data (starting from the designated D)
n
: Number of data read at a time
Explanations:
1. Range
of
m
: K0 ~ K1,599 (SA/SX/SC); K0 ~ K9,999 (EH/EH2/SV)
2. Range
of
D
: D2000 ~ D4999 (SA/SX/SC); D2000 ~ D9999 (EH/EH2/SV)
3. Range
of
n
: For 16-bit instruction K1 ~ K1,600 (SA/SX/SC), K1 ~ K8,000 (EH/EH2/SV); For 32-bit instruction
K1 ~ K800 (SA/SX/SC), K1 ~ K4,000 (EH/EH2/SV)
4. See the specifications of each model for their range of use.
5. Flag: M1101. See explanations below.
6. SA/SX/SC/EH/EH2/SV uses this instruction to read the data in file registers and store them into data registers.
7. SA/SX/SC offers 1,600 16-bit file registers.
8.
m
and
n
of SA/SX/SC do not suppot E and F index register modification.
9. EH/EH2/SV offers 10,000 16-bit file registers.
10. If
m
,
D
and
n
fall without their range, operation error will occur. M1067, M1068 = On and D1067 will record the
error code H’0E1A.
Program Example 1:
1. The 16-bit instruction MEMR reads 100 data at address 10 in the file register and store the read data in register
D starting from D2000.
2. When X0 = On, the instruction will be executed. When X0 = Off, the instruction will not be executed and the
previously read data will remain unchanged.
X0
MEMR
K10
D2000
K100
Program Example 2:
1. The 32-bit instruction DMEMR reads 100 data at address 20 in the file register and store the read data in
register D starting from D3000.
2. When X0 = On, the instruction will be executed. When X0 = Off, the instruction will not be executed and the
previously read data will remain unchanged.
X0
DMEMR
K20
D3000
K100
Содержание DVP-PLC
Страница 1: ...PLC PLC...
Страница 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Страница 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Страница 250: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 38 X0 DIV D0 D10 D20 D0 D10 K4Y0 DIV...
Страница 270: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 58 RST M0 X0 RST T0 RST Y0 FMOV K0 D10 K5...
Страница 337: ...7 Application Instructions API 50 99 DVP PLC APPLICATION MANUAL 7 53 X10 STMR T10 K50 Y0 Y3 X10 Y1 Y2 5 sec 5 sec...
Страница 458: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 56 or relay itself See 2 3 for more information...
Страница 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Страница 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...