Parker Hannifin
Binary Peek Command
A binary peek command consists of a four-byte header followed by
an address and the data to be fetched from that address. The
header contains a data conversion code that controls pointer
incrementing and theFP32 -> IEEE floating point conversion.
Note:
Refer to Binary Global Parameter Access
Note
at end of
Binary Host Interface section for details.
The command returns the header and peek address followed by the
requested data.
Binary Peek Packet
Transmit Packet
Data Field
Description
Byte 0
Header ID ( 0x00 )
Byte 1
Packet ID ( 0x90 )
Byte 2
Conversion Code
Byte 3
Peek Word Count
Long 0
Peek Address
Receive Packet
Data Field
Description
Byte 0
Header ID ( 0x00 )
Byte 1
Packet ID ( 0x90 )
Byte 2
Conversion Code
Byte 3
Peek Word Count
Long 0
Peek Address
Long 1
Peek Data 0
Long 2
Peek Data 1
:
Long N
Peek Data ( Count - 1 )
Conversion Codes
Code
Source
Destination
0x00 LONG
LONG
0x01 FP64
IEEE32
0x02 FP32
IEEE32
106 Programmer’s Guide