11 - 448 11 - 448
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
• Specify the starting location of the data transfer in the memory area of <transfer
destination> in <offset 1>. This should be specified as an offset value relative to the
starting address of the memory area of <transfer destination>, in byte units.
Example
Specify 2 for <offset 1> when data is transferred to the 3rd and subsequent bytes.
0
1
2
Memory area of <transfer destination>
3
4
n
Da
ta
t
o
b
e
tr
ansf
e
rr
e
d
Byte offset value when <transfer destination>
is specified as an array name ( )
1st byte (starting location
of the memory area of
<transfer destination>)
3rd byte
Target range
for transfer
If <transfer destination> is specified as an array variable name, specify the byte offset
value relative to the starting address of the memory area of the specified element only.
Example
0
1
Memory area of <transfer destination>
Byte offset value
(x)
When element (x) of an
integer array is specified
Target range
for transfer
• For <transfer source>, specify the variable, etc. in which the data to be transferred to
<transfer destination> is stored.
Always define an array used as <transfer source> with the DIM instruction, even if the number
of elements used is 10 or less.
When the ZMOVE instruction is executed, only data in the portion defined by the DIM instruction
becomes the target for transfer.
(Usually, an array with 10 or fewer elements can be used without defining it using the DIM
instruction).
Содержание 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...