K11208a;25/36
- 25 -
7. Serial Communication Control
FC1600FCL can be externally controlled by the serial interface via Camera Link cable.
(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 each one frame 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.
●
The setting of the serial communication is as follows:
Baud rate
: 9600bps or 19200bps (Specified by Setting Group 2, default: 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).
●
Operation mode “Group 1 to 4” and reception of serial communication commands
Serial communication commands are received only for the period when the camera is in the operation mode of “Group 1” (=
“normal power-on state”).
However, only the command “ARESET” (returning to power-on state) is received even during the periods when the camera is
in the operation modes of Group 2 to 4.
●
Description of commands
(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 returning
the parameter values stored in the internal EEPROM of the camera to the factory default values.
(2) Command “R”
Function: Command for reporting camera operation 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 mode report
1) Gain report
Transmission from host: STX: “R”: “G”: ETX
Return by camera:
STX: ACK: “R”: MGC setting value: AGC setting value: (VRT setting value):
(VRB setting value): OFFSET setting value: ETX
(!) FC1600FCL does not use the values in parentheses. This camera returns the fixed values instead.
2) Camera version report
Transmission from host: STX: “R”: “V”: ETX
Return by camera:
STX: ACK: “R”:
“Takenaka SYS.FC1600FCL 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 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.
3) 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