11 - 252 11 - 252
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
• 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:
Number of bytes to be read • • • 6 bytes
Starting address • • • • • • • • • • • •
Module number • • • • • • • • • • • • •
82
H
05
H
PCRD TBL%( ), RD%( )
23
H
(H)
45
H
(L)
RD%(0)
00
H
(H)
12
H
(L)
RD%(1)
18
H
(L)
00
H
(H)
RD%(2)
45
H
(L)
23
H
(H)
00
H
(H)
12
H
(L)
18
H
(L)
00
H
(H)
23
H
(H)
00
H
(H)
45
H
(L)
12
H
(L)
18
H
(L)
00
H
(H)
1
2
3
82
H
83
H
84
H
85
H
86
H
87
H
(Address)
Storage status
of data read
Buffer memory viewed
from the BASIC program
Buffer memory viewed
from the PLC CPU
(Address)
Specify
2) If a character variable name or character array variable name is specified for an
input element:
Specify
PCRD TBL%( ), RD%( )
Number of bytes to be read • • • 6 bytes
Starting address • • • • • • • • • • • •
Module number • • • • • • • • • • • • •
82
H
05
H
45
H
(L)
23
H
(H)
00
H
(H)
12
H
(L)
18
H
(L)
00
H
(H)
23
H
(H)
00
H
(H)
45
H
(L)
12
H
(L)
18
H
(L)
00
H
(H)
1
2
3
82
H
83
H
84
H
85
H
86
H
87
H
(Address)
Storage status
of data read
Buffer memory viewed
from the BASIC program
Buffer memory viewed
from the PLC CPU
(Address)
1st
character
2nd
character
3rd
character
4th
character
5th
character
6th
character
RD $
45
H
23
H
00
H
12
H
18
H
00
H
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...