Chapter 8 mk programming – LG G4F-AD3A User Manual

Page 74

Advertising
background image

Chapter 8 MK Programming

8 - 8

4) Programming

MOVP 00001 D0000

RPUT hC002 h0001 D0000 00000 00004 M000

Buffer

memory

Start address

of data

No. of
words

Channel to be used
(use channel 0)

Assign analog input
range (0 ~ 10 VDC)

Assign average
processing channel
(channel 0)

Set Averaging count of
channel 0 (10 times)

Send the setting data to
the remote A/D module

via Fnet module at slot 2

P0000

END

MOVP 00001 D0001

MOVP 00001 D0002

MOVP 00010 D0003

Link status

Remote code

of A/D module

Slot number

of A/D module

MOVP 00001 D0011

Validate the setting of
A/D module

RPUT hC002 h0001 D0011 00011 00001 M001

P0000

Send the setting data to
the remote A/D module

via Fnet module at slot 2

RGET hC002 h0001 D0012 00012 00001 M002

F0093

P0000

Read buffer 12 of remote
A/D module per 1
second, and store it to
D0012 of self -station

Buffer

memory

Start address

of data

No. of
words

Link status

Remote code

of A/D module

Slot number

of A/D module

Slot number of

Fnet module

Station number of

Fnet remote module

P0010

< 2000 D0012

P0000

Turns on P0010 when
the digital value is less
than 2000

P0011

< D0012 3000

>= D0012 2000

Turns on P0011 when
the digital value is 2000
~ 2999

P0012

< D0012 4000

>= D0012 3000

Turns on P0012 when
the digital value is 3000

~ 3999

P0013

>= D0012 4000

Turns on P0013 when
the digital value is 4000
or greater

Slot number of

Fnet module

Station number of

Fnet remote module

Advertising
This manual is related to the following products: