LG G3F-AD3A User Manual page 60

Programmable logic controller
Table of Contents

Advertisement

Chapter 7 Buffer read/write instructions
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
Remote station
GM3-
PA2A
Station
No=h1D
[ Example program ]
Input
condition
'sl' :
'st' :
K4P-
G4I-
G4I-
15AS
D22A
D22A
slot 0
slot 1
G3L-
G3I-
G3F-
RBEA
D22A
AD3A
slot 0
slot 1
RGET
hC003 h011D D0300 00011 0008 M020
upper byte à the code of remote module is hC0
lower byte à slot number of Fnet module of self station is h03
upper byte à slot number of remote A/D module is h01
lower byte à the station number of remote station is h1D
G4L-
G4L-
FUEA
FUEA
Station
Station
No=h01
No=h02
slot 2
slot 3
G3Q-
RY2A
slot 2
7 - 5
G4Q-
RY2A
slot 4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G4f-ad3aG6f-ad2a

Table of Contents