
RMV Operations Manual Revision Copyright illunis LLC, 2014
Page 35
External UART Commands
(Rev >=E7 hardware only)
0x11
00
Init Baud Rate
Write
0x0000 = 9600 (Default) 0x0001 = 19200
0x0002 = 38400 0x0003 = 57600
0x0004 = 115200
0x11
01
Put character
Write
Puts character to external UART
0x11
02
Clear buffer
Write
Clear receive buffer
0x11
03
Get character
Read
Returns character if buffered or 0 if buffer is empty
0x11
04
Get buffer count
Read
Returns number of characters in receive buffer
0x11
05
Get buffer size
Read
Returns total size of receive buffer
Canon Lens Control Commands
(Rev >=E7 hardware only)
0x12
0x00
Canon Lens Init.
Write
Canon Lens Controller Initialization (required)
0x12
0x00
Read Lens error
Read
0 = no error 5 = lens not initialized
1 = bad command 7 = no shutter in lens
2 = lens set to manual focus 8 = bad power
3 = no lens 9 = bad lens library
10 = lens communication error
0x12
0x01
Canon command
Write
Two character command. Top byte = first char. Bot-
tom byte = second char. Sent to controller as Ch1
Ch2 <cr>.
0x12
0x02
Lens ID
Write
Information is in the serial read buffer
0x12
0x03
Lens Hdw Vers.
Write
Information is in the serial read buffer
0x12
0x04
Focus to Infinity
Write
0x12
0x05
Focus to Zero
Write
0x12
0x06
Focus Absolute
Write
Data = Focus position
0x12
0x07
Position of Focus
Write
Information is in the serial read buffer
0x12
0x18
Focus Incremental Write
Data = signed incremental position change
Positive number move focus to infinity.
Negative numbers move focus to zero.
0x12
0x08
Focus Distance
Write
Information is in the serial read buffer
0x12
0x0A
Response Mode
Write
0 = non-verbose, 1 = verbose
0x12
0x0B
Aperture Open
Write
0x12
0x0C
Aperture Close
Write
0x12
0x0D
Aperture Absolute
Write
Data = Aperture position
0x12
0x18
Aperture Incre-
mental
Write
Data = signed incremental position change (negative
numbers open IRIS, positive numbers close IRIS)
0x12
0x0E
Position of Aper-
ture
Write
Information is in the serial read buffer
0x12
0x10
Image Stab.
Write
Image Stabilization
0x12
0x40
Auto Focus
Write
Requires free run mode and correct exposure
Works only on static images. The AF algorithm will
scan the image in three passes to determine the best
focus. The AF may take up to 10 seconds to com-
plete.
0x12
0x50
Auto IRIS
Write
Data = AE detector set-point. The IRIS will be driven
so that the AE detector will match the set-point. The
desired brightness may not be possible as a change
in exposure may be needed.