Basic control – Zektor Palladia™ 8X8 User Manual

Page 36

Advertising
background image

36

HDA800(V2) Serial Protocol, Version 1.3, 9/12/13

Basic Control

‘HSZ’ Query Examples

To make parsing the response strings easier, only one response string is sent per zone. Or, in the case of
channel breakaways, only one response string per channel is returned. The response string is sent as a
fixed length string using leading zeroes.

You can request the mapping of multiple zones, with one command, and still only one response string
per zone will be returned, for instance:

^HSZ @1,@3,@4,?

could return:

^+$

<-

Indicates no errors in the command

^=HSZ @001,002$

<-

All channels of input ‘2’ mapped to zone ‘1’

^=HSZ @009,001$

<-

All channels of input ‘1’ mapped to zone ‘3’

^=HSZ.9 @004,007$

<-

Video & audio from input ‘7’ mapped to zone ‘4’

^=HSZ.8 @004,005$

<-

HDMI audio from input ‘5’ mapped to zone ‘4’

You can also request the mapping of channels, for instance:

^HSZ.1 @2,?

could return:

^HSZ.1 @002,006

<-

Video from input ‘6’ mapped to zone 2

only the video channel’s status is returned.

If you plan on using breakaway options consistently you, you can have the HDA800(V2) always send
the channel with the response string. This keeps you from having to parse two different types of
strings.

Using the ‘XS’ command to set the ‘CHN’ bit, will cause the HDA800(V2) to always include the
channel number. The following example demonstrates this:

^XS +4$

->

Set the CHN bit

^+$

<-

Acknowledge ‘XS’ command

^=XS nnnnn$

<-

Indicates the new ‘XS’ settings

^HSZ @1,?$

->

Request mappings for zone 1

^+$

<-

Acknowledge ‘SZ’ command

^=HSZ.9 @1,4

<-

All channels of input ‘4’ mapped to zone ‘1’

By setting the ‘CHN’, even though all channels on zone ‘1’ are the same, the full channel bitmap is
still returned.

In the polled mode (See: ‘XS’ Control Settings” on page 41.), any zone selections changes are
logged. You can retrieve all the logged changes by issuing the ‘HSZ ?’ command. This command
returns any pending changes, followed by a termination record to indicate their are no more pending
changes.

For instance, assume Zone 1 and 3 have changed since the last time read:

^HSZ ?$

->

Request pending changes

^+$

<-

Acknowledge ‘SZ’ command

^=HSZ @001,002$

<-

Input ‘2’ mapped to zone ‘1’

^=HSZ @003,001$

<-

Input ‘1’ mapped to zone ‘3’

^=HSZ @000,000$

<-

Termination record, there are no more pending changes.

Advertising