Technical data

56
W&T
length
length indicates the total length of the structure in bytes, i.e.
including the first 4 WORDs.
The result is the following packet structure:
Structure buildup WORD send_sequence always 0
WORD rec_sequence always 0
WORD struct_type identifies the structure
WORD length length of the structure in bytes
Variable ............... depends on the function
............... ............... additional variables
1
Note: The following applies for all IO structures.
A WORD corresponds to 16bit_integer (unsigned)
A BYTE corresponds to one byte (8 bits)
A LONG corresponds to a 232bit_integer (unsigned)
Hexadecimal format: 0x in front of the value
1
When sending and receiving, the following applies for
all structure variables: Low-Byte first.
The following structure
Example WORD send_sequence 0x0000
WORD rec_sequence 0x0000
WORD struct_type 0x0001
WORD length 0x0008
would look as follows when sent on the network:
low byte high byte low byte high byte low byte high byte low byte high byte
00 00 00 00 01 00 08 00
send_sequence rec_sequence struct_type length
3.8.8 Working with the IO structures
In the next section we will explain the individual structures and
the corresponding values of the variables send_sequence,
rec_sequence, struct_type and length, which are used to begin
each packet.