<root>
<document schema='101' license='1,Christina Frauenberger,63V1VG' title='' description='' target='PIC16.33E.ECIO40P16' >
	<config data='' clkspd='140000000' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='19' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='Tmr5Cnt' />
		<watch expr='Chk_Switch.Sw_Nr' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='762cc084-0b20-42e2-8751-53280ed266a9' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='ByteHigh' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BtCnt' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Tmr5Mul' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Tmr5Var' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Tmr1Cnt' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ByteLow' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SetRel' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</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='Tmr1Forw' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CtrlZ' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Service' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Tmr5Cnt' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Tmr5Flg' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dhtCnt' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='xTerm' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TmrRelSum' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Sw_StatCnt1' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</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='B_Init' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
							<exp exp='Service = 0' />
						</command>
						<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
							<exp exp='CtrlZ[0] = 26' />
							<exp exp='CtrlZ[1] = 0' />
							<exp exp='xTerm[0] = 0xFF' />
							<exp exp='xTerm[1] = 0xFF' />
							<exp exp='xTerm[2] = 0xFF' />
						</command>
						<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
							<exp exp='sseeprom1 :: Write (146,236)' />
							<exp exp='sseeprom1 :: Write (147,44)' />
							<exp exp='sseeprom1 :: Write (148,1)' />
						</command>
						<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
							<exp exp='ByteLow = sseeprom1 :: Read (146)' />
							<exp exp='ByteHigh = sseeprom1 :: Read (147)' />
							<exp exp='Tmr5Mul = sseeprom1 :: Read (148)' />
						</command>
						<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
							<exp exp='BtCnt = ByteHigh &lt;&lt; 8' />
							<exp exp='BtCnt = BtCnt + ByteLow' />
							<exp exp='Tmr5Var = BtCnt' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Chk_Switch' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='Stat1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Str1' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
							<array size='20' />
						</local>
						<local name='xOut' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='xEnd' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Cnt1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='TmpRel' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='5' />
						</local>
						<local name='Str2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='Str3' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='Str4' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='Sw_Nr' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='interrupt' title='Unterbrechung' ccode='// Unterbrechung
// Unterbrechung: Deaktiviere TMR1
IEC0bits.T1IE = 0;
' cmdcolor='16770777' cmdcolor_sec='16770777' enable='0' name='TMR1' >
							<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='interrupt' title='Unterbrechung' ccode='// Unterbrechung
// Unterbrechung: Deaktiviere IOC0
IEC1bits.CNIE = 0;
' cmdcolor='16770777' cmdcolor_sec='16770777' enable='0' name='IOC0' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='input' title='Eingang' ccode='// Eingang
// Eingang: PORTB_H -&gt; .SW_Nr
FCL_SW_NR = FCP_GET(M, B, 0x3F00, 8);' cmdcolor='15138777' cmdcolor_sec='15138777' mode='2' port='135266305' mask='63' exp='.SW_Nr' />
						<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
							<exp exp='.xEnd = 0' />
							<exp exp='.Stat1 = 0' />
						</command>
						<command class_type='loop' title='Schleife' cmdcolor='13959167' cmdcolor_sec='13959167' type='2' forvar='.Cnt1' exp='5' >
							<flowline >
								<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
									<exp exp='.TmpRel[.Cnt1] = 0' />
									<exp exp='.Cnt1 = .Cnt1 + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='switch' title='Schalter' textarea='36,25,36,25' cmdcolor='13959167' cmdcolor_sec='13959167' exp='.Sw_Nr' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='comment' title='' comment='Steuerung Timer 1
