Chapter 7 Buffer read/write instructions
7 - 2
- 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
GET
GETP
2) Program example
- Program that reads address 14, 15 of buffer memory of the A/D module (G4F-AD3A)
mounted at the slot 3, and stores them to the D0014, D0015 of CPU module.
- Program that reads address 09, 10 of buffer memory of the A/D module (G6F-AD2A) mounted
at the slot 3, and stores them to the D0014, D0015 of CPU module.
G4F-AD3A
(G6F-AD2A) Buffer memory
of A/D module CPU module
12 (07) D0012
13 (08) D0013
14 (09) 2001 D0014 2001
15 (10) 1999 2 words
D0015 1999 2 words
16 (11)
D0016
Executed per scan Executed per scan
Executed only once Executed only once
GET 00003 00014 D0014 00002
Input
condition
GET 00003 00009 D0014 00002
Input
condition