Protocol

What is the most simple and most common ? Of cause RS232 serial communication!

So, SHACKBUS uses serial asynchroneous data to communicate between controller and devices.

Serial data

SHACKBUS uses a rate of 9600 baud, 8 data bit, no parity, 1 stop bit on the bus.

+5 volt is the idle state (stop bit polarity) and 0 volt is the start bit polarity. (see 'electrical')

Telegram format

All communication uses ASCII characters.

A command line consists of four parts:

  1. One asterisk (* = h2A) as first character, marking the beginning of a command string.
  2. Two address Bytes (Uppercase and figures only)
  3. a command string (variable syntax and length) which contains no <CR> or asterisks.
  4. a RETURN character (<CR> = h0D)

Procedure

Commands are transmitted from the controller to all devices, but only the one device which matches both address bytes will react and respond.

Protocol rules