11 - 130 11 - 130
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
LLIST
Instruction
LLIST
• The entire program area or a portion of the program within the specified range will be
printed to the printer.
LLIST [ <line number 1> [- [ <line number 2> ] ] ]
line number 1
• • • •
Specify the line number to start printing to the printer.
Syntax
line number 2
• • • •
Specify the line number to stop printing to the printer.
LLIST
• • • •
Prints all lines to the printer.
LLIST 100
• • • •
Prints only line number 100 to the printer.
LLIST 200-
• • • •
Prints from line number 200 to the end of the
program to the printer.
LLIST –150
• • • •
Prints from the beginning to line 150 to the printer.
Examples
LLIST 300-1000
• • • •
Prints from line 300 to line 1000 to the printer.
Description
• The LLIST instruction prints the entire program or a portion of the program within the
specified range to a printer.
• When the LLIST instruction is complete, BASIC will wait for an instruction.
• While printing is in progress, all keys will not be accepted.
To stop printing, turn off the printer or set it to the offline status.
The printer output process will stop after approximately 5 seconds.
• The output printer must be specified with the ZLDV instruction.
REMARK
See the ZLDV and LIST instructions, and Section 3.2.3.