Ricoh FV-L030B1 manual 【Example Code】Reading the data from the command 00H

Page 22

Example CodeReading the data from the command 00H

￿Command to send: 02H, 00H, 00H, 01H, 00H, 03H

SOF

Device Code

Read/Write

Page Selection

Command Code

Data Length

Data

EOF

(8bit)

(6bit)

(1bit)

(1bit)

(8bit)

(8bit)

(1byte)

(8bit)

 

 

 

 

 

 

 

 

02H

 

00H

 

00H

01H

00H

03H

 

 

 

 

 

 

 

 

￿Command to receive upon a successful communication: 02H, 01H, 00H, 03H (assuming the data is 00H)

SOF

Data Length

Data

EOF

(8bit)

(8bit)

(n bytes)

(8bit)

 

 

 

 

02H

01H

00H

03H

 

 

 

 

Sequence for the saving commands to the EEPROM

Please use the following sequence for saving the commands to the EEPROM.

1)Set “1” to the 80H.0 to enable writing to the EEPROM.

2)Send the save data with the page selection “1”.

3)The camera sends back one of the following receiving codes after writing the EEPROM. 01H: OK

17H: EEPROM write error

4)80.0H is cleared to “0” automatically after writing the EEPROM.

Note1: The data cannot be saved to the EEPROM when 80H.0 is “0”.

Note2: When saving the consecutive sequence of commands, the above steps, 1) to 4), are necessary only once.

i.e.) saving the commands “10H, 11H, 12H, 13H”, or “22H, 23H, 24H”, etc.

Note3: When saving the nonconsecutive sequence of commands, the above steps, 1) to 4), are necessary for the same number of times.

i.e.) saving the commands “10H, 13H, 19H, 1BH” or “20H, 23H, 25H”, etc.

FVL030B1

22/32

User’s Guide Rev. 1.01

 

Image 22
Contents VGA CCD FVL030B1 User’s Guide RevTables of Contents Connector Specifications Camera Link ConnectorPowerI/O Connector / OUTNormal Mode Setting 10H Horizontal TimingPartial Full Scanning Setting 10H 1XX01XXX, 11H Normal Full Scanning Setting 10H 1XX00XXX, 11HVertical Timing FVL030B1 User’s Guide Rev Setting 10H 1XX01XXX, 11H Partial Scanning Setting 10H 1XX01XXX, 11H2.4 1/4 Partial Scanning Variable Partial Scanning Setting 10H 1XX01XXX, 11H SUBBinning Mode Setting 10H Vertical Timing Binning Full Scanning Setting 10H 1XX10XXX, 11HSetting 10H 1XX11XXX, 11H Binning Partial Full ScanningBinning 1/2 Partial Scanning Binning 1/4 Partial ScanningXclk Data Order on the Camera Link Output1 Taps Transferring Image(1X1Y ) Pixel Transferring ImageFrame Exposure Normal ModeElectric Shutter Pulse Width Trigger Mode Pulse Width Trigger Mode(VReset )Pulse Width Trigger Mode NonReset Exposure TimingEdge Preset Trigger Mode Edge Preset Trigger Mode VResetEdge Preset Trigger Mode NonReset Reset Mode Communication Method Communication SettingsCommunication Format Name Descriptions 【Example Code】Reading the data from the command 00H Camera Control Command Camera Command List Eeprom24/32 Descriptions of the Camera Control Commands Underline settings are the factory default settings26/32 27/32 28/32 29/32 30/32 31/32 32/32