Mitsubishi QD51 Programming Manual page 630

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
ZRELEASE
Instruction
• Allows other programs to use a resource to which a resource number is assigned.
ZRELEASE [<resource number>]
Syntax
resource number
ZRELEASE 1
Examples
• The ZRELEASE instruction allows the program that executes the ZRELEASE instruction to
Description
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.
11 - 460
ZRELEASE
• • • •
• • • •
REMARK
• See the ZRESERVE instruction in Section 8.3 for the details about exclusive
control of resources.
• See the ZRESERVE instruction.
Available only in execution mode
Specify the number (0 to 31) allocated among the
programmers and assigned to a resource used in a
program.
Allows other programs to use the resource to which
resource number 1 is assigned.
MELSEC-Q
11 - 460

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents