<root>
<document scada='0' schema='102' license='1,viktor_aust,WUXBW2' title='' description='' fcversion='524800' target='ARD.ATMEGA.Arduino Nano 328' >
	<config data='' clkspd='16000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='Temperatura_0' />
	</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='1' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='11' />
			<data name='CalculatedCommsDelay' value='11' />
			<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='0dad9d6f-0bf7-4690-a152-cc4e4b94f2a8' 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='0' poslock='0' >
			<resources />
			<properties >
				<property name='Max Devices' target='One_Wire2::BufferSize' typeid='21' hidden='0' locked='0' info='Controls the maximum number of devices that can be detected during a ScanBus.
For each additional device we require 8 bytes to store the ROM ID.
Default: 8 = 64 Bytes of RAM' />
			</properties>
			<values >
				<value target='One_Wire2::BufferSize' data='8' />
			</values>
			<events />
			<apis >
				<api name='BusReset' alt='BusReset' type='1' proto='1' />
				<api name='DS1820_ReadScratchpad' alt='DS1820_ReadScratchpad' type='1' proto='1' />
				<api name='DS1820_GetTemp' alt='DS1820_GetTemp' type='1' proto='1' />
			</apis>
			<variables >
				<variable public='0' >
					<def class_type='variable' name='ack' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempr_7' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempr_6' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempr_5' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp_string_7' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempr_4' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp_string_6' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempr_3' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp_string_5' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempr_2' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp_string_4' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempr_1' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp_string_3' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempr_0' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp_string_2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp_string_1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp_string_0' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Uart' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='TERMOMETER 0
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='t0.txt=' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;t0.txt=&quot;' />
						</command>
						<command class_type='call' title='Narekovaj' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Pošlji temperaturo' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='Temp_string_0' />
						</command>
						<command class_type='call' title='Stopinja' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='176' />
						</command>
						<command class_type='call' title='C' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;C&quot;' />
						</command>
						<command class_type='call' title='Narekovaj' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Konec prenosa' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Konec prenosa' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Konec prenosa' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='comment' title='' comment='TERMOMETER 1' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='t1.txt=' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;t1.txt=&quot;' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Pošlji temperaturo' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='Temp_string_1' />
						</command>
						<command class_type='call' title='Stopinja' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='176' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;C&quot;' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='comment' title='' comment='TERMOMETER 2' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='t2.txt=' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;t2.txt=&quot;' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Pošlji temperaturo' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='Temp_string_2' />
						</command>
						<command class_type='call' title='Stopinja' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='176' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;C&quot;' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='comment' title='' comment='TERMOMETER 3
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='t3.txt=' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;t3.txt=&quot;' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Pošlji temperaturo' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='Temp_string_3' />
						</command>
						<command class_type='call' title='Stopinja' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='176' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;C&quot;' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='comment' title='' comment='TERMOMETER 4' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='t4.txt=' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;t4.txt=&quot;' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Pošlji temperaturo' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='Temp_string_4' />
						</command>
						<command class_type='call' title='Stopinja' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='176' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;C&quot;' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='comment' title='' comment='TERMOMETER 5' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='t5.txt=' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;t5.txt=&quot;' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Pošlji temperaturo' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='Temp_string_5' />
						</command>
						<command class_type='call' title='Stopinja' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='176' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendString' >
							<argument exp='&quot;C&quot;' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='SendChar' >
							<argument exp='0xFF' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='BusReset' description='Issue a &apos;ping&apos; on the bus. If there is at least one sensor on the bus then it will generate a presence pulse.

