LG G4F-AD3A User Manual

Page 65

Advertising
background image

Chapter 7 Buffer read/write instructions

7 - 10

2) Program example

- Program that write 10 words, through the Fnet module mounted at the slot 02, from the

D0200 ~ D0209 of self station to the address 11~20 of the buffer memory of the G3F-

AD3A module mounted at the slot 02 of remote station h0E. 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=h0E

G3I-

D22A

G3Q-
RY2A

G3F-

AD3A

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 h02

st’ :

upper byte

à slot number of remote A/D module is h02

lower byte

à the station number of remote station is h0E

RPUT hC002 h020E D0200 00011 0010 M020

Input

condition

Advertising
This manual is related to the following products: