Difference between revisions of "Component: DALI Master (Comms: System)"
From Flowcode Help
Jump to navigationJump to search| Line 44: | Line 44: | ||
DALI Master Example, reads the value of a keypad and sends out DALI commands based on the key pressed, 1 = switch on a slave's light, 2 = switch off a slave's light, 3 = read the slave's light level. | DALI Master Example, reads the value of a keypad and sends out DALI commands based on the key pressed, 1 = switch on a slave's light, 2 = switch off a slave's light, 3 = read the slave's light level. | ||
{{Fcfile|DALI_Master.fcfx|DALI Master Example1}} | {{Fcfile|DALI_Master.fcfx|DALI Master Example1}} | ||
| + | |||
| + | For a DALI Slave example see: [[Component: DALI Slave (Comms: System)]] | ||
==Downloadable macro reference== | ==Downloadable macro reference== | ||
Revision as of 20:38, 9 February 2022
| Author | MatrixTSL |
| Version | 1.0 |
| Category | Comms: System |
Contents
DALI Master component
A serial based communications protocol designed for controlling lighting, specifically digitally controlled dimmable fluorescent ballasts. DALI requires the signals to be level shifted from VCC and GND to +9.5V - +25.5V and GND. The master component can addess up to 64 individual slaves & up to 16 groups.
Component Pack
COMMSC
Detailed description
No detailed description exists yet for this component
Examples
DALI Master Example, reads the value of a keypad and sends out DALI commands based on the key pressed, 1 = switch on a slave's light, 2 = switch off a slave's light, 3 = read the slave's light level.
DALI Master Example1
For a DALI Slave example see: Component: DALI Slave (Comms: System)
Downloadable macro reference
| ReceiveBackwardFrame | |
| Attempts to receive an 8-bit reply 0 indicates timeout or no reply | |
| Return | |
| Initialise | |
| Configures the UART serial interface. | |
| Return | |
Property reference
| Properties | |
| TX Pin | |
| RX Pin | |
| Connections | |
| Simulations | |
| API | |