<root>
<document scada='1' panel2DSCADA='6' panel3DSCADA='0' panelPropsSCADA='3' panelConsoleSCADA='3' panelDataRecorderSCADA='0' playbackSCADA='0' ShouldAutoStartSCADA='1' ShouldLockCameraSCADA='0' ShouldBundleSCADA='1' SCADAProgramTitle='SCADA_PIC_Monitor_V2' schema='102' license='1,15266180,ZW6U84' title='ECIO40P SCADA Slave' description='' fcversion='589824' target='SCADA.SCADA.GENERIC' >
	<config data='' clkspd='100000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='Name1' />
	</debug>
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='4095' />
			<data name='ClockPin' value='0' />
			<data name='DataPort' value='4095' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='2' />
			<data name='CalculatedCommsDelay' value='2' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='9f1e6c0c-1d91-4d6a-a510-1f3528abb1f3' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='1' embeddedCompatible='1' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties >
				<property name='COM Port' target='SCADA_ECIO40P1::scada_uart1::com_port' typeid='16' hidden='0' locked='0' info='Lists all the current available COM port hardware on your PC.' filter='001COM1
003COM3
008COM8' />
				<property name='Refresh Ports' target='SCADA_ECIO40P1::scada_uart1::RefreshPorts' typeid='7' hidden='0' locked='0' info='' />
			</properties>
			<values >
				<value target='SCADA_ECIO40P1::scada_uart1::com_port' data='008' />
				<value target='SCADA_ECIO40P1::scada_uart1::RefreshPorts' data='0' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Name' type='T8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot;X&quot;' setinit='&quot;X&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ComRxByte' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Exit' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ID' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RxByte' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Type' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CountTimeout' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RxString' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='WriteName' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' exp='ID' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name101' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name102' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name103' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name104' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name105' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name106' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name107' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name108' macro='SetText' >
										<argument exp='Name' />
									</command>
								</flowline>
							</case>
							<case exp='9' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name109' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='10' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name110' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='NamesClear' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name110' macro='SetText' >
							<argument exp='&quot;Name10&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name109' macro='SetText' >
							<argument exp='&quot;Name9&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name108' macro='SetText' >
							<argument exp='&quot;Name8&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name107' macro='SetText' >
							<argument exp='&quot;Name7&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name106' macro='SetText' >
							<argument exp='&quot;Name6&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name105' macro='SetText' >
							<argument exp='&quot;Name5&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name104' macro='SetText' >
							<argument exp='&quot;Name4&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name103' macro='SetText' >
							<argument exp='&quot;Name3&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name102' macro='SetText' >
							<argument exp='&quot;Name2&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Name101' macro='SetText' >
							<argument exp='&quot;Name1&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='UART_Receive_Interrupt_Handler' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='Data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='return' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Interrupt_COM_RX' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Collect Byte From Com Port' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='COMPort1' macro='ReceiveByte' >
							<return exp='ComRxByte' />
							<argument exp='10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' exp='ComRxByte != 255' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Com_Rx_Buffer' macro='PutByte' >
									<argument exp='ComRxByte' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='WriteValue' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' exp='ID' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value1' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value2' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value3' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value4' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value5' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value6' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value7' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value8' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='9' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value9' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
							<case exp='10' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value10' macro='SetText' >
										<argument exp='RxString' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ValuesClear' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value10' macro='SetText' >
							<argument exp='&quot;-&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value9' macro='SetText' >
							<argument exp='&quot;-&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value8' macro='SetText' >
							<argument exp='&quot;-&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value7' macro='SetText' >
							<argument exp='&quot;-&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value6' macro='SetText' >
							<argument exp='&quot;-&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value5' macro='SetText' >
							<argument exp='&quot;-&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value4' macro='SetText' >
							<argument exp='&quot;-&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value3' macro='SetText' >
							<argument exp='&quot;-&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value2' macro='SetText' >
							<argument exp='&quot;-&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Value1' macro='SetText' >
							<argument exp='&quot;-&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='Using FAD tools, a COM port is monitored and recived values are displayed.
This is a tool to monitor the values from any free standing microcontroller. The external device must be pre-programmed to send suitable frames of data. ' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Reset the displayed Names and associated Values ' textarea='12,0,12,0' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' macro='NamesClear' />
						<command class_type='call' title='User Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' macro='ValuesClear' />
						<command class_type='comment' title='' comment='Initiialise items and start an interrupt. 
The interupt runs around 1000Hz and checks for incoming bytes of data.
Saving each byte sequentially to a Circular buffer.' textarea='12,0,12,0' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Com_Rx_Buffer' macro='FlushBuffer' />
						<command class_type='interrupt' title='Interrupt' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' enable='1' name='TMR0' call='Interrupt_COM_RX' >
							<settings timer='1' prescale='32' postscale='-1' rollover='3225' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='5' />
								<option value='3225' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='COMPort1' macro='OpenPort' />
						<command class_type='loop' title='Loop' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='comment' title='' comment='Look through the circular buffer for the header byte &apos;:&apos;
trim any characters leading the header byte.' textarea='12,0,12,0' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
								<command class_type='decision' title='Check for start of command' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' exp='Com_Rx_Buffer :: LookForValue (&quot;:&quot;,1,1,1)' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='Look for the footer byte &apos;:&apos;
If both a header and footer byte have been identified, we can be
reasonably sure we have a valid recieve string in the buffer. ' textarea='12,0,12,0' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
										<command class_type='decision' title='Check for end of command' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' exp='Com_Rx_Buffer :: LookForValue (&quot;;&quot;,1,0,1)' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='Read out the first two bytes from the circular buffer. 
First is an &apos;ID&apos; , this determines which value on the dashboard should be updated.
Second is a &apos;Type&apos; , the sender device can tag the data with a type. This allows
this recieving program to handle each type of data differently. ' textarea='12,0,12,0' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
												<command class_type='call' title='Read ID Byte' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Com_Rx_Buffer' macro='GetByte' >
													<return exp='ID' />
												</command>
												<command class_type='call' title='Read Type Byte' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Com_Rx_Buffer' macro='GetByte' >
													<return exp='Type' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' >
													<exp exp='Exit = 0' />
													<exp exp='RxString = &quot;&quot;' />
													<exp exp='CountTimeout = 0' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' type='1' exp='exit' start='0' >
													<flowline >
														<command class_type='comment' title='' comment='Reads the remaining data from the recieved string. This can be of any 
length up to 100 characters. As soon as the footer byte &apos;;&apos; is detected
the loop is exited. It will also exit if greater than 100 character is 
recieved without a footer detected, this is just a primitive timeout.  ' textarea='12,0,12,0' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
														<command class_type='call' title='Read ID Byte' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='Com_Rx_Buffer' macro='GetByte' >
															<return exp='RxByte' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' exp='(RxByte = 59) OR (CountTimeout &gt; 100)' swap='0' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' >
																	<exp exp='Exit = 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' >
																	<exp exp='RxString = RxString + RxByte' />
																	<exp exp='CountTimeout = CountTimeout + 1' />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
												<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='ConsoleWriter2' macro='AddString' >
													<argument exp='RxString' />
												</command>
												<command class_type='comment' title='' comment='The recieved value for &apos;Type&apos; is now used in the following switch.
Mostly each path does the same thing but by knowing the type of number
sent you may wish to handle each number (or string) type differently. ' textarea='12,0,12,0' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
												<command class_type='comment' title='' comment='Since all values are sent over as a string of text, they are just writen
to a textbox. However the actual numeric value could be reconstructed 
if required. ' textarea='12,0,12,0' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
												<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' exp='Type' >
													<case >
														<flowline />
													</case>
													<case exp='1' >
														<flowline >
															<command class_type='comment' title='' comment='Byte
' textarea='42,24,42,24' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
															<command class_type='call' title='User Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' macro='WriteValue' />
														</flowline>
													</case>
													<case exp='2' >
														<flowline >
															<command class_type='comment' title='' comment='Signed Integer' textarea='42,24,42,24' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
															<command class_type='call' title='User Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' macro='WriteValue' />
														</flowline>
													</case>
													<case exp='3' >
														<flowline >
															<command class_type='comment' title='' comment='Unsigned Integer' textarea='42,24,42,24' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
															<command class_type='call' title='User Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' macro='WriteValue' />
														</flowline>
													</case>
													<case exp='4' >
														<flowline >
															<command class_type='comment' title='' comment='Array
' textarea='42,24,42,24' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
															<command class_type='call' title='User Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' macro='WriteValue' />
														</flowline>
													</case>
													<case exp='5' >
														<flowline >
															<command class_type='comment' title='' comment='8BitByte' textarea='42,24,42,24' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
															<command class_type='call' title='User Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' macro='WriteValue' />
														</flowline>
													</case>
													<case exp='6' >
														<flowline >
															<command class_type='comment' title='' comment='Value String' textarea='42,24,42,24' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
															<command class_type='call' title='User Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' macro='WriteValue' />
														</flowline>
													</case>
													<case exp='7' >
														<flowline >
															<command class_type='comment' title='' comment='Value Name' textarea='42,24,42,24' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
															<command class_type='call' title='User Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' macro='WriteName' />
															<command class_type='call' title='Component Macro' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' component='ConsoleWriter1' macro='AddString' >
																<argument exp='RxString' />
															</command>
														</flowline>
													</case>
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='If this value is made too small. The values dont seem to update well. ' textarea='12,0,12,0' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' />
								<command class_type='delay' title='Delay' cmdcolor='10092537' cmdcolor_sec='10092537' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' exp='50' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='Com_Rx_Buffer' x='-30' y='100' z='11' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='200' />
					<value target='StorageType' data='001' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
					<value target='Console' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='cbb3c28e-2d73-4442-ac52-23a3b45d9870' vmin='0' vmaj='2' codename='COMPort1' x='30' y='100' z='10.74' xsz='64' ysz='32' zsz='1.48' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='COM_port' data='008' />
					<value target='Refresh' data='0' />
					<value target='baud_rate' data='9600' />
					<value target='Tout_Val' data='256' />
					<value target='ConsoleData' data='1' />
					<value target='AutoClose' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Name101' x='-41.0228' y='70' z='12.25' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='My Byte' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='001' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Name102' x='-41.0228' y='50' z='12.25' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='My SINT' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='001' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Name103' x='-41.0228' y='30' z='12.25' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='My UNIT' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='001' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Name104' x='-41.0228' y='10' z='12.25' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Name4' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='001' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Name105' x='-41.0228' y='-10' z='12.25' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Name5' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='001' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Name106' x='-41.0228' y='-30' z='12.5' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Name6' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='001' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Name107' x='-41.0228' y='-50' z='12.5' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Name7' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='001' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Name108' x='-41.0228' y='-70' z='12.5' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Name8' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='001' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Name109' x='-41.0228' y='-90' z='12.5' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Name9' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='001' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Name110' x='-41.0228' y='-110' z='12.5' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Name10' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='001' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Value1' x='49.2885' y='70' z='12.25' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='85' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Value2' x='49.2885' y='50' z='12.25' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='15990' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Value3' x='49.2885' y='30' z='12.25' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='48678' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Value4' x='49.2885' y='10' z='12.25' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Good Bye' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Value5' x='49.2885' y='-10' z='12.25' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='84' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Value6' x='49.2885' y='-30' z='12.5' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='15970' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Value7' x='49.2885' y='-50' z='12.5' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='48528' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Value8' x='49.2885' y='-70' z='12.5' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='-' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Value9' x='49.2885' y='-90' z='12.5' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='-' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='Value10' x='49.2885' y='-110' z='12.5' xsz='25' ysz='3.125' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='-' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<value target='nVerticalAlignment' data='001' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='940e39a6-d035-4e43-8dbb-455ee4679066' vmin='0' vmaj='1' codename='ConsoleWriter1' x='-30' y='130' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ConsoleName' data='Console Writer 1' />
					<value target='OldName' data='Console Writer 1' />
					<value target='Colour0' data='0' />
					<value target='Colour1' data='255' />
					<value target='Colour2' data='65280' />
					<value target='Colour3' data='16711680' />
					<value target='NLAfterData' data='1' />
					<value target='NLOnColChange' data='0' />
					<value target='ClearOnSimStart' data='0' />
					<value target='Timestamp' data='1' />
					<value target='TimeStamp1::DateFormat' data='000' />
					<value target='TimeStamp1::TimeSeperator' data=':' />
					<value target='TimeStamp1::DateSeparator' data='/' />
					<value target='TimeStamp1::TimeStampSeparator' data=' - ' />
					<value target='OverrideColour' data='1' />
					<value target='TimestampColour' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='940e39a6-d035-4e43-8dbb-455ee4679066' vmin='0' vmaj='1' codename='ConsoleWriter2' x='-2.67949' y='130' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ConsoleName' data='Console Writer 2' />
					<value target='OldName' data='Console Writer 2' />
					<value target='Colour0' data='0' />
					<value target='Colour1' data='255' />
					<value target='Colour2' data='65280' />
					<value target='Colour3' data='16711680' />
					<value target='NLAfterData' data='1' />
					<value target='NLOnColChange' data='0' />
					<value target='ClearOnSimStart' data='0' />
					<value target='Timestamp' data='1' />
					<value target='TimeStamp1::DateFormat' data='000' />
					<value target='TimeStamp1::TimeSeperator' data=':' />
					<value target='TimeStamp1::DateSeparator' data='/' />
					<value target='TimeStamp1::TimeStampSeparator' data=' - ' />
					<value target='OverrideColour' data='1' />
					<value target='TimestampColour' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='5.09686' ye='70.8927' ze='182.213' xt='5.09686' yt='70.8927' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='325' dy='570' zoom='215.819' fix_topleft='0' />
		<page x='1000' y='1000' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAgAIAADkBAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Interrupt_COM_RX' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAgAIAADkBAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='WriteValue' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAgAIAADkBAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ValuesClear' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAgAIAADkBAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='NamesClear' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAgAIAADkBAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='WriteName' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAgAIAADkBAAA' zoom='75' scrollx='161' scrolly='0' flags='0' />
	</layout>
</document>
</root>
