11 - 439 11 - 439
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Available only in execution mode
ZMESSAGE CLOSE
Instruction
ZMESSAGE CLOSE
• Closes message ports.
ZMESSAGE CLOSE [<message port number>]
Syntax
<message port number>
• • • •
Specify the number of the message port to be
closed.
Examples
ZMESSAGE CLOSE 1
• • • •
Closes the message port of message port number 1.
ZMESSAGE CLOSE
• • • •
Closes all open message ports.
Description
• The ZMESSAGE CLOSE instruction is used to close open message ports.
• Specify the message port number of the message port to be closed in <message port
number>.
If it is omitted, all open message ports will be closed.
• Message ports specified in <message port number> cannot be used in a program any
longer once the ZMESSAGE CLOSE instruction has been executed.
• Message ports closed by the ZMESSAGE CLOSE instruction can, however, be opened
and used again by using the ZMESSAGE OPEN instruction.
• In order to delete message ports, first close the message ports in all the programs being
executed in multitask operations, and then execute the ZMESSAGE KILL instruction.
REMARK
See the ZMESSAGE, ZMESSAGE GET, ZMESSAGE KILL, ZMESSAGE OPEN
and ZMESSAGE PUT instructions, and Section 8.5.2.