<root>
<document scada='0' schema='102' license='1,54349151,1WPA8J' title='' description='' fcversion='590336' target='PIC.18F.18F47K40' >
	<config data='!0,f68c!10,f6fd!20,cfef!30,dfff!40,ffff!50,ffff%0,4%4,0%8,0%b,0%d,1%10,1%11,0%15,1%16,3%18,2%1a,1%1b,0%1c,1%1d,1%1f,1%20,f%25,3%28,7%2b,1%30,ff%38,1%39,1%3a,1%3c,1%3d,0%40,1%41,1%50,ff%59,1' clkspd='64000000' simspd='1' usewdt='1' constif='0' Use3V3='0' />
	<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='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='3' />
			<data name='CalculatedCommsDelay' value='3' />
			<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='d79844fc-247f-4daa-acfd-f9648bbc1a69' 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='' />
		<gdiopts FullContainer='1' FullTransparency='1' ShowGdi='1' ShowOpengl='1' />
		<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='BPS' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='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='Ign' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Test1' type='T8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='200' />
					</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='Value' 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='Temp' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='retval' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='delay_val' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send' type='T8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='200' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Collect_Number' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='50' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SNDCMD' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Delay_Time' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TimerCount' type='u8' 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>
				<variable public='0' >
					<def class_type='variable' name='Check' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Read_Buffer' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='DataRB' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='AddStr' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='2' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='Collect_Number = &quot;&quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='.DataRB &lt; 255' >
							<flowline >
								<command class_type='native' title='Watchdog Clear' ccode='/*
  Clear Whatchdog
*/
MX_CLEAR_WATCHDOG;' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' language='C' />
								<command class_type='delay' title='Delay' cmdcolor='36095' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' exp='10' type='1' />
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Check = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferA' macro='GetByte' >
											<return exp='.DataRB' />
										</command>
										<command class_type='call' title='Debug' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendString' >
											<argument exp='&quot;A&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferB' macro='GetByte' >
											<return exp='.DataRB' />
										</command>
										<command class_type='call' title='Debug' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendString' >
											<argument exp='&quot;B&quot;' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendChar' >
									<argument exp='10' />
								</command>
								<command class_type='comment' title='' comment='If Buffer returns 255 then all data 
has been loaded into Variable
and now ready to be processed' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.DataRB = 255' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Check = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendString' >
													<argument exp='&quot;Buffer &quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendString' >
													<argument exp='Collect_Number' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='BPS = 1' swap='0' >
													<flowline />
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
															<exp exp='Collect_Number = Mid$ (Collect_Number,9,8)' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
											<exp exp='.AddStr[0] = .DataRB' />
											<exp exp='.AddStr[1] = 0' />
										</command>
										<command class_type='calculation' title='Add Data to read_mem vairable' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
											<exp exp='Collect_Number = Collect_Number + .AddStr' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SendCommand' description='' statediag='0' >
						<return name='Return' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='CommandString' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='250' />
						</param>
						<param name='AddCR' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='len' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='idx' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='timeout' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferB' macro='FlushBuffer' />
						<command class_type='comment' title='' comment='Get lenth of string 
to send Char' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
						<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='.len = Length$ (.CommandString)' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='.timeout = 0' />
							<exp exp='.idx = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='.idx &lt; .len' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232B' macro='SendChar' >
									<argument exp='.CommandString[.idx]' />
								</command>
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendString' >
									<argument exp='.CommandString' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
									<exp exp='.idx = .idx + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Send CR if  AddCR =1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.AddCR' swap='0' >
							<flowline >
								<command class_type='call' title='Send CR character' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232B' macro='SendChar' >
									<argument exp='13' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='.timeout &lt; 30' >
							<flowline >
								<command class_type='native' title='Watchdog Clear' ccode='/*
  Clear Whatchdog
*/
MX_CLEAR_WATCHDOG;' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' language='C' />
								<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferB' macro='LookForValue' >
									<return exp='.idx' />
									<argument exp='&quot;\n&quot;' />
									<argument exp='1' />
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.idx = 1' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='' />
									</flowline>
									<flowline >
										<command class_type='delay' title='Delay' cmdcolor='36095' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' exp='10' type='1' />
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
									<exp exp='.timeout = .timeout + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='A' />
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.timeout = 255' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
									<exp exp='.Return = 255' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferB' macro='LookForValue' >
									<return exp='.idx' />
									<argument exp='&quot;OK&quot;' />
									<argument exp='2' />
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.idx = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
											<exp exp='.Return = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
											<exp exp='.Return = 1' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='retval = .Return' />
							<exp exp='Value = ToString$ (retval)' />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendString' >
							<argument exp='Value' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='RXD1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='DataB' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232B' macro='ReceiveChar' >
							<return exp='.DataB' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Debug' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='Name = &quot;RXD1 &quot;' />
							<exp exp='Value = ToString$ (.DataB)' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferB' macro='PutByte' >
							<argument exp='.DataB' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='Debug' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TimerInt' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='TimerCount = TimerCount + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='TimerCount &amp; 0x01' swap='0' >
							<flowline >
								<command class_type='output' title='Output' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='1' usechipref='1' />
							</flowline>
							<flowline >
								<command class_type='output' title='Output' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='0' usechipref='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Debug' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Debug' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendString' >
							<argument exp='Name' />
						</command>
						<command class_type='call' title='Debug' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendString' >
							<argument exp='Value' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendChar' >
							<argument exp='10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='delay' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='delay' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='.delay = 0' />
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='A' />
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.delay = delay_val' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
									<exp exp='.delay = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='delay' title='Delay' cmdcolor='36095' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' exp='1' type='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
									<exp exp='.delay = .delay + 1' />
								</command>
								<command class_type='goto' title='Goto Connection Point' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='RXD' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='Data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='ReceiveChar' >
							<return exp='.Data' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Debug' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='Name = &quot;RXD &quot;' />
							<exp exp='Value = ToString$ (.Data)' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferA' macro='PutByte' >
							<argument exp='.Data' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='Debug' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='cnt' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='native' title='C Code' ccode='OSCFRQ = 0x08;' cmdcolor='255' cmdcolor_sec='42495' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' language='C' />
						<command class_type='output' title='Signal Strength' cmdcolor='2263842' cmdcolor_sec='65535' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='1' port='1048580' mask='1' exp='1' usechipref='1' />
						<command class_type='output' title='Signal Strength' cmdcolor='65280' cmdcolor_sec='65535' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='1' port='1048580' mask='2' exp='1' usechipref='1' />
						<command class_type='output' title='Signal Strength' ccode='// Name: Output, Type: Output: 0 -&gt; E2
SET_PORT_PIN(E,2,(0));
' cmdcolor='65280' cmdcolor_sec='65535' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='1' port='1048580' mask='4' exp='1' usechipref='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232B' macro='Initialise' />
						<command class_type='interrupt' title='Interrupt' cmdcolor='255' cmdcolor_sec='255' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' enable='1' name='TMR0' call='TimerInt' >
							<settings timer='1' prescale='2048' postscale='15' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='11' />
								<option value='14' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='255' cmdcolor_sec='255' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' enable='1' name='RXINT0' call='RXD' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='255' cmdcolor_sec='255' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' enable='1' name='RXINT1' call='RXD1' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='comment' title='' comment='Puls D1 To turn on the EG915N GSM MODULE' textarea='185,67,185,67' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
						<command class_type='output' title='EG915N Power' cmdcolor='9639167' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='1' port='1048579' mask='2' exp='1' usechipref='1' />
						<command class_type='calculation' title='500ms' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='delay_val = 500' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='delay' />
						<command class_type='output' title='EG915N Power' cmdcolor='9639167' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='1' port='1048579' mask='2' exp='0' usechipref='1' />
						<command class_type='calculation' title='500ms' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='delay_val = 500' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='delay' />
						<command class_type='output' title='Output' cmdcolor='9639167' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='1' port='1048579' mask='2' exp='1' usechipref='1' />
						<command class_type='comment' title='' comment='Wait For the EG915N GSM MODULE to power Up' textarea='80,133,80,133' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
						<command class_type='calculation' title='10s' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
							<exp exp='delay_val = 10000' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='delay' />
						<command class_type='output' title='Signal Strength' cmdcolor='2263842' cmdcolor_sec='65535' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='1' port='1048580' mask='1' exp='0' usechipref='1' />
						<command class_type='output' title='Signal Strength' cmdcolor='65280' cmdcolor_sec='65535' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='1' port='1048580' mask='2' exp='0' usechipref='1' />
						<command class_type='output' title='Signal Strength' ccode='// Name: Output, Type: Output: 0 -&gt; E2
SET_PORT_PIN(E,2,(0));
' cmdcolor='65280' cmdcolor_sec='65535' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='1' port='1048580' mask='4' exp='0' usechipref='1' />
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='10' >
							<flowline >
								<command class_type='comment' title='' comment='Set The auto bord rate of EG915N module to (115200)' textarea='235,118,235,118' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
								<command class_type='calculation' title='Get signal strength' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
									<exp exp='send = &quot;AT&quot;' />
									<exp exp='' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='SendCommand' >
									<argument exp='send' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferB' macro='LookForValue' >
									<return exp='retval' />
									<argument exp='&quot;OK&quot;' />
									<argument exp='2' />
									<argument exp='1' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='retval = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
											<exp exp='retval = 0' />
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='2' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='2' labelname='C' />
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferA' macro='GetNumberBytes' >
									<return exp='Temp' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Temp &gt; 0' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferA' macro='GetByte' >
											<return exp='Temp' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232B' macro='SendChar' >
											<argument exp='Temp' />
										</command>
										<command class_type='calculation' title='Debug' disable='1' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
											<exp exp='Name = &quot;Buffa A &quot;' />
											<exp exp='Value = ToString$ (Temp)' />
										</command>
										<command class_type='call' title='User Macro' disable='1' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='Debug' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferB' macro='GetNumberBytes' >
									<return exp='Temp' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Temp &gt; 0' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='CircularBufferB' macro='GetByte' >
											<return exp='Temp' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='128' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' component='RS232A' macro='SendChar' >
											<argument exp='Temp' />
										</command>
										<command class_type='calculation' title='Debug' disable='1' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
											<exp exp='Name = &quot;Buffa B &quot;' />
											<exp exp='Value = ToString$ (Temp)' />
										</command>
										<command class_type='call' title='User Macro' disable='1' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='Debug' />
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='36095' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' exp='1' type='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
									<exp exp='.cnt = .cnt + 1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.cnt = 10000' swap='0' >
									<flowline >
										<command class_type='calculation' title='Get signal strength' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
											<exp exp='send = &quot;AT+CSQ&quot;' />
											<exp exp='' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='SendCommand' >
											<argument exp='send' />
											<argument exp='1' />
										</command>
										<command class_type='calculation' title='Debug' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
											<exp exp='Name = &quot;Read Buffa &quot;' />
											<exp exp='' />
										</command>
										<command class_type='call' title='User Macro' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='Debug' />
										<command class_type='calculation' title='Calculation' cmdcolor='16711680' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' >
											<exp exp='.cnt = 0' />
											<exp exp='Check = 0' />
										</command>
										<command class_type='call' title='User Macro' cmdcolor='2263842' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='0' cmdopacity='1' macro='Read_Buffer' />
									</flowline>
									<flowline />
								</command>
								<command class_type='native' title='Watchdog Clear' ccode='/*
  Clear Whatchdog
*/
MX_CLEAR_WATCHDOG;' cmdcolor='255' cmdcolor_sec='16711680' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' language='C' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='RS232A' x='-10' y='10' z='0.755' xsz='60' ysz='26' zsz='1.51' 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_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='009' />
					<value target='cal_uart::BAUD' data='115200' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTC.6' />
					<value target='cal_uart::OutputPins' data='006' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTC.7' />
					<value target='cal_uart::InputPins' data='023' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
					<value target='cal_uart::APIUseDDR' data='' />
					<value target='cal_uart::APIDDRPin' data='' />
					<value target='cal_uart::APIDDRRXState' data='' />
					<value target='cal_uart::APIUseFC' data='' />
					<value target='cal_uart::APICTSPin' data='' />
					<value target='cal_uart::APIRTSPin' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='RS232B' x='-10' y='-30' z='0.755' xsz='60' ysz='26' zsz='1.51' 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_uart::CHANNEL' data='002' />
					<value target='cal_uart::BAUD_LIST' data='009' />
					<value target='cal_uart::BAUD' data='115200' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTD.6' />
					<value target='cal_uart::OutputPins' data='006' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTD.7' />
					<value target='cal_uart::InputPins' data='031' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
					<value target='cal_uart::APIUseDDR' data='' />
					<value target='cal_uart::APIDDRPin' data='' />
					<value target='cal_uart::APIDDRRXState' data='' />
					<value target='cal_uart::APIUseFC' data='' />
					<value target='cal_uart::APICTSPin' data='' />
					<value target='cal_uart::APIRTSPin' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='CircularBufferA' x='30' y='10' z='8' xsz='0.714286' ysz='0.714286' zsz='0.714286' 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='BufferSize' data='300' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
					<value target='Console' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='CircularBufferB' x='30' y='-30' z='8' xsz='0.714286' ysz='0.714286' zsz='0.714286' 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='BufferSize' data='300' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
					<value target='Console' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3e5cc6d0-3e36-46b8-bc40-f238a5735b6e' vmin='0' vmaj='1' codename='IntOscHelper1' x='-60' y='10' z='0' xsz='0.714286' ysz='0.714286' zsz='0.714286' 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='OscSpeed' data='009' />
					<value target='OscFreq' data='64000000' />
					<value target='ClockSpeed' data='20000000' />
					<value target='Info' data='Warning: Clock Speed In Project Options Does Not Match Internal Oscillator Speed' />
					<value target='Code' data='OSCFRQ = 0x08;' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='2105930' img='' style='0' />
		<camera xe='11.68' ye='2.12225' ze='262.418' xt='11.68' yt='2.12225' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='739' dy='411' zoom='340.75' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<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---------------------wUAAAAYAAAA7QQAAMoCAAA' zoom='75' scrollx='0' scrolly='1463' flags='0' />
		<view type='0' name='RXD' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA7QQAAMoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RXD1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA7QQAAMoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TimerInt' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA7QQAAMoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='delay' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA7QQAAMoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SendCommand' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA7QQAAMoCAAA' zoom='75' scrollx='0' scrolly='219' flags='0' />
		<view type='0' name='Read_Buffer' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA7QQAAMoCAAA' zoom='75' scrollx='0' scrolly='720' flags='0' />
		<view type='0' name='Debug' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA7QQAAMoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
