• No results found

XCL-V500/X700 External Control Command Specifications

N/A
N/A
Protected

Academic year: 2022

Share "XCL-V500/X700 External Control Command Specifications"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

XCL-V500/X700

External Control Command Specifications

Sony Corporation PSNC・BCC

[Table of Contents]

1. Overview ... 3

1.1. Serial Communication Specifications ... 3

1.2. Command System... 3

1.3. Command Format... 4

1.4. Command Input and Response ... 4

2. Command Specifications ... 6

2.1. Camera Control Commands ... 6

2.1.1. Basic Setting Commands... 6

2.1.2. Scan Setting Commands... 8

2.1.3. Partial Scan Setting Commands... 8

2.1.4. Pulse Setting Commands... 8

2.1.5. COMM Setting Commands... 10

2.2. Setting Value Control Commands ... 11

2.2.1. Initialize Setting Command... 11

2.2.2. Save Setting Command... 11

2.2.3. Read Setting Command... 12

2.2.4. Get Setting Value Command... 12

2.3. Other Commands... 13

3. Command List ... 14

(2)

1. Overview

XCL−V500/X700(Black and White Video Camera Module) can externally be controlled with serial communication.

This control of serial communication is carried out using serial of camera link.

In this time, RS−232C is changed into RS−644.

1.1. Serial Communication Specifications

The serial communication system for XCL−V500/X700 is the asynchronous method compliant with RS − 232C. The following table shows the transmission control specifications.

Command inputs are echoed back.

Baud rate 38400/19200 [bps]

Default setting: 38400[bps]

Data bits 8

Parity None Stop bit 1

Floe control None

1.2. Command System

There are two control command types: public and private. A switch setup inside a camera is required to use private commands in camera control applications. The following table shows the command system.

Command category Description Camera control commands Controls a camera.

Setting value control command Controls setting data saved in a camera.

1.3. Command Format

To input (send) a command, delimit a command name and parameters with spaces, and press the Enter (Carriage Return) key.

The following are the input format and an example:

<Input format> command param1 param2 [Enter]

<Input example> PARTIAL 1 <CR>

Input characters are case-insensitive.

Use decimal numbers for parameters.

1.4. Command Input and Response

When the camera receives commands from the host, it returns a response after each command processing.

Input commands are echoed back.

(Note) To input multiple commands continuously, input a command after the previous command returns the response.

PC CAMERA Command

Echo back

Command processing Response

Command response messages are as follows:

OK : Normal Error Syntax : Syntax error Error Status : Status error

(3)

■ When command execution is completed normally, the screen displays "OK".

Example:

<Input> PARTIAL 1 <CR>

<Output on screen> OK <CR/LF>

■ If command execution is terminated abnormally, the screen displays "ERROR STATUS".

■ When no parameter is input for a command with parameters, the screen displays the current parameters of the command.

Example:

<Input> PARTIAL <CR>

<Output on screen> 1 <CR/LF>

■ If an input value is out of parameter range, the command is invalid and the screen displays "ERROR SYNTAX".

<Input> PARTIAL 5 <CR>

<Output on screen> ERROR SYNTAX <CR/LF>

■ If an invalid command name is input, the screen displays "ERROR SYNTAX".

Example:

<Input> PART 1 20 <CR>

<Output on screen> ERROR SYNTAX <CR/LF>

■ If the Enter key is pressed with no command input, only the carriage return is carried out.

Any invalid input is ignored.

2. Command Specifications

This section describes the details of control commands available for XCL−V500/X700, classified by category.

2.1. Camera Control Commands

Camera control commands are classified into five categories. A tab is assigned to each category in camera control applications.

The following table shows the description of each category:

Category Description Basic Sets basic functions (mode/shutter/gain etc.).

Scan Sets read−out from CCD.

Partial Scan Sets partial scan.

Pulse Sets various control pulse.

Comm Sets RS−232C serial communication.

All parameter values related to the camera control commands are saved into EEPROM of the camera.

2.1.1. Basic Setting Commands

■ Operation Mode Setting [Command] MODE

[Parameter 1] < Operation Mode (0 to 3)>

0 : NORMAL 1 : Restart/Reset 2 : Trigger Mode 1 3 : Trigger Mode2 [Process] Sets operation mode.

(4)

■ Shutter Speed Setting [Command] SHUTTER

[Parameter 1] <Shutter setting (0 to 12)>

VGA:normal XGA:normal VGA/XGA:trigger

[Process] Sets a shutter speed.

■ Gain−Step Setting

[Command] GAIN−STEP [Parameter 1] <Gain (0 to 18)> [dB]

0: 0dB 8: 8dB 16: 16dB 1: 1dB 9: 9dB 17: 17dB 2: 2dB 10: 10dB 18: 18dB 3: 3dB 11: 11dB

4: 4dB 12: 12dB 5: 5dB 13: 13dB 6: 6dB 14: 14dB 7: 7dB 15: 15dB

[Process] Sets the gain value (0 to 18 dB) by 1 dB step.

0 : OFF 1 : 1/100 2 : 1/125 3 : 1/250 4 : 1/500 5 : 1/1000 6 : 1/2000 7 : 1/4000 8 : 1/10000 9 : 1/20000 10 : OFF

11 : OFF 12 : OFF

0 : OFF 1 : 1/100 2 : 1/125 3 : 1/250 4 : 1/500 5 : 1/1000 6 : 1/2000 7 : 1/4000 8 : 1/10000 9 : 1/25000 10 : 1/50000 11 : 1/100000 12 : Trigger width 0 : OFF

1 : 1/100 2 : 1/125 3 : 1/250 4 : 1/500 5 : 1/1000 6 : 1/2000 7 : 1/4000 8 : 1/10000 9 : 1/15000 10 : 1/30000

11 : OFF 12 : OFF

■ Gain−Fine Adjustment Setting [Command] GAIN−FINE [Parameter 1] <Gain (0 to 1023)>

[Process] Fine adjusts the gain value.

2.1.2. Scan Setting Commands

■ Binning Mode Setting [Command] BINNING [Parameter 1] <Mode (0 or 1)>

0: OFF →No binning

1: V →Vertical binning [Process] Sets a binning mode.

2.1.3. Partial Scan Setting Commands

■ Partial Scan Setting [Command] PARTIAL [Parameter 1] <Mode (0 or 1)>

0: OFF

1: Partial Scan (External Control) [Process] Sets a partial scan mode.

2.1.4. Pulse Setting Commands

■ VD/HD IN/OUT Setting [Command] VHINTEXT [Parameter 1] <IN/OUT (0 or 1)>

0: VD/HD external (Input the external synchronous signals) 1: VD/HD internal (Output the internal synchronous signals) [Process] Set either input or output about VD/HD signals.

(5)

■ External Trigger Signal Input Selection [Command] EXTTRG

[Parameter 1] <Input selection (0 or 1)>

0: DC−700/CE →Through the 12pin DC connector 1: Camera Link →Through the Camera Link connector [Process] Set an input path for external trigger signals.

■ External Trigger Detection Setting [Command] TRG−DET [Parameter 1] <Detection (0 or 1)>

0: Enabled

1: Disabled

[Process] Sets an external trigger detection.

■ Overlap Setting

[Command] TRG−OVLP

[Parameter 1] <Overlap selection (0 or 1)>

0: One shot →One−shot output 1: Continuous →Continuous output [Process] Sets an output of TRIG_SUB signal.

■ 75 ohm Termination Setting [Command] TERM

[Parameter 1] <Termination (0 or 1)>

0: ON

1: OFF

[Process] Sets ON/OFF for 75 ohm termination.

■ Master Clock Select Setting [Command] CLKSEL

[Parameter 1] < Clock selection (0 or 1)>

0: Master Clock →Internal Clock 1: External Master Clock →External Clock [Process] Sets a master clock selection.

2.1.5. COMM Setting Commands

■ Serial Communication Speed Setting [Command] BRATE

[Parameter 1] <Baud Rate setting (0 or 1)>

0: 38400 [bps]

1: 19200 [bps]

[Process] Sets a serial communication speed.

(Note) This setup becomes effective after re-starting a power supply.

The last setting value is held and this setup is not initialized, even when an initialization command is executed.

(6)

2.2. Setting Value Control Commands

Setting value control commands control the camera setting data saved in EEPROM of the camera. The following table lists the command descriptions.

However, a setup of COMM setting command is not the object of control. Even when which command is executed, the last setting value is held and setting value is not updated:

Command Description Initialize

Setting

Returns all data related to camera control commands to the factory default values.

Save Setting

Writes all data related to camera control commands into EEPROM.

Read Setting

Reads all data related to camera control commands from EEPROM.

Get Setting Value

Sends data to a camera control application.

2.2.1. Initialize Setting Command

■ Setting Initialization [Command] INIT

[Process] Returns all data related to camera control commands to the factory default values.

A setup of COMM setting command is not the object of control.

2.2.2. Save Setting Command

■ Setting Save [Command] SAVE

[Process] Writes all data related to camera control commands into EEPROM.

A setup of COMM setting command is not the object of control.

2.2.3. Read Setting Command

■ Setting Read [Command] LOAD

[Process] Reads all data related to camera control commands from EEPROM.

A setup of COMM setting command is not the object of control.

2.2.4. Get Setting Value Command

■ Setting Value Acquisition [Command] RMEM

[Process] Sends all data related to camera control commands.

A setup of COMM setting command is not the object of control.

[Data Transmission]

Setting Value is divided by / (CR/LF) is answered. Turn is as the following order of commands.

Setting Value is specified value when it sets up by the command.

However, about a gain setup, the last setting command either GAIN−STEP or GAIN−FINE is displayed. Setting Value is answered according to the following forms.

GAIN−STEP : S##

GAIN−FINE : F###

(### : Specified value when it sets up by the command)

MODE / SHUTTER / GAIN(GAIN−STEP or GAIN−FAIN) / BINNING / PARTIAL / VHINTEXT / EXTTRG / TRG−DET / TRG−OVLP / TREM /CLKSEL

(7)

2.3. Other Commands

■ Version Display [Command] VERSION

[Process] Displays a model name and a software version.

The screen displays as follows:

<Input> VERSION<CR>

<Output on screen> CAMERA : V500 or X700 <CR/LF>

VERSION : #.##<CR/LF>

■ Help Display [Command] HELP

[Process] Displays the list of available commands.

3. Command List

The following table lists the camera control commands:

Command Parameter 1 Parameter 2 Description MODE Operation mode - Operation mode setting SHUTTER Shutter Setting - Shutter speed setting

GAIN−STEP Gain - Gain−Step setting

GAIN−FINE Gain - Gain − Fine adjustment

setting

BINNING Mode - Binning mode setting

PARTIAL Mode - Partial scan setting

VHINTEXT IN/OUT - VD/HD IN/OUT setting

EXTTRG Input selection - External trigger signal input selection

TRG−DET Detection - External trigger

detection setting TRG−OVLP Overlap

selection

- Overlap setting

TERM termination - 75 ohm termination

setting

CLKSEL Clock selection - Master clock setting

BRATE Baud rate - Serial communication

speed setting

INIT - - Setting initialization

SAVE - - Setting save

LOAD - - Setting read

RMEM - - Setting value acquisition

VERSION - - Version display

HELP - - Help display

References

Related documents

In the first stage, the Bass Diffusion Model (BDM) of technology adoption is adapted to simulate the adoption of identification standards supporting technologies. The second

Motivated by Section III’s empirical evidence that money funds experience inflows following a liquidity shock, consider modeling a money fund whose assets are in the form of

We have thus two different classification methods, first and second order neural networks, which can work on differ- ent representations of the input data: the convolutional net-

A Panorama of my Youth, MOMA Contemporary, Fukuoka, Giappone Yayoi Kusama: 10 Paintings from 60’s to the Present, Ota Fine Arts, Tokyo Yayoi Kusama: The 1950s and 1960s, Paula

 O' Brien, James, Management Information Systems: Managing Information Technology in the Internet worked Enterprise, Tata McGraw Hill, 5 th Edition (2002)..

Both the tumor percentage in biopsy samples and DNA/ RNA yield and quality emphasize the need for sam- pling multiple biopsies and minimizing the time delay before fresh-freezing in

Figure A2.15: Measured versus predicted HAA9 values including chlorine disinfection method, according to final filtered data.. Figure A2.16: Difference versus Mean of HAA9

This mobile phone insurance cover is designed for when you have a mobile phone that is not already covered under an insurance policy and you want to cover the cost of repairing or