![background image](http://html2.mh-extra.com/html/navitar/12x-zoom/12x-zoom_instruction-manual_3592022021.webp)
Navitar Motorized Zoom Systems Instruction Manual for Windows
Revision B
Page 21 of 23
2/17/2004
RS-232 Communication Protocol
Serial data streams.
Data to the 2 Axis Motor controller serial device:
Serial port configuration:
38400 baud
8 bits
no parity
1 stop bit
no flow control
7 bytes are written to the device. The first is a register id. The next
four are the contents of a 32 bit register value
Byte 1:
0xff. This is a start of data stream flag.
Byte 2:
register id. Bit 7 is set to 1 for a write. Bit 7 is set to
0 for a read.
Byte 3:
low byte of 4 byte register.
Set to 0 for a read.
Byte 4:
second byte of 4 byte register.
Set to 0 for a read.
Byte 5:
third byte of 4 byte register.
Set to 0 for a read.
Byte 6:
high byte of 4 byte register.
Set to 0 for a read.
Byte 7:
A checksum byte such that the 7 bytes sum to 0 (mod 256).
The reply:
7 are read from the device.
Byte 1:
0xff. This is a start of data stream flag.
Byte 2:
register id. Bit 7 will be set to 0.
Byte 3:
low byte of 4 byte register
Byte 4:
second byte of 4 byte register
Byte 5:
third byte of 4 byte register
Byte 6:
high byte of 4 byte register
Byte 7:
A checksum byte such that the 7 bytes sum to 0 (mod 256).