ACR Electronics FPR-10 PROGRAMMER Manual Página 41

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 40
Parker Hannifin
System Configuration 41
Arrays: The factory default provides no memory allocated to
arrays. After allocating memory, these items are available only
within the specified program.
How Much Memory?
There are no simple guidelines to determine how much memory your
programs might require; the needs of each application are different.
It also depends how you intend to develop programs for the
controller.
If you just sit down and begin writing code through the ACR-View
software, consider allocating more memory than you think you
might need. As you get closer to completion, you can scale back
the memory allocations as appropriate.
You can also write the programs first, determine how much memory
it uses, and dimension what is necessary.
The following table shows memory usage by various data and
program structures. Use it to help determine how much memory is
needed for each program:
Data/Program Structure Memory Usage
LV variables 4 bytes per element (32-bit integers)
SV variables 4 bytes per element (32-bit floating point)
DV variables 8 bytes per element (64-bit floating point)
$V variables 4 bytes + 1 byte per character
Array references 4 bytes per array reference + 4 bytes
LA arrays 4 bytes per element + 4 bytes
SA arrays 4 bytes per element + 4 bytes
DA arrays 8 bytes per element + 4 bytes
$A arrays 1 byte per character
Commands 4 bytes per command
Parametric Statements 4 bytes per operator
Long Constants 4 bytes per constant (32-bit integer)
Single Constants 4 bytes per constant (32-bit floating point)
Double Constants 8 bytes per constant (64-bit floating point)
String Constants 4 bytes + 1 byte per character
Subroutine Calls 4 bytes per level
Aliases (#DEFINE) 48 bytes per define + 16 bytes
Move Buffer (MBUF) 136 bytes per move
Vista de página 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 198 199

Comentários a estes Manuais

Sem comentários