<root>
<document scada='0' schema='103' license='1,74110274,W7Q4HD' title='' description='' fcversion='590593' target='PIC16.24F.24FJ512GA606' >
	<config data='!0,ff61!10,ffe7!20,ff9f!30,ffff!40,ffdf!50,ffff%0,1%3,c%7,0%10,3%12,1%13,0%14,0%15,1%16,3%20,f%24,1%25,0%27,1%28,3%2b,1%2d,3%30,3%32,1%33,1%40,3%45,0%4f,1%51,1%52,1%53,1%54,1' clkspd='32000000' simspd='3' usewdt='1' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='Stopper.Time' />
	</debug>
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='6' />
			<data name='CalculatedCommsDelay' value='6' />
			<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='21f09b46-73a9-4ba5-a55d-960d88ed1f16' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<gdiopts FullContainer='1' FullTransparency='1' ShowGdi='1' ShowOpengl='1' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='rd_EC' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rd_Pressure' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='d_Decision' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='f_pH' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='f_Pressure' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='t_Limit_Start' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Str_Pressure' 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='f_Level' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='c_Heart' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='t_Limit_Old' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rd_pH' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='t_Stop_Flag' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='t_Stop_Done' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='t_Limit_Start_Flag' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Str_Temp' 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='set_MUX' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Str_EC' 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='Command_Modbus' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Modbus_Incoming' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='t_SEC' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='t_FG_Start' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rd_Level' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rd_Temp' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DI_VAL_3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='t_Limit_Done' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DI_VAL_2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ID_485' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='f_Temp' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DI_VAL_1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DI_VAL_0' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='f_EC' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Str_pH' 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='t_Limit_SUB' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Str_Level' 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='rd_Mux' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Modbus' 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='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Modbus' macro='SetHoldingRegister' >
							<argument exp='1' />
							<argument exp='11' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Modbus' macro='SetHoldingRegister' >
							<argument exp='2' />
							<argument exp='22' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Modbus' macro='ReadHoldingRegister' >
							<return exp='Command_Modbus' />
							<argument exp='3' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Timer_Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='t_SEC &gt;= 3' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='t_SEC = 0' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='set_MUX &gt;= 5' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='set_MUX = 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='set_MUX = set_MUX + 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='t_SEC = t_SEC + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Test_IO' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='group' title='Heart' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Heart' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Heart' macro='TurnOff' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
							</flowline>
						</command>
						<command class_type='group' title='Relay' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Out_SOL_0' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Out_SOL_0' macro='TurnOff' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Out_SOL_1' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Out_SOL_1' macro='TurnOff' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Out_SOL_2' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Out_SOL_2' macro='TurnOff' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Out_SOL_3' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Out_SOL_3' macro='TurnOff' />
							</flowline>
						</command>
						<command class_type='group' title='DI' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DI_0' macro='ReadState' >
									<return exp='DI_VAL_0' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DI_1' macro='ReadState' >
									<return exp='DI_VAL_1' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DI_2' macro='ReadState' >
									<return exp='DI_VAL_2' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DI_3' macro='ReadState' >
									<return exp='DI_VAL_3' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendNumber' >
									<argument exp='DI_VAL_0' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendString' >
									<argument exp='&quot; &quot;' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendNumber' >
									<argument exp='DI_VAL_1' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendString' >
									<argument exp='&quot; &quot;' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendNumber' >
									<argument exp='DI_VAL_2' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendString' >
									<argument exp='&quot; &quot;' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendNumber' >
									<argument exp='DI_VAL_3' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendString' >
									<argument exp='&quot; &quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='group' title='ID' disable='1' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='ID_Modbus' macro='ReadAll' >
									<return exp='ID_485' />
								</command>
								<command class_type='call' title='ID' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendNumber' >
									<argument exp='ID_485' />
								</command>
							</flowline>
						</command>
						<command class_type='group' title='75441' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_EN_0' macro='TurnOn' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_0' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_0' macro='TurnOff' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_1' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_1' macro='TurnOff' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_EN_0' macro='TurnOff' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_EN_1' macro='TurnOn' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_2' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_2' macro='TurnOff' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_3' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_3' macro='TurnOff' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SOL_Set_EN_1' macro='TurnOff' />
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendNumber' >
							<argument exp='ID_485' />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='MUX' macro='SendNumber' >
							<argument exp='1234' />
						</command>
						<command class_type='call' title='CR&amp;LF' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendString' >
							<argument exp='&quot;\r\n&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Read_Sensor' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='d_Decision' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='MUX' macro='ReceiveChar' >
									<return exp='rd_Mux' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='PutByte' >
									<argument exp='rd_Mux' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='rd_Mux' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='rd_Mux = 0xD' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='d_Decision = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Heart' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='c_Heart &gt;= 4' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Heart' macro='TurnOff' />
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Heart' macro='TurnOn' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='c_Heart = c_Heart + 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Initialize' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='Length_Count_Set_L' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Length_Count_Set_H' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Length_Count_Set_Limit_H' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Monitor' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='MUX' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Modbus' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='ID_Modbus' macro='ReadAll' >
							<return exp='ID_485' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Modbus' macro='SetSlaveAddress' >
							<argument exp='ID_485' />
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='TMR5' call='Heart' >
							<settings timer='1' prescale='8' postscale='-1' rollover='14800' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='1' />
								<option value='14800' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='RXINT2' call='Read_Sensor' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='TMR4' call='Timer_Main' >
							<settings timer='1' prescale='256' postscale='-1' rollover='62550' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='3' />
								<option value='62550' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='Initialize' />
						<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='Modbus' macro='CheckForIncoming' >
									<return exp='Modbus_Incoming' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='Modbus_Incoming' swap='0' >
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='Modbus' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='Heart' x='-70' y='1070' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTD.4' />
					<value target='polarity' data='000' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='1911d96c-78dd-414a-b23c-6691fb19f63f' vmin='2' vmaj='1' codename='AutoVersionID' x='-70' y='1180' z='11.155' 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='BuildNumber' data='125' />
					<value target='DateDivider' data='/' />
					<value target='TimeDivider' data=':' />
					<value target='DateFormat' data='002' />
					<value target='LastBuildDate' data='22/11/16' />
					<value target='LastBuildTime' data='12:42:45' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='SOL_Set_EN_1' x='95.482' y='810' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTC.14' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='SOL_Set_0' x='-99.036' y='810' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTF.4' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='Out_SOL_1' x='-33.554' y='910' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTE.1' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='Out_SOL_3' x='121.928' y='910' z='0.77' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTE.3' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='DI_1' x='-30' y='1000' 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='pin' data='$PORTF.6' />
					<value target='polarity' data='001' />
					<value target='debounce' data='3' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='DI_3' x='110' y='1000' 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='pin' data='$PORTG.2' />
					<value target='polarity' data='001' />
					<value target='debounce' data='3' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='DI_2' x='40' y='1000' 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='pin' data='$PORTG.3' />
					<value target='polarity' data='001' />
					<value target='debounce' data='3' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='Out_SOL_0' x='-123.554' y='910' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTE.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='Out_SOL_2' x='31.928' y='910' z='0.77' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTE.2' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='DI_0' x='-110' y='1000' 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='pin' data='$PORTF.2' />
					<value target='polarity' data='001' />
					<value target='debounce' data='3' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='446d753f-a6dc-489d-b624-f4f191783aa0' vmin='2' vmaj='1' codename='auto_labels' x='24.1586' y='1182.45' z='75.1493' xsz='3' ysz='3' zsz='3' 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='show' data='001' />
					<value target='show_prop' data='pin' />
					<value target='show_conn' data='1' />
					<value target='auto_update' data='1' />
					<value target='auto_target' data='1' />
					<value target='color' data='16777215' />
					<value target='bg_color' data='-1' />
					<value target='on_top' data='1' />
					<value target='scale' data='1.000000' />
					<value target='auto_scale' data='0' />
					<value target='auto_offset' data='003' />
					<value target='offset_x' data='0.000000' />
					<value target='offset_y' data='0.000000' />
					<value target='offset_z' data='0.000000' />
					<value target='nesting' data='000' />
					<value target='color_n1' data='16771561' />
					<value target='color_n2' data='16760992' />
					<value target='color_n3' data='16744535' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='687f8ad4-59f2-4079-bb84-7713dcb57a13' vmin='0' vmaj='2' codename='Modbus' x='-70' y='630' z='9.27' 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='cal_uart::CHANNEL' data='005' />
					<value target='cal_uart::TX' data='$PORTD.1' />
					<value target='cal_uart::OutputPins' data='024' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::RX' data='$PORTD.6' />
					<value target='cal_uart::InputPins' data='020' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::BAUD_LIST' data='004' />
					<value target='cal_uart::BAUD' data='9600' />
					<value target='BusType' data='001' />
					<value target='DDRP' data='$PORTD.5' />
					<value target='ReadDDRState' data='000' />
					<value target='Timeout' data='50' />
					<value target='UARTidx' data='005' />
					<value target='FrameType' data='000' />
					<value target='ReceiveBufferSize' data='20' />
					<value target='AddressBytes' data='2' />
					<value target='SlaveAddress' data='0' />
					<value target='ReplyDelay' data='100' />
					<value target='BaudByteDelay' data='1040' />
					<value target='Stats' data='1' />
					<value target='label' data='Modbus Slave' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='0' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='002' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
					<value target='cal_uart::APIUseDDR' data='' />
					<value target='cal_uart::APIDDRPin' data='' />
					<value target='cal_uart::APIDDRRXState' data='' />
					<value target='cal_uart::APIUseFC' data='' />
					<value target='cal_uart::APICTSPin' data='' />
					<value target='cal_uart::APIRTSPin' data='' />
					<value target='StartAdrCoil' data='0' />
					<value target='NumAdrCoil' data='20' />
					<value target='StartAdrDI' data='0' />
					<value target='NumAdrDI' data='20' />
					<value target='StartAdrAI' data='0' />
					<value target='NumAdrAI' data='20' />
					<value target='StartAdrReg' data='0' />
					<value target='NumAdrReg' data='20' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='Monitor' x='40' y='630' z='0' 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='cal_uart::CHANNEL' data='004' />
					<value target='cal_uart::BAUD_LIST' data='009' />
					<value target='cal_uart::BAUD' data='115200' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTB.5' />
					<value target='cal_uart::OutputPins' data='004' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTB.4' />
					<value target='cal_uart::InputPins' data='028' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
					<value target='cal_uart::APIUseDDR' data='' />
					<value target='cal_uart::APIDDRPin' data='' />
					<value target='cal_uart::APIDDRRXState' data='' />
					<value target='cal_uart::APIUseFC' data='' />
					<value target='cal_uart::APICTSPin' data='' />
					<value target='cal_uart::APIRTSPin' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3e5cc6d0-3e36-46b8-bc40-f238a5735b6e' vmin='0' vmaj='1' codename='IntOscHelper1' x='120' y='1180' 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='OscSpeed' data='000' />
					<value target='OscFreq' data='500000' />
					<value target='ClockSpeed' data='32000000' />
					<value target='Info' data='No Internal Oscillator Settings Found, does this device have an internal oscillator?' />
					<value target='Code' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4ac72986-ad7d-49ce-afe5-9128831debc9' vmin='0' vmaj='2' codename='ID_Modbus' x='80' y='1080' z='0' xsz='2.24719' ysz='2.24719' zsz='2.24719' 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='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='count' data='003' />
					<value target='port' data='011' />
					<value target='PortByte' data='$PORTB0' />
					<value target='pin0' data='$PORTF.0' />
					<value target='pin1' data='$PORTF.1' />
					<value target='pin2' data='$PORTB.10' />
					<value target='pin3' data='$PORTB0.3' />
					<value target='pin4' data='$PORTB0.4' />
					<value target='pin5' data='$PORTB0.5' />
					<value target='pin6' data='$PORTB0.6' />
					<value target='pin7' data='$PORTB0.7' />
					<value target='polarity' data='000' />
					<value target='debounce' data='100' />
					<value target='operation' data='000' />
					<value target='align' data='000' />
					<value target='spacing' data='12.000000' />
					<value target='reverse' data='0' />
					<value target='show_labels' data='004' />
					<value target='label_color' data='16777215' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='SOL_Set_EN_0' x='-184.518' y='810' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTF.3' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='SOL_Set_1' x='-99.036' y='770' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTF.5' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='SOL_Set_2' x='160.964' y='810' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTD.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='SOL_Set_3' x='160.964' y='770' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTC.13' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='MUX_EN' x='-154.518' y='530' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTD.8' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='MUX' x='-110' y='440' z='0' 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='cal_uart::CHANNEL' data='003' />
					<value target='cal_uart::BAUD_LIST' data='004' />
					<value target='cal_uart::BAUD' data='9600' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTD.3' />
					<value target='cal_uart::OutputPins' data='026' />
					<value target='cal_uart::TXAlt' data='1' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTD.2' />
					<value target='cal_uart::InputPins' data='023' />
					<value target='cal_uart::RXAlt' data='1' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
					<value target='cal_uart::APIUseDDR' data='' />
					<value target='cal_uart::APIDDRPin' data='' />
					<value target='cal_uart::APIDDRRXState' data='' />
					<value target='cal_uart::APIUseFC' data='' />
					<value target='cal_uart::APICTSPin' data='' />
					<value target='cal_uart::APIRTSPin' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='EN_485' x='-174.518' y='640' z='0' xsz='3.66972' ysz='3.38983' 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='pin' data='$PORTD.5' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='63177601-e8e2-4330-89d3-a4c5a7e228f5' vmin='1' vmaj='1' codename='Mux_Select' x='0' y='540' z='0' xsz='5.08475' ysz='5.08475' zsz='5.08475' 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='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='count' data='3' />
					<value target='port' data='011' />
					<value target='PortByte' data='$PORTB0' />
					<value target='pin0' data='$PORTD.9' />
					<value target='pin1' data='$PORTD.10' />
					<value target='pin2' data='$PORTD.11' />
					<value target='pin3' data='$PORTB0.3' />
					<value target='pin4' data='$PORTB0.4' />
					<value target='pin5' data='$PORTB0.5' />
					<value target='pin6' data='$PORTB0.6' />
					<value target='pin7' data='$PORTB0.7' />
					<value target='polarity' data='001' />
					<value target='full_port' data='' />
					<value target='align' data='000' />
					<value target='spacing' data='12.000000' />
					<value target='reverse' data='0' />
					<value target='led_array1::show_label' data='002' />
					<value target='led_array1::label_property' data='pin' />
					<value target='label_position' data='003' />
					<value target='color_led0' data='65280' />
					<value target='label_color' data='16777215' />
					<value target='bitmask' data='255' />
					<value target='inv_bitmask' data='-256' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='CircularBuffer1' x='-140' y='350' 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='BufferSize' data='128' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
					<value target='Console' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='0' img='' style='0' />
		<camera xe='-4.77775' ye='411.026' ze='1402.85' xt='-4.77775' yt='411.026' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='493' dy='2083' zoom='42.5226' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='128' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='-320.968' ye='-403.234' ze='2237.67' xt='-320.968' yt='-403.234' 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='Initialize' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAqAAAAqAkAAKAIAAA' zoom='40' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAqAAAAqAkAAKAIAAA' zoom='32' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Modbus' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAqAAAAqAkAAKAIAAA' zoom='26' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Read_Sensor' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAqAAAAqAkAAKAIAAA' zoom='36' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Timer_Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAqAAAAqAkAAKAIAAA' zoom='38' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Test_IO' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAqAAAAqAkAAKAIAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
