<root>
<document scada='0' schema='102' license='1,Bubthenib,RMFW7Y' title='' description='' fcversion='589824' target='PIC.18F.MIAC V2' >
	<config data='' clkspd='48000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='temperature_float' />
		<watch expr='temperature' />
		<watch expr='seccounter' />
		<watch expr='tmr0counter' />
	</debug>
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='2' />
			<data name='ClockPin' value='4' />
			<data name='DataPort' value='0' />
			<data name='DataPin' value='5' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='4' />
			<data name='CalculatedCommsDelay' value='4' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='27d7c479-a6bd-4577-a341-5b366b832ce6' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='temperature_float' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='hightemp' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='hourcounter' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='germinating' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='malting' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='mincounter' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='germint' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='seccounter' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fanstatus' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temperatureatod' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='lowtemp' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tmr0counter' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='heaterstatus' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temperature' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='keypadinput' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='maltint' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='too_cold' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Set the state of outputs' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='ststus' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='fanstatus = 1' />
							<exp exp='heaterstatus = 1' />
						</command>
						<command class_type='call' title='Fan on' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayON' >
							<argument exp='3' />
						</command>
						<command class_type='call' title='Heater on' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayON' >
							<argument exp='2' />
						</command>
						<command class_type='comment' title='' comment='Update the display' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='User Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='updatedisplay' />
						<command class_type='comment' title='' comment='Measure the temperature' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='User Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='gettemp' />
						<command class_type='call' title='User Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='rotate_when_ready' />
					</flowline>
				</macro>
				<macro >
					<flowline name='rotate_when_ready' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Turns the motor on for just long enough to rotate around half a turn.
This agitates the barley and stops it sticking together. 
' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='decision' title='Decision' textmode='2' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='mincounter &gt;= 10' swap='0' >
							<flowline >
								<command class_type='call' title='Motoron' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayON' >
									<argument exp='1' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='800' type='1' />
								<command class_type='call' title='Motoroff' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayOFF' >
									<argument exp='1' />
								</command>
								<command class_type='calculation' title='Calculation' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='hourcounter = 0' />
									<exp exp='mincounter = 0' />
									<exp exp='seccounter = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='updatedisplay' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='update display with time' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
							<argument exp='&quot;Time: &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintNumber' >
							<argument exp='hourcounter' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
							<argument exp='&quot; &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintNumber' >
							<argument exp='mincounter' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
							<argument exp='&quot; &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintNumber' >
							<argument exp='seccounter' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
							<argument exp='&quot;   &quot;' />
						</command>
						<command class_type='comment' title='' comment='update display with status and temperature' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
							<argument exp='2' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintNumber' >
							<argument exp='temperature' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
							<argument exp='8' />
							<argument exp='3' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='heaterstatus' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintNumber' >
									<argument exp='1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintNumber' >
									<argument exp='0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
							<argument exp='12' />
							<argument exp='3' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='fanstatus' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintNumber' >
									<argument exp='1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintNumber' >
									<argument exp='0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='just_right' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Set the state of outputs' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='ststus' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='heaterstatus = 0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='malting' swap='0' >
							<flowline >
								<command class_type='calculation' title='ststus' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='fanstatus = 1' />
								</command>
								<command class_type='call' title='Fan on' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayON' >
									<argument exp='3' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='ststus' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='fanstatus = 0' />
								</command>
								<command class_type='call' title='Fan on' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayOFF' >
									<argument exp='3' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Heater on' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayOFF' >
							<argument exp='2' />
						</command>
						<command class_type='comment' title='' comment='Update the display' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='User Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='updatedisplay' />
						<command class_type='comment' title='' comment='Measure the temperature' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='User Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='gettemp' />
						<command class_type='call' title='User Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='rotate_when_ready' />
					</flowline>
				</macro>
				<macro >
					<flowline name='too_hot' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Set the state of outputs' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='ststus' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='fanstatus = 1' />
							<exp exp='heaterstatus = 0' />
						</command>
						<command class_type='call' title='Fan on' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayON' >
							<argument exp='3' />
						</command>
						<command class_type='call' title='Heater on' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayOFF' >
							<argument exp='2' />
						</command>
						<command class_type='comment' title='' comment='Update the display' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='User Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='updatedisplay' />
						<command class_type='comment' title='' comment='Measure the temperature' textmode='2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='User Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='gettemp' />
						<command class_type='call' title='User Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='rotate_when_ready' />
					</flowline>
				</macro>
				<macro >
					<flowline name='timer' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='tmr0counter = tmr0counter + 1' />
						</command>
						<command class_type='decision' title='Decision' textmode='2' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='tmr0counter = 183' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='tmr0counter = 0' />
									<exp exp='seccounter = seccounter + 1' />
								</command>
								<command class_type='decision' title='Decision' textmode='2' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='seccounter = 60' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='seccounter = 0' />
											<exp exp='mincounter = mincounter + 1' />
										</command>
										<command class_type='decision' title='Decision' textmode='2' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='mincounter = 60' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
													<exp exp='mincounter = 0' />
													<exp exp='hourcounter = hourcounter + 1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='MachineSD' description='' statediag='1' >
						<zOrder iconcount='13' id0='32' con0='0' id1='8' con1='0' id2='6' con2='0' id3='4' con3='0' id4='10' con4='1' id5='13' con5='1' id6='16' con6='1' id7='19' con7='1' id8='22' con8='1' id9='25' con9='1' id10='28' con10='1' id11='3' con11='1' id12='1' con12='0' />
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='MXHIDDENVAR_iTransIdx' type='s32' description='Hidden variable for internal state diagram use.' isconst='0' isHidden='1' isinit='1' usrinit='0' setinit='0' />
						<command class_type='comment_sd' title='' comment='Malt making Machine
