XT2500 Product Manual
Page 74 | 92
CONFIDENTIAL AND PROPRIETARY
5.3.15. BuildAndSend Message ACK
Byte(s)
Value
Type
Description
0-1
0x8888
N/A
The first 2 bytes of the ACK must be set to 0x8888.
2-3
PacketSerialNum
16-bit
unsigned int,
big-endian
byte order
This value is the unique packet serial/sequence
number (Packet recipe ID: 0x05).
5.3.16. Packet Creation Characteristics
l
A message is created from a single packet recipe and may be appended with fields from a separate append
recipe.
l
The device can store 128 packet recipes (each containing up to 40 fields) and16 append recipes (each
containing up to 16 fields).
l
Each packet/append recipe is assigned a packet ID (0-254; 0x0 to 0xfe).
l
Each append recipe is assigned a range of reason codes.
Example: It’s possible to create an append recipe adding fields [x, y, z] to the end of the message. The designer
can assign a range, e.g. 4 to 7, to this append recipe. Any time the script calls BuildAndSendMsg() with reason
code 4, 5, 6, or 7, [x, y, z] fields are appended to the message. It is up to the customer to design and group
reason codes and use them in the script to append desired data in certain situations.
5.3.17. Packet Creation Recipe Configuration
Command Structure:
:wycfg pcr[<slot_index>] "<recipe_hex_string>"
<slot_index>
is in range of 0 to 127
"<recipe_hex_string>"
is a quoted string of hexadecimal bytes (represented by two ASCII characters)
String Structure:
<packet_id><num_fields><field_0><field_1>...<field_N>
5.3.18. Packet Creation Append
Command Structure:
:wycfg pca[<slot_index>] "<append_hex_string>"