// Fixture  DTS XM1200 Spot
//
// Written by: Jon Lenard jon@appliednn.com
// Date: 10/28/08
// Modified From: NEW 
//

Fixture
   version = 1.0
   manufacturer = "DTS"
   name = "XM1200Spt"
//  fullmanufacturer = "DTS"
//  fullname = "XM 1200 Spot"
//  mode = 2
//  description = "30ch mode"

    attribute
      name = "PAN"
      channel = 1
      fineChan = 2
      homeVal = 32768
      
	attribute
		name = "TILT"
		channel = 3
		fineChan = 4
		homeVal = 32768
		
	attribute
		name = "PT SPEED"
		channel = 5
		homeVal = 0
		
	attribute
		name = "INTENSITY"
		channel = 6
		
	attribute
		name = "SHUTTER"
		channel = 7
		homeVal = 255
		
	attribute
		name = "COLOR"
		channel = 8
		homeVal = 0
		
	attribute
		name = "COL MODE"
		channel = 9
		homeVal = 0
		
	attribute
		name = "CYAN"
		channel = 10
		homeVal = 0
		
	attribute
		name = "MAGENTA"
		channel = 11
		homeVal = 0
		
	attribute
		name = "YELLOW"
		channel = 12
		homeVal = 0
		
	attribute
		name = "CMY MACRO"
		channel = 13
		homeVal = 0
		
	attribute
		name = "GOBO 1"
		channel = 14
		homeVal = 0
		
	attribute
		name = "GOBO1 MODE"
		channel = 15
		homeVal = 0
		
	attribute
		name = "GOBO1<>"
		channel = 16
		fineChan =17
		homeVal = 0
		
	attribute
		name = "GOBO1SHK"
		channel = 18
		homeVal = 0
		
	attribute
		name = "GOBO 2"
		channel = 19
		homeVal = 0
		
	attribute
		name = "GOBO2 MODE"
		channel = 20
		homeVal = 0
		
	attribute
		name = "GOBO2<>"
		channel = 21
		fineChan =22
		homeVal = 0
		
	attribute
		name = "GOBO2SHK"
		channel = 23
		homeVal = 0
		
    attribute
		name = "IRIS"
		channel = 24
		homeVal = 255
		
	attribute
		name = "IRIS MACRO"
		channel = 25
		homeVal = 0
		
	attribute
		name = "FX"
		channel = 26
		homeVal = 0
		
	attribute
		name = "FX<>"
		channel = 27
		homeVal = 0
	
	attribute
		name = "FOCUS"
		channel = 28
		homeVal = 0
		
	attribute
		name = "ZOOM"
		channel = 29
		homeVal = 0
		
	attribute
		name = "CONTROL"
		channel = 30
		homeVal = 0
		
