Mitsubishi QD51 Programming Manual page 176

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
AUTO
Instruction
• Automatically displays the line number at the beginning of a line.
AUTO
Syntax
line number
increment
AUTO
Examples
AUTO 100
AUTO 100, 20
AUTO , 20
AUTO 100
• The AUTO instruction automatically displays the line number as specified.
Description
• The value specified by <line number> becomes the first line number. For the successive
lines, the value specified by <increment> is added to the value of the line number.
• If <line number> and <increment> are both omitted, 10 is assumed for both values.
• If only <line number> is omitted, 0 is assumed for the line number.
• If a comma is added after the <line number>, and <increment> is omitted, <increment> in
the previous AUTO instruction is applied.
• If a line number that has been already used is specified in the AUTO instruction,
(asterisk) is displayed after the line number. If no character is entered from the keys after
, the contents of the line are not changed even if the Enter key is pressed.
• To finish the execution of the AUTO instruction, press the Ctrl + C keys or Break key.
• While the AUTO instruction is being executed, the line that is already displayed can't be
changed by moving the cursor.
11 - 6
AUTOmatic
<line number>, <increment>
• • • •
• • • •
• • • •
• • • •
• • • •
• • • •
• • • •
REMARK
See Section 3.1.
Specify the line number to start the display.
Specify the increment of the line number.
Generates the line number starting from line number
10 in increments of 10.
(Line number 10, 20, 30, ...)
Generates the line number starting from line number
100 in increments of 10.
(Line number 100, 110, 120, ...)
Generates the line number starting from line number
100 in increments of 20.
(Line number 100, 120, 140, ...)
Generates the line number starting from line number
0 in increments of 20.
(Line number 0, 20, 40, ...)
Generates the line number starting from line number
100 in the increment that was previously specified by
the AUTO instruction.
MELSEC-Q
11 - 6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents