Lg Electronics G4F-AD3A 사용자 설명서

다운로드
페이지 78
Chapter 7  Buffer read/write instructions 
 
7 - 1 
 
7   Buffer read/write instructions 
 
7.1  Buffer read instructions 
 
7.1.1  GET / GETP instruction 
 
GET, GETP 
FUN(230) 
GET 
FUN(231) 
GETP 
  Applicable CPU 
K200S 
K300S 
K1000S 
 
Available devices 
Flag 
Instructions  
#D  Integer 
Steps  
Error 
(F110) 
Zero 
(F111) 
Carry 
(F112)  
n1 
 
 
 
 
 
 
 
 
 
 
¡ 
 
 
 
 
 
 
 
 
 
 
¡ 
¡  ¡  ¡  ¡* 
 
¡  ¡ 
 
¡  ¡ 
 
GET 
GETP 
n2 
 
 
 
 
 
 
 
 
 
 
¡ 
¡ 
 
 
 
 Operand setting 
n1 
Slot number at which A/D 
module is mounted 
Start address of buffer 
memory to be read 
Start address of CPU memory 
at which read data is stored 
 
n2 
Number of word to be read 
 
 * 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 
memor y 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 
 
 
CPU module 
 
 
 
 
 
 
 
[ S ] 
 
[ D ] 
 
 
 
 
 
[ S+n2-1 ] 
 
‘n2’ words
 
 
[ D+n2-1 ] 
 
‘n2’ words
 
 
 
 
 
 
 
 
GET(P)   n1  S  D  n2 
Input 
condition