
N11A27;25/37
- 25 -
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
Data width
Communication
command
Data
ETX
02h
H’1
H’00
H’00
∗∗
H’
∗∗
03h
∗
Enter the set value in hexadecimal
Transmission format (to obtain the camera settings)
STX
Read
Data width
Communication
command
ETX
02h
H’0
H’00
H’00
∗∗
03h
Reception format (When the camera received the data)
STX
ACK / NAK
ETX
02h
06h / 15h
03h
Reception format (When the camera sent the settings)
STX
Data
ETX
02h
H’
∗∗
03h
●
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
Write
Data width
Command
Data 1
Data 2
ETX
02h
H’1
H’01
H’0030
H’01
H’0A
03h
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.
コン ピュータ
キ ャ プ チ ャ ー
ボ ー ド
( C am e ra L in k )
STX
:
H'1
:
H'00
:
H'0020
:
H'0001
:
ETX
Example
:
to display Menu 1
FC
カ メ ラ
F C -C A M
Example
:
to obtain the current Menu data
STX
:
H'0
:
H'00
:
H'0020
:
ETX
STX
:
H'01
:
ETX
コン ピュータ
キ ャ プ チ ャ ー
ボ ー ド
( C am e ra L in k )
FC
カ メ ラ
F C -C A M