EBUS (serial buses)
In building automation, eBUS (energy bus) is a 2-wire digital serial data-bus communication interface used in heating and solar energy appliances, by mainly German manufacturers.
≈ 3 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
In building automation, eBUS (energy bus) is a 2-wire digital serial data-bus communication interface used in heating and solar energy appliances, by mainly German manufacturers. It was originally proposed by the Karl Dungs company, and has since been adopted by several other manufacturers.
The eBUS interface has also been used by home-automation enthusiasts to connect their domestic solar or heating system to a networked PC for monitoring or remote control. logical 0 = 9–12 volt logical 1 = 15–24 volt (typical: 20 V) 8-bit destination address (254 unicast destinations, 0xfe = broadcast) 16-bit command code (8 bit primary command byte and 8 bit secondary command byte) 8-bit data length indicator: 0–16 (not counting additional bytes inserted by the byte stuffing rule) 0–16 data bytes 8-bit cyclic redundancy check byte (generator: x 8 +x 7 +x 4 +x 3 +x+1) Recipients acknowledge such a command with a single acknowledge byte 0x00 (received correctly) or 0xff (received incorrectly). Slaves follow their acknowledge byte with a reply of a length byte and 0–16 data bytes plus CRC, which the receiving master in turn confirms with an acknowledge byte.
As the last step of a data exchange, the master finishes a command by sending a synchronization byte SYN (0xaa). This signals to other masters that the bus is available for use again.
A byte stuffing rule (0xa9 -> 0xa9 0x00, 0xaa -> 0xa9 0x01) is applied to all other bytes sent, to ensure that 0xaa does not appear on the wire as part of any transmitted data other than in the final synchronization byte. The transmission of a command can only appear immediately after a SYN byte was seen on the bus.
If no SYN byte has appeared on the bus for 35 ms, the bus supply transmits one to ensure that there remain transmission opportunities (AUTO-SYN). Each bus master accessing the bus immediately after a SYN has to verify (in their UART's receiver buffer) that the source address byte that they sent has indeed appeared on the bus intact and has not collided with another master's transmission attempt.
In the latter case, the transmission must be aborted and a collision-resolution procedure is initiated: at the next AUTO-SYN, participants with a priority class lower than the highest that participated in the last collision must not attempt a retransmission (and wait until the next SYN).
See also
Modbus
Text derived from https://en.wikipedia.org/w/index.php?oldid=1355600168 under CC BY-SA 4.0; modifications have been made.