Rockwell-automation 1771-DB BASIC MODULE Manual de usuario Pagina 133

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 394
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 132
Chapter
Commands
10
10 -3
Use the CONT command to resume execution of a program stopped by a
Ctrl
+
C
(page 10 -4), BRKPNT(page 10 -2), SNGLSTP (page
10 -20), or a STOP (page 11 -36). If you stop a program by pressing
Ctrl
+
C
on the console device or by executing a STOP statement,
you can resume execution of the program by typing CONT. Between
stopping and re-starting the program you may display the values of
variables or change the values of variables. However, you cannot continue
if you modify the program during the STOP or after an error.
Important:
Ctrl
+
C
clears all input and output buffers.
Syntax
CONT
Return
Example
>
10 FOR I = 1 TO 10000
>
20 PRINT I
>
30 NEXT I
>
40 END
READY
>RUN
1
2
3
4
5
6
7
8
9
10
Ctrl
+
C
STOP – IN LINE 30
READY
>
CONT
20
21
22
Notice that after
Ctrl
+
C
is pressed and I is printed the value of
I is 20. The value of I is incremented several times before
Ctrl
+
C
is detected.
CONT
Vista de pagina 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 393 394

Comentarios a estos manuales

Sin comentarios