Cont ( Resumes The Program That Was Stopped ) - Mitsubishi QD51 Programming Manual

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
CONT
Instruction
• Resumes the program that was stopped by the Ctrl + C or Break key in edit mode, or
by executing the STOP or END instruction.
CONT
Syntax
CONT
Examples
• The CONT instruction resumes the program that is being stopped.
Description
• 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.
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.
11 - 33
CONTinue
• • • •
• 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.
REMARK
See the END, RUN and STOP instructions, and Chapter 10.
Resumes execution of the program from the point
where the program execution was stopped.
MELSEC-Q
11 - 33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents