/////////////////////////////////////////
//    MAC 300 - Mode 4
// DMX Protocol Version 1
// This template requires software version 0.97 or higher to work.

fixture
	manufacturer = "MARTIN"
	name = "Mac300.4"
	version = 1.0
//  fullmanufacturer = "Martin"
//  fullname = "Mac 300"
//  mode = 4
//  description = ""

	attribute
		name = "SHUTTER"
		channel = 1
		homeVal = 35

	attribute
		name = "INTENSITY"
		channel = 2

	attribute
		name = "CYAN"
		channel = 3
		homeVal = 0

	attribute
		name = "MAGENTA"
		channel = 4
		homeVal = 0

	attribute
		name = "YELLOW"
		channel = 5
		homeVal = 0

	attribute
		name = "COLOUR"
		channel = 6
		homeVal = 0

	attribute
		name = "FROST"
		channel = 7
		homeVal = 0

	attribute
		name = "PAN"
		channel = 8
		fineChan= 9
		homeVal = 32768

	attribute
		name = "TILT"
		channel = 10
		fineChan= 11
		homeVal = 32768

	attribute
		name = "PTSPEED"
		channel = 12
		homeVal = 0

	attribute
		name = "FXSPEED"
		channel = 13
		homeVal = 0

/////////////////////////////////////////////////////////////////////////

	parameter
		name = "-PAN-"					
		displayerNum = 1 
		type = F
		attribList = 8
		stop = (M    0:65535),D,0,540,"Pan="

	parameter
		name = "-TILT-"					
		displayerNum = 2 
		type = F
		attribList = 10
		stop = (M    0:65535),D,0,265,"Ti@="

	parameter
		name = "-COLOUR-"					
		displayerNum = 3
		type = C
		attribList = 6
		
		stop = ( 204:207),N,"White"
		stop = ( 200:203),N,"CTC"
		stop = ( 196:199),N,"Pink 312"
		stop = ( 192:195),N,"UV"
		stop = ( 188:191),N,"Red 308"
		stop = ( 184:187),N,"Green 206"
		stop = ( 180:183),N,"Blue 108"
		stop = (M  0:179),2,"Colour:"
	
		stop = (M227:245),2,"Cwhl<:"
		stop = (M226:208),2,"Cwhl>:"
			
		stop = ( 252:255),N,"Rnd Slow "
		stop = ( 249:251),N,"Rnd Med "
		stop = ( 246:248),N,"Rnd Fast"

	parameter
		name = "-CYAN-"					
		displayerNum = 4 
		type = C
		attribList = 3
		stop = (M  0:255),2,"Cyan="

	parameter
		name = "-MAGNTA-"					
		displayerNum = 5 
		type = C
		attribList = 4
		stop = (M  0:255),2,"Mgnta="

	parameter
		name = "-YELLOW-"					
		displayerNum = 6 
		type = C
		attribList = 5
		stop = (M  0:255),2,"Yellow="

//----------------------------------------

	parameter
		name = "-SHUTTER-"					
		displayerNum = 7
		type = B
		attribList = 1
		stop = (   0: 19),N,"Shtr Clsd"
		stop = (  20: 49),N,"Shtr Open"
		stop = (M 50: 72),1,"Strobe:"
		stop = (M 80: 99),1,"PulseO:"
		stop = (M100:119),1,"PulseC:" 
		stop = ( 128:147),N,"RndStrbF"
		stop = ( 148:167),N,"RndStrbM"
		stop = ( 168:187),N,"RndStrbS"
		stop = ( 191:193),N,"RndPulsOF"
		stop = ( 194:196),N,"RndPulsOS"
		stop = ( 197:199),N,"RndPulsCF"
		stop = ( 200:202),N,"RndPulsCS"

	parameter
		name = "-FROST-"
		displayerNum = 8
		type = B
		attribList = 7
		stop = (M  0:255),2,"Frost="

//----------------------------------------
//----------------------------------------
				
	parameter
		name = "-FXSPEED-"
		displayerNum = 22
		type = B
		attribList = 13
		stop = (   0:  2),N,"Tracking"
		stop = (M  3:245),2,"FxSpd:"
		stop = ( 246:248),N,"SCUT Off"
		stop = ( 249:251),N,"SCUT On"
		stop = ( 252:255),N,"FxBlack"

	parameter
		name = "-PTSPEED-"
		displayerNum = 23
		type = F
		attribList = 12
		stop = (   0:  2),N,"Tracking"
		stop = (M  3:245),2,"Vector:"
		stop = ( 246:248),N,"SlowTrack"
		stop = ( 249:251),N,"FastTrack"
		stop = ( 252:255),N,"MoveBlak"

	parameter
		name = "-CNTRL-"					
		displayerNum = 24
		type = N
		attribList = 1
		stop = ( 248:255),N,"Lamp Off"
		stop = ( 228:237),N,"Lamp On"
		stop = ( 208:217),N,"Reset"
end

