/////////////////////////////////////////
// Pearl River XL 575 (PR-2590/PR2590M) - Standard Mode
// RM - Nov 2006
// Fixed Reset (was 14 now 19)
// UPDATED
// 2/9/09 Jon Lenard (fixed color #1 reset issue & other minor dmx chart changes)

fixture
	manufacturer = "PEARL RVR"
	name = "xl-575"
	version = 1.1
//  fullmanufacturer = "Pearl River"
//  fullname = "XL 575"
//  mode = 0
//  description = "Pearl River XL 575 (PR-2590/PR2590M) - Standard Mode"

	attribute
		name = "STROBE"
		channel = 1
		homeVal = 255
		
	attribute
		name = "INTENSITY"
		channel = 2
				
	attribute
		name = "COLOUR1"
		channel = 3
		homeVal = 0
		
	attribute
		name = "COLOUR2"
		channel = 4
		homeVal = 0		
	
	attribute
		name = "IRIS"
		channel = 5
		homeVal = 0
		
	attribute
		name = "GOBO1"
		channel = 6
		homeVal = 0

	attribute
		name = "GOBO2"
		channel = 7
		homeVal = 0		
		
	attribute
		name = "GOBO2<>"
		channel = 8
		fineChan = 9
		homeVal = 48250	
			
	attribute
		name = "EFFECT"
		channel = 10
		homeVal = 0
		
	attribute
		name = "PRISM<>"
		channel = 11
		homeVal = 188
		
	attribute
		name = "FOCUS"
		channel = 12
		homeVal = 127

	attribute
		name = "ZOOM"
		channel = 13
		homeVal = 127

	attribute
		name = "PAN"
		channel = 14
		fineChan = 15
		homeVal = 32768

	attribute
		name = "TILT"
		channel = 16
		fineChan = 17
		homeVal = 32768				

	attribute
		name = "MSPEED"
		channel = 18
		homeVal = 0

	attribute
		name = "CONTROL"
		channel = 19
		homeVal = 0

//////////////////////////////////////////////////////

	parameter
		name = "-PAN-"
		displayerNum = 1
		type = F
		attribList = 14
		stop = (M  0:65535),D,0,450,"Pan="

	parameter
		name = "-TILT-"
		displayerNum = 2
		type = F
		attribList = 16 
		stop = (M  0:65535),D,0,270,"Ti@="
		
	parameter
		name = "-COLOUR1-"
		displayerNum = 3
		type = C
		attribList = 3
		stop = (R  0:  4),N,"White1"
		stop = (R  5:  7),N,"Reset"
		stop = (   8: 16),N,"White1"
		stop = (  17: 24),N,"White1+"
		stop = (  25: 32),N,"Colour1.1"
		stop = (  33: 40),N,"Colour1.1+"
		stop = (  41: 48),N,"Colour1.2"
		stop = (  49: 56),N,"Colour1.2+"
		stop = (  57: 64),N,"Colour1.3"
		stop = (  65: 72),N,"Colour1.3+"
		stop = (  73: 80),N,"Colour1.4"
		stop = (  81: 88),N,"Colour1.4+"
		stop = (  89: 96),N,"Colour1.5"
		stop = (  97:104),N,"Colour1.5+"
		stop = ( 105:112),N,"Colour1.6"
		stop = ( 113:120),N,"Colour1.6+"
		stop = (R121:127),N,"White1"
		stop = (M128:187),1,"C1Whl>:"
		stop = ( 188:195),N,"C1WhlStp"
		stop = (M196:255),1,"C1Whl<:"

	parameter
		name = "-COLOUR2-"
		displayerNum = 4
		type = C
		attribList = 4
		stop = (   0: 16),N,"White2"
		stop = (  17: 24),N,"White2+"
		stop = (  25: 32),N,"Colour2.1"
		stop = (  33: 40),N,"Colour2.1+"
		stop = (  41: 48),N,"Colour2.2"
		stop = (  49: 56),N,"Colour2.2+"
		stop = (  57: 64),N,"Colour2.3"
		stop = (  65: 72),N,"Colour2.3+"
		stop = (  73: 80),N,"Colour2.4"
		stop = (  81: 88),N,"Colour2.4+"
		stop = (  89: 96),N,"Colour2.5"
		stop = (  97:104),N,"Colour2.5+"
		stop = ( 105:112),N,"Colour2.6"
		stop = ( 113:120),N,"Colour2.6+"
		stop = (R121:127),N,"White2"
		stop = (M128:187),1,"C2Whl>:"
		stop = ( 188:195),N,"C2WhlStp"
		stop = (M196:255),1,"C2Whl<:"
		
	parameter
		name = "-ZOOM-"
		displayerNum = 5
		type = B
		attribList = 13
		stop = (M  0:255),2,"Zoom="		
		
	parameter
		name = "-FOCUS-"
		displayerNum = 6
		type = C
		attribList = 12
		stop = (M  0:255),2,"Focus="
		
