Common Memory - Mitsubishi QD51-R24 User Manual

Melesec q series
Hide thumbs Also See for QD51-R24:
Table of Contents

Advertisement

3 SPECIFICATIONS

3.5.3 Common memory

3 - 23
Common memory is memory that can be used to send and receive data between the
QD51 (-R24) internally and each task.
Data from the programmable controller CPU can also be read and written using this
memory.
(1) Writing data to and reading data from common memory
TO
(Writing of data)
Programmable
controller
CPU
FROM
(Reading of data)
(a)
In a BASIC program, data are read from or written to common memory
using the GETMEM/PUTMEM command.
Program example
The following shows a program where data from A%(0) to A%(9)
(equivalent to 20 bytes) are written into the common memory area
addressed 1800
100 PUTMEM TO &H1800, 0 FROM A%(), 0, 20
QD51(-R24)
Common Memory
C00
H
C01
H
to
C08
H
C09
H
QD51(-R24)
GETMEM
(Reading of data)
Common
memory
PUTMEM
(Writing of data)
to 1813
using the PUTMEM command.
H
H
1800
H
1801
H
1802
H
1803
H
PUTMEM
to
(Writing of data)
1810
H
1811
H
1812
H
1813
H
MELSEC-Q
BASIC
Program
BASIC
Program
(1-byte units)
3 - 23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qd51

Table of Contents