Ayre Acoustics RS-232 User Manual

Ayre DX-5 Universal A/V Engine
RS-232 Control Protocol -- May 2010
Note: The Ayre DX-5 Universal A/V Engine comes with AyreLink connectors for system communications. The advantage of AyreLink is that it utilizes opto-isolators to ensure that no ground loops are formed, and that any RFI generated by the CPU in the system controller is completely isolated from the audio and video systems.
To use an RS-232C controller link for wired system control, an external Ayre RS-232C-to­AyreLink adapter unit is required. The RS-232C port is configured as a DCE device using a female 9-pin D-Sub type connector.
The pin out of the DX-5 RS-232C-to-AyreLink adapter unit port is as follows:
Pin
Signal
This pin configuration allows a PC running a serial terminal program (such as HyperTerminal) to communicate with the player using a straight-through DB9 9-pin RS-232 serial cable. Do NOT use a “Null-Modem” type cable for PC connection. For connection to a system controller (eg, Crestron, AMX), please refer to the documentation that comes with the controller.
Communication Settings:
Baud Rate
9600
Command Structure:
Each command starts with a # sign (ASCII 0x23), followed by a 3-character command code. If there are any parameters for the command, the parameters are given in text format, separated by a space (ASCII 0x20) from the command code. The # character (ASCII 0x23) must never appear in the parameters. A carriage return (ASCII 0x0D) indicates the end of the command. Each command must not exceed 25 bytes including the start of command and end of command bytes.
The illustration of the command structure is as the followings:
2 3 5
TXD
Data Bits Parity Stop Bit Flow Control
8 None 1 None
RXD GND
<Command> = <Start of Command><Command Code>[<sp><Parameters>]
<End of Command>
where: <Start of Command> = # (ASCII 0x23) <Command Code> = <byte><byte><byte> (three ASCII characters) <sp> = space (ASCII 0x20) <Parameters> = command-specific (ASCII characters) <End of Command> = CR (ASCII 0x0D)
1
Response Structure:
Upon receiving a command, the player shall try to execute the command and send back a response. Two response formats are supported: the short response and the verbose response. The short response is used by default. If the verbose mode (See command reference for SVM) is set, the verbose response will be used instead.
The response starts with an “@” sign (ASCII 0x23), (followed by the original command code and a space (ASCII 0x20) if the verbose response is in use), and a result code, either “OK” or “ER”. If there are any parameters or additional messages, these are given in text format, separated by a space (ASCII 0x20) from the result code. The @ character (ASCII 0x40) must never appear in the parameters or message. A carriage return (ASCII 0x0D) indicates the end of response. Each response must not exceed 25 bytes, including the start of response and the end of response bytes.
The illustration of the response structure is as the followings:
<Short Response> = <Start of Response><Result Code>[<sp><Parameters>]
<End of Response>
<Verbose Response> = <Start of Response><Command Code><sp><Result Code>
[<sp><Parameters>]<End of Response>
where: <Start of Response> = @ (ASCII 0x40) <Command Code> = <byte><byte><byte> (three ASCII characters) <Result Code> = OK / ER (OK / Error) <sp> = space (ASCII 0x20) <Parameters> = command-specific (ASCII characters) <End of Response> = CR (ASCII 0x0D)
Status Update Messages Structure:
If the verbose mode is set to “2“ or “3“, the player will send status update messages automatically. These messages are not a response to any particular command. Any status change caused by commands from RS-232, front panel buttons, IR remote control, or playback progress may trigger status update messages.
The status update messages have the following structure:
<Update> = <Start of Update><Status Code>[<sp><Parameters>]<End of Update>
where: <Start of Update> = @ (ASCII 0x40) <Status Code> = <byte><byte><byte> (three ASCII characters) <sp> = space (ASCII 0x20) <Parameters> = status-specific (ASCII characters) <End of Response> = CR (ASCII 0x0D)
2
Command Sequence:
Commands are executed in the order received. The host should wait for a response from the player before sending the next command. If the player receives a new command before executing the previous command, the player may discard the previous command. If the host does not receive a response from the player 10 seconds after the command is issued, the host may consider the command lost during transmission, and can retransmit the command.
Command List:
A. Command that maps to a remote control button
These commands map directly to the infrared remote control buttons and are handled in the same way. No parameters are needed for these commands. For actions that require a multiple­key sequence, such as go to a certain chapter (GoTo command, numeric key commands, Enter command), the player responds to each command individually. When the last command is received the player shall respond with either OK or ER depending on the result of the action.
Command
Code
POW Power Toggle “Standby” and “On” OK ON
SRC Source Go to Home Menu OK EJT Open Open/close the disc tray OK OPEN
PON On Discrete on OK ON POF Off Discrete off OK OFF SYS P/N Switch output TV system OK NTSC
DIM Dimmer Dim front panel display OK ON
PUR Pure Audio Pure audio mode (no video) OK ON
MUT Mute Mute audio OK MUTE
NU1 1 Numeric key 1 OK NU2 2 Numeric key 2 OK NU3 3 Numeric key 3 OK NU4 4 Numeric key 4 OK NU5 5 Numeric key 5 OK NU6 6 Numeric key 6 OK NU7 7 Numeric key 7 OK NU8 8 Numeric key 8 OK NU9 9 Numeric key 9 OK NU0 0 Numeric key 0 OK CLR Clear Clear numeric input OK
Remote Key Function Response Example
OK OFF
OK CLOSE
OK PAL OK AUTO
OK DIM OK OFF
OK OFF
OK UNMUTE
3
GOT Go To Play from a specified location OK HOM Home Go to Home Menu OK PUP Page Up Show previous page OK PDN Page Down Show next page OK OSD Display Show/hide on-screen display OK TTL Top Menu Show BD top or DVD title menu OK MNU PopUp Menu Show BD pop-up or DVD menu OK NUP Up Arrow Navigation OK NLT Left Arrow Navigation OK NRT Right Arrow Navigation OK NDN Down Arrow Navigation OK SEL Enter Navigation OK SET Setup Enter the player setup menu OK RET Return Return to previous menu/mode OK RED Red Function varies by content OK GRN Green Function varies by content OK BLU Blue Function varies by content OK YLW Yellow Function varies by content OK STP Stop Stop playback OK PLA Play Start playback OK PAU Pause Pause playback OK PRE Prev Skip to previous OK REV Rev Fast reverse play OK 1X FWD Fwd Fast forward play OK 1X NXT Next Skip to next OK AUD Audio Change audio soundtrack OK SUB Subtitle Change subtitle language OK ANG Angle Change camera angle OK a/b (current angle/total angles) ZOM Zoom Adjust zoom and aspect ratio OK (zoom ratio) SAP SAP Secondary Audio Program OK (audio track information)
OK OFF
ATB AB Replay Repeat the selected section OK A-
OK A-B OK OFF
RPT Repeat Repeat play OK Repeat Chapter
OK Repeat Title OK OFF
PIP PIP Show/hide Picture-in-Picture OK (PIP program info)
OK OFF HDM Resolution Switch output resolution OK SUH Subtitle (hold) Activate subtitle shift feature OK NOP No operation OK
4
Loading...
+ 9 hidden pages