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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 167
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 124
Operating Functions
Chapter 5
5–88
This routine shifts program execution from a running ROM program to the
beginning of the RAM program. No arguments are PUSHed or POPed.
Important: The first line of the RAM program is not executed. We
recommend that you make it a remark.
Example:
ROM #5
u10 REM SAMPLE ROM PROG FOR CALL 70
u20 PRINT “NOW EXECUTING ROM #5”
u30 CALL 70 :REM GO EXECUTE RAM
u40 END
RAM
u10 REM SAMPLE RAM PROGRAM FOR CALL 70
u20 PRINT “NOW EXECUTING RAM”
u30 END
uRUN
NOW EXECUTING ROM #5
NOW EXECUTING RAM
This routine transfers from a running ROM or RAM program to the
beginning of any available ROM program. One argument is PUSHed
(which ROM program). None are POPed. An invalid program error
displays and you enter the command mode if the ROM number does not
exist.
Important: The first line of the ROM program is not executed. We
recommend that you make it a remark.
Example:
u10 REM THIS ROUTINE WILL CALL AND EXECUTE A ROM ROUTINE
u20 INPUT “ENTER ROM ROUTINE TO EXECUTE ”,N
u30 PUSH N
u40 CALL 71
u50 END
uRUN
ENTER ROM ROUTINE TO EXECUTE 4
5.11.1
ROM to RAM Program
Transfer – CALL 70
5.1
1.2
ROM/RAM to ROM Program
Transfer – CALL 71
Vista de pagina 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 166 167

Comentarios a estos manuales

Sin comentarios