11 - 442 11 - 442
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Available only in execution mode
ZMESSAGE KILL
Instruction
ZMESSAGE KILL
• Deletes the defined message ports.
ZMESSAGE KILL <message port number>
Syntax
message port number
• • • •
Specify the number of the message port to be
deleted.
Examples
ZMESSAGE KILL 1
• • • •
Deletes the message port of message port number
1.
Description
• The ZMESSAGE KILL instruction is used to delete message ports defined in the main
memory.
• Specify the message port number of the message port to be deleted in <message port
number>.
• In order to delete message ports, it is necessary to close all open message ports in all
programs being executed concurrently in multitask operations.
An error occurs if the ZMESSAGE KILL instruction is executed while there is still one or
more programs that have not closed all message ports.
Execute the deletion of the message ports by the ZMESSAGE KILL instruction in either one
of the programs being executed concurrently in multitask operations.
REMARK
See the ZMESSAGE, ZMESSAGE CLOSE, ZMESSAGE GET, ZMESSAGE OPEN
and ZMESSAGE PUT instructions, and Section 8.5.2.