<root>
<document schema='101' license='1,30day_86044098,JUQKH6' title='' description='' target='PIC.18F.18F23K22' >
	<config data='!0,ff!8,2!10,e0!18,fc!20,ff!28,55!30,ba!38,ff!40,ff!48,ff!50,ff!58,ff!60,ff!68,ff%8,2%c,0%d,0%e,0%f,0%10,0%11,0%13,0%18,0%1a,f%28,1%29,0%2a,1%2b,0%2c,1%2d,0%2f,0%30,0%32,0%36,0%37,1%40,1%41,1%4e,1%4f,1%50,1%51,1%5d,1%5e,1%5f,1%60,1%61,1%6e,1' clkspd='20000000' 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='255' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='2e3a8207-c0eb-4471-8164-bb5ae1e85a8f' 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='CNT_ENVIO_CONSULTA' type='u8' description='' isconst='0' isinit='1' usrinit='76' setinit='76' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ENVIAR_CONSULTA_NUM' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ARRAY' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='4' />
					</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='MCP_RESET' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='FALSE' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='REGISTRO' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DATO_ENVIAR' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MODBUS_RESPONSE' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ENVIAR_BLUETOOTH' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='FALSE' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='EVENTO_2' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='FALSE' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ENVIAR_BLUETOOTH_DATO' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='EVENTO_1' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='FALSE' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RELE1' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='FALSE' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CNT_ENVIO_BLUETOOTH' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='P2' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='FALSE' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='P1' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='FALSE' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ENVIAR_CONSULTA' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='FALSE' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LED2' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='FALSE' />
				</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='LED1' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='FALSE' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='INT_UART1' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='para depuracion' textarea='12,0,12,0' />
						<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='true' />
						<command class_type='delay' title='Retardo' exp='100' type='1' />
						<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='FALSE' />
					</flowline>
				</macro>
				<macro >
					<flowline name='INT_TMR0' description='INTERRUPCION POR TIMER 0' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decisión' exp='(CNT_ENVIO_CONSULTA &gt; 10) AND (ENVIAR_CONSULTA = 0)' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' >
									<exp exp='CNT_ENVIO_CONSULTA = 0' />
									<exp exp='ENVIAR_CONSULTA = TRUE' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Cálculo' >
									<exp exp='CNT_ENVIO_CONSULTA = CNT_ENVIO_CONSULTA + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decisión' exp='(CNT_ENVIO_BLUETOOTH &gt; 350) AND (ENVIAR_BLUETOOTH = 0)' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' >
									<exp exp='CNT_ENVIO_BLUETOOTH = 0' />
									<exp exp='ENVIAR_BLUETOOTH = TRUE' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Cálculo' >
									<exp exp='CNT_ENVIO_BLUETOOTH = CNT_ENVIO_BLUETOOTH + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='ENTRADAS' textarea='12,0,12,0' />
						<command class_type='input' title='Entrada' disable='1' mode='1' port='1048577' mask='8' exp='EVENTO_1' />
						<command class_type='input' title='Entrada' disable='1' mode='1' port='1048577' mask='16' exp='EVENTO_2' />
						<command class_type='input' title='Entrada' disable='1' mode='1' port='1048578' mask='32' exp='P1' />
						<command class_type='input' title='Entrada' disable='1' mode='1' port='1048578' mask='16' exp='P2' />
						<command class_type='comment' title='' comment='SALIDAS' textarea='12,0,12,0' />
						<command class_type='output' title='Salida' disable='1' mode='1' port='1048578' mask='4' exp='LED1' />
						<command class_type='output' title='Salida' disable='1' mode='1' port='1048578' mask='8' exp='LED2' />
						<command class_type='output' title='Salida' disable='1' mode='1' port='1048577' mask='32' exp='RELE1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='INT_UART0' description='INTERRUPCION POR PUERTO UART0' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='para depuracion' textarea='12,0,12,0' />
						<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='true' />
						<command class_type='delay' title='Retardo' exp='100' type='1' />
						<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='FALSE' />
					</flowline>
				</macro>
				<macro >
					<flowline name='ENVIAR_BLUETOOTH' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='true' />
						<command class_type='call' title='Llamar a Macro de Componente' component='ModbusMaster1' macro='ReadHoldingRegister' >
							<return exp='MODBUS_RESPONSE' />
							<argument exp='1' />
							<argument exp='0X0001' />
							<argument exp='1' />
						</command>
						<command class_type='switch' title='Interruptor' textarea='36,25,36,25' exp='MODBUS_RESPONSE' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='loop' title='Bucle' type='2' exp='2' >
										<flowline >
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='FALSE' />
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='true' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='loop' title='Bucle' type='2' exp='5' >
										<flowline >
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='FALSE' />
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='true' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='255' >
								<flowline >
									<command class_type='loop' title='Bucle' type='2' exp='10' >
										<flowline >
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='FALSE' />
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='true' />
										</flowline>
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='FALSE' />
					</flowline>
				</macro>
				<macro >
					<flowline name='ENVIAR_CONSULTA' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Retardo' 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='calculation' title='Cálculo' >
							<exp exp='MCP_RESET = TRUE' />
						</command>
						<command class_type='call' title='Llamar a Macro de Componente' component='RS232_ANALIZADOR' macro='Initialise' />
						<command class_type='interrupt' title='Interrupción' enable='1' name='TMR0' call='INT_TMR0' >
							<settings timer='1' prescale='256' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='1' />
								<option value='8' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='call' title='Llamar a Macro de Componente' component='Bluetooth1' macro='Initialise' />
						<command class_type='call' title='Llamar a Macro de Componente' component='ModbusMaster1' macro='Initialise' />
						<command class_type='interrupt' title='Interrupción' enable='1' name='RXINT0' call='INT_UART0' >
							<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='interrupt' title='Interrupción' enable='1' name='RXINT1' call='INT_UART1' >
							<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='loop' title='Bucle' type='0' exp='1' >
							<flowline >
								<command class_type='decision' title='Decisión' exp='ENVIAR_CONSULTA = TRUE' swap='0' >
									<flowline >
										<command class_type='output' title='Salida' mode='1' port='1048578' mask='4' exp='TRUE' />
										<command class_type='call' title='Llamar Macro' macro='ENVIAR_CONSULTA' />
										<command class_type='calculation' title='Cálculo' >
											<exp exp='ENVIAR_CONSULTA = FALSE' />
										</command>
										<command class_type='output' title='Salida' mode='1' port='1048578' mask='4' exp='false' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decisión' exp='ENVIAR_BLUETOOTH = true' swap='0' >
									<flowline >
										<command class_type='call' title='Llamar Macro' macro='ENVIAR_MODBUS' />
										<command class_type='comment' title='' comment='cambiar nombre para depuracion' textarea='12,0,12,0' />
										<command class_type='calculation' title='Cálculo' >
											<exp exp='ENVIAR_BLUETOOTH = false' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Retardo' exp='10' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ENVIAR_MODBUS' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='para depuracion' textarea='12,0,12,0' />
						<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='true' />
						<command class_type='calculation' title='Cálculo' >
							<exp exp='ARRAY[0] = 65535' />
							<exp exp='ARRAY[1] = 65535' />
							<exp exp='ARRAY[2] = 65535' />
							<exp exp='ARRAY[3] = 65535' />
						</command>
						<command class_type='call' title='Llamar a Macro de Componente' component='ModbusMaster1' macro='PresetMultipleRegisters' >
							<return exp='MODBUS_RESPONSE' />
							<argument exp='0x01' />
							<argument exp='0x0001' />
							<argument exp='4' />
							<argument exp='ARRAY' />
						</command>
						<command class_type='call' title='Llamar a Macro de Componente' disable='1' component='ModbusMaster1' macro='PresetSingleRegister' >
							<return exp='MODBUS_RESPONSE' />
							<argument exp='0x01' />
							<argument exp='0x0001' />
							<argument exp='ARRAY[0]' />
						</command>
						<command class_type='switch' title='Interruptor' textarea='36,25,36,25' exp='MODBUS_RESPONSE' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='loop' title='Bucle' type='2' exp='2' >
										<flowline >
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='FALSE' />
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='true' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='loop' title='Bucle' type='2' exp='5' >
										<flowline >
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='FALSE' />
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='true' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='255' >
								<flowline >
									<command class_type='loop' title='Bucle' type='2' exp='10' >
										<flowline >
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='FALSE' />
											<command class_type='delay' title='Retardo' exp='250' type='1' />
											<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='true' />
										</flowline>
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='comment' title='' comment='para depuracion' textarea='12,0,12,0' />
						<command class_type='output' title='Salida' mode='1' port='1048578' mask='8' exp='FALSE' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='3' vmaj='1' codename='RS232_ANALIZADOR' x='0' y='50' z='0.755' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='001' />
					<value target='BAUD_LIST' data='009' />
					<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='$PORTC.6' />
					<value target='RX' data='$PORTC.7' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='' />
					<value target='label' data='RS232' />
					<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 class_type='text' codename='label1' x='0' y='70' z='0' xsz='8' ysz='8' 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='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='COMUNICACION_ANALIZADOR' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='PULSADOR_1' x='-30' y='-15' z='-6.175' 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='$PORTC.5' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label2' x='-30' y='0' z='0' xsz='8' ysz='8' 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='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='P1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip1' x='-30' y='15' z='-3.85' xsz='2.5641' ysz='2.5641' 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='$PORTC.2' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='PULSADOR_2' x='0' y='-15' z='-6.175' 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='$PORTC.4' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label3' x='0' y='0' z='0' xsz='8' ysz='8' 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='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='P2' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip2' x='0' y='15' z='-3.85' xsz='2.5641' ysz='2.5641' 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='$PORTC.3' />
					<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='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip3' x='30' y='15' z='-3.85' xsz='2.5641' ysz='2.5641' 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='49407' />
					<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='text' codename='label4' x='30' y='0' z='0' xsz='8' ysz='8' 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='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='RELE' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip4' x='70' y='10' z='-3.85' xsz='2.5641' ysz='2.5641' 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.3' />
					<value target='polarity' data='001' />
					<value target='on_color' data='65535' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip5' x='70' y='-10' z='-3.85' xsz='2.5641' ysz='2.5641' 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.4' />
					<value target='polarity' data='001' />
					<value target='on_color' data='65535' />
					<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='text' codename='label5' x='70' y='25' z='0' xsz='8' ysz='8' 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='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='EVENTO 1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label6' x='70' y='-25' z='0' xsz='8' ysz='8' 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='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='EVENTO 2' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='cff93310-545b-4948-a8fa-12b119c5f7a7' vmin='2' vmaj='1' codename='Bluetooth1' x='0' y='-55' z='0.755' 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='1' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='002' />
					<value target='FLOWEN' data='000' />
					<value target='BAUD_LIST' data='004' />
					<value target='BAUD' data='' />
					<value target='CommandBufferSize' data='32' />
					<value target='ResponseBufferSize' data='14' />
					<value target='SCRIPTS' data='000' />
					<value target='SCRIPT1' data='AT
