11 - 33 11 - 33
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
CONT
Instruction
CONTinue
• Resumes the program that was stopped by the Ctrl + C or Break key in edit mode, or
by executing the STOP or END instruction.
Syntax
CONT
Examples
CONT
• • • •
Resumes execution of the program from the point
where the program execution was stopped.
Description
• The CONT instruction resumes the program that is being stopped.
• The program execution resumes from the next line after it stopped.
• If it was stopped in the wait state of the input by the INPUT instruction, the execution
resumes after displaying a question mark (?) again.
• Normally, CONT is used with the STOP instruction for debugging. When the program
execution stops, the intermediate results can be checked and modified in the direct mode.
The program execution can resume by the CONT or GOTO instruction.
• A “Can’t continue” error occurs if the CONT instruction is executed after the program is
modified.
For details on debugging, see Chapter 10.
• The CONT and STOP instructions are valid only in the edit mode.
• Contents of all variables and definitions will be cleared when
the program execution is re-started by the RUN instruction.
When the CONT instruction is used to restart a program that terminated by the END
instruction at the middle of the program, the execution starts from the instruction of the next
line number.
REMARK
See the END, RUN and STOP 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...