<root>
<document schema='101' license='1,Zane Liddle,8KB0G6' title='' description='' target='PIC.18F.18F26K80' >
	<config data='!0,bf!8,32!10,fe!18,f4!20,ff!28,7f!30,ff!38,ff!40,ff!48,ff!50,ff!58,ff!60,ff!68,ff%0,1%2,1%3,3%6,0%8,2%c,1%e,0%f,0%10,0%11,3%13,3%15,3%18,0%1b,e%1a,1%28,1%2b,1%2f,0%30,1%34,1%37,1%40,1%41,1%42,1%43,1%4e,1%4f,1%50,1%51,1%52,1%53,1%5d,1%5e,1%5f,1%60,1%61,1%62,1%63,1%6e,1' clkspd='64000000' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='255' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='MessageReceivedOk' />
		<watch expr='DisplayMessageReadyLine1' />
		<watch expr='DisplayMessageReadyLine2' />
		<watch expr='DisplayStartSpaces' />
		<watch expr='DisplayEndSpaces' />
		<watch expr='DisplayLineXaxis' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='a446f528-7143-4ea0-b621-0c5974ee872f' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='Misc' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' 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' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyLine3YMax' type='s16' description='' isconst='1' isinit='1' usrinit='278' setinit='278' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='KeyPressDisplayed' type='u8' description='Shows that the key stroke has been displayed' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayCpuActiveOn' type='u8' description='Shows the CPU active LED has been updated' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchInputXAxisIn' type='s16' description='X touch input co-ordinates' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='g' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayLineYaxis' type='s16' description='Sets the co ordinates for either line 1 or 2 for the text' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringVar1' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='f' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyColumn3XMin' type='s16' description='' isconst='1' isinit='1' usrinit='248' setinit='248' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StatusRemove' type='u8' description='Status of the remove button and the machine' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Scratch1' type='u8' description='Scratch register 1' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PageNumber' type='u8' description='The page that is being displayed 1=Main 2=Aux' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CheckSumCountRead' type='u8' description='An index to count the last 2 bytes of data before allowing the buffer to be read' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayMessageLine2' type='u8' description='Shows the line that message is meant to go on' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyLine1YMin' type='s16' description='' isconst='1' isinit='1' usrinit='88' setinit='88' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayMessageLine1' type='u8' description='Shows the line that message is meant to go on' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StatusTransfer' type='u8' description='Status of the transfer button and the machine' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MessageReceivedOk1' type='u8' description='Shows that the complete message has been received and is ready for processing for the general data' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Port1CheckSumDetected' type='u8' description='Shows that the check sum has been detected in the data stream on the from the buffer' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyColumn4XMin' type='s16' description='' isconst='1' isinit='1' usrinit='368' setinit='368' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='InterruptCount' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='a' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WritingMessage' type='u8' description='Used to prevent data being placed into the buffers if a write is taking place' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StatusSA44' type='u8' description='Statusof the sa44 button and the machine' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyLine2YMin' type='s16' description='' isconst='1' isinit='1' usrinit='158' setinit='158' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CheckMessageTextLine2' type='u8' description='Checks the message to see if it is text for line 2' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayTimer' type='s16' description='Used to reset the display and lock the system after no activity is detected' isconst='0' isinit='1' usrinit='60' setinit='60' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StatusGrip' type='u8' description='Status of the grip button and the machine' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CheckMessageTextLine1' type='u8' description='Checks the message to see if it is text for line 1' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Busy' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayCharacterDetected' type='u8' description='Shows that a character has been detected' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BuffersCleared' type='u8' description='Shows that the buffers have been cleared' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyLine3YMin' type='s16' description='' isconst='1' isinit='1' usrinit='224' setinit='224' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='KeystrokeReturnTimer2' type='s16' description='Used to flush the message buffers as a back measure' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayStartSpacesSet' type='u8' description='Shows that the spaces at the start of the message have been calculated' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='KeystrokeReturnTimer1' type='s16' description='Times the delay before the keystroke return is displayed' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayStartSpaces' type='u8' description='Counts how many spaces there are at the start of the message' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayEndSpaces' type='u8' description='Counts how many spaces there are at the end of the message' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayCpuActiveOff' type='u8' description='Shows the CPU active LED has been updated' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StatusAuto' type='u8' description='Shows the status of the auto button and the machine' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StatusRAFeed' type='u8' description='Status of the RA feed button and machine' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TxEnable' type='u8' description='Enables the transmission of data' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyColumn1XMax' type='s16' description='' isconst='1' isinit='1' usrinit='118' setinit='118' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StatusHandle' type='u8' description='Status of the handle button and the machine' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayStartup' type='u8' description='Displays complete page 1 at bootup because of known state' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ReadBuffer' type='u8' description='Once the complete string of data has been received allow the buffer to be read' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MessageReceivedOk' type='u8' description='Shows that the complete message has been received and is ready for processing for the data' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayMessageReadyLine2' type='u8' description='Shows that the message for line 2 is in the buffer' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CheckSumDetectedWrite' type='u8' description='Shows that the check sum has been detected in the data stream on the write to the buffer' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayMessageReadyLine1' type='u8' description='Shows that the message for line 1 is in the buffer' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyColumn2XMax' type='s16' description='' isconst='1' isinit='1' usrinit='238' setinit='238' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CheckMessageNull' type='u8' description='Checks the message to see if it is a null message' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data4' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Port1IndexCount' type='u8' description='An index to count the last 2 bytes of data before allowing the buffer to be read' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TxEnableCount' type='u8' description='Used to set the time interval for sending the data to the comms node' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data3' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data2' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StatusManualFeed' type='u8' description='Status of the manual feed button and the machine' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data1' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchInputYAxisIn' type='s16' description='Y touch input co-ordinates' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyColumn3XMax' type='s16' description='' isconst='1' isinit='1' usrinit='358' setinit='358' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StatusManualSeqences' type='u8' description='Shows whether the system is in manual sequences or user utilities' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchTypeDetected' type='s16' description='Touch type on up on down or sliding input' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyLine1YMax' type='s16' description='' isconst='1' isinit='1' usrinit='146' setinit='146' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StatusStarted' type='u8' description='Shows that the start button is active as well the machine' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='KeystrokeCommand' type='u8' description='The value of the key pressed that is sent to the comms node' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Contrast' type='u8' description='' isconst='0' isinit='1' usrinit='5' setinit='5' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyColumn4XMax' type='s16' description='' isconst='1' isinit='1' usrinit='473' setinit='473' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyColumn1XMin' type='s16' description='' isconst='1' isinit='1' usrinit='14' setinit='14' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PageNumberPrevious' type='u8' description='' isconst='0' isinit='1' usrinit='255' setinit='255' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyLine2YMax' type='s16' description='' isconst='1' isinit='1' usrinit='216' setinit='216' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='KeypadData' type='u8' description='The data for the key that has been pressed' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DisplayLineXaxis' type='s16' description='Sets the co ordinates for x axis' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchFieldKeyColumn2XMin' type='s16' description='' isconst='1' isinit='1' usrinit='129' setinit='129' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='DisplayPanels' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Has the page been updated' exp='PageNumber = PageNumberPrevious' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Is page 1 required' exp='PageNumber = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='Page 1' textarea='12,0,12,0' />
										<command class_type='decision' title='Has the system just started' exp='DisplayStartup = 0' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='Startup page 1' textarea='12,0,12,0' />
												<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='0' />
													<argument exp='0' />
													<argument exp='&quot;UBT1.Gci&quot;' />
													<argument exp='0x0' />
													<argument exp='0x0' />
												</command>
												<command class_type='calculation' title='Show that the page has been displayed' >
													<exp exp='DisplayStartup = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Is the machine in auto and started started' exp='StatusStarted = 1 &amp;&amp; StatusAuto = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Page 1' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='0' />
															<argument exp='86' />
															<argument exp='&quot;UBT1.Gci&quot;' />
															<argument exp='0x3' />
															<argument exp='0xfe00' />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Is the machine in auto and stopped' exp='StatusStarted = 0 &amp;&amp; StatusAuto = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Page 1' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='0' />
															<argument exp='86' />
															<argument exp='&quot;UBT1.Gci&quot;' />
															<argument exp='0x6' />
															<argument exp='0xb800' />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Is the machine in manual and started started' exp='StatusStarted = 1 &amp;&amp; StatusAuto = 0' swap='0' >
													<flowline >
														<command class_type='call' title='Page 1' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='0' />
															<argument exp='86' />
															<argument exp='&quot;UBT1.Gci&quot;' />
															<argument exp='0x9' />
															<argument exp='0x7200' />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Is the machine in manual and stopped' exp='StatusStarted = 0 &amp;&amp; StatusAuto = 0' swap='0' >
													<flowline >
														<command class_type='call' title='Page 1' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='0' />
															<argument exp='86' />
															<argument exp='&quot;UBT1.Gci&quot;' />
															<argument exp='0xc' />
															<argument exp='0x2c00' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='Page 2' textarea='12,0,12,0' />
										<command class_type='decision' title='Is the machine in auto and started started' exp='StatusStarted = 1 &amp;&amp; StatusAuto = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Page 2' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='0' />
													<argument exp='86' />
													<argument exp='&quot;UBT1.Gci&quot;' />
													<argument exp='0xe' />
													<argument exp='0xe600' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Is the machine in auto and stopped' exp='StatusStarted = 0 &amp;&amp; StatusAuto = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Page 2' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='0' />
													<argument exp='86' />
													<argument exp='&quot;UBT1.Gci&quot;' />
													<argument exp='0x11' />
													<argument exp='0xa000' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Is the machine in manual and started started' exp='StatusStarted = 1 &amp;&amp; StatusAuto = 0' swap='0' >
											<flowline >
												<command class_type='call' title='Page 2' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='0' />
													<argument exp='86' />
													<argument exp='&quot;UBT1.Gci&quot;' />
													<argument exp='0x14' />
													<argument exp='0x5a00' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Is the machine in manual and stopped' exp='StatusStarted = 0 &amp;&amp; StatusAuto = 0' swap='0' >
											<flowline >
												<command class_type='call' title='Page 2' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='0' />
													<argument exp='86' />
													<argument exp='&quot;UBT1.Gci&quot;' />
													<argument exp='0x17' />
													<argument exp='0x1400' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Is the RA feed active' exp='StatusRAFeed = 1' swap='0' >
											<flowline >
												<command class_type='call' title='RA Feed led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='31' />
													<argument exp='161' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x4000' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='RA Feed led off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='31' />
													<argument exp='161' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x3c00' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Is the man feed active' exp='StatusManualFeed = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Manual Feed led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='141' />
													<argument exp='161' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x4000' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Manual Feed led off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='141' />
													<argument exp='161' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x3c00' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Is remove active' exp='StatusRemove = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Remove led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='251' />
													<argument exp='161' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x4000' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Remove led off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='251' />
													<argument exp='161' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x3c00' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Is handle active' exp='StatusHandle = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Handle led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='360' />
													<argument exp='161' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x4000' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Handle led off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='360' />
													<argument exp='161' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x3c00' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Is the transfer active' exp='StatusTransfer = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Transf led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='31' />
													<argument exp='217' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x4000' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Transf led off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='31' />
													<argument exp='217' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x3c00' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Is the grip active' exp='StatusGrip = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Grip led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='141' />
													<argument exp='217' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x4000' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Grip led off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='141' />
													<argument exp='217' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x3c00' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Is the SA44 active' exp='StatusSA44 = 1' swap='0' >
											<flowline >
												<command class_type='call' title='SA44 led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='251' />
													<argument exp='217' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x4000' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='SA44 led off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
													<argument exp='251' />
													<argument exp='217' />
													<argument exp='&quot;UBT2.Gci&quot;' />
													<argument exp='0x6' />
													<argument exp='0x3c00' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='PageNumberPrevious = PageNumber' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='CPU alive' textarea='12,0,12,0' />
						<command class_type='decision' title='Has 200mS elapsed' exp='InterruptCount &gt; 45' swap='0' >
							<flowline >
								<command class_type='decision' title='Has the display been updated' exp='DisplayCpuActiveOff = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
											<argument exp='294' />
											<argument exp='262' />
											<argument exp='&quot;UBT2.Gci&quot;' />
											<argument exp='0x6' />
											<argument exp='0x4600' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='DisplayCpuActiveOff = 1' />
											<exp exp='DisplayCpuActiveOn = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Has the display been updated' exp='DisplayCpuActiveOn = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
											<argument exp='294' />
											<argument exp='262' />
											<argument exp='&quot;UBT2.Gci&quot;' />
											<argument exp='0x6' />
											<argument exp='0x4400' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='DisplayCpuActiveOn = 1' />
											<exp exp='DisplayCpuActiveOff = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Comms' description='Reads the contents of the UART on reception of data and writes the data to a circular buffer. Detects the end of a string by checking for the checksum and the last two bytes after that allowing for the data in the buffer to be used.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='RxData' type='u8' description='Data received from the UART' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='call' title='Call Component Macro' component='RS232' macro='ReceiveChar' >
							<return exp='.RxData' />
							<argument exp='10' />
						</command>
						<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='PutByte' >
							<argument exp='.RxData' />
						</command>
						<command class_type='call' title='Call Component Macro' component='CircularBuffer2' macro='PutByte' >
							<argument exp='.RxData' />
						</command>
						<command class_type='call' title='Call Component Macro' component='CircularBuffer3' macro='PutByte' >
							<argument exp='.RxData' />
						</command>
						<command class_type='call' title='Call Component Macro' component='CircularBuffer4' macro='PutByte' >
							<argument exp='.RxData' />
						</command>
						<command class_type='decision' title='Has the checksum been detected' exp='.RxData = 151' swap='0' >
							<flowline >
								<command class_type='calculation' title='Show that the check sum has been detected' >
									<exp exp='Port1CheckSumDetected = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Has the checksum been detected' exp='Port1CheckSumDetected = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='CheckSumCountRead = CheckSumCountRead + 1' />
								</command>
								<command class_type='decision' title='Has the complete string of data been received' exp='CheckSumCountRead = 3' swap='0' >
									<flowline >
										<command class_type='calculation' title='Enable data processing' >
											<exp exp='CheckSumCountRead = 0' />
											<exp exp='Port1CheckSumDetected = 0' />
											<exp exp='MessageReceivedOk = 1' />
											<exp exp='' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DisplayButtons' description='Displays the buttons on the panel' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='More work to be done on status&apos;s when button is pressed setting status on
