; 'Omarte Leo-BD30 Leo-BD30@14ch', 14 DMX Channels, filename: @14CH.R20
;  Copyright © Avolites Ltd. 2021
;
;   Date       By                Description
;   19-09-21   Pers Creator      Created - Exported from Diamond 4 file.
;
;----------------------------------------------------------------------------
; The device name, upto 11 characters, no spaces are allowed
DEVICE  14ch                                mode=Leo-BD30@14ch  14 DMX Channels
NAME "Omarte" "Leo-BD30 Leo-BD30@14ch"
;
;----------------------------------------------------------------------------
; The Type of instrument, 1 & M must required for backward compatibility
; The middle number denotes the number of DMX channels used
TYPE  1  14  M
;
;----------------------------------------------------------------------------
; Mirror/Head resolution
MIRROR  2    0    0
;       |    |    |
;       |    |    |_______ 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 Leo-BD30@14ch"
""
""
DAEND
;
;----------------------------------------------------------------------------
; Specify DMX limits
;
; minimum allowed dmx number
MINDMX=1
;
; maximum allowed dmx number
MAXDMX=498
;
; 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..20)
; 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 reduced 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=Colour Wheel 1, 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=Colour Wheel 2, 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 characters 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
1     1   H    1   100   1N   H   1   "Dimmer"          255   255     0
2    61   L    2   100   1N   O   1   "Shutter"           0     0     0
4     1   L    3   100   1N   T   1   "Red"             255   255     0
4    61   L    4   100   1N   U   1   "Green"           255   255     0
5     1   L    5   100   1N   V   1   "Blue"            255   255     0
6     1   L    6   100   1N   0   1   "White"           255   255     0
6    61   I    7   100   1N   A   1   "Colour 1"          0     0     0
5    61   L    8   100   1N   L   1   "Focus"             0     0     0
3    61   s    9   100   1N   E   1   "Pan"             128     0     0
0     0   L   10   100   1N   E   1   "Pan Low"         128     0     0
3     1   s   11   100   1N   F   1   "Tilt"            128     0     0
0     0   L   12   100   1N   F   1   "Tilt Low"        128     0     0
8     1   L   13   100   1N   0   1   "P/T Speed"       255     0     0
8    61   L   14   100   1N   0   1   "Control"           0     0     0
END
;
;----------------------------------------------------------------------------
TEXT
Omarte Leo-BD30
Leo-BD30@14ch

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 "Reset"         1  14
"data"                0  E8
"delay"               1  46
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  ;Dimmer
0   255  "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

