Sony EVIHD7V Product Manual (HD Color Video Camera) - Page 21

Command and inquiry, Responses for commands and inquiries, Socket number, Command execution cancel - evi hd7v camera

Page 21 highlights

Command List Command and inquiry ● Command Sends operational commands to the EVI-HD7V/HD3V. ● Inquiry Used for inquiring about the current state of the EVI-HD7V/HD3V. Command Packet Note Inquiry 8X QQ RR ... FF QQ1) = Command/Inquiry, RR2) = category code 1) QQ = 01 (Command), 09 (Inquiry) 2) RR = 00 (Interface), 04 (camera 1), 06 (Pan/Tilter) X = 1 to 7: EVI-HD7V/HD3V address Responses for commands and inquiries ● ACK message Returned by the EVI-HD7V/HD3V when it receives a command. No ACK message is returned for inquiries. ● Completion message Returned by the EVI-HD7V/HD3V 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 Ack X0 4Y FF Completion (commands) X0 5Y FF Completion (Inquiries) X0 5Y ... FF X = 9 to F: EVI-HD7V/HD3V address + 8 Note Y = socket number Y = socket number Y = socket number ● Error message When a command or inquiry command could not be executed or failed, an error message is returned instead of the completion message. Error Packet Description 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: EVI-HD7V/HD3V address + 8, Y = socket number Socket number When command messages are sent to the EVI-HD7V/HD3V, 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 EVI-HD7V/HD3V has two buffers (memories) for commands, so that up to two commands including the commands currently being executed can be received. When the EVI-HD7V/HD3V 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, an EVI-HD7V/HD3V 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. The following three commands use two sockets during execution of each command that is sent. The EVIHD7V/HD3V cannot receive other requests during execution of these commands. In addition, these commands cannot be executed during operation of other commands. • CAM_AE_Gain_Limit • SYS_Menu • CAM_Memory Recall when Limit is updated 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: EVI-HD7V/HD3V 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. 21

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40

21
Command List
Command and inquiry
Command
Sends operational commands to the
EVI-HD7V/HD3V.
Inquiry
Used for inquiring about the current state of the
EVI-HD7V/HD3V.
Command Packet
Note
Inquiry
8X QQ RR ... FF
QQ
1)
= Command/Inquiry,
RR
2)
= category code
1)
QQ = 01 (Command), 09 (Inquiry)
2)
RR = 00 (Interface), 04 (camera 1), 06 (Pan/Tilter)
X = 1 to 7: EVI-HD7V/HD3V address
Responses for commands and inquiries
ACK message
Returned by the EVI-HD7V/HD3V when it receives
a command. No ACK message is returned for
inquiries.
Completion message
Returned by the EVI-HD7V/HD3V 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: EVI-HD7V/HD3V address + 8
Error message
When a command or inquiry command could not be
executed or failed, an error message is returned
instead of the completion message.
Error Packet
Description
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: EVI-HD7V/HD3V address + 8, Y = socket number
Socket number
When command messages are sent to the
EVI-HD7V/HD3V, 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 EVI-HD7V/HD3V has two
buffers (memories) for commands, so that up to two
commands including the commands currently being
executed can be received. When the
EVI-HD7V/HD3V 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, an EVI-HD7V/HD3V 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.
The following three commands use two sockets during
execution of each command that is sent. The EVI-
HD7V/HD3V cannot receive other requests during
execution of these commands. In addition, these
commands cannot be executed during operation of
other commands.
• CAM_AE_Gain_Limit
• SYS_Menu
• CAM_Memory Recall when Limit is updated
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: EVI-HD7V/HD3V 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.