Aton

From HSYCO
Revision as of 14:51, 17 January 2014 by Hsyco (talk | contribs) (→‎Datapoints)
Jump to navigation Jump to search

ATON AH66T is a multi-zone audio system. The integration with HSYCO can be accomplished via direct control through the RS232 port on the module. The ATON I/O Server in HSYCO supports the integration of more than one unit within the same HSYCO interface.

Communication

a DE-9 (often called DB-9) female-male RS-232 straight cable to connect the AH66T COM1 port to the serial port on HSYCO SERVER (female DB9 to RJ45 adaptor is included in AH66T packaging).

RS-232 parameters:

Baud rate same as set on the module (115200/57600/38400/19200/9600)
Data bits 8
Stop bit 1
Parity none
Flow control none

ATON Configuration

The ATON module must be configured to enable the communication with HSYCO. Use the ATON SystemWorx tool to modify the configuration. Make sure to specify “ExtControl” as Driver Type of COM Port 1, set the serial communication parameters, and transfer the configuration to the module.

HSYCO Configuration

Options

ID Default Values Description
gui true true enable support for the UI object, UISET actions and USER commands
false disable UI support
startupevents false true generate IO events also during the driver’s start-up phase
false start generating events only after HSYCO is aligned with the current status of the system
pollinterval 1 n > 0 the data acquisition interval, in seconds
modules 1 2 number of modules included in the connected system

Datapoints

ID Value R/W Description
connection online R connection established
offline R HSYCO can't connect to the panel
power 1 R the system is on
0 R the system is off
W turn the system off
z<n>.power 1 R zone <n> is on
W turn zone <n> on
0 R zone <n> is off
W turn zone <n> off
flip W toggle the power status of zone N
z<n>.source 0 R zone <n> is off
1 ... 6 R the audio source of zone <n> is set to the reported source number
W set the audio source of zone <n> to the specified source number
r1 R the audio source of zone <n> is set to the radio of module 1
W set the audio source of zone <n> to the radio of module 1
r2 R the audio source of zone <n> is set to the radio of module 2
W set the audio source of zone <n> to the radio of module 2
z<n>.volume off R zone <n> is muted
W mute zone <n>
on W un-mute zone <n>
0...100% R the volume level of zone <n> is set to the specified value
W set the volume level of zone <n> to the specified value
up W increase the volume level of zone <n>
down W decrease the volume level of zone <n>

User Interface

Aton Object

The user interface for the Aton multi-room system:

File:UI Object aton.png

The Aton object is listed in the Project Editor’s new object list only when at least one Aton I/O Server is defined.


Parameters

  • server id: the server ID
  • module:
  • zone: zone number of the Aton multi-room system (max 12 zones)
  • position: the object's position. Use the pixels or rows and columns coordinates format

Syntax

(aton <server id>; <module>; <zone>; <position>)

E.g.

(aton serverid; module; zone; x10y20)

UISET Actions

ID Attribute Set to
connection.label.online visible true when datapoint connection = online
false when datapoint connection = offline
connection.label.offline visible true when datapoint connection = offline
false when datapoint connection = online

USER Commands

To send a user command to the I/O Server just set the name to the ID of a writable (W) datapoint and the parameter to one of the possible values.

For instance, setting the name of a user button to '<ioserver_id>.z1.power' and its param field to 'flip', will result in having a switch for zone 1. Naming it '<ioserver_id>.z1.mode' with a valid working mode as param (e.g. 'stop' or 'cold') will result in a button for setting the mode of the zone.