AT+IPR
AT+CSS
' />
					<value target='SCRIPT2' data='' />
					<value target='SCRIPT3' data='' />
					<value target='SCRIPT4' data='' />
					<value target='TX' data='$PORTB.6' />
					<value target='RX' data='$PORTB.7' />
					<value target='RTS' data='$PORTC.5' />
					<value target='CTS' data='$PORTC.4' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='' />
					<value target='DataSource' data='001' />
					<value target='COMport' data='001' />
					<value target='Injector' data='' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='47f6b39b-ead7-40f5-9931-8a79aa54014a' vmin='2' vmaj='1' codename='ModbusMaster1' x='0' y='-100' z='0.755' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='002' />
					<value target='TX' data='$PORTB.6' />
					<value target='RX' data='$PORTB.7' />
					<value target='BAUD_LIST' data='004' />
					<value target='BAUD' data='9600' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='' />
					<value target='BusType' data='000' />
					<value target='DDRP' data='$PORTB.1' />
					<value target='ReadDDRState' data='000' />
					<value target='FrameType' data='000' />
					<value target='ReceiveBufferSize' data='20' />
					<value target='AddressBytes' data='1' />
					<value target='label' data='Modbus' />
					<value target='DataSource' data='000' />
					<value target='COM_port' data='003' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='12632256' 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' />
	</panel3d>
	<layout >
		<view type='0' name='ENVIAR_MODBUS' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAkwUAAJEDAAA' zoom='75' scrollx='0' scrolly='98' flags='0' />
		<view type='0' name='INT_TMR0' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAkwUAAJEDAAA' zoom='75' scrollx='0' scrolly='212' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAkwUAAJEDAAA' zoom='75' scrollx='0' scrolly='588' flags='0' />
		<view type='0' name='ENVIAR_CONSULTA' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAkwUAAJEDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='INT_UART1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAkwUAAJEDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='INT_UART0' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAkwUAAJEDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ENVIAR_BLUETOOTH' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAkwUAAJEDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
