Chapter 7. SPECIAL MODULE COMMAND (BUFFER MEMORY READ/WRITE)
Chapter 7. SPECIAL MODULE COMMAND (BUFFER MEMORY READ/ WRITE)
A/D conversion module occupies 16 I/O points.
7.1 Local Command
7.1.1 Buffer Memory Read - GET, GETP
<Format>
Symbol
n1
n2
D
First address of device which will store read data.
n3
GET: Continuously executes read while the read signal is on (
GETP: Execute read by rising edge on the read signal
ex 1) A/D conversion module is mounted on the slot 3 of base, and data from the buffer memory address 14 and
15 is read to the CPU D14 and D15. ( ( ) : Buffer memory address of the G3F-AD4B )
(address)
D area of CPU module
D13
D14
A/D conversion value Ch 0
D15
A/D conversion value Ch 1
D16
D17
<GET>
execution condition
execution condition
<GETP>
GET command
execution condition
GET n1 n2
Descriptions
Slot number assigned to special module
First address of the buffer memory of special
module from which data are read
Number of words of data read
< Distinction of GET and GETP>
GET 00003 00014 D0014 00002
for GET
for GETP
M0000
GETP 00003 00014 D0014 00002
7 - 1
D
n3
Device used
Integer
Integer
M, P, K, L, T, C, D, #D
Integer
)
(
)
Buffer memory of
A/D conversion module
A/D conversion value Ch 0
A/D conversion value Ch 1
D
M0000
(address)
13(38)
14(39)
15(40)
16(41)
17(42)