11 - 353 11 - 353
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Description
• The data specified by <storage area for data to be written>, <offset 2> and <number of
bytes> is written to buffer memory, common memory, or extension registers (ED) specified
by <write destination> and <offset 1>.
• Specify either the address of buffer memory/common memory, or the device of extension
registers for <write destination>.
Buffer memory and common memory addresses are provided in the following manner.
Specify the starting address to which data is to be written for <write destination>.
0
1
2
3
Address specified by the PUTMEM instruction
Buffer memory address 0
Buffer memory address 1
Buffer memory address BFF
H
17FE
H
17FF
H
1800
H
1801
H
37FE
H
37FF
H
Bu
ff
e
r m
e
mo
ry
C
o
m
m
o
n
me
mo
ry
As shown above, one address of buffer memory uses 2 bytes. Specify the buffer memory
address in the PUTMEM instruction as follows:
Buffer memory address specified
in PUTMEM instruction
Buffer memory address of
the communication module
=
x 2
In order to write to extension registers, use the special variable W@ (ED,n) and specify the
starting device of the write destination.
When ED 100 is the starting device
When ED 20 is the starting device
W@ (ED, 100)
W@ (ED, 20)
REMARK
See Section 4.3 (buffer memory) and Section 8.6 (common memory and extension
registers) for how to store data to be written.
Содержание 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...