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

  • 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 259
Chapter
Call Routines 69–127
13
13 -2
Undefined. If you execute an undefined call, you receive the error
message, “ERROR–UNSUPPORTED
CALL
.”
Use this routine to shift program execution from a running ROM program
to the beginning of the RAM program.
Important: The first line of the RAM program is not executed.
We recommend that you make it a remark.
Important: There must be a next line in the ROM or RAM routine,
otherwise unpredictable events could occur that may destroy the contents
of RAM. For this reason always be sure that at least one END statement
exists following a CALL 70 or 71.
Input and Output Arguments
This routine has no input or output arguments.
Syntax
CALL
70
Example
>
ROM5
>
LIST
10 REM SAMPLE ROM PROG FOR CALL 70
20 PRINT “NOW EXECUTING ROM #5”
30 CALL 70 : REM GO EXECUTE RAM
40 END
>
RAM
>
LIST
10 REM SAMPLE RAM PROGRAM FOR CALL 70
20 PRINT “NOW EXECUTING RAM”
30 END
>ROM5
>
RUN
NOW EXECUTING ROM #5
NOW EXECUTING RAM
CALL
69
CALL 70: ROM to RAM
Program T
ransfer
Vista de pagina 259
1 2 ... 255 256 257 258 259 260 261 262 263 264 265 ... 393 394

Comentarios a estos manuales

Sin comentarios