LG G4F-AD3A User Manual
Page 60
Chapter 7 Buffer read/write instructions
7 - 5
2) Program example
- Program that reads 8 words, through the Fnet module mounted at the slot 03, from the
address 11 of the buffer memory of the G3F-AD3A module mounted at the slot 01 of
remote station h1D. Then, stores the read data to the 8 words which begin with D0300 of
self-station. The link status will be stored at M020 of self-station.
[ System configuration ]
Self-station
GM4-
PA2A
K4P-
15AS
G4I-
D22A
G4I-
D22A
G4L-
FUEA
Station
No=h01
G4L-
FUEA
Station
No=h02
G4Q-
RY2A
slot 0
slot 1
slot 2
slot 3
slot 4
Remote station
GM3-
PA2A
G3L-
RBEA
Station
No=h1D
G3I-
D22A
G3F-
AD3A
G3Q-
RY2A
slot 0
slot 1
slot 2
[ Example program ]
‘sl’ :
upper byte
à the code of remote module is hC0
lower byte
à slot number of Fnet module of self station is h03
‘st’ :
upper byte
à slot number of remote A/D module is h01
lower byte
à the station number of remote station is h1D
RGET hC003 h011D D0300 00011 0008 M020
Input
condition