2PROGRAMMIERUNG DES CRESTRON-SYSTEMS........................................................................................ 4
PROGRAMMING OF THE CRESTRON-SYSTEM .......................................................................................... 4
3SYSTEM MAKROS V 1.4.0 .................................................................................................................................... 5
SYSTEM MACROS V 1.4.0 ...................................................................................................................................5
3.1 S
3.2
YSTEM MAKRO CONTROL
YSTEM MACRO CONTROL
S
SYSTEM MACRO XX
SYSTEM MACRO XX
3.2.1
3.2.2
V 1.4.0.................................................................................................................... 5
V 1.4.0 ..................................................................................................................... 5
System Macro PA V 1.4.0 ......................................................................................................... 8
System Macro PA V 1.4.0 ......................................................................................................... 8
System Macro DD V 1.4.0 ........................................................................................................9
System Macro DD V 1.4.0 ........................................................................................................ 9
4PROGRAMMIERBEISPIEL (V 1.4.0).................................................................................................................10
PROGRAMMING EXAMPLE (V 1.4.0).............................................................................................................. 10
2
1 Einleitung
T+A Systeme können über den RS232 Adapter in ihren
Funktionen gesteuert werden. T+A HiFi Anlagen können
so in vernetzte Multiroom- und Homeautomation Systeme
eingebunden werden.
Die Anbindung an die Steuerung ist bi-direktional, Befehle werden vom T+A System quittiert. Durch die Quittierung ist die Steuerung sicher und störunanfällig.
Eine Rückmeldung über den Systemzustand ist bei einigen T+A Systemen (1) ebenfalls möglich. So kann der
Anlagenzustand (aktive Quelle, Lautstärke etc.) abgefragt
und vom Homeautomation-System angezeigt werden.
Einige T+A Quellgeräte (1) können auch weitergehende
Informationen (RDS Sendername, Titelnummer etc.) an
das Homeautomation-System ausgeben.
(1) Die Unterstützung dieser Funktionen wird laufend
erweitert. Über den aktuellen Stand informiert der T+A
Service.
Introduction
T+A Systems can be remote controlled using the
RS232 adapter. With this adapter they can easily be
integrated in home automation systems.
The T+A RS232 control interface is bi-directional.
Commands are acknowledged by the T+A system. The
acknowledge ensures a safe and reliable control.
Some T+A systems (1) are capable of delivering information about the operational state of the system. This
enables the display of basic system settings like active
listening source, volume setting etc.
Some T+A source devices (1) are capable of transmitting additional information like Station names, track
numbers etc.
(1) Information functions depend on the type of device
and these functions are being extended from time to
time. Detailed information can be obtained from your
T+A distributor.
Unterschiede Makro V1.3.x
Um eine einfachere Ansteuerung verschiedener Geräte
zu ermöglichen, wurde das eine universelle Makro(V1.3.0) in ein universelles Steuermakro (Control) und
jeweils ein gerätespezifisches Makro aufgeteilt.
Das Steuermakro kann für jedes Gerät verwendet
werden und übernimmt die Aufbereitung der Kommandos, Berechnung der Checksumme und Weiterleitung
Gerät.
an das
Das gerätespezifische Makro ist für Geräte vorhanden,
die Informationen zurückliefern. Jedes Makro ist speziell an das entsprechende Gerät angepasst und stellt
alle Statusinformationen an seinen Ausgängen zur
Verfügung.
Mit der Makro Version 1.4.0 wurde auch die Software
Geräte weiterentwickelt. Um die Gerätestati
der
möglichst effektiv verwenden zu können, sollten die
Geräte folgende Softwarestände aufweisen:
V1.4.x
ÆÆÆÆ
P/PA 12x0:
DD 1xx0:V 1.60 (or higher)
SR 1535:V
Changes macro V1.3.x
To make the control of several
fortable the universal macro (V 1.3.0) has been divided
into two parts (V 1.4.0): A control macro and a
device specific macro.
The control macro has to be used for control of all
audio devices. It provides the processing of control
commands, calculation of checksum and transmitting
the command sequence to the device.
A device specific macro is available for all devices
which provides status information. Each of these macros is designed for processing the appropriate device
status and provides the decoded information at it’s
outputs.
To make a easy use of the device information possible
the device software versions has also been updated.
Please make sure that you use
the following software versions:
V1.4.x
ÆÆÆÆ
audio more com-
audio devices with
V 1.30 (or higher)
1.40 (or higher)
3
2 Programmierung des Crestron-
Systems
Um ein
grammierung des Crestron Systems unter der Programmiersprache SIMPL ein universelles Steuer-Makro und
verschiedene gerätespezifische Makros zur Verfügung.
Soweit die Makros noch nicht in der herstellerspezifischen
Crestron Treiber Datenbank enthalten ist, werden es von
zur Verfügung gestellt und müssen unter SIMPL eingebunden werden. (s. SIMPL Installation and Operation
Guide)
Gerät steuern zu können, stehten für die Pro-
Programming of the Crestron-System
A control macro and several device specific macros are
available for programming the Crestron System. They are
written in the SIMPL programming language, and provide
the means for the Crestron unit to control the devices.
If the macros are not yet available in the manufacturerspecific Crestron Driver Database, they can be obtained
from . They must then be compiled under SIMPL (see
SIMPL Installation and Operation Guide).
Auf den folgenden Seiten wird die Funktionalität der Makros näher erläutert und ihre Verwendung anhand von zwei
Beispielen gezeigt.
On the following sites the macros will be discribed more
detailed. An example will show the correct usage of the
functions.
4
3 System Makros V 1.4.0
Die
System Makros ermöglichen eine Steuerung von
Audio Geräten mit R-Link Interface über ein Crestron
System.
Dabei setzt das Control Makro alle externen Steuerbefehle
in ein Sendeprotokoll ein und überträgt diese zum
232 Adapter. Dieser setzt die Kommandos in das
Rlink Format um und leitet sie an das
Von dem Gerät zurückgelieferten Informationen werden z.T
im Control Makro oder im gerätespezifischen Makro so
aufbereitet, dass Sie für das Crestron System ausgewertet
werden können.
3.1 System Makro Control V 1.4.0
Die grundsätzliche Steuerung erfolgt über ein 1 Byte langes Kommando, welches dem Makro an seinem
mand_Byte
Falls ein Zugriff auf mehrere
muß das Makro zu dem Kommando noch die entsprechende Geräteadresse erhalten (soll nur ein Gerät gesteuert
werden, kann diese Adresse fest angelegt werden).
Das Makro bettet das Kommando und die Adresse in die
benötigte Struktur ein, überträgt es über seinen TX Ausgang an die serielle Schnittstelle des Crestron Interfaces
und damit an das
Um eine sichere Kommunikation zu gewährleisten, quittiert
das
Information über die serielle Schnittstelle an den RX Eingang des Makros. Dieses stellt das Ergebnis an dem entsprechenden Makroausgang
Eingang übergeben wird.
Gerät.
Gerät den empfangenen Befehl und sendet diese
ret_Checksum
Gerät weiter.
Geräte erfolgen soll,
RS
Com-
zur Verfügung.
System Macros V 1.4.0
With help of the
devices (with a build in R-Link interface) from
control
a Crestron home system.
The macro converts all commands in a command sequence and transmits this sequence via a serial interface
RS232 Adaptor. The adaptor converts the
to the
commands in the
device.
to the
Replies from the
control macro and the device specific macro. These macros provide then information concerning the device status
at their outputs.
System Macro Control V 1.4.0
For controlling
transferred to the
If more than one device has to be controlled, the appropriate device address must be connected to the macro (a
fixed address should be used, if there is only one device
which has to be controlled).
The macro then connects address, command and checksum to a command sequence and sends it out via the
serial interface and the
device.
To ensure a proper connection the
back an acknowledge sequence after receiving a valid
command. The macro evaluates this sequence and provides the results at the
Crestron macro it is possible to
R-Link format and forwards them
devices will be processed by the
devices a 1 byte command will be
Command_Byte
RS232 Adaptor to the
ret_Cecksum
input of the macro.
device sends
output.
5
Eingänge
RX (string):
Verbindung zum seriellen RS 232 Device des Crestron
Steuer Gerätes
Power ON /Stand By / Power Off (digital):
direkte Steuereingänge für die entsprechenden Funktionen.
*
Command_Byte (analog)
:
Der hier angelegte Analogwert (Wertebereich 0-255) wird
als
Kommando interpretiert und in Form des Rlink
Protokolls an den
Crestron Adapter ausgegeben.
Die Erzeugung eines solchen Analogwerts kann z.B.
durch einen Analog-Initialize Block erfolgen.
*
Command_Address (analog)
:
Der hier angelegte Analogwert (Wertebereich 0-255) wird
als Adresse interpretiert, an die das Kommando gesendet wird.
Key repeat (digital):
Um ein Kommando in einem festen Zeitraster automatisch wiederholen zu lassen, muss, während das Kommando an dem Eingang Command_Byte anliegt, dieser
Eingang aktiviert (high) werden.
Inputs
RX (string)
connection to the serial RS 232 interface of the Crestron
control device
Power ON / Stand_By / Power Off (digital):
direct control inputs for the appropriate functions
Command Byte (analog)
The connected analog value from 0 – 255 will be interpreted as
command and sent to the Crestron
adaptor. The generation of this value is done by the
Analog_Initalize_Block. (For more detailed information
please see: Crestron_
Command_Address (analog)
_com_protocol).
*
:
The connected analog value (range 0-255) represents
the device address for transmitting commands
Key repeat (digital)
To repeat a command continuously this input must be
tied to a high level while connecting the command to the
Command Byte
input.
Ausgänge
Die Ausgänge des Makros geben Informationen zu dem
aktuellen Einstellungen des Gerätes..
Volume_A / Volume_B (analog):
An diesen Ausgängen ist die aktuellen Lautstärkeeinstellung der Haupt- und Nebenraumlautstärke des
Gerätes zu erkennen.
ret_Checksum (analog):
Um eine sichere Kommunikation zu gewährleisten, wird
jedes Kommando, welches über den Adapter zu dem
Gerät geschickt wird, nach etwa 30-40ms durch
eine Bestätigung vom diesem quittiert. Aus dieser Bestätigung ist zu ersehen, ob das Kommando fehlerfrei an
das adressierte Gerät übermittelt werden konnte und –
falls nicht – wo das prinzipielle Problem lag. Hierzu wird
vom Makro ein Analogwert zur Verfügung gestellt:
ret_Checksum Bedeutung
0ok
Kommando wurde fehlerfrei übertragen
1Error
Der Adapter konnte nicht auf den
Rlink Bus zugreifen. Der K6 ist
möglicherweise nicht betriebsbereit, oder das Rlink-Kabel nicht
verbunden
2Error
Der Adapter konnte auf den Rlink
Bus zugreifen, aber das angeschlossene Gerät hat das
Kommando nicht fehlerfrei angenommen
>2Error
(undefiniert)
Outputs
The outputs of the macro provide information of the actual settings of the device.
Volume_A / Volume_B (analog):
The actual volume setting for the main and second room
will be delivered be this analog output.
ret_Checksum (analog):
To ensure a secure communication, each command will
be acknowledged by a short sequence after about
30-40ms.
This sequence provides information about the communication status and will be decoded by the macro. Possible
return values are:
ret_Checksum description
0ok
command has been correctly received
1Error
the adaptor could not use the
R-Link bus for command transmission. (the device is not connected to mains supply. / RLINK
cable is not connected or defective.
2Error
the adaptor could use the RLINK
connection, but the addressed
device did not accept the command
>2Error
(undefined)
*
für nähere Erläuterung zu den RLink Befehlen und Adressen
siehe
und
-Crestron Kommunikationsprotokoll Dokumentation
gerätespezifische Dokumentation.
*
for more detailed description of the RLink commands and
addresses see
device specific documentation
communication protocol documentation and
6
Loading...
+ 11 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.