then having the status returned to latch that value
Hopper feed status and and manual feed status need to be put in in main
loop from messages' textarea='12,0,12,0' />
						<command class_type='decision' title='Has a key been pressed or is a keystroke still being processed' exp='KeypadData = 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='KeypadData' >
									<case >
										<flowline >
											<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='KeypadData' >
												<case >
													<flowline >
														<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='KeypadData' >
															<case >
																<flowline />
															</case>
															<case exp='21' >
																<flowline >
																	<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
																		<flowline />
																		<flowline >
																			<command class_type='call' title='Transf down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='25' />
																				<argument exp='211' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x5' />
																				<argument exp='0xa400' />
																			</command>
																			<command class_type='call' title='Show led' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='31' />
																				<argument exp='217' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x6' />
																				<argument exp='0x4000' />
																			</command>
																			<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																				<exp exp='KeyPressDisplayed = 1' />
																			</command>
																		</flowline>
																	</command>
																	<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
																		<flowline >
																			<command class_type='call' title='Transf' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='25' />
																				<argument exp='211' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x5' />
																				<argument exp='0xca00' />
																			</command>
																			<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																				<exp exp='KeyPressDisplayed = 0' />
																			</command>
																			<command class_type='calculation' title='Reset the key input' >
																				<exp exp='KeypadData = 0' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																</flowline>
															</case>
															<case exp='22' >
																<flowline >
																	<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
																		<flowline />
																		<flowline >
																			<command class_type='call' title='Grip down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='135' />
																				<argument exp='211' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x1' />
																				<argument exp='0x7c00' />
																			</command>
																			<command class_type='call' title='Show led' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='142' />
																				<argument exp='217' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x6' />
																				<argument exp='0x4000' />
																			</command>
																			<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																				<exp exp='KeyPressDisplayed = 1' />
																			</command>
																		</flowline>
																	</command>
																	<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
																		<flowline >
																			<command class_type='call' title='Grip' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='135' />
																				<argument exp='211' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x1' />
																				<argument exp='0xa200' />
																			</command>
																			<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																				<exp exp='KeyPressDisplayed = 0' />
																			</command>
																			<command class_type='calculation' title='Reset the key input' >
																				<exp exp='KeypadData = 0' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																</flowline>
															</case>
															<case exp='23' >
																<flowline >
																	<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
																		<flowline />
																		<flowline >
																			<command class_type='call' title='SA44 down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='245' />
																				<argument exp='211' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x4' />
																				<argument exp='0x2800' />
																			</command>
																			<command class_type='call' title='Show led' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='251' />
																				<argument exp='217' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x6' />
																				<argument exp='0x4000' />
																			</command>
																			<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																				<exp exp='KeyPressDisplayed = 1' />
																			</command>
																		</flowline>
																	</command>
																	<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
																		<flowline >
																			<command class_type='call' title='SA44' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='245' />
																				<argument exp='211' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x4' />
																				<argument exp='0x4e00' />
																			</command>
																			<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																				<exp exp='KeyPressDisplayed = 0' />
																			</command>
																			<command class_type='calculation' title='Reset the key input' >
																				<exp exp='KeypadData = 0' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																</flowline>
															</case>
															<case exp='24' >
																<flowline >
																	<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
																		<flowline />
																		<flowline >
																			<command class_type='call' title='Change to page 2' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='354' />
																				<argument exp='211' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x3' />
																				<argument exp='0x4400' />
																			</command>
																			<command class_type='call' title='Show led' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='360' />
																				<argument exp='217' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x6' />
																				<argument exp='0x4000' />
																			</command>
																			<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																				<exp exp='KeyPressDisplayed = 1' />
																			</command>
																		</flowline>
																	</command>
																	<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
																		<flowline >
																			<command class_type='call' title='Change to page 2' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																				<argument exp='354' />
																				<argument exp='155' />
																				<argument exp='&quot;UBT2.Gci&quot;' />
																				<argument exp='0x3' />
																				<argument exp='0x6a00' />
																			</command>
																			<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																				<exp exp='KeyPressDisplayed = 0' />
																			</command>
																			<command class_type='calculation' title='Reset the key input' >
																				<exp exp='KeypadData = 0' />
																			</command>
																			<command class_type='calculation' title='Calculation' >
																				<exp exp='PageNumber = 1' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																</flowline>
															</case>
														</command>
													</flowline>
												</case>
												<case exp='11' >
													<flowline >
														<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
															<flowline />
															<flowline >
																<command class_type='call' title='Blank down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='245' />
																	<argument exp='211' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x0' />
																	<argument exp='0x9800' />
																</command>
																<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																	<exp exp='KeyPressDisplayed = 1' />
																</command>
															</flowline>
														</command>
														<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
															<flowline >
																<command class_type='call' title='Down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='245' />
																	<argument exp='211' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x0' />
																	<argument exp='0xbe00' />
																</command>
																<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																	<exp exp='KeyPressDisplayed = 0' />
																</command>
																<command class_type='calculation' title='Reset the key input' >
																	<exp exp='KeypadData = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</case>
												<case exp='12' >
													<flowline >
														<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
															<flowline />
															<flowline >
																<command class_type='call' title='Change to page 2' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='354' />
																	<argument exp='211' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x3' />
																	<argument exp='0x4400' />
																</command>
																<command class_type='call' title='Show led' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='360' />
																	<argument exp='217' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x6' />
																	<argument exp='0x4000' />
																</command>
																<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																	<exp exp='KeyPressDisplayed = 1' />
																</command>
															</flowline>
														</command>
														<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
															<flowline >
																<command class_type='call' title='Change to page 2' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='354' />
																	<argument exp='211' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x3' />
																	<argument exp='0x6a00' />
																</command>
																<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																	<exp exp='KeyPressDisplayed = 0' />
																</command>
																<command class_type='calculation' title='Reset the key input' >
																	<exp exp='KeypadData = 0' />
																</command>
																<command class_type='calculation' title='Calculation' >
																	<exp exp='PageNumber = 2' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</case>
												<case exp='13' >
													<flowline />
												</case>
												<case exp='14' >
													<flowline />
												</case>
												<case exp='15' >
													<flowline />
												</case>
												<case exp='16' >
													<flowline />
												</case>
												<case exp='17' >
													<flowline >
														<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
															<flowline />
															<flowline >
																<command class_type='call' title='Ra feed down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='25' />
																	<argument exp='155' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x3' />
																	<argument exp='0x9000' />
																</command>
																<command class_type='decision' title='Is the system in auto or user utilities and stopped' exp='StatusManualSeqences = 0 &amp;&amp; StatusStarted = 0' swap='0' >
																	<flowline >
																		<command class_type='call' title='Ra feed led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																			<argument exp='31' />
																			<argument exp='161' />
																			<argument exp='&quot;UBT2.Gci&quot;' />
																			<argument exp='0x6' />
																			<argument exp='0x4000' />
																		</command>
																		<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
																			<exp exp='KeystrokeCommand = 17' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
																<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																	<exp exp='KeyPressDisplayed = 1' />
																</command>
															</flowline>
														</command>
														<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
															<flowline >
																<command class_type='call' title='Ra feed' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='25' />
																	<argument exp='155' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x3' />
																	<argument exp='0xb600' />
																</command>
																<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																	<exp exp='KeyPressDisplayed = 0' />
																</command>
																<command class_type='calculation' title='Reset the key input' >
																	<exp exp='KeypadData = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</case>
												<case exp='18' >
													<flowline >
														<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
															<flowline />
															<flowline >
																<command class_type='call' title='Man feed down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='135' />
																	<argument exp='155' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x2' />
																	<argument exp='0x1400' />
																</command>
																<command class_type='decision' title='Is the system in auto or user utilities and stopped with ra feed' exp='StatusManualSeqences = 0 &amp;&amp; StatusStarted = 0 &amp;&amp; StatusRAFeed = 1' swap='0' >
																	<flowline >
																		<command class_type='call' title='Up led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																			<argument exp='141' />
																			<argument exp='161' />
																			<argument exp='&quot;UBT2.Gci&quot;' />
																			<argument exp='0x6' />
																			<argument exp='0x4000' />
																		</command>
																		<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
																			<exp exp='KeystrokeCommand = 18' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
																<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																	<exp exp='KeyPressDisplayed = 1' />
																</command>
															</flowline>
														</command>
														<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
															<flowline >
																<command class_type='call' title='Up' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='135' />
																	<argument exp='155' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x2' />
																	<argument exp='0x3a00' />
																</command>
																<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																	<exp exp='KeyPressDisplayed = 0' />
																</command>
																<command class_type='calculation' title='Reset the key input' >
																	<exp exp='KeypadData = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</case>
												<case exp='19' >
													<flowline >
														<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
															<flowline />
															<flowline >
																<command class_type='call' title='Remove down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='245' />
																	<argument exp='155' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x3' />
																	<argument exp='0xdc00' />
																</command>
																<command class_type='decision' title='Is the system in auto and stopped ' exp='StatusStarted = 0 &amp;&amp; StatusAuto = 1' swap='0' >
																	<flowline >
																		<command class_type='call' title='Down led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																			<argument exp='251' />
																			<argument exp='161' />
																			<argument exp='&quot;UBT2.Gci&quot;' />
																			<argument exp='0x6' />
																			<argument exp='0x4000' />
																		</command>
																		<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
																			<exp exp='KeystrokeCommand = 19' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
																<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																	<exp exp='KeyPressDisplayed = 1' />
																</command>
															</flowline>
														</command>
														<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
															<flowline >
																<command class_type='call' title='Remove' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='245' />
																	<argument exp='155' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x4' />
																	<argument exp='0x0200' />
																</command>
																<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																	<exp exp='KeyPressDisplayed = 0' />
																</command>
																<command class_type='calculation' title='Reset the key input' >
																	<exp exp='KeypadData = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</case>
												<case exp='20' >
													<flowline >
														<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
															<flowline />
															<flowline >
																<command class_type='call' title='Handle down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='354' />
																	<argument exp='155' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x1' />
																	<argument exp='0xc800' />
																</command>
																<command class_type='call' title='Down led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='360' />
																	<argument exp='161' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x6' />
																	<argument exp='0x4000' />
																</command>
																<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																	<exp exp='KeyPressDisplayed = 1' />
																</command>
															</flowline>
														</command>
														<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
															<flowline >
																<command class_type='call' title='Handle' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																	<argument exp='354' />
																	<argument exp='155' />
																	<argument exp='&quot;UBT2.Gci&quot;' />
																	<argument exp='0x1' />
																	<argument exp='0xee00' />
																</command>
																<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																	<exp exp='KeyPressDisplayed = 0' />
																</command>
																<command class_type='calculation' title='Reset the key input' >
																	<exp exp='KeypadData = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='comment' title='' comment='Start' textarea='12,0,12,0' />
											<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='call' title='Start on down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='25' />
														<argument exp='99' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x4' />
														<argument exp='0xc000' />
													</command>
													<command class_type='call' title='Stop off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='135' />
														<argument exp='99' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x5' />
														<argument exp='0x3200' />
													</command>
													<command class_type='decision' title='Is the system started' exp='StatusStarted = 1' swap='0' >
														<flowline />
														<flowline >
															<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
																<exp exp='KeystrokeCommand = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='calculation' title='Show the system is running' >
														<exp exp='StatusStarted = 1' />
													</command>
													<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
														<exp exp='KeyPressDisplayed = 1' />
													</command>
												</flowline>
											</command>
											<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
												<flowline >
													<command class_type='call' title='Start on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='25' />
														<argument exp='99' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x4' />
														<argument exp='0xe600' />
													</command>
													<command class_type='calculation' title='Reset the value ready for the next keystroke' >
														<exp exp='KeyPressDisplayed = 0' />
													</command>
													<command class_type='calculation' title='Reset the key input' >
														<exp exp='KeypadData = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='comment' title='' comment='Stop' textarea='12,0,12,0' />
											<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='call' title='Stop on down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='135' />
														<argument exp='99' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x5' />
														<argument exp='0x5800' />
													</command>
													<command class_type='call' title='Start off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='25' />
														<argument exp='99' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x4' />
														<argument exp='0x9a00' />
													</command>
													<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
														<exp exp='KeystrokeCommand = 2' />
													</command>
													<command class_type='calculation' title='Show the system is stopped' >
														<exp exp='StatusStarted = 0' />
													</command>
													<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
														<exp exp='KeyPressDisplayed = 1' />
													</command>
												</flowline>
											</command>
											<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
												<flowline >
													<command class_type='call' title='Stop on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='135' />
														<argument exp='99' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x5' />
														<argument exp='0x7e00' />
													</command>
													<command class_type='calculation' title='Reset the value ready for the next keystroke' >
														<exp exp='KeyPressDisplayed = 0' />
													</command>
													<command class_type='calculation' title='Reset the key input' >
														<exp exp='KeypadData = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='comment' title='' comment='Auto' textarea='12,0,12,0' />
											<command class_type='decision' title='Is the system started and in manual' exp='StatusStarted = 1 &amp;&amp; StatusAuto = 0' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='If in manual and running display the auto key being pressed while off' textarea='12,0,12,0' />
													<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
														<flowline />
														<flowline >
															<command class_type='call' title='Auto off down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='245' />
																<argument exp='99' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x0' />
																<argument exp='0x0' />
															</command>
															<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																<exp exp='KeyPressDisplayed = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
														<flowline >
															<command class_type='call' title='Auto off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='245' />
																<argument exp='99' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x0' />
																<argument exp='0x2600' />
															</command>
															<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																<exp exp='KeyPressDisplayed = 0' />
															</command>
															<command class_type='calculation' title='Reset the key input' >
																<exp exp='KeypadData = 0' />
															</command>
														</flowline>
														<flowline />
													</command>
												</flowline>
												<flowline >
													<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
														<flowline />
														<flowline >
															<command class_type='call' title='Auto on down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='245' />
																<argument exp='99' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x0' />
																<argument exp='0x4c00' />
															</command>
															<command class_type='call' title='Manual off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='354' />
																<argument exp='99' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x2' />
																<argument exp='0x8600' />
															</command>
															<command class_type='decision' title='Is the system in auto' exp='StatusAuto = 1' swap='0' >
																<flowline />
																<flowline >
																	<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
																		<exp exp='KeystrokeCommand = 3' />
																	</command>
																</flowline>
															</command>
															<command class_type='calculation' title='Show the system is in auto' >
																<exp exp='StatusAuto = 1' />
															</command>
															<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																<exp exp='KeyPressDisplayed = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
														<flowline >
															<command class_type='call' title='Auto on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='245' />
																<argument exp='99' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x0' />
																<argument exp='0x7200' />
															</command>
															<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																<exp exp='KeyPressDisplayed = 0' />
															</command>
															<command class_type='calculation' title='Reset the key input' >
																<exp exp='KeypadData = 0' />
															</command>
														</flowline>
														<flowline />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='comment' title='' comment='Manual' textarea='12,0,12,0' />
											<command class_type='decision' title='Has the system started and its in auto' exp='StatusStarted = 1 &amp;&amp; StatusAuto = 1' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='If in auto and running display the manual key being pressed while off' textarea='12,0,12,0' />
													<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
														<flowline />
														<flowline >
															<command class_type='call' title='Manual off down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='354' />
																<argument exp='99' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x2' />
																<argument exp='0x6000' />
															</command>
															<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
																<exp exp='KeyPressDisplayed = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
														<flowline >
															<command class_type='call' title='Manual off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='354' />
																<argument exp='99' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x2' />
																<argument exp='0x8600' />
															</command>
															<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																<exp exp='KeyPressDisplayed = 0' />
															</command>
															<command class_type='calculation' title='Reset the key input' >
																<exp exp='KeypadData = 0' />
															</command>
														</flowline>
														<flowline />
													</command>
												</flowline>
												<flowline >
													<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
														<flowline />
														<flowline >
															<command class_type='call' title='Manual on down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='354' />
																<argument exp='99' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x2' />
																<argument exp='0xac00' />
															</command>
															<command class_type='call' title='Auto off' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='245' />
																<argument exp='99' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x0' />
																<argument exp='0x2600' />
															</command>
															<command class_type='decision' title='Is the system in manual ' exp='StatusAuto = 0' swap='0' >
																<flowline />
																<flowline >
																	<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
																		<exp exp='KeystrokeCommand = 4' />
																	</command>
																</flowline>
															</command>
															<command class_type='calculation' title='Show the system is in manual' >
																<exp exp='StatusAuto = 0' />
															</command>
															<command class_type='calculation' title='Show that thedownward keystroke has been complete' textarea='36,200,36,200' >
																<exp exp='KeyPressDisplayed = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
														<flowline >
															<command class_type='call' title='Manual on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='354' />
																<argument exp='99' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x2' />
																<argument exp='0xd200' />
															</command>
															<command class_type='calculation' title='Reset the value ready for the next keystroke' >
																<exp exp='KeyPressDisplayed = 0' />
															</command>
															<command class_type='calculation' title='Reset the key input' >
																<exp exp='KeypadData = 0' />
															</command>
														</flowline>
														<flowline />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='call' title='Menu down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='25' />
														<argument exp='155' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x2' />
														<argument exp='0xf800' />
													</command>
													<command class_type='decision' title='Is the system in manual and stopped' exp='StatusAuto = 0 &amp;&amp; StatusStarted = 0' swap='0' >
														<flowline >
															<command class_type='call' title='Menu led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='31' />
																<argument exp='161' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x6' />
																<argument exp='0x4000' />
															</command>
															<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
																<exp exp='KeystrokeCommand = 5' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
														<exp exp='KeyPressDisplayed = 1' />
													</command>
												</flowline>
											</command>
											<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
												<flowline >
													<command class_type='call' title='Menu' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='25' />
														<argument exp='155' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x3' />
														<argument exp='0x1e00' />
													</command>
													<command class_type='calculation' title='Reset the value ready for the next keystroke' >
														<exp exp='KeyPressDisplayed = 0' />
													</command>
													<command class_type='calculation' title='Reset the key input' >
														<exp exp='KeypadData = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='call' title='Up down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='135' />
														<argument exp='155' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x5' />
														<argument exp='0xf000' />
													</command>
													<command class_type='decision' title='Is the system in manual and stopped' exp='StatusAuto = 0 &amp;&amp; StatusStarted = 0' swap='0' >
														<flowline >
															<command class_type='call' title='Up led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='141' />
																<argument exp='161' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x6' />
																<argument exp='0x4000' />
															</command>
															<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
																<exp exp='KeystrokeCommand = 6' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
														<exp exp='KeyPressDisplayed = 1' />
													</command>
												</flowline>
											</command>
											<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
												<flowline >
													<command class_type='call' title='Up' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='135' />
														<argument exp='155' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x6' />
														<argument exp='0x1600' />
													</command>
													<command class_type='calculation' title='Reset the value ready for the next keystroke' >
														<exp exp='KeyPressDisplayed = 0' />
													</command>
													<command class_type='calculation' title='Reset the key input' >
														<exp exp='KeypadData = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='call' title='Down down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='245' />
														<argument exp='155' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x0' />
														<argument exp='0xe400' />
													</command>
													<command class_type='decision' title='Is the system in manual and stopped' exp='StatusAuto = 0 &amp;&amp; StatusStarted = 0' swap='0' >
														<flowline >
															<command class_type='call' title='Down led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='251' />
																<argument exp='161' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x6' />
																<argument exp='0x4000' />
															</command>
															<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
																<exp exp='KeystrokeCommand = 7' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
														<exp exp='KeyPressDisplayed = 1' />
													</command>
												</flowline>
											</command>
											<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
												<flowline >
													<command class_type='call' title='Down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='245' />
														<argument exp='155' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x1' />
														<argument exp='0x0a00' />
													</command>
													<command class_type='calculation' title='Reset the value ready for the next keystroke' >
														<exp exp='KeyPressDisplayed = 0' />
													</command>
													<command class_type='calculation' title='Reset the key input' >
														<exp exp='KeypadData = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='call' title='Exit down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='354' />
														<argument exp='155' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x1' />
														<argument exp='0x3000' />
													</command>
													<command class_type='decision' title='Is the system in manual and stopped' exp='StatusAuto = 0 &amp;&amp; StatusStarted = 0' swap='0' >
														<flowline >
															<command class_type='call' title='Down led on' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																<argument exp='360' />
																<argument exp='161' />
																<argument exp='&quot;UBT2.Gci&quot;' />
																<argument exp='0x6' />
																<argument exp='0x4000' />
															</command>
															<command class_type='calculation' title='Set the keystroke command value to be sent to the comms node' >
																<exp exp='KeystrokeCommand = 8' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
														<exp exp='KeyPressDisplayed = 1' />
													</command>
												</flowline>
											</command>
											<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
												<flowline >
													<command class_type='call' title='Down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='354' />
														<argument exp='155' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x1' />
														<argument exp='0x5600' />
													</command>
													<command class_type='calculation' title='Reset the value ready for the next keystroke' >
														<exp exp='KeyPressDisplayed = 0' />
													</command>
													<command class_type='calculation' title='Reset the key input' >
														<exp exp='KeypadData = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='call' title='Blank down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='25' />
														<argument exp='211' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x0' />
														<argument exp='0x9800' />
													</command>
													<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
														<exp exp='KeyPressDisplayed = 1' />
													</command>
												</flowline>
											</command>
											<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
												<flowline >
													<command class_type='call' title='Down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='25' />
														<argument exp='211' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x0' />
														<argument exp='0xbe00' />
													</command>
													<command class_type='calculation' title='Reset the value ready for the next keystroke' >
														<exp exp='KeyPressDisplayed = 0' />
													</command>
													<command class_type='calculation' title='Reset the key input' >
														<exp exp='KeypadData = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
											<command class_type='calculation' title='Calculation' >
												<exp exp='Contrast = Contrast + 1' />
											</command>
											<command class_type='decision' title='Decision' exp='Contrast &gt; 15' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Contrast = 15' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='decision' title='Has the keystroke been displayed' exp='KeyPressDisplayed = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='call' title='Blank down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='135' />
														<argument exp='211' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x0' />
														<argument exp='0x9800' />
													</command>
													<command class_type='calculation' title='Show that thedownward keystroke has been complete' >
														<exp exp='KeyPressDisplayed = 1' />
													</command>
												</flowline>
											</command>
											<command class_type='decision' title='Has the keystroke return timer ended' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
												<flowline >
													<command class_type='call' title='Down' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
														<argument exp='135' />
														<argument exp='211' />
														<argument exp='&quot;UBT2.Gci&quot;' />
														<argument exp='0x0' />
														<argument exp='0xbe00' />
													</command>
													<command class_type='calculation' title='Reset the value ready for the next keystroke' >
														<exp exp='KeyPressDisplayed = 0' />
													</command>
													<command class_type='calculation' title='Reset the key input' >
														<exp exp='KeypadData = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
											<command class_type='calculation' title='Calculation' >
												<exp exp='Contrast = Contrast - 1' />
											</command>
											<command class_type='decision' title='Decision' exp='Contrast &lt; 1' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Contrast = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='InterruptRoutine' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='InterruptCount = InterruptCount + 1' />
							<exp exp='TxEnableCount = TxEnableCount + 1' />
						</command>
						<command class_type='decision' title='If one second is reached reset the count' exp='InterruptCount &gt; 244' swap='0' >
							<flowline >
								<command class_type='calculation' title='Reset the count' >
									<exp exp='InterruptCount = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Decrement the timer' >
							<exp exp='KeystrokeReturnTimer1 = KeystrokeReturnTimer1 - 1' />
						</command>
						<command class_type='decision' title='Is the timer at zero' exp='KeystrokeReturnTimer1 &lt; 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Hold timer at 0' >
									<exp exp='KeystrokeReturnTimer1 = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Decrement the timer' >
							<exp exp='KeystrokeReturnTimer2 = KeystrokeReturnTimer2 - 1' />
						</command>
						<command class_type='decision' title='Is the timer at zero' exp='KeystrokeReturnTimer2 &lt; 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Hold timer at 0' >
									<exp exp='KeystrokeReturnTimer2 = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Enable the sending of data if the time is up' exp='TxEnableCount &gt; 3' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='TxEnable = 1' />
									<exp exp='TxEnableCount = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='KeypadData' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Block any further keystrokes while there is active keypad data' exp='KeypadData &gt; 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='gLCD_EB076_4D1' macro='G4D_GetTouchCoordinatesPicaso' >
									<return exp='TouchTypeDetected' />
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' exp='TouchTypeDetected = 1' swap='0' >
									<flowline >
										<command class_type='decision' title='Is the display active' textarea='36,0,511,300' exp='DisplayTimer &gt; 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Set the display timer when activity is detected' textarea='36,0,511,300' >
													<exp exp='DisplayTimer = 60' />
												</command>
												<command class_type='call' title='Call Component Macro' textarea='36,0,503,0' component='gLCD_EB076_4D1' macro='G4D_ReadTouchCoordinatesPicaso' >
													<return exp='TouchInputXAxisIn' />
													<argument exp='0' />
												</command>
												<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='gLCD_EB076_4D1' macro='G4D_ReadTouchCoordinatesPicaso' >
													<return exp='TouchInputYAxisIn' />
													<argument exp='1' />
												</command>
												<command class_type='decision' title='Has key 1 been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn1XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn1XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine1YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine1YMax)' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
															<flowline >
																<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																	<exp exp='KeypadData = 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																	<exp exp='KeypadData = 1' />
																</command>
															</flowline>
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Has key 2 been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn2XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn2XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine1YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine1YMax)' swap='0' >
															<flowline >
																<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																			<exp exp='KeypadData = 2' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																			<exp exp='KeypadData = 2' />
																		</command>
																	</flowline>
																</command>
															</flowline>
															<flowline >
																<command class_type='decision' title='Has key 3 been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn3XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn3XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine1YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine1YMax)' swap='0' >
																	<flowline >
																		<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																			<flowline >
																				<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																					<exp exp='KeypadData = 3' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																					<exp exp='KeypadData = 3' />
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='decision' title='Has key 4 been pressed' textarea='36,0,509,0' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn4XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn4XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine1YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine1YMax)' swap='0' >
																			<flowline >
																				<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																					<flowline >
																						<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																							<exp exp='KeypadData = 4' />
																						</command>
																					</flowline>
																					<flowline >
																						<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																							<exp exp='KeypadData = 4' />
																						</command>
																					</flowline>
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='decision' title='Has key 5 been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn1XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn1XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine2YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine2YMax)' swap='0' >
																					<flowline >
																						<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																							<flowline >
																								<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																									<exp exp='KeypadData = 5' />
																								</command>
																							</flowline>
																							<flowline >
																								<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																									<exp exp='KeypadData = 17' />
																								</command>
																							</flowline>
																						</command>
																					</flowline>
																					<flowline >
																						<command class_type='decision' title='Has key 6 been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn2XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn2XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine2YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine2YMax)' swap='0' >
																							<flowline >
																								<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																									<flowline >
																										<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																											<exp exp='KeypadData = 6' />
																										</command>
																									</flowline>
																									<flowline >
																										<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																											<exp exp='KeypadData = 18' />
																										</command>
																									</flowline>
																								</command>
																							</flowline>
																							<flowline >
																								<command class_type='decision' title='Has key 7 been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn3XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn3XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine2YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine2YMax)' swap='0' >
																									<flowline >
																										<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																											<flowline >
																												<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																													<exp exp='KeypadData = 7' />
																												</command>
																											</flowline>
																											<flowline >
																												<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																													<exp exp='KeypadData = 19' />
																												</command>
																											</flowline>
																										</command>
																									</flowline>
																									<flowline >
																										<command class_type='decision' title='Has key 8 been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn4XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn4XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine2YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine2YMax)' swap='0' >
																											<flowline >
																												<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																													<flowline >
																														<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																															<exp exp='KeypadData = 8' />
																														</command>
																													</flowline>
																													<flowline >
																														<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																															<exp exp='KeypadData = 20' />
																														</command>
																													</flowline>
																												</command>
																											</flowline>
																											<flowline >
																												<command class_type='decision' title='Has key 9 been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn1XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn1XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine3YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine3YMax)' swap='0' >
																													<flowline >
																														<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																															<flowline >
																																<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																																	<exp exp='KeypadData = 9' />
																																</command>
																															</flowline>
																															<flowline >
																																<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																																	<exp exp='KeypadData = 21' />
																																</command>
																															</flowline>
																														</command>
																													</flowline>
																													<flowline >
																														<command class_type='decision' title='Has delete been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn2XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn2XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine3YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine3YMax)' swap='0' >
																															<flowline >
																																<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																																	<flowline >
																																		<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																																			<exp exp='KeypadData = 10' />
																																		</command>
																																	</flowline>
																																	<flowline >
																																		<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																																			<exp exp='KeypadData = 22' />
																																		</command>
																																	</flowline>
																																</command>
																															</flowline>
																															<flowline >
																																<command class_type='decision' title='Has key 0 been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn3XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn3XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine3YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine3YMax)' swap='0' >
																																	<flowline >
																																		<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																																			<flowline >
																																				<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																																					<exp exp='KeypadData = 11' />
																																				</command>
																																			</flowline>
																																			<flowline >
																																				<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																																					<exp exp='KeypadData = 23' />
																																				</command>
																																			</flowline>
																																		</command>
																																	</flowline>
																																	<flowline >
																																		<command class_type='decision' title='Has enter been pressed' textarea='36,0,511,300' exp='(TouchInputXAxisIn &gt; TouchFieldKeyColumn4XMin &amp;&amp; TouchInputXAxisIn &lt; TouchFieldKeyColumn4XMax) &amp;&amp; (TouchInputYAxisIn &gt; TouchFieldKeyLine3YMin &amp;&amp; TouchInputYAxisIn &lt; TouchFieldKeyLine3YMax)' swap='0' >
																																			<flowline >
																																				<command class_type='decision' title='Decision' exp='PageNumber = 1' swap='0' >
																																					<flowline >
																																						<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																																							<exp exp='KeypadData = 12' />
																																						</command>
																																					</flowline>
																																					<flowline >
																																						<command class_type='calculation' title='Indicate what button has been pressed' textarea='36,0,511,300' >
																																							<exp exp='KeypadData = 24' />
																																						</command>
																																					</flowline>
																																				</command>
																																			</flowline>
																																			<flowline />
																																		</command>
																																	</flowline>
																																</command>
																															</flowline>
																														</command>
																													</flowline>
																												</command>
																											</flowline>
																										</command>
																									</flowline>
																								</command>
																							</flowline>
																						</command>
																					</flowline>
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Set the timer after each keystroke 400mS' >
													<exp exp='KeystrokeReturnTimer1 = 97' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Set the display timer when activity is detected' textarea='36,0,511,300' >
													<exp exp='DisplayTimer = 60' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='Clear the keypad press once the button is released' textarea='12,0,12,0' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Delay' exp='1' type='2' />
						<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='G4D_InitialiseCard' />
						<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='G4D_EnableTouchscreenPicaso' />
						<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='FlushBuffer' />
						<command class_type='call' title='Call Component Macro' component='CircularBuffer2' macro='FlushBuffer' />
						<command class_type='call' title='Call Component Macro' component='CircularBuffer3' macro='FlushBuffer' />
						<command class_type='call' title='Call Component Macro' component='CircularBuffer4' macro='FlushBuffer' />
						<command class_type='call' title='Call Component Macro' component='RS232' macro='Initialise' />
						<command class_type='interrupt' title='Interrupt' enable='1' name='RXINT0' call='Comms' >
							<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' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' enable='1' name='TMR0' call='InterruptRoutine' >
							<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' />
							</settings>
						</command>
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Macro' macro='DisplayPanels' />
								<command class_type='call' title='Call Macro' macro='DisplayButtons' />
								<command class_type='call' title='Call Macro' macro='KeypadData' />
								<command class_type='comment' title='' comment='Tansmit the system status to the comms node' textarea='12,0,12,0' />
								<command class_type='decision' title='Has the transmission of data been enabled' exp='TxEnable = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='RS232' macro='SendChar' >
											<argument exp='253' />
										</command>
										<command class_type='call' title='Call Component Macro' component='RS232' macro='SendChar' >
											<argument exp='KeystrokeCommand' />
										</command>
										<command class_type='call' title='Call Component Macro' component='RS232' macro='SendChar' >
											<argument exp='StatusAuto' />
										</command>
										<command class_type='call' title='Call Component Macro' component='RS232' macro='SendChar' >
											<argument exp='StatusManualSeqences' />
										</command>
										<command class_type='calculation' title='Reset the keystroke command and send enable' >
											<exp exp='KeystrokeCommand = 0' />
											<exp exp='TxEnable = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='




