Delete ( Deletes The Specified Range Of The Program ) - Mitsubishi QD51 Programming Manual

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
DELETE
Instruction
• Deletes the specified range of the program.
DELETE
Syntax
line number 1
line number 2
DELETE 100 – 150
Examples
DELETE 50 -
DELETE - 200
DELETE 70
• The DELETE instruction deletes the range of the program specified by <line number 1>
Description
and <line number 2>.
• When both <line number 1> and <line number 2> are specified, all the lines included in this
range are deleted.
• When <line number 1> and a hyphen ("-") are specified, lines starting from the specified
line through the end of the program are deleted.
• When only a hyphen ("-") and <line number 2> are specified, lines starting at the beginning
of the program through the specified line are deleted.
• When only <line number 1> is specified, only this line is deleted.
• The following occurs when the DELETE instruction is executed in the program.
In edit mode
The program waits for the next instruction.
In execution mode
The program becomes in the idling state.
• An "Illegal function call" error occurs if the line number specified by <line number> does not
exit.
11 - 57
DELETE
[ [ <line number 1> ] -] [ <line number 2> ]
• • • •
• • • •
• • • •
• • • •
• • • •
• • • •
REMARK
See the CHAIN instruction and Section 3.2.3.
Specify the first line to delete.
Specify the last line to delete.
Deletes from line 100 to line 150 of the program.
Deletes from line 50 to the end of the program.
Deletes from the beginning to line 200 of the
program.
Deletes line 70 of the program.
MELSEC-Q
11 - 57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents