Lg Electronics G3F-AD3A Manuale Utente

Pagina di 78
Chapter 7  Buffer read/write instructions 
 
7 - 3 
 
7.1.2  RGET instructions 
 
RGET 
FUN(232) 
RGET 
  Applicable CPU 
K200S 
K300S 
K1000S 
 
Available devices 
Flag 
Instructions  
#D  Integer 
Steps  
Error 
(F110) 
Zero 
(F111) 
Carry 
(F112)  
sl 
 
 
 
 
 
 
 
 
 
 
¡ 
st 
 
 
 
 
 
 
 
 
 
 
¡ 
¡  ¡  ¡  ¡* 
 
¡  ¡ 
 
¡  ¡ 
 
 
 
 
 
 
 
 
 
 
 
¡ 
 
 
 
 
 
 
 
 
¡ 
 
¡ 
RGET 
SS 
¡  ¡  ¡  ¡* 
 
¡  ¡ 
 
¡  ¡ 
 
13 
¡ 
 
 
 
   Operand setting 
Upper 
byte 
Type of remote special function 
module 
 
sl 
Lower 
byte 
Slot number of Fnet module of 
self-station 
Start address of buffer memory 
of A/D module of remote 
station  
Upper 
byte 
Slot number of remote special 
function module 
 
st 
Lower 
byte 
Station number of Fnet remote 
module 
Number of words to be read 
 
Start address of destination device of self-
station 
SS 
Device at which the link status 
is stored 
 
 * Available only when do not use computer link module or data link module 
 
1)   Functions 
- Reads the data of  ‘n2’ words, which starts at the address  specified as  ‘S’ of buffer 
memory inside the special function module of remote station (station number & slot 
number is specified as ‘st’) through the Fnet communication module (the slot number is 
specified as ‘s l’), and stores the data into devices which begin with the device specified 
as ‘D’. Then stores the link status into the device specified as ‘SS’ of self-station. 
RGET  sl  st  D  S  n  SS 
Input 
condition