// Fixture  PR XL 250 spot extended
//
// Written by: Jon Lenard jon@appliednn.com
// Date: 10/28/08
// Modified From: XL 700 
//


fixture
	manufacturer = "PEARL RVR"
	name = "xl250sE"
	version = 1
//  fullmanufacturer = "Pearl River"
//  fullname = "XL 250 Spot"
//  mode = e
//  description = "Pearl River XL-250 Extended Mode"

	attribute
		name = "STROBE"
		channel = 1
		homeVal = 20
		
	attribute
		name = "INTENSITY"
		channel = 2
		fineChan = 3
		
	attribute
		name = "COLOR"
		channel = 4
		homeVal = 0

	attribute
		name = "IRIS"
		channel = 5
		fineChan = 6
		homeVal = 0		
		
	attribute
		name = "GOBO 1"
		channel = 7
		homeVal = 0		
			
	attribute
		name = "GOBO 2"
		channel = 8
		homeVal = 0

	attribute
		name = "GOBO2<>"
		channel = 9
		fineChan = 10
		homeVal = 0

	attribute
		name = "PRISM"
		channel = 11
		homeVal = 0

	attribute
		name = "PRISM<>"
		channel = 12
		homeVal = 0
		
	attribute
		name = "FOCUS"
		channel = 13
		fineChan = 14
		homeVal = 32768
	
	attribute
		name = "ZOOM"
		channel = 15
		fineChan = 16
		homeVal = 32768
		
	attribute
		name = "PAN"
		channel = 17
		fineChan = 18
		homeVal = 32768
		
	attribute
		name = "TILT"
		channel = 19
		fineChan = 20
		homeVal = 32768
		
	attribute
		name = "SPEED"
		channel = 21
		homeVal = 0
		
	attribute
		name = "CONTROL"
		channel = 22
		homeVal = 0

//////////////////////////////////////////////////////

	parameter
		name = "-PAN-"
		displayerNum = 1
		type = F
		attribList = 17
		stop = (M  0:65535),D,0,450,"Pan=" 
		
	parameter
		name = "-TILT-"
		displayerNum = 2 
		type = F
		attribList = 19 
		stop = (M  0:65535),D,0,450,"Ti@=" 		

	parameter
		name = "-COLOR-"
		displayerNum = 3
		type = C
		attribList = 4
		stop = (   0: 16),N,"White"
		stop = (  17: 24),N,"White+"
		stop = (  25: 32),N,"Colour1"
		stop = (  33: 40),N,"Colour1+" 
		stop = (  41: 48),N,"Colour2" 
		stop = (  49: 56),N,"Colour2+"
		stop = (  57: 64),N,"Colour3" 
		stop = (  65: 72),N,"Colour3+"
		stop = (  73: 80),N,"Colour4"
		stop = (  81: 88),N,"Colour4+"
		stop = (  89: 96),N,"Colour5"
		stop = (  97:104),N,"Colour5+"
		stop = ( 105:112),N,"Colour6"
		stop = ( 113:120),N,"Colour6+"
		stop = (R121:127),N,"White"
		stop = (M128:187),1,"CWhl>:"
		stop = ( 188:195),N,"CWhlStp"
		stop = (M196:255),1,"CWhl<:"

	parameter
		name = "-GOBO1-"
		displayerNum = 4
		type = B
		attribList = 7
		stop = (M  0:255),2,"Gobo1="

	parameter
		name = "-GOBO2-"
		displayerNum = 5
		type = B
		attribList = 8
		stop = (M  0:255),2,"Gobo2="

	parameter
		name = "-GOBO2<>-"
		displayerNum = 6
		type = B
		attribList = 9 
		stop = (M    0:30975),D,0,540,"Idx:"		
		stop = (M30976:47103),1,"Gobo2>:"
		stop = ( 47104:49151),N,"Gobo2Stop"
		stop = (M49152:65535),1,"Gobo2<:"
		
	parameter
		name = "-ZOOM-"
		displayerNum = 7 
		type = B
		attribList = 15
		stop = (M  0:65535),2,"Zoom=" 

	parameter
		name = "-FOCUS-"
		displayerNum = 8 
		type = B
		attribList = 13
		stop = (M  0:65535),2,"Focus=" 		

/-------------------------------------------------

	parameter
		name = "-PRISM-"
		displayerNum = 9 
		type = B
		attribList = 11 
		stop = (   0: 21),N,"No Prsm"
		stop = (  22:255),N,"Prism"

	parameter
		name = "-PRSM<>-"
		displayerNum = 10
		type = B
		attribList = 12
		stop = (M  0:120),2,"Pidx:"		
		stop = (M192:255),2,"Prsm>:"
		stop = ( 184:191),N,"PrsmStop"
		stop = (M121:183),2,"Prsm<:"

	parameter
		name = "-IRIS-"
		displayerNum = 11
		type = B
		attribList = 5
		stop = (M    0:34815),2,"Iris:" 
		stop = ( 34816:59391),N,"IrisMcr"		
		stop = ( 59647:65535),N,"IrisMin"

	parameter
		name = "-SHUTTER-"
		displayerNum = 12
		type = B
		attribList = 1 
		stop = (   0: 10),N,"Shtr Clsd"		
		stop = (  11: 25),N,"Shtr Open"
		stop = (R226:255),N,"Shtr Open"
		stop = (M 26:225),2,"Strobe:"

/--------------------------------------------------

	parameter
		name = "-MSPEED-"
		displayerNum = 23
		type = F
		attribList = 21 
		stop = (M255:  0),2,"Speed:"		

	parameter
		name = "-CONTROL-"
		displayerNum = 24
		type = N
		attribList = 22
		stop = (   0: 48),N,"Run Mode"		
		stop = (R 81:112),N,"Run Mode"
		stop = (R145:168),N,"Run Mode"
		stop = (R201:223),N,"Run Mode"		
		stop = ( 113:144),N,"Lamp Off"
		stop = ( 224:255),N,"Lamp On"
		stop = (  49: 80),N,"Reset"
		stop = ( 169:200),N,"LowLamp"

end