////////////////////////////////////////////////////////////
		
	parameter
		name = "-PAN-"
		displayerNum = 1
		type = F
		attribList = 1
		stop = (M  0:65535),D,0,540,"Pan=" 
		
	parameter
		name = "-TILT-"
		displayerNum = 2 
		type = F
		attribList = 3 
		stop = (M  0:65535),D,0,270,"Ti@=" 		
		
	parameter
		name = "-CYAN-"
		displayerNum = 3 
		type = C
		attribList = 10 
		stop = (M  0:255),2,"Cyan="
		
	parameter
		name = "-MAGNTA-"
		displayerNum = 4
		type = C
		attribList = 11 
		stop = (M  0:255),2,"Mgnta="
		
	parameter
		name = "-YELLOW-"
		displayerNum = 5
		type = C
		attribList = 12 
		stop = (M  0:255),2,"Yellow="
		
	parameter
		name = "-CYMMACRO-"
		displayerNum = 6
		type = C
		attribList = 13
		stop = (   0:  9),N,"No Macro"             
     	stop = (  10: 44),N,"Macro 1"                 
        stop = (  45: 79),N,"Macro 2"               
		stop = (  80:114),N,"Macro 3"             
        stop = ( 115:149),N,"Macro 4"           
		stop = ( 150:184),N,"Macro 5"        
        stop = ( 185:219),N,"Macro 6"               
		stop = ( 220:255),N,"Macro 7"            

	parameter
		name = "-COLOR-"
		displayerNum = 7
		type = C
		attribList = 8,9
		stop = (   0: 27,R 0: 63),N,"Color 1"
		stop = (  28: 55,R 0: 63),N,"Color 2"
		stop = (  56: 83,R 0: 63),N,"Color 3"
		stop = (  84:111,R 0: 63),N,"Color 4"
		stop = ( 112:139,R 0: 63),N,"Color 5"              
        stop = ( 140:167,R 0: 63),N,"Color 6"              
		stop = ( 168:195,R 0: 63),N,"Color 7"              
        stop = ( 196:223,R 0: 63),N,"Color 8"              
		stop = ( 224:225,R 0: 63),N,"Color 9"              
                      
		stop = (   0: 25,R 64:127),N,"NoColor"               
        stop = (  26: 51,R 64:127),N,"BiCol1-2"               
		stop = (  52: 77,R 64:127),N,"BiCol2-3"               
        stop = (  78:103,R 64:127),N,"BiCol3-4" 
		stop = ( 104:129,R 64:127),N,"BiCol4-5" 
        stop = ( 130:155,R 64:127),N,"BiCol5-6" 
		stop = ( 156:181,R 64:127),N,"BiCol6-7" 
        stop = ( 182:207,R 64:127),N,"BiCol7-8" 
		stop = ( 208:233,R 64:127),N,"BiCol8-9" 
        stop = ( 234:255,R 64:127),N,"BiCol9-1" 
		
        stop = (M  0:255,R128:191),2,"Color="
        
        stop = (   0:  9,R192:255),N,"No Color"
        stop = (M 10:127,R192:255),2,"CWhl<:"
		stop = ( 128:137,R192:255),N,"Stop"	
        stop = (M138:255,R192:255),2,"CWhl>:"
		
	parameter
		name = "-COLORMODE-"
		displayerNum = 8
		type = C
		attribList = 9
		stop = (   0: 63),N,"Full Col"
		stop = (  64:127),N,"Half Col"
		stop = ( 128:191),N,"Proport"
		stop = ( 192:255),N,"Rainbow"
		
	parameter
		name = "-GOBO 1-"
		displayerNum = 9
		type = B 
		attribList = 14
		stop = (   0: 29),N,"No Gobo"
		stop = (  30: 59),N,"Gobo1.1"
		stop = (  60: 89),N,"Gobo1.2"
		stop = (  90:119),N,"Gobo1.3"
		stop = ( 120:149),N,"Gobo1.4"
		stop = ( 150:179),N,"Gobo1.5"
		stop = ( 180:207),N,"Gobo1.6"
		stop = (M208:255),2,"GWhl<:"
				
	parameter
		name = "-GOBO 1<>-"
		displayerNum = 10
		type = B
		attribList = 15,16
		stop = (  0:127,     0: 2559),N,"Stop" 
        stop = (  0:127,M32767: 2560),2,"Gobo<:"  
        stop = (  0:127,R32768:35327),N,"Stop" 
		stop = (  0:127,M35328:65535),2,"Gobo>:" 
		stop = (128:255,M    0:65535),2,"Index:" 
		
	parameter
		name = "-GOBO1SHK-"
		displayerNum = 11
		type = B
		attribList = 18
		stop = (   0:  9),N,"No Shake" 
		stop = (M 10:126),2,"R-L:"
		stop = (R127:138),N,"No Shake" 
		stop = (M139:255),2,"L-R:"
		
	parameter
		name = "-GOBO 2-"
		displayerNum = 12
		type = B 
		attribList = 19
		stop = (   0: 29),N,"No Gobo"
		stop = (  30: 59),N,"Gobo2.1"
		stop = (  60: 89),N,"Gobo2.2"
		stop = (  90:119),N,"Gobo2.3"
		stop = ( 120:149),N,"Gobo2.4"
		stop = ( 150:179),N,"Gobo2.5"
		stop = ( 180:207),N,"Gobo2.6"
		stop = (M208:255),2,"GWhl<:"
				
	parameter
		name = "-GOBO 2<>-"
		displayerNum = 13
		type = B
		attribList = 20,21
		stop = (  0:127,     0: 2559),N,"Stop"              
        stop = (  0:127,M32767: 2560),2,"Gobo<:"  
        stop = (  0:127,R32768:35327),N,"Stop"  
		stop = (  0:127,M35328:65535),2,"Gobo>:"             
		stop = (128:255,M    0:65535),2,"Index:"             
		
	parameter
		name = "-GOBO2SHK-"
		displayerNum = 14
		type = B
		attribList = 23
		stop = (   0:  9),N,"No Shake" 
		stop = (M 10:126),2,"R-L:"
		stop = (R127:138),N,"No Shake" 
		stop = (M139:255),2,"L-R:"		
		
     parameter                      		
        name = "-FOCUS-"            		
        displayerNum = 15           		
        type = B                    		
        attribList = 28             		
        stop = (M  0:255),2,"Focus="		

     parameter                           		
        name = "-ZOOM-"            		
        displayerNum = 16          		
        type = B                   		
        attribList = 29            		
        stop = (M  0:255),2,"Zoom="		
		
    parameter                     		
       name = "-IRIS-"            		
       displayerNum = 17          		
       type = B                   		
       attribList = 24            		
       stop = (M 255:  0),2,"Iris="		
		
	parameter                      		
		name = "IRISMACRO"               
		displayerNum = 18             
		type = B                      
		attribList = 25               
		stop = (  0:  9),N,"No Macro"	  
		stop = (M 63: 10),2,"Pulse:"
		stop = (M 64:117),2,"PlsFlsC:"
		stop = (M118:172),2,"PlsFlsO:" 
		stop = (M172:213),2,"PlFlZmC:" 
		stop = (M214:255),2,"PlFlZmO:" 

	parameter
		name = "-FX-"
		displayerNum = 19
		type = B 
		attribList = 26
		stop = (   0: 41),N,"No FX"
		stop = (  42: 83),N,"Frost"
		stop = (  84:125),N,"CometPrsm"
		stop = ( 126:167),N,"3FacPrism"
		stop = ( 168:209),N,"4FacPrism"
		stop = ( 210:255),N,"5FacPrism"
		
	parameter
		name = "-FX<>-"
		displayerNum = 20
		type = B
		attribList = 27
		stop = (M  0:127),2,"Index:"
		stop = (M128:180),2,"Prsm<:"
		stop = ( 181:202),N,"Stop"
		stop = (M203:255),2,"Prsm>:"

	parameter
		name = "-SHUTTER-"
		displayerNum =  21
		type = B
		attribList = 7
		stop = (   0: 19),N,"Closed"
		stop = (R 20: 39),N,"Open"				
		stop = (R 40: 59),N,"Closed"	
		stop = (  60: 79),N,"RandStrb"		
		stop = (M 80:139),2,"Strobe:"
		stop = (M140:179),2,"PulsO:"
		stop = (M180:219),2,"PulsC:"		
		stop = ( 220:227),N,"CG Black"
		stop = ( 228:233),N,"PT Black"		
		stop = ( 234:255),N,"Open"
		
/////////////////////////////////////////////

	parameter
		name = "-PT SPEED-"
		displayerNum = 23
		type = F 
		attribList = 5
		stop = (   0: 10),N,"Normal"		
		stop = (  11: 25),N,"Fast"
		stop = (M127: 26),2,"Vector:"
		stop = (M255:128),1,"DMXdly:"
		
	parameter
		name = "-CONTROL-"
		displayerNum =  24
		type = N
		attribList = 30
		stop = (   0:  9),N,"Run Mode"
		stop = (  10: 60),N,"Lamp Off"
		stop = (R 61:129),N,"Run Mode"
		stop = ( 130:179),N,"Lamp On"		
		stop = (R180:200),N,"Run Mode"
		stop = ( 201:239),N,"Int Reset"		
		stop = ( 240:255),N,"Reset All"		
		
End
