Component: DMX-512 Master (Comms: System): Difference between revisions
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| Line 183: | Line 183: | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Serial Properties | | width="90%" class="mtx-class-propfolder" | Serial Properties | ||
|- | |- | ||
| Line 207: | Line 207: | ||
| colspan="2" | Pin to be used for Transmit data | | colspan="2" | Pin to be used for Transmit data | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | DMX Properties | | width="90%" class="mtx-class-propfolder" | DMX Properties | ||
|- | |- | ||
| Line 216: | Line 216: | ||
| colspan="2" | Number of data bytes used by the DMX chain, Max 512 bytes per transmission. 24 Bytes minimum to match minimum 1204us timing requirements, not all channels need to be used. | | colspan="2" | Number of data bytes used by the DMX chain, Max 512 bytes per transmission. 24 Bytes minimum to match minimum 1204us timing requirements, not all channels need to be used. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Simulation | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | MatrixTSL |
| Version | 2.0 |
| Category | Comms: System |
DMX-512 Master component
A serial based communications protocol designed for controlling theatrical equipment such as dimmers, fog machines and intelligent lights. DMX-512 Slave devices are daisy chained together with a final 180R terminating resistor at the end of the chail. DMX requires the signal to be level shifted from VCC and GND to +2.5V and -2.5V.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DMX-512_Master.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DMX-512_Master.fcfx
Detailed description
No detailed description exists yet for this component
Examples
DMX Master Example, reads the value of two ports using switch arrays to set the values and then transmits the data in a DMX packet.
For DMX 512 slave example see: DMX Slave
Macro reference
Initialise
| Initialise | |
| Configures the UART serial interface. | |
| Return | |
SendDataChain
| SendDataChain | |
| Transmits the BREAK, MAB and StartCode followed by the contents of the data channels. | |
| StartCode | |
| Return | |
SetDataChannel
| SetDataChannel | |
| Sets the data byte in a data channel | |
| Channel | |
| DataValue | |
| Return | |