// ETC Source Four Revolution with module function
//
// Written by: Jon Lenard jon@appliednn.com
// Date: 3/1/10
//
Fixture 
   manufacturer = "ETC"
   name = "S4REV+M"
	version = 1.00
//  fullmanufacturer = "ETC"
//  fullname = "Source Four Revolution w/ Modules"
//  mode = B+M
//  description = ""

   Attribute
      name = "INTENSITY"
      channel = 1
      
   Attribute
      name = "PAN"
      channel = 2
      fineChan= 3
      homeVal = 32768

   Attribute
      name = "TILT"
      channel = 4
      fineChan= 5
      homeVal = 32768

   Attribute
      name = "MEDIA"
      channel = 6
      homeVal = 0

   Attribute
      name = "FOCUS"
      channel = 7
      homeVal = 128
      
   Attribute
	  name = "ZOOM"
	  channel = 8
	  homeVal = 0
	
   Attribute
      name = "FOCUS TIME"
      channel = 9
      homeVal = 0

   Attribute
      name = "COLOR TIME"
      channel = 10
      homeVal = 0

   Attribute
      name = "BEAM TIME"
      channel = 11
      homeVal = 0

   Attribute
      name = "RESET"
      channel = 12
      homeVal = 0

   Attribute
      name = "GEL"
      channel = 13
      homeVal = 0

   Attribute
   	  name = "FAN SPEED"
   	  channel = 14
   	  homeVal = 0
   	  
	attribute
		name = "IRIS"
		channel = 15
		homeVal = 0
		
	attribute
		name = "FRONT POS"
		channel = 16
		homeVal = 0
		
	attribute
		name = "FRONT FUNCT"
		channel = 17
		homeVal = 0
		
	attribute
		name = "FRONT<>"
		channel = 18
		fineChan = 19
		homeVal = 0
		
	attribute
		name = "REAR POS"
		channel = 20
		homeVal = 0
		
	attribute
		name = "REAR FUNCT"
		channel = 21
		homeVal = 0
		
	attribute
		name = "REAR<>"
		channel = 22
		fineChan = 23
		homeVal = 0
   	  
////////////////////////////////////////////////

   Parameter
      name = "-PAN-"   
      displayerNum = 1
      type = F
      attribList = 2
      stop = (M  0:65535),2,"Pan="

   Parameter
      name = "-TILT-"   
      displayerNum = 2
      type = F
      attribList = 4
      stop = (M  0:65535),2,"Ti@="

   Parameter
      name = "-MEDIA-"   
      displayerNum = 3
      type = C
      attribList = 6
      stop = (M  0:255),2,"Media="
      
   Parameter
      name = "-GEL-"   
      displayerNum = 4
      type = C
      attribList = 13
      stop = (   0: 17),N,"White"       
      stop = (  18: 36),N,"Amber"      
      stop = (  37: 54),N,"Rose"       
      stop = (  55: 72),N,"Gold"      
      stop = (  73: 90),N,"Lav"   
      stop = (  91:109),N,"Lav 2"
      stop = ( 110:127),N,"Pink"     
      stop = ( 128:145),N,"Orange"   
      stop = ( 146:164),N,"Blue"     
      stop = ( 165:182),N,"Blue 2"  
      stop = ( 183:200),N,"Blue 3"   
      stop = ( 201:218),N,"Green"    
      stop = ( 219:237),N,"Blue 4"   
      stop = (R238:255),N,"White"    

   Parameter
      name = "-FOCUS-"   
      displayerNum = 5
      type = B
      attribList = 7
      stop = (M  0:255),2,"Focus="
      
   Parameter
	  name = "-ZOOM-"
	  displayerNum = 6
	  type = B
	  attribList = 8
	  stop = (M  0:255),2,"Zoom="
	  
	parameter
		name = "-F POS-"
		displayerNum = 7
		type = B
		attribList = 16
		stop = (   0: 13),N,"Open"
		stop = (  14: 26),N,"Pos 1" 
		stop = (  27: 39),N,"Pos 2" 
		stop = (  40: 50),N,"Pos 3"
		stop = (R 51:255),N,"Reserved"   
		
	parameter
		name = "-F FUNCT-"
		displayerNum = 8
		type = B
		attribList = 17
		stop = (   0: 13),N,"Index"    
		stop = (  14: 26),N,"Rot>>"    
		stop = (  27: 39),N,"Rot<<"    
		stop = (R 40:255),N,"Reserved"
		
	parameter
		name = "-FRONT<>-"
		displayerNum = 9
		type = B
		attribList = 17,18
		stop = (R  0: 13,M  0:65535),2,"Index="
		stop = (R 14: 39,M  0:65535),2,"Speed="
		stop = (R 40:255,R  0:65535),N,"Reserved"
			  
	parameter
		name = "-R POS-"
		displayerNum = 10
		type = B
		attribList = 20
		stop = (   0: 13),N,"Open"
		stop = (  14: 26),N,"Pos 1" 
		stop = (  27: 39),N,"Pos 2" 
		stop = (  40: 50),N,"Pos 3"
		stop = (R 51:255),N,"Reserved"   
		
	parameter
		name = "-R FUNCT-"
		displayerNum = 11
		type = B
		attribList = 21
		stop = (   0: 13),N,"Index"    
		stop = (  14: 26),N,"Rot>>"    
		stop = (  27: 39),N,"Rot<<"    
		stop = (R 40:255),N,"Reserved"
		
	parameter
		name = "-REAR<>-"
		displayerNum = 12
		type = B
		attribList = 21,22
		stop = (R  0: 13,M  0:65535),2,"Index="
		stop = (R 14: 39,M  0:65535),2,"Speed="
		stop = (R 40:255,R  0:65535),N,"Reserved"
		
	parameter
		name = "-IRIS-"
		displayerNum = 13
		type = B
		attribList = 15
		stop = (M  0:255),2,"Iris="		


/////////////////////////////////
	  	  
   Parameter
      name = "-FANSPEED-"   
      displayerNum = 20
      type = F
      attribList = 14
      stop = (M255:  0),2,"Speed:"

   Parameter
      name = "-FSPEED-"   
      displayerNum = 21
      type = F
      attribList = 9
      stop = (M255:  0),2,"Speed="
  
   Parameter
      name = "-CSPEED-"   
      displayerNum = 22
      type = F
      attribList = 10
      stop = (M255:  0),2,"Speed="	  
	  
   Parameter
      name = "-BSPEED-"   
      displayerNum = 23
      type = F
      attribList = 11
      stop = (M255:  0),2,"Speed="

   Parameter
      name = "-RESET-"   
      displayerNum = 24
      type = N
      attribList = 12
      stop = (   0: 71),N,"No Reset"   
      stop = (  72: 77),N,"RstRear"  
      stop = (R 78: 96),N,"No Reset"
      stop = (  97:102),N,"RstFront"
      stop = (R101:125),N,"No Reset"  
      stop = ( 126:129),N,"Rst P-T"  
      stop = (R128:146),N,"No Reset"
      stop = ( 147:152),N,"RstBeam"  
      stop = (R151:184),N,"No Reset"
      stop = ( 185:190),N,"ResetAll"  
      stop = (R191:255),N,"No Reset" 
 
end
