Sony SRP-X500P manual Handshake Codes, Communication Packet Format

Page 5

SRP-X500P RS-232C Interface Manual

1.7 Handshake Codes

ACK : 0x41 ( ‘A’ )

When the SRP-X500P has received a command from an external computer and has processed it successfully, it returns an ACK to the computer as notification that the command has been executed. There are cases when other data are added to and returned with the ACK, depending on the command.

See “2. Command Reference” (page 6) for details.

NAK : 0x4E ( ‘N’ )

When the SRP-X500P fails to process a command sent by an external computer, it returns a NAK to the computer.

DELIMITER : 0x0D ( ‘CR’ )

The SRP-X500P adds a delimiter code (equivalent to the ASCII carriage return) as the last byte of all commands.

1.8 Communication Packet Format

Communication packets are variable in data length.

A communication packet consists of command, parameter and delimiter, as shown below.

Command example:

When “C” is selected in AV/RGB INPUT ( ‘C S E L 3 CR’ )

0x43, 0x53, 0x45, 0x4C,

0x33,

0x0D

Command

 

Parameter

Delimiter

Command

: The command always comprises the first four bytes.

Parameter

: The length and function of the parameter varies according to the command. See “2. Command

 

 

Reference” (page 6) for details.

Delimiter

: The SRP-X500P always adds the delimiter code 0x0D (equivalent to the ASCII carriage return)

 

 

as the last byte of all commands.

Example of ACK

When the SRP-X500P returns the status of the AV/RGB INPUT SELECT ( response to ‘R S E L CR’)

0x41,

0x33,

 

0x0D

ACK

Parameter

Delimiter

Parameter

: The length and function of the parameter varies according to the command. See “2. Command

 

 

 

Reference” (page6) for details.

Delimiter

 

: The SRP-X500P always adds the delimiter code 0x0D (equivalent to the ASCII carriage return)

 

 

 

as the last byte of all commands.

Example of NAK

0x4E, 0x0D NAK Delimiter

Delimiter

: The SRP-X500P always adds the delimiter code 0x0D (equivalent to the ASCII carriage return)

 

as the last byte of all commands.

Page 5/43

Image 5
Contents SRP-X500P Table of Contents 3 4 Connecting the SRP-X500P to a ComputerAbout This Manual Communication Protocol RS-232C indicatorCommunication Format Communication Packet Format Handshake Codes1 AV/RGB Input Select 0x43 0x53 0x45 0x4C ‘CSEL’ Basic Control CommandsReturn packet format Input Fader 0x43 0x50 0x4D 0x35 ‘CPM5’Fader 1st-6th byte Input Fader Request 0x52 0x50 0x4D 0x35 ‘RPM5’Fader 1st-8th byte Output Fader 0x43 0x50 0x4D 0x40 ‘CPM@’Output Fader Request 0x52 0x50 0x4D 0x40 ‘RPM@’ Remote Remote 1-6 Level 0x43 0x4C 0x56 0x4C ‘CLVL’Channel 1st byte Level 2nd byte Remote 1-6 Level 2nd-7th byte Master Volume UP 0x43 0x4C 0x56 0x2B ‘CLV+’Master Volume Level 1st byte Master Volume Stop 0x43 0x4C 0x56 0x53 ‘CLVS’ Master Volume Down 0x43 0x4C 0x56 0x2D ‘CLV-’Muting 2nd byte Muting 0x43 0x4D 0x55 0x54 ‘CMUT’Speaker Output Muting 2nd byte Muting Parameter Request 0x52 0x4D 0x55 0x54 ‘RMUT’Input Muting 1st byte Master Muting 4th byte Line Output Muting 3rd byteRemote Muting 5th byte MasterProjector Control Request 1st byte Projector ON/STANDBY 0x43 0x50 0x4A 0x50 ‘CPJP’Scene Recall 0x43 0x52 0x43 0x4C ‘CRCL’ Projector ON/STANDBY Indicator 1st byteScene Recall Request 1st byte Scene Recall RequestScene No st byte Scene Recall Parameter Request 0x52 0x52 0x43 0x4C ‘RRCL’Index Status Acquisition CommandsIndex Request 0x52 0x50 0x4D 0x44 ‘RPMD’ Level Meter Parameter Request 0x52 0x4D 0x54 0x52 ‘RMTR’ Level Meter 1st-16th byte To acquire status of single item To acquire the status of all items Parameters Remote 1-6 Level 10th-15th byte Input Volume 3rd-8th byteMaster Volume Level 9th byte Input Muting 30th byte Input Level 16th-21st byteOutput Level 22nd-29th byte Speaker Output Muting Output Muting 31st and 32nd byteLine Output Muting Master Muting 33rd byteWL Indicator 37th byte RF/AF Indicator 36th byte+48V Switch 38th byte MIC 1-4 Trim 39th-42nd byteAV/RGB Trim 44th-48th byte REF Indicator 49th byteLine Trim 43rd byte FR 50th-53rd byte FR Setup Status 54th and 55th byteSetup Channel AV/RGB Input Select 56th byte Setup StatusSpeaker Output Level 57th, 58th byte Speaker Output CH1/2 LevelClip Indicator 77th byte IR Output Mode Indicator 59th byteLevel Meter 60th-75th byte Protection 76th byteTemperature Temperature 78th and 79th byteProjector ON/STANDBY Indicator 80th byte EMG Muting 83rd byteParallel Input 85th-94th byte Scene No th byteLevel Parallel Output 95th and 96th byteOutput Master Volume Control 98th byteFAN Motor 97th byte OUT6 OUT5 OUT4 OUT3 OUT2AGC Gain Control Gain Reduction 99th-108th byteCompressor Gain Reduction Information SETUPDATE2005/01/23 Maintenance Information CommandsInformation Request 0x52 0x50 0x4D 0x45 ‘RPME’ InformationMaintenance Information Read Write Maintenance Information Read WriteMaintenance Information Read only Maintenance Information Read onlyVersion Version Request 0x52 0x56 0x45 0x52 ‘RVER’Version Factory Preset 0x43 0x52 0x53 0x54 ‘CRST’
Related manuals
Manual 6 pages 29.24 Kb