Parker Hannifin
126 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 A 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).
Содержание ACR Series
Страница 1: ......
Страница 65: ...Parker Hannifin Making Motion 65...
Страница 89: ...Parker Hannifin Servo Loop Fundamentals 89 Figure 17 Following Error...