// SGM Giotto 1500 Spot HRV
//
// Written by: Jon Lenard jon@appliednn.com
// Date: 2/16/09
// Modified From: NEW
//

Fixture
   version = 1.0
   manufacturer = "SGM"
   name = "G1500SHRV"
//  fullmanufacturer = "SGM"
//  fullname = "Giotto 1500 Spot HRV"
//  mode = HRV
//  description = ""

	attribute
		name = "PAN"
		channel = 1
		fineChan = 2
		homeVal = 32768
		
	attribute
		name = "TILT"
		channel = 3
		fineChan = 4
		homeVal = 32768
		
	attribute
		name = "IRIS"
		channel = 5
		homeVal = 128

	attribute
		name = "COLOR"
		channel = 6
		homeVal = 0
		
	attribute
		name = "GOBO 1"
		channel = 7
		homeVal = 0
		
	attribute
		name = "SHUTTER"
		channel = 8
		homeVal = 255
		
	attribute
		name = "INTENSITY"
		channel = 9
		
	attribute
		name = "GOBO1<>"
		channel = 10
		fineChan = 23
		homeVal = 0
		
	attribute
		name = "PRISM"
		channel = 11
		homeVal = 0
		
	attribute
		name = "PRISM<>"
		channel = 12
		homeVal = 128
		
	attribute
		name = "FOCUS"
		channel = 13
		fineChan = 35
		homeVal = 32768
		
	attribute
		name = "ZOOM"
		channel = 14
		homeVal = 128
		
	attribute
		name = "FX"
		channel = 15
		homeVal = 0

	attribute
		name = "FROST"
		channel = 16
		homeVal = 0
		
	attribute
		name = "SPEED"
		channel = 17
		homeVal = 0
		
	attribute
		name = "CONTROL"
		channel = 18
		homeVal = 155
		
	attribute
		name = "GOBO1SHK"
		channel = 19
		homeVal = 0
		
	attribute
		name = "COLORMODE"
		channel = 20
		homeVal = 0
		
	attribute
		name = "GOBO1<>MODE"
		channel = 21
		homeVal = 0
		
	attribute
		name = "MACRO"
		channel = 22
		homeVal = 0
		
	attribute
		name = "GOBO 2"
		channel = 24
		homeVal = 0
		
	attribute
		name = "GOBO2<>"
		channel = 25
		fineChan = 26
		homeVal = 0
		
	attribute
		name = "GOBO2<>MODE"
		channel = 27
		homeVal = 0
		
	attribute
		name = "GOBO2SHK"
		channel = 28
		homeVal = 0
		
	attribute
		name = "FX<>"
		channel = 29
		homeVal = 0
		
	attribute
		name = "FX<>2"
		channel = 30
		homeVal = 0
		
	attribute
		name = "CYAN"
		channel = 31
		homeVal = 0
		
	attribute
		name = "MAGENTA"
		channel = 32
		homeVal = 0
		
	attribute
		name = "YELLOW"
		channel = 33
		homeVal = 0
		
	attribute
		name = "CTO"
		channel = 34
		homeVal = 0
		
