Unibrain 580 User Manual

Page of 72
Unibrain Fire-i 580/780/785/980 Operation Manual 
 
Page 50 
 
 
 
 
 
SIO(RS232) Commands   
STX  Command 
Data 
Length 
ETX 
Return 
Value 
Function 
A0 
3Bytes 
Gain control  (0x000 ~ 0x30F(BW Model) or 2D3(Color Model)) 
 
(see gain mapping graph)   
Ex) SA0200Z :  Gain index value 512 (18dB) 
A1 
3Bytes 
Shutter speed control   
(0x001 ~ 0xCFB) (see shutter speed table) 
A2 
1Bytes 
Set/Clear auto shutter speed and auto gain 
Bit 0 : Auto gain      Bit 1 : Auto shutter speed 
Ex) SA21Z  :  set auto gain and clear auto shutter speed 
 
SA23Z  :  set auto gain and auto shutter speed 
 
SA20Z  :  clear auto gain and auto shutter speed   
A3 
2Bytes 
Auto exposure control (0x00~0x64)   
A4 
1Bytes 
Gamma control (0x0~0x19) (see gamma table) 
A5 
3Bytes 
Brightness control (0x000~0x800) 
A6 
3Bytes 
Sharpness control (0x000~0x3F8) 
A7 
1Bytes 
ISO control    1: ISO enable,    0 : disable 
A8 
1Bytes 
Trigger control    1: trigger enable,    0 : trigger disable 
AF 
0Bytes 
‘G’+18 
Byte 
Read feature control value   
Return value order     
‘G’[Gain] [Shutter] [Set/Clear auto gain and shutter] [Auto 
Exposure] [Gamma] [Brightness] [Sharpness] [ISO] [Trigger] 
 
Ex) At Command SAFZ, if return value is G001200132F20020101, 
Gain : 0x001  Shutter speed : 0x200   
Set auto gain/Clear auto shutter speed : 0x1 
Auto exposure : 0x32   Gamma : 0xF   Brightness : 0x200     
Sharpness : 0x201   ISO : 0x0   Trigger : 0x1   
B0 
16Bytes 
RS232 synchronization : RS232 buffer cleared    in camera. 
B1 
8Bytes 
Write access of 1394 address 
Format : SB1 [address(8 byte)] [data(8byte)] Z 
Ex) SB1F2F1010012345678Z :   
write 0x12345678 data at 0xF2F10100 address 
B2 
0Bytes 
‘G’+8 
Byte 
Read access of 1394 address   
Format : SB2 [address(8byte)] Z 
Ex) If command is SB2F2F10100Z and return value is 
G12345678, Read value of address 0xF2F10100 is 0x12345678. 
B3 
3Bytes 
Return to default feature value 
Return control feature : gain, shutter speed, auto exposure,   
brightness, sharpness, gamma, auto shutter speed, auto gain 
Undefined 
Command 
Any Byte 
Undefined command   
Return Value is ‘U’ character.