Serial Communication Control - Takenaka System FS2300DV Instruction Manual

2 mega pixel progressive scan color camera
Table of Contents

Advertisement

7. Serial Communication Control

FS2300DV can be externally controlled via the Camera Link serial interface .
(Note) When the operation modes of the camera are changed by the communication functions, it takes some time to switch the
modes. Carefully note that normal image may not be obtained from the signal of each one frame before and after
transmitting a command.
(Note) The settings for the serial communication commands differ from that of the existing products (FC2000CL etc.) .
Also, the communication software "FC-tool" for the existing product is not compatible with this product.
● The setting of the serial communication is as follows:
Baud rate
: 9600bps
Data
: 8bit/character
Stop bit
: 1stop bit
Parity
: none
XON/XOFF
: no control
● Serial communication commands
The command packet starts with STX(02h), followed by command code(s) and command option parameter(s) and ends with
ETX(03h). All those are of 8 bit ASCII codes.
When the camera receives 1 packet (by detecting ETX:03h) and judges it is a normal packet, it returns a transaction
completion signal (ACK: 06h) or others corresponding to the commands received. When the camera judges it is an abnormal
packet, it returns the abnormal signal (NAK: 15h).
(Note) ∗∗h : represents a hex code
H' ∗∗ : represents characters
Transmission format (to send the command data to camera)
STX
Write
02h
H'1
∗ Enter the set value in hexadecimal
Transmission format (to obtain the camera settings)
STX
Read
02h
H'0
Reception format (When the camera received the data)
STX
ACK / NAK
02h
06h / 15h
Reception format (When the camera sent the settings)
STX
Data
02h
H'∗∗
● Serial communication (Example: Continuous transmission of two commands)
The example to set the manual shutter value (command H'30,H'31) entering high 4bits data and low 8 bits data.
(Host PC→Camera)
STX
02h
In this way, "H'01"is entered into command "H'30" and "H'0A" into command "H'31".
● Note in use of commands
・The internal nonvolatile ROM (EEPROM) guarantees the rewritable times up to 1 million based on the specifications of the
device. Accordingly, it is highly recommended to avoid such usage as that the commands accompanied by writing in
EEPROM are repeated endlessly (or almost endlessly) in the program loop on the user side.
Communication
Data width
command
H'00
H'00∗∗
Communication
Data width
command
H'00
H'00∗∗
ETX
03h
ETX
03h
Write
Data width
H'1
H'01
Data
ETX
H'∗∗
03h
E xample
to displa y Menu 1
ETX
03h
F C -C A M
カ メ ラ
FC
E xample
to obtain the current Menu data
F C -C A M
カ メ ラ
FC
S T X
Command
Data 1
H'0030
H'01
- 25 -
N11A27;25/37
S T X
H ' 1
H' 0 0
H '002 0
キ ャ プ チ ャ ー
ボ ー ド
( C am e ra L in k )
コン ピュータ
S T X
H '0
H'00
H' 0 020
キ ャ プ チ ャ ー
ボ ー ド
( C am e ra L in k )
H '0 1
ET X
コン ピュータ
Data 2
H'0A
H '0001
E T X
E TX
ETX
03h

Advertisement

Table of Contents
loading

Table of Contents