PANEL TRANSMITTED DATA
Panels only send data when there is data to be sent i.e. there has been
activity at the panel which must be sent to a given lamp. If there is no data to
be sent, a panel will not transmit. The amount of data a panel sends will
depend upon the amount of activity at the panel and can be 2 to 10 bytes. The
commands described below are sent after a panel receives its address which
it uses as indication that it has a transmit time slot. Before any commands are
sent the panel must define which lamp the data pertains to. This is achieved
by preceding the command with a lamp address. Note that bit 7 is not set
when a panel defines the lamp to which it is to transmit. Lamps recognise the
address and receive data when the address matches their own. To send
commands to lamp number 2 a panel would precede the lamp command(s)
with the address value Hex 2, Binary 000000010. It is important to note that
multiple commands must be sent in numerical order i.e. a command with
value 01 must be sent before a command with 06 etc.
Panel transmit commands are listed below; -
DATA_PAN_JOYSTICK (Hex 01)
This is a two-byte command and must be immediately followed by another
byte whose value determines the lamps direction and speed. The value is
centred on 128 and has a range of 128 +/- 64. A value of 130 will make the
lamp rotate slowly clockwise. Increasing the value will make the lamp move
faster. A value of 126 will make the lamp rotate slowly anticlockwise.
Decreasing the value will make the lamp move faster. Transmitting values 01
then C0 would make the lamp pan clockwise at full speed.
DATA_TILT_JOYSTICK (Hex 02)
This is a two-byte command and must be immediately followed by another
byte whose value determines the lamps direction and speed. The value is
centred on 128 and has a range of 128 +/- 64. A value of 130 will make the
lamp point upwards slowly. Increasing the value will make the lamp move
faster. A value of 126 will make the lamp move down slowly. Decreasing the
value will make the lamp move faster. Sending values 02 then C0 would make
the lamp tilt up at full speed.
DATA_LAMP_BUTTON (Hex 0A)
This is a single byte command. The same command is sent to switch the lamp
on or off. This command must only be sent once for each press of the button.
Sending again will switch the lamp again. Basically, if the lamp was off,
sending this value will switch it on. If the lamp was on, sending this value will
switch it off. This technique is employed to facilitate simultaneous lamp control
from a number of different panels. Basically, what is sent is just information
that the lamp on off button has been pressed. How the lamp reacts to this
depends on the lamps current status. Most of the other lamp button
commands operate in a similar manner except the focus button. Confirmation
that the command has been received can be obtained by reading the lamp
status byte described below.