; 'Triton Blue Mini Spot 250 SP', 11 DMX Channels, filename: TTMS250S.R20
;
;   Date       By                Description
;   14-09-07   M Freile          Created - TRITON BLUE
;   14-09-07   M Freile          Checked
;
;----------------------------------------------------------------------------
; The device name, upto 11 characters, no spaces are allowed
DEVICE  TT_MS250SP                          mode=11 DMX, 8bit  11 DMX Channels
NAME "Triton Blue" "Mini Spot 250 SP"
;
;----------------------------------------------------------------------------
; The Type of instrument, 1 & M must required for backward compatibility
; The middle number denotes the number of DMX channels used
TYPE  1  11  M
;
;----------------------------------------------------------------------------
; Mirror/Head resolution
MIRROR  2   540  265
;       |    |    |
;       |    |    |_______ maximum tilt movement (in degrees)
;       |    |____________ maximum pan movement (in degrees)
;       |_________________ 1 means moving mirror, 2 means moving head
;
;----------------------------------------------------------------------------
; Patching Information. (Upto 10 lines allowed)
; Upto 10 lines of 159 chars are allowed including formulae
; Variables used d=dmx number(1..512), h=handle(1..60), n=devicename (11-char)
; Allowed modifiers
;   +,-,*,/,(,) basic arithmatic
;   % means remainder after divide
;   & means logical AND
;   | means logical OR
;   R means reverse the bits of the current result (operates on a byte)
;   ^ means logical Exclusive OR (operates on a byte)
;   > means shift to the right
;   < shift to the left
;   r followed by number means get the value of that parameter
;   d DMX address
;   n Fixture name, a 0 terminated character string
;   h The handle number
DEVICEADDRESS
"Handle  %2d"h
"Fixture %11s"n
"DMX     %03d"d
""
""
"Set to 11 DMX, 8bit"
""
""
DAEND
;
;----------------------------------------------------------------------------
; Specify DMX limits
;
; minimum allowed dmx number
MINDMX=1
;
; maximum allowed dmx number
MAXDMX=501
;
; DMX number must be divisible by this
DIVBY=1
;
;----------------------------------------------------------------------------
; DMX channel description
;
; Column by column description of each DMX channel
; 1. The channels bank number (1..12)
; 2. The upper faders in the bank (1) or the lower faders in the bank (61)
; 3. Channel type (L=LTP, H=HTP, I=Instant LTP, S=16-bit instant LTP,
;    s=16-bit Fadeable LTP
; 4. DMX offset (1..number of DMX channels)
; 5. The output level is proportionally recdced by this level (0..100%)
; 6. The curve number (applicable only to HTP channels), usually set to 1
; 7. Inverted (I) or Normal (N)
; 8. Attribute type (A=Color Wheel1, B=Cyan, C=Magenta, D=Yellow,
;         E=Pan, F=Tilt, G=Iris, H=Dimmer, I=Gobo1, J=Gobo2, K=Gobo1_Rotate,
;         L=Focus, M=Gobo2_Rotate, N=Color Wheel2, O=Shutter, P=Prism, Q=Zoom,
;         R=Effect_Rotate, S=Frost, T=Red, U=Green, V=Blue, 0=uncategorised)
; 9. Checksum channel (Always 1)
;10. Attribute name, must be enclosed in quotes and upto 12 charcaters allowed
;11. The ON value of this channel (0..255)
;12. The Highlight level of this channel
;13. The Lowlight level of this channel
;
DMX
4     1   I    1   100   1N   A   1   "Colour 1"          0     0     0
6     1   I    2   100   1N   I   1   "Gobo 1"            0     0     0
6    61   L    3   100   1N   K   1   "Gobo 1 Rot"        0     0     0
2    61   I    4   100   1N   O   1   "Shutter"          48     0     0
3     1   L    5   100   1N   E   1   "Pan"             128     0     0
3    61   L    6   100   1N   F   1   "Tilt"            128     0     0
8     1   L    7   100   1N   0   1   "P/T Speed"         0     0     0
9     1   L    8   100   1N   P   1   "Prism"             0     0     0
5    61   L    9   100   1N   L   1   "Focus"           128     0     0
1     1   H   10   100   1N   H   1   "Dimmer"          255     0     0
10    1   I   11   100   1N   0   1   "Control"           0     0     0
END
;
;----------------------------------------------------------------------------
TEXT
Triton Blue Mini Spot 250 SP
11 DMX, 8bit

INPUT fixture DMX No.
Press a Fixture
Select or Swop button
to make the patch.
END

ATTR
Function Obsolete
END

;----------------------------------------------------------------------------
; Preset Palette Tables

;----------------------------------------------------------------------------
; Macros

MACRO "Lamp On"       1  11
"data"                0  28
"delay"               1  40
"data"                0  28
"delay"               1  40
MEND

MACRO "Lamp Off"      2  11
"data"                0  3e
"delay"               1  40
"data"                0  3e
"delay"               1  40
MEND

MACRO "Reset"         3  11
"data"                0  52
"delay"               1  3f
"data"                0  52
"delay"               1  3f
MEND
;----------------------------------------------------------------------------
; Range Tables

; Column by column description...
; 1. Low DMX value (inclusive)
; 2. High DMX value (inclusive)
; 3. Displayed text (max 11 chars)
; Variables used a=low val, b=high val, c=DMX val

RANGE 1  ;Colour 1
0   12   "Open"
13  25   "Colour 1"
26  38   "Colour 2"
39  51   "Colour 3"
52  64   "Colour 4"
65  77   "Colour 5"
78  90   "Colour 6"
91  103  "Colour 7"
104 116  "Colour 8"
117 127  "Colour 9"
128 187  "Sc CW %3d%%"100-(((c-a)*100)/(b-a))
188 193  "No Scroll"
194 255  "Sc CCW %3d%%"0+(((c-a)*100)/(b-a))
REND

RANGE 2  ;Gobo 1
0   9    "Open"
10  19   "Gobo 1"
20  29   "Gobo 2"
30  39   "Gobo 3"
40  49   "Gobo 4"
50  59   "Gobo 5"
60  69   "Gobo 6"
70  79   "Gobo 7"
80  99   "Gobo 1 %3d%%"0+(((c-a)*100)/(b-a))
100 119  "Gobo 2 %3d%%"0+(((c-a)*100)/(b-a))
120 139  "Gobo 3 %3d%%"0+(((c-a)*100)/(b-a))
140 159  "Gobo 4 %3d%%"0+(((c-a)*100)/(b-a))
160 179  "Gobo 5 %3d%%"0+(((c-a)*100)/(b-a))
180 199  "Gobo 6 %3d%%"0+(((c-a)*100)/(b-a))
200 219  "Gobo 7 %3d%%"0+(((c-a)*100)/(b-a))
220 255  "Scroll %3d%%"0+(((c-a)*100)/(b-a))
REND

RANGE 3  ;Gobo 1 Rot
0   7    "No Scroll"
8   127  "Sc CW %3d%%"100-(((c-a)*100)/(b-a))
128 135  "No Scroll"
136 255  "Sc CCW %3d%%"0+(((c-a)*100)/(b-a))
REND

RANGE 4  ;Shutter
0   31   "Closed"
32  63   "Open"
64  95   "Strobe %3d%%"0+(((c-a)*100)/(b-a))
96  127  "Open"
128 159  "Pulse %3d%%"0+(((c-a)*100)/(b-a))
160 191  "Open"
192 223  "Rnd St %3d%%"0+(((c-a)*100)/(b-a))
224 255  "Open"
REND

RANGE 7  ;P/T Speed
0   225  "Speed %3d%%"100-(((c-a)*100)/(b-a))
226 235  "BO P/T"
236 245  "BO All"
246 255  "Safe"
REND

RANGE 8  ;Prism
64  64   "Prism"
0   3    "Open"
4   63   "Sp CW %3d%%"100-(((c-a)*100)/(b-a))
64  67   "No Spin"
68  127  "Sp CCW %3d%%"0+(((c-a)*100)/(b-a))
128 135  "Macro 1"
136 143  "Macro 2"
144 151  "Macro 3"
152 159  "Macro 4"
160 167  "Macro 5"
168 175  "Macro 6"
176 183  "Macro 7"
184 191  "Macro 8"
192 199  "Macro 9"
200 207  "Macro 10"
208 215  "Macro 11"
216 223  "Macro 12"
224 231  "Macro 13"
232 239  "Macro 14"
240 247  "Macro 15"
248 255  "Macro 16"
REND

RANGE 11  ;Control
0   19   "Normal Col"
20  39   "Any Col"
40  59   "Lamp On"
60  79   "Lamp Off"
80  99   "Reset All"
100 119  "Macro 1"
120 139  "Macro 2"
140 159  "Macro 3"
160 179  "Macro 4"
180 199  "Macro 5"
200 219  "Macro 6"
220 239  "Macro 7"
240 255  "Macro 8"
REND

