Sony RS-232C Manual Do Utilizador

Página de 35
1.Introduction
     This specification describes the RS232C communication protocol between an
    Amplifier and a Host Controller.
2.  Outline
    From the system controller, a command is transmitted to the Amplifier from the
    Host Controller, and the Amplifier / Receiver. A received command changes an 
    internal state according to the contents of the message, or answers the Host
    Controllers requested Status.      
3.  Communication format
    It is Based on RS-232C format.
          Baud Rate   : 9600bps
          Data Bits      : 8bit
          Parity           : No
          Stop Bits      : 1
4.  Regulation on communication
        -Amplifier must return a message of less than 500m sec on
          reception of a command from Host Controller.
        -Host Controller must not transmit the following command, before 
          receiving the reply from the Amplifier to a transmitting command.
        -Host Controller must not open 10 or more m seconds of sending-out 
          intervals of each byte in a transmitting message.
        -As long as there is no request from Host Controller, even if 
          Amplifier changes internal status etc., it must not transmit 
          a message to Host Controller.
5.  Data Format (Host Controller <-> Amplifier)
    STX + BC + PDC + CMD  +  Data1 + ----- + DataN + CS
  The terminological definition is as follows.
    STX  02 H   :  Start of text code
    BC      :  Byte Count
                       (Number of bytes of until before CS from PDC.)
    PDC      :  Product Code
    CMD     :  Command (Opecode)
    DataN    :  Data Block ( 0 < M + FAH )
    CS      :  Check Sum
             A value from which 8 bits of low ranks of the sum
                       from BC to CS are set to 0.