Component: DMX 512 Master (Comms: System)

From Flowcode Help
Revision as of 15:45, 20 July 2016 by BenR (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Author MatrixTSL
Version 1.0 (Release)
Category Comms: System


Image 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.

Examples

No additional examples


Downloadable macro reference

SetDataChannel

Sets the data byte in a data channel

Parameters

UINT Channel
BYTE DataValue


Return value

This call does not return a value


SendDataChain

Transmits the BREAK, MAB and StartCode followed by the contents of the data channels.

Parameters

BYTE StartCode


Return value

This call does not return a value


Initialise

Configures the UART serial interface.

Parameters

This macro has no parameters


Return value

This call does not return a value


Simulation macro reference

This component does not contain any simulation macros


Property reference

Channel

This property is of type Fixed list of ints and can be referenced with the variable name CHANNEL.

No additional information


TX Pin

This property is of type Single digital pin and can be referenced with the variable name TXPIN.

No additional information


RX Pin

This property is of type Single digital pin and can be referenced with the variable name RXPIN.

No additional information


Data Channels

This property is of type Unsigned integer and can be referenced with the variable name DataChannels.

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.

Injector

This property is of type Fixed list of ints and can be referenced with the variable name Injector.

No additional information