Difference between revisions of "Component: DMX-512 Master (Comms: System)"
(2 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_DMX-512_Master.fcfx FC_Comp_Source_DMX-512_Master.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DMX-512_Master.fcfx FC_Comp_Source_DMX-512_Master.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 95: | Line 95: | ||
For DMX 512 slave example see: [[Component:_ID_1be0ac44_3521_402e_a8b7_1faf86c09560|DMX Slave]] | For DMX 512 slave example see: [[Component:_ID_1be0ac44_3521_402e_a8b7_1faf86c09560|DMX Slave]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 165: | Line 173: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Latest revision as of 13:09, 7 February 2023
Author | MatrixTSL |
Version | 2.0 |
Category | Comms: System |
Contents
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 |