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.
Содержание 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...