Ein / Aus / Automatik' textarea='12,0,12,0' cmdcolor='13959167' cmdcolor_sec='13959167' />
									<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='pcb_switch1' macro='ReadState' >
										<return exp='.Stat1' />
									</command>
									<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='.Stat1 = 1' swap='0' >
										<flowline >
											<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='PrintTFT' >
												<argument exp='&quot;&quot;' />
												<argument exp='&quot;click t31,1&quot;' />
												<argument exp='1' />
											</command>
											<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
												<exp exp='Tmr5Cnt = 0' />
												<exp exp='Tmr5Flg = 0' />
											</command>
											<command class_type='interrupt' title='Unterbrechung' cmdcolor='16770777' cmdcolor_sec='16770777' enable='1' name='TMR5' call='Tmr5' >
												<settings timer='1' prescale='64' postscale='-1' rollover='14599' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
													<option value='0' />
													<option value='2' />
													<option value='14599' />
													<option value='-1' />
												</settings>
											</command>
											<command class_type='loop' title='Schleife' cmdcolor='13959167' cmdcolor_sec='13959167' type='0' exp='.xEnd = 0' >
												<flowline >
													<command class_type='loop' title='Schleife' cmdcolor='13959167' cmdcolor_sec='13959167' type='0' exp='.Stat1 = 1' >
														<flowline >
															<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='pcb_switch1' macro='WaitUntilLow' />
															<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
																<exp exp='.Stat1 = 0' />
															</command>
														</flowline>
													</command>
													<command class_type='switch' title='Schalter' textarea='36,25,36,25' cmdcolor='13959167' cmdcolor_sec='13959167' exp='Sw_StatCnt1' >
														<case >
															<flowline />
														</case>
														<case exp='1' >
															<flowline >
																<command class_type='comment' title='' comment='Auto' textarea='12,0,12,0' cmdcolor='13959167' cmdcolor_sec='13959167' />
																<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
																	<exp exp='SetRel[1] = 1' />
																	<exp exp='.Str1 = &quot;&quot;' />
																	<exp exp='.Str2 = &quot;&quot;' />
																	<exp exp='.Str3 = &quot;p1.pic=3&quot;' />
																	<exp exp='.Str4 = &quot;t11.txt=\&quot;Auto\&quot;&quot;' />
																</command>
															</flowline>
														</case>
														<case exp='2' >
															<flowline >
																<command class_type='comment' title='' comment='Ein' textarea='12,0,12,0' cmdcolor='13959167' cmdcolor_sec='13959167' />
																<command class_type='calculation' title='Ausgang 1 Aus' cmdcolor='13959167' cmdcolor_sec='13959167' >
																	<exp exp='SetRel[1] = 2' />
																	<exp exp='.Str1 = &quot;p0.pic=2&quot;' />
																	<exp exp='.Str2 = &quot;t7.txt=\&quot;Ein\&quot;&quot;' />
																	<exp exp='.Str3 = &quot;p1.pic=2&quot;' />
																	<exp exp='.Str4 = &quot;t11.txt=\&quot;Man\&quot;&quot;' />
																</command>
															</flowline>
														</case>
														<case exp='3' >
															<flowline >
																<command class_type='comment' title='' comment='Aus' textarea='12,0,12,0' cmdcolor='13959167' cmdcolor_sec='13959167' />
																<command class_type='calculation' title='Ausgang 1 Ein' cmdcolor='13959167' cmdcolor_sec='13959167' >
																	<exp exp='SetRel[1] = 3' />
																	<exp exp='.Str1 = &quot;p0.pic=1&quot;' />
																	<exp exp='.Str2 = &quot;t7.txt=\&quot;Aus\&quot;&quot;' />
																	<exp exp='.Str3 = &quot;p1.pic=2&quot;' />
																	<exp exp='.Str4 = &quot;t11.txt=\&quot;Man\&quot;&quot;' />
																</command>
															</flowline>
														</case>
													</command>
													<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='.TmpRel[1] &lt;&gt; SetRel[1]' swap='0' >
														<flowline >
															<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='PrintTFT' >
																<argument exp='&quot;&quot;' />
																<argument exp='.Str1' />
																<argument exp='1' />
															</command>
															<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='PrintTFT' >
																<argument exp='&quot;&quot;' />
																<argument exp='.Str2' />
																<argument exp='1' />
															</command>
															<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='PrintTFT' >
																<argument exp='&quot;&quot;' />
																<argument exp='.Str3' />
																<argument exp='1' />
															</command>
															<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='PrintTFT' >
																<argument exp='&quot;&quot;' />
																<argument exp='.Str4' />
																<argument exp='1' />
															</command>
															<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
																<exp exp='.TmpRel[1] = SetRel[1]' />
																<exp exp='Tmr5Cnt = 0' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='(SetRel[1] = 2) OR (SetRel[1] = 3)' swap='0' >
														<flowline >
															<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
																<exp exp='.xOut = SetRel[1] MOD 2' />
																<exp exp='.xOut = ! .xOut' />
															</command>
															<command class_type='output' title='Ausgang Relais' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048577' mask='1' exp='.xOut' />
														</flowline>
														<flowline />
													</command>
													<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='pcb_switch1' macro='ReadState' >
														<return exp='.Stat1' />
													</command>
													<command class_type='loop' title='Schleife' cmdcolor='13959167' cmdcolor_sec='13959167' type='0' exp='.Stat1 = 1' >
														<flowline >
															<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='pcb_switch1' macro='WaitUntilLow' />
															<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
																<exp exp='.Stat1 = 0' />
															</command>
															<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='Sw_StatCnt1 = 3' swap='0' >
																<flowline >
																	<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
																		<exp exp='Sw_StatCnt1 = 1' />
																	</command>
																</flowline>
																<flowline >
																	<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
																		<exp exp='Sw_StatCnt1 = Sw_StatCnt1 + 1' />
																	</command>
																</flowline>
															</command>
														</flowline>
													</command>
													<command class_type='comment' title='' comment='Ende Tastensteuerung
Übernehmen der Einstellung' textarea='12,0,12,0' cmdcolor='13959167' cmdcolor_sec='13959167' />
													<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='pcb_switch5' macro='ReadState' >
														<return exp='.Stat1' />
													</command>
													<command class_type='loop' title='Schleife' cmdcolor='13959167' cmdcolor_sec='13959167' type='0' exp='.Stat1 = 1' >
														<flowline >
															<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='pcb_switch5' macro='WaitUntilLow' />
															<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
																<exp exp='.Stat1 = 0' />
																<exp exp='.xEnd = 1' />
															</command>
															<command class_type='interrupt' title='Unterbrechung' cmdcolor='16770777' cmdcolor_sec='16770777' enable='0' name='TMR5' >
																<settings timer='1' prescale='1' postscale='-1' rollover='0' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
																	<option value='0' />
																	<option value='0' />
																	<option value='0' />
																	<option value='0' />
																</settings>
															</command>
															<command class_type='output' title='Ausgang' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048577' mask='32' exp='0' />
														</flowline>
													</command>
													<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='50' type='1' />
													<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='Tmr5Flg = 1' swap='0' >
														<flowline >
															<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
																<exp exp='.Stat1 = 0' />
																<exp exp='.xEnd = 1' />
															</command>
														</flowline>
														<flowline />
													</command>
												</flowline>
											</command>
											<command class_type='interrupt' title='Unterbrechung' cmdcolor='16770777' cmdcolor_sec='16770777' enable='0' name='TMR5' >
												<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
													<option value='0' />
													<option value='0' />
													<option value='0' />
													<option value='0' />
												</settings>
											</command>
											<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='sseeprom1' macro='Write' >
												<argument exp='22' />
												<argument exp='SetRel[1]' />
											</command>
											<command class_type='decision' title='Entscheidung' disable='1' cmdcolor='13959167' cmdcolor_sec='13959167' exp='(SetRel[1] = 2) OR (SetRel[1] = 3)' swap='0' >
												<flowline >
													<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
														<exp exp='.xOut = SetRel[1] MOD 2' />
														<exp exp='.xOut = ! .xOut' />
													</command>
													<command class_type='output' title='Ausgang Relais' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048577' mask='1' exp='.xOut' />
												</flowline>
												<flowline />
											</command>
											<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='PrintTFT' >
												<argument exp='&quot;&quot;' />
												<argument exp='&quot;click t32,1&quot;' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline />
							</case>
							<case exp='4' >
								<flowline />
							</case>
							<case exp='8' >
								<flowline />
							</case>
							<case exp='32' >
								<flowline >
									<command class_type='comment' title='' comment='Service Ein / Aus' textarea='12,0,12,0' cmdcolor='13959167' cmdcolor_sec='13959167' />
									<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='sseeprom1' macro='Read' >
										<return exp='Service' />
										<argument exp='139' />
									</command>
									<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='pcb_switch6' macro='ReadState' >
										<return exp='.Stat1' />
									</command>
									<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='.Stat1 = 1' swap='0' >
										<flowline >
											<command class_type='loop' title='Schleife' cmdcolor='13959167' cmdcolor_sec='13959167' type='0' exp='.Stat1 = 1' >
												<flowline >
													<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='pcb_switch6' macro='WaitUntilLow' />
													<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
														<exp exp='.Stat1 = 0' />
													</command>
												</flowline>
											</command>
											<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
												<exp exp='.Stat1 = 0' />
												<exp exp='.xEnd = 1' />
												<exp exp='Service = !Service' />
											</command>
											<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='sseeprom1' macro='Write' >
												<argument exp='139' />
												<argument exp='Service' />
											</command>
											<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='50' type='1' />
											<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='Service = 1' swap='0' >
												<flowline >
													<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='PrintTFT' >
														<argument exp='&quot;&quot;' />
														<argument exp='&quot;modi.t28.pic=24&quot;' />
														<argument exp='1' />
													</command>
												</flowline>
												<flowline >
													<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='PrintTFT' >
														<argument exp='&quot;&quot;' />
														<argument exp='&quot;modi.t28.pic=28&quot;' />
														<argument exp='1' />
													</command>
												</flowline>
											</command>
											<command class_type='output' title='Ausgang Service' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048577' mask='128' exp='Service' />
											<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='100' type='1' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='100' type='1' />
						<command class_type='interrupt' title='Unterbrechung' cmdcolor='16770777' cmdcolor_sec='16770777' enable='1' name='IOC0' call='Chk_Switch' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='AAAALwAAAAAAAEQAAAD-------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='AAAALwAAAAAAAEQAAAD-------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='Unterbrechung' cmdcolor='16770777' cmdcolor_sec='16770777' enable='1' name='TMR1' call='Tmr1' >
							<settings timer='1' prescale='256' postscale='-1' rollover='32768' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='3' />
								<option value='32768' />
								<option value='-1' />
							</settings>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Tmr5' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='output' title='Ausgang' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048577' mask='32' exp='1' />
						<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
							<exp exp='Tmr5Cnt = Tmr5Cnt + 1' />
						</command>
						<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='Tmr5Cnt = Tmr5Var' swap='0' >
							<flowline >
								<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='Tmr5Mul &gt; 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
											<exp exp='Tmr5Mul = Tmr5Mul - 1' />
											<exp exp='Tmr5Cnt = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='(Tmr5Cnt = Tmr5Var) AND (Tmr5Mul = 1)' swap='0' >
									<flowline >
										<command class_type='interrupt' title='Unterbrechung' cmdcolor='16770777' cmdcolor_sec='16770777' enable='0' name='TMR5' >
											<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
											</settings>
										</command>
										<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
											<exp exp='Tmr5Cnt = 0' />
											<exp exp='Tmr5Flg = 1' />
											<exp exp='Tmr5Mul = sseeprom1 :: Read (148)' />
										</command>
										<command class_type='output' title='Ausgang' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048577' mask='32' exp='0' />
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintTFT' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Vax' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='xText' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='100' />
						</param>
						<param name='Mode' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='TmpStr1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='100' />
						</local>
						<command class_type='switch' title='Schalter' textarea='36,25,36,25' cmdcolor='13959167' cmdcolor_sec='13959167' exp='.Mode' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
										<exp exp='.TmpStr1 = .xText' />
										<exp exp='.TmpStr1 = .TmpStr1 + xTerm' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
										<exp exp='.TmpStr1 = .Vax + &quot;=\&quot;&quot;' />
										<exp exp='.TmpStr1 = .TmpStr1 + .xText' />
										<exp exp='.TmpStr1 = .TmpStr1 + &quot;\&quot;&quot;' />
										<exp exp='.TmpStr1 = .TmpStr1 + xTerm' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='UART1' macro='SendString' >
							<argument exp='.TmpStr1' />
						</command>
						<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='10' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Tmr1' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='Cnt' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='BtCnt' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='xAd1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='xAd2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Cnt1' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Str1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</local>
						<local name='Str2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='15' />
						</local>
						<local name='Str3' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='15' />
						</local>
						<local name='Str4' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='15' />
						</local>
						<local name='AnInt1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
							<exp exp='Tmr1Cnt = Tmr1Cnt + 1' />
							<exp exp='TmrRelSum = 0' />
						</command>
						<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='Tmr1Cnt &gt;= 20' swap='0' >
							<flowline >
								<command class_type='interrupt' title='Unterbrechung' cmdcolor='16770777' cmdcolor_sec='16770777' enable='0' name='TMR1' >
									<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
									</settings>
								</command>
								<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
									<exp exp='Tmr1Cnt = 0' />
								</command>
								<command class_type='switch' title='Schalter' textarea='36,25,36,25' cmdcolor='13959167' cmdcolor_sec='13959167' exp='Tmr1Forw' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='output' title='Ausgang Run' ccode='// Ausgang
// Ausgang: 1 -&gt; B12
FCP_SET(M, B, 0x1000, 12, (1));' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048580' mask='4' exp='1' />
											<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='200' type='1' />
											<command class_type='call' title='Makro-Aufruf' disable='1' cmdcolor='16772088' cmdcolor_sec='16772088' macro='DayLightSaving' />
											<command class_type='call' title='Makro-Aufruf' disable='1' cmdcolor='16772088' cmdcolor_sec='16772088' macro='TimerCtrl' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='output' title='Ausgang Run' ccode='// Ausgang
// Ausgang: 1 -&gt; B12
FCP_SET(M, B, 0x1000, 12, (1));' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048580' mask='4' exp='0' />
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='output' title='Ausgang Run' ccode='// Ausgang
// Ausgang: 1 -&gt; B12
FCP_SET(M, B, 0x1000, 12, (1));' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048580' mask='4' exp='1' />
											<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='200' type='1' />
											<command class_type='call' title='Makro-Aufruf' disable='1' cmdcolor='16772088' cmdcolor_sec='16772088' macro='ReadGSM' />
											<command class_type='output' title='Ausgang Run' ccode='// Ausgang
// Ausgang: 1 -&gt; B12
FCP_SET(M, B, 0x1000, 12, (1));' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048580' mask='4' exp='0' />
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='output' title='Ausgang Run' ccode='// Ausgang
// Ausgang: 1 -&gt; B12
FCP_SET(M, B, 0x1000, 12, (1));' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048580' mask='4' exp='1' />
											<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='200' type='1' />
											<command class_type='call' title='Makro-Aufruf' disable='1' cmdcolor='16772088' cmdcolor_sec='16772088' macro='VoltCtrl' />
											<command class_type='output' title='Ausgang Run' ccode='// Ausgang
// Ausgang: 1 -&gt; B12
FCP_SET(M, B, 0x1000, 12, (1));' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048580' mask='4' exp='0' />
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='output' title='Ausgang Run' ccode='// Ausgang
// Ausgang: 1 -&gt; B12
FCP_SET(M, B, 0x1000, 12, (1));' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048580' mask='4' exp='1' />
											<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='200' type='1' />
											<command class_type='decision' title='Entscheidung' disable='1' cmdcolor='13959167' cmdcolor_sec='13959167' exp='dhtCnt = 2' swap='0' >
												<flowline >
													<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
														<exp exp='dhtCnt = 0' />
													</command>
													<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='mDHT22' />
												</flowline>
												<flowline >
													<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
														<exp exp='dhtCnt = dhtCnt + 1' />
													</command>
												</flowline>
											</command>
											<command class_type='output' title='Ausgang Run' ccode='// Ausgang
// Ausgang: 1 -&gt; B12
FCP_SET(M, B, 0x1000, 12, (1));' cmdcolor='15138777' cmdcolor_sec='15138777' mode='1' port='1048580' mask='4' exp='0' />
										</flowline>
									</case>
								</command>
								<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
									<exp exp='Tmr1Forw = Tmr1Forw + 1' />
								</command>
								<command class_type='decision' title='Entscheidung' cmdcolor='13959167' cmdcolor_sec='13959167' exp='Tmr1Forw &gt; 4' swap='0' >
									<flowline >
										<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
											<exp exp='Tmr1Forw = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='interrupt' title='Unterbrechung' cmdcolor='16770777' cmdcolor_sec='16770777' enable='1' name='TMR1' call='Tmr1' >
									<settings timer='1' prescale='256' postscale='-1' rollover='32768' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='3' />
										<option value='32768' />
										<option value='-1' />
									</settings>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintTFTfree' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='xStr' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='100' />
						</param>
						<param name='xStart' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='yStart' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='aWidth' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='aHeight' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='FontID' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Mode' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='TmpStr' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='100' />
						</local>
						<local name='xStr1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='5' />
						</local>
						<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
							<exp exp='.TmpStr = &quot;xstr &quot;' />
							<exp exp='.TmpStr = .TmpStr + ToString$ (.xStart)' />
							<exp exp='.TmpStr = .TmpStr + &quot;,&quot;' />
							<exp exp='.TmpStr = .TmpStr + ToString$ (.yStart)' />
							<exp exp='.TmpStr = .TmpStr + &quot;,&quot;' />
							<exp exp='.TmpStr = .TmpStr + ToString$ (.aWidth)' />
							<exp exp='.TmpStr = .TmpStr + &quot;,&quot;' />
							<exp exp='.TmpStr = .TmpStr + ToString$ (.aHeight)' />
							<exp exp='.TmpStr = .TmpStr + &quot;,&quot;' />
							<exp exp='.TmpStr = .TmpStr + ToString$ (.FontID)' />
							<exp exp='.TmpStr = .TmpStr + &quot;,&quot;' />
						</command>
						<command class_type='switch' title='Schalter' textarea='36,25,36,25' cmdcolor='13959167' cmdcolor_sec='13959167' exp='.Mode' >
							<case >
								<flowline >
									<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
										<exp exp='.TmpStr = .TmpStr + &quot;WHITE,BLACK,0,0,0,&quot;' />
										<exp exp='.TmpStr = .TmpStr + &quot;\&quot;&quot;' />
										<exp exp='.TmpStr = .TmpStr + .xStr' />
										<exp exp='.TmpStr = .TmpStr + &quot;\&quot;&quot;' />
										<exp exp='.TmpStr = .TmpStr + xTerm' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
										<exp exp='.TmpStr = .TmpStr + &quot;57344,61277,1,1,1,&quot;' />
										<exp exp='.TmpStr = .TmpStr + &quot;\&quot;&quot;' />
										<exp exp='.TmpStr = .TmpStr + .xStr' />
										<exp exp='.TmpStr = .TmpStr + &quot;\&quot;&quot;' />
										<exp exp='.TmpStr = .TmpStr + xTerm' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Berechnung' cmdcolor='13959167' cmdcolor_sec='13959167' >
										<exp exp='.TmpStr = .TmpStr + &quot;0,61277,1,1,1,&quot;' />
										<exp exp='.TmpStr = .TmpStr + &quot;\&quot;&quot;' />
										<exp exp='.TmpStr = .TmpStr + .xStr' />
										<exp exp='.TmpStr = .TmpStr + &quot;\&quot;&quot;' />
										<exp exp='.TmpStr = .TmpStr + xTerm' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='UART1' macro='SendString' >
							<argument exp='.TmpStr' />
						</command>
						<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='100' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Aufruf Komponenten-Makro' cmdcolor='16772088' cmdcolor_sec='16772088' component='UART1' macro='Initialise' />
						<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='B_Init' />
						<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='200' type='1' />
						<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='PrintTFT' >
							<argument exp='&quot;&quot;' />
							<argument exp='&quot;sleep=0&quot;' />
							<argument exp='1' />
						</command>
						<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='200' type='1' />
						<command class_type='call' title='Makro-Aufruf' cmdcolor='16772088' cmdcolor_sec='16772088' macro='PrintTFT' >
							<argument exp='&quot;&quot;' />
							<argument exp='&quot;page modi&quot;' />
							<argument exp='1' />
						</command>
						<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='200' type='1' />
						<command class_type='interrupt' title='Unterbrechung' ccode='// Unterbrechung
