<root>
<document scada='0' schema='102' license='1,,*****' title='' description='' fcversion='524544' target='AVR.ATTINY.ATTINY13' >
	<config data='!0,6789a' clkspd='8000000' simspd='3' usewdt='0' constif='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='PRESSURE_IN' />
		<watch expr='SETPOINT_IN' />
	</debug>
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='21' />
			<data name='CalculatedCommsDelay' value='21' />
		</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='' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
			<resources />
			<properties >
				<property name='VRef option' target='v5__adc0::vrefop' typeid='16' hidden='0' locked='0' info='Defines what is used as the ADC maximum reference. ADC Range = GND to VRef Voltage.
VDD - Defines the microcontrollers power supply pin as the max reference,
VREF+ Pin - Dedicated pin on the microcontroller to allow for a variable reference voltage. ' filter='000VDD
001VRef+ Pin
' />
			</properties>
			<values >
				<value target='v5__adc0::vrefop' data='0' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='COUNT' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Divider' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SETPOINT_IN' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OCR0AX' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TICK' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TIMEOUTB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LIMIT' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PRESSURE_IN' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='RAMPUP' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Ramp up to max pwm in 25mS steps
Breakout when pressure reached
If no breakout in 15 mins then pipe
must be off so shut down' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='calculation' title='SET TIMEOUT = 15 MINS' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='TIMEOUTB = 60' />
						</command>
						<command class_type='output' title='RED LED ON' cmdcolor='16762795' cmdcolor_sec='13879979' mode='2' port='1048577' mask='6' exp='4' />
						<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='TIMEOUTB = 0' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='If pressure not reached
in 15 minutes then turn off
blower and flash RED led' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SHUTDOWN' />
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='SET TICK = 25mS' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='TICK = 0x7D' />
						</command>
						<command class_type='call' title='READ VALUES' cmdcolor='1879295' cmdcolor_sec='5751039' macro='READ_ANALOGUES' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='PRESSURE_IN &lt; SETPOINT_IN' swap='1' >
							<flowline />
							<flowline >
								<command class_type='native' title='C Code' ccode='FCV_OCR0AX = OCR0A;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='OCR0AX = LIMIT' swap='0' >
									<flowline />
									<flowline >
										<command class_type='native' title='INCREMENT PWM OUTPUT' ccode='OCR0A = OCR0A + 1;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									</flowline>
								</command>
								<command class_type='loop' title='WAIT 25 mS' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='TICK &lt;&gt; 0' >
									<flowline />
								</command>
								<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SHUTDOWN' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
						<command class_type='native' title='STOP BLOWER' ccode='OCR0A = 0;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
						<command class_type='output' title='RED ON' cmdcolor='16762795' cmdcolor_sec='13879979' mode='2' port='1048577' mask='7' exp='4' />
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
						<command class_type='output' title='RED OFF' cmdcolor='16762795' cmdcolor_sec='13879979' mode='2' port='1048577' mask='7' exp='0' />
						<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='RAMP_DOWN' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Ramp down in 25ms
steps to about 20%' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='output' title='YELLOW LED ON' cmdcolor='16762795' cmdcolor_sec='13879979' mode='2' port='1048577' mask='6' exp='6' />
						<command class_type='native' title='C Code' ccode='FCV_OCR0AX = OCR0A;
' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='OCR0AX &gt; LIMIT' >
							<flowline >
								<command class_type='native' title='C Code' ccode='FCV_OCR0AX = OCR0A;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='native' title='C Code' ccode='OCR0A = OCR0A - 1;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='calculation' title='SET TICK = 25mS' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='TICK = 0x7D' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='TICK &lt;&gt; 0' >
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='WAIT_1_SECS' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='COUNT = 18' />
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='TICK = 255' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='TICK &lt;&gt; 0' >
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='COUNT = COUNT - 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='COUNT &lt;&gt; 0' swap='0' >
							<flowline >
								<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='READ_ANALOGUES' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment=';A/D ref = 5 volts (VCC) and using only 8 bits (out of 10) 1 bit = 19.5mV
;It appears that Flowcode reads the top 8 bits of the 10.
;There are two A/D inputs, one with the pressure setpoint and the other being the actual pressure.
;Typical (uncalibrated)  pressure input range = 2.5V to 4.5V (128 counts to 230 counts)i.e span = 2V = 10mBar = 102 counts = 100uBar/count
;However we are going to divide the result by 2 to increase stability. So range = 64....115 0.2mB per Count
;Typical measure values were 5mB on pulse = 41uS, 6mB on pulse 50uS so, when inital setpoint reached
;the sytem ramps back to 42uS (about 20%) an then starts the control loop.' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Read Pressure' cmdcolor='1879295' cmdcolor_sec='5751039' component='PRESSUREINADC' macro='GetByte' >
							<return exp='PRESSURE_IN' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='PRESSURE_IN = PRESSURE_IN &gt;&gt; 1' />
						</command>
						<command class_type='call' title='Call Read Setpoint' cmdcolor='1879295' cmdcolor_sec='5751039' component='SETPOINTINADC' macro='GetByte' >
							<return exp='SETPOINT_IN' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='SETPOINT_IN = SETPOINT_IN &gt;&gt; 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='SETPOINT_IN &gt; 105' swap='0' >
							<flowline >
								<command class_type='calculation' title='Limit SP to 8mB' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='SETPOINT_IN = 105' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Interrupt' description='224 uS Interrupt Routine' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment=';Timer 0 is used to generate fast a PWM o/p. The period set at 224uS (256*0.875uS)
;This timer runs up from min to max continuously and the housekeeping interrupt is 
;generated at that rate also.' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='TICK = 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='TICK = TICK - 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Divider = Divider + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Divider = 0' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='Divider = 
14.7 seconds
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='TIMEOUTB = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='TIMEOUTB = TIMEOUTB - 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='New Sensor HCXPM010D6V is +/-10mB output
10/10/2015 ... ALSO MAJOR CHANGES TO CONTROL LOOP
' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='interrupt' title='' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='TMR0' call='Interrupt' >
							<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='native' title='SETS UP PWM (FLOWCODE DOES NOT SUPPORT)' ccode='DDRB = 0x07;
TCCR0A = 0xc3;           /*Set OC0A pin on compare, set Fast PWM mode*/
TIMSK0 = 0x02;
TCCR0A = 0xC3;
TCCR0B = 0x01;           /*no WGM2 bit, no prescaler*/
OCR0A = 0x01;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='LIMIT = 255' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='RAMPUP' />
						<command class_type='calculation' title='SET TIMEOUT = 15 MINS' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='TIMEOUTB = 60' />
						</command>
						<command class_type='output' title='RED LED ON' disable='1' cmdcolor='16762795' cmdcolor_sec='13879979' mode='2' port='1048577' mask='6' exp='4' />
						<command class_type='label' title='Connection Point' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
						<command class_type='decision' title='Decision' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='TIMEOUTB = 0' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='If pressure not reached
in 15 minutes then turn off
blower and flash RED led' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SHUTDOWN' />
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='SET TICK = 25mS' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='TICK = 0x7D' />
						</command>
						<command class_type='call' title='READ VALUES' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='READ_ANALOGUES' />
						<command class_type='decision' title='Decision' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='PRESSURE_IN &lt; SETPOINT_IN' swap='1' >
							<flowline />
							<flowline >
								<command class_type='native' title='C Code' disable='1' ccode='FCV_OCR0AX = OCR0A;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='decision' title='Decision' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='OCR0AX = LIMIT' swap='0' >
									<flowline />
									<flowline >
										<command class_type='native' title='INCREMENT PWM OUTPUT' disable='1' ccode='OCR0A = OCR0A + 1;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									</flowline>
								</command>
								<command class_type='loop' title='WAIT 25 mS' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='TICK &lt;&gt; 0' >
									<flowline />
								</command>
								<command class_type='goto' title='Goto Connection Point' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
							</flowline>
						</command>
						<command class_type='comment' title='' comment='20% approx
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='native' title='REDUCE  BLOWER TO 20' ccode='OCR0A = 50;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='comment' title='' comment='Main Control Loop Starts Here' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='READ_ANALOGUES' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='PRESSURE_IN &gt; SETPOINT_IN' swap='1' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='PRESSURE_IN &lt; SETPOINT_IN' swap='1' >
											<flowline >
												<command class_type='output' title='GREEN LED ON' cmdcolor='16762795' cmdcolor_sec='13879979' mode='2' port='1048577' mask='6' exp='2' />
												<command class_type='comment' title='' comment='PRESSURE
IS
STATIC
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											</flowline>
											<flowline >
												<command class_type='native' title='C Code' ccode='FCV_OCR0AX = OCR0A;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='OCR0AX = 255' swap='0' >
													<flowline />
													<flowline >
														<command class_type='native' title='C Code' ccode='OCR0A = OCR0A + 1;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
													</flowline>
												</command>
												<command class_type='output' title='RED LED ON' cmdcolor='16762795' cmdcolor_sec='13879979' mode='2' port='1048577' mask='6' exp='4' />
											</flowline>
										</command>
										<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									</flowline>
									<flowline >
										<command class_type='native' title='C Code' ccode='FCV_OCR0AX = OCR0A;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='OCR0AX = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='native' title='C Code' ccode='OCR0A = OCR0A - 1;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
											</flowline>
										</command>
										<command class_type='output' title='YELLOW LED ON' cmdcolor='16762795' cmdcolor_sec='13879979' mode='2' port='1048577' mask='6' exp='6' />
									</flowline>
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='WAIT_1_SECS' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='PRESSUREINADC' x='-60.3899' y='3.4926' z='5' xsz='12.502' ysz='112.5' zsz='10' 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' >
				<resources />
				<properties />
				<values >
					<value target='tang_col' data='16711680' />
					<value target='mark_col' data='255' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='2' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label1' x='-63.347' y='-65.9225' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='PRESSURE IN' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='SETPOINTINADC' x='62.7813' y='6.06812' z='5' xsz='12.502' ysz='112.5' zsz='10' 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' >
				<resources />
				<properties />
				<values >
					<value target='tang_col' data='16711680' />
					<value target='mark_col' data='255' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='3' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label2' x='63.1219' y='-63.1027' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='SETPOINT IN' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip1' x='-1.96051' y='37.2295' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.1' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip2' x='-2.70187' y='-6.79023' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.2' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='10789024' 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='12632256' 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---------------------wUAAAAYAAAAsQYAABoDAAA' zoom='32' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RAMPUP' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAsQYAABoDAAA' zoom='38' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='READ_ANALOGUES' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAsQYAABoDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='WAIT_1_SECS' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAsQYAABoDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Interrupt' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAsQYAABoDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SHUTDOWN' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAsQYAABoDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
