Chapter 7 Buffer read/write instructions
7
Buffer read/write instructions
7.1 Buffer read instructions
7.1.1 GET / GETP instruction
FUN(230)
GET, GETP
FUN(231)
Instructions
M
n1
GET
S
¡
GETP
D
n2
Input
condition
GET(P)
* Available only when do not use computer link module or data link module
1) Functions
- Reads the data of 'n2' words, which start at the address specified as 'S' of buffer
memory inside the special module mounted at the slot 'n1 ', and stores the data into the
memory of CPU which begin with the device specified as 'D'.
Buffer memory
of A/D module
[ S ]
[ S+n2-1 ]
GET
GETP
Available devices
P
K
L
F
T
C
¡
¡ ¡*
¡
¡
n1 S D n2
'n2' words
Applicable CPU
S
D
#D Integer
¡
¡
¡
¡
¡
Operand setting
Slot number at which A/D
n1
module is mounted
Start address of buffer
S
memory to be read
Start address of CPU memory
D
at which read data is stored
n2
Number of word to be read
CPU module
[ D ]
[ D+n2-1 ]
7 - 1
K200S
K300S
K1000S
Flag
Steps
Error
Zero
Carry
(F110)
(F111)
(F112)
¡
9
'n2' words