This is the part of code in this section not working 
,scroll down to the next large comment box 




' textarea='12,0,12,0' />
								<command class_type='decision' title='Has a valid message been received' exp='MessageReceivedOk = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='a = a + 1' />
										</command>
										<command class_type='output' title='Output' mode='0' port='1048576' mask='0' exp='a' />
										<command class_type='calculation' title='Clear the message processing bit since that is started' >
											<exp exp='MessageReceivedOk = 0' />
										</command>
										<command class_type='comment' title='' comment='Auto preselection' textarea='12,0,12,0' />
										<command class_type='calculation' title='Calculation' >
											<exp exp='StringVar1 = &quot;&quot;' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='StringVar1[0] = 151' />
											<exp exp='StringVar1[1] = 52' />
											<exp exp='StringVar1[2] = 49' />
											<exp exp='StringVar1[3] = 0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='LookForValue' >
											<return exp='Scratch1' />
											<argument exp='StringVar1' />
											<argument exp='3' />
											<argument exp='0' />
											<argument exp='1' />
										</command>
										<command class_type='decision' title='Has the system been placed into auto' exp='Scratch1 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Place the system status into auto' >
													<exp exp='StatusAuto = 1' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='Manual preselection' textarea='12,0,12,0' />
										<command class_type='calculation' title='Calculation' >
											<exp exp='StringVar1[0] = 151' />
											<exp exp='StringVar1[1] = 67' />
											<exp exp='StringVar1[2] = 49' />
											<exp exp='StringVar1[3] = 0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='LookForValue' >
											<return exp='Scratch1' />
											<argument exp='StringVar1' />
											<argument exp='3' />
											<argument exp='0' />
											<argument exp='1' />
										</command>
										<command class_type='decision' title='Has the system been placed into manual' exp='Scratch1 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Place the system status into manual' >
													<exp exp='StatusAuto = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='Manual sequences' textarea='12,0,12,0' />
										<command class_type='calculation' title='Calculation' >
											<exp exp='StringVar1[0] = 151' />
											<exp exp='StringVar1[1] = 185' />
											<exp exp='StringVar1[2] = 56' />
											<exp exp='StringVar1[3] = 0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='LookForValue' >
											<return exp='Scratch1' />
											<argument exp='StringVar1' />
											<argument exp='3' />
											<argument exp='0' />
											<argument exp='1' />
										</command>
										<command class_type='decision' title='Has the system been placed into manual sequences' exp='Scratch1 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Place the system status into manual sequences' >
													<exp exp='StatusManualSeqences = 1' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='User utilities' textarea='12,0,12,0' />
										<command class_type='calculation' title='Calculation' >
											<exp exp='StringVar1[0] = 151' />
											<exp exp='StringVar1[1] = 194' />
											<exp exp='StringVar1[2] = 182' />
											<exp exp='StringVar1[3] = 0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='LookForValue' >
											<return exp='Scratch1' />
											<argument exp='StringVar1' />
											<argument exp='3' />
											<argument exp='0' />
											<argument exp='1' />
										</command>
										<command class_type='decision' title='Has the system been placed into user utilities' exp='Scratch1 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Place the system status into user utilities' >
													<exp exp='StatusManualSeqences = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='Check for the contents of the message on line 1' textarea='12,0,12,0' />
										<command class_type='calculation' title='Calculation' >
											<exp exp='StringVar1[0] = 1' />
											<exp exp='StringVar1[1] = 49' />
											<exp exp='StringVar1[2] = 176' />
											<exp exp='StringVar1[3] = 196' />
											<exp exp='StringVar1[4] = 49' />
											<exp exp='StringVar1[5] = 176' />
											<exp exp='StringVar1[6] = 49' />
											<exp exp='StringVar1[7] = 176' />
											<exp exp='StringVar1[8] = 0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='LookForValue' >
											<return exp='CheckMessageTextLine1' />
											<argument exp='StringVar1' />
											<argument exp='8' />
											<argument exp='0' />
											<argument exp='1' />
										</command>
										<command class_type='decision' title='Does the message contain text for line 1' exp='CheckMessageTextLine1 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='DisplayMessageReadyLine1 = 1' />
												</command>
												<command class_type='calculation' title='Calculation' >
													<exp exp='f = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='FlushBuffer' />
												<command class_type='call' title='Call Component Macro' component='CircularBuffer3' macro='FlushBuffer' />
											</flowline>
										</command>
										<command class_type='comment' title='' comment='





This second look for value function is 
the one that fails every now.






' textarea='12,0,12,0' />
										<command class_type='comment' title='' comment='Check for the contents of the message on line 2' textarea='12,0,12,0' />
										<command class_type='calculation' title='Calculation' >
											<exp exp='StringVar1[0] = 1' />
											<exp exp='StringVar1[1] = 49' />
											<exp exp='StringVar1[2] = 176' />
											<exp exp='StringVar1[3] = 196' />
											<exp exp='StringVar1[4] = 49' />
											<exp exp='StringVar1[5] = 176' />
											<exp exp='StringVar1[6] = 49' />
											<exp exp='StringVar1[7] = 52' />
											<exp exp='StringVar1[8] = 0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer2' macro='LookForValue' >
											<return exp='CheckMessageTextLine2' />
											<argument exp='StringVar1' />
											<argument exp='8' />
											<argument exp='0' />
											<argument exp='1' />
										</command>
										<command class_type='decision' title='Does the message contain text for line 2' exp='CheckMessageTextLine2 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='DisplayMessageReadyLine2 = 1' />
												</command>
												<command class_type='calculation' title='Calculation' >
													<exp exp='g = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Call Component Macro' component='CircularBuffer2' macro='FlushBuffer' />
												<command class_type='call' title='Call Component Macro' component='CircularBuffer4' macro='FlushBuffer' />
											</flowline>
										</command>
										<command class_type='decision' title='Have both lines of messages been received' exp='DisplayMessageReadyLine1 &amp;&amp; DisplayMessageReadyLine2 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Display the message on line 1' >
													<exp exp='DisplayMessageLine1 = 1' />
												</command>
												<command class_type='call' title='Call Macro' macro='DisplayText' />
												<command class_type='calculation' title='Remove the enable showing the message is displayed' >
													<exp exp='DisplayMessageReadyLine1 = 0' />
													<exp exp='' />
												</command>
												<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='FlushBuffer' />
												<command class_type='call' title='Call Component Macro' component='CircularBuffer3' macro='FlushBuffer' />
												<command class_type='calculation' title='Display the message on line 2' >
													<exp exp='DisplayMessageLine2 = 1' />
												</command>
												<command class_type='call' title='Call Macro' macro='DisplayText' />
												<command class_type='calculation' title='Remove the enable showing the message is displayed' >
													<exp exp='DisplayMessageReadyLine2 = 0' />
												</command>
												<command class_type='call' title='Call Component Macro' component='CircularBuffer2' macro='FlushBuffer' />
												<command class_type='call' title='Call Component Macro' component='CircularBuffer4' macro='FlushBuffer' />
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='



delete the next bits of code





' textarea='12,0,12,0' />
										<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='SetForegroundColour' >
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='K' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
											<argument exp='35' />
											<argument exp='28' />
											<argument exp='&quot;UBT3.Gci&quot;' />
											<argument exp='0x0' />
											<argument exp='0xd800' />
										</command>
										<command class_type='decision' title='Decision' exp='StatusAuto = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
													<argument exp='&quot;A&quot;' />
													<argument exp='35' />
													<argument exp='28' />
													<argument exp='0' />
													<argument exp='1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
													<argument exp='&quot;M&quot;' />
													<argument exp='35' />
													<argument exp='28' />
													<argument exp='0' />
													<argument exp='1' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' exp='f = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
													<argument exp='&quot;1&quot;' />
													<argument exp='40' />
													<argument exp='28' />
													<argument exp='0' />
													<argument exp='1' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' exp='g = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
													<argument exp='&quot;2&quot;' />
													<argument exp='45' />
													<argument exp='28' />
													<argument exp='0' />
													<argument exp='1' />
												</command>
												<command class_type='calculation' title='Calculation' >
													<exp exp='f = 0' />
													<exp exp='g = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' exp='a &gt; 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='a = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DisplayText' description='Displays text on the display panel' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Loop' type='2' exp='7' >
							<flowline >
								<command class_type='decision' title='Select which line to display' exp='DisplayMessageLine1 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='GetByte' >
											<return exp='Data1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer3' macro='GetByte' >
											<return exp='Data3' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Select which line to display' exp='DisplayMessageLine2 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='CircularBuffer2' macro='GetByte' >
											<return exp='Data1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer4' macro='GetByte' >
											<return exp='Data4' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Select which line to display' exp='DisplayMessageLine1 = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='GetByte' >
									<return exp='Data1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='GetByte' >
									<return exp='Data2' />
								</command>
								<command class_type='call' title='Call Component Macro' component='CircularBuffer3' macro='GetByte' >
									<return exp='Data3' />
								</command>
								<command class_type='call' title='Call Component Macro' component='CircularBuffer3' macro='GetByte' >
									<return exp='Data4' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Select which line to display' exp='DisplayMessageLine2 = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='CircularBuffer2' macro='GetByte' >
									<return exp='Data1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='CircularBuffer2' macro='GetByte' >
									<return exp='Data2' />
								</command>
								<command class_type='call' title='Call Component Macro' component='CircularBuffer4' macro='GetByte' >
									<return exp='Data3' />
								</command>
								<command class_type='call' title='Call Component Macro' component='CircularBuffer4' macro='GetByte' >
									<return exp='Data4' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='The next code reads the amount of spaces in the displayed message and works
out what offset needs to be put in place so the message is centered' textarea='12,0,12,0' />
						<command class_type='loop' title='Calculate the offset for the start characters on the screen' type='2' exp='20' >
							<flowline >
								<command class_type='decision' title='Select which line to display' exp='DisplayMessageLine1 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='CircularBuffer3' macro='GetByte' >
											<return exp='Data3' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer3' macro='GetByte' >
											<return exp='Data4' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Select which line to display' exp='DisplayMessageLine2 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='CircularBuffer4' macro='GetByte' >
											<return exp='Data3' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer4' macro='GetByte' >
											<return exp='Data4' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Has a space been detected' exp='Data4 = 50' swap='0' >
									<flowline >
										<command class_type='decision' title='Have the spaces at the start of the meesage been set' exp='DisplayStartSpacesSet = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Increment the spaces after a character' >
													<exp exp='DisplayEndSpaces = DisplayEndSpaces + 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Increment the count' >
													<exp exp='DisplayStartSpaces = DisplayStartSpaces + 1' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='If a character is detected set the start reset the end spaces' >
											<exp exp='DisplayStartSpacesSet = 1' />
											<exp exp='DisplayEndSpaces = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Is the data to be displayed on line 1' exp='Data1 = 176' swap='0' >
							<flowline >
								<command class_type='calculation' title='Set the y co-ords for line 1' >
									<exp exp='DisplayLineYaxis = 28' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Set the y co-ords for line 2' >
									<exp exp='DisplayLineYaxis = 55' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Set the x co-ords for the first character to be displayed' >
							<exp exp='DisplayLineXaxis = 29' />
						</command>
						<command class_type='decision' title='Is the spacing the same at each end of the message' exp='DisplayStartSpaces = DisplayEndSpaces' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Is the spacing larger at the start than the end of the message' exp='DisplayStartSpaces &gt; DisplayEndSpaces' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Data1 = DisplayStartSpaces - DisplayEndSpaces' />
										</command>
										<command class_type='calculation' title='Set the x co-ords for the first character to be displayed' >
											<exp exp='DisplayLineXaxis = DisplayLineXaxis - 10' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Is the spacing larger at the end than at the start the message' exp='DisplayStartSpaces &lt; DisplayEndSpaces' swap='0' >
											<flowline >
												<command class_type='calculation' title='Set the x co-ords for the first character to be displayed' >
													<exp exp='DisplayLineXaxis = DisplayLineXaxis + 10' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Delete the existing line before the new line is displayed' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
							<argument exp='27' />
							<argument exp='DisplayLineYaxis' />
							<argument exp='&quot;UBT1.Gci&quot;' />
							<argument exp='0x19' />
							<argument exp='0xce00' />
						</command>
						<command class_type='comment' title='' comment='Display the characters on the screen
Data coming to the display is 2 bytes for each character' textarea='12,0,12,0' />
						<command class_type='loop' title='Loop' type='2' exp='20' >
							<flowline >
								<command class_type='decision' title='Select which line to display' exp='DisplayMessageLine1 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='GetByte' >
											<return exp='Data1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer1' macro='GetByte' >
											<return exp='Data2' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Select which line to display' exp='DisplayMessageLine2 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='CircularBuffer2' macro='GetByte' >
											<return exp='Data1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='CircularBuffer2' macro='GetByte' >
											<return exp='Data2' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='Data2' >
									<case >
										<flowline >
											<command class_type='call' title='Call Component Macro' component='' macro='' />
										</flowline>
									</case>
									<case exp='52' >
										<flowline >
											<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='Data1' >
												<case >
													<flowline >
														<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='Data1' >
															<case >
																<flowline />
															</case>
															<case exp='194' >
																<flowline >
																	<command class_type='call' title='K' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																		<argument exp='DisplayLineXaxis' />
																		<argument exp='DisplayLineYaxis' />
																		<argument exp='&quot;UBT3.Gci&quot;' />
																		<argument exp='0x0' />
																		<argument exp='0x3c00' />
																	</command>
																</flowline>
															</case>
															<case exp='67' >
																<flowline >
																	<command class_type='call' title='L' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																		<argument exp='DisplayLineXaxis' />
																		<argument exp='DisplayLineYaxis' />
																		<argument exp='&quot;UBT3.Gci&quot;' />
																		<argument exp='0x0' />
																		<argument exp='0x4200' />
																	</command>
																</flowline>
															</case>
															<case exp='196' >
																<flowline >
																	<command class_type='call' title='M' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																		<argument exp='DisplayLineXaxis' />
																		<argument exp='DisplayLineYaxis' />
																		<argument exp='&quot;UBT3.Gci&quot;' />
																		<argument exp='0x0' />
																		<argument exp='0x4800' />
																	</command>
																</flowline>
															</case>
															<case exp='69' >
																<flowline >
																	<command class_type='call' title='N' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																		<argument exp='DisplayLineXaxis' />
																		<argument exp='DisplayLineYaxis' />
																		<argument exp='&quot;UBT3.Gci&quot;' />
																		<argument exp='0x0' />
																		<argument exp='0x4e00' />
																	</command>
																</flowline>
															</case>
															<case exp='70' >
																<flowline >
																	<command class_type='call' title='O' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
																		<argument exp='DisplayLineXaxis' />
																		<argument exp='DisplayLineYaxis' />
																		<argument exp='&quot;UBT3.Gci&quot;' />
																		<argument exp='0x0' />
																		<argument exp='0x5400' />
																	</command>
																</flowline>
															</case>
														</command>
													</flowline>
												</case>
												<case exp='49' >
													<flowline >
														<command class_type='call' title='A' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x0' />
														</command>
													</flowline>
												</case>
												<case exp='50' >
													<flowline >
														<command class_type='call' title='B' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x600' />
														</command>
													</flowline>
												</case>
												<case exp='179' >
													<flowline >
														<command class_type='call' title='C' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0xc00' />
														</command>
													</flowline>
												</case>
												<case exp='52' >
													<flowline >
														<command class_type='call' title='D' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x1200' />
														</command>
													</flowline>
												</case>
												<case exp='181' >
													<flowline >
														<command class_type='call' title='E' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x1800' />
														</command>
													</flowline>
												</case>
												<case exp='182' >
													<flowline >
														<command class_type='call' title='F' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x1e00' />
														</command>
													</flowline>
												</case>
												<case exp='55' >
													<flowline >
														<command class_type='call' title='G' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x2400' />
														</command>
													</flowline>
												</case>
												<case exp='56' >
													<flowline >
														<command class_type='call' title='H' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x2a00' />
														</command>
													</flowline>
												</case>
												<case exp='185' >
													<flowline >
														<command class_type='call' title='I' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x3000' />
														</command>
													</flowline>
												</case>
												<case exp='58' >
													<flowline >
														<command class_type='call' title='J' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x3600' />
														</command>
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
									<case exp='181' >
										<flowline >
											<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='Data1' >
												<case >
													<flowline >
														<command class_type='call' title='Z' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x9600' />
														</command>
													</flowline>
												</case>
												<case exp='176' >
													<flowline >
														<command class_type='call' title='P' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x5a00' />
														</command>
													</flowline>
												</case>
												<case exp='49' >
													<flowline >
														<command class_type='call' title='Q' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x6000' />
														</command>
													</flowline>
												</case>
												<case exp='50' >
													<flowline >
														<command class_type='call' title='R' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x6600' />
														</command>
													</flowline>
												</case>
												<case exp='179' >
													<flowline >
														<command class_type='call' title='S' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x6c00' />
														</command>
													</flowline>
												</case>
												<case exp='52' >
													<flowline >
														<command class_type='call' title='T' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x7200' />
														</command>
													</flowline>
												</case>
												<case exp='181' >
													<flowline >
														<command class_type='call' title='U' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x7800' />
														</command>
													</flowline>
												</case>
												<case exp='182' >
													<flowline >
														<command class_type='call' title='V' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x7e00' />
														</command>
													</flowline>
												</case>
												<case exp='55' >
													<flowline >
														<command class_type='call' title='W' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x8400' />
														</command>
													</flowline>
												</case>
												<case exp='9' >
													<flowline >
														<command class_type='call' title='X' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x8a00' />
														</command>
													</flowline>
												</case>
												<case exp='10' >
													<flowline >
														<command class_type='call' title='Y' component='gLCD_EB076_4D1' macro='G4D_DisplayImageFromFilePicaso' >
															<argument exp='DisplayLineXaxis' />
															<argument exp='DisplayLineYaxis' />
															<argument exp='&quot;UBT3.Gci&quot;' />
															<argument exp='0x0' />
															<argument exp='0x9000' />
														</command>
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
									<case exp='50' >
										<flowline >
											<command class_type='comment' title='' comment='Space-do nothing incremented to next position' textarea='12,0,12,0' />
										</flowline>
									</case>
								</command>
								<command class_type='calculation' title='Increment the x axis count for the next character' >
									<exp exp='DisplayLineXaxis = DisplayLineXaxis + 21' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Reset the offsets' >
							<exp exp='DisplayStartSpacesSet = 0' />
							<exp exp='DisplayStartSpaces = 0' />
							<exp exp='DisplayEndSpaces = 0' />
						</command>
						<command class_type='calculation' title='Reset the enable for displaying the messages once complete' >
							<exp exp='DisplayMessageLine1 = 0' />
							<exp exp='DisplayMessageLine2 = 0' />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='4' vmaj='1' codename='CircularBuffer1' x='-72' y='72' z='0' xsz='20' ysz='20' zsz='20' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='60' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='2ed54982-ef92-4509-a67c-7b3a72f91279' vmin='0' vmaj='1' codename='InjectorHumanInterface1' x='-8' y='104' z='0' xsz='20' ysz='20' zsz='20' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CircularBufferSize' data='1000' />
					<value target='DataMode' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='4' vmaj='1' codename='CircularBuffer2' x='-40' y='72' z='0' xsz='20' ysz='20' zsz='20' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='60' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c6586b24-9a1c-4e19-8051-8ae5923c418a' vmin='6' vmaj='1' codename='gLCD_EB076_4D1' x='-24' y='8' z='5.735' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_height' data='320' />
					<value target='pixel_width' data='240' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='65280' />
					<value target='background_colour' data='0' />
					<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='channel' data='002' />
					<value target='reset_pin' data='$PORTB.5' />
					<value target='tx_pin' data='$PORTB.6' />
					<value target='rx_pin' data='$PORTB.7' />
					<value target='HighSpeed' data='1' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='000' />
					<value target='DisplayMethod' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='3' vmaj='1' codename='RS232' x='-56' y='104' 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' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='001' />
					<value target='BAUD_LIST' data='004' />
					<value target='BAUD' data='9600' />
					<value target='DBITS' data='008' />
					<value target='RETURN' data='000' />
					<value target='ToutVal' data='255' />
					<value target='FLOWEN' data='000' />
					<value target='ECHO' data='000' />
					<value target='TX' data='$PORTC.6' />
					<value target='RX' data='$PORTC.7' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='' />
					<value target='label' data='RS232' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='ConsoleColumns' data='64' />
					<value target='DataSource' data='001' />
					<value target='com_port' data='003' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='11' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='4' vmaj='1' codename='CircularBuffer4' x='24' y='72' z='0' xsz='20' ysz='20' zsz='20' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='60' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='4' vmaj='1' codename='CircularBuffer3' x='-8' y='72' z='0' xsz='20' ysz='20' zsz='20' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='60' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='16760832' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='-13.2361' ye='-32.5929' ze='202.851' xt='-13.2361' yt='-32.5929' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAogIAAJkCAAA' zoom='25' scrollx='0' scrolly='2253' flags='0' />
		<view type='0' name='DisplayText' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAogIAAJkCAAA' zoom='25' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='KeypadData' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAogIAAJkCAAA' zoom='25' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DisplayButtons' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAogIAAJkCAAA' zoom='25' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='InterruptRoutine' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAogIAAJkCAAA' zoom='25' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DisplayPanels' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAogIAAJkCAAA' zoom='19' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Comms' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAogIAAJkCAAA' zoom='26' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
