ACR Electronics FPR-10 PROGRAMMER Manuel Page 150

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 199
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 149
Parker Hannifin
150 Programmer’s Guide
Even though global variables are stored on-board as floating point
64 (FP64) numbers, they are returned as IEEE32 numbers (Conversion
Code 0x01).
Setting Global Variables
Peek at the System Pointer Address (see System Pointer Address on
previous page) to receive the Global_Variable_Address.
If the returned address is zero, there are no dimensioned global
variables (see the DIM command).
If the returned address is other than zero, peek at this address
to receive the number of dimensioned global variables.
To prevent corruption of user memory, always verify P(index) is within
the dimensioned global variable range before performing a POKE
command.
Set a global variable P(index) using the following addressing scheme
for Poke:
Poke address = Global Variable Address + 1 + ( index * 2 )
Where index = 0 to ( number of dimensioned global variables –
1 )
Even though global variables are sent as IEEE32 numbers, they are
stored on-board as floating point 64 (FP64) numbers (Conversion
Code 0x01).
Vue de la page 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 198 199

Commentaires sur ces manuels

Pas de commentaire