Download 2M30 User Manual

Transcript
DS-24-02M30 and DS-25-02M30 User’s Manual
51
Appendix B
Communications Protocol
B1 Protocol Overview
This protocol defines the method used to control the camera via a serial interface. The
communication protocol defines the command format used and error messages provided.
Note: As per customer needs, additional commands and functionality will continue to be
implemented. Backward compatibility is planned for future cameras.
B2 Protocol Features
ASCII-based
Camera Serial Port Defaults
•
8 data bits
•
No parity
•
•
•
•
1 stop bit
No flow control
9.6Kbps
Camera does not echo characters
B3 Command Format
When entering commands, remember that:
•
Carriage return (CR) ends each command. The linefeed character is ignored.
•
Values in square brackets are optional.
•
•
•
•
DALSA
All values are assumed to be in decimal.
Command terms uniquely specify each command
The camera will answer each command with either "OK >" or "Error x: Error Message
>". The ">" is always the last character sent by the camera.
The following parameter conventions are used:
t = tap id
i = integer value
f = real number
s = string
[ ] = optional parameter
03-32-10157-02