Rockwell-automation 1771-DB Basic Module User Manual - Series A Manual de usuario Pagina 45

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 167
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 44
Operating Functions
Chapter 5
5–8
Variations: Two variations of the LIST command are possible with the
BASIC Module.
They are:
1. LIST [ln num] (cr) and
2. LIST [ln num] – [ln num] (cr)
The first variation causes the program to print from the designated
line number (integer) to the end of the program. The second variation
causes the program to print from the first line number (integer) to the
second line number (integer).
Important: You must separate the two line numbers with a dash
(–).
Example:
READY
uLIST
u10 PRINT “LOOP PROGRAM”
u20 FOR I=1 TO 3
u30 PRINT I
u40 NEXT I
u50 END
READY
uLIST 30
u30 PRINT I
u40 NEXT I
u50 END
READY
uLIST 20–40
u20 FOR I=1 TO 3
u30 PRINT I
u40 NEXT I
Action taken: The LIST# or LIST@ command lists the program to
the device attached to the peripheral port (LIST device). All comments
that apply to the LIST command apply to the LIST# or LIST@
commands. We include these commands to permit you to make “hard
copy printouts” of a program. A configuration plug sets the baud
rate and must match your list device (see section 3.2.4 titled,
“Configuration Plugs”). Also, you must configure the peripheral port
parameters to match your particular list device (see section 5.8.1
titled, “Peripheral Port Support – Parameter Set – CALL 30”).
5.3.3
Command: LIST
(continued)
5.3.4
Command: LIST# or LIST
Vista de pagina 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 166 167

Comentarios a estos manuales

Sin comentarios