Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "DMX512-A"

From wiki.openlighting.org

Jump to: navigation, search
m (one more source.)
Line 1: Line 1:
''This information is not complete (but may become in a few months)'' The purpose is to introduce the protocol and the details of a packet and maybe explain the required timing of the signal. --[[User:Beier|Beier]] 06:21, 28 January 2007 (PST)
+
''This information is not complete.'' The purpose is to introduce the protocol and the details of a packet and maybe explain the required timing of the signal. --[[User:Beier|Beier]] 06:21, 28 January 2007 (PST)
  
==Overview==
+
The last version of the standard is called USITT DMX512-A and it is maintained by ESTA since 1998. In 2004 it was made an ANSI standard too, named "E1.11, USITT DMX512-A" or "ANSI E1.11-2004".
A ''Universe'' contains 512 addresses and a single DMX line (cable) can only transmit one universe. I.e. a controller with two universes need two DMX lines (daisy chains including splitters). A uniververse is normally thought of as an address space (in the controller), the cables that transmits it and the equipment that receives it.
 
  
* The DMX signal is made up of a sequence which is sent over and over again (to increase robustness).
+
 
* The content is a "start byte" and 512 values, one value for every address.
+
== Electrical ==
* The address number is not sent over the lines, so the receiver must count the values from the start of the sequence to find the wanted value.
+
DMX is based on the balanced serial connection standard [http://en.wikipedia.org/wiki/EIA-485  EIA-485-A] (a.k.a RS485). Only 5-pin XLR and 120 Ohms twisted pair cables meets the DMX standard. One transmitter must be connected to maximum 32 receivers.
 +
 
 +
==The protocol==
 +
'''A Universe''' contains 512 addresses and a single DMX line (cable) can only transmit one universe. I.e. a controller with two universes need two DMX lines (daisy chains including splitters). A uniververse is normally thought of as an address space (in the controller), the cables that transmits it and the equipment that receives it.
 +
 
 +
* The DMX signal is made up of a sequence - called a ''packet'' - which is sent over and over again (to increase robustness).
 +
* It is up to the controller/transmitter to decide how many of the 512 values is sent. Fever addresses means faster cycles.
 
* A receiver must be set or programmed to an address it listens to. If a receiver listens to multiple addresses, the set one is the first.
 
* A receiver must be set or programmed to an address it listens to. If a receiver listens to multiple addresses, the set one is the first.
 
* Multiple receiver can listen to the same address - the DMX system does not care.
 
* Multiple receiver can listen to the same address - the DMX system does not care.
* It is up to the controller/transmitter to decide how many addresses that should receive a value. Fever addresses means faster cycles.
 
  
==The Packet==
+
 
 +
'''A packet''' has the following sequence:
 
* Break
 
* Break
 
* Mark After Break (MAB)
 
* Mark After Break (MAB)
* A frame contains the value for one address
+
* The ''"start code"'' frame (Sometimes called address 0)
* start bit
+
* 1-512 ''frames'' with the values of the channels. The first value is for address "1", the next for address 2 etc.
* Stop bits
+
(Note: A packet must have a minimum length in time)
 +
 
 +
* A frame contains the value for one address, has one start bit and two stop bits.
 +
* The address number is not sent over the lines, so the receiver must count the values from the start of the sequence to find the wanted value.
 +
* The ''start code'' is used to alter the meaning of the data bytes in the rest of the packet. The default is 0, and the remaining 255 values is rarely used (by definition 0 means dimmers, but is used for intelligent light as well).
 +
<br>
 +
'''Sources and additional reading:'''<br>
 +
[http://www.dmx512-online.com/packt.html Ujjal's DMX512 Pages] (down-to-earth walk-through) <br>
 +
[http://www.epanorama.net/links/lights.html#dmx512 ePanorama] (thorough descriptions of most details, lots of links) <br>
 +
[http://en.wikipedia.org/wiki/DMX_(lighting) Wikipedia]<br>
 +
[http://www.usitt.org/standards/DMX512.html USITT ]
 +
<br>
 +
[http://www.euro-pa.be/dmx.html The anatomy of DMX512] (a nice, short overview)
  
  
Sources and additional reading:<br>
+
[[Category:Articles]]
[http://www.dmx512-online.com/packt.html Ujjal's DMX512 Pages]<br>
 
[http://www.epanorama.net/links/lights.html#dmx512 ePanorama]<br>
 
[http://en.wikipedia.org/wiki/DMX_(lighting) Wikipedia]<br>
 
[http://www.usitt.org/standards/DMX512.html USITT ]
 

Revision as of 14:47, 10 February 2007

This information is not complete. The purpose is to introduce the protocol and the details of a packet and maybe explain the required timing of the signal. --Beier 06:21, 28 January 2007 (PST)

The last version of the standard is called USITT DMX512-A and it is maintained by ESTA since 1998. In 2004 it was made an ANSI standard too, named "E1.11, USITT DMX512-A" or "ANSI E1.11-2004".


Electrical

DMX is based on the balanced serial connection standard EIA-485-A (a.k.a RS485). Only 5-pin XLR and 120 Ohms twisted pair cables meets the DMX standard. One transmitter must be connected to maximum 32 receivers.

The protocol

A Universe contains 512 addresses and a single DMX line (cable) can only transmit one universe. I.e. a controller with two universes need two DMX lines (daisy chains including splitters). A uniververse is normally thought of as an address space (in the controller), the cables that transmits it and the equipment that receives it.

  • The DMX signal is made up of a sequence - called a packet - which is sent over and over again (to increase robustness).
  • It is up to the controller/transmitter to decide how many of the 512 values is sent. Fever addresses means faster cycles.
  • A receiver must be set or programmed to an address it listens to. If a receiver listens to multiple addresses, the set one is the first.
  • Multiple receiver can listen to the same address - the DMX system does not care.


A packet has the following sequence:

  • Break
  • Mark After Break (MAB)
  • The "start code" frame (Sometimes called address 0)
  • 1-512 frames with the values of the channels. The first value is for address "1", the next for address 2 etc.

(Note: A packet must have a minimum length in time)

  • A frame contains the value for one address, has one start bit and two stop bits.
  • The address number is not sent over the lines, so the receiver must count the values from the start of the sequence to find the wanted value.
  • The start code is used to alter the meaning of the data bytes in the rest of the packet. The default is 0, and the remaining 255 values is rarely used (by definition 0 means dimmers, but is used for intelligent light as well).


Sources and additional reading:
Ujjal's DMX512 Pages (down-to-earth walk-through)
ePanorama (thorough descriptions of most details, lots of links)
Wikipedia
USITT
The anatomy of DMX512 (a nice, short overview)