User Manual and Operating Guide

2. The Barco Projection Protocol
Character strings can b e formatted in two ways:
C-style format
An array of o ne or more characters which is terminated by a NULL character (0x00) . The position of the N ULL character
determines the length o f the s tring.
Example: ’f ’o’ ’o’ ’b’ ’a’ ’r 0x00
Pascal-style format
An array of one or more characters which is started (the rst byte) with the length of the string. Therefore, Pascal-style s trings
are limited to 255 characters.
Example: 0x07 ’f’ ’o’ ’o’’’’b’’a’’r
ANSI
American National Standards Institute
Data words
A data wor d is a value which consists of m ultiple bytes. Data words are formatted in big endian.
How to calculate the value of a data w ord?
Example of a 4- byte value: 0x01 0x20 0x50 0x30
=(0x01 * 256^3) + (0x20 * 256^2) + (0x50 * 256^1) + (0x30 * 256^0)
= (1 * 16777216) + (32 * 65536) + (80 * 256) + (48 * 1)
= 16 777216 + 2097152 + 20480 + 48
= 18894896
msb
The most signicant byte, is the byte with the greatest weight (value).
lsb
The less signicant byte, is the byte with the s mallest weight (v alue).
Big endian
When the rstbyteofadatawordisthemsb and the last by te is the lsb, the data word is in big endian.
Negative values
The two’s complement (2-com plement) system is used for the representation of negative values.
Acknowledgement (ACK and NACK)
If a c omm and is received, the receiver will check the v alidity and correctness of the comm and before process ing it. If the comm and
is understood, the receiver w ill rst ack nowledge the com mand before doing the actual p rocessing of the command. An AC K (AC -
Knowledge) is sent when these conditions are me t:
The command format is correct
The command and its parame ters are valid
The checksum is correct
When these conditions are not met, a NACK (Not ACKnowledge) is s ent.
ACK NACK
Byte 1
0x00 0x00
Byte 2
0x06 0x15
When the sender receives a NACK mes sage, it is up the s ender to decide what should happen next: retry sending the comm and or
discard the com man d.
Acknowledgements are not used in m ulticast commu nication.
6 R5905746 COMMAND CATALOG 06/01/2014