Mitsubishi QD51 Programming Manual page 553

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
STOP
Instruction
• Pauses the program execution in edit mode.
• Stops the execution of a program, and puts it in the stop status.
STOP
Syntax
STOP
Examples
Description
In edit mode
• The STOP instruction pauses the execution of the program and forces it into the status
where it waits for further instructions to be entered.
• The STOP instruction can be used at any place in a program.
• When the STOP instruction is executed, the following message is displayed:
• Unlike the END instruction, the STOP instruction does not close open files.
• After a program is forced into the status where it waits for instruction entry by the execution
of the STOP instruction, the execution can be resumed by using the CONT instruction.
However, if the program is modified during the pause, the execution cannot be resumed
by the CONT instruction.
In execution mode
• The STOP instruction stops the program execution.
• The program execution can be resumed using the TRUN and TCONTINUE commands of
the debugger if the debugger is used.
• The STOP instruction can be used at any place in a program.
If the last END instruction is omitted in a program in execution mode, the same result as if the STOP
instruction were executed is obtained.
11 - 383
STOP
• • • •
Break in nnnnn
nnnnn indicates a line number.
REMARK
See the CONT and RUN instructions, and Chapter 10.
Pauses the program execution and forces it into the
status where it waits for further instructions to be
entered.
MELSEC-Q
11 - 383

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents