<root>
<document scada='0' schema='102' license='1,73824157,K1AUEA' title='' description='' fcversion='589824' target='PIC16.33E.ECIO40P16' >
	<config data='' clkspd='140000000' simspd='2' usewdt='0' constif='0' Use3V3='1' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<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='6' />
			<data name='ClockPin' value='3' />
			<data name='DataPort' value='4' />
			<data name='DataPin' value='2' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='2' />
			<data name='CalculatedCommsDelay' value='2' />
			<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='0' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='9930aa9b-bcaf-493d-b814-cb12272f3fc3' 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='PROGRAM_NAME' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</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='X' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dIGITAL_IP_1' 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='TIMER_TICK' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DSPWaveGen1' macro='Generate' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DSPOutput1' macro='GetInt' >
							<return exp='dIGITAL_IP_1' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DAC_EB086' macro='OutputDAC' >
							<argument exp='dIGITAL_IP_1' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='XYChart1' macro='AddPoint' >
							<argument exp='X' />
							<argument exp='dIGITAL_IP_1' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Simulation' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='gLCD_EB043_00_2' macro='Plot' >
							<argument exp='X/2' />
							<argument exp='dIGITAL_IP_1 / 400 + 5' />
						</command>
						<command class_type='call' title='Simulation' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='gLCD_EB043_00_2' macro='PrintNumber' >
							<argument exp='X' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='X = X + 1' />
							<exp exp='' />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='ToneGenerator1' macro='PlayTone' >
							<argument exp='12' />
							<argument exp='100' />
						</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='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='PROGRAM_NAME = &quot; DSPIC DSP REV 03 &quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='EB083_MCP23017' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='ADC_EB085' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DAC_EB086' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='XYChart1' macro='Clear' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='gLCD_EBM001' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DSPWaveGen1' macro='ModifyFrequency' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='ToneGenerator1' macro='SetTone' >
							<argument exp='4' />
						</command>
						<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='TMR1' call='TIMER_TICK' >
							<settings timer='1' prescale='1' postscale='-1' rollover='65536' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='65536' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Start' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Clear' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
							<argument exp='PROGRAM_NAME' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='MCP23017' macro='Initialise' />
						<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
									<argument exp='1' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='MCP23017' macro='WritePort' >
									<argument exp='1' />
									<argument exp='255' />
									<argument exp='255' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='MCP23017' macro='WritePort' >
									<argument exp='0' />
									<argument exp='255' />
									<argument exp='255' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='MCP23017' macro='WritePort' >
									<argument exp='1' />
									<argument exp='255' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='MCP23017' macro='WritePort' >
									<argument exp='0' />
									<argument exp='255' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot; DISPLAY TEST &quot;' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='gLCD_EBM001' macro='PrintNumber' >
									<argument exp='888' />
									<argument exp='5' />
									<argument exp='5' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='2' type='2' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='cbe42abc-5955-44da-a6d0-03e7cbcdcaca' vmin='2' vmaj='1' codename='DSPWaveGen1' x='-2030' y='1040' z='0' xsz='46.5' ysz='32' zsz='5.965' 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='BuffSize' data='1' />
					<value target='BuffType' data='001' />
					<value target='wave_type' data='000' />
					<value target='wave_amplitude' data='65535' />
					<value target='wave_offset' data='32768' />
					<value target='wave_period' data='100' />
					<value target='wave_duty' data='000' />
					<value target='wave_phase' data='000' />
					<value target='wave_data' data='32768,34825,36874,38908,40916,42893,44830,46719,48553,50325,52028,53654,55198,56654,58015,59277,60434,61482,62416,63234,63931,64506,64955,65277,65470,65535,65470,65277,64955,64506,63931,63234,62416,61482,60434,59277,58015,56654,55198,53654,52028,50325,48553,46719,44830,42893,40916,38908,36874,34825,32768,30711,28662,26628,24620,22643,20706,18817,16983,15211,13508,11882,10338,8882,7521,6259,5102,4054,3120,2302,1605,1030,581,259,66,1,66,259,581,1030,1605,2302,3120,4054,5102,6259,7521,8882,10338,11882,13508,15211,16983,18817,20706,22643,24620,26628,28662,30711' />
					<value target='PeriodOffset' data='1.000000' />
					<value target='SamplePeriod' data='3.600000' />
					<value target='sample_rate' data='10000.000000' />
					<value target='calc_period' data='0.010000' />
					<value target='calc_freq' data='100.000000' />
					<value target='min_a' data='0' />
					<value target='max_a' data='65536' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='87d8bad5-6392-41fb-b370-d9b2c0f8f13f' vmin='0' vmaj='1' codename='ADC_EB085' x='-2070' y='1030' z='4.00751' 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='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_spi1::CHANNEL' data='000' />
					<value target='cal_spi1::PR_SCALE' data='004' />
					<value target='cal_spi1::MOSI' data='$PORTD.2' />
					<value target='cal_spi1::MOSIPins' data='008' />
					<value target='cal_spi1::MISO' data='$PORTD.0' />
					<value target='cal_spi1::MISOPins' data='013' />
					<value target='cal_spi1::CLK' data='$PORTD.1' />
					<value target='cal_spi1::CLKPins' data='004' />
					<value target='cal_spi1::SS' data='$PORTD.5' />
					<value target='DRTrace' data='1' />
					<value target='SimulateComms' data='1' />
					<value target='cal_spi1::ConsoleData' data='1' />
					<value target='cal_spi1::ScopeTraces' data='0' />
					<value target='cal_spi1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e83923b3-994a-41c9-b277-5b107ab6e1dd' vmin='0' vmaj='1' codename='DAC_EB086' x='-1910' y='1030' z='6.05751' 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='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_spi1::CHANNEL' data='000' />
					<value target='cal_spi1::PR_SCALE' data='004' />
					<value target='cal_spi1::MOSI' data='$PORTD.2' />
					<value target='cal_spi1::MOSIPins' data='008' />
					<value target='cal_spi1::MISO' data='$PORTD.0' />
					<value target='cal_spi1::MISOPins' data='013' />
					<value target='cal_spi1::CLK' data='$PORTB.1' />
					<value target='cal_spi1::CLKPins' data='004' />
					<value target='cal_spi1::SS' data='$PORTD.6' />
					<value target='DRTrace' data='1' />
					<value target='SimulateComms' data='1' />
					<value target='cal_spi1::ConsoleData' data='1' />
					<value target='cal_spi1::ScopeTraces' data='1' />
					<value target='cal_spi1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1392d5c3-35ba-4c7f-a539-7f30a09758e4' vmin='2' vmaj='1' codename='DSPOutput1' x='-1960' y='1040' z='0' xsz='46.5' ysz='32' zsz='5.965' 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='ConnectTo' data='DSPWaveGen1' />
					<value target='BuffSizeIn' data='1' />
					<value target='BuffTypeIn' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0187d13d-8822-4e75-ab22-474c7058ebe4' vmin='0' vmaj='1' codename='XYChart1' x='-2140' y='880' z='0' xsz='25' ysz='25' zsz='0' 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='17' >
				<resources />
				<properties />
				<values >
					<value target='Base2dChart::sXValues' data='' />
					<value target='Base2dChart::sYValues' data='' />
					<value target='Base2dChart::nFileOperation' data='' />
					<value target='Base2dChart::nStyle' data='000' />
					<value target='Base2dChart::sTitle' data='Title' />
					<value target='Base2dChart::sXName' data='X-axis' />
					<value target='Base2dChart::bXShowGrid' data='1' />
					<value target='Base2dChart::bXAuto' data='1' />
					<value target='Base2dChart::dXStart' data='0' />
					<value target='Base2dChart::dXEnd' data='100.000000' />
					<value target='Base2dChart::bXLogarithmic' data='0' />
					<value target='Base2dChart::bXScalable' data='0' />
					<value target='Base2dChart::sYName' data='Y-axis' />
					<value target='Base2dChart::bYShowGrid' data='1' />
					<value target='Base2dChart::bYAuto' data='1' />
					<value target='Base2dChart::dYStart' data='0' />
					<value target='Base2dChart::dYEnd' data='100.000000' />
					<value target='Base2dChart::bYLogarithmic' data='0' />
					<value target='Base2dChart::bYScalable' data='0' />
					<value target='Base2dChart::sY2Name' data='Y-axis (secondary)' />
					<value target='Base2dChart::bY2ShowGrid' data='1' />
					<value target='Base2dChart::bY2Auto' data='1' />
					<value target='Base2dChart::dY2Start' data='0' />
					<value target='Base2dChart::dY2End' data='100.000000' />
					<value target='Base2dChart::bY2Logarithmic' data='0' />
					<value target='Base2dChart::bY2Scalable' data='0' />
					<value target='Base2dChart::nLegendPosition' data='000' />
					<value target='Base2dChart::bDrawBorder' data='1' />
					<value target='Base2dChart::nSelectSeries' data='000' />
					<value target='Base2dChart::sSeriesName1' data='Series 1' />
					<value target='Base2dChart::bSeriesVisible1' data='1' />
					<value target='Base2dChart::bSecondaryAxis1' data='0' />
					<value target='Base2dChart::nLineStyle1' data='000' />
					<value target='Base2dChart::nLineType1' data='001' />
					<value target='Base2dChart::nLineWidth1' data='000' />
					<value target='Base2dChart::bShadow1' data='0' />
					<value target='Base2dChart::bShowMarker1' data='0' />
					<value target='Base2dChart::nMarkerShape1' data='001' />
					<value target='Base2dChart::nMarkerSize1' data='3' />
					<value target='Base2dChart::sSeriesName2' data='Series 2' />
					<value target='Base2dChart::bSeriesVisible2' data='0' />
					<value target='Base2dChart::bSecondaryAxis2' data='0' />
					<value target='Base2dChart::nLineStyle2' data='000' />
					<value target='Base2dChart::nLineType2' data='001' />
					<value target='Base2dChart::nLineWidth2' data='000' />
					<value target='Base2dChart::bShadow2' data='0' />
					<value target='Base2dChart::bShowMarker2' data='0' />
					<value target='Base2dChart::nMarkerShape2' data='001' />
					<value target='Base2dChart::nMarkerSize2' data='3' />
					<value target='Base2dChart::sSeriesName3' data='Series 3' />
					<value target='Base2dChart::bSeriesVisible3' data='0' />
					<value target='Base2dChart::bSecondaryAxis3' data='0' />
					<value target='Base2dChart::nLineStyle3' data='000' />
					<value target='Base2dChart::nLineType3' data='001' />
					<value target='Base2dChart::nLineWidth3' data='000' />
					<value target='Base2dChart::bShadow3' data='0' />
					<value target='Base2dChart::bShowMarker3' data='0' />
					<value target='Base2dChart::nMarkerShape3' data='001' />
					<value target='Base2dChart::nMarkerSize3' data='3' />
					<value target='Base2dChart::sSeriesName4' data='Series 4' />
					<value target='Base2dChart::bSeriesVisible4' data='0' />
					<value target='Base2dChart::bSecondaryAxis4' data='0' />
					<value target='Base2dChart::nLineStyle4' data='000' />
					<value target='Base2dChart::nLineType4' data='001' />
					<value target='Base2dChart::nLineWidth4' data='000' />
					<value target='Base2dChart::bShadow4' data='0' />
					<value target='Base2dChart::bShowMarker4' data='0' />
					<value target='Base2dChart::nMarkerShape4' data='001' />
					<value target='Base2dChart::nMarkerSize4' data='3' />
					<value target='Base2dChart::sSeriesName5' data='Series 5' />
					<value target='Base2dChart::bSeriesVisible5' data='0' />
					<value target='Base2dChart::bSecondaryAxis5' data='0' />
					<value target='Base2dChart::nLineStyle5' data='000' />
					<value target='Base2dChart::nLineType5' data='001' />
					<value target='Base2dChart::nLineWidth5' data='000' />
					<value target='Base2dChart::bShadow5' data='0' />
					<value target='Base2dChart::bShowMarker5' data='0' />
					<value target='Base2dChart::nMarkerShape5' data='001' />
					<value target='Base2dChart::nMarkerSize5' data='3' />
					<value target='Base2dChart::sSeriesName6' data='Series 6' />
					<value target='Base2dChart::bSeriesVisible6' data='0' />
					<value target='Base2dChart::bSecondaryAxis6' data='0' />
					<value target='Base2dChart::nLineStyle6' data='000' />
					<value target='Base2dChart::nLineType6' data='001' />
					<value target='Base2dChart::nLineWidth6' data='000' />
					<value target='Base2dChart::bShadow6' data='0' />
					<value target='Base2dChart::bShowMarker6' data='0' />
					<value target='Base2dChart::nMarkerShape6' data='001' />
					<value target='Base2dChart::nMarkerSize6' data='3' />
					<value target='Base2dChart::sSeriesName7' data='Series 7' />
					<value target='Base2dChart::bSeriesVisible7' data='0' />
					<value target='Base2dChart::bSecondaryAxis7' data='0' />
					<value target='Base2dChart::nLineStyle7' data='000' />
					<value target='Base2dChart::nLineType7' data='001' />
					<value target='Base2dChart::nLineWidth7' data='000' />
					<value target='Base2dChart::bShadow7' data='0' />
					<value target='Base2dChart::bShowMarker7' data='0' />
					<value target='Base2dChart::nMarkerShape7' data='001' />
					<value target='Base2dChart::nMarkerSize7' data='3' />
					<value target='Base2dChart::sSeriesName8' data='Series 8' />
					<value target='Base2dChart::bSeriesVisible8' data='0' />
					<value target='Base2dChart::bSecondaryAxis8' data='0' />
					<value target='Base2dChart::nLineStyle8' data='000' />
					<value target='Base2dChart::nLineType8' data='001' />
					<value target='Base2dChart::nLineWidth8' data='000' />
					<value target='Base2dChart::bShadow8' data='0' />
					<value target='Base2dChart::bShowMarker8' data='0' />
					<value target='Base2dChart::nMarkerShape8' data='001' />
					<value target='Base2dChart::nMarkerSize8' data='3' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c3e842d5-cf5d-4e4e-a406-95067ba26693' vmin='4' vmaj='1' codename='gLCD_EB043_00_2' x='-1884.5' y='892.75' z='0' xsz='0.923077' ysz='0.389189' 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='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_width' data='132' />
					<value target='pixel_height' data='176' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='colour_bit_depth' data='8' />
					<value target='red_bit_depth' data='3' />
					<value target='green_bit_depth' data='3' />
					<value target='blue_bit_depth' data='2' />
					<value target='FGCOL' data='0' />
					<value target='BGCOL' data='255' />
					<value target='data_pin' data='$PORTD.2' />
					<value target='clock_pin' data='$PORTD.1' />
					<value target='chip_sel_pin' data='$PORTD.3' />
					<value target='a0_pin' data='$PORTD.4' />
					<value target='Base_GLCD::FontCount' data='001' />
					<value target='Base_GLCD::gLCD_Font1::Font' data='000' />
					<value target='Base_GLCD::gLCD_Font1::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font1::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font2::Font' data='005' />
					<value target='Base_GLCD::gLCD_Font2::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font2::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font3::Font' data='002' />
					<value target='Base_GLCD::gLCD_Font3::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font3::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font4::Font' data='015' />
					<value target='Base_GLCD::gLCD_Font4::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font4::SpaceWidth' data='004' />
					<value target='DisplayMethod' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='51ad4fb4-3b45-4cd0-a74c-87311de8d3a2' vmin='0' vmaj='1' codename='ToneGenerator1' x='-1390' y='750' z='0' xsz='20' ysz='20' zsz='20' 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 />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='76bb1b8c-43da-48d3-b53f-a9907f03a528' vmin='0' vmaj='1' codename='EB083_MCP23017' x='-1640' y='800' z='10.75' 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='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ExtAddress' data='000' />
					<value target='cal_i2c1::CHANNEL' data='000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::SDA' data='$PORTF.0' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTF.1' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='UseReset' data='0' />
					<value target='reset_pin' data='$PORTC.0' />
					<value target='label' data='MCP23017' />
					<value target='cal_i2c1::ScopeTraces' data='1' />
					<value target='cal_i2c1::ConsoleData' data='1' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='76bb1b8c-43da-48d3-b53f-a9907f03a528' vmin='0' vmaj='1' codename='ENCODER_BOARD_MCP23017' x='-1370' y='480' z='12.51' 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='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ExtAddress' data='001' />
					<value target='cal_i2c1::CHANNEL' data='000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::SDA' data='$PORTF.0' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTF.1' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='UseReset' data='0' />
					<value target='reset_pin' data='$PORTC.0' />
					<value target='label' data='MCP23017' />
					<value target='cal_i2c1::ScopeTraces' data='1' />
					<value target='cal_i2c1::ConsoleData' data='1' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='bcd6a955-12c6-4ed4-a22f-f16eb62e0762' vmin='2' vmaj='2' codename='lcd_I2C1' x='-2080' y='703.15' z='16.84' xsz='4.75' ysz='3.0303' 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='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Address' data='63' />
					<value target='cal_i2c1::CHANNEL' data='000' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::SDA' data='$PORTF.0' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTF.1' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='Rows' data='004' />
					<value target='Columns' data='020' />
					<value target='UseBL' data='0' />
					<value target='SimComms' data='0' />
					<value target='cal_i2c1::ScopeTraces' data='1' />
					<value target='cal_i2c1::ConsoleData' data='0' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='743ea495-34e7-47ee-bd79-3bfdc067b01c' vmin='0' vmaj='1' codename='UartSoftwareTimer1' x='-1790' y='650' z='14.28' 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='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='DataBits' data='008' />
					<value target='StopBits' data='001' />
					<value target='MaxStates' data='10' />
					<value target='UseTx' data='1' />
					<value target='UseRx' data='1' />
					<value target='TXPin' data='$PORTA.0' />
					<value target='TXBufferSize' data='50' />
					<value target='RXPin' data='$PORTA.1' />
					<value target='RXBufferSize' data='50' />
					<value target='Injector' data='' />
					<value target='InjectorHandle' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='76bb1b8c-43da-48d3-b53f-a9907f03a528' vmin='0' vmaj='1' codename='MCP23017' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ExtAddress' data='000' />
					<value target='cal_i2c1::CHANNEL' data='000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::BAUD_LIST' data='003' />
					<value target='cal_i2c1::BAUD' data='1000000' />
					<value target='cal_i2c1::SDA' data='$PORTF.0' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTF.1' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='UseReset' data='0' />
					<value target='reset_pin' data='$PORTC.0' />
					<value target='label' data='MCP23017' />
					<value target='cal_i2c1::ScopeTraces' data='1' />
					<value target='cal_i2c1::ConsoleData' data='1' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5a6d2f2e-da92-49b4-ad5c-71f51e8fe24b' vmin='6' vmaj='1' codename='gLCD_EBM001' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_width' data='128' />
					<value target='pixel_height' data='160' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='colour_bit_depth' data='16' />
					<value target='red_bit_depth' data='5' />
					<value target='green_bit_depth' data='6' />
					<value target='blue_bit_depth' data='5' />
					<value target='FGCOL' data='0' />
					<value target='BGCOL' data='65535' />
					<value target='data_pin' data='$PORTD.0' />
					<value target='clock_pin' data='$PORTD.1' />
					<value target='chip_sel_pin' data='$PORTD.3' />
					<value target='a0_pin' data='$PORTD.4' />
					<value target='reset_pin' data='$PORTD.5' />
					<value target='led_pin' data='$PORTD.6' />
					<value target='Base_GLCD::FontCount' data='001' />
					<value target='Base_GLCD::gLCD_Font1::Font' data='001' />
					<value target='Base_GLCD::gLCD_Font1::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font1::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font2::Font' data='005' />
					<value target='Base_GLCD::gLCD_Font2::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font2::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font3::Font' data='002' />
					<value target='Base_GLCD::gLCD_Font3::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font3::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font4::Font' data='015' />
					<value target='Base_GLCD::gLCD_Font4::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font4::SpaceWidth' data='004' />
					<value target='DisplayMethod' data='000' />
				</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='-1835.26' ye='909.421' ze='826.256' xt='-1835.26' yt='909.421' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='1528' dy='999' zoom='223.766' 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='781.66' 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---------------------wUAAAAYAAAA2gIAAKECAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TIMER_TICK' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA2gIAAKECAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
