Herunterladen Inhalt Inhalt Diese Seite drucken

Busch-Jaeger 6136/APP Handbuch Seite 58

Vorschau ausblenden Andere Handbücher für 6136/APP:
Inhaltsverzeichnis

Werbung

Inbetriebnahme
Scripts will automatically stop running after the last command of the script has been executed.
When using the command selection tool, parts of the command will be displayed between []
brackets. These parts need to be replaced by valid input. The default text shown in between
these brackets will give you an indication of the required value.
Scripts are written using commands and values. Additionally scripts can be extended using
variables, calculations, functions and certain control structures like IF statements and WHILE
loops.
Commands
The commands section is divided in the different main types of commands that are available.
Controlling components
SET [component] TO [value]
With this command you can set bit, byte and float (2byte) components to a specified value. Use
the "." character as separator for floating point values. You can also use other components as
the value part of this command. This allows you to set one component to the value of another.
SET [RGB component] TO [red],[green],[blue]
This command lets you set a RGB component to a specified colour. The colour must be
described with the red, green and blue values, all using a range of 0--‐255. Instead of using
static values, you can replace any of the three primary colour parts with a BYTE component.
You can also replace all the component parts together with a single other RGB component. This
allows you to set a RGB component to another RGB components colour.
FADE [component] TO [value] IN [time]
This command is quite similar to the two commands above; you can use it on bytes, floats and
RGB values. Instead of setting the value directly, this command changes the values in steps
from the current value to the value specified. You can specify the time as a static value or use
the value of a component. Possible time units are MSEC/SEC/MIN/HOUR/DAY. If no units are
specified for the time value, milliseconds are assumed. This command changes the value of the
component every second. Similar to the SET command, you can also use this command in
combination with RGB components.
FADE [component] TO [value] in [time] STEP [time]
This command is similar to the command above; it just adds the specification of the step time.
When the step time is not specified, the FADE command changes the value every second. By
specifying the step time, you can change this to for example every 30 minutes, or 100
milliseconds. The minimum value is 100 milliseconds. Similar to the SET command, you can
also use this command in combination with RGB components.
READ [component]
With this command you can request the current status of the component on the bus. You can
also use the command for scenarios. This will perform a READ for every component that is
included in the scenario.
KNX Technisches Handbuch 1373-1-8902 / 2CKA001373B8902
│58

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis