<root>
<document schema='101' license='1,,45.tmp' title='Control de litros por pulsos' description='V0.00 (27.09.2021) F.Ruiz= Versión inicial.
V0.01 (27.09.2021) F.Ruiz= Se ponen a =0 los pulsos y se reactiva la puesta en marcha después de
                                               haberse igualados los pulsos y el valor de ajuste.
V0.012(28.09.2021) M.Gomez= Se impidela lectura del pulsador de marcha mientras que el valor sea 000
V0.03 (28.09.2021) F.Ruiz= Se cambia el sistema a cuenta regresiva.
V0.04 (30.09.2021) F.Ruiz= Se impide que despues de un reset se  recuepere el valor ajustado.
                                              Se recupera al dar una nueva oreden de marcha.
V0.05 (30.09.2021) F.Ruiz= Se impide el ajuste si no se esta en situación de marcha.
V0.06 (05.10.2021) F.Ruiz= Se evita el tener que pulsar dos veces el reset para que se quede a 000 y
                                              no se recupere el valor de ajuste.
V0.07 (06.10.2021) F.Ruiz= Se cambia el display a catodo común.
V0.08 (07.10.2021) F.Ruiz= Se elimina la accion de la variable reset.
V0.21 (14.10.2021) F.Ruiz= Se añade la recuperacion del valor de ajuste al fallar la alimentacion.' target='PIC.16F.16F883' >
	<config data='!0,2f94!10,3fff%0,4%3,0%4,1%5,0%6,0%7,1%8,3%a,1%b,1%c,0%d,1%19,3%18,1' clkspd='4000000' 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_models enabled='1' />
		<dll_upgrader enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='DIG4' />
		<watch expr='DIG3' />
		<watch expr='DIG2' />
		<watch expr='Valor_Ajuste' />
		<watch expr='Pul_PM' />
		<watch expr='estado_Pul_HM' />
		<watch expr='Pulsos' />
		<watch expr='estado_inicio' />
		<watch expr='Respaldo_Ajuste' />
	</debug>
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='42' />
			<data name='CalculatedCommsDelay' value='42' />
		</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='47619d03-f71a-4554-8334-ec0590168f06' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='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' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='MSB_Pulso_Leido' type='u8' description='Valor leido de la EEPROM' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Reset' type='b1' description='Impide de nuevo recuerar el valor guardado' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Pul_PM' type='b1' description='Pulsador de puesta en marcha' 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='Activar_rele' type='b1' description='Activa el rele de salida.' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Pul_dig4' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Pul_dig3' type='b1' description='Pulsador digito 2' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MSB_Val_Pulsos' type='u8' description='Byte alto del valor de los pulsos' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='resto_2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Pul_dig2' type='b1' description='Pulsador digito 2' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='resto_1' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LSB_Val_Pulsos' type='u8' description='Byte bajo del valor de los pulsos' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cuenta_t_grabar_pulsos' type='u8' description='cuenta parcial tiempo para guardar en la eeprom los pulsos' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_inicio' type='b1' description='Establece el valor de inicio del programa' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Ajuste_Leido' type='u16' description='Valor leido de la EEprom' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_Pul_HM' type='b1' description='Se guarda el valor de puesta en marcha.' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='reset_manual' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DIG4' type='u8' description='Desplay nº4' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DIG3' type='u8' description='Display 3' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MSB_Ajuste_Leido' type='u8' description='Valor de la EEprom leido' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DIG2' type='u8' description='Display 2' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='segundos' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Valor_Ajuste' type='u16' description='Valor de ajuste maximo' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MSB_Val_Ajuste' type='u8' description='Byte alto del valor del ajuste' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LSB_Pulso_Leido' type='u8' description='Valor leido de la EEProm' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Pulsos_Leidos' type='u16' description='Valor de los pulsos leidos' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LSB_Val_Ajuste' type='u8' description='Byte bajo del valor del ajuste' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Estado_Ajuste' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Respaldo_Ajuste' type='u16' description='Guarda el valor de la eeprom' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Pul_reset' type='b1' description='Reset de los pulsos' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Pulsos' type='u16' description='Entrada de pulsos' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dividendo_2' type='u8' description='Segundo dividendo' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LSB_Ajuste_Leido' type='u8' description='Lee el valor de la EEprom' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dividendo_1' type='u16' description='Valor igual al valor de ajuste leido de la eeprom para la division' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Ajustes' description='Realiza el ajuste de los display.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='dividendo_1 = Valor_Ajuste / 100' />
							<exp exp='resto_1 = Valor_Ajuste MOD 100' />
							<exp exp='dividendo_2 = resto_1 / 10' />
							<exp exp='resto_2 = resto_1 MOD 10' />
							<exp exp='DIG2 = dividendo_1' />
							<exp exp='DIG3 = dividendo_2' />
							<exp exp='DIG4 = resto_2' />
						</command>
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='estado_Pul_HM = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Ajuste_dig4' />
								<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Ajuste_dig3' />
								<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Ajuste_dig2' />
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Ver_valores' />
						<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Valor_Ajuste = (DIG2 * 100) + (DIG3 * 10) + DIG4' />
						</command>
						<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Estado_Ajuste = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Leer_EEPROM' description='Leer los datos de EEPROM' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
							<return exp='LSB_Val_Ajuste' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
							<return exp='MSB_Val_Ajuste' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
							<return exp='LSB_Val_Pulsos' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
							<return exp='MSB_Val_Pulsos' />
							<argument exp='3' />
						</command>
						<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Valor_Ajuste = (MSB_Val_Ajuste &lt;&lt; 8) + LSB_Val_Ajuste' />
							<exp exp='Pulsos = (MSB_Val_Pulsos &lt;&lt; 8) + LSB_Val_Pulsos' />
						</command>
						<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='dividendo_1 = Valor_Ajuste / 100' />
							<exp exp='resto_1 = Valor_Ajuste MOD 100' />
							<exp exp='dividendo_2 = resto_1 / 10' />
							<exp exp='resto_2 = resto_1 MOD 10' />
							<exp exp='DIG2 = dividendo_1' />
							<exp exp='DIG3 = dividendo_2' />
							<exp exp='DIG4 = resto_2' />
						</command>
						<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Ver_valores' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Cuenta_Grabar' description='tiempo entre grabaciones de los pulsos en la EEPROM' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='cuenta_t_grabar_pulsos = cuenta_t_grabar_pulsos + 1' />
						</command>
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='cuenta_t_grabar_pulsos = 61' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='cuenta_t_grabar_pulsos = 0' />
									<exp exp='segundos = segundos + 1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Reset_Pulsos' description='Resetea el numero de pulsos' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Entrada' cmdcolor='4664832' cmdcolor_sec='4470784' mode='1' port='1048577' mask='32' exp='Pul_reset' />
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Pul_reset = 1' swap='0' >
							<flowline >
								<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
								<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Pul_reset = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='Valor_Ajuste = 0' />
											<exp exp='Pulsos = 0' />
											<exp exp='DIG2 = 0' />
											<exp exp='DIG3 = 0' />
											<exp exp='DIG4 = 0' />
											<exp exp='estado_Pul_HM = 0' />
											<exp exp='reset_manual = 1' />
										</command>
										<command class_type='output' title='Salida' cmdcolor='16762795' cmdcolor_sec='13879979' mode='1' port='1048576' mask='32' exp='0' />
										<command class_type='interrupt' title='Interrupción' cmdcolor='17151' cmdcolor_sec='355583' enable='0' name='INT0' >
											<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
											</settings>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Inicializacion' description='Inicializa los valores de los pulsos y valores de ajustes' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
							<return exp='estado_inicio' />
							<argument exp='4' />
						</command>
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='estado_inicio &lt;&gt; 0' swap='1' >
							<flowline >
								<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Leer_EEPROM' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='estado_inicio = 0' />
									<exp exp='Pulsos = 1' />
									<exp exp='Valor_Ajuste = 1' />
								</command>
								<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='4' />
									<argument exp='estado_inicio' />
								</command>
								<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='5' type='1' />
							</flowline>
						</command>
						<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='estado_Pul_HM = 0' />
							<exp exp='Respaldo_Ajuste = Valor_Ajuste' />
						</command>
						<command class_type='output' title='Salida' cmdcolor='16762795' cmdcolor_sec='13879979' mode='1' port='1048576' mask='32' exp='0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Ver_valores' description='Se muestran en el display los valores ajustados.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_7seg_quad1' macro='ShowDigit' >
							<argument exp='3' />
							<argument exp='DIG4' />
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='5' type='1' />
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_7seg_quad1' macro='ShowDigit' >
							<argument exp='2' />
							<argument exp='DIG3' />
							<argument exp='1' />
						</command>
						<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='5' type='1' />
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_7seg_quad1' macro='ShowDigit' >
							<argument exp='1' />
							<argument exp='DIG2' />
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='5' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='GR_EEPROM_Pulsos' description='Graba en la EEPROM el valor de los pulsos' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
							<return exp='LSB_Pulso_Leido' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
							<return exp='MSB_Pulso_Leido' />
							<argument exp='3' />
						</command>
						<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Pulsos_Leidos = (MSB_Pulso_Leido &lt;&lt; 8) + LSB_Pulso_Leido' />
						</command>
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Pulsos_Leidos = Pulsos' swap='1' >
							<flowline >
								<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='MSB_Val_Pulsos = Pulsos &gt;&gt; 8' />
									<exp exp='LSB_Val_Pulsos = Pulsos' />
								</command>
								<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='2' />
									<argument exp='LSB_Val_Pulsos' />
								</command>
								<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='3' />
									<argument exp='MSB_Val_Pulsos' />
								</command>
								<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='50' type='1' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ajuste_dig4' description='Realiza el ajuste del digito 4.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Entrada' cmdcolor='4664832' cmdcolor_sec='4470784' mode='1' port='1048577' mask='2' exp='Pul_dig4' />
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Pul_dig4 = 1' swap='0' >
							<flowline >
								<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='200' type='1' />
								<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Pul_dig4 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='DIG4 = DIG4 + 1' />
										</command>
										<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DIG4 &gt; 9' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='DIG4 = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ajuste_dig3' description='Realiza el ajuste del digito 3' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Entrada' cmdcolor='4664832' cmdcolor_sec='4470784' mode='1' port='1048577' mask='4' exp='Pul_dig3' />
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Pul_dig3 = 1' swap='0' >
							<flowline >
								<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='200' type='1' />
								<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Pul_dig3 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='DIG3 = DIG3 + 1' />
										</command>
										<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DIG3 &gt; 9' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='DIG3 = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ajuste_dig2' description='Realiza el ajuste del digito 2.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Entrada' cmdcolor='4664832' cmdcolor_sec='4470784' mode='1' port='1048577' mask='8' exp='Pul_dig2' />
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Pul_dig2 = 1' swap='0' >
							<flowline >
								<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='200' type='1' />
								<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Pul_dig2 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='DIG2 = DIG2 + 1' />
										</command>
										<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DIG2 &gt; 9' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='DIG2 = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='entrada_pulsos' description='Cuenta la entrada de los pulsos
' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='estado_Pul_HM = 0' swap='1' >
							<flowline >
								<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Valor_Ajuste = Valor_Ajuste - 1' />
									<exp exp='Pulsos = Valor_Ajuste' />
								</command>
								<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='dividendo_1 = Valor_Ajuste / 100' />
									<exp exp='resto_1 = Valor_Ajuste MOD 100' />
									<exp exp='dividendo_2 = resto_1 / 10' />
									<exp exp='resto_2 = resto_1 MOD 10' />
									<exp exp='DIG2 = dividendo_1' />
									<exp exp='DIG3 = dividendo_2' />
									<exp exp='DIG4 = resto_2' />
								</command>
								<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Valor_Ajuste = 0' swap='0' >
									<flowline >
										<command class_type='output' title='Salida' cmdcolor='16762795' cmdcolor_sec='13879979' mode='1' port='1048576' mask='32' exp='0' />
										<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='estado_Pul_HM = 0' />
											<exp exp='' />
										</command>
										<command class_type='calculation' title='Cálculo' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='estado_Pul_HM = 0' />
											<exp exp='Pulsos = 0' />
											<exp exp='DIG2 = 0' />
											<exp exp='DIG3 = 0' />
											<exp exp='DIG4 = 0' />
										</command>
										<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='Valor_Ajuste = Respaldo_Ajuste' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GR_EEPROM_Ajuste' description='Graba en la EEPROM el valor del ajuste' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
							<return exp='LSB_Ajuste_Leido' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
							<return exp='MSB_Ajuste_Leido' />
							<argument exp='1' />
						</command>
						<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Ajuste_Leido = (MSB_Ajuste_Leido &lt;&lt; 8) + LSB_Ajuste_Leido' />
						</command>
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Ajuste_Leido = Valor_Ajuste' swap='1' >
							<flowline >
								<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='MSB_Val_Ajuste = Valor_Ajuste &gt;&gt; 8' />
									<exp exp='LSB_Val_Ajuste = Valor_Ajuste' />
								</command>
								<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='0' />
									<argument exp='LSB_Val_Ajuste' />
								</command>
								<command class_type='call' title='Llamar a Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='1' />
									<argument exp='MSB_Val_Ajuste' />
								</command>
								<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='50' type='1' />
								<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Respaldo_Ajuste = Valor_Ajuste' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Marcha_Paro' description='Produce la puesta en marcha o paro del sistema.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DIG2 = 0 AND DIG3 = 0 AND DIG4 = 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='input' title='Entrada' cmdcolor='4664832' cmdcolor_sec='4470784' mode='1' port='1048577' mask='16' exp='Pul_PM' />
							</flowline>
						</command>
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Pul_PM = 1' swap='0' >
							<flowline >
								<command class_type='loop' title='Bucle' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='Pul_PM = 1' >
									<flowline >
										<command class_type='input' title='Entrada' cmdcolor='4664832' cmdcolor_sec='4470784' mode='1' port='1048577' mask='16' exp='Pul_PM' />
									</flowline>
								</command>
								<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='estado_Pul_HM = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='estado_Pul_HM = 0' />
											<exp exp='' />
										</command>
										<command class_type='output' title='Salida' cmdcolor='16762795' cmdcolor_sec='13879979' mode='1' port='1048576' mask='32' exp='0' />
										<command class_type='interrupt' title='Interrupción' cmdcolor='17151' cmdcolor_sec='355583' enable='0' name='INT0' >
											<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
											</settings>
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='estado_Pul_HM = 1' />
											<exp exp='reset_manual = 0' />
											<exp exp='' />
										</command>
										<command class_type='calculation' title='Cálculo' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='estado_Pul_HM = 1' />
											<exp exp='Reset = 0' />
											<exp exp='reset_manual = 0' />
											<exp exp='' />
										</command>
										<command class_type='output' title='Salida' cmdcolor='16762795' cmdcolor_sec='13879979' mode='1' port='1048576' mask='32' exp='1' />
										<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='GR_EEPROM_Ajuste' />
										<command class_type='interrupt' title='Interrupción' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='INT0' call='entrada_pulsos' >
											<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
											</settings>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='estado_Pul_HM = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Ajustes' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='Código C' ccode='/*
  Introduzca el código C por debajo de este comentario
*/
OSCCON=0x60;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Inicializacion' />
						<command class_type='interrupt' title='Interrupción' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='TMR0' call='Cuenta_Grabar' >
							<settings timer='1' prescale='64' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='0' />
								<option value='6' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='loop' title='Bucle' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Ajustes' />
								<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Marcha_Paro' />
								<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Valor_Ajuste = 0' swap='0' >
									<flowline >
										<command class_type='output' title='Salida' cmdcolor='16762795' cmdcolor_sec='13879979' mode='1' port='1048576' mask='32' exp='0' />
										<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='reset_manual = 1' swap='1' >
											<flowline >
												<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='estado_Pul_HM = 0' />
													<exp exp='' />
												</command>
												<command class_type='comment' title='' comment='Retardo para volver a recuper el valor preajustado despues de haber
llegadola cuenta =0.' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='delay' title='Retardo' cmdcolor='12632064' cmdcolor_sec='16769676' exp='3' type='2' />
												<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Valor_Ajuste = Respaldo_Ajuste' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decisión' cmdcolor='12615680' cmdcolor_sec='15376912' exp='segundos &gt;= 30' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='segundos = 0' />
											<exp exp='cuenta_t_grabar_pulsos = 0' />
										</command>
										<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='GR_EEPROM_Pulsos' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Llamar Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Reset_Pulsos' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='f4400e36-dd95-4472-86da-4bba68d68d5d' vmin='2' vmaj='1' codename='led_7seg_quad1' x='5.35841' y='59.4897' z='4.125' xsz='50.4' ysz='19' zsz='8.25' 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 >
					<value target='Display_Type' data='001' />
					<value target='ShowSegLabels' data='1' />
					<value target='Common_Pin0' data='$PORTA.0' />
					<value target='Common_Pin1' data='$PORTA.1' />
					<value target='Common_Pin2' data='$PORTA.2' />
					<value target='Common_Pin3' data='$PORTA.3' />
					<value target='Pin0' data='$PORTC.0' />
					<value target='Pin1' data='$PORTC.1' />
					<value target='Pin2' data='$PORTC.2' />
					<value target='Pin3' data='$PORTC.3' />
					<value target='Pin4' data='$PORTC.4' />
					<value target='Pin5' data='$PORTC.5' />
					<value target='Pin6' data='$PORTC.6' />
					<value target='Pin7' data='$PORTC.7' />
					<value target='FGColor' data='65280' />
					<value target='BGColor' data='1973790' />
					<value target='LabelColor' data='16777215' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='2c813cfa-9563-4da8-85df-b4355a3c5108' vmin='3' vmaj='1' codename='lamp_les1' x='0' y='80' 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 >
					<value target='pin' data='$PORTA.5' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch1' x='40' y='40' 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 >
					<value target='pin' data='$PORTB.1' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch2' x='11.1018' y='40' 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 >
					<value target='pin' data='$PORTB.2' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch3' x='-17.7964' y='40' 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 >
					<value target='pin' data='$PORTB.3' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch4' x='-48.8982' y='40' 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 >
					<value target='pin' data='$PORTB.4' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label1' x='40' y='30' z='0' xsz='0.741758' ysz='0.625' 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 >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='D1-B1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label2' x='10' y='30' z='0' xsz='0.741758' ysz='0.625' 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 >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='D2-B2' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label3' x='-20' y='30' z='0' xsz='0.741758' ysz='0.625' 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 >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='D3-B3' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label5' x='-50' y='30' z='0' xsz='0.630841' ysz='0.625' 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 >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='P/M-B4' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch5' x='-47.7964' y='80' 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 >
					<value target='pin' data='$PORTB.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label4' x='-50' y='70' z='0' xsz='0.630841' ysz='0.625' 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 >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Pulsos-B0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch6' x='-8.8982' y='120' 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 >
					<value target='pin' data='$PORTB.5' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label6' x='-10' y='110' z='0' xsz='0.630841' ysz='0.625' 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 >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Reset_Pulsos-B5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dcbf571f-a6fa-402d-bdd4-be00cca4070f' vmin='1' vmaj='1' codename='eeprom1' x='20' y='140' z='0' xsz='20' ysz='20' zsz='20' 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 >
					<value target='EESize' data='256 byte' />
					<value target='EEbitdepth' data='8 bit' />
					<value target='InitialValues' data='' />
					<value target='InitValsParsed' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='8398592' 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='0' />
		<camera xe='-11.0927' ye='60.0831' ze='145.792' xt='-11.0927' yt='60.0831' 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='Inicializacion' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='233' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='1176' flags='0' />
		<view type='0' name='Leer_EEPROM' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='178' flags='0' />
		<view type='0' name='Marcha_Paro' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='315' flags='0' />
		<view type='0' name='Cuenta_Grabar' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GR_EEPROM_Pulsos' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ver_valores' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ajustes' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='325' flags='0' />
		<view type='0' name='entrada_pulsos' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='115' scrolly='240' flags='0' />
		<view type='0' name='Reset_Pulsos' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='135' flags='0' />
		<view type='0' name='Ajuste_dig2' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ajuste_dig3' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ajuste_dig4' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GR_EEPROM_Ajuste' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAagIAAEACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
