Sony CNA-1 User manual

CAMERA CONTROL NETWORK ADAPTOR
CNA-1
TECHNICAL MANUAL [English]
1st Edition (Revised 1)

2
Table of Contents
Overview..................................................................... 3
Abstract ............................................................................3
How does the CNA-1 work? ............................................3
Terminology .....................................................................3
Application example .........................................................3
Sony camera control application ..................................3
Your system participates in CNS as “Sony Camera” ...3
CNA-1 Configuration ................................................. 4
Examples of system configurations..................................4
One camera control by your system ............................4
Multiple camera control application with your
system ......................................................................5
Your system controlled by Sony RCP peer-to-peer .....6
Your system participates in CNS as one of Sony
camera .....................................................................7
System/Command log configuration ................................8
Sony Simple Camera Protocol ................................. 9
Introduction ......................................................................9
Overview ......................................................................9
Overall operation .........................................................9
Specification.....................................................................9
Network ........................................................................9
Data structure ..............................................................9
Command ....................................................................9
Connection ...................................................................9
Examples of using commands ...................................10
Details of Command ..................................................10
Types of the command ..............................................11
Rules ..........................................................................12
Appendix ........................................................................13
Example of State Machine diagram for your
system ....................................................................13
Example of Startup Sequence (your system works as
Controller) ...............................................................14
Example of Startup Sequence (your system works as
Camera) .................................................................15
Extended commands of Optional Software .......... 16
Multi camera control (HZC-MSCN1) ..............................16
Using commands for multiple camera control ............16
RCP Assignment control (HZC-RACN1)........................18
RCP Assignment control commands .........................19
Commands to get Camera status information ...........20
Commands to get RCP status information ................21
Commands to change RCP assignment status .........22
List of available commands.................................... 24

3
Overview
Overview
Abstract
CNA-1 is a network point that works as a “Protocol converter”.
It acts as an entrance to the Sony Camera Network System
(CNS).
Your system can control a Sony Camera, and can be
controlled from Sony Control Panels via CNA-1 with its
communication protocol.
How does the CNA-1 work?
CNA-1 participates in CNS as another “Sony protocol capable”
device.
It can talk to your system with a simple command protocol
(Sony Simple Camera Protocol: SSCP), providing a simple
communication mechanism for your system.
It mutually translates the protocol for a Sony Camera to SSCP.
Terminology
CNS: Sony Camera Network System
A network system consisting of Sony Cameras (Sony CCUs)
and Sony Control Panels, connected to each other via TCP/IP.
SPP: Sony Proprietary Protocol
A communication protocol used by CNS devices.
SSCP: Sony Simple Camera Protocol
A communication protocol between CNA-1 and your system.
RCP-mode, CAM-mode:
An emulation mode of CNA-1.
CNA-1 acts as a Sony Control Panel in RCP-mode.
CNA-1 acts as a Sony Camera in CAM-mode.
This configuration can be selected using the Web configurator
of CNA-1.
Application example
Sony camera control application
In this application, your system behaves as a controller for a
Sony Camera.
Your system can control a Sony Camera via CNA-1 (RCP-
mode configured) with SSCP.
Your system participates in CNS as “Sony
Camera”
In this application, your system may behave as a Camera or
other device similar to a camera.
Your system can be controlled from Sony Control Panels via
CNA-1 (CAM-mode configured) with SSCP.
Your system
(Behaves as Control
Panel)
Sony Camera
CNA-1
Translates
SSCP ySPP
Control command
(SSCP)
Sony Proprietary
Protocol (SPP)
Your system
(Behaves as Camera)
Sony Control
Panel
CNA-1
Translates
SSCP ySPP
Control command
(SSCP) Sony Proprietary
Protocol (SPP)

4CNA-1 Configuration
CNA-1 Configuration
Examples of system configurations
One camera control by your system
CNA-1 setup
For details of the following setting items, see “Operation Manual (page 17).”
CNS Configuration CNS Mode Bridge
Master Mode Disable
Master IP Address Variable
Target IP Address CCU’s IP Address
Device No. Variable
Gateway Configuration Gateway Mode Enable
Emulation Mode RCP
CNA-1
Your system work as
controller
Network hub
CCU
Bridge mode
Camera head

5
CNA-1 Configuration
Multiple camera control application with your system
CNA-1 setup
For details of the following setting items, see “Operation Manual (page 17).”
Device No. Configuration for CNA-1
In this case, Device number of CNA-1 must be set to different number from RCPs connected to the network. CNA-1 will be
recognized as one of RCP and CNA-1’s Device number is handled as RCP number in CNS.
In default setting of RCP assignment, RCP can control CCU (and camera) which has same number from RCP number.
Ex. RCP No. (1) can control CCU No. (1)
CNA-1 (1)-(3) has Device number (4)-(6). In this setting, CNA-1 cannot control any CCU (and camera) (4)-(6) because CCU (4)-
(6) is not connected in this network.
For control (1)-(3) camera by CNA-1 (1)-(3), CNA-1 must be assigned to CCU (and camera) (1)-(3) by RCP assignment function
provided from MSU. MSU will find CNA-1 as RCP (4)-(6).
For detail of RCP assignment function, see MSU’s Operation Manual.
CNS Configuration CNS Mode MCS
Master Mode Disable
Master IP Address Master MSU’s IP address
Target IP Address Variable
Device No. Depends on RCPs connected
to the network.
Gateway Configuration Gateway Mode Enable
Emulation Mode RCP
CNA-1 (1)
Device No. (4)
Your system work
as controller (1)
Network hub
CCU (1)
MCS mode: Client
CCU No. (1)
Camera head
CCU (2)
MCS mode: Client
CCU No. (2)
Camera head
CCU (3)
MCS mode: Client
CCU No. (3)
Camera head
RCP (1)
MCS mode: Client
RCP No. (1)
MSU
MCS mode: Master
RCP (2)
MCS mode: Client
RCP No. (2)
RCP (3)
MCS mode: Client
RCP No. (3)
CNA-1 (2)
Device No. (5)
CNA-1 (3)
Device No. (6)
Your system work
as controller (2)
Your system work
as controller (3)

6CNA-1 Configuration
Your system controlled by Sony RCP peer-to-peer
CNA-1 setup
For details of the following setting items, see “Operation Manual (page 17).
”
RCP setup
For details of the following setting items, see RCP’s Operation Manual.
”
CNS Configuration CNS Mode Bridge
Master Mode Disable
Master IP Address Variable
Target IP Address Variable
Device No. Variable
Gateway Configuration Gateway Mode Enable
Emulation Mode CAM
CNS Configuration CNS Mode Bridge
Bridge Mode: Connection mode Semi-Auto
Bridge Mode: Target CNA-1’s IP address
CNA-1
Your system work as
camera
Network hub
RCP
Bridge mode

7
CNA-1 Configuration
Your system participates in CNS as one of Sony camera
CNA-1 setup
For details of the following setting items, see “Operation Manual (page 17).
”
Device No. Configuration for CNA-1
In this case, Device number of CNA-1 must be set to different number from CCUs connected to the network. CNA-1 will be
recognized as one of camera and CNA-1’s Device number is handled as CCU number in CNS.
CNA-1’s Device number is set to (3). Therefore, MSU can find CNA-1 as Camera (3) and also RCP (3) can control CNA-1 as
Camera (3).
CNS Configuration CNS Mode MCS
Master Mode Disable
Master IP Address Master MSU’s IP address
Target IP Address Variable
Device No. Depends on CCUs connected
to the network.
Gateway Configuration Gateway Mode Enable
Emulation Mode CAM
CNA-1
Device No. (3)
Your system work
as camera
Network hub
CCU (1)
MCS mode: Client
CCU No. (1)
Camera head
CCU (2)
MCS mode: Client
CCU No. (2)
Camera head
RCP (1)
MCS mode: Client
RCP No. (1)
MSU
MCS mode: Master
RCP (2)
MCS mode: Client
RCP No. (2)
RCP (3)
MCS mode: Client
RCP No. (3)

8CNA-1 Configuration
System/Command log configuration
CNA-1 can record system event log and SSCP command log.
This utility function assists you to develop and validate
software for your system.
Log format
CNA-1 records log using Syslog format.
To display the Log menu
Access to the following URL by a PC with its web browser.
“http://(CNA-1’s IP address)/admin/log.html”
For details of how to access the menu, see “Operation Manual
(page 16)”
Log menu
1 Log Configuration
System Log:
Set the log function to on/off
Command Log:
Set the SSCP command log function to on/off
Log Level:
Select the minimum message severity level to record
in CNA-1
* If you plan to record command log, do not set the
level to “Notice” or higher.
Show All System Log button:
Click to show all system log and command log stored
in CNA-1’s RAM.
Show All Command Log button:
Click to show only command log stored in CNA-1’s
RAM.
* If there is a large amount of log stored in RAM,
displaying log list operation may take long time
depending on the network and performance of the
PC.
2 Log Storage Configuration
Storage:
Select storage for log.
Next File every ** KB, Ring buffer with ** Files:
Select log rotation number and size of file.
Eject button:
Eject the inserted USB flash drive.
3 Sever Log
Server Log:
Set the Server log function to on/off
Server IP Address:
Set the IP address of a server which can receive log
from CNA-1.
Server UDP Port:
Set the UDP port of a server.
Notes on using USB flash drive
• Do not operate CNA-1 with USB flash drive.
USB flash drive is development use only.
Log processing with USB flash drive may interfere with
CNA-1’s SSCP connection if an inserted USB flash drive
has some malfunction or does not have enough capability
of data writing speed.
• Sony USB flash drive USM*GLX series are recommended.
USB drives other than those recommended may not be
recognized when connected to the USB connector.
USB drives must be formatted with the FAT16 or FAT32
file system. Recommended Sony USB drives are
preformatted, and can be used without any prior setup.

9
Sony Simple Camera Protocol
Sony Simple Camera
Protocol
Introduction
Overview
Sony Simple Camera Protocol (SSCP) is a communication
protocol between your system and CNA-1. It is an ASCII
character based protocol via TCP/IP. The port number of TCP
is configurable.
It has no complex mechanism such as Application-level
session control, Keep-alive, Device identification or
Authentication. Therefore, your system can control Sony
Cameras, or can be controlled from Sony Control Panels,
using just send/receive command(s) without any complex
procedure.
Overall operation
Basically, CNA-1 listens to a specified TCP port and awaits a
connection from your system. When a connection is
established, CNA-1 is ready to send and receive control
commands immediately.
The connection behavior varies based on its emulation mode.
(See connection section.)
Specification
Network
Link layer:
Ethernet, 100BASE-TX
Network layer:
IPv4
Transport Layer:
TCP
Port number is configurable other than 7700 (CNA-1
reserved) or well known ports (1-1023)
Data structure
Packet:
Variable length depends on MTU configuration.
MTU value of CNA-1 is 1500 bytes. It is preferred that
MTU of your system is configured less than 1500.
Data:
ASCII character codes:
• Available ASCII printable characters:
– Lower alpha: “a” .. “z”
– Higher alpha: “A” .. “Z”
– Digit: “0” .. “9”
– Others: “,” (comma)
• Available ASCII control characters:
– New line: “\n”, “\r”
Note
If a packet includes unavailable characters or bytes, it is
handled as an invalid packet and discarded.
Command
A command is described by Hexadecimal data assembled by
ASCII characters above.
Lower and upper case alphabetical/numeric:
2 characters requires 1 byte
Comma:
Delimiter of each byte
New line:
Termination of a command, “\n”, “\r” and “\n\r” are
available.
Example: (Set Master Black to 0):
“23,a9,00,00\n”
Constructing a command by multi-packet is possible.
Example:
“23,” Packet1
“a9” Packet2
“,00,00” Packet3
“\n” Packet4
CNA-1 will concatenate packets (1-4) and recognize that
as “23,a9,00,00\n”.
Multiple commands in a packet is possible.
Example (Set White Balance R-ch, G-ch, B-ch to 0 at the
same time):
“23,01,00,00\n23,02,00,00\n23,03,00,00\n”
Important limitation
Maximum command length: 168 byte (characters) / packet
If CNA-1 cannot find the terminator (New line) after it
receives 168 bytes, it will discard the received data.
Minimum inter-packet (including complete command(s))
interval: 50 msec
This limitation is important to avoid Camera malfunctions.
An overly short inter-packet gap can impose a heavy load
on a Camera’s processor, and interfere with its
processing. It is possible that unexpected Camera errors
might occur.
If your system needs to send a number of commands, the
commands must be concatenated and put in a packet.
In an application including periodic scan for Camera
status, it is recommended that the inter-packet-interval is
set to as long as possible, for effective Camera operation.
Terminator:
CNA-1 only sends “\n” as terminator even if it receives “\r”
and “\n\r”.
Connection
CNA-1 configured for RCP mode
1 CNA-1 searches for a Sony Camera or Sony CCU by CNS
configuration.
2 When CNA-1 connects to that, CNA-1 listens to specified
TCP port and awaits a connection from your system.
3 Your system ready to connect to CNA-1
Note
If CNA-1 loses its CNS connection (to Camera or CCU), it
terminates the connection with your system, and returns to (1).

10 Sony Simple Camera Protocol
CNA-1 configured for CAM mode
1 After booting CNA-1, it listens to the specified TCP port,
and awaits connection from your system immediately.
2 Your system connects to CNA-1.
3 When connection is established, CNA-1 searches a CNS
by its configuration and participate in CNS as one of a
Sony Camera.
Note
If CNA-1 loses connection with your system, it closes the
session to CNS, and returns to (1).
Examples of using commands
For details of commands, see “Details of Command” and “List
of available commands”.
Master Gain control (Inc/Dec command)
Get current Gain value
Send: “20,01,00\n” => Receive: “21,01,02\n” (Reply
current status from Camera)
Increase Gain
Send: “21,01,80\n” => Receive: “21,01,03\n” (in case of
current parameter being 02)
Reduce Gain
Send: “21,01,40\n” => Receive: “21,01,01\n” (in case of
current parameter being 02)
Set Gain value directory
Send: “21,01,01\n” => Receive: “21,01,01\n”
Control several Camera functions (Bit command)
Get current function states (ON or OFF) at
CHU_FUNCTION01
Send: “20,81,00\n” => Receive: “21,81,31\n” “31” is
handled as bits-array: “00110001” means:
• Knee Saturation (Bit7) = OFF
• Auto Knee (Bit6) = OFF
• Knee (Bit5) = ON
•Gamma (Bit4)=ON
•Flare (Bit3)=OFF
• S-EVS (Bit2) = OFF
•ECS (Bit1)=OFF
• Shutter (Bit0) = ON
Invert function states
Send: “20,81,33\n” (00110011) => Receive: “21,81,02\n”
(in above condition)
• Knee Saturation (Bit7) = OFF (0 no operation)
• Auto Knee (Bit6) = OFF (0 no operation)
• Knee (Bit5) = OFF (1 ON to OFF)
• Gamma (Bit4) = OFF (1 ON to OFF)
• Flare (Bit3) = OFF (0 no operation)
• S-EVS (Bit2) = OFF (0 no operation)
• ECS (Bit1) = ON (1 OFF to ON)
• Shutter (Bit0) = OFF (1 ON to OFF)
Set function states
Send: “21,81,31\n” (00110001) => Receive: “21,81,31\n”
(in above condition)
• Knee Saturation (Bit7) = OFF
• Auto Knee (Bit6) = OFF
• Knee (Bit5) = ON
•Gamma (Bit4)=ON
• Flare (Bit3) = OFF
• S-EVS (Bit2) = OFF
• ECS (Bit1) = OFF
• Shutter (Bit0) = ON
Set function status with bit-mask
Send: “29,81,03,11\n” (00000011 & 00010001) =>
Receive: “21,81,21\n” (in above condition)
• Knee Saturation (Bit7) = OFF (0-0 no operation)
• Auto Knee (Bit6) = OFF (0-0 no operation)
• Knee (Bit5) = ON (0-0 no operation)
• Gamma (Bit4) = OFF (0-1 Effective OFF)
• Flare (Bit3) = OFF (0-0 no operation)
• S-EVS (Bit2) = OFF (0-0 no operation)
• ECS (Bit1) = OFF (1-0 no operation)
• Shutter (Bit0) = ON (1-1 Effective ON)
Control White Balance R-Channel of Camera (Word
command)
Get current value
Send: “22,01,00,00\n” => Receive:“23,01,01,40\n”
Current value is “01,40” = 0x0140 (16bits Hex)
Add/Subtraction control
Send: “22,01,00,01\n” => Receive: “23,01,01,41\n” (Add
+0001)
Send: “22,01,ff,ff\n” => Receive: “23,01,01,3f\n”
(Subtraction -0001)
Set value directory
Send: “23,01,00,01\n” => Receive: “23,01,00,01\n”
Details of Command
Command has 2 parts, “Command group: CMD-GP” and
“Parameter: PARAM”.
CMD-GP is a byte at the head of a command. PARAM is one
or a number of bytes describing the contents of a command.
The length of PARAM is dependent on CMD-GP.
“[CMD-GP],[PARAM0],[PARAM1],[PARAM2],...,[PARAM
N]\n”
Example: “23,a9,00,00\n”
CMD-GP: “23”
Adjust the word-size parameter of Camera
PARAM: “a9,00,00”
PARAM0:
“a9” Parameter address of Master Black of Camera
PARAM1-2:
“00,00” 2 bytes parameter value of Master Black
(PARAM0)

11
Sony Simple Camera Protocol
Types of the command
There are several types of commands and formats, depending
on CMD-GP or combination of CMD-GP and PARAM0.
[CMD-GP]:
Categorizes a command into “Byte type”, “Word type”,
“Other type”, and appends a control method “Relative” or
“Absolute”
[CMD-GP] + [PARAM0]:
Categorizes “Byte type command” into “Byte command”,
“Bit command”, “Inc/Dec command”
Almost all commands have two different control types:
“Relative” and “Absolute” assigned to a different CMD-GP
(see the List of available commands)
Example: Master Black control
• Relative control: “22,a9,00,01\n” This command “adds”
0x0001 to the current parameter
• Absolute control: “23,a9,00,01\n” This command “sets”
0x0001 to the parameter (overwrite)
Byte command
Controls or Queries a byte-size parameter of a Camera.
Format:
• “[CMD-GP],[PARAM0],[PARAM1]\n”
• PARAM0: Parameter address
• PARAM1: Value
Relative control:
It means a status query.
PARAM1 is ignored and does not affect the status of
the Camera.
Absolute control:
Set the parameter of Camera specified by the
PARAM0 address to PARAM1, or a response of the
value of the parameter from the Camera.
Bit command
Controls or Queries the ON or OFF state of a function of a
Camera using bit (0 or 1).
Format:
• “[CMD-GP],[PARAM0],[PARAM1]\n”
• PARAM0: Parameter address
• PARAM1: Value affects each bit
Relative control:
Inverts the function state specified by the PARAM0
address ON to OFF, or OFF to ON when bit is set to 1.
If PARAM1 bits are all set to 0, it means a status
query.
Absolute control:
Set the state at the PARAM0 address to PARAM1 or
a response of the value of the parameter from the
Camera.
Inc/Dec command
Increments or decrements a Camera parameter and also
adjusts a value directory.
Format:
• “[CMD-GP],[PARAM0],[PARAM1]\n”
• PARAM0: Parameter address
• PARAM1: Value
PARAM1
bit7-6: Inc/Dec control
[00] Set a value directory or status query
[01] Increment the parameter specified by the
PARAM0 address
[10] Decrement the parameter specified by the
PARAM0 address
[11] N/A
bit5-0: Value of the parameter
Relative control:
bit5-0 is ignored.
bit7-6 [00] or [10] or [01]: Parameter (bit5-0) query.
bit7-6 [11]: Maximum value query for the parameter
(bit5-0).
Absolute control:
bit7-6:
[00]: Set the parameter specified by the PARAM0
address to bit5-0.
[01]: Decrement the parameter. bit5-0 is ignored.
[10]: Increment the parameter. bit5-0 is ignored.
[11]: Maximum value reply from a Camera. Do not
use this bit pattern to control.
bit5-0: Value of the parameter.
Word command
Adjust a word-size parameter of a Camera, or status response
of it.
Format:
“[CMD-GP],[PARAM0],[PARAM1],[PARAM2]\n”
PARAM0: Parameter address
PARAM1-2: Value 16bit
PARAM1: Higher byte
PARAM2: Lower byte
Relative control:
PARAM1-2 [0x0000]:Parameter query.
[Others]: Add PARAM1-2 to the current
parameter.
Absolute control:
Set the parameter to PARAM1-2.
Other command
Depends on CMD-GP, details are described in the list of
commands.

12 Sony Simple Camera Protocol
Rules
Request and Response
Requests and response correspond loosely.
There is no one to one mapping between requests and
responses: “No reply” means “I can’t process such a
command”.
Do not send anything if an error has occurred. Errors must be
handled the same as “No command”.
Responses from a Camera can be sent to your system
anytime without a request from your system. The status of
Camera can be changed by itself (Auto iris function, etc.),
changed by a camera operator’s hand manually or changed by
another control panel connected to the Camera. The Camera
sends status changes to all connected controllers.
Your system can ignore any responses not needed by your
system.
When to send
In the case of your system working as a controller for a
Camera, your system should send a parameter query that it
want to get.
Almost Sony Camera only send status when its status is
changed by receiving commands or its function (ex. automatic
iris control or etc.).
The status of your system can be updated by receiving status
responses from a connected Sony Camera by sending status
queries to that Camera (via CNA-1).
In another case, your system works as a Camera among CNS,
your system should send commands when its status is
changed (must behave like a Sony Camera). The commands
must be absolute commands in this case.
If Sony control panels receive no absolute command
responses from your system, they cannot update their status
and also cannot update the displays.
Therefore, the absolute command responses from your
system are necessarily for the control system.
Permission control (Panel Active control)
CNS supports operating multiple cameras by multiple control
panels. In case of using the Panel Assign Function, control
panels are assigned to Cameras by a CNS Master device,
such as MSU.
The assignment function allows duplicate assignment,
meaning one camera can be controlled by two or more control
panels. Control conflicts can occur in this case. Therefore,
permission control for the Camera is determined by the CNS
Master device, using Panel Active command.
If a network system with your system requires permission
control, your system should use Panel Active command and
your system’s Panel Active state should be controlled by the
CNS Master device because CNA-1 behaves in the same way
as the Sony Control Panel in RCP-mode.
In a single connection (CNA-1 configured Bridge mode of CNS
setting), the permission control is managed by CNA-1 itself.
Permission allows your system to send all available
commands. Without permission, your system can send only
Status Query commands (Control commands are rejected).
Permission control does not regulate receiving commands.
When your system receives permission using Panel Active
command, another control panel assigned to the same
Camera loses permission.
If your system does not want to affect the permission of
another control panel, your system can use Para command
instead of Panel Active command. Usage of Para command is
the same as Panel Active command. However, permission by
Para command does not allow controlling of Iris, Master Black
and sending Absolute Word command.
A configuration of CNA-1 “Panel Active Function Enable/
Disable” enables this permission control function. If Panel
Active Function is enabled, CNA-1 manages Panel Active
state and your system can use Panel Active/ Iris Active/ Para
commands. If the function is disabled, CNA-1 rejects these
commands.
Permission control is not necessarily in the network system.
Your system can ignore that and can send command if CNA-
1 configured “Panel Active Disable (default)”. However, if a
duplicate assignment is set to CNA-1 and another control
panel, conflict can occur between other control panels in the
no permission control state. Especially, Absolute type
commands will certainly conflict, and erratic Camera behavior
can occur. For this reason, pay close attention to Absolute
type commands
Panel active command examples:
Get current permission state
Send: “0b,90,01,00\n” => Receive: “0b,XX,01,81\n”
XX is ID of Master device. Value “81” means sender
(your system) has No permission
Send: “0b,90,01,00\n” => Receive: “0b,XX,01,82\n”
XX is ID of Master device. Value “82” means sender
(your system) has permission to control
Require the permission
Send: “0b,90,01,02\n” => Receive: “0b,XX,01,81\n” or
“0b,XX,01,82\n”
Release the permission
Send: “0b,90,01,01\n” => Receive: “0b,XX,01,81” or
“0b,XX,01,82\n”

13
Sony Simple Camera Protocol
Appendix
Example of State Machine diagram for your system
Command Process Watch Status Process
Waiting a command
from CNA-1
Your system startup
Command validation
Command filtering
NOP, put off
the command
Change your system
status
Command recieved
Established
Not established
Find a status
change
No status
changed
Connection refused
Connection refused
Status change
complete
Valid command
Operative
command
Send
complete
Status must be
sent to Camera/Panel
Send failed
(Connection refused)
Your system
power off
Status must not
be sent to Camera/
Panel
Unknown
command
Invalid
command
Return
to start
Start
Checking your system
status
Analyze changed
status
Send command to
CNA-1
Return
to start
Return
to start
Connecting to
CNA-1 (TCP)

14 Sony Simple Camera Protocol
Example of Startup Sequence (your system works as Controller)
CNA-1 Sony Camera
Yo ur system (works
as Control panel)
1: Startup ( ) 3: Startup ( )
14: change
camerastatus ( )
2: Startup ( )
4: [socket] listen (port: 7700)
Thisport number can be
set to any port other
than 7700 or 1-1023.
Send status query
command(s) your
system want to receive
17: refresh ( )
5: [socket] connect (port: 7700)
6: [socket] accept ( )
7: [SPP] start_session ( )
15: [SPP] reply_status ( )
8: [SPP] session_accept ( )
9: [socket] listen (port: XXXX)
10: [socket] connect (port: XXXX)
11: [socket] accept ( )
12: [SSCP] scan_camera_status ( )
13: [SPP] scan_camera_status ( )
16: [SSCP] reply_status ( )

15
Sony Simple Camera Protocol
Example of Startup Sequence (your system works as Camera)
CNA-1 Sony Control Panel
Yo ur system
(work as Camera)
1: Startup ( ) 3: Startup ( )2: Startup ( )
4: [socket] listen (port: XXXX)
7: [socket] listen (port: 7000)
14: change_camera_status ( )
5: [socket] connect (port: XXXX)
13: [SSCP] send_command ( )
16: [SPP] reply_camera_status ( )
17: Refresh_display ( )
15: [SSCP] reply_command ( )
6: [socket] accept ( )
8: [socket] connect (port: 7700)
9: [socket] accept ( )
10: [SPP] start_session ( )
11: [SPP] session_accept ( )
12: [SPP] scan_camera_status ( )
Thisport number can be
set to any port other
than 7700 or 1-1023.

16 Extended commands of Optional Software
Extended commands of
Optional Software
By installing optional software on CNA-1, you can use
extensional commands in addition to the standard commands
described in the list of commands. To purchase an optional
software, consult with qualified Sony personnel.
This chapter describes the extended functions and the
specifications of the commands of the optional software
HZC-MSCN1 and HZC-RACN1.
Multi camera control (HZC-MSCN1)
Abstract
CNA-1 supports Multiple Camera Control by an optional
software HZC-MSCN1 that enables “MSU-mode” of Emulation
mode. In MSU-mode, CNA-1 works as a Sony MSU in Camera
Network System to handle multiple control sessions between
CNA-1 and cameras.
A control session is provided by CNA-1 as single TCP/IP
session for your system. It is the same session control
procedure as RCP-mode.
Multiple camera control methods are provided as “Camera
Selection” and “Command Destination Control” by CNA-1 in
MSU-mode. Details are described in the next section.
Figure.1 Session abstract of multiple control
MSU-mode
To enable multiple camera control by CNA-1, CNA-1 has to be
configured to MSU-mode that configurable by web
configuration menu “CNS” -> “Gateway Configuration” ->
“Emulation Mode”.
Device number of CNA-1 is handled as MSU number in the
network. The device number has to be set to different number
from all MSUs in the network.
Camera selection
CNA-1 selects a control target camera from connected
cameras by receiving a “Camera Select” command from your
system.
“Camera Select” command switches the session between
CNA-1 and Camera/CCU.
Figure.2 Camera selection
Command destination control
In principle, CNA-1 controls an only one camera selected by
“Camera Select” command. If your system needs to control
two or more cameras simultaneously, “Address Selector”
command has to be added to a head of control command to
control the destination of the command.
A command with “Address Selector” is able to send to
unselected Camera/CCU, however, your system cannot
receive any responses from unselected Camera/CCU.
Figure.3 Command destination control (Address selection)
Using commands for multiple camera control
Camera Select command
Format:
Byte command
“[CMD-GP],[PARAM0],[PARAM1]\n”
CMD-GP: 0x60/0x61 (relative/absolute)
PARAM0: 0x02
PARAM1: Camera number 0x00 to 0x60 (decimal 0 to 96)
Relative control:
It means a status query.
A camera number which is currently selected is received
by this query.
PARAM1 is ignored and does not affect.
Absolute control:
Select a camera that has PARAM1 camera number.
CNA-1 Your system works
as controller
Camera/CCU (1)
Camera/CCU (2)
Camera/CCU (n) Sessions separated by IP address
Single SSCP session same as RCP-mode
Camera/CCU (1)
CNA-1 Your system works
as controller
Camera/CCU (n)
Camera/CCU (2)
[Not selected]
CNA-1 cannot communicate
[Selected]
Control path established
Camera/CCU (1)
CNA-1 Your system works
as controller
Camera/CCU (n)
Camera/CCU (2)
[Not selected]
[Selected]
Control path established
Your system can send command
to unselected Camera/CCU,
however no response from that

17
Extended commands of Optional Software
Usage:
Get a current selected camera number
Send:“60,02,00\n” -> Receive:“61,02,02\n”
(Your system is selecting a camera 2)
Select a camera number 12
“61,02,0c\n” -> Receive:“61,02,0c\n” (Selection
success. Your system is selecting a camera 12)
Timing and delay specification:
Sending commands after camera selection
Your system can send camera select command and
control commands simultaneously (into a same TCP
packet). The control commands will send to selected
Camera/CCU immediately.
Receiving commands after camera selection
Your system has to wait 50msec or more if your
system requires responses from Camera/CCU.
Session switching by “Camera Select” command
takes several tens of milliseconds to ready to setup
session between CNA-1 and Camera/CCU.
Address Selector command
Format:
Add an attribute to control a command destination.
“[CMD-GP],[PARAM0],[PARAM1],[COMMAND]\n”
CMD-GP: 0x6c
PARAM0: Destination device type
0x02 Camera (CHU + CCU)
PARAM1: Destination device number 0x00 to 0x60
(0 to 96 decimal)
COMMAND: Control command that your system needs to
send.
Usage:
Send:“6c,02,02,23,a9,00,00\n” (Clear Master black of
Camera 2)
-> Receive: No response
“6c,02,02” is an address selector command. This
means “Send command to Camera 2”
“23,a9,00,00” is normal control command
Send:“6c,02,02,23,a9,00,00\n6c,02,03,23,a9,00,00\n”
(Clear Master black of Camera 2 and Camera 3 at same
time)
-> Receive: No response
Processing commands with address selector arrived from
other device in the network
Your system can be received command with “Address
Selector” from other devices. If your system receives the
commands, your system should decompose that into
destination header (Address Selector command) and
control command.
Your system can process the received control commands
and also can discard the commands if your system does
not need to process.
Inter-packet interval limitation
This limitation described on SSCP document is applied
each session individually at multiple camera control.
The packet interval limitation can be ignored if you send
commands to different Camera/CCU.
Example:
Send: “6c,02,01,23,a9,00,00\n”
|
Send: “6c,02,02,23,a9,00,00\n”
|
Send: “6c,02,01,23,60,00,00\n”
|
Send: “6c,02,02,23,60,00,00\n”
Acceptable shorter
than 50 msec
Acceptable shorter
than 50 msec
Limited more
than 50 msec
Limited more
than 50 msec

18 Extended commands of Optional Software
RCP Assignment control (HZC-RACN1)
Overview
RCP assignment function is for managing the assignment between RCP and Camera on Sony Camera Network System (CNS).
You can get their assignment status and change them. This chapter explains how the SSCP commands work with RCP
assignment by showing some concrete examples.
Figure.1
Figure 1 shows the standard configuration of CNS. In this case, there are one MSU as a Master device, two Cameras/CCUs and
two RCPs on the CNS. By default, RCP is assigned to the same number of the Camera/CCU which is connected to the CNS.
Actually, Camera No. is depended on the CCU No. Following table shows the relationship between RCP and Camera.
”
In this assignment, RCP No.1 controls Camera No.1 and
receives the status from it. On the other hand, RCP No.2 and
Camera No.2 have same relationship.
Confirm assignment status
You can get the current assignment status by using following
SSCP command.
“6d,4e,02,fe,12\n”
“6d”: Command Group of RCP Assignment
“4e”: This means ’Request Available RCP
status list’
“02,fe,12”: Fixed value of this command
This command is to get the status list of available RCP which
is turned on and is connected to the CNS. Send this command
to CNA-1 and you will receive following command as a reply.
“6d,8e,0d,fe,12,02,00,01,fe,01,01,00,02,fe,02,01\n”
“6d”: Command Group of RCP Assignment
“8e”: This means reply of ’Request Available
RCP status list’
“0d”: Data length after this parameter
“fe,12”: Fixed value
“02”: Number of RCP status info. There are
two status info on this command
“00,01,fe,01,01”: Status info of RCP No.1
“00,02,fe,02,01”: Status info of RCP No.2
The RCP-01 status of “00,01,fe,01,01” can be interpret as
follows.
“00”: Fixed value
“01”: RCP No.
“fe”: Fixed value
“01”: Camera No. which is assigned to this
RCP
Camera No.1
Camera head MCS mode: Client
CCU No.1
Camera No.2
Camera head MCS mode: Client
CCU No.2
Your system
CNA-1
Network hub
RCP No.1
MCS mode: Client
RCP No.2
MCS mode: Client
MSU
MCS mode: Master
RCP Assignment
RCP No.1 Camera No.1
RCP No.2 Camera No.2

19
Extended commands of Optional Software
“01”: RCP Status which is represented by bit
info.
bit 1: 0 = Assignment is default, 1 =
Assignment has been changed
bit 0: 0 = not Available, 1 = Available
According to this info, you can see that RCP No.1 is assigned
to Camera No.1, it’s assignment is default value and it is
available on the CNS. The status of RCP No.2 can be parsed
as well.
Change RCP assignment
Now, we change the assignment of RCP No.2 to Camera
No.1. The result should be as follows.
”
The SSCP commands to do this is follows.
“6d,6d,09,fe,12,01,00,02,fe,01,00,00\n”
“6d”: Command Group of RCP Assignment
“6d” This means ’Request RCP assignment
change’
“09” Data length after this parameter
“fe,12”: Fixed value
“01”: Number of RCP info which you want to
change
“00”: Fixed value
“02”: RCP No.
“fe”: Fixed value
“01”: Camera No. to which you want assign
“00,00”: Fixed value
Send this command and you will receive RCP-02 status info
which was changed as a reply.
“6d,8d,08,fe,12,01,00,02,fe,01,03\n”
“6d”: Command Group of RCP Assignment
“8d”: Reply of ’Request RCP assignment
change’
“08”: Data length after this parameter
“fe,12”: Fixed value
“01”: Number of RCP status info. There are
one status info on this command
“00,02,fe,01,03”: Status info of RCP No.2
We already saw how to interpret the status of RCP on the
command in previous section.
In this case, RCP No.2 status of “00,02,fe,01,03” is showing
that it is assigned to Camera No.1, its assignment has been
changed and it is available on the CNS.
So far, we have seen how the SSCP commands work with
RCP assignment in some cases. For more information about
command’s specification, refer the explanation from next
chapter.
RCP Assignment control commands
To control RCP assignment, we provide command group
(CMD-GP) of 0x6d. Since RCP assignment is managed in
CNS Master device, you need one Master device in you CNS,
and the task of CMD-GP 0x6d is communication with Master
device.
Each command in this group is distinguished by PARAM0.
Following list shows all commands in CMD-GP 0x6d:
”
Commands in CMD-GP 0x6d can be classified in three types.
”
RCP Assignment
RCP-01 Camera-01
RCP-02 Camera -01
PARAM0 Task of Command
0x48 Request Camera number range info to CNS Master
device
0x88 Reply of Camera number range info from CNS Master
device
0x49 Request Camera status to CNS Master device
0x89 Reply of Camera status from CNS Master device
0x4a Request Available Camera status list to CNS Master
device
0x8a Reply of Available Camera status list from CNS Master
device
0x4b Request All Camera status list to CNS Master device
0x8b Reply of All Camera status list from CNS Master device
0x4c Request RCP number range info to CNS Master device
0x8c Reply of RCP number range info from CNS Master
device
0x4d Request RCP status to CNS Master device
0x8d Reply of RCP status from CNS Master device
0x6d Request RCP assignment status change to CNS Master
device
0x4e Request Available RCP status list to CNS Master device
0x8e Reply of Available RCP status list from CNS Master
device
0x4f Request All RCP status list to CNS Master device
0x8f Reply of All RCP status list from CNS Master device
0xad Request RCP assignment reset to CNS Master device
0xae Request All RCP assignment reset to CNS Master
device
Type PARAM0 Task
Request Reply
Commands
to get
Camera
status
information
0x48 0x88 Get Camera number range info
0x49 0x89 Get Camera status info
0x4a 0x8a Get Available Camera status info
list
0x4b 0x8b Get All Camera status info list
Commands
to get RCP
status
information
0x4c 0x8c Get RCP number range info
0x4d 0x8d Get RCP status info
0x4e 0x8e Get Available RCP status info list
0x4f 0x8f Get All RCP status info list
Commands
to change
RCP
assignment
status
0x6d – Change RCP assignment status
0xad – Reset RCP assignment status
0xae – Reset all RCP assignment status

