NAVIOR-24S
™
Appendix B
Navis Standard Interface Protocol BINR
73
NAVIOR-24S ™
Revision
V1.00 20.05.2008
The bytes in the data string can have any value. To prevent confusion with the frame sequences
<DLE> <ID> and <DLE> <ETX>, every <DLE> byte in the data string is preceded by an extra
<DLE> byte ('stuffing'). These extra <DLE> bytes must be added ('stuffed') before sending a packet
and removed after receiving the packet. Notice that a simple <DLE> <ETX> sequence does not
necessarily signify the end of the packet, as these can be bytes in the middle of a data string. The
end of a packet is <ETX> preceded by an odd number of <DLE> bytes.
Used data types
Multiple-byte numbers follow the ANSI/IEEE Std. 754 IEEE Standard (see Table IV-4)
Table IV-4 – Data types format
Data type
Dimension, bits Values range
INT8U 8
0…255
INT8S
8
-128…127
INT16U 16
0…65,535
INT16S 16
-32,768…32,767
INT32U 32
0…4,294,967,295
INT32S 32
2,147,483,648..2,147,483,647
FP32 32
3.4*10-38…3.4*1038
FP64 64
1.7*10-308…1.7*10308
FP80 80
3.4*10-4932…3.4*104932
Integer data types with sign are present in the extra code. Low bytes transmitted forwards in the
multiply data types (consisting from several bytes). Lowe bit of the byte transmitted first.
The data with these types, used for transfer, are transmitted in that kind, in what they are in machine
memory of IBM-compatible computers, i.e. the data transfer implements low bytes forwards.