Serial Communication Command - Takenaka System FS5000GE Instruction Manual

Gige vision compliant 5 megapixel progressive scan color camera
Table of Contents

Advertisement

8. Serial communication command

This camera can be externally controlled by the serial interface via Ethernet.
(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. FC2000).
● The setting of the serial communication is as follows:
Baud rate
: 9600bps
Data
: 8bit / character
Start bit
: 1start bit
Stop bit
: 1stop bit
XON/XOFF
: no control
(!) The baud rate is fixed to 9600bps for this camera. The setting can not be changed.
● 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" (restoring 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:
* 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 initialization request of page memory
Transmission from host: STX: "eCLR": ETX
Return by camera:
* The command for cancelling the request for initialization of page memory at next start-up by "e" command.
(3) 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:
(!) FS5000GE does not use the values in parentheses. This camera returns the fixed values instead.
(Note) FS5000GE does not use the set value corresponding to this command. However it is not regarded as error even
when the value is input.
2) Gain report
Transmission from host: STX: "R": "G": ETX
Return by camera:
(!) FS5000GE does not use the values in parentheses. This camera returns the fixed values instead.
STX: ACK: ETX (transaction completion), or STX: NAK: ETX (transaction rejection)
STX: ACK: ETX (transaction completion), or STX: NAK: ETX (transaction rejection)
STX: ACK: "R": (SETUP set value) : (WC set value): "1" : ETX
STX: ACK: "R": MGC set value: AGC set value: (VRT set value):
(VRB set value): OFFSET set value: ETX
- 36 -
M10510B;36/58

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fc2200geFs2200ge

Table of Contents