11 - 79 11 - 79
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
• Specify the length of data to be read from the starting location specified by <offset 2> to
<number of bytes> in bytes.
If <read data store area> is an integer variable or integer array, use the following to store
the read data to n elements:
<number of bytes> = n 2
since one element (variable) consists of two bytes.
• If <read data store area> is a character variable or character array variable, use the
following to store the read data to half-byte characters:
<number of bytes> = n
since one to half-byte character consists of one byte.
• The user should manage the placement position, size, and data type of each data in the
buffer memory, etc.
Data is not converted when reading and writing data to the buffer memory, etc.
• While the program is executed by multitask processing, perform the exclusive control by
the ZRESERVE and ZRELEASE instructions in order to read and write data to the buffer
memory, etc. of the same area.
No error occurs when another program requests reading or writing to the common
memory area where data is being read and written. Reading and writing are allowed
concurrently.
REMARK
See the PUTMEM instruction, and Sections 4.3 and 8.5.