Home > Sony > Adapter > Sony Cna-1 Manual

Sony Cna-1 Manual

    Download as PDF Print this page Share this page

    Have a look at the manual Sony Cna-1 Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 980 Sony manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    							CAMERA CONTROL NETWORK ADAPTOR
    CNA-1
    TECHNICAL MANUAL[English]
    1st Edition 
    						
    							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
    List of available commands .................................... 16 
    						
    							3Overview
    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-1Translates
    SSCP y SPP Control command 
    (SSCP)Sony Proprietary 
    Protocol (SPP)
    Your system
    (Behaves as Camera)Sony Control 
    Panel
    CNA-1
    Translates
    SSCP y SPP 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 ModeBridge
    Master Mode Disable
    Master IP Address
    Variable
    Target IP AddressCCU’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 
    						
    							5CNA-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 MSUs Operation Manual.
    CNS Configuration CNS ModeMCS
    Master Mode Disable
    Master IP Address
    Master MSU’s IP address
    Target IP AddressVariable
    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 headRCP (1)
    MCS mode: Client
    RCP No. (1)
    MSU
    MCS mode: MasterRCP (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 ModeBridge
    Master Mode Disable
    Master IP Address
    Variable
    Target IP AddressVariable
    Device No. Variable
    Gateway Configuration Gateway Mode Enable
    Emulation Mode
    CAM
    CNS Configuration CNS ModeBridge
    Bridge Mode: Connection mode Semi-Auto
    Bridge Mode: Target CNA-1’s IP address
    CNA-1 Your system work as 
    camera
    Network hubRCP
    Bridge mode 
    						
    							7CNA-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-1s 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 ModeMCS
    Master Mode Disable
    Master IP Address
    Master MSU’s IP address
    Target IP AddressVariable
    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 cameraNetwork hub CCU (1)
    MCS mode: Client
    CCU No. (1) Camera head
    CCU (2)
    MCS mode: Client
    CCU No. (2) Camera headRCP (1)
    MCS mode: Client
    RCP No. (1)
    MSU
    MCS mode: MasterRCP (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-1s 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-1s 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-1s 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. 
    						
    							9Sony 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: “
    ”, “
    ”
    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, “
    ”, “
    ” and “
    
    ” are 
    available.
    Example: (Set Master Black to 0):
    “23,a9,00,00
    ”
    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
    ”.
    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
    23,02,00,00\n23,03,00,00
    ” 
    Important limitation
    Maximum command length: 160 byte (characters) / packet
    If CNA-1 cannot find the terminator (New line) after it 
    receives 160 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 “
    ” as terminator even if it receives “
    ” 
    and “
    
    ”.
    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). 
    						
    							10Sony 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
    ” (Reply 
    current status from Camera)
    Increase Gain
    Send: “21,01,80\n” => Receive: “21,01,03
    ” (in case of 
    current parameter being 02)
    Reduce Gain
    Send: “21,01,40\n” => Receive: “21,01,01
    ” (in case of 
    current parameter being 02)
    Set Gain value directory
    Send: “21,01,01\n” => Receive: “21,01,01
    ” 
    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
    ”  “31” is 
    handled as bits-array: “00110001” means:
     Knee Saturation  (Bit7) = OFF
     Auto Knee  (Bit6) = OFF
     Knee (Bit5) = ON
    
    
     S-EVS (Bit2) = 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  
     (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
    ”
    Current value is “01,40” = 0x0140 (16bits Hex)
    Add/Subtraction control
    Send: “22,01,00,01\n” => Receive: “23,01,01,41
    ” (Add 
    +0001)
    Send: “22,01,ff,ff
    ” => Receive: “23,01,01,3f
    ” 
    (Subtraction -0001)
    Set value directory
    Send: “23,01,00,01\n” => Receive: “23,01,00,01
    ” 
    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]
    ”
    Example: “23,a9,00,00
    ”
    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) 
    						
    All Sony manuals Comments (0)