List, Mode, List@ -12 list# -12 mode -12 – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 52

Publication 1746-RM001A-US-P
4-12 BASIC Commands
LIST@
Purpose
Use the LIST@ command to print the program to the device attached to port
PRT1. All comments that apply to the LIST command apply to the LIST@
command. You must configure PRT1 port parameters to match your particular list
device. The PRT1 parameters (baud rate, parity, stop bits, and so on) can be set
using the MODE command.
Syntax
LIST@
Examples
LIST@ :REM LISTS ALL LINES IN THE PROGRAM
LIST@10–20 :REM LISTS LINES 10 THROUGH 20
LIST#
Purpose
Use the LIST# command to print the program to the device attached to port
PRT2. All comments that apply to the LIST command apply to the LIST#
command. You must configure the PRT2 port parameters to match your particular
list device. The PRT2 parameters (baud rate, parity, stop bits, and so on) can be set
using the MODE command.
Syntax
LIST#
Example
Refer to LIST@ examples.
MODE
Purpose
Use the MODE command to set the port parameters of ports PRT1, PRT2, and
DH485. Table 4.3 lists the port parameters and default settings for ports PRT1 and
PRT2. Table 4.4 lists the port parameters for port DH485.