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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 167
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 49
Operating Functions
Chapter 5
5–13
Example:
uLIST
10 FOR I=1 TO 10
20 PRINT I
30 NEXT I
40 END
READY
uCALL 8 :REM DISABLE INTERRUPTS
uPROG
12
uREADY CALL 9 :REM ENABLE INTERRUPTS
uROM 12
READY
uLIST 10 FOR I=1 TO 10
20 PRINT I
30 NEXT I
40 END
READY
u
In this example, the program just placed in the EPROM is the 12th
program stored.
Important: If you exceed the available PROM space, you cannot
continue programming until it is erased. In some cases you can alter the
previously stored programs. Be sure to use CALL 81 to determine
memory space prior to burning. See section 5.3.13.1 below.
5.3.13.1 User PROM Check and Description – CALL 81
Use CALL 81 in command mode before burning a program into
PROM memory. This CALL:
determines the number of PROM programs.
determines the number of bytes left in PROM.
determines the number of bytes in the RAM program.
prints a message telling if enough space is available in PROM for
the RAM program.
checks for a valid PROM if it contains no program.
prints a good or bad PROM message. A bad PROM message with
an address of 00xx indicates an incomplete program.
No PUSHes or POPs are needed.
5.3.13
Command: PROG
(continued)
Vista de pagina 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 166 167

Comentarios a estos manuales

Sin comentarios