Parker
Hannifin
Usage Example
This example uses the following IEEE conversions:
0.500 = 3F000000
0.123 = 3DFBE76D
Binary Output
Description
07 08 00 00 00 00 00 3F
Set Master 3 ROV to 0.5
07 05 00 00 6D E7 FB 3D
Set Master 0 and Master 2 ROV to 0.123
Application: Binary Global Parameter Access
Also see
Binary Peek
and
Binary Poke
commands.
Description
Global user variables (see Variable Memory Allocation) can be read
and set using the Binary Peek and Poke Command interface.
NOTE:
A maximum word count of 255 can be used when using the
Binary Peek and Poke Command interface.
System Pointer Address (hardware dependent)
Controller
System Pointer
Address
ACR1200 0x400008
ACR1500 0xC08008
ACR2000 0x400008
ACR8000 0x403E08
ACR8010 0x403E08
ACR8020 0x400009
Reading Global Variables
Peek at the System Pointer Address (see above information) 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.
Read a global variable P(index) using the following addressing
scheme for Peek:
•
Peek address = Global_Variable_A 1 + ( index * 2 )
•
Where index = 0 to ( no. of dimensioned global variables – 1 )
Binary Host Interface 125