beautypg.com

Chapter 7 buffer read/write instructions – LG G4F-AD3A User Manual

Page 62

background image

Chapter 7 Buffer read/write instructions

7 - 7

- In the following cases, operation error occurs;

a) Special function module is not founded at the slot number specified at ‘n1’

b) The value of ‘n2’ is greater than 512, or [ D + n2 ] is exceeds the range of specified

device.

- Execution conditions

Input condition

PUT

PUTP

2) Program example

- Program that write 3 words of D0049 ~ D0051 of CPU module to the address 02 ~ 04 of

buffer memory of the A/D module mounted at the slot 3.

Buffer memory

of A/D module

CPU module

01

D0048

02

h0003

D0049

h0003

03

h0020

D0050

h0020

04

h0020

3 words

D0051

h0020

3 words

05

D0052

Executed per scan

Executed per scan

Executed only once

Executed only once

PUTP 00003 00002 D0049 00003

Input

condition

This manual is related to the following products: