Vaddio BRC-300 User Manual

A-C1Z-100-12 (1)
3CCD Color Video Camera
Command List
Version 1.10
BRC-300/300P
2004 Sony Corporation
VISCA RS-232C/RS-422 Commands ........................ 3
Overview of VISCA..................................................... 3
VISCA Communication Specifications........................ 4
VISCA Device Setting Command ............................... 6
VISCA Command/ACK Protocol................................. 7
VISCA Camera-Issued Messages .............................. 8
BRC-300/P Commands ............................................. 9
BRC-300/P Command List (1/4)................................. 9
BRC-300/P Command List (2/4)............................... 10
BRC-300/P Command List (3/4)............................... 11
BRC-300/P Command List (4/4)............................... 12
BRC-300/P Inquiry Command List (1/2) ................... 13
BRC-300/P Inquiry Command List (2/2) ................... 14
BRC-300/P Block Inquiry Command List ................. 15
VISCA Command Setting Values ............................. 19
Revision History ...................................................... 23
2
VISCA1) RS-232C/RS-
VISCA Equipment
IN
OUT
IN
OUT
IN
OUT
VISCA Controller
422 Commands
Use of RS-232C/RS-422 control software based upon this command list may cause malfunction or damage to hardware and software. Sony Corporation is not liable for any such damage.

Overview of VISCA

In VISCA, the side outputting commands, for example, a computer, is called the controller, while the side receiving the commands, such as a BRC-300/P, is called the peripheral device. The BRC-300/P serves as a peripheral device in VISCA. In VISCA, up to seven peripheral devices like the BRC-300/P can be connected to one controller using communication conforming to the RS-232C/RS-422 standard. The parameters of RS-232C/RS-422 are as follows.
• Communication speed: 9600 bps/38400 bps
• Data bits : 8
• Start bit : 1
• Stop bit : 1
• Non parity Flow control using XON/XOFF and RTS/CTS, etc., is not supported.
Each VISCA device has a VISCA IN and VISCA OUT connector. Set the DTR input (the S output of the controller) of VISCA IN to H when controlling VISCA equipment from the controller.
Fig. 1 VISCA network configuration
Peripheral devices are connected in a daisy chain. As shown in Fig. 1, the actual internal connection is a one­direction ring, so that messages return to the controller via the peripheral devices. The devices on the network are assigned addresses. The address of the controller is fixed at 0. The addresses of peripheral devices are as follows.
When the address of the controller is fixed at 0
The addresses of the peripheral devices are 1, 2, 3 ... in order, starting from the one nearest the controller. The address of the peripheral device is set by sending address commands during the initialization of the network.
When the address of the controller is fixed at 1 through 7
The addresses of the peripheral devices will be set on a preselected number. Within a single system, the same number can be used only once. If the address-switch number other than 0 is to be used, change the BRC­300/P address switch to a different number beforehand.
................................................................................................................................................................................................................................
1)VISCA is a protocol which controls consumer camcorders developed by Sony. “VISCA” is a trademark of Sony Corporation.
3

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 BRC-300/P assigned address 1 from the controller (address 0) is hexadecimal 81H. The packet
Packet (3 to 16 bytes)
sent to the BRC-300/P assigned address 2 is 82H. In the command list, as the header is 8X, input the address of the BRC-300/P at X. The header of the reply packet from the BRC-300/P assigned address 1 is 90H. The packet from the BRC-300/P assigned address 2 is A0H. Some of the commands for setting BRC-300/P units can be sent to all devices at one time (broadcast). In the case of broadcast, the header should be hexadecimal 88H. When the terminator is FFH, it signifies the end of the packet.
Message (1 to 14 bytes)Header
Byte 1 Byte 2 Byte 3
Sender’s
10
Bit 7
(MSB)
Note
address
Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Receiver’s address
(LSB)
Fig. 2 Packet structure
Fig. 2 shows the packet structure, while Fig. 3 shows the actual waveform. Data flow will take place with the LSB first.
Start
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5
bit
(LSB)
1 byte
Terminator
FF
11111111
Bit 7
Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
(MSB)
Bit 6 Bit 7
(MSB)
Stop bit.
(LSB)
Fig. 3 Actual waveform for 1 byte.
Timing Chart
As VISCA Command processing can only be carried out one time in a Vertical cycle, it takes the maximum 1V cycle time for an ACK/Completion to be returned. If the Command ACK/Completion communication time can be cut shorter than the 1V cycle time, then every 1V cycle can receive a Command. From this point, if 2 or more commands in a row are to be sent, wait for the first command (for normal commands, an ACK or an error message, for query commands, an Inquiry Packet) to be carried out before sending the next one.
General Commands
Command
RxD
TxD
Within16.7msec(20msec*PAL)
Query Commands
16.7msec(20msec*PAL)
Command
RxD
TxD
ACK Completion
Inquiry Pocket
16 Byte
4
Command and inquiry
Socket number
z Command
Sends operational commands to the BRC-300/P.
z Inquiry
Used for inquiring about the current state of the BRC-300/P.
Command Packet Note
Inquiry 8X QQ RR ... FF QQ
1)
QQ = 01 (Command), 09 (Inquiry)
2)
RR = 00 (Interface), 04 (camera 1), 06 (Pan/Tilter)
X = 1 to 7: BRC-300/P address
1)
= Command/Inquiry,
2)
RR
= category code
Responses for commands and inquiries
z ACK message
Returned by the BRC-300/P when it receives a command. No ACK message is returned for inquiries.
z Completion message
Returned by the BRC-300/P when execution of commands or inquiries is completed. In the case of inquiry commands, it will contain reply data for the inquiry after the 3rd byte of the packet. If the ACK message is omitted, the socket number will contain a
0.
Reply Packet Note
Ack X0 4Y FF Y = socket number Completion (commands) X0 5Y FF Y = socket number Completion (Inquiries) X0 5Y ... FF Y = socket number X = 9 to F: BRC-300/P address + 8
When command messages are sent to the BRC-300/P, it is normal to send the next command message after waiting for the completion message or error message to return. However to deal with advanced uses, the BRC-300/P has two buffers (memories) for commands, so that up to two commands including the commands currently being executed can be received. When the BRC-300/P receives commands, it notifies the sender which command buffer was used using the socket number of the ACK message. As the completion message or error message also has a socket number, it indicates which command has ended. Even when two command buffers are being used at any one time, a BRC-300/P management command and some inquiry messages can be executed. The ACK message is not returned for these commands and inquiries, and only the completion message of socket number 0 is returned.
Command execution cancel
To cancel a command which has already been sent, send the Cancel command as the next command. To cancel one of any two commands which have been sent, use the cancel message.
Cancel Packet Note
Cancel 8X 2Y FF Y = socket number X = 1 to 7: BRC-300/P address, Y = socket number
The Command canceled error message will be returned for this command, but this is not a fault. It indicates that the command has been canceled.
z Error message
When a command or inquiry command could not be executed or failed, an error message is returned.
Error Packet Description
X0 6Y 01 FF Message length error X0 6Y 02 FF Syntax Error X0 6Y 03 FF Command buffer full X0 6Y 04 FF Command cancelled X0 6Y 05 FF No socket (to be cancelled) X0 6Y 41 FF Command not executable X = 9 to F: BRC-300/P address + 8, Y = socket number
5

VISCA Device Setting Command

Before starting control of the BRC-300/P, be sure to send the Address command and the IF_Clear command using the broadcast function.
For VISCA network administration
z Address
Sets an address of a peripheral device. Use when initializing the network, and receiving the following network change message.
z Network Change
Sent from the peripheral device to the controller when a device is removed from or added to the network. The address must be re-set when this message is received.
Packet Note
Address 88 30 01 FF Always broadcasted. Network Change X0 38 FF X = 9 to F: BRC-300/P address + 8
VISCA interface command
z IF_Clear
Clears the command buffers in the BRC-300/P and cancels the command currently being executed.
Command Packet Reply Packet Note
IF_Clear 8X 01 00 01FF X0 50 FF IF_Clear (broadcast) 88 01 00 01 FF 88 01 00 01 FF X = 1 to 7: BRC-300/P address (For inquiry packet) X = 9 to F: BRC-300/P address +8 (For reply packet)
VISCA interface and inquiry
z CAM_VersionInq
Returns information on the VISCA interface.
Inquiry Inquiry Packet Reply Packet Description
CAM_VersionInq 8X 09 00 02 FF Y0 50 GG GG HH HH JJ JJ KK FF GGGG = Vender ID
(0001: Sony) HHHH = Model ID 040F: BRC-300/P 0410: BRU-300/P JJJJ = ROM revision KK = Maximum socket # (02)
X = 1 to 7: BRC-300/P address (For inquiry packet) X = 9 to F: BRC-300/P address +8 (For reply packet)
6

VISCA Command/ACK Protocol

Command Command Message Reply Message
General Command 81 01 04 38 02 FF 90 41 FF (ACK)+90 51 FF
(Example) (Completion)
90 42 FF 90 52 FF
81 01 04 38 FF 90 60 02 FF (Syntax Error)
(Example)
81 01 04 38 02 FF 90 60 03 FF
(Example) (Command Buffer Full)
81 01 04 08 02 FF 90 61 41 FF
(Example) (Command Not Executable)
90 62 41FF
Inquiry Command 81 09 04 38 FF 90 50 02 FF (Completion)
(Example)
81 09 05 38 FF 90 60 02 FF (Syntax Error)
(Example)
Address Set 88 30 01 FF 88 30 02 FF
IF_Clear (Broadcast) 88 01 00 01 FF 88 01 00 01 FF
IF_Clear (For x) 8x 01 00 01 FF z0 50 FF (Completion)
Command Cancel 8x 2y FF z0 6y 04 FF
(Command Canceled)
z0 6y 05 FF (No Socket)
Comments
Returns ACK when a command has been accepted, and
Completion when a command has been executed.
Accepted a command which is not supported or a command
lacking parameters.
There are two commands currently being executed, and the
command could not be accepted.
Could not execute the command in the current mode.
ACK is not returned for the inquiry command.
Accepted an incompatible command.
Returned the device address to +1.*
Returned the same command.
ACK is not returned for this command.
Returned when the command of the socket specified is canceled.
Completion for the command canceled is not returned.
Returned when the command of the specified socket has already
been completed or when the socket number specified is wrong.
* When the address-switch is fixed at 0, the value x in 88 30 0x FF will be indeterminate.
Do not transmit the command (except Address Set, IF_Clear, Command Cancel, CAM_Power), when menu panel shows on the screen. In that case, clear the menu panel first using CAM_Menu Command, and then proceed.
7
Loading...
+ 16 hidden pages