K12703 ; 27/43
- 27 -
7. Serial Communication Command
This camera can be externally controlled by the serial interface via Camera Link..
(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 for one frame each before and after
transmitting a command.
(Note) The settings and timings of the serial communication commands are the same as those of the products that have the
conventional RS-232C communication functions (e.g. FC2000CL).
● The setting of the serial communication is as follows:
Baud rate
: 9600bps
Data
: 8bit / character
Stop bit
: 1stop bit
Parity : Non
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 code.
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).
● Description of each command
(1) Command
“e”
Function: Initialization of page memory
Transmission from host:
STX: “e”: ETX
Return by camera:
STX: ACK: ETX (transaction completion), or STX: NAK: ETX (transaction rejection)
* CPU initializes each of the page memories when the power is turned on next time.
“Initialization” here means restoring
the parameter values stored in the internal EEPROM of the camera to the factory default values.
(2) Command
“eCLR”
Function: Cancellation of request of initialization of page memory
Transmission from host:
STX: “eCLR”: ETX
Return by camera:
STX: ACK: ETX (transaction completion), or STX: NAK: ETX (transaction rejection)
* The command for cancellation of request to initialize the page memory when the power is turned on next time.
(3)
Command “R”
Function: Command for reporting camera operating state and setting status
The contents of the report can be selected by adding the following option code after the command code
“R”.
G: Gain report
V: Camera version report
T: Shutter SW set report
S: Shutter report
(4) Gain report
Transmission from host:
STX: “R”: “G”: ETX
Return by camera:
STX:
ACK: “R”: MGC set value: (AGC set value): (VRT set value):
(VRB set value): OFFSET set value: ETX
(!) FC2600CL does not use the values in parentheses. This camera returns the fixed values instead.
(5) Camera version report
Transmission from host:
STX: “R”: “V”: ETX
Return by camera:
STX:
ACK: “R”:“Takenaka SYS.FC2600CL V1.00”: ETX
*The underlined values show the control program version number of the camera and a file name. These values and the
number of characters vary by program version. Use it when confirming the communication mode of the camera and
obtaining internal information of the camera.
The maximum number of the characters to be inserted between ACK and ETX is 48.
(6) Shutter SW report
Transmission from host:
STX: “R”: “T”: “H”: ETX
Return by camera: STX:
ACK: “R”: “H”:SW0: SW1: SW2: SW3: SW4: SW5: SW6: SW7: SW8: SW9: ETX