M08627;27/39
- 27 -
7. Serial Communication Control
FS5000HECL 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
Start bit
: 1start bit
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/2” 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 D.
●
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. (
→
corresponding to
the procedure b. under the section (6-9))
(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
S: Shutter report
T: Shutter SW set report
V: Camera version report
1) Analog report
Transmission from host: STX: “R”: “A”: ETX
Return by camera:
STX: ACK: “R”: (SETUP setting value): (WC setting value): “1”: ETX
(!) FS5000HECL does not use the values in parentheses. This camera returns the fixed values instead.
(Note) FS5000HECL does not use the setting values corresponding to this command, but it does not cause an error
even
when it is input.
2) 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
(!) FS5000HECL does not use the values in parentheses. This camera returns the fixed values instead.
3) Camera version report
Transmission from host: STX: “R”: “V”: ETX
Return by camera:
STX: ACK: “R”:
“Takenaka SYS.FS5000HECL V1.00 T×××××”: ETX
* The underlined values show the control program version number of the camera and a file name. These values and