///////////////////////////////////////////////////////
		
	parameter
		name = "-PAN-"
		displayerNum = 1
		type = F
		attribList = 1
		stop = (M  0:65535),2,"Pan="

	parameter
		name = "-TILT-"
		displayerNum = 2
		type = F
		attribList = 3
		stop = (M  0:65535),2,"Ti@="
		
	parameter
		name = "-COLOR-"
		displayerNum = 3
		type = C
		attribList = 6,20
		stop = (   0: 35,   0: 50),N,"White"      
		stop = (  36: 71,   0: 50),N,"Color1"   
		stop = (  72:107,   0: 50),N,"Color2"  		
		stop = ( 108:145,   0: 50),N,"Color3"
		stop = ( 146:181,   0: 50),N,"Color4"		
		stop = ( 182:215,   0: 50),N,"Color5" 		
		stop = ( 216:255,   0: 50),N,"Color6"		

		stop = (R  0: 31,R 51:101),N,"White"              				
		stop = (  32: 63,  51:101),N,"Wht-C1"     		
		stop = (  64: 95,  51:101),N,"C1-C2"   		
		stop = (  96:127,  51:101),N,"C2-C3" 		
		stop = ( 128:159,  51:101),N,"C3-C4"
		stop = ( 160:191,  51:101),N,"C4-C5"		
		stop = ( 192:223,  51:101),N,"C5-C6"		
		stop = ( 224:255,  51:101),N,"C6-Wht"
		
		stop = (M  0:255, 102:152),2,"Color:"
		
		stop = (M  0:255, 153:203),2,"CWhl<:"
		
		stop = (   0:127, 204:255),N,"MusicFull" 
		stop = ( 128:255, 204:255),N,"MusicHalf"
		
	parameter
		name = "-CYAN-"
		displayerNum = 4 
		type = C
		attribList = 31 
		stop = (M  0:255),2,"Cyan="
		
	parameter
		name = "-MAGNTA-"
		displayerNum = 5
		type = C
		attribList = 32 
		stop = (M  0:255),2,"Mgnta="
		
	parameter
		name = "-YELLOW-"
		displayerNum = 6
		type = C
		attribList = 33 
		stop = (M  0:255),2,"Yellow="
		
   parameter
      name = "-CTO-"
      displayerNum = 7
      type = C
      attribList = 34
		stop = (M  0:255),2,"CTO=" 
		
	parameter
		name = "-GOBO 1-"
		displayerNum = 8
		type = B
		attribList = 7
		stop = (   0: 26),N,"NoGobo"           
		stop = (  27: 53),N,"Gobo1.1" 
		stop = (  54: 80),N,"Gobo1.2"
		stop = (  81:107),N,"Gobo1.3"
		stop = ( 108:134),N,"Gobo1.4"
		stop = ( 135:161),N,"Gobo1.5"
		stop = ( 162:189),N,"Gobo1.6"
		stop = (M190:245),2,"GWhl<:"
		stop = ( 246:255),N,"Music"
		
	parameter
		name = "-GOBO1<>-"
		displayerNum =  9
		type = B
		attribList = 10,21
		stop = (M    0:65535,  0:127),2,"Index:"
		stop = (M28671:    0,128:255),2,"Gobo<:"
		stop = ( 28672:37119,128:255),N,"Stop"
		stop = (M37120:65535,128:255),2,"Gobo>:"
		
	parameter
		name = "GOBO1SHK"
		displayerNum = 10
		type = B
		attribList = 19
		stop = (M  0:255),2,"Speed="

	parameter
		name = "-GOBO 2-"
		displayerNum = 11
		type = B
		attribList = 24
		stop = (   0: 26),N,"NoGobo"           
		stop = (  27: 53),N,"Gobo2.1" 
		stop = (  54: 80),N,"Gobo2.2"
		stop = (  81:107),N,"Gobo2.3"
		stop = ( 108:134),N,"Gobo2.4"
		stop = ( 135:161),N,"Gobo2.5"
		stop = ( 162:189),N,"Gobo2.6"
		stop = (M190:245),2,"GWhl<:"
		stop = ( 246:255),N,"Music"
		
	parameter
		name = "-GOBO2<>-"
		displayerNum =  12
		type = B
		attribList = 25,27
		stop = (M    0:65535,  0:127),2,"Index:"
		stop = (M28671:    0,128:255),2,"Gobo<:"
		stop = ( 28672:37119,128:255),N,"Stop"
		stop = (M37120:65535,128:255),2,"Gobo>:"
		
	parameter
		name = "GOBO2SHK"
		displayerNum = 13
		type = B
		attribList = 28
		stop = (M  0:255),2,"Speed="
		
	parameter
		name = "-FX-"
		displayerNum = 14
		type = B
		attribList = 29,15
		stop = (R  0:255,  0: 79),N,"No FX"
		stop = (M  0:255, 80:159),2,"Index:"
		stop = (M111:  0,160:255),2,"FX<:"
		stop = ( 112:143,160:255),N,"Stop"
		stop = (M144:255,160:255),2,"FX>:"
		
	parameter
		name = "-FX<>-"
		displayerNum = 15
		type = B
		attribList = 30
		stop = (M  0:255),2,"FX<>="
		
	parameter
    	name = "-FOCUS-"   
      	displayerNum = 16
      	type = B
      	attribList = 13
      	stop = (M  0:65535),2,"Focus="

   	parameter
     	name = "-ZOOM-"   
      	displayerNum = 17
      	type = B
      	attribList = 14
      	stop = (M  0:255),2,"Zoom="

	parameter
		name = "-IRIS-"
		displayerNum = 18
		type = B
		attribList = 5
		stop = (M  0:255),2,"Iris="
		
	parameter
		name = "-PRISM-"
		displayerNum = 19
		type = B
		attribList = 11
		stop = (   0: 85),N,"No Prism"
		stop = (  86:170),N,"Expander"
		stop = ( 171:255),N,"Prism"
                                      		
	parameter
		name = "-PRISM<>-"
		displayerNum = 20 
		type = B
		attribList = 12
		stop = ( 112:143),N,"PrsmStop"		
		stop = (M111:  0),2,"Prism>:"
		stop = (M144:255),2,"Prism<:"

   Parameter
      name = "-SHUTTER-"   
      displayerNum = 21
      type = B
      attribList = 8
      stop = (   0:  7),N,"Shtr Clsd"
      stop = (M  8:119),2,"Strobe:"
	  stop = ( 120:136),N,"MusicStrb" 
	  stop = ( 137:153),N,"MusicFlsh" 	  
	  stop = ( 154:170),N,"BkOutGobo" 	       
      stop = ( 171:187),N,"BkOutColr"
      stop = ( 188:204),N,"BkOutG+C"
      stop = ( 205:221),N,"OpnSloGob"    
      stop = ( 222:255),N,"Open"

	parameter
		name = "-FROST-"
		displayerNum = 22
		type = B
		attribList = 16
		stop = (M  0:255),2,"Frost="
		
	parameter
		name = "-MACRO-"
		displayerNum = 23
		type = B
		attribList = 22
		stop = (   0:  4),N,"NoMacro"
		stop = (   8: 15),N,"Macro1"
		stop = (  16: 23),N,"Macro2"
		stop = (  24: 31),N,"Macro3"
		stop = (  32: 39),N,"Macro4"
		stop = (  40: 47),N,"Macro5"
		stop = (  48: 55),N,"Macro6"
		stop = (  56: 63),N,"Macro7"
		stop = (  64: 71),N,"Macro8"
		stop = (  72: 79),N,"Macro9"
		stop = (  80: 87),N,"Macro10"
		stop = (  88: 95),N,"Macro11"
		stop = (  96:103),N,"Macro12"
		stop = ( 104:111),N,"Macro13"
		stop = ( 112:119),N,"Macro14"
		stop = ( 120:127),N,"Macro15"
		stop = ( 128:135),N,"Macro16"
		stop = (R136:255),N,"NoMacro"
		
	parameter
		name = "-CONTROL-"
		displayerNum = 24
		type = N
		attribList = 17,18
		stop = (R  0:255,  10: 60),N,"LampOff"
		stop = (R  0:255,R 61:129),N,"RunMode"
		stop = (R  0:255, 130:179),N,"LampOn"
		stop = (   0:  3, 180:239),N,"Tracking"
		stop = (M  4:255, 180:239),2,"Speed:"
		stop = (R  0:255, 240:255),N,"Reset"
		
end
