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

Page 20

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 non-consecutive 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.

FV-G200B1

20/38

User’s Guide Rev. 1.02

 

Image 20
Contents GigE Vision VGA Monochrome CCD Camera FV-G200B1 FV-G200B1 User’s Guide RevTable of Contents Connector Specifications RJ45 ConnectorDC Iris Lens Connector Power-I/O ConnectorFV-G200B1 User’s Guide Rev Equivalent Circuit for the Input Pin of the I/O Connector Or equivalent connectorHorizontal Timing Vertical Timing Full Scanning2 1/2 Partial Scanning 3 1/4 Partial ScanningAOI Area of Interest Fval Lval SUBPixel Transferring Image Timing Normal ModePulse Width Trigger Mode Exposure Timing with the Positive Polarity Trigger Signal Input Trigger signalTrigger signal Trigger signal With Photocoupler delayEdge Preset Trigger Mode 14/38 15/38 16/38 Reset mode Communication Format Communication SettingsCommunication Method Name Descriptions 【Example Code】Reading the data from the command 00H Camera Control Command Camera Command List Device Code22/38 23/38 24/38 Descriptions of the Camera Control Commands Device code Underline settings are the factory default settings26/38 27/38 28/38 29/38 30/38 Descriptions of the Camera Commands Device code AGC32/38 33/38 34/38 GenICam Command / Camera Command Reference Table GenICam command Device Command Function2EH 37/38 38/38