Returns 0 if a presense pulse was detected
Returns 1 no device was detected' >
						<return name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='BusReset' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = One_Wire2 :: BusReset ()' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DS1820_ReadScratchpad' description='Reads the scratchpad of the currently selected device' >
						<return name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='DS1820_ReadScratchpad' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = One_Wire1 :: DS1820_ReadScratchpad ()' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DS1820_GetTemp' description='Returns the two byte value of the temperature sensor' >
						<return name='Return' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='DS1820_GetTemp' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = One_Wire2 :: DS1820_GetTemp ()' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' 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='ack = 255' />
						</command>
						<command class_type='calculation' title='calculations' textarea='96,20,96,20' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Temp_string_0 = &quot;&quot;' />
							<exp exp='Temp_string_1 = &quot;&quot;' />
							<exp exp='Temp_string_2 = &quot;&quot;' />
							<exp exp='Temp_string_3 = &quot;&quot;' />
							<exp exp='Temp_string_4 = &quot;&quot;' />
							<exp exp='Temp_string_5 = &quot;&quot;' />
							<exp exp='Temp_string_6 = &quot;&quot;' />
							<exp exp='Temp_string_7 = &quot;&quot;' />
							<exp exp='tempr_0 = 0' />
							<exp exp='tempr_1 = 0' />
							<exp exp='tempr_2 = 0' />
							<exp exp='tempr_3 = 0' />
							<exp exp='tempr_4 = 0' />
							<exp exp='tempr_5 = 0' />
							<exp exp='tempr_6 = 0' />
							<exp exp='tempr_7 = 0' />
							<exp exp='' />
						</command>
						<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='RS232' macro='Initialise' />
						<command class_type='loop' title='Zanka' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='comment' title='' comment='TERMOMETER 0
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire1' macro='DS1820_StartConversion' />
								<command class_type='call' title='DS1820_ReadScratchpad' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire1' macro='DS1820_ReadScratchpad' />
								<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire1' macro='DS1820_GetTemp' >
									<return exp='tempr_0' />
								</command>
								<command class_type='calculation' title='Računanje' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='tempr_0 = tempr_0 / 16' />
									<exp exp='Temp_string_0 = ToString$ (tempr_0)' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
								<command class_type='comment' title='' comment='TERMOMETER 1' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire2' macro='BusReset' >
									<return exp='ack' />
								</command>
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire2' macro='DS1820_StartConversion' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire2' macro='DS1820_ReadScratchpad' />
								<command class_type='call' title='Returns the two byte value of the temperature sensor' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire2' macro='DS1820_GetTemp' >
									<return exp='tempr_1' />
								</command>
								<command class_type='calculation' title='Računanje' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='tempr_1 = tempr_1 / 16' />
									<exp exp='Temp_string_1 = ToString$ (tempr_1)' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
								<command class_type='comment' title='' comment='TERMOMETER 2' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire3' macro='DS1820_StartConversion' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire3' macro='DS1820_ReadScratchpad' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire3' macro='DS1820_GetTemp' >
									<return exp='tempr_2' />
								</command>
								<command class_type='calculation' title='Računanje' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='tempr_2 = tempr_2 / 16' />
									<exp exp='Temp_string_2 = ToString$ (tempr_2)' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
								<command class_type='comment' title='' comment='TERMOMETER 3' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire4' macro='DS1820_StartConversion' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire4' macro='DS1820_ReadScratchpad' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire4' macro='DS1820_GetTemp' >
									<return exp='tempr_3' />
								</command>
								<command class_type='calculation' title='Računanje' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='tempr_3 = tempr_3 / 16' />
									<exp exp='Temp_string_3 = ToString$ (tempr_3)' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
								<command class_type='comment' title='' comment='TERMOMETER 4' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire5' macro='DS1820_StartConversion' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire5' macro='DS1820_ReadScratchpad' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire5' macro='DS1820_GetTemp' >
									<return exp='tempr_4' />
								</command>
								<command class_type='calculation' title='Računanje' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='tempr_4 = tempr_4 / 16' />
									<exp exp='Temp_string_4 = ToString$ (tempr_4)' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
								<command class_type='comment' title='' comment='Reset the bus' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='comment' title='' comment='TERMOMETER 5' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire6' macro='BusReset' >
									<return exp='ack' />
								</command>
								<command class_type='decision' title='Issue a &apos;ping&apos; on the bus.' cmdcolor='12615680' cmdcolor_sec='15376912' exp='ack = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment=' 1 no device was detected' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_5mm1' macro='TurnOff' />
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='0 - presense pulse was detected' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_5mm1' macro='TurnOn' />
										<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
									</flowline>
								</command>
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire6' macro='DS1820_StartConversion' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire6' macro='DS1820_ReadScratchpad' />
								<command class_type='call' title='Kliči Makro Komponente' cmdcolor='1879295' cmdcolor_sec='5751039' component='One_Wire6' macro='DS1820_GetTemp' >
									<return exp='tempr_5' />
								</command>
								<command class_type='calculation' title='Računanje' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='tempr_5 = tempr_5 / 16' />
									<exp exp='Temp_string_5 = ToString$ (tempr_5)' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
								<command class_type='call' title='Izpis temperatur na RS232' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Uart' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_5mm1' macro='TurnOff' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='64b26b13-68cf-4a92-8616-e882b7c71023' vmin='4' vmaj='1' codename='One_Wire1' x='0' y='152' z='0.755' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='oo_pin' data='$PORTB.0' />
					<value target='BufferSize' data='8' />
					<value target='crc_en' data='0' />
					<value target='PIC8' data='0' />
					<value target='label' data='1-Wire' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='RS232' x='0' y='-52' z='0.755' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='001' />
					<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='000' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTD.1' />
					<value target='cal_uart::OutputPins' data='007' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTD.0' />
					<value target='cal_uart::InputPins' data='013' />
					<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='RS232' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<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' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='64b26b13-68cf-4a92-8616-e882b7c71023' vmin='4' vmaj='1' codename='One_Wire2' x='0' y='120' z='0.755' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='oo_pin' data='$PORTB.1' />
					<value target='BufferSize' data='8' />
					<value target='crc_en' data='0' />
					<value target='PIC8' data='0' />
					<value target='label' data='1-Wire' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='64b26b13-68cf-4a92-8616-e882b7c71023' vmin='4' vmaj='1' codename='One_Wire3' x='0' y='88' z='0.755' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='oo_pin' data='$PORTB.2' />
					<value target='BufferSize' data='8' />
					<value target='crc_en' data='0' />
					<value target='PIC8' data='0' />
					<value target='label' data='1-Wire' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='64b26b13-68cf-4a92-8616-e882b7c71023' vmin='4' vmaj='1' codename='One_Wire4' x='0' y='56' z='0.755' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='oo_pin' data='$PORTB.3' />
					<value target='BufferSize' data='8' />
					<value target='crc_en' data='0' />
					<value target='PIC8' data='0' />
					<value target='label' data='1-Wire' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='64b26b13-68cf-4a92-8616-e882b7c71023' vmin='4' vmaj='1' codename='One_Wire5' x='0' y='24' z='0.755' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='oo_pin' data='$PORTB.4' />
					<value target='BufferSize' data='8' />
					<value target='crc_en' data='0' />
					<value target='PIC8' data='0' />
					<value target='label' data='1-Wire' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='64b26b13-68cf-4a92-8616-e882b7c71023' vmin='4' vmaj='1' codename='One_Wire6' x='0' y='-18' z='0.755' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='oo_pin' data='$PORTC.5' />
					<value target='BufferSize' data='8' />
					<value target='crc_en' data='0' />
					<value target='PIC8' data='0' />
					<value target='label' data='1-Wire' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led_5mm1' x='57.8757' y='122.95' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.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='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label1' x='60' y='100' 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='16777047' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Bus reset' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='3.78204' ye='-4.11575' ze='230.859' xt='3.78204' yt='-4.11575' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQMAAFADAAA' zoom='75' scrollx='67' scrolly='2520' flags='0' />
		<view type='0' name='BusReset' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQMAAFADAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Uart' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQMAAFADAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
