Unibrain Fire-i 501/511/601/701/702/810 Operation Manual Page 58
z SIO (RS232) Commands
STX Command
Data
Length
ETX
Return
Value
Function
S A0 3Bytes Z G
Gain control (0x000 ~ 0x30F(BW Model) or 2D3(Color Model))
(see gain mapping graph)
Ex) SA0200Z : Gain index value 512 (18dB)
S A1 3Bytes Z G
Shutter speed control
(0x001 ~ 0xCFB) (see shutter speed table)
S A2 1Bytes Z G
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
S A3 2Bytes Z G Auto exposure control (0x00~0x64)
S A4 1Bytes Z G Gamma control (0x0~0x19) (see gamma table)
S A5 3Bytes Z G Brightness control (0x000~0x800)
S A6 3Bytes Z G Sharpness control (0x000~0x3F8)
S A7 1Bytes Z G ISO control 1: ISO enable, 0 : disable
S A8 1Bytes Z G Trigger control 1: trigger enable, 0 : trigger disable
S AF 0Bytes Z
‘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
S B0 16Bytes Z G RS232 synchronization : RS232 buffer cleared in camera.
S B1 8Bytes Z G
Write access of 1394 address
Format : SB1 [address(8 byte)] [data(8byte)] Z
Ex) SB1F2F1010012345678Z :
write 0x12345678 data at 0xF2F10100 address
S B2 0Bytes Z
‘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.
S B3 3Bytes Z G
Return to default feature value
Return control feature : gain, shutter speed, auto exposure,
brightness, sharpness, gamma, auto shutter speed, auto gain
S
Undefined
Command
Any Byte Z U
Undefined command
Return Value is ‘U’ character.