// Unterbrechung: Aktiviere TMR1
T1CON = ((T1CON &amp; 0xfffd) | 0x8000);
T1CON = ((T1CON &amp; 0xff0f) | 0x0030);
PR1=32768-1;
IEC0bits.T1IE = 1;
' cmdcolor='16770777' cmdcolor_sec='16770777' enable='1' name='TMR1' call='Tmr1' >
							<settings timer='1' prescale='256' postscale='-1' rollover='32768' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='3' />
								<option value='32768' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='Unterbrechung' cmdcolor='16770777' cmdcolor_sec='16770777' enable='1' name='IOC0' call='Chk_Switch' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='AAAALwAAAAAAAEQAAAD-------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='AAAALwAAAAAAAEQAAAD-------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='loop' title='Schleife' cmdcolor='13959167' cmdcolor_sec='13959167' type='0' exp='1' >
							<flowline >
								<command class_type='delay' title='Warten' cmdcolor='13959167' cmdcolor_sec='13959167' exp='100' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch1' x='-104.781' y='1.88347' z='3.9' xsz='0.526316' ysz='0.5' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.8' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape1' x='-105' y='-6' z='1.25' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='Shape' data='000' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<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='005' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch6' x='-72.4432' y='2.1194' z='3.9' xsz='0.526316' ysz='0.5' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.13' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape7' x='-72.4432' y='-5.8806' z='1.25' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.7' />
					<value target='polarity' data='001' />
					<value target='on_color' data='16711698' />
					<value target='Shape' data='000' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<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='005' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape5' x='-55.3588' y='1.96211' z='1.25' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTE.2' />
					<value target='polarity' data='001' />
					<value target='on_color' data='65298' />
					<value target='Shape' data='000' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<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='005' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape8' x='-37.3588' y='1.96211' z='1.25' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.5' />
					<value target='polarity' data='001' />
					<value target='on_color' data='38592' />
					<value target='Shape' data='000' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<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='005' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='35934f36-5cda-49e7-b1a0-05c85722d858' vmin='1' vmaj='1' codename='sseeprom1' x='99' y='0.5' z='0.324999' xsz='7.92' ysz='9.39061' zsz='6.65' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='DEVICE_ADDRESS' data='0' />
					<value target='CHANNEL' data='002' />
					<value target='SDA' data='$PORTF.4' />
					<value target='SCL' data='$PORTF.5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch5' x='-90.5' y='2' z='3.9' xsz='0.526316' ysz='0.5' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.12' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label1' x='-104.5' y='7.5' z='0' xsz='0.474265' ysz='0.5' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Port 1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label2' x='-90.5' y='7.5' z='0' xsz='0.474265' ysz='0.5' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Quit' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label3' x='-72.5' y='7.5' z='0' xsz='0.474265' ysz='0.5' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Service' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label4' x='-55.5' y='7.5' z='0' xsz='0.474265' ysz='0.5' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Run' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label5' x='-37.5' y='7.5' z='0' xsz='0.474265' ysz='0.5' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Timer 5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='UART1' x='75' y='0' z='0.755' xsz='25' ysz='11' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='003' />
					<value target='BAUD_LIST' data='007' />
					<value target='BAUD' data='9600' />
					<value target='DBITS' data='008' />
					<value target='RETURN' data='000' />
					<value target='ToutVal' data='255' />
					<value target='FLOWEN' data='000' />
					<value target='ECHO' data='000' />
					<value target='TX' data='$PORTF.0' />
					<value target='RX' data='$PORTF.1' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='010' />
					<value target='RXRemap' data='097' />
					<value target='label' data='UART' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='ConsoleColumns' data='64' />
					<value target='DataSource' data='001' />
					<value target='com_port' data='003' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='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---------------------wUAAAAaAAAAUwUAAIoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Tmr1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAAUwUAAIoCAAA' zoom='75' scrollx='0' scrolly='378' flags='0' />
		<view type='0' name='Chk_Switch' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAAUwUAAIoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Tmr5' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAAUwUAAIoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='B_Init' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAAUwUAAIoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrintTFT' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAAUwUAAIoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
