User Guide
Page 36 of 62
Leviton MLC 16D Motorized Lighting Controller
62
Appendix
ASCII Formatting Guide
Overview
General ASCII formats (standard text files) allow data to be easily read and
modified on a computer using a text editor. However, in order for the information
to be understood by the console, certain rules must followed. These rules form
the syntax that is used by the MLC 16 to describe its programming. By following
these rules, you can write your own programming or device definitions offline and
load them into the console through the RS-232 port.
The general syntax for ASCII formats is as follows:
•
Only one command per line.
•
Lines are terminated by a carriage return or a carriage return/line feed
combination.
•
All commands start with a keyword, which can be prefaced by spaces or tabs.
•
Keywords are not case sensitive.
•
All keywords, except "End", are followed by a value. The keyword and value are
separated by a space(s).
•
Any text following a semicolon is ignored. This allows a file created with a text
editor to contain comments. Comments are not retained within the console.
Device Definition Language
The Device Definition Language (DDL) is used to describe an object's personality,
which is controlled by the MLC 16. Devices can include intelligent lighting fixtures,
fog machines, traditional luminerie/color scroller combinations or simply a series
of dimmer channels. Through the use of DDL, the MLC 16 can present the
individual attributes or traits of the personality with descriptive labels rather than
simple channel numbers as with a standard lighting console.
You can program Device Definitions into the MLC 16 two ways:
•
Program it directly on the console using the Device Define utility of the Setup
menu.
•
Import it into the console through either the disk driver or the RS-232 port. The
last line of the file must contain the key word
End
. This flags the console that
the file is complete; without it the last trait of the definition is lost.
Keyword
Valid Values
Description
Example
Device
16-character
text string
Defines the name of the
device.
Device
Scanner
Trait
8-character text
string
Defines the text label of
the trait.
Trait
Pan
Type
Union,
EndUnion,
Continuous,
Indexed
Defines the type of the
trait.
Type
Indexed
Содержание MLC16
Страница 2: ......
Страница 6: ...User Guide iv Leviton MLC 16D Motorized Lighting Controller iv ...
Страница 68: ...User Guide Page 62 of 62 Leviton MLC 16D Motorized Lighting Controller 62 ...
Страница 69: ......