11 - 383 11 - 383
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
STOP
Instruction
STOP
• Pauses the program execution in edit mode.
• Stops the execution of a program, and puts it in the stop status.
Syntax
STOP
Examples
STOP
• • • •
Pauses the program execution and forces it into the
status where it waits for further instructions to be
entered.
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:
Break in nnnnn nnnnn indicates a line number.
• 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.
REMARK
See the CONT and RUN instructions, and Chapter 10.
Содержание 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...