Interfacing to the tandberg wave ii camera, Command and response exchange sequence – TANDBERG 6000MXP User Manual

Page 228

Advertising
background image

D 13887.08
MAY 2008

228

TANDBERG 3000

MXP

&

6000

MXP

REFERENCE GUIDE FOR SYSTEM INTEGRATORS

The TANDBERG WAVE II camera uses a RS-232 control interface
that resembles the Sony VISCA protocol.

RS232 Parameters

The communication parameters for the RS232 interface must be
set to:

9600 bits per second

8 databits

No parity

1 stopbit

No hardware flow control

No software flow control

These parameters are fixed, and are not user configurable. All
databytes are pure binary information, i.e. the data is not ASCII-
encoded.

Message Format

Commands are initiated from the host (i.e. the codec or any other
external controller) to the camera. After a camera has been issued
a command, the camera will generate a response. Commands and

responses (messages) have the following format:
Address byte (1) - Information bytes (1..14) - Terminating byte (1)
The minimum length of any command or response is 3 bytes.

1. Address byte:

Let us assume there is one host, i.e. the Codec

(the host is the unit controlling the camera). The host has address
0. The four least significant bits of the address byte contain the
address of the receiver. In the case of a broadcast message, the
receiver address should be set to 8. When we are operating a
single camera, the address is 1. Hence, address bytes in mes-
sages from the host are 0x81, and messages from the camera to
the host are 0x90 (the protocol allows for up to 7 cameras).

2. Message bytes:

Any number of bytes containing the actual mes-

sage information. Bytes may have any value in the range 0...254.
The value 255 (i.e. hexadecimal FF) is reserved for the terminating
byte.

3. Terminating byte:

All messages must be terminated with a byte

containing all 1’s, i.e. decimal 255 (or hexadecimal FF).

Command and Response Exchange Sequence

When the camera receives a command, it responds with either an
ACKNOWLEDGE response, a COMPLETION response or an ERROR
response:

ACK message: 90-4Y-FF

Returned by camera when it receives the command. No ACK is
returned for inquiries.

Completion message: 90-5Y-FF (commands) & 90-5Y-…-FF

(inquiries)
Returned by the camera when execution of commands and
inquiries are completed.

Error packets: 90-6Y-…-FF

When command or inquiry failed to be executed.

Y = socket number

Camera contains two buffers so that two commands, including
the commands being executed, can be received.

There are of course exceptions to these rules:

An Initialize message will respond as indicated in the table

below (this message is in fact a broadcast message, and any
unit other than the host receiving a broadcast message must
pass it on).

Interfacing to the TANDBERG WAVE II Camera

Controlling External Cameras

Advertising
This manual is related to the following products: