Use of control software based upon this Table of Contents command list may cause malfunction or damage to hardware and software. We are not Overview ........... 3 liable for any such damage. About This Document ........ 3 VISCA ............3 Overview of VISCA ........
Sony for About This Document controlling a consumer’s camcorder. • This document describes about the VISCA 1) “VISCA” is a trademark of Sony Corporation. command and CGI command specifications of Sony Color Video Camera SRG-X40UH and SRG- Overview of VISCA H40UH.
VISCA Communication Specifications VISCA packet structure The basic unit of VISCA communication is called a packet (Fig. 2). The first byte of the packet is called the header and comprises the sender’s and receiver’s addresses. For example, the header of the packet sent to the unit (address 1) from the controller (address 0) is 81H in hexadecimals.
Page 6
Timing Chart Responses for commands and inquiries As VISCA command processing can only be • ACK message carried out a maximum of one time in a Vertical Returned by the unit when it receives a (V) cycle, it takes maximum 4V-cycle time for an command.
Y = 9 to F: Address of the unit +8 (Locked to “Y = 9” for VISCA over IP) wait at least 200 msec after the message GGGG = Vender ID “Command Canceled” has appeared. 0001: Sony HHHH = Model ID VISCA Device Setting Command 061F:SRG-X40UH...
VISCA Camera-Issued Messages ACK/Completion Messages Command Command Message Comments y0 4z FF Returned when the command is accepted. (z: Socket No.) Completion y0 5z FF Returned when the command has been executed. (z: Socket No.) y = Device address + 8 (Locked to “y = 9” for VISCA over IP.) Error Messages Command Command Message...
VISCA over IP Overview of VISCA over IP With VISCA over IP function, you can control the camera using VISCA on a controller equipped with IP communication capabilities via LAN. You can connect up to 5 controllers simultaneously on the network. The communication specifications of VISCA over IP are as follows: •...
locked to 0 (for the controller) or 1 (for the device that triggers sending command is not peripheral device). issued. Due to the nature of the IP communication, the • IF_Clear use of some VISCA functions are limited. For Sends the reply message to the controller after details, see “Limitation”...
Page 12
Payload type Stores the value (Byte 0 and Byte 1) of the following table on the payload division. Name Value (Byte 0) Value (Byte 1) Description VISCA command 0x01 0x00 Stores the VISCA command. VISCA inquiry 0x01 0x10 Stores the VISCA inquiry. VISCA reply 0x01 0x11...
Page 13
Delivery confirmation VISCA over IP uses UDP as a communications protocol of the transport layer. Delivery of messages is not guaranteed for the UDP communication. Delivery confirmation and retransmission should be performed on the application. Normally, when the controller sends a message to the peripheral device, the controller sends the new message after receiving the reply for the last message.
Page 14
because of limitations of order to receive commands or execution interval of command. It may cause efficiency to be reduced substantially. Timing chart without hindrance since the peripheral device recognizes that its address is set to 1. Controller Peripheral device Locking the controller’s address of the VISCA message to 0.
Command List (3/8) Number in ( ) is MENU display values. Command Set Command Command Packet Comments COLOR WHITE 8x 01 04 35 0p FF p: 0=Auto1, 1=Indoor, 2=Outdoor, 3=One BALANCE MODE Push WB, 4=Auto2, 5=Manual ONE PUSH 8x 01 04 10 05 FF One Push WB Trigger TRIGGER R.GAIN...
Inquiry Command List (4/6) Number in ( ) is MENU display values. Inquiry Command Inquiry Packet Reply Packet Comments FOCUS MODE 8x 09 04 38 FF y0 50 0p FF p: 2=Auto Focus, 3=Manual Focus FOCUS POSITION 8x 09 04 48 FF y0 50 0p 0p 0p 0p pppp: Refer to the section of the Focus Ratio and Focus Distance...
Inquiry Command List (5/6) Number in ( ) is MENU display values. Inquiry Command Inquiry Packet Reply Packet Comments PRESET SPEED SELECT 8x 09 7E 04 1B FF y0 50 0p FF p: 0=Compatible (same as Separate), 1=Separate (operation with individual speed by a preset), 2=common (operation with common speed to all presets)
Inquiry Command List (6/6) Number in ( ) is MENU display values. Inquiry Command Inquiry Packet Reply Packet Comments SYSTEM VIDEO FORMAT 8x 09 7E 04 31 FF y0 50 0p FF Whether the setting can be SELECTABLE changed by the command of the Video output method (video format) or not.
Block Inquiry Command Lens control system inquiry commands…..Inquiry Packet 8x 09 7E 7E 00 FF Byte Comments Byte Comments Byte Comments Destination Address Focus Near Limit (H) Source Address Zoom Mode (H) AF Mode AF Sensitivity Focus Near Limit (L) Zoom Mode (L) Focus Mode Preset Recall...
Page 30
Camera control system inquiry commands…..Inquiry Packet 8x 09 7E 7E 01 FF Byte Comments Byte Comments Byte Comments Destination Address Gain Position White Balance Mode Source Address White Balance Speed Detail Level Exposure Mode Exp Comp Level R Gain (H) High Sensitivity Visibility Enhancer Backlight...
Page 31
Other block inquiry commands…..Inquiry Packet 8x 09 7E 7E 02 FF Byte Comments Byte Comments Byte Comments Destination Address Source Address White Balance Offset Spotlight Flicker Cancel Auto ICR Camera ID (HH) Power Image Stabilizer IR Cut Filter Camera ID (HL) Camera ID (LH) Camera ID (LL)
Page 32
Other enlargement inquiry commands (1/3) ..Inquiry Packet 8x 09 7E 7E 03 FF Byte Comments Byte Comments Byte Comments Destination Address AE Speed AF staying time (H) Source Address High Sensitivity AF staying time (L) Noise Reduction Level Noise Reduction 2D NR Level Noise Reduction 3D NR Level...
Page 33
Other enlargement inquiry commands (2/3) ..Inquiry Packet 8x 09 7E 7E 04 FF Byte Comments Byte Comments Byte Comments Destination Address Detail Limit Source Address Detail BW Balance VE Compensation Level Detail Highlight Detail Detail Super Low Detail Mode Detail Bandwidth Visibility Enhancer Min Shutter...
Page 34
Other enlargement inquiry commands (3/3) ..Inquiry Packet 8x 09 7E 7E 05 FF Byte Comments Byte Comments Byte Comments Destination Address Source Address...
Page 37
Gain value Parameter High-sensitivity mode Off High-sensitivity mode On Gain limit 36 dB 48 dB 33 dB 45 dB 30 dB 42 dB 27 dB 39 dB 24 dB 36 dB 21 dB 33 dB 18 dB 30 dB 15 dB 27 dB 12 dB 24 dB...
Command Data Camera IP Setting Inquiry ENQ:network Command Broadcast address (255.255.255.255) The following commands are provided for Specified port number (52380) setting an IP address and a camera name for SRG series cameras. Inquiry reply MAC:**-**-**-**-**-** Name Description Broadcast address MODEL:IPCARD Setting Protocol: The controller inquires the...
Changing Initial Password Preparation for CGI After the process described above is performed, commands you can HTTP access to the cameras. Access to the cameras using Web browser. To access, enter the IP address of the cameras to the This document provides information on how to address bar in the Web browser, then press make settings via the network using the CGI Enter.
The response is as follows. Setting/Inquiring by CGI HTTP/1.0 200 OK\r\n Commands Content-Type: text/plain\r\n Content-Length: <len>\r\n \r\n var <parameter>=“<value>”\r\n var <parameter>=“<value>”\r\n Setting by Commands var <parameter>=“<value>”\r\n Set the camera by describing the CGI commands following the syntax below. It is possible to transmit several parameters at one time if the parameter is the same CGI name (part of <cgi>...
CGI Commands network.cgi Inquiry (Inq): command/inquiry.cgi?inq=network Parameter Value Description CameraName Returns the camera name. IPsetupSetEnable off, on Returns the setting of whether or not the setting can be made by the RM-IP Setup Tool. off : Do not accept on : Accept...