RX-Vx700 RS-232C Protocol
1. Outline
This protocol refers to the RX-V1700 and RX-V2700 models.
1.1 Connection
A 5-wire system is used for connection.
RX-Vx700 RS-232C Pinout:
RX-Vx700 Pin | Signal | Connection to Host |
PIN 2 | RxD | TxD |
PIN 3 | TxD | RxD |
PIN 5 | GND | GND |
PIN 7 | RTS | CTS |
PIN 8 | CTS | RTS |
Note: When not connected, data transmission to RX-Vx700 is prohibited (CTS port pull down).
1.2 RS-232C Settings
- Full duplex, start-stop synchronization communication
- Baud rate: 9600bps
- Data bits: 8
- Parity: No
- Stop bit: 1bit
- Handshaking: Hardware
Note: The RX-Vx700 RTS port outputs at low level when the AC plug is disconnected. If RTS output stays low even when the AC plug is connected, a problem may occur.
1.3 Data block timeout
It takes the RX-Vx700 a maximum of 500msec to send one data block. If a complete data block is not received within 500msec, the transaction is canceled. A problem may occur.
2. Start Commands
2.1 Starting Communication
The 'Ready' command is the first command sent to the RX-Vx700 at the start of communication. Setting TOUTO-2 in the Ready Command sets the communication timeout.
The RX-Vx700 sends a Configuration command (Model ID, software version, and setting data) to the host in reply to the Ready command.
The RX-Vx700 will send a Configuration command within 1 sec. after receiving a Ready command from the host. If not, send a Ready Command again (max 5 times). If the RX-Vx700 won't send a Configuration command after the fifth retry, cancel the transaction because there may be a problem.
Command Structure:
READY
CONFIG
Command Details:
Parameter | Description |
STX | Start of Text |
SW | Command Switch (0: Remote Control, 1: Command, 2: System Command, 3: Packet Data) |
CMDT0-3 | Command Bytes |
ETX | End of Text |
*TYPx: Model ID (R0210 for RX-V1700, R0212 for RX-V2700)
*VER: Software Version
*SUM: The sum of all data except for the header and footer.
*timeout: Time between header and footer (0 means no timeout).
Data Structure of Configuration Command
When the power is OFF, only DT0-DT9 are sent to the Host.
DT# | Data | Report | Description |
DT0 | Fixed Baud Rate | Don't care ('@') | |
DT1 | Fixed Receive Buffer | Don't care ('E') | |
DT2 | Fixed Receive Buffer | Don't care ('0') | |
DT3 | Fixed Command Timeout | Don't care ('1') | |
DT4 | Fixed Command Timeout | Don't care ('9') | |
DT5 | Fixed Command Timeout | Don't care ('0') | |
DT6 | Fixed Handshaking | Don't care ('0') | |
DT7 | 00 | System | 0: OK / 1: Busy / 2: Standby |
DT8 | 20 | Power | Main Room / Zone2 / Zone3 Power Status (All off, All on, Main on...) |
DT9 | 0-7 | Input | Upper 4 bit |
DT10 | 0-F | Input | Lower 4 bit |
DT11 | 22 | Audio Select | 0: Auto / 3: COAX/OPT / 4: Analog / 8: HDMI |
DT12 | 23 | Audio Mute | 0: Off / 1: On |
DT13 | 24 | Zone2 Input | 0: PHONO / 1: CD / 2: TUNER / 3: CD-R / 4: MD/TAPE / 5: DVD / 6: DTV / 7: CBL/SAT / 9: VCR1 / A: DVR/VCR2 / C: V-AUX / D: NET/USB* / E:XM** (*Only RX-V2700 **Only USA & Canada) |
DT14 | 25 | Zone2 Mute | 0: Off / 1: On |
DT15 | 26 | Master Volume | Upper 4 bit |
DT16 | Master Volume | Lower 4 bit | |
DT17 | 27 | Zone2 Volume | Upper 4 bit |
DT18 | Zone2 Volume | Lower 4 bit | |
DT19 | 28 | Program | Upper 4 bit |
DT20 | Program | Lower 4 bit | |
DT21 | 28 | Extended Surround | 0-6 |
DT22 | 2B | Short Message | 1: On/2: Off |
DT23 | 2C | Sleep | 0: 120 / 1: 90 / 2: 60 / 3: 30 / 4: OFF |
DT24 | 29 | Tuner Preset Page | 0: Page A / 1: Page B / 2: Page C / 3: Page D / 4: Page E (Only USA & Canada) |
DT25 | 2A | Tuner Preset Number | 0: No.1 / 1: No.2 / 2: No.3 / 3: No.4 / 4: No.5 / 5: No.6 / 6: No.7 / 7: No.8 |
DT26 | |||
DT27 | 8B | Night Mode | Upper 4 bit: 0: OFF / 1: Cinema / 2: Music; Lower 4 bit: 0:Low / 1:Mid / 2:High |
DT28 | Night Mode Parameter | ||
DT29 | 0/1 | Speaker Relay A | 0 Off/1 On |
DT30 | 0/1 | Speaker Relay B | 0 Off/1 On |
DT31 | 10 | Format | Upper 4 bit |
DT32 | Format | Lower 4 bit | |
DT33 | 11 | Sampling | Upper 4 bit |
DT34 | Sampling | Lower 4 bit | |
DT35 | 12 | Channel Front/Rear | 0:1+1 / 1: 1/0 / 2: 2/0 / 3: 3/0 / 4: 2/1 / 5: 3/1 / 6: 2/2 / 7: 3/2 / 8: 2/3 / 9: 3/3 / A: 2/4 / B: 3/4 / C: MLT / F: -- |
DT36 | 34 | Head Phone | 0: Off / 1: On |
DT37 | 35 | Tuner Band | 0: FM / 1: AM |
DT38 | 13 | Channel LFE | 0: 0.1 / F: --- |
DT39 | 36 | Trigger1 Output | 0: Low / 1: High |
DT40 | 5E | Decoder Mode | 0: Auto / 1: DTS / 2: AAC* (*Only Japanese Model) |
DT41 | 39 | Dual Mono | 0: Main / 1: Sub / 2: All (Only Japanese Model) |
DT42 | 3A | Trigger1 Control | 0: All (Zone1-3) / 1: Main / 2: Zone2 / 3: Zone3 |
DT43 | |||
DT44 | 3B | Trigger2 Control | 0: All (Zone1-3) / 1: Main / 2: Zone2 / 3: Zone3 |
DT45 | 3C | Trigger2 Output | 0: Low / 1: High |
DT46 | |||
DT47 | 3E | Zone 2 Amplifier | 0: EXT / 1: INT: Speaker [1] / 2: INT: Speaker[2] / 3: INT Both |
DT48 | 40 | Level Front R | Upper 4 bit |
DT49 | Level Front R | Lower 4 bit | |
DT50 | 41 | Level Front L | Upper 4 bit |
DT51 | Level Front L | Lower 4 bit | |
DT52 | 42 | Level Center | Upper 4 bit |
DT53 | Level Center | Lower 4 bit | |
DT54 | 43 | Level Surround R | Upper 4 bit |
DT55 | Level Surround R | Lower 4 bit | |
DT56 | 44 | Level Surround L | Upper 4 bit |
DT57 | Level Surround L | Lower 4 bit | |
DT58 | 45 | Level Surround Back R | Upper 4 bit |
DT59 | Level Surround Back R | Lower 4 bit | |
DT60 | 46 | Level Surround Back L | Upper 4 bit |
DT61 | Level Surround Back L | Lower 4 bit |
3. Control Commands
The RX-Vx700 can receive control commands only when the power is on (except Power commands and System commands). Do not send any control commands when the system status is Wait. No commands are permitted until the RX-Vx700 reports OK.
The RX-Vx700 will send a Report Command within 1 sec. of receiving the Control Command. If no Report Command is received, resend the control command (max 5 times). If the RX-Vx700 doesn't send a Report Command after the fifth retry, cancel the transaction because there may be a problem.
Command Switch (SW):
- SW=0: Operation Command (Remote Control)
- SW=1: Command (Not in use)
- SW=2: System command
- SW=3: Packet data
Command Format:
STX SW CMDTO CMDT1 CMDT2 CMDT3 ETX
Extended Operation Command Format:
STX SW CMDTO CMDT1 CMDT2 CMDT3 CMDT4 CMDT5 CMDT6 CMDT7 CMDT8 ETX
3.1 System Commands (SW = '2')
System Commands can be made by setting the 'SW' byte in the Control Command to '2'. With System commands, you can control the RX-Vx700's system settings (Report Command Enable/Disable, Report Command delay, etc.).
With a System Command, you can also:
- Set absolute master volume value.
- Send text strings to the On Screen Display (OSD).
- Request RX-Vx700 text data regarding tuner frequency, master volume, input name, zone 2 input name.
3.2 Operation Commands (SW = '0', CMDT0 = '7')
This section details the 4-byte remote commands.
3.3 Extended Operation Command (SW = '0', CMDT0 = 'F')
This section details the 9-byte remote commands.
4. Reset Command
The Reset Command recalls factory preset data. Once the factory presets are recalled, all user-controllable settings/parameter data will be deleted and replaced with original factory settings.
Do not use this command unless you have been experiencing problems with the system or if you just want to clean up the system.
RX-Vx700 Reset Host
After the system is reset, request the Configuration Command using the Ready Command (see section 2) in order to get accurate feedback of RX-Vx700 status to your touch panel system.
Ready DC3 DEL DEL DEL ETX *recall factory preset of all data
5. Report Command
The RX-Vx700 will send a Report Command in response to Control Commands from the host controller. From the Report Command, you can receive the current status of the RX-Vx700.
There are three types of Report Commands classified by their information type:
- System Status Report: RX-Vx700 reports a System Status Report when the system status has changed.
- Playback Status Report: RX-Vx700 reports a Playback Status Report when the internal playback status has changed.
- Operation Report: When the RX-Vx700 is controlled by remote controller, front panel, RS-232C or system controller, the RX-Vx700 sends an Operation Report, which includes the latest setting status of the controlled function.
Note: The RX-Vx700 reports a System State Report with system guard to inform its power status (power off) if it receives a control command while it is turned off.
Note: The guard status is included in the Report Command (GRD). If the control command the host sent was accepted, the guard status in the Report Command is '0' (No Guard). On the contrary, the guard status will be 'System Guard' or 'Setting Guard' if the command was guarded for some reason (e.g., if you send a 'Speaker A ON' command while using headphones, the guard status will be 'System Guard' because speaker controls are prohibited when headphones are being used).
Note: If a status changes multiple times in a certain time, the RX-Vx700 reports only one report command.
5.1 System Status Reports
These reports indicate the system's current status.
5.2 Playback Status Reports
These reports indicate the playback status of various media.
5.3 Operation Reports
These reports provide information on the current operation status of different functions.
5.4 Display Text Data Report
This section describes how to retrieve display text data from the RX-Vx700.
Example of RX-Vx700 Control Procedure
[1] Connection Start procedure (AC Plug / RS-232C cable connection):
When the AC plug / RS-232C cable are not connected, the RX-Vx700 cannot send any data to the host. If the host doesn't receive a configuration command after sending a Ready command 5 times, the host should disable RS-232C communication and send an alert to the GUI.
[2] AC plug / RS-232C connection check sequence after connection confirmation:
If the host doesn't receive a Report Command within 500ms of sending a command, the host should resend the command. If no Report Command is received after sending 5 times, check the AC plug/RS-232 cable.
When the RS-232C cable is disconnected, commands generated inside the RX-Vx700 are stored in the sending buffer. If the stored commands exceed the buffer memory size (buffer overflow), the RX-Vx700 stops reporting any commands. Reconnecting the AC plug or performing the Connection Start procedure [1] will be needed to enable command reporting.
[3] AC plug connection detection (after [1],[2]):
When the AC connection is reset, the RX-Vx700 sends a Configuration Command to the host. The host can display the status of the RX-Vx700 to its GUI.
[4] Getting the status of the RX-Vx700 when the host boots up:
At first, the host should send a Ready command and receive the Configuration Command from the RX-Vx700. Once the connection is confirmed, the host can send Control Commands to the RX-Vx700. When the RX-Vx700 is turned off, it accepts only System Commands and Power ON command.
[5] Error transactions after [4]:
While sending a control command, if the RX-Vx700 doesn't send any corresponding Report Commands regardless of re-trying for 5 times, the host should clear its send buffer and then check the AC plug / RS-232C connection sequence. When the RX-Vx700 responds, the host can display the RX-Vx700 status to its GUI then return to the normal communication sequence. If not, the host should cancel the communication and report the alert to its GUI.
Appendix
ASCII Chart
This chart provides ASCII values for communication.