by John Dobson
germinating: temp is around 16C. turn every hour

malting: temp is around 40C. turn every hour

whenever heater is on fan has to be on or thermostats trip' textmode='2' cmdcolor='16777215' cmdcolor_sec='16777215' cmdcolor_txt='4206456' cmdgradient='4' cmdopacity='1' cmdAuto_color='1' cmdcustom_color='1' type='8' hidden_id='-1' function_type='0' show_name='0' show_func='0' show_bord='1' id='32' is_con='0' >
							<visual rect='108,588,661,732' scale_x='1' scale_y='1' type='0' >
								<fill type='4' col1_r='1' col1_g='1' col1_b='1' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='1' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
						</command>
						<command class_type='state' title='Entry' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='11066367' cmdgradient='4' cmdopacity='1' type='2' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' id='1' is_con='0' retval='' set_retval='0' >
							<visual rect='38,38,98,98' scale_x='1' scale_y='1' type='1' >
								<fill type='4' col1_r='0.470588' col1_g='0.184314' col1_b='0.25098' col1_a='1' col2_r='0.862745' col2_g='0.576471' col2_b='0.643137' col2_a='1' opacity='1' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
						</command>
						<command class_type='state' title='just right' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='4206456' cmdgradient='4' cmdopacity='1' type='1' hidden_id='5' function_type='1' show_name='1' show_func='1' show_bord='1' id='4' is_con='0' retval='' set_retval='0' macro='just_right' IsComp='0' IsSim='0' >
							<visual rect='270,193,370,253' scale_x='1' scale_y='1' type='0' >
								<fill type='4' col1_r='0.709804' col1_g='0.466667' col1_b='0.266667' col1_a='1' col2_r='1' col2_g='0.858824' col2_b='0.658824' col2_a='1' opacity='1' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
						</command>
						<command class_type='state' title='too hot' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='4206456' cmdgradient='4' cmdopacity='1' type='1' hidden_id='7' function_type='1' show_name='1' show_func='1' show_bord='1' id='6' is_con='0' retval='' set_retval='0' macro='too_hot' IsComp='0' IsSim='0' >
							<visual rect='133,381,233,441' scale_x='1' scale_y='1' type='0' >
								<fill type='4' col1_r='0.709804' col1_g='0.466667' col1_b='0.266667' col1_a='1' col2_r='1' col2_g='0.858824' col2_b='0.658824' col2_a='1' opacity='1' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
						</command>
						<command class_type='state' title='too cold' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='4206456' cmdgradient='4' cmdopacity='1' type='1' hidden_id='9' function_type='1' show_name='1' show_func='1' show_bord='1' id='8' is_con='0' retval='' set_retval='0' macro='too_cold' IsComp='0' IsSim='0' >
							<visual rect='540,320,640,380' scale_x='1' scale_y='1' type='0' >
								<fill type='4' col1_r='0.709804' col1_g='0.466667' col1_b='0.266667' col1_a='1' col2_r='1' col2_g='0.858824' col2_b='0.658824' col2_a='1' opacity='1' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
						</command>
						<command class_type='transition' title='' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='6' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='0' order_idx='-1' id='9' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='0,0,0,0' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='0' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.501961' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='0' />
						</command>
						<command class_type='transition' title='' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='6' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='0' order_idx='-1' id='7' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='0,0,0,0' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='0' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.501961' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='0' />
						</command>
						<command class_type='transition' title='' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='6' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='0' order_idx='-1' id='5' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='0,0,0,0' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='0' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.501961' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='0' />
						</command>
						<command class_type='transition' title='Entry Transition' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='5' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='2' order_idx='1' id='3' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='68,68,270,223' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='3' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='4' >
								<anchor_0 obj_id='1' con_id='1' x='68' y='68' />
								<anchor_1 obj_id='-1' con_id='0' x='105' y='68' />
								<anchor_2 obj_id='-1' con_id='0' x='180' y='218' />
								<anchor_3 obj_id='4' con_id='10' x='270' y='223' />
							</connections>
						</command>
						<command class_type='transition' title='stay at just right' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='4' hidden_id='12' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='2' order_idx='3' id='10' is_con='1' exp='temperature &gt;= lowtemp AND temperature &lt;= hightemp' show_cond='1' show_label='1' label_id='11' >
							<visual rect='308,99,355,193' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='3' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='4' >
								<anchor_0 obj_id='4' con_id='80' x='308' y='193' />
								<anchor_1 obj_id='-1' con_id='0' x='308' y='99' />
								<anchor_2 obj_id='-1' con_id='0' x='355' y='140' />
								<anchor_3 obj_id='4' con_id='65' x='342' y='193' />
							</connections>
						</command>
						<command class_type='comment_sd' title='' comment='Comment' textmode='2' cmdcolor='8421376' cmdcolor_sec='16777215' cmdcolor_txt='9470064' cmdgradient='3' cmdopacity='0.25' type='9' hidden_id='-1' function_type='0' show_name='0' show_func='0' show_bord='0' id='11' is_con='0' >
							<visual rect='231,48,489,98' scale_x='1' scale_y='1' type='5' >
								<fill type='3' col1_r='0' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.25' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='0.25' />
							</visual>
						</command>
						<command class_type='transition' title='' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='7' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='0' order_idx='-1' id='12' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='0,0,0,0' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='0' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.501961' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='0' />
						</command>
						<command class_type='transition' title='go to too hot' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='4' hidden_id='15' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='2' order_idx='1' id='13' is_con='1' exp='temperature &gt; hightemp' show_cond='1' show_label='1' label_id='14' >
							<visual rect='183,253,292,381' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='3' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='4' >
								<anchor_0 obj_id='4' con_id='58' x='292' y='253' />
								<anchor_1 obj_id='-1' con_id='0' x='237' y='284' />
								<anchor_2 obj_id='-1' con_id='0' x='220' y='347' />
								<anchor_3 obj_id='6' con_id='12' x='170' y='340' />
							</connections>
						</command>
						<command class_type='comment_sd' title='' comment='Comment' textmode='2' cmdcolor='8421376' cmdcolor_sec='16777215' cmdcolor_txt='9470064' cmdgradient='3' cmdopacity='0.25' type='9' hidden_id='-1' function_type='0' show_name='0' show_func='0' show_bord='0' id='14' is_con='0' >
							<visual rect='71,281,217,331' scale_x='1' scale_y='1' type='5' >
								<fill type='3' col1_r='0' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.25' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='0.25' />
							</visual>
						</command>
						<command class_type='transition' title='' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='7' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='0' order_idx='-1' id='15' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='0,0,0,0' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='0' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.501961' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='0' />
						</command>
						<command class_type='transition' title='Stay at too hot' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='4' hidden_id='18' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='2' order_idx='1' id='16' is_con='1' exp='temperature &gt; hightemp' show_cond='1' show_label='1' label_id='17' >
							<visual rect='59,414,194,549' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='3' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='4' >
								<anchor_0 obj_id='6' con_id='93' x='133' y='414' />
								<anchor_1 obj_id='-1' con_id='0' x='59' y='433' />
								<anchor_2 obj_id='-1' con_id='0' x='161' y='549' />
								<anchor_3 obj_id='6' con_id='83' x='194' y='441' />
							</connections>
						</command>
						<command class_type='comment_sd' title='' comment='Comment' textmode='2' cmdcolor='8421376' cmdcolor_sec='16777215' cmdcolor_txt='9470064' cmdgradient='3' cmdopacity='0.25' type='9' hidden_id='-1' function_type='0' show_name='1' show_func='0' show_bord='0' id='17' is_con='0' >
							<visual rect='10,525,158,575' scale_x='1' scale_y='1' type='5' >
								<fill type='3' col1_r='0' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.25' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='0.25' />
							</visual>
						</command>
						<command class_type='transition' title='' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='7' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='0' order_idx='-1' id='18' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='0,0,0,0' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='0' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.501961' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='0' />
						</command>
						<command class_type='transition' title='go to just right' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='4' hidden_id='21' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='2' order_idx='2' id='19' is_con='1' exp='temperature &lt; hightemp' show_cond='1' show_label='1' label_id='20' >
							<visual rect='233,253,350,446' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='3' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='4' >
								<anchor_0 obj_id='6' con_id='11' x='233' y='411' />
								<anchor_1 obj_id='-1' con_id='0' x='278' y='446' />
								<anchor_2 obj_id='-1' con_id='0' x='350' y='425' />
								<anchor_3 obj_id='4' con_id='15' x='320' y='253' />
							</connections>
						</command>
						<command class_type='comment_sd' title='' comment='Comment' textmode='2' cmdcolor='8421376' cmdcolor_sec='16777215' cmdcolor_txt='9470064' cmdgradient='3' cmdopacity='0.25' type='9' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='0' id='20' is_con='0' >
							<visual rect='278,455,418,505' scale_x='1' scale_y='1' type='5' >
								<fill type='3' col1_r='0' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.25' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='0.25' />
							</visual>
						</command>
						<command class_type='transition' title='' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='7' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='0' order_idx='-1' id='21' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='0,0,0,0' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='0' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.501961' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='0' />
						</command>
						<command class_type='transition' title='go to too cold' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='4' hidden_id='24' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='2' order_idx='2' id='22' is_con='1' exp='temperature &lt; lowtemp' show_cond='1' show_label='1' label_id='23' >
							<visual rect='347,253,540,356' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='3' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='4' >
								<anchor_0 obj_id='4' con_id='59' x='347' y='253' />
								<anchor_1 obj_id='-1' con_id='0' x='357' y='293' />
								<anchor_2 obj_id='-1' con_id='0' x='479' y='319' />
								<anchor_3 obj_id='8' con_id='85' x='540' y='356' />
							</connections>
						</command>
						<command class_type='comment_sd' title='' comment='Comment' textmode='2' cmdcolor='8421376' cmdcolor_sec='16777215' cmdcolor_txt='9470064' cmdgradient='3' cmdopacity='0.25' type='9' hidden_id='-1' function_type='0' show_name='0' show_func='0' show_bord='0' id='23' is_con='0' >
							<visual rect='367,260,530,310' scale_x='1' scale_y='1' type='5' >
								<fill type='3' col1_r='0' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.25' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='0.25' />
							</visual>
						</command>
						<command class_type='transition' title='' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='7' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='0' order_idx='-1' id='24' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='0,0,0,0' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='0' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.501961' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='0' />
						</command>
						<command class_type='transition' title='stay at too cold' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='4' hidden_id='27' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='2' order_idx='1' id='25' is_con='1' exp='temperature &lt; lowtemp' show_cond='1' show_label='1' label_id='26' >
							<visual rect='562,380,626,489' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='3' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='4' >
								<anchor_0 obj_id='8' con_id='51' x='623' y='380' />
								<anchor_1 obj_id='-1' con_id='0' x='626' y='418' />
								<anchor_2 obj_id='-1' con_id='0' x='592' y='489' />
								<anchor_3 obj_id='8' con_id='58' x='562' y='380' />
							</connections>
						</command>
						<command class_type='comment_sd' title='' comment='Comment' textmode='2' cmdcolor='8421376' cmdcolor_sec='16777215' cmdcolor_txt='9470064' cmdgradient='3' cmdopacity='0.25' type='9' hidden_id='-1' function_type='0' show_name='0' show_func='0' show_bord='0' id='26' is_con='0' >
							<visual rect='548,494,696,544' scale_x='1' scale_y='1' type='5' >
								<fill type='3' col1_r='0' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.25' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='0.25' />
							</visual>
						</command>
						<command class_type='transition' title='' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='7' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='0' order_idx='-1' id='27' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='0,0,0,0' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='0' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.501961' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='0' />
						</command>
						<command class_type='transition' title='go to just right' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='4' hidden_id='30' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='2' order_idx='2' id='28' is_con='1' exp='temperature &gt; lowtemp' show_cond='1' show_label='1' label_id='29' >
							<visual rect='370,198,590,320' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='3' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='4' >
								<anchor_0 obj_id='8' con_id='12' x='590' y='320' />
								<anchor_1 obj_id='-1' con_id='0' x='547' y='214' />
								<anchor_2 obj_id='-1' con_id='0' x='499' y='198' />
								<anchor_3 obj_id='4' con_id='11' x='370' y='223' />
							</connections>
						</command>
						<command class_type='comment_sd' title='' comment='Comment' textmode='2' cmdcolor='8421376' cmdcolor_sec='16777215' cmdcolor_txt='9470064' cmdgradient='3' cmdopacity='0.25' type='9' hidden_id='-1' function_type='0' show_name='0' show_func='0' show_bord='0' id='29' is_con='0' >
							<visual rect='473,138,611,188' scale_x='1' scale_y='1' type='5' >
								<fill type='3' col1_r='0' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.25' />
								<outline type='0' col1_r='0.0117647' col1_g='0.0117647' col1_b='0.0117647' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0.1' col1_g='0.1' col1_b='0.1' col1_a='0.2' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='0.25' />
							</visual>
						</command>
						<command class_type='transition' title='' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='7' hidden_id='-1' function_type='0' show_name='1' show_func='1' show_bord='1' tran_type='0' order_idx='-1' id='30' is_con='1' exp='1' show_cond='1' show_label='1' label_id='-1' >
							<visual rect='0,0,0,0' scale_x='1' scale_y='1' type='1' thickness='1' >
								<arrow1 type='0' length='11' width='3' />
								<arrow2 type='0' length='11' width='3' />
								<fill type='0' col1_r='0.411765' col1_g='0.411765' col1_b='0.411765' col1_a='1' col2_r='1' col2_g='1' col2_b='1' col2_a='1' opacity='0.2' />
								<outline type='0' col1_r='0.501961' col1_g='0.501961' col1_b='0.501961' col1_a='1' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
								<shadow type='0' col1_r='0' col1_g='0' col1_b='0' col1_a='0' col2_r='0' col2_g='0' col2_b='0' col2_a='0' opacity='1' />
							</visual>
							<connections size='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='gettemp' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Gets temperature from the thermistor' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Thermistor1' macro='GetRealTemperature' >
							<return exp='temperature_float' />
						</command>
						<command class_type='calculation' title='Calculation' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='temperature = float2int (temperature_float)' />
							<exp exp='' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='1 = motor
2 = heater
3 = fan' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='Call Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='initialise' />
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='0' exp='keypadinput = 255' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='GetKeypad' >
									<return exp='keypadinput' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='4' type='1' />
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='keypadinput = 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='lowtemp = 15' />
									<exp exp='hightemp = 17' />
									<exp exp='germinating = 1' />
									<exp exp='malting = 0' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
									<argument exp='&quot; Germinating &quot;' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
									<argument exp='&quot;                &quot;' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
									<argument exp='&quot;                &quot;' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='MachineSD' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='keypadinput = 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='lowtemp = 40' />
									<exp exp='hightemp = 41' />
									<exp exp='germinating = 0' />
									<exp exp='malting = 1' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
									<argument exp='&quot;   Malting   &quot;' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
									<argument exp='&quot;                &quot;' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Component Macro' textmode='2' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
									<argument exp='&quot;                &quot;' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='MachineSD' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Drying' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayON' >
									<argument exp='3' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='5' type='2' />
								<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='RelayOFF' >
									<argument exp='3' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='5' type='2' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='initialise' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='interrupt' title='tick' textmode='2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='TMR0' call='timer' >
							<settings timer='1' prescale='256' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='0' />
								<option value='8' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='fanstatus = 0' />
							<exp exp='heaterstatus = 0' />
							<exp exp='germint = 10' />
							<exp exp='maltint = 10' />
							<exp exp='count = 0' />
							<exp exp='tmr0counter = 0' />
							<exp exp='seccounter = 0' />
							<exp exp='mincounter = 0' />
							<exp exp='hourcounter = 0' />
							<exp exp='malting = 0' />
							<exp exp='germinating = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayStart' />
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
							<argument exp='&quot;choose mode&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
							<argument exp='&quot;blue = germinate&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
							<argument exp='0' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
							<argument exp='&quot;yellow = malting&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='DisplayCursor' >
							<argument exp='0' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='PrintString' >
							<argument exp='&quot;T=    H=H F=F&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='miac1' macro='GetKeypad' >
							<return exp='keypadinput' />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='d69543a8-f38b-488a-b905-9fa2d5970beb' vmin='7' vmaj='1' codename='miac1' x='70' y='10' z='0' xsz='133' ysz='98.5' zsz='57.5' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='LCD_X' data='2' />
					<value target='LCD_Y' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='93ab1895-66cf-4fd8-a04f-79f09acc19e6' vmin='1' vmaj='1' codename='Thermistor1' x='10' y='-70' z='29.55' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='0' />
					<value target='ADC_BITS' data='8' />
					<value target='Thermistor_base1::adc_base1::convspd' data='003' />
					<value target='Thermistor_base1::adc_base1::actime' data='40' />
					<value target='Thermistor_base1::Wiring' data='001' />
					<value target='RESISTOR' data='10000' />
					<value target='M25' data='129287' />
					<value target='P0' data='32554' />
					<value target='P25' data='10000' />
					<value target='P50' data='3605' />
					<value target='P75' data='1481' />
					<value target='P100' data='677' />
					<value target='P125' data='338' />
					<value target='label' data='Temperature' />
					<value target='min_temp' data='-25.000000' />
					<value target='max_temp' data='125.000000' />
					<value target='scale_divisions' data='7' />
					<value target='temperature' data='76.398453' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='56.7495' ye='-17.1726' ze='242.553' xt='56.7495' yt='-17.1726' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='632' dy='569' zoom='315.279' fix_topleft='0' />
		<page x='1000' y='1000' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAywQAAH4DAAA' zoom='75' scrollx='0' scrolly='228' flags='0' />
		<view type='0' name='MachineSD' mode='4' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAywQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='initialise' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAywQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='updatedisplay' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAywQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='too_cold' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAywQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='too_hot' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAywQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='just_right' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAywQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='timer' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAywQAAH4DAAA' zoom='60' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='rotate_when_ready' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAywQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='gettemp' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAywQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
