Control Panel

From SlugWiki
Revision as of 04:32, 25 February 2006 by Wrchan (Talk)

Jump to: navigation, search

The control panel will have the following controls.

Switch Name On Command Off Command Blink Command Text Color Possible Function
A A a 1 Start Green Start/Stop music in lounge
B B b 2 All Stop Red Stop all players
C C c 3 Run Test Green
D D d 4 Reset Orange
E Emergency Stop Red Push it to the limit
F

When a button is pushed a packet of the following format is transmitted over the 4E Network:

'\' 'H' 01 'C' 'A' (Switch Name) '\' 'E'

For example,

'\' 'H' 01 'C' 'A' 'A' '\' 'E'
'\' 'H' 01 'C' 'A' 'D' '\' 'E'

button A then D were pushed.

Buttons A through D have built in lights that may be controlled over the 4E Network:

'\' 'H' 'C' 01 'B' (Lighting Command) '\' 'E'

For example, the following turns on light A, blinks light B, and turns off light c:

'\' 'H' 'C' 01 'B' 'A' '\' 'E'
'\' 'H' 'C' 01 'B' '2' '\' 'E'
'\' 'H' 'C' 01 'B' 'c' '\' 'E'

The control panel reports errors and acknowledges packets over port 31. These may be ignored. For example:

'\' 'H' 'C' 01 'B' 'A' '\' 'E'
'\' 'H' 01 'C' 31  "rcv" '\' 'E'
'\' 'H' 'C' 01 'Z' '\' 'E'
'\' 'H' 01 'C' 31  "Invalid port 'Z'" '\' 'E'