20 Extended commands of Optional Software
Commands to get Camera status information
There are four kinds of commands to get Camera status
information from CNS Master device. Each kind has request
command and reply command.
Commands to get RCP status information
There are four kinds of commands to get RCP status
information from CNS Master device. Each kind has request
command and reply command.
Commands to change RCP assignment status
There are three kinds of commands to change RCP
assignment status. All kinds only have request command.
Reply for these commands is PARAM0: 0x8d which is same
as the reply of command “Get RCP status info”
Commands to get Camera status information
Get Camera number range info
”
Parameters:
CAM No. Min: Minimal value of Camera number,
“01”-“60” (1-96 in Decimal)
CAM No. Max: Maximal value of Camera number,
“01”-“60” (1-96 in Decimal)
Example:
Send: “6d,48,01,fe\n”
Receive: “6d,88,03,fe,01,0c\n”
Reply from Master is:
Available Cameras on the CNS has the number in range
from 1 to 12.
Get Camera status info
”
Parameters:
DLEN: Data length after “[DLEN]”
“fe”: Fixed value. No other value is permitted.
NUM: Number of parameters on this
command.
when Request, this means number of
“[CAM No.]”, range is “01”-“33”(1-51 in
Decimal)
when Reply, this means number of
“[CAM No.],00,[CAM Status]”
CAM No.: “01”-“60” (1-96 in Decimal)
“00”: Fixed value. No other value is permitted.
CAM status: “00” = not Available, “01” = Available
Camera is recognized as available
when it is turned on and is connected to
the CNS.
Example:
1. Request status of Camera No.1.
Send: “6d,49,03,fe,01,01\n”
Receive: “6d,89,05,fe,01,01,00,01\n”
Reply from Master is: Camera No.1 is available.
2. Request status of Camera No.1, Camera No.2 and Camera
No.4.
Send: “6d,49,05,fe,03,01,02,04\n”
Receive: “6d,89,0b,fe,03,01,00,01,02,00,00,04,00,01\n”
Reply from Master is:
Camera No.1 is available
Camera No.2 is not available
Camera No.4 is available
Get Available Camera status info list
”
Parameters:
DLEN: Data length after “[DLEN]”
“fe”: Fixed value. No other value is permitted.
NUM: Number of parameters on this
command.
when Reply, this means number of
“[CAM No.],00,[CAM Status]”
CAM No.: “01”-“60” (1-96 in Decimal)
“00”: Fixed value. No other value is permitted.
CAM status: “00” = not Available, “01” = Available
Camera is recognized as available
when it is turned on and is connected to
the CNS.
Example:
Send: “6d,4a,01,fe\n”
Receive: “6d,8a,08,fe,02,01,00,01,04,00,01\n”
Reply from Master is:
There are two cameras available on the CNS, the number
of which is 1 and 4.
Get All Camera status info list
”
Parameters:
DLEN: Data length after “[DLEN]”
“fe”: Fixed value. No other value is permitted.
NUM: Number of parameters on this
command.
when Reply, this means number of
“[CAM No],00,[CAM Status]”
CAM No.: “01”-“60” (1-96 in Decimal)
“00”: Fixed value. No other value is permitted.
CAM status: “00” = not Available, “01” = Available
Camera is recognized as available
when it is turned on and is connected to
the CNS.
Example:
Send: “6d,4b,01,fe\n”
Type Format
Request 6d,48,01,fe\n
Reply 6d,88,03,fe,[CAM No. Min],[CAM No. Max]\n
Type Format
Request 6d,49,[DLEN],fe,[NUM],[CAM No.]…\n
Reply 6d,89,[DLEN],fe,[NUM],([CAM No.],00,[CAM
Status])…\n
Type Format
Request 6d,4a,01,fe\n
Reply 6d,8a,[DLEN],fe,[NUM],([CAM No.],00,[CAM
Status])…\n
Type Format
Request 6d,4b,01,fe\n
Reply 6d,8b,[DLEN],fe,[NUM],([CAM No.],00,[CAM
Status])…\n
Other manuals for CNA-1
1
Table of contents
Other Sony Receiver manuals

Sony
Sony DWR-S02DN User manual

Sony
Sony STR-DE825 User manual

Sony
Sony DSS SAT-B1 User manual

Sony
Sony AVD-S10 User manual

Sony
Sony ICF-SW100E User manual

Sony
Sony STR-DA2400ES User manual

Sony
Sony STR-DH540 User manual

Sony
Sony DWR-R01D User manual

Sony
Sony HCD-DZ530 User manual

Sony
Sony HCD-DZ370 User manual

Sony
Sony STR-DG720 User manual

Sony
Sony STR-DE400 User manual

Sony
Sony STR-DA6400ES - Multi Channel Av Receiver User manual

Sony
Sony STR-V323 User manual

Sony
Sony HBD-DZ940K User manual

Sony
Sony RM-PJ20 User manual

Sony
Sony STR-ZA810ES User manual

Sony
Sony STR-DB900 User manual

Sony
Sony STR-DN840 User manual

Sony
Sony STR-DA3300ES - Multi Channel Av Receiver User manual