11 - 460 11 - 460
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Available only in execution mode
ZRELEASE
Instruction
ZRELEASE
• Allows other programs to use a resource to which a resource number is assigned.
ZRELEASE [<resource number>]
Syntax
resource number
• • • •
Specify the number (0 to 31) allocated among the
programmers and assigned to a resource used in a
program.
Examples
ZRELEASE 1
• • • •
Allows other programs to use the resource to which
resource number 1 is assigned.
Description
• The ZRELEASE instruction allows the program that executes the ZRELEASE instruction to
release the exclusive use of a resource obtained in advance by the execution of the
ZRESERVE instruction, so that it can be used by other programs.
• If a program (whose execution is being paused) executes the ZRESERVE instruction and
specifies the same resource number as the resource that was released, it can take over
the exclusive use of the resource.
• Specify the resource number assigned to a resource whose use should be permitted to
other programs in <resource number>.
• If the specification of <resource number> is omitted in the ZRELEASE instruction, all
resources for which the program that executes the ZRELEASE instruction had obtained
the exclusive use of by the ZRESERVE instruction, are released.
• All the resources for which the program had obtained the exclusive use by the ZRESERVE
instruction are released by executing the BASIC general instructions, SYSTEM, END and
RUN, or changing the program while its execution is being paused.
REMARK
• See the ZRESERVE instruction in Section 8.3 for the details about exclusive
control of resources.
• See the ZRESERVE 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...