Communication Format - Omron STC-LBS132CL-SWIR Product Specifications And User's Manual

Cameralink swir cmos camera
Table of Contents

Advertisement

13.3

Communication format

A. The sending data format from PC to camera is as follows:
SOF
Device code
(8bits)
B. The receiving data format from camera is as follows:
a. After sent the read command
SOF
(8bits)
b. After sent the write command
SOF
Data length
(8bits)
(00H) (8bits)
C. Descriptions of format
SOF
Device code
Read / Write
Page
selection
Command
code
Data length
Data
EOF
Receiving
code
D. Command example
Send the read command to read 00H address data of register
02, 00, 00, 01, 00, 03
SOF, (Device code / Read / Register), Command code, Data length, Data, EOF
The return command
02, 01, 00, 03
STC-LBS132CL-SWIR
Product Specifications and User's
Read / write
(6bits)
(1bit)
Data length
Data
(8bits)
(Data length byte)
Receiving code
(8bits)
Start of the frame.
Sets (or obtains) the value is as "02H" always.
Sets the device code of camera.
Sets the value is as "000000" always.
Sets "0" when sending read command.
Sets "1" when sending write command.
Sets "0" when accessing to register of camera.
Obtains the current data from register when sending read command.
Replaces the data in register by sending data when sending write command.
The data in EEPROM does not replace.
Sets "1" when accessing to EEPROM of camera.
Obtains the data from EEPROM when sending read command.
Replaces the data in EEPROM by sending data when sending write command.
The camera uses data in EEPROM when power on camera.
The camera sends receiving code as "01H" to PC after data in EEPROM is replaced.
The camera rejects any commands while data in EEPROM is replacing. (Approximately 5 mseconds / byte)
Sets the command code.
Please refer "The camera control commands" for more details.
Sets (or obtains) the data length. (unit: byte)
For receiving data:
The data length is based on command after sent read command.
The data length is "00H" after sent write command.
For sending data:
The data length is 1 byte when sending read command.
The data length is based on command when sending write command.
Sets (or obtains) the data based on command.
End of the frame
Sets (or obtains) the value is as "03H" always.
Obtains the result of sending command.
01H: The command proceeded correctly (ACK)
10H: The command could not process correctly (NAC)
11H: The communication issue
Guide0
Page selection
Command code
(1bit)
(8bits)
EOF
(8bits)
EOF
(8bits)
Data length
Data
(8bits)
(Write: Data length )
(Read: 1byte)
No. 22S034-00
EOF
(8bits)
43/57

Advertisement

Table of Contents
loading

Table of Contents