DATA_LAMP_ON (0x1A)
This is a four-byte command (Sync, Lamp address, command, CRC). The
lamp will switch on when this code is received.
DATA_LAMP_OFF (0x1B)
This is a four-byte command (Sync, Lamp address, command, CRC). The
lamp will switch off when this code is received.
DATA_RECORD (0x0D)
This is a four-byte command (Sync, Lamp address, command, CRC). The
lamp will start recording motion and lamp on / off data when this code is
received.
DATA_PLAY (0x0E)
This is a four-byte command (Sync, Lamp address, command, CRC). The
lamp will start playing back a previously recorded sequence when this code is
received.
DATA_REQUEST_LAMP_STATUS (0x1E)
This is a four-byte command (Sync, Lamp address, command, CRC). When
the interface receives this command, there is a 10mS delay then the interface
will switch to transmit and send 13 bytes as detailed below.
1. Sync (FF)
2. Lamp Address with bit 7 set - range 0x90-0xA8
3. Pan Position LSB (Same format as pan position command above)
4. Pan Position MSB
5. Tilt Position LSB (Same format as tilt position command above)
6. Tilt Position MSB
7. Lamp Status
Bit 0 - Lamp on
Bit 1 - Pan Limit reached
Bit 2 - Tilt Limit reached
Bit 3 - Lamp Recording
Bit 4 - Lamp Playing
Bit 5 - Lamp Overheated (not currently implemented)
Bit 6 - Lamp moving to home
8. Focus position - Value between 0 and 100 - finest focus at value 50.
9. Fault Status 1
Bit 0 - Pan motor current high.
Bit 1 - Tilt motor current high.
Bit 2 - Focus motor current high.
Bit 3 - FBUS +24V out current high.
Bit 4 - Heater current high.
10. Fault Status 2
Bit 0 - Limit switch error.
Bit 1 - Datum error.
Bit 2 - Lamp type invalid.
Bit 3 - Supply voltage out of tolerance.