Halcro RS232 Specification

Page 1
HALCRO
Halcro RS232 Document 1/1
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
Version 0.92
Applies for sw-version G6_6.58 and above
Change history
Ver Change date/prepared by Remarks
0.92 26.05.2004 / ROK Removed obsolete codes, added new test commands
Page 2
HALCRO
Halcro RS232 Document 2/2
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
CONTENTS
Technical Specification of the SSP RS232 Port 3
Input commands 4
Single Byte User Commands 4 Multi Byte User Commands 6 Special Commands 7 Output data 9
Page 3
HALCRO
Halcro RS232 Document 3/3
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
This document describes the Halcro RS232 protocol for normal end-user operations and some test specific features.
Send questions and comments to paddy.oshea@halcro.com
Technical Specification of the Halcro RS232 Port
· 9600bps
· 8 data bits, one stop bit, no parity
· binary transmission, no flow control
NOTE!
Not necessarily all commands and sub-commands work with all software releases. Users of the older software releases should consult older revisions of the manual. New commands are added continuously to this document as they are added to the software.
Page 4
HALCRO
Halcro RS232 Document 4/4
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
Input commands
Single Byte User Commands
The following commands are all single bytes sent to the RS-232 port. They create various output data depending on the system status, so a comprehensive output data feedback cannot be given. The reception of these commands must be first activated by sending RS_ENABLE_CONTROL command before each command. See Special Commands section below.
For further information of the commands, refer to SSP Manual section User Interface Commands.
1 UI_COMPRESSION_ON 37 REMOTE_CONTROL_PLUS 2 UI_COMPRESSION_OFF 38 REMOTE_CONTROL_MINUS 3 UI_TAPEMON_OFF 39 UI_ZONE_STANDBY 4 UI_TAPEMON_STICKY_ON 40 UI_ZONE_WAKEUP 5 UI_TAPEMON_NONSTICKY_ON 41 UI_STANDBY_TOGGLE 6 UI_MONO 42 UI_MUTE 7 UI_STEREO 43 UI_SOURCEPLUS 8 UI_PROLOGIC 44 UI_SOURCEMINUS 9 UI_MUSIC1 45 UI_MODEMINUS 10 UI_MUSIC2 46 UI_MODEPLUS 11 UI_MUSIC3 47 UI_COMPRESSION_TOGGLE 12 UI_MUSIC4 48 UI_AUDIO_IN1 13 REMOTE_VOLUME_PLUS 49 UI_AUDIO_IN2 14 REMOTE_VOLUME_MINUS 50 UI_AUDIO_IN3 15 51 UI_AUDIO_IN4 16 52 UI_AUDIO_IN5 17 FRONTPANEL_VOLUME_PLUS 53 UI_AUDIO_IN6 18 FRONTPANEL_VOLUME_MINUS 54 UI_AUDIO_IN7 19 55 UI_AUDIO_IN8 20 56 FRONTPANEL_CONTROL_PLUS 21 57 FRONTPANEL_CONTROL_MINUS 22 58 UI_NOISE 23 59 24 60 25 61 UI_TAPEMON_STICKY_TOGGLE 26 62 UI_THX 27 63 28 64 29 65 30 66 UI_TAPEMON_NONSTICKY_TOGGLE 31 67 UI_MUTE_ON 32 UI_BASS_PLUS 68 UI_MUTE_OFF 33 UI_BASS_MINUS 69 UI_STANDBY 34 UI_TREBLE_PLUS 70 UI_WAKEUP 35 UI_TREBLE_MINUS 71 UI_NORMAL 36 UI_AUDIO_IN9 72
Page 5
HALCRO
Halcro RS232 Document 5/5
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
UI_AUDIO_IN10 73 UI_OSD_STATUS 122 UI_ZONE_IN1 74 UI_SYSTEM_SELECT 123 UI_ZONE_IN2 75 UI_PRESET1 124 UI_ZONE_IN3 76 UI_PRESET2 125 UI_ZONE_IN4 77 UI_PRESET3 126 UI_ZONE_IN5 78 UI_PRESET4 127 UI_ZONE_IN6 79 UI_PRESET5 128 80 UI_CENTER_PLUS 129 81 UI_CENTER_MINUS 130 82 UI_SURROUND_PLUS 131 83 UI_SURROUND_MINUS 132 84 UI_BASS_MIX_TOGGLE 133 85 134 86 135 87 UI_AUDIO_IN_EXT71_TOGGLE 136 88 UI_VIDEO_DISPLAY_MODE 137 89 UI_EXTERNAL_BRIGHTNESS 138 90 UI_ZONE_VOLUME_PLUS 139 91 UI_ZONE_VOLUME_MINUS 140 92 UI_ZONE_SOURCE_PLUS 141 93 142 94 143 95 UI_INPUT_SEARCH 144 96 UI_FRONT_PANEL_LOCK_TOGGLE 145 UI_SUBWOOFER_PLUS 97 UI_TRIM_MODE_PLUS 146 UI_SUBWOOFER_MINUS 98 UI_TRIM_MODE_MINUS 147 99 UI_SYSTEM_OFF_TOGGLE 148 UI_AUDIO_IN_EXT71 100 149 UI_TRIM_PLUS 101 150 UI_TRIM_MINUS 102 151 UI_OSD_SETUP 103 152 UI_CURSOR_UP 104 UI_VIDEO_DISPLAY_ZONE 153 UI_CURSOR_DOWN 105 UI_MAIN_VOLUME_PLUS 154 UI_CURSOR_LEFT 106 UI_MAIN_VOLUME_MINUS 155 UI_CURSOR_RIGHT 107 UI_BASS_MIX_ON 156 UI_CURSOR_ENTER 108 UI_BASS_MIX_OFF 157 UI_ESCAPE 109 UI_ZONE_MUTE_ON 158 UI_ZONE_IN7 110 UI_ZONE_MUTE_OFF 159 UI_ZONE_IN8 111 UI_PROLOGIC2_MOVIE 160 UI_ZONE_IN9 112 UI_PROLOGIC2_MUSIC 161 UI_ZONE_IN10 113 UI_DTSES_NEO6 162 UI_OSD_SETUP_STEP 114 UI_DTSES_MATRIX61 163 UI_TONE_CTRL 115 UI_DIRECT 164 UI_AUDIO_SOURCE_CTRL 116 UI_ZONE_MUTE_TOGGLE 165 UI_VIDEO_SOURCE_CTRL 117 UI_REMOTE_MULTIROOM_CONTROL 166 UI_MULTIROOM_CTRL 118 UI_DTSES_NEO6_MUSIC 167 UI_MODE_CTRL 119 UI_DOLBY_EX 168 UI_SOURCE_CTRL 120 UI_STEREO96 169 UI_BRIGHTNESS 121 170
Page 6
HALCRO
Halcro RS232 Document 6/6
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
Multi Byte User Commands
The following commands need two or more bytes: <command> <data1> [<data2>] … The reception of these commands must be first activated by sending RS_ENABLE_CONTROL command before each command! See Special Commands section below.
Command Data Description
1 180 Sets main zone volume UI_SET_VOLUME
2 10…100 main zone volume: 10 = -90dB, 100 = 0dB
1 181 Selects component video input UI_SET_COMP_VIDEO
2 0…3 component video input: 0 = Off, 1 = Component1,
etc.
1 182 Sets zone B volume UI_SET_ZONE_VOLUME
2 11…100 Zone B volume: 11 = -89dB, 100 = 0dB
1 183 Selects zone B souce UI_SET_ZONE_SOURCE
2 1…16 Zone B source
1 184 Sets PL2 parameters (Polaris or later)
Note: Parameters can be read without write by sending invalid data bytes, for example by setting all data bytes to 255. See the output data description below.
2 0/1 Panorama: 0 = Off, 1 = On
3 0…7 Center Width: 0 = Narrow, 7 = Wide
UI_SET_PL2_PARAMETERS
4 0…6 Dimension: 0 = Front biased, 6 = Max surround
1 216 Response to the read command
2 0/1 Panorama
3 0…7 Center Width
Output data
4 0…6 Dimension
1 185 Sets Neo6 parameters (Polaris or later)
Note: Parameters can be read without write by sending invalid data bytes, for example by setting all data bytes to 255. See the output data description below.
UI_SET_NEO6_PARAMETERS
2 0…5 Center Image: 0 = Narrow, 5 = Wide
1 251 Response to the read command Output data
2 0…5 Center Image
Page 7
HALCRO
Halcro RS232 Document 7/7
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
Special Commands
The following commands need one, two or several bytes: <command> [<data>] [<data>] …
Command Data Description
1 224
2 82
3 83
RS_ENABLE_CONTROL
4
33
Enables the reception of most RS232 commands
Reception is deactivated after every received command, so this command must be sent again before the next command.
RS_DISABLE_CONTROL
1 225 Disables the reception of RS232 commands.
This command is seldom need as control is usually disabled after every RS command.
RS_QUERY_SYSTEM_STATUS
1 227 Request for various status information. No
need to enable RS control. This command sends out the information described below.
1 223 Header
2 255 Header EOT
RS_VOLUME (see Output data section)
RS_MUTE (see Output data section)
RS_AUDIO_SOURCE (see Output data section)
RS_VIDEO_SOURCE (see Output data section)
RS_OPER_MODE (see Output data section)
RS_ZONE_AUDIO_SOURCE (see Output data section)
RS_ZONE_VIDEO_SOURCE (see Output data section)
RS_ZONE_VOLUME (see Output data section)
RS_ZONE_MUTE (see Output data section)
RS_DIMMER (see Output data section)
RS_TAPEMONITOR (see Output data section)
RS_STEREO_MODE (see Output data section)
RS_SIGNAL_TYPE (see Output data section)
RS_SEND_CHANNEL_INFO (see Output data section)
RS_AUDIO_INPUT_TYPE (see Output data section)
RS_COMPRESSION (see Output data section)
RS_CINEEQ (see Output data section)
RS_THX (see Output data section)
RS_VIDEO_INPUT_TYPE (see Output data section)
RS_BASS (see Output data section)
RS_TREBLE (see Output data section)
RS_CENTER (see Output data section)
RS_SURROUND (see Output data section)
RS_SUBWOOFER (see Output data section)
RS_TRIGGER1 (see Output data section)
RS_TRIGGER2 (see Output data section)
Output data
x
For the
exact
output see
the
command
description
of the
each
command
on the
right
RS_TV_SYSTEM (see Output data section)
Page 8
HALCRO
Halcro RS232 Document 8/8
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
RS_QUERY_VERSION
1 229 Sends out the software version number. RS
control must be enabled first.
1 219
2 1…255 version number MSB (6.25)
3 0…255 version number LSB (6.25)
Output data
4 0…255 Customer/product ID
Page 9
HALCRO
Halcro RS232 Document 9/9
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
Output data
The following data is sent out to RS port whenever the status of the current parameter or function is changed. The output data consists of at least three bytes: <command> <data> <EOT>. For example when the main zone volume is changed to –25dB, the following three bytes are sent out: 225/75/255.
Command Data Description
1 215 Channel information of the current audio signal
Channel info
000 = 1 + 1 (dual mono)
001 = 1/0
010 = 2/0
011 = 3/0
100 = 2/1
101 = 3/1
110 = 2/2
bits 0 – 2 (LSB):
111 = 3/2
bit 3 0 = no LFE, 1 = LFE
00 = not indicated
01 = not Dolby Surround decoded
10 = Dolby surround decoded
bits 4 – 5
11 = reserved
Bit 6 0 = non ES / EX signal
1 = ES / EX flag present
RS_SEND_CHANNEL_INFO
2 b00??????
Bit 7 reserved
1 216 Pro Logic II parameters
2 0/1 Panorama: 0 = Off, 1 = On
3 0…7 Width
RS_SEND_PL2_PARAMETERS
4 0…6 Dimension
1 217 The contents of the EEPROM memory location.
This command is a response only for the RS_READ_EEPROM command
RS_SEND_READ_EEPROM
2 0…255 Data byte read from the EEPROM
1 218 A reply to the RS_STORE_EEPROM command RS_SEND_STORE_EEPROM
2 0/1 0 = write unsuccessful, 1 = write successful
1 219 A reply to the RS_QUERY_VERSION command
2 1…255 Major version number (6.22)
3 0…255 Minor version number (6.22)
RS_SEND_VERSION
4 0…255 Customer/product ID
1 220 A reply to the RS_TEST_OPERATIONS
2 0/1 Scanning signal
3 0/1 MPX signal
RS_TEST_DATA
4 0…255 Signal strength
1 221 Sends the button ID pressed. The button ID is
HW button ID, not SSP button ID.
RS_BUTTON_ID
2 1…40 Button ID
Page 10
HALCRO
Halcro RS232 Document 10/10
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
1 224 Send the status of the headphones RS_HEADPHONES
2 0/1 Headphones connected (1) or not (0)
1 225 Main zone volume RS_VOLUME
2 10…120 Volume: 10 = -90dB, 100 = 0dB, 115 = +15dB
1 226 Status of the main zone user mute RS_MUTE
2 0/1 Main zone mute: 0 = un-muted, 1 = muted
1 227 Current main zone source RS_AUDIO_SOURCE
2 1…64 Main zone source: 1…16 = normal source, 62 =
internal tuner, 63 = balanced audio in, 64 = external
7.1 input
1 228 The current main zone composite/S-Video
video source. Even when audio (7-16) source is
selected, the video input of the last selected video source remains active, which is indicated by this command.
RS_VIDEO_SOURCE
2 1…6 Last selected video source
1 229 Operating mode RS_OPER_MODE
2 0/1 0 = standby, 1 = on
1 230 Zone B source RS_ZONE_AUDIO_SOURCE
2 1…16
1 231 Zone B video source. Even when audio (7-16)
source is selected, the video input of the last selected video source remains active, which is indicated by this command.
RS_ZONE_VIDEO_SOURCE
2 1…6
1 232 Volume of zone B RS_ZONE_VOLUME
2 10…115 Volume: 10 = -90dB, 100 = 0dB, 115 = +15dB
1 233 Status of zone B mute RS_ZONE_MUTE
2 0/1 0 = un-muted, 1 = muted
1 234 VFD brightness RS_DIMMER
2 0/1 0 = bright, 1 = dimmed
1 235 Tape Monitor status RS_TAPEMONITOR
2 0/1 0 = Tape Monitor off, 1 = Tape Monitor on
1 236 Current post processing mode
0 = Direct (Stereo with 2 channel audio material)
1 = Dolby Pro Logic
2 = Natural
3 = Club
4 = Concert
5 = Stadium
6 = Party
7 = Mono downmix
8 = Custom music mode
9 = Surround 6.1
10 = Custom music mode
11 = not used
12 = Stereo downmix
RS_STEREO_MODE
2 0…17
13 = Pro Logic II Movie
Page 11
HALCRO
Halcro RS232 Document 11/11
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
14 = Pro Logic II Music
15 = Dolby Digital EX
16 = Neo:6 Cinema
17 = Matrix / Neo:6
18 = Hall
19 = Church
20 = Neo:6 Music
21 = Stereo 96
22 = Dolby Headphones (not used)
23 = Pro Logic IIx Music
24 = Pro Logic IIx Movie
1 237 Current audio signal
0 = <reserved>
1 = Digital zero signal (currently not used)
2 = Digital PCM
3 = Dolby Digital
4 = DTS
5 = MPEG
6 = Noise (generated by the DSP)
7 = Analog
8 = Digital Error (unrecognized or corrupted digital signal)
9 = DTS-ES Matrix
10 = DTS-ES Discrete
11 = DTS 96/24
12 = DTS 96 Matrix
RS_SIGNAL_TYPE
2 0…10
13 = DTS 96 Discrete
1 238 Audio input type of the current source
0 = Non-balanced Analog
1 = Coaxial
2 = Optical
3 = RF Demodulator (AC-3)
4 = AES/EBU
RS_AUDIO_INPUT_TYPE
2 0…5
5 = Balanced Analog
1 239 Late Night compression status RS_COMPRESSION
2 0/1 0 = compression off, 1 = compression on
1 240 Cine EQ status RS_CINEEQ
2 0/1 0 = Cine EQ off, 1 = Cine EQ on
1 241 Type of the input video signal
0 = unknown / no input signal
1 = Composite
RS_VIDEO_INPUT_TYPE
2 0…2
2 = S-Video
1 242 Treble setting RS_TREBLE
2 0…24 0 = -12dB, 12 = 0dB, 24 = +12dB
1 243 Bass setting RS_BASS
2 0…24 0 = -12dB, 12 = 0dB, 24 = +12dB
RS_CENTER 1 244 Center trim level
Page 12
HALCRO
Halcro RS232 Document 12/12
Prepared by ROK XX.XX.XXXX © Halcro Copy printed 17.10.2005
2 0…24 0 = -12dB, 12 = 0dB, 24 = +12dB
1 245 Surround trim level RS_SURROUND
2 0…24 0 = -12dB, 12 = 0dB, 24 = +12dB
1 246 Subwoofer trim level RS_SUBWOOFER
2 0…24 0 = -12dB, 12 = 0dB, 24 = +12dB
1 247 Trigger 1 status RS_TRIGGER1
2 0/1 0 = trigger inactive, 1 = trigger active
1 248 Trigger 2 status RS_TRIGGER2
2 0/1 0 = trigger inactive, 1 = trigger active
1 249 TV system of the video input signal RS_TV_SYSTEM
2 0…2 0 = unknown, 1 = PAL, 2 = NTSC
1 250 THX status
0 = THX off
1 = THX Cinema
2 = THX Surround EX
3 = THX Ultra2 Cinema
RS_THX
2 0…4
4 = THX Music Mode
RS_EOT
255 Sent out as a last byte of each transmission from
the serial port
Loading...