View Personality
Terbly PDH-2R (TBPDH2RS.R20)
View Table
; 'Terbly PDH-2R Standard', 24 DMX Channels, filename: TBPDH2RS.R20 ; Copyright © Avolites Ltd. 2015 ; ; Date By Description ; 24-05-15 Nic Morris Created ; 24-05-15 Pers Creator Created - Exported from Diamond 4 file. ; 24-05-15 Nic Morris Checked ; 15-08-17 Nic Morris Increased macro delay in response to bug report ; 17-08-17 Nic Morris Revised locate values. ; ;---------------------------------------------------------------------------- ; The device name, upto 11 characters, no spaces are allowed DEVICE TBPDH2RS mode=Standard 24 DMX Channels NAME "Terbly" "PDH-2R Standard" ; ;---------------------------------------------------------------------------- ; The Type of instrument, 1 & M must required for backward compatibility ; The middle number denotes the number of DMX channels used TYPE 1 24 M ; ;---------------------------------------------------------------------------- ; Mirror/Head resolution MIRROR 2 540 270 ; | | | ; | | |_______ 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 Standard" "" "" DAEND ; ;---------------------------------------------------------------------------- ; Specify DMX limits ; ; minimum allowed dmx number MINDMX=1 ; ; maximum allowed dmx number MAXDMX=488 ; ; 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 4 1 L 1 100 1N A 1 "Left Col" 0 0 0 14 1 L 2 100 1N 0 1 "Right Col" 0 0 0 6 1 L 3 100 1N I 1 "Left Gobo" 0 0 0 16 1 L 4 100 1N 0 1 "Right Gobo" 0 0 0 3 61 s 5 100 1N E 1 "Pan" 128 0 0 0 0 L 22 100 1N E 1 "Pan Low" 128 0 0 3 1 s 6 100 1N F 1 "Left Tilt" 128 0 0 0 0 L 23 100 1N F 1 "Left Til Low" 128 0 0 13 1 s 7 100 1N 0 1 "Right Tilt" 128 0 0 0 0 L 24 100 1N 0 1 "Right Ti Low" 128 0 0 8 1 L 8 100 1N 0 1 "P/T Speed" 0 0 0 9 1 L 9 100 1N P 1 "Left Prism" 0 0 0 9 61 L 10 100 1N R 1 "Left Prism R" 0 0 0 19 1 L 11 100 1N 0 1 "Right Prism" 0 0 0 19 61 L 12 100 1N 0 1 "Right Prism " 0 0 0 2 61 L 13 100 1N O 1 "Left Shutter" 48 0 0 1 1 H 14 100 1N H 1 "Left Dimmer" 255 0 0 12 61 L 15 100 1N 0 1 "Right Shutte" 48 0 0 11 1 H 16 100 1N 0 1 "Right Dimmer" 255 0 0 8 61 L 17 100 1N 0 1 "P/T Func" 0 0 0 5 61 L 18 100 1N 0 1 "Pan Spin" 0 0 0 5 1 L 19 100 1N 0 1 "Left Tilt Sp" 0 0 0 15 1 L 20 100 1N 0 1 "Right Tilt S" 0 0 0 11 61 L 21 100 1N 0 1 "Control" 0 0 0 END ; ;---------------------------------------------------------------------------- TEXT Terbly PDH-2R Standard INPUT fixture DMX No. Press a Fixture Select or Swop button to make the patch. END ATTR Function Obsolete END ;---------------------------------------------------------------------------- ; Preset Palette Tables PFTABLE "Pan/Tilt" -1 5 "Middle" 21 80 "Left" 22 4F "Right" 23 B0 "Top" 24 80 "Bottom" 25 80 "TLeft" 26 4F "TRight" 27 B0 "BLeft" 28 4F "BRight" 29 B0 PFEND PFTABLE "Gobo" -1 3 4 "Open" 11 3 3 "Gobo 1" 12 3 3 "Gobo 2" 13 3 3 "Gobo 3" 14 3 3 "Gobo 4" 15 3 3 "Gobo 5" 16 3 3 "Gobo 6" 17 3 3 "Gobo 7" 18 3 3 "Gobo 8" 19 3 3 "Gobo 9" 20 3 3 PFEND ;---------------------------------------------------------------------------- ; Macros MACRO "Lamp On" 1 21 "data" 0 32 "delay" 1 C8 "data" 0 A MEND MACRO "Lamp Off" 2 21 "data" 0 46 "delay" 1 C8 "data" 0 A MEND MACRO "Reset All" 3 21 "data" 0 52 "delay" 1 C8 "data" 0 A MEND MACRO "Reset P/T" 4 21 "data" 0 56 "delay" 1 C8 "data" 0 A MEND MACRO "Reset Col" 5 21 "data" 0 59 "delay" 1 C8 "data" 0 A MEND MACRO "Reset Gobo" 6 21 "data" 0 5C "delay" 1 C8 "data" 0 A MEND MACRO "Reset Int" 7 21 "data" 0 5F "delay" 1 C8 "data" 0 A MEND MACRO "Reset Other" 8 21 "data" 0 62 "delay" 1 C8 "data" 0 A 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 ;Left Col 0 8 "Open" 9 17 "Colour 1" 18 26 "Colour 2" 27 35 "Colour 3" 36 44 "Colour 4" 45 53 "Colour 5" 54 62 "Colour 6" 63 71 "Colour 7" 72 80 "Colour 8" 81 89 "Colour 9" 90 98 "Colour 10" 99 107 "Colour 11" 108 116 "Colour 12" 117 127 "Colour 13" 128 189 "Sc CW %3d%%"100-((c-a)*100/(b-a)) 190 193 "No Scroll" 194 255 "Sc CCW %3d%%"100-((c-a)*100/(b-a)) REND RANGE 2 ;Right Col 0 8 "Open" 9 17 "Colour 1" 18 26 "Colour 2" 27 35 "Colour 3" 36 44 "Colour 4" 45 53 "Colour 5" 54 62 "Colour 6" 63 71 "Colour 7" 72 80 "Colour 8" 81 89 "Colour 9" 90 98 "Colour 10" 99 107 "Colour 11" 108 116 "Colour 12" 117 127 "Colour 13" 128 189 "Sc CW %3d%%"100-((c-a)*100/(b-a)) 190 193 "No Scroll" 194 255 "Sc CCW %3d%%"100-((c-a)*100/(b-a)) REND RANGE 3 ;Left Gobo 0 7 "Open" 8 15 "Gobo 1" 16 23 "Gobo 2" 24 31 "Gobo 3" 32 39 "Gobo 4" 40 47 "Gobo 5" 48 55 "Gobo 6" 56 63 "Gobo 7" 64 71 "Gobo 8" 72 79 "Gobo 9" 80 87 "Gobo 10" 88 95 "Gobo 11" 96 103 "Gobo 12" 104 111 "Gobo 13" 112 119 "Gobo 14" 120 126 "G1 Sk %3d%%"100-((c-a)*100/(b-a)) 127 133 "G2 Sk %3d%%"100-((c-a)*100/(b-a)) 134 140 "G3 Sk %3d%%"100-((c-a)*100/(b-a)) 141 147 "G4 Sk %3d%%"100-((c-a)*100/(b-a)) 148 154 "G5 Sk %3d%%"100-((c-a)*100/(b-a)) 155 161 "G6 Sk %3d%%"100-((c-a)*100/(b-a)) 162 168 "G7 Sk %3d%%"100-((c-a)*100/(b-a)) 169 175 "G8 Sk %3d%%"100-((c-a)*100/(b-a)) 176 182 "G9 Sk %3d%%"100-((c-a)*100/(b-a)) 183 189 "G10 Sk %3d%%"100-((c-a)*100/(b-a)) 190 196 "G11 Sk %3d%%"100-((c-a)*100/(b-a)) 197 203 "G12 Sk %3d%%"100-((c-a)*100/(b-a)) 204 210 "G13 Sk %3d%%"100-((c-a)*100/(b-a)) 211 217 "G14 Sk %3d%%"100-((c-a)*100/(b-a)) 218 255 "Scroll %3d%%"100-((c-a)*100/(b-a)) REND RANGE 4 ;Right Gobo 0 7 "Open" 8 15 "Gobo 1" 16 23 "Gobo 2" 24 31 "Gobo 3" 32 39 "Gobo 4" 40 47 "Gobo 5" 48 55 "Gobo 6" 56 63 "Gobo 7" 64 71 "Gobo 8" 72 79 "Gobo 9" 80 87 "Gobo 10" 88 95 "Gobo 11" 96 103 "Gobo 12" 104 111 "Gobo 13" 112 119 "Gobo 14" 120 126 "G1 Sk %3d%%"100-((c-a)*100/(b-a)) 127 133 "G2 Sk %3d%%"100-((c-a)*100/(b-a)) 134 140 "G3 Sk %3d%%"100-((c-a)*100/(b-a)) 141 147 "G4 Sk %3d%%"100-((c-a)*100/(b-a)) 148 154 "G5 Sk %3d%%"100-((c-a)*100/(b-a)) 155 161 "G6 Sk %3d%%"100-((c-a)*100/(b-a)) 162 168 "G7 Sk %3d%%"100-((c-a)*100/(b-a)) 169 175 "G8 Sk %3d%%"100-((c-a)*100/(b-a)) 176 182 "G9 Sk %3d%%"100-((c-a)*100/(b-a)) 183 189 "G10 Sk %3d%%"100-((c-a)*100/(b-a)) 190 196 "G11 Sk %3d%%"100-((c-a)*100/(b-a)) 197 203 "G12 Sk %3d%%"100-((c-a)*100/(b-a)) 204 210 "G13 Sk %3d%%"100-((c-a)*100/(b-a)) 211 217 "G14 Sk %3d%%"100-((c-a)*100/(b-a)) 218 255 "Scroll %3d%%"100-((c-a)*100/(b-a)) REND RANGE 5 ;Pan 0 255 "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a) REND RANGE 6 ;Left Tilt 0 255 "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a) REND RANGE 7 ;Right Tilt 0 255 "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a) REND RANGE 8 ;P/T Speed 0 225 "Speed %3d%%"100-((c-a)*100/(b-a)) 226 235 "Move in Dk" 236 245 "All in Dark" 246 255 "No Function" REND RANGE 9 ;Left Prism 0 31 "Open" 32 79 "Frost" 80 127 "Prism" 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 10 ;Left Prism Rot 0 127 "Idx %3d%%"100-((c-a)*100/(b-a)) 128 189 "Sp CW %3d%%"100-((c-a)*100/(b-a)) 190 193 "No Spin" 194 255 "Sp CCW %3d%%"100-((c-a)*100/(b-a)) REND RANGE 11 ;Right Prism 0 31 "Open" 32 79 "Frost" 80 127 "Prism" 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 12 ;Right Prism Rot 0 127 "Idx %3d%%"100-((c-a)*100/(b-a)) 128 189 "Sp CW %3d%%"100-((c-a)*100/(b-a)) 190 193 "No Spin" 194 255 "Sp CCW %3d%%"100-((c-a)*100/(b-a)) REND RANGE 13 ;Left Shutter 0 31 "Closed" 32 63 "Open" 64 95 "Strobe %3d%%"(c-a)*100/(b-a) 96 127 "Open" 128 159 "Pulse %3d%%"(c-a)*100/(b-a) 160 191 "Open" 192 223 "Rnd St %3d%%"(c-a)*100/(b-a) 224 255 "Open" REND RANGE 14 ;Left Dimmer 0 255 "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a) REND RANGE 15 ;Right Shutter 0 31 "Closed" 32 63 "Open" 64 95 "Strobe %3d%%"(c-a)*100/(b-a) 96 127 "Open" 128 159 "Pulse %3d%%"(c-a)*100/(b-a) 160 191 "Open" 192 223 "Rnd St %3d%%"(c-a)*100/(b-a) 224 255 "Open" REND RANGE 16 ;Right Dimmer 0 255 "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a) REND RANGE 17 ;P/T Func 0 79 "Tilt Indiv" 80 159 "Tilt Link" 160 255 "Tilt Link M" REND RANGE 18 ;Pan Spin 0 127 "Normal" 128 189 "Sp CW %3d%%"100-((c-a)*100/(b-a)) 190 193 "No Spin" 194 255 "Sp CCW %3d%%"100-((c-a)*100/(b-a)) REND RANGE 19 ;Left Tilt Spin 0 127 "Normal" 128 189 "Sp CW %3d%%"100-((c-a)*100/(b-a)) 190 193 "No Spin" 194 255 "Sp CCW %3d%%"100-((c-a)*100/(b-a)) REND RANGE 20 ;Right Tilt Spin 0 127 "Normal" 128 189 "Sp CW %3d%%"100-((c-a)*100/(b-a)) 190 193 "No Spin" 194 255 "Sp CCW %3d%%"100-((c-a)*100/(b-a)) REND RANGE 21 ;Control 0 19 "Col Normal" 20 29 "Col Any Pos" 30 39 "C/G Any Pos" 40 59 "Lamp On" 60 79 "Lamp Off" 80 84 "Reset All" 85 87 "Reset P/T" 88 90 "Reset Col" 91 93 "Reset Gobo" 94 96 "Reset Int" 97 99 "Reset Other" 100 119 "Program 1" 120 139 "Program 2" 140 159 "Program 3" 160 179 "Program 4" 180 199 "Program 5" 200 219 "Program 6" 220 239 "Program 7" 240 255 "Sound" REND