//----------------------------------------------

	parameter
		name = "-GOBO1-"
		displayerNum = 7
		type = B
		attribList = 6
		stop = (   0: 16),N,"NoGobo1"
		stop = (  17: 32),N,"Gobo 1.1"
		stop = (  33: 48),N,"Gobo 1.2"
		stop = (  49: 64),N,"Gobo 1.3"
		stop = (  65: 80),N,"Gobo 1.4"
		stop = (  81: 96),N,"Gobo 1.5"
		stop = (  97:112),N,"Gobo 1.6"
		stop = ( 113:127),N,"Gobo 1.7"
		stop = (M151:171),1,"G1Whl>:"
		stop = (M128:150),1,"G1Whl<:"
		stop = (M172:183),1,"G1.1shk:"
		stop = (M184:195),1,"G1.2shk:"
		stop = (M196:207),1,"G1.3shk:"
		stop = (M208:219),1,"G1.4shk:"
		stop = (M220:231),1,"G1.5shk:"
		stop = (M232:243),1,"G1.6shk:"
		stop = (M244:255),1,"G1.7shk:"		

	parameter
		name = "-GOBO2-"
		displayerNum = 8
		type = B
		attribList = 7
		stop = (   0: 21),N,"NoGobo2"
		stop = (  22: 42),N,"Gobo 2.1"
		stop = (  43: 64),N,"Gobo 2.2"
		stop = (  65: 85),N,"Gobo 2.3"
		stop = (  86:106),N,"Gobo 2.4"
		stop = ( 107:127),N,"Gobo 2.5"
		stop = (M128:156),1,"G2Whl>:"
		stop = (M157:184),1,"G2Whl<:"
		stop = (M185:198),1,"G2.1shk:"
		stop = (M199:212),1,"G2.2shk:"
		stop = (M213:226),1,"G2.3shk:"
		stop = (M227:240),1,"G2.4shk:"
		stop = (M241:255),1,"G2.5shk:"

	parameter
		name = "-GOBO2<>-"
		displayerNum = 9
		type = B
		attribList = 8 
		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 = "-EFFECT-"
		displayerNum = 10 
		type = B
		attribList = 10
		stop = (   0: 51),N,"No FX"
		stop = (  52:102),N,"CTO"
		stop = ( 103:153),N,"Frost"
		stop = ( 154:204),N,"Prism1"
		stop = ( 205:255),N,"Prism2"
		
	parameter
		name = "-FX<>-"
		displayerNum = 11
		type = B
		attribList = 11
		stop = (M  0:120),D,0,540,"Idx="
		stop = (M192:255),1,"Prsm>:"
		stop = ( 184:191),N,"PrsmStop"
		stop = (M121:183),1,"Prsm<:"

	parameter
		name = "-IRIS-"
		displayerNum = 12
		type = B
		attribList = 5
		stop = (M  0:135),2,"Iris:"
		stop = (M136:231),2,"Imcro:"
		stop = ( 132:255),N,"Min"

//--------------------------------------------
				
	parameter
		name = "-STROBE-"
		displayerNum = 13
		type = B
		attribList = 1
		stop = (   0: 10),N,"Shtr Clsd"
		stop = (M 26:225),2,"Strobe:"		
		stop = ( 226:255),N,"Shtr Open"
		stop = (R 11: 25),N,"Shtr Open"
		
//---------------------------------------------

	parameter
		name = "-MSPEED-"
		displayerNum = 23
		type = F
		attribList = 18
		stop = (M255:  0),2,"Speed="

	parameter
		name = "-CONTROL-"
		displayerNum = 24
		type = N
		attribList = 19
		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,"HalfLamp"

end

