Mitsubishi QD51 Programming Manual page 422

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Buffer memory viewed
from the PLC CPU
(Address)
23
H
1
(H)
00
H
2
(H)
00
H
3
(H)
11 - 252
• Data is stored in <storage area for data read> as follows:
Example : When reading data in buffer memory addresses 1 to 3 from an AD61
module whose I/O addresses are X/Y40 to X/Y5F.
1) If an integer variable or array variable is specified for an input element, data is
stored as follows:
PCRD TBL%( ), RD%( )
Number of bytes to be read • • • 6 bytes
Starting address • • • • • • • • • • • •
Module number • • • • • • • • • • • • •
Buffer memory viewed
from the PLC CPU
(Address)
45
23
H
1
(H)
(L)
12
00
H
2
(H)
(L)
00
18
H
3
(H)
(L)
2) If a character variable name or character array variable name is specified for an
input element:
PCRD TBL%( ), RD%( )
Number of bytes to be read • • • 6 bytes
Starting address • • • • • • • • • • • •
Module number • • • • • • • • • • • • •
Buffer memory viewed
from the BASIC program
(Address)
82
45
H
H
(L)
83
H
84
12
H
H
(L)
85
H
86
18
H
H
(L)
87
H
Specify
82
H
05
H
Buffer memory viewed
from the BASIC program
(Address)
82
45
(L)
H
H
H
83
23
(H)
H
H
84
12
(L)
H
H
H
85
00
(H)
H
H
86
18
(L)
H
H
H
00
(H)
87
H
H
82
H
05
H
45
(L)
H
23
(H)
H
12
(L)
H
00
(H)
H
18
(L)
H
00
(H)
H
Storage status
of data read
RD%(0)
23
RD%(1)
00
RD%(2)
00
Specify
Storage status
of data read
1st
2nd
3rd
character
character
character
RD $
45
23
12
H
H
H
MELSEC-Q
(H)
45
(L)
H
H
(H)
12
(L)
H
H
(H)
18
(L)
H
H
4th
5th
6th
character
character
character
00
18
00
H
H
H
11 - 252

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents