LG G4F-AD3A User Manual
Page 58
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
M
P
K
L
F
T
C
S
D
#D Integer
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
sl
¡
st
¡
D
¡ ¡ ¡ ¡*
¡ ¡
¡ ¡
S
¡
n
¡
¡
RGET
SS
¡ ¡ ¡ ¡*
¡ ¡
¡ ¡
13
¡
Operand setting
Upper
byte
Type of remote special function
module
sl
Lower
byte
Slot number of Fnet module of
self-station
S
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
n
Number of words to be read
D
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