RANGE 2  ;Shutter
0   0    "Underfind 0"
1   1    "Underfind 1"
2   2    "Underfind 2"
3   3    "Underfind 3"
4   4    "Underfind 4"
5   5    "Underfind 5"
6   6    "Underfind 6"
7   7    "Underfind 7"
8   8    "Fast Stro 8"
9   9    "Fast Stro 9"
10  10   "Fast Str 10"
11  11   "Fast Str 11"
12  12   "Fast Str 12"
13  13   "Fast Str 13"
14  14   "Fast Str 14"
15  15   "Fast Str 15"
16  16   "Fast Str 16"
17  17   "Fast Str 17"
18  18   "Fast Str 18"
19  19   "Fast Str 19"
20  20   "Fast Str 20"
21  21   "Fast Str 21"
22  22   "Fast Str 22"
23  23   "Fast Str 23"
24  24   "Fast Str 24"
25  25   "Fast Str 25"
26  26   "Fast Str 26"
27  27   "Fast Str 27"
28  28   "Fast Str 28"
29  29   "Fast Str 29"
30  30   "Fast Str 30"
31  31   "Fast Str 31"
32  32   "Fast Str 32"
33  33   "Fast Str 33"
34  34   "Fast Str 34"
35  35   "Fast Str 35"
36  36   "Fast Str 36"
37  37   "Fast Str 37"
38  38   "Fast Str 38"
39  39   "Fast Str 39"
40  40   "Fast Str 40"
41  41   "Fast Str 41"
42  42   "Fast Str 42"
43  43   "Fast Str 43"
44  44   "Fast Str 44"
45  45   "Fast Str 45"
46  46   "Fast Str 46"
47  47   "Fast Str 47"
48  48   "Fast Str 48"
49  49   "Fast Str 49"
50  50   "Fast Str 50"
51  51   "Fast Str 51"
52  52   "Fast Str 52"
53  53   "Fast Str 53"
54  54   "Fast Str 54"
55  55   "Fast Str 55"
56  56   "Fast Str 56"
57  57   "Fast Str 57"
58  58   "Fast Str 58"
59  59   "Fast Str 59"
60  60   "Fast Str 60"
61  61   "Fast Str 61"
62  62   "Fast Str 62"
63  63   "Fast Str 63"
64  64   "Undefine 64"
65  65   "Undefine 65"
66  66   "Undefine 66"
67  67   "Undefine 67"
68  68   "Undefine 68"
69  69   "Undefine 69"
70  70   "Undefine 70"
71  71   "Undefine 71"
72  72   "Fast Pus 72"
73  73   "Fast Pus 73"
74  74   "Fast Pus 74"
75  75   "Fast Pus 75"
76  76   "Fast Pus 76"
77  77   "Fast Pus 77"
78  78   "Fast Pus 78"
79  79   "Fast Pus 79"
80  80   "Fast Pus 80"
81  81   "Fast Pus 81"
82  82   "Fast Pus 82"
83  83   "Fast Pus 83"
84  84   "Fast Pus 84"
85  85   "Fast Pus 85"
86  86   "Fast Pus 86"
87  87   "Fast Pus 87"
88  88   "Fast Pus 88"
89  89   "Fast Pus 89"
90  90   "Fast Pus 90"
91  91   "Fast Pus 91"
92  92   "Fast Pus 92"
93  93   "Fast Pus 93"
94  94   "Fast Pus 94"
95  95   "Fast Pus 95"
96  96   "Fast Pus 96"
97  97   "Fast Pus 97"
98  98   "Fast Pus 98"
99  99   "Fast Pus 99"
100 100  "Fast Pu 100"
101 101  "Fast Pu 101"
102 102  "Fast Pu 102"
103 103  "Fast Pu 103"
104 104  "Fast Pu 104"
105 105  "Fast Pu 105"
106 106  "Fast Pu 106"
107 107  "Fast Pu 107"
108 108  "Fast Pu 108"
109 109  "Fast Pu 109"
110 110  "Fast Pu 110"
111 111  "Fast Pu 111"
112 112  "Fast Pu 112"
113 113  "Fast Pu 113"
114 114  "Fast Pu 114"
115 115  "Fast Pu 115"
116 116  "Fast Pu 116"
117 117  "Fast Pu 117"
118 118  "Fast Pu 118"
119 119  "Fast Pu 119"
120 120  "Fast Pu 120"
121 121  "Fast Pu 121"
122 122  "Fast Pu 122"
123 123  "Fast Pu 123"
124 124  "Fast Pu 124"
125 125  "Fast Pu 125"
126 126  "Fast Pu 126"
127 127  "Fast Pu 127"
128 128  "Undefin 128"
129 129  "Undefin 129"
130 130  "Undefin 130"
131 131  "Undefin 131"
132 132  "Undefin 132"
133 133  "Undefin 133"
134 134  "Slow Pu 134"
135 135  "Slow Pu 135"
136 136  "Slow Pu 136"
137 137  "Slow Pu 137"
138 138  "Slow Pu 138"
139 139  "Slow Pu 139"
140 140  "Slow Pu 140"
141 141  "Slow Pu 141"
142 142  "Slow Pu 142"
143 143  "Slow Pu 143"
144 144  "Slow Pu 144"
145 145  "Slow Pu 145"
146 146  "Slow Pu 146"
147 147  "Slow Pu 147"
148 148  "Slow Pu 148"
149 149  "Slow Pu 149"
150 150  "Slow Pu 150"
151 151  "Slow Pu 151"
152 152  "Slow Pu 152"
153 153  "Slow Pu 153"
154 154  "Slow Pu 154"
155 155  "Slow Pu 155"
156 156  "Slow Pu 156"
157 157  "Slow Pu 157"
158 158  "Slow Pu 158"
159 159  "Slow Pu 159"
160 160  "Slow Pu 160"
161 161  "Slow Pu 161"
162 162  "Slow Pu 162"
163 163  "Slow Pu 163"
164 164  "Slow Pu 164"
165 165  "Slow Pu 165"
166 166  "Slow Pu 166"
167 167  "Slow Pu 167"
168 168  "Slow Pu 168"
169 169  "Slow Pu 169"
170 170  "Slow Pu 170"
171 171  "Slow Pu 171"
172 172  "Slow Pu 172"
173 173  "Slow Pu 173"
174 174  "Slow Pu 174"
175 175  "Slow Pu 175"
176 176  "Slow Pu 176"
177 177  "Slow Pu 177"
178 178  "Slow Pu 178"
179 179  "Slow Pu 179"
180 180  "Slow Pu 180"
181 181  "Slow Pu 181"
182 182  "Slow Pu 182"
183 183  "Slow Pu 183"
184 184  "Slow Pu 184"
185 185  "Slow Pu 185"
186 186  "Slow Pu 186"
187 187  "Slow Pu 187"
188 188  "Slow Pu 188"
189 189  "Slow Pu 189"
190 190  "Undefin 190"
191 191  "Undefin 191"
192 192  "Undefin 192"
193 193  "Undefin 193"
194 194  "Undefin 194"
195 195  "Undefin 195"
196 196  "Random  196"
197 197  "Random  197"
198 198  "Random  198"
199 199  "Random  199"
200 200  "Random  200"
201 201  "Random  201"
202 202  "Random  202"
203 203  "Random  203"
204 204  "Random  204"
205 205  "Random  205"
206 206  "Random  206"
207 207  "Random  207"
208 208  "Random  208"
209 209  "Random  209"
210 210  "Random  210"
211 211  "Random  211"
212 212  "Random  212"
213 213  "Random  213"
214 214  "Random  214"
215 215  "Random  215"
216 216  "Random  216"
217 217  "Random  217"
218 218  "Random  218"
219 219  "Random  219"
220 220  "Random  220"
221 221  "Random  221"
222 222  "Random  222"
223 223  "Random  223"
224 224  "Random  224"
225 225  "Random  225"
226 226  "Random  226"
227 227  "Random  227"
228 228  "Random  228"
229 229  "Random  229"
230 230  "Random  230"
231 231  "Random  231"
232 232  "Random  232"
233 233  "Random  233"
234 234  "Random  234"
235 235  "Random  235"
236 236  "Random  236"
237 237  "Random  237"
238 238  "Random  238"
239 239  "Random  239"
240 240  "Random  240"
241 241  "Random  241"
242 242  "Random  242"
243 243  "Random  243"
244 244  "Random  244"
245 245  "Random  245"
246 246  "Random  246"
247 247  "Random  247"
248 248  "Random  248"
249 249  "Random  249"
250 250  "Random  250"
251 251  "Undefin 251"
252 252  "Undefin 252"
253 253  "Undefin 253"
254 254  "Undefin 254"
255 255  "Undefin 255"
REND

RANGE 3  ;Red
0   255  "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

RANGE 4  ;Green
0   255  "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

RANGE 5  ;Blue
0   255  "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

RANGE 6  ;White
0   255  "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

RANGE 7  ;Colour 1
0   0    "Underfind 0"
1   1    "Underfind 1"
2   2    "Underfind 2"
3   3    "Underfind 3"
4   4    "Underfind 4"
5   5    "Underfind 5"
6   6    "Underfind 6"
7   7    "Underfind 7"
8   8    "Underfind 8"
9   9    "Underfind 9"
10  10   "Underfin 10"
11  11   "Color1 11"
12  12   "Color1 12"
13  13   "Color1 13"
14  14   "Color1 14"
15  15   "Color1 15"
16  16   "Color1 16"
17  17   "Color1 17"
18  18   "Color1 18"
19  19   "Color1 19"
20  20   "Color1 20"
21  21   "Color2 21"
22  22   "Color2 22"
23  23   "Color2 23"
24  24   "Color2 24"
25  25   "Color2 25"
26  26   "Color2 26"
27  27   "Color2 27"
28  28   "Color2 28"
29  29   "Color2 29"
30  30   "Color2 30"
31  31   "Color3 31"
32  32   "Color3 32"
33  33   "Color3 33"
34  34   "Color3 34"
35  35   "Color3 35"
36  36   "Color3 36"
37  37   "Color3 37"
38  38   "Color3 38"
39  39   "Color3 39"
40  40   "Color3 40"
41  41   "Color4 41"
42  42   "Color4 42"
43  43   "Color4 43"
44  44   "Color4 44"
45  45   "Color4 45"
46  46   "Color4 46"
47  47   "Color4 47"
48  48   "Color4 48"
49  49   "Color4 49"
50  50   "Color4 50"
51  51   "Color5 51"
52  52   "Color5 52"
53  53   "Color5 53"
54  54   "Color5 54"
55  55   "Color5 55"
56  56   "Color5 56"
57  57   "Color5 57"
58  58   "Color5 58"
59  59   "Color5 59"
60  60   "Color5 60"
61  61   "Color6 61"
62  62   "Color6 62"
63  63   "Color6 63"
64  64   "Color6 64"
65  65   "Color6 65"
66  66   "Color6 66"
67  67   "Color6 67"
68  68   "Color6 68"
69  69   "Color6 69"
70  70   "Color6 70"
71  71   "Color7 71"
72  72   "Color7 72"
73  73   "Color7 73"
74  74   "Color7 74"
75  75   "Color7 75"
76  76   "Color7 76"
77  77   "Color7 77"
78  78   "Color7 78"
79  79   "Color7 79"
80  80   "Color7 80"
81  81   "Color8 81"
82  82   "Color8 82"
83  83   "Color8 83"
84  84   "Color8 84"
85  85   "Color8 85"
86  86   "Color8 86"
87  87   "Color8 87"
88  88   "Color8 88"
89  89   "Color8 89"
90  90   "Color8 90"
91  91   "Color9 91"
92  92   "Color9 92"
93  93   "Color9 93"
94  94   "Color9 94"
95  95   "Color9 95"
96  96   "Color9 96"
97  97   "Color9 97"
98  98   "Color9 98"
99  99   "Color9 99"
100 100  "Color9 100"
101 101  "Color10 101"
102 102  "Color10 102"
103 103  "Color10 103"
104 104  "Color10 104"
105 105  "Color10 105"
106 106  "Color10 106"
107 107  "Color10 107"
108 108  "Color10 108"
109 109  "Color10 109"
110 110  "Color10 110"
111 111  "Underfi 111"
112 112  "Underfi 112"
113 113  "Underfi 113"
114 114  "Underfi 114"
115 115  "Underfi 115"
116 116  "Underfi 116"
117 117  "Underfi 117"
118 118  "Underfi 118"
119 119  "Underfi 119"
120 120  "Underfi 120"
121 121  "Underfi 121"
122 122  "Underfi 122"
123 123  "Underfi 123"
124 124  "Underfi 124"
125 125  "Underfi 125"
126 126  "Underfi 126"
127 127  "Underfi 127"
128 128  "Underfi 128"
129 129  "Underfi 129"
130 130  "Underfi 130"
131 131  "Underfi 131"
132 132  "Underfi 132"
133 133  "Underfi 133"
134 134  "Underfi 134"
135 135  "Underfi 135"
136 136  "Underfi 136"
137 137  "Underfi 137"
138 138  "Underfi 138"
139 139  "Underfi 139"
140 140  "Underfi 140"
141 141  "Underfi 141"
142 142  "Underfi 142"
143 143  "Underfi 143"
144 144  "Underfi 144"
145 145  "Underfi 145"
146 146  "Underfi 146"
147 147  "Underfi 147"
148 148  "Underfi 148"
149 149  "Underfi 149"
150 150  "Underfi 150"
151 151  "Underfi 151"
152 152  "Underfi 152"
153 153  "Underfi 153"
154 154  "Underfi 154"
155 155  "Underfi 155"
156 156  "Underfi 156"
157 157  "Underfi 157"
158 158  "Underfi 158"
159 159  "Underfi 159"
160 160  "Underfi 160"
161 161  "Underfi 161"
162 162  "Underfi 162"
163 163  "Underfi 163"
164 164  "Underfi 164"
165 165  "Underfi 165"
166 166  "Underfi 166"
167 167  "Underfi 167"
168 168  "Underfi 168"
169 169  "Underfi 169"
170 170  "Underfi 170"
171 171  "Underfi 171"
172 172  "Underfi 172"
173 173  "Underfi 173"
174 174  "Underfi 174"
175 175  "Underfi 175"
176 176  "Underfi 176"
177 177  "Underfi 177"
178 178  "Underfi 178"
179 179  "Underfi 179"
180 180  "Underfi 180"
181 181  "Underfi 181"
182 182  "Underfi 182"
183 183  "Underfi 183"
184 184  "Underfi 184"
185 185  "Underfi 185"
186 186  "Underfi 186"
187 187  "Underfi 187"
188 188  "Underfi 188"
189 189  "Underfi 189"
190 190  "Underfi 190"
191 191  "Underfi 191"
192 192  "Underfi 192"
193 193  "Underfi 193"
194 194  "Underfi 194"
195 195  "Underfi 195"
196 196  "Underfi 196"
197 197  "Underfi 197"
198 198  "Underfi 198"
199 199  "Underfi 199"
120 120  "Color L 120"
121 121  "Color L 121"
122 122  "Color L 122"
123 123  "Color L 123"
124 124  "Color L 124"
125 125  "Color L 125"
126 126  "Color L 126"
127 127  "Color L 127"
128 128  "Color L 128"
129 129  "Color L 129"
130 130  "Color L 130"
131 131  "Color L 131"
132 132  "Color L 132"
133 133  "Color L 133"
134 134  "Color L 134"
135 135  "Color L 135"
136 136  "Color L 136"
137 137  "Color L 137"
138 138  "Color L 138"
139 139  "Color L 139"
140 140  "Color L 140"
141 141  "Color L 141"
142 142  "Color L 142"
143 143  "Color L 143"
144 144  "Color L 144"
145 145  "Color L 145"
146 146  "Color L 146"
147 147  "Color L 147"
148 148  "Color L 148"
149 149  "Color L 149"
150 150  "Color L 150"
151 151  "Color L 151"
152 152  "Color L 152"
153 153  "Color L 153"
154 154  "Color L 154"
155 155  "Color L 155"
156 156  "Color L 156"
157 157  "Color L 157"
158 158  "Color L 158"
159 159  "Color L 159"
160 160  "Color L 160"
161 161  "Color L 161"
162 162  "Color L 162"
163 163  "Color L 163"
164 164  "Color L 164"
165 165  "Color L 165"
166 166  "Color L 166"
167 167  "Color L 167"
168 168  "Color L 168"
169 169  "Color L 169"
170 170  "Color L 170"
171 171  "Color L 171"
172 172  "Color L 172"
173 173  "Color L 173"
174 174  "Color L 174"
175 175  "Color L 175"
176 176  "Color L 176"
177 177  "Color L 177"
178 178  "Color L 178"
179 179  "Color L 179"
180 180  "Color L 180"
181 181  "Color L 181"
182 182  "Color L 182"
183 183  "Color L 183"
184 184  "Color L 184"
185 185  "Color L 185"
186 186  "Color L 186"
187 187  "Color L 187"
188 188  "Color L 188"
189 189  "Color L 189"
190 190  "Color L 190"
191 191  "Color L 191"
192 192  "Color L 192"
193 193  "Color L 193"
194 194  "Color L 194"
195 195  "Color L 195"
196 196  "Color L 196"
197 197  "Color L 197"
198 198  "Color L 198"
199 199  "Color L 199"
200 200  "Color L 200"
201 201  "Color L 201"
202 202  "Color L 202"
203 203  "Color L 203"
204 204  "Color L 204"
205 205  "Color L 205"
206 206  "Color L 206"
207 207  "Color L 207"
208 208  "Color L 208"
209 209  "Color L 209"
210 210  "Color L 210"
211 211  "Color L 211"
212 212  "Color L 212"
213 213  "Color L 213"
214 214  "Color L 214"
215 215  "Color L 215"
216 216  "Color L 216"
217 217  "Color L 217"
218 218  "Color L 218"
219 219  "Color L 219"
220 220  "Color L 220"
221 221  "Color L 221"
222 222  "Color L 222"
223 223  "Color L 223"
224 224  "Color L 224"
225 225  "Color L 225"
226 226  "Color L 226"
227 227  "Color L 227"
228 228  "Color L 228"
229 229  "Color L 229"
230 230  "Color L 230"
231 231  "Color L 231"
232 232  "Color L 232"
233 233  "Color L 233"
234 234  "Color L 234"
235 235  "Color L 235"
236 236  "Color L 236"
237 237  "Color L 237"
238 238  "Color L 238"
239 239  "Color L 239"
240 240  "Color L 240"
241 241  "Color L 241"
242 242  "Color L 242"
243 243  "Color L 243"
244 244  "Color L 244"
245 245  "Color L 245"
246 246  "Color L 246"
247 247  "Color L 247"
248 248  "Color L 248"
249 249  "Color L 249"
250 250  "Color L 250"
251 251  "Underfi 251"
252 252  "Underfi 252"
253 253  "Underfi 253"
254 254  "Underfi 254"
255 255  "Underfi 255"
REND

RANGE 8  ;Focus
0   255  "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

RANGE 9  ;Pan
0   255  "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a)
REND

RANGE 11  ;Tilt
0   255  "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a)
REND

RANGE 13  ;P/T Speed
0   0    "Fastest-- 0"
1   1    "Fastest-- 1"
2   2    "Fastest-- 2"
3   3    "Fastest-- 3"
4   4    "Fastest-- 4"
5   5    "Fastest-- 5"
6   6    "Fastest-- 6"
7   7    "Fastest-- 7"
8   8    "Fastest-- 8"
9   9    "Fastest-- 9"
10  10   "Fastest- 10"
11  11   "Fastest- 11"
12  12   "Fastest- 12"
13  13   "Fastest- 13"
14  14   "Fastest- 14"
15  15   "Fastest- 15"
16  16   "Fastest- 16"
17  17   "Fastest- 17"
18  18   "Fastest- 18"
19  19   "Fastest- 19"
20  20   "Fastest- 20"
21  21   "Fastest- 21"
22  22   "Fastest- 22"
23  23   "Fastest- 23"
24  24   "Fastest- 24"
25  25   "Fastest- 25"
26  26   "Fastest- 26"
27  27   "Fastest- 27"
28  28   "Fastest- 28"
29  29   "Fastest- 29"
30  30   "Fastest- 30"
31  31   "Fastest- 31"
32  32   "Fastest- 32"
33  33   "Fastest- 33"
34  34   "Fastest- 34"
35  35   "Fastest- 35"
36  36   "Fastest- 36"
37  37   "Fastest- 37"
38  38   "Fastest- 38"
39  39   "Fastest- 39"
40  40   "Fastest- 40"
41  41   "Fastest- 41"
42  42   "Fastest- 42"
43  43   "Fastest- 43"
44  44   "Fastest- 44"
45  45   "Fastest- 45"
46  46   "Fastest- 46"
47  47   "Fastest- 47"
48  48   "Fastest- 48"
49  49   "Fastest- 49"
50  50   "Fastest- 50"
51  51   "Fastest- 51"
52  52   "Fastest- 52"
53  53   "Fastest- 53"
54  54   "Fastest- 54"
55  55   "Fastest- 55"
56  56   "Fastest- 56"
57  57   "Fastest- 57"
58  58   "Fastest- 58"
59  59   "Fastest- 59"
60  60   "Fastest- 60"
61  61   "Fastest- 61"
62  62   "Fastest- 62"
63  63   "Fastest- 63"
64  64   "Fastest- 64"
65  65   "Fastest- 65"
66  66   "Fastest- 66"
67  67   "Fastest- 67"
68  68   "Fastest- 68"
69  69   "Fastest- 69"
70  70   "Fastest- 70"
71  71   "Fastest- 71"
72  72   "Fastest- 72"
73  73   "Fastest- 73"
74  74   "Fastest- 74"
75  75   "Fastest- 75"
76  76   "Fastest- 76"
77  77   "Fastest- 77"
78  78   "Fastest- 78"
79  79   "Fastest- 79"
80  80   "Fastest- 80"
81  81   "Fastest- 81"
82  82   "Fastest- 82"
83  83   "Fastest- 83"
84  84   "Fastest- 84"
85  85   "Fastest- 85"
86  86   "Fastest- 86"
87  87   "Fastest- 87"
88  88   "Fastest- 88"
89  89   "Fastest- 89"
90  90   "Fastest- 90"
91  91   "Fastest- 91"
92  92   "Fastest- 92"
93  93   "Fastest- 93"
94  94   "Fastest- 94"
95  95   "Fastest- 95"
96  96   "Fastest- 96"
97  97   "Fastest- 97"
98  98   "Fastest- 98"
99  99   "Fastest- 99"
100 100  "Fastest 100"
101 101  "Fastest 101"
102 102  "Fastest 102"
103 103  "Fastest 103"
104 104  "Fastest 104"
105 105  "Fastest 105"
106 106  "Fastest 106"
107 107  "Fastest 107"
108 108  "Fastest 108"
109 109  "Fastest 109"
110 110  "Fastest 110"
111 111  "Fastest 111"
112 112  "Fastest 112"
113 113  "Fastest 113"
114 114  "Fastest 114"
115 115  "Fastest 115"
116 116  "Fastest 116"
117 117  "Fastest 117"
118 118  "Fastest 118"
119 119  "Fastest 119"
120 120  "Fastest 120"
121 121  "Fastest 121"
122 122  "Fastest 122"
123 123  "Fastest 123"
124 124  "Fastest 124"
125 125  "Fastest 125"
126 126  "Fastest 126"
127 127  "Fastest 127"
128 128  "Fastest 128"
129 129  "SlowSpe 129"
130 130  "SlowSpe 130"
131 131  "SlowSpe 131"
132 132  "SlowSpe 132"
133 133  "SlowSpe 133"
134 134  "SlowSpe 134"
135 135  "SlowSpe 135"
136 136  "SlowSpe 136"
137 137  "SlowSpe 137"
138 138  "SlowSpe 138"
139 139  "SlowSpe 139"
140 140  "SlowSpe 140"
141 141  "SlowSpe 141"
142 142  "SlowSpe 142"
143 143  "SlowSpe 143"
144 144  "SlowSpe 144"
145 145  "SlowSpe 145"
146 146  "SlowSpe 146"
147 147  "SlowSpe 147"
148 148  "SlowSpe 148"
149 149  "SlowSpe 149"
150 150  "SlowSpe 150"
151 151  "SlowSpe 151"
152 152  "SlowSpe 152"
153 153  "SlowSpe 153"
154 154  "SlowSpe 154"
155 155  "SlowSpe 155"
156 156  "SlowSpe 156"
157 157  "SlowSpe 157"
158 158  "SlowSpe 158"
159 159  "SlowSpe 159"
160 160  "SlowSpe 160"
161 161  "SlowSpe 161"
162 162  "SlowSpe 162"
163 163  "SlowSpe 163"
164 164  "SlowSpe 164"
165 165  "SlowSpe 165"
166 166  "SlowSpe 166"
167 167  "SlowSpe 167"
168 168  "SlowSpe 168"
169 169  "SlowSpe 169"
170 170  "SlowSpe 170"
171 171  "MediumS 171"
172 172  "MediumS 172"
173 173  "MediumS 173"
174 174  "MediumS 174"
175 175  "MediumS 175"
176 176  "MediumS 176"
177 177  "MediumS 177"
178 178  "MediumS 178"
179 179  "MediumS 179"
180 180  "MediumS 180"
181 181  "MediumS 181"
182 182  "MediumS 182"
183 183  "MediumS 183"
184 184  "MediumS 184"
185 185  "MediumS 185"
186 186  "MediumS 186"
187 187  "MediumS 187"
188 188  "MediumS 188"
189 189  "MediumS 189"
190 190  "MediumS 190"
191 191  "MediumS 191"
192 192  "MediumS 192"
193 193  "MediumS 193"
194 194  "MediumS 194"
195 195  "MediumS 195"
196 196  "MediumS 196"
197 197  "MediumS 197"
198 198  "MediumS 198"
199 199  "MediumS 199"
200 200  "MediumS 200"
201 201  "MediumS 201"
202 202  "MediumS 202"
203 203  "MediumS 203"
204 204  "MediumS 204"
205 205  "MediumS 205"
206 206  "MediumS 206"
207 207  "MediumS 207"
208 208  "MediumS 208"
209 209  "MediumS 209"
210 210  "MediumS 210"
211 211  "MediumS 211"
212 212  "Fast Sp 212"
213 213  "Fast Sp 213"
214 214  "Fast Sp 214"
215 215  "Fast Sp 215"
216 216  "Fast Sp 216"
217 217  "Fast Sp 217"
218 218  "Fast Sp 218"
219 219  "Fast Sp 219"
220 220  "Fast Sp 220"
221 221  "Fast Sp 221"
222 222  "Fast Sp 222"
223 223  "Fast Sp 223"
224 224  "Fast Sp 224"
225 225  "Fast Sp 225"
226 226  "Fast Sp 226"
227 227  "Fast Sp 227"
228 228  "Fast Sp 228"
229 229  "Fast Sp 229"
230 230  "Fast Sp 230"
231 231  "Fast Sp 231"
232 232  "Fast Sp 232"
233 233  "Fast Sp 233"
234 234  "Fast Sp 234"
235 235  "Fast Sp 235"
236 236  "Fast Sp 236"
237 237  "Fast Sp 237"
238 238  "Fast Sp 238"
239 239  "Fast Sp 239"
240 240  "Fast Sp 240"
241 241  "Fast Sp 241"
242 242  "Fast Sp 242"
243 243  "Fast Sp 243"
244 244  "Fast Sp 244"
245 245  "Fast Sp 245"
246 246  "Fast Sp 246"
247 247  "Fast Sp 247"
248 248  "Fast Sp 248"
249 249  "Fast Sp 249"
250 250  "Fast Sp 250"
251 251  "Fast Sp 251"
252 252  "Fast Sp 252"
253 253  "Fast Sp 253"
254 254  "Fast Sp 254"
255 255  "Fast Sp 255"
REND

RANGE 14  ;Control
0   0    "Safe 0"
1   1    "Safe 1"
2   2    "Safe 2"
3   3    "Safe 3"
4   4    "Safe 4"
5   5    "Safe 5"
6   6    "Safe 6"
7   7    "Safe 7"
8   8    "Safe 8"
9   9    "Safe 9"
10  10   "Safe 10"
11  11   "Safe 11"
12  12   "Safe 12"
13  13   "Safe 13"
14  14   "Safe 14"
15  15   "Safe 15"
16  16   "Safe 16"
17  17   "Safe 17"
18  18   "Safe 18"
19  19   "Safe 19"
20  20   "Safe 20"
21  21   "Safe 21"
22  22   "Safe 22"
23  23   "Safe 23"
24  24   "Safe 24"
25  25   "Safe 25"
26  26   "Safe 26"
27  27   "Safe 27"
28  28   "Safe 28"
29  29   "Safe 29"
30  30   "Safe 30"
31  31   "Safe 31"
32  32   "Safe 32"
33  33   "Safe 33"
34  34   "Safe 34"
35  35   "Safe 35"
36  36   "Safe 36"
37  37   "Safe 37"
38  38   "Safe 38"
39  39   "Safe 39"
40  40   "Safe 40"
41  41   "Safe 41"
42  42   "Safe 42"
43  43   "Safe 43"
44  44   "Safe 44"
45  45   "Safe 45"
46  46   "Safe 46"
47  47   "Safe 47"
48  48   "Safe 48"
49  49   "Safe 49"
50  50   "Safe 50"
51  51   "Safe 51"
52  52   "Safe 52"
53  53   "Safe 53"
54  54   "Safe 54"
55  55   "Safe 55"
56  56   "Safe 56"
57  57   "Safe 57"
58  58   "Safe 58"
59  59   "Safe 59"
60  60   "Safe 60"
61  61   "Safe 61"
62  62   "Safe 62"
63  63   "Safe 63"
64  64   "Safe 64"
65  65   "Safe 65"
66  66   "Safe 66"
67  67   "Safe 67"
68  68   "Safe 68"
69  69   "Safe 69"
70  70   "Safe 70"
71  71   "Safe 71"
72  72   "Safe 72"
73  73   "Safe 73"
74  74   "Safe 74"
75  75   "Safe 75"
76  76   "Safe 76"
77  77   "Safe 77"
78  78   "Safe 78"
79  79   "Safe 79"
80  80   "Safe 80"
81  81   "Safe 81"
82  82   "Safe 82"
83  83   "Safe 83"
84  84   "Safe 84"
85  85   "Safe 85"
86  86   "Safe 86"
87  87   "Safe 87"
88  88   "Safe 88"
89  89   "Safe 89"
90  90   "Safe 90"
91  91   "Safe 91"
92  92   "Safe 92"
93  93   "Safe 93"
94  94   "Safe 94"
95  95   "Safe 95"
96  96   "Safe 96"
97  97   "Safe 97"
98  98   "Safe 98"
99  99   "Safe 99"
100 100  "Safe 100"
101 101  "Safe 101"
102 102  "Safe 102"
103 103  "Safe 103"
104 104  "Safe 104"
105 105  "Safe 105"
106 106  "Safe 106"
107 107  "Safe 107"
108 108  "Safe 108"
109 109  "Safe 109"
110 110  "Safe 110"
111 111  "Safe 111"
112 112  "Safe 112"
113 113  "Safe 113"
114 114  "Safe 114"
115 115  "Safe 115"
116 116  "Safe 116"
117 117  "Safe 117"
118 118  "Safe 118"
119 119  "Safe 119"
120 120  "Safe 120"
121 121  "Safe 121"
122 122  "Safe 122"
123 123  "Safe 123"
124 124  "Safe 124"
125 125  "Safe 125"
126 126  "Safe 126"
127 127  "Safe 127"
128 128  "Safe 128"
129 129  "Safe 129"
130 130  "Safe 130"
131 131  "Safe 131"
132 132  "Safe 132"
133 133  "Safe 133"
134 134  "Safe 134"
135 135  "Safe 135"
136 136  "Safe 136"
137 137  "Safe 137"
138 138  "Safe 138"
139 139  "Safe 139"
140 140  "Safe 140"
141 141  "Safe 141"
142 142  "Safe 142"
143 143  "Safe 143"
144 144  "Safe 144"
145 145  "Safe 145"
146 146  "Safe 146"
147 147  "Safe 147"
148 148  "Safe 148"
149 149  "Safe 149"
150 150  "Safe 150"
151 151  "Safe 151"
152 152  "Safe 152"
153 153  "Safe 153"
154 154  "Safe 154"
155 155  "Safe 155"
156 156  "Safe 156"
157 157  "Safe 157"
158 158  "Safe 158"
159 159  "Safe 159"
160 160  "Safe 160"
161 161  "Safe 161"
162 162  "Safe 162"
163 163  "Safe 163"
164 164  "Safe 164"
165 165  "Safe 165"
166 166  "Safe 166"
167 167  "Safe 167"
168 168  "Safe 168"
169 169  "Safe 169"
170 170  "Safe 170"
171 171  "Safe 171"
172 172  "Safe 172"
173 173  "Safe 173"
174 174  "Safe 174"
175 175  "Safe 175"
176 176  "Safe 176"
177 177  "Safe 177"
178 178  "Safe 178"
179 179  "Safe 179"
180 180  "Safe 180"
181 181  "Safe 181"
182 182  "Safe 182"
183 183  "Safe 183"
184 184  "Safe 184"
185 185  "Safe 185"
186 186  "Safe 186"
187 187  "Safe 187"
188 188  "Safe 188"
189 189  "Safe 189"
190 190  "Safe 190"
191 191  "Safe 191"
192 192  "Safe 192"
193 193  "Safe 193"
194 194  "Safe 194"
195 195  "Safe 195"
196 196  "Safe 196"
197 197  "Safe 197"
198 198  "Safe 198"
199 199  "Safe 199"
200 200  "Safe 200"
201 201  "Safe 201"
202 202  "Safe 202"
203 203  "Safe 203"
204 204  "Safe 204"
205 205  "Safe 205"
206 206  "Safe 206"
207 207  "Safe 207"
208 208  "Safe 208"
209 209  "Safe 209"
210 210  "Safe 210"
211 211  "Safe 211"
212 212  "Safe 212"
213 213  "Safe 213"
214 214  "Safe 214"
215 215  "Safe 215"
216 216  "Safe 216"
217 217  "Safe 217"
218 218  "Safe 218"
219 219  "Safe 219"
220 220  "Safe 220"
221 221  "Safe 221"
222 222  "Safe 222"
223 223  "Safe 223"
224 224  "Safe 224"
225 225  "Safe 225"
226 226  "Safe 226"
227 227  "Safe 227"
228 228  "Safe 228"
229 229  "Safe 229"
230 230  "Safe 230"
231 231  "Safe 231"
232 232  "Reset A 232"
233 233  "Reset A 233"
234 234  "Reset A 234"
235 235  "Reset A 235"
236 236  "Reset A 236"
237 237  "Reset A 237"
238 238  "Reset A 238"
239 239  "Reset A 239"
240 240  "Reset A 240"
241 241  "Reset A 241"
242 242  "Reset A 242"
243 243  "Reset A 243"
244 244  "Reset A 244"
245 245  "Reset A 245"
246 246  "Reset A 246"
247 247  "Reset A 247"
248 248  "Reset A 248"
249 249  "Reset A 249"
250 250  "Reset A 250"
251 251  "Reset A 251"
252 252  "Reset A 252"
253 253  "Reset A 253"
254 254  "Reset A 254"
255 255  "Reset A 255"
REND

