<root>
<document scada='0' schema='103' license='1,57225504,7DFWQE' title='Módulo de Segurança Blockline - KO11' description='O módulo de segurança monitora paineis de segurança, a porta do cofre e uma bateria, para 
identificar um eventual ataque ao cofre de um ATM.
Identificado o ataque, gera comandos para queimar o dinheiro existente no cofre.
Também disponibiliza um canal de comunicação serial RS485, permitindo questionamentos de 
identificação e de solicitação de status atualizado dos eventos.

20181206 1.2 Confirmando algoritmo de comunicação. Serial 9600 precisa de clock 32MHz.
20181208 2.0 Alterada inicialização da EEPROM + comandos de manutenção.
20190701 2.2 Habilita watchdog e brown-out. Comando para habilitar comandos de fábrica.
20190129 3.0 Bloqueia comando de fábrica após #série + número sequencial nos comandos.
20190217 3.3 Revisão final com sinalização e WDT.
20190518 3.4 Envia resposta aos comandos nos loops de debounce mais lentos.
20190521 3.5 Acrescentada resposta en SKIB1 e SKIB2.
20250430 3.8 Migração do PIC16F18345 para o PIC16F18444.e Flowcode10' fcversion='655618' target='PIC.16F.16F18444' >
	<config data='!0,3f8c!10,3ddc!20,6cb!30,1073!40,3ffe%0,4%4,0%8,1%b,1%d,1%10,0%11,2%15,0%16,3%19,0%1a,1%1b,1%1c,1%1d,1%20,b%25,2%28,6%2b,0%30,3%34,1%37,0%38,0%39,0%3a,0%3b,0%3d,0%40,0' clkspd='32000000' simspd='1' usewdt='1' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='gucEventoGeral' />
		<watch expr='gucLogUltimaEscrita' />
		<watch expr='gucStatusBaterias' />
		<watch expr='gucStatusPaineis' />
		<watch expr='gucStatusPortas' />
		<watch expr='guiLogPointer' />
		<watch expr='GerenciaComunicacao.rxData' />
		<watch expr='gucSerialEstado' />
		<watch expr='guiSerialPointer' />
		<watch expr='guiSerialTempoEspera' />
		<watch expr='RS485_NovoComando.recebido' />
		<watch expr='RS485_RequerEvento.recebido' />
		<watch expr='RS485_RequerEvento.valor' />
		<watch expr='RS485_ComandoByte2.recebido' />
		<watch expr='RS485_ComandoByte3.recebido' />
		<watch expr='RS485_ComandoByte3.valor' />
		<watch expr='VerificaAlarmeFatal.temAlarme' />
		<watch expr='gulSerialTimeoutStart' />
		<watch expr='RS485_TimeoutEnded.ms' />
		<watch expr='RS485_TimeoutEnded.podeEscutar' />
		<watch expr='DEBUGserial.i' />
		<watch expr='DEBUGserial.eeprom' />
		<watch expr='DEBUGserial.max' />
		<watch expr='DEBUGserial.valor' />
		<watch expr='gbDEBUGdone' />
		<watch expr='RS485_AguardaInicioTAG.recebido' />
		<watch expr='RS485_AguardaInicioTAG.ok' />
		<watch expr='gucSerialPointerTAG' />
		<watch expr='guiSerialPointerEEPROM' />
		<watch expr='RS485_ReconheceTAG.recebido' />
		<watch expr='RS485_ReconheceTAG.tagSize' />
		<watch expr='RS485_ReconheceTAG.ok' />
		<watch expr='gucSerialTempoComando' />
		<watch expr='gucSerialTempoEspera' />
	</debug>
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='6' />
			<data name='CalculatedCommsDelay' value='6' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='77e83005-cd96-41b3-9c61-84bf49892568' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' bIs3dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' showmacros='1' iconpath='' />
		<component class_type='root' codename='panel' panelId='-1' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties >
				<property name='Use RX' target='PortaSerial::cal_uart::UseRX' typeid='7' hidden='0' locked='0' info='Selects if the Receive pin is used by the component. 
Yes: The RX pin is active and used to receive data for the UART.
No: The RX pin is disabled and free to be used as general I/O.' />
				<property name='Console Data' target='PortaSerial::cal_uart::ConsoleData' typeid='7' hidden='0' locked='0' info='Selects if the console data is automatically generated or not' />
				<property name='Scope Traces' target='PortaSerial::cal_uart::ScopeTraces' typeid='7' hidden='0' locked='0' info='Selects if the scope traces are automatically added to the data recorder window or not.
    Simulation - draws an approximation of the UART data onto the scope trace.
    ICT - sets up the scope trace for incoming data and adds UART packet decoding at the correct BAUD.' />
				<property name='Injector' target='PortaSerial::cal_uart::Injector' typeid='16' hidden='1' locked='0' info='Selects which injector component to route the communication data via.
Add injector components to the panel before they will be available in this list.
Injector components are available from the Comms component category.' filter='000' />
			</properties>
			<values >
				<value target='PortaSerial::cal_uart::UseRX' data='1' />
				<value target='PortaSerial::cal_uart::ConsoleData' data='1' />
				<value target='PortaSerial::cal_uart::ScopeTraces' data='1' />
				<value target='PortaSerial::cal_uart::Injector' data='000' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='FW_RESP_TAMANHO_VALOR' type='s16' description='O campo de dados possui 3 bytes ocupados apenas.' isconst='1' isHidden='0' isinit='1' usrinit='3' setinit='0x03' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_STATUS_OK_END' type='s16' description='Endereço EEPROM - valida os dados de configuração' isconst='1' isHidden='0' isinit='1' usrinit='63' setinit='0x3F' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_RESP_BATERIAS_END' type='s16' description='Endereço do MAPA DE BITS DAS BATERIAS na resposta de eventos' isconst='1' isHidden='0' isinit='1' usrinit='108' setinit='0x6C' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_REQ_CRC_OK_VALOR' type='s16' description='Indica que o CRC do REGISTRO é valido.' isconst='1' isHidden='0' isinit='1' usrinit='85' setinit='0x55' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialTX_ComandoFabrica' type='u8' description='Identifica a resposta ao comando de fábrica' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_CMD_ID' type='s16' description='Envia os dados de identificação do KO11' isconst='1' isHidden='0' isinit='1' usrinit='73' setinit='&apos;I&apos;' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_MODELO_VALOR' type='s16' description='Versão homologada do KO11.' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='0x01' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='logPointerEEPROM' type='u16' description='Endereço de escrita no Log da EEPROM.' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_PAINEL_3_BITMAP' type='s16' description='Flag de status do painel 3 (0=OK/1=FALHA)' isconst='1' isHidden='0' isinit='1' usrinit='4' setinit='0x04' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_ArrayRequerRegistro' type='T8' description='Preserva os bytes do comando de solicitação de registro' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_BATERIA_BIT0' type='s16' description='Identifica a bateria atual no status das baterias.' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='0x01' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_REQ_CRC_OK_END' type='s16' description='Endereço na EEPROM indicando se CRC de REGISTRO é válido' isconst='1' isHidden='0' isinit='1' usrinit='63' setinit='0x3F' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_FABRICANTE_VALOR' type='s16' description='Código do fabricante = Blockline.' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='0x01' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_EQUIPAMENTO_END' type='s16' description='Endereço do código do equipamento na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='33' setinit='0x21' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LOG_INICIO_END' type='s16' description='Endereço inicial do log na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='136' setinit='0x88' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_EVENTO_BATERIA_FRACA' type='s16' description='Nível baixo da bateria quando bit=1' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='0x01' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SENSOR_AD_ALARM_F_LIMITE' type='s16' description='Valor correspondente de 3V.' isconst='1' isHidden='0' isinit='1' usrinit='162' setinit='0xA2' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_REQ_CMD_BYTE_CRC_HIGH' type='s16' description='Byte do comando de requisição de evento com B+S do CRC.' isconst='1' isHidden='0' isinit='1' usrinit='30' setinit='0x1E' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_ArrayRequerEvento' type='T8' description='Array de bytes copiados de FW_REQ_INICIO_END (EEPROM)' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='35' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_FABRICANTE_END' type='s16' description='Endereço do código do fabricante na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='32' setinit='0x20' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SENSOR_AD_ALARM_S_LIMITE' type='s16' description='Valor do sensor AD do ALAM_S que define a transição de estado.' isconst='1' isHidden='0' isinit='1' usrinit='161' setinit='0xA1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='logUltimaEscrita' type='u8' description='Salva o último status salvo no LOG (se 0, nunca escreveu)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='eventoStatusPaineis' type='u8' description='Status dos paineis (bit=1=falha)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_PAINEL_2_BITMAP' type='s16' description='Flag de status do painel 2 (0=OK/1=FALHA)' isconst='1' isHidden='0' isinit='1' usrinit='2' setinit='0x02' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LOG_FIM_END' type='s16' description='Endereço da última posião válida do LOG.' isconst='1' isHidden='0' isinit='1' usrinit='255' setinit='0xFF' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS485_ENUM_CMD_REGISTRO' type='s16' description='Reconhece o comando de solicitação de REGISTRO' isconst='1' isHidden='0' isinit='1' usrinit='64' setinit='0x40' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_ArrayComandoTagSize' type='u8' description='Salva o número de bytes utilizados de gszSerialRXcomandoTag[]' isconst='0' isHidden='0' isinit='1' usrinit='5' setinit='5' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ASC_CHAR_NAK' type='s16' description='Código ASCII do caracterer NAK = comando recusado' isconst='1' isHidden='0' isinit='1' usrinit='21' setinit='0x15' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_RESP_INICIO_END' type='s16' description='Endereço inicial do registro de resposta.' isconst='1' isHidden='0' isinit='1' usrinit='96' setinit='0x60' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_ArrayComandoFabricaSize' type='u8' description='Tamanho máximo da array de comando de fábrica' isconst='0' isHidden='0' isinit='1' usrinit='20' setinit='20' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_PAINEL_1_BITMAP' type='s16' description='Flag de status do painel 1 (0=OK/1=FALHA)' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='0x01' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_FlagComandoFabrica' type='b1' description='Sinaliza quando recebeu um comando de fábrica' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialTX_FlagEnviarEventos' type='b1' description='Sinaliza que deve responder à requisição de Eventos do Dispositivo' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='eepromFlagComNumeroSerie' type='b1' description='Indica se o número de série já foi programado na EEPROM' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ASC_CHAR_ACK' type='s16' description='Código ASCII do caracterer ACK = aceitou comando' isconst='1' isHidden='0' isinit='1' usrinit='6' setinit='0x06' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TIMEOUT_FACTORY_COMMANDS' type='s16' description='Desabilita os comandos de fábrica após 5 minutos' isconst='1' isHidden='0' isinit='1' usrinit='144' setinit='144' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_ArrayRequerRegistroSize' type='u8' description='Salva o número de bytes utilizados de gszSerialRXrequerRegistro[]' isconst='0' isHidden='0' isinit='1' usrinit='3' setinit='3' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_PAINEL_6_BITMAP' type='s16' description='Flag de status do painel 6 (0=OK/1=FALHA)' isconst='1' isHidden='0' isinit='1' usrinit='32' setinit='0x20' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_RequerEventoCRC' type='u16' description='Salva o CRC do comando de requisição de Evento com sequencial' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_MODELO_END' type='s16' description='Endereço da versão homologada do KO11 na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='34' setinit='0x22' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_REQ_INICIO_END' type='s16' description='Início do registro de requisoção na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='64' setinit='0x40' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_EVENTO_FALHA_FATAL' type='s16' description='Falha fatal quando bit=1.' isconst='1' isHidden='0' isinit='1' usrinit='4' setinit='0x04' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_Indice' type='u8' description='Índice para leitura de arrays com detalhes do comando' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS485_ENUM_CMD_QUAL' type='s16' description='Deve identificar se requerendo registro ou evento' isconst='1' isHidden='0' isinit='1' usrinit='48' setinit='0x30' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_RESP_PORTAS_END' type='s16' description='Endereço do MAPA DE BITS DAS PORTAS na resposta de eventos' isconst='1' isHidden='0' isinit='1' usrinit='109' setinit='0x6D' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TIMEOUT_BEEP_PORTA_ABERTA' type='s16' description='O beep de porta aberta a cada 5 segundos (153*32,77ms)' isconst='1' isHidden='0' isinit='1' usrinit='153' setinit='153' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DEBUGid' type='u8' description='Caracter de identificação da mensagem de debug' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_ArrayRequerEventoSize' type='u8' description='Salva o número de bytes utilizados de gszSerialRXrequerEvento[]' isconst='0' isHidden='0' isinit='1' usrinit='32' setinit='32' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_NSERIE_END' type='s16' description='Endereço do BYTE3 (B+S) do número de série na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='37' setinit='0x25' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_PAINEL_5_BITMAP' type='s16' description='Flag de status do painel 5 (0=OK/1=FALHA)' isconst='1' isHidden='0' isinit='1' usrinit='16' setinit='0x10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='timeoutSerialRX' type='u8' description='Enquanto &gt;0, não passou mais que 300ms sem dados em RX' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='timeoutBeepPortaAberta' type='u8' description='Faz o debounce do sensor de porta do cofre aberta' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_STATUS_END' type='s16' description='Início da área de constantes de firmware.' isconst='1' isHidden='0' isinit='1' usrinit='48' setinit='0x30' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_EVENTO_WDT' type='s16' description='Ocorreu um reset pelo watchdog timer quando =1.' isconst='1' isHidden='0' isinit='1' usrinit='64' setinit='0x40' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_PORTA_BIT0' type='s16' description='Identifica a porta atual no status das portas.' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='0x01' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LOG_ULTIMO_VALOR_PORTAS_END' type='s16' description='Endereço do último mapa das portas.' isconst='1' isHidden='0' isinit='1' usrinit='130' setinit='0x82' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_CMD_NAK' type='s16' description='Trasmite o caracter NAK' isconst='1' isHidden='0' isinit='1' usrinit='21' setinit='0x15' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_REQ_CMD_BYTE_SEQUENCIAL' type='s16' description='Byte do comando de requisição de evento com o valor sequencial' isconst='1' isHidden='0' isinit='1' usrinit='10' setinit='0x0A' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_EQUIPAMENTO_VALOR' type='s16' description='Código do equipamento = KO11.' isconst='1' isHidden='0' isinit='1' usrinit='3' setinit='0x03' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_EVENTO_ALARME_PAINEIS' type='s16' description='Quando algum painel sinaliza alarme.  Ativo quando bit=1.' isconst='1' isHidden='0' isinit='1' usrinit='8' setinit='0x08' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DEBOUNCE_ALARMES_DELAY' type='s16' description='Intervalo (milisegundos) da lógica de debounce.' isconst='1' isHidden='0' isinit='1' usrinit='200' setinit='200' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_EstadoAtual' type='u8' description='Controle da lógica de estado da comunicação serial.' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_VERSAO_VALOR' type='s16' description='Versão do equipamento. (16-bit)' isconst='1' isHidden='0' isinit='1' usrinit='256' setinit='0x0100' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_CMD_DUMP' type='s16' description='Envia um DUMP do conteúdo da EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='68' setinit='&apos;D&apos;' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SENSOR_AD_PAINEIS_LIMITE' type='s16' description='Valor do sensor AD dos PAINEIS que define a transição de estado.' isconst='1' isHidden='0' isinit='1' usrinit='27' setinit='0x1B' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_CMD_ACK' type='s16' description='Transmite o caracter ACK' isconst='1' isHidden='0' isinit='1' usrinit='6' setinit='0x06' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='resetByWatchdogTimer' type='b1' description='Informa se o reset ocorreu devido ao Watchdog Timer' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SENSOR_AD_BATERIA_LIMITE' type='s16' description='Valor correspondente a 11,5V' isconst='1' isHidden='0' isinit='1' usrinit='182' setinit='0xB6' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LOG_ULTIMO_VALOR_EVENTOS_END' type='s16' description='Endereço do último mapa de eventos.' isconst='1' isHidden='0' isinit='1' usrinit='128' setinit='0x80' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_REQ_CRC_LOW_END' type='s16' description='Endereço com B-S do CRC da resposta de REGISTRO' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0X5F' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DEBUGextra' type='u8' description='Caracter extra de informação sobre o problema do debug' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='timoutDivideTemporizacao' type='u8' description='Divisor da base de temporização de 8,19ms.' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='eventoStatusBaterias' type='u8' description='Status das baterias (bit=1=baixa)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='eepromFlagCRCregistroOK' type='b1' description='Sinaliza que o CRC dos dados de REGISTRO é válido' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LOG_ULTIMO_VALOR_PAINEIS_END' type='s16' description='Endereço do último mapa dos painéis.' isconst='1' isHidden='0' isinit='1' usrinit='131' setinit='0x83' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DELAY_QUEIMANDO_DINHEIRO' type='s16' description='Garante tempo mínimo (segundos) para queima do dinheiro.' isconst='1' isHidden='0' isinit='1' usrinit='10' setinit='10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS485_DELAY_TX_PRE' type='s16' description='Tempo de espera (ms) antes de transmitir' isconst='1' isHidden='0' isinit='1' usrinit='50' setinit='50' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_PAINEL_4_BITMAP' type='s16' description='Flag de status do painel 4 (0=OK/1=FALHA)' isconst='1' isHidden='0' isinit='1' usrinit='8' setinit='0x08' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_RESP_TAMANHO_END' type='s16' description='Endereço de TAMANHO no registro de resposta na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='107' setinit='0x6B' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_RESP_PAINEIS_END' type='s16' description='Endereço do MAPA DE BITS DOS PAINEIS na resposta de eventos' isconst='1' isHidden='0' isinit='1' usrinit='110' setinit='0x6E' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS485_ENUM_CMD_VALIDA_TAG' type='s16' description='Valida os bytes da TAG para reconhecer um possível comando' isconst='1' isHidden='0' isinit='1' usrinit='32' setinit='0x20' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS485_ENUM_CMD_EVENTO' type='s16' description='Reconhece o comando de solicitação de EVENTO' isconst='1' isHidden='0' isinit='1' usrinit='80' setinit='0x50' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TIMEOUT_RS485_RX_SILENCIO' type='s16' description='Temporiza o silêncio na serial de 300ms (37*8,19ms)' isconst='1' isHidden='0' isinit='1' usrinit='37' setinit='37' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_ArrayComandoTag' type='T8' description='Tag de identificação dos comando da porta serial RS485' isconst='0' isHidden='0' isinit='1' usrinit='&quot;HOST:&quot;' setinit='&quot;HOST:&quot;' >
						<array size='8' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_RESERVADO_END' type='s16' description='Faixa de endereço reservado para uso futuro (6 bytes).' isconst='1' isHidden='0' isinit='1' usrinit='41' setinit='0x29' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_EVENTO_FALHA_PAINEL' type='s16' description='Painel com problema quando bit=1.' isconst='1' isHidden='0' isinit='1' usrinit='2' setinit='0x02' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DEBOUNCE_ALARMES_QUANTO' type='s16' description='Número de leituras para debounce de um alarme' isconst='1' isHidden='0' isinit='1' usrinit='5' setinit='5' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_CMD_NENHUM' type='s16' description='Nenhum comando de fábrica reconhecido' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_RequerEventoSequencial' type='u8' description='Salva o byte sequencial do ccomando de requisição de Evento' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DEBOUNCE_PORTA_QUANTO' type='s16' description='Número de amostragens para o debounce do sensor de porta.' isconst='1' isHidden='0' isinit='1' usrinit='3' setinit='3' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS485_ENUM_CMD_AGUARDANDO' type='s16' description='Aguardando o inicio de um novo comando' isconst='1' isHidden='0' isinit='1' usrinit='16' setinit='0x10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='eventoMapaGeral' type='u8' description='Mapa de eventos gerais da aplicação.' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='eventoStatusPortas' type='u8' description='Status das portas (bit=1=aberta)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_REQ_CMD_BYTE_CRC_LOW' type='s16' description='Byte do comando de requisição de evento com B-S do CRC.' isconst='1' isHidden='0' isinit='1' usrinit='31' setinit='0x1F' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LOG_ULTIMO_VALOR_BATERIAS_END' type='s16' description='Endereço do último mapa das baterias.' isconst='1' isHidden='0' isinit='1' usrinit='129' setinit='0x81' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_RESP_DADOS_RESTO_END' type='s16' description='Endereço inicial da área de dados não utilizada' isconst='1' isHidden='0' isinit='1' usrinit='111' setinit='0x6F' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialTX_FlagEnviarRegistro' type='b1' description='Sinaliza que deve responder à requisição de Registro do Dispositivo' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_RESP_EVENTO_SEQUENCIAL_END' type='s16' description='Endereço do SEQUENCIAL no registro de resposta na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='106' setinit='0x6A' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DEBOUNCE_PORTA_DELAY' type='s16' description='Intervalo de amostragem (ms) para o debounce do sensor de porta.' isconst='1' isHidden='0' isinit='1' usrinit='20' setinit='20' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='eepromCodigoEquipamento' type='u8' description='Salva o código do equipamento lido da EEPROM' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS485_ENUM_CMD_FABRICA' type='s16' description='Monta o comando de fábrica para posterior análise.' isconst='1' isHidden='0' isinit='1' usrinit='240' setinit='0xF0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='serialRX_ArrayComandoFabrica' type='T8' description='Salva os dados do comando de fábrica recebido pela RS485' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_STATUS_OK_VALOR' type='s16' description='Valida os parâmetros de configuração de fábrica' isconst='1' isHidden='0' isinit='1' usrinit='85' setinit='0x55' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_VERSAO_END' type='s16' description='Endereço do B+S da versão do equipamento na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='35' setinit='0x23' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_REQ_ZEROS_END' type='s16' description='Posição de Evento no registro de requisição.' isconst='1' isHidden='0' isinit='1' usrinit='73' setinit='0x49' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_RESP_EVENTO_END' type='s16' description='Endereço do EVENTO no registro de resposta na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='105' setinit='0x69' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS485_DELAY_TX_POS' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='100' setinit='100' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FW_REQ_CRC_HIGH_END' type='s16' description='Endereço com B+S do CRC da resposta de REGISTRO' isconst='1' isHidden='0' isinit='1' usrinit='94' setinit='0x5E' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FAB_CMD_LOG' type='s16' description='Envia os dados de LOG salvo na EEPROM.' isconst='1' isHidden='0' isinit='1' usrinit='76' setinit='&apos;L&apos;' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASK_EVENTO_PORTA_ABERTA' type='s16' description='Porta do cofre aberta quando bit=1' isconst='1' isHidden='0' isinit='1' usrinit='16' setinit='0x10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='DoNothing' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='eepromOK' type='b1' description='Preserva a verificação do conteúdo da EEPROM' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='delay' title='Espera para evitar problema de verificação da EEPROM' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='3' type='2' />
						<command class_type='delay' title='Pausa antes de sinalizar sobre a validação da EEPROM' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='500' type='1' />
						<command class_type='delay' title='Silêncio após informar sobre a inicialização' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='1000' type='1' />
						<command class_type='comment' title='' comment='The error stops only when the next block is deleted.
Enabled or disabled, the error is the same.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
						<command class_type='interrupt' title='Ativa a recepção de dados da porta serial 485 por interrupção' ccode='// Name: Ativa a recepção de dados da porta serial 485 por interrupção, Type: Interrupt: Enable RXINT0
st_bit(INTCON,GIE);
st_bit(PIE1, RCIE);
st_bit(INTCON, PEIE);
' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' enable='1' name='RXINT0' call='DoNothing' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='AAAA----------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='AAAA----------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='loop' title='executar um loop' ccode='// Name: executar um loop, Type: Loop: While 1
while (1)
{
' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='0' exp='1' >
							<flowline />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='04bbd3b8-ee11-40eb-91e8-1bbbd6f65b8c' vmin='0' vmaj='1' codename='Buzzer1' panelId='0' x='115.5' y='-116' z='0' xsz='25.18' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTC.6' />
					<value target='Polarity' data='001' />
					<value target='BuzzFreq' data='1200' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dcbf571f-a6fa-402d-bdd4-be00cca4070f' vmin='2' vmaj='1' codename='Internal_EEPROM' panelId='0' x='116.5' y='-269.505' z='1' xsz='25.18' ysz='25.1392' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='EESize' data='256 byte' />
					<value target='EEbitdepth' data='8 bit' />
					<value target='InitialValues' data='&quot;Blockline KO11 3v8 by Conseng&quot;,0x0A,0x0D,0x00,0x01,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0x01,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xCC,0xDD,0x01,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xEE,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00' />
					<value target='InitValsParsed' data='&apos;B&apos;,&apos;l&apos;,&apos;o&apos;,&apos;c&apos;,&apos;k&apos;,&apos;l&apos;,&apos;i&apos;,&apos;n&apos;,&apos;e&apos;,&apos; &apos;,&apos;K&apos;,&apos;O&apos;,&apos;1&apos;,&apos;1&apos;,&apos; &apos;,&apos;3&apos;,&apos;v&apos;,&apos;8&apos;,&apos; &apos;,&apos;b&apos;,&apos;y&apos;,&apos; &apos;,&apos;C&apos;,&apos;o&apos;,&apos;n&apos;,&apos;s&apos;,&apos;e&apos;,&apos;n&apos;,&apos;g&apos;,0x0A,0x0D,0x00,0x01,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0x01,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xCC,0xDD,0x01,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xEE,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00' />
					<value target='ResetValues' data='0' />
					<value target='BitDepth' data='8' />
					<value target='Sim' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='lamp_PORTA' panelId='0' x='254.5' y='-87.5' z='2' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='001' />
					<value target='Pin' data='$PORTA.3' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='lamp_PORTA' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='65535' />
					<value target='OffColour' data='21845' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  0' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='led_LOW_BAT' panelId='0' x='254' y='-157.5' z='3' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='000' />
					<value target='Pin' data='$PORTA.4' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='led_LOW_BAT' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='255' />
					<value target='OffColour' data='85' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  0' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='led_QUEIMA_1' panelId='0' x='254' y='-227.5' z='4' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='000' />
					<value target='Pin' data='$PORTB.7' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='led_QUEIMA_1' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='16711935' />
					<value target='OffColour' data='5570645' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  0' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='led_QUEIMA_2' panelId='0' x='254' y='-297.5' z='5' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='000' />
					<value target='Pin' data='$PORTC.7' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='led_QUEIMA_2' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='255' />
					<value target='OffColour' data='85' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  0' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='led_RELE_OK' panelId='0' x='254' y='-377.5' z='6' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='001' />
					<value target='Pin' data='$PORTA.5' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='led_RELE_OK' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='16760832' />
					<value target='OffColour' data='5586944' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  0' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='PortaSerial' panelId='0' x='116.495' y='-425' z='7' xsz='25.1778' ysz='25.1392' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='004' />
					<value target='cal_uart::BAUD' data='9600' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTA.1' />
					<value target='cal_uart::OutputPins' data='015' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTA.0' />
					<value target='cal_uart::InputPins' data='000' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='RS485' />
					<value target='cal_uart::ScopeTraces' data='1' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
					<value target='cal_uart::APIUseDDR' data='' />
					<value target='cal_uart::APIDDRPin' data='' />
					<value target='cal_uart::APIDDRRXState' data='' />
					<value target='cal_uart::APIUseFC' data='' />
					<value target='cal_uart::APICTSPin' data='' />
					<value target='cal_uart::APIRTSPin' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='11ca2f38-de81-4812-9338-4b5a7a89a658' vmin='0' vmaj='1' codename='pot_ALARM_F' panelId='0' x='397' y='-146.5' z='8' xsz='25' ysz='25.036' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='13' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='000' />
					<value target='adc_base1::convspd' data='003' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='12' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='12' />
					<value target='SetValue' data='0.834257' />
					<value target='RetainValue' data='1' />
					<value target='ModifiedConnection' data='An 13' />
					<value target='ComponentLabel' data='000' />
					<value target='LabelColour' data='255' />
					<value target='GdiText2::sText' data='pot_ALARM_F' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='Style' data='0' />
					<value target='Gauge1::brFill' data='288230376147764163' />
					<value target='Gauge1::colFrameOutline' data='9868950' />
					<value target='Gauge1::brFrameFill' data='261490253360251843' />
					<value target='Gauge1::colPointerOutline' data='9868950' />
					<value target='Gauge1::brPointerFill' data='261490253360251843' />
					<value target='Gauge1::colText' data='255' />
					<value target='Gauge1::colTickMarkOutline' data='255' />
					<value target='Gauge1::brTickMarkFill' data='12829635' />
					<value target='Gauge1::colCapOutline' data='12829635' />
					<value target='Gauge1::brCapFill' data='261490253360251843' />
					<value target='Gauge1::sMainImage' data='' />
					<value target='Gauge1::sCapImage' data='' />
					<value target='GdiGauge1::nPointerKnob' data='  2' />
					<value target='GdiSwitch1::nType' data='  5' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='StoredColourStyle' data='0' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='11ca2f38-de81-4812-9338-4b5a7a89a658' vmin='0' vmaj='1' codename='pot_ALARM_S' panelId='0' x='407' y='-326.5' z='9' xsz='25' ysz='25.036' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='12' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='000' />
					<value target='adc_base1::convspd' data='003' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='12' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='12' />
					<value target='SetValue' data='0.834257' />
					<value target='RetainValue' data='1' />
					<value target='ModifiedConnection' data='An 12' />
					<value target='ComponentLabel' data='000' />
					<value target='LabelColour' data='16711680' />
					<value target='GdiText2::sText' data='pot_ALARM_S' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='Style' data='0' />
					<value target='Gauge1::brFill' data='288230376147764163' />
					<value target='Gauge1::colFrameOutline' data='9868950' />
					<value target='Gauge1::brFrameFill' data='261490253360251843' />
					<value target='Gauge1::colPointerOutline' data='9868950' />
					<value target='Gauge1::brPointerFill' data='261490253360251843' />
					<value target='Gauge1::colText' data='16711680' />
					<value target='Gauge1::colTickMarkOutline' data='16711680' />
					<value target='Gauge1::brTickMarkFill' data='12829635' />
					<value target='Gauge1::colCapOutline' data='12829635' />
					<value target='Gauge1::brCapFill' data='261490253360251843' />
					<value target='Gauge1::sMainImage' data='' />
					<value target='Gauge1::sCapImage' data='' />
					<value target='GdiGauge1::nPointerKnob' data='  2' />
					<value target='GdiSwitch1::nType' data='  5' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='StoredColourStyle' data='0' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='11ca2f38-de81-4812-9338-4b5a7a89a658' vmin='0' vmaj='1' codename='pot_BATTERY' panelId='0' x='407' y='-506.5' z='10' xsz='25' ysz='25.036' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='14' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='000' />
					<value target='adc_base1::convspd' data='003' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='12' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='12' />
					<value target='SetValue' data='0.834257' />
					<value target='RetainValue' data='1' />
					<value target='ModifiedConnection' data='An 14' />
					<value target='ComponentLabel' data='000' />
					<value target='LabelColour' data='49152' />
					<value target='GdiText2::sText' data='pot_BATTERY' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='Style' data='0' />
					<value target='Gauge1::brFill' data='288230376147764163' />
					<value target='Gauge1::colFrameOutline' data='9868950' />
					<value target='Gauge1::brFrameFill' data='261490253360251843' />
					<value target='Gauge1::colPointerOutline' data='9868950' />
					<value target='Gauge1::brPointerFill' data='261490253360251843' />
					<value target='Gauge1::colText' data='49152' />
					<value target='Gauge1::colTickMarkOutline' data='49152' />
					<value target='Gauge1::brTickMarkFill' data='12829635' />
					<value target='Gauge1::colCapOutline' data='12829635' />
					<value target='Gauge1::brCapFill' data='261490253360251843' />
					<value target='Gauge1::sMainImage' data='' />
					<value target='Gauge1::sCapImage' data='' />
					<value target='GdiGauge1::nPointerKnob' data='  2' />
					<value target='GdiSwitch1::nType' data='  5' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='StoredColourStyle' data='0' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1df1ea9a-6983-4014-aba5-f5144ea4e053' vmin='0' vmaj='19' codename='sensor_PORTA' panelId='0' x='120' y='-546.816' z='11' xsz='32.967' ysz='35.551' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='AppDevDetected' data='0' />
					<value target='SimulationOnly' data='0' />
					<value target='Pin' data='$PORTA.3' />
					<value target='Polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='Latching' data='1' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='sensor_PORTA' />
					<value target='ComponentLabelPosition' data='000' />
					<value target='ComponentLabelXPostion' data='0' />
					<value target='ComponentLabelYPostion' data='0.800000' />
					<value target='LabelColour' data='16727552' />
					<value target='ShowConnectionLabel' data='0' />
					<value target='ShowPinValue' data='0' />
					<value target='PinLabelPosition' data='001' />
					<value target='PinLabelXPostion' data='0' />
					<value target='PinLabelYPostion' data='-1.000000' />
					<value target='Style' data='000' />
					<value target='GdiSwitch1::nType' data='  2' />
					<value target='GdiSwitch1::sLabelOn' data='On' />
					<value target='GdiSwitch1::sLabelOff' data='Off' />
					<value target='FontType' data='Calibri' />
					<value target='GdiSwitch1::dScale' data='0.65' />
					<value target='GdiText2::dScale' data='0.65' />
					<value target='GdiText1::dScale' data='0.65' />
					<value target='GdiSwitch1::brOutline' data='71776119061217280' />
					<value target='GdiSwitch1::brOuterFillOn' data='251262225375821824' />
					<value target='GdiSwitch1::brFill' data='251262225375821824' />
					<value target='GdiSwitch1::brOutlineThumb' data='71917408452870144' />
					<value target='GdiSwitch1::brFillThumb' data='288090190566653952' />
					<value target='GdiSwitch1::brFillOn' data='648292728253186048' />
					<value target='GdiSwitch1::brLabelOn' data='0' />
					<value target='GdiSwitch1::brFillOff' data='648237171995574272' />
					<value target='GdiSwitch1::brLabelOff' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3d8f329f-3bf9-4c90-8797-05100f6419f8' vmin='0' vmaj='1' codename='pot_Painel_1' panelId='0' x='565.5' y='-240' z='12' xsz='25.2309' ysz='24.9449' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='16' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='000' />
					<value target='adc_base1::convspd' data='003' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='12' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='12' />
					<value target='SetValue' data='5.000050' />
					<value target='RetainValue' data='1' />
					<value target='ModifiedConnection' data='An 16' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='pot_Painel_1' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='LabelColour' data='16711698' />
					<value target='GdiGauge1::nStyle' data='  1' />
					<value target='GdiGauge1::nPointerLinear' data='  0' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='GdiGauge1::brFill' data='71776119061217280' />
					<value target='GdiGauge1::colFrameOutline' data='16777215' />
					<value target='GdiGauge1::brFrameFill' data='251262225375821824' />
					<value target='GdiGauge1::colPointerOutline' data='16777215' />
					<value target='GdiGauge1::brPointerFill' data='251262225375821824' />
					<value target='GdiGauge1::colText' data='16777215' />
					<value target='GdiGauge1::colTickMarkOutline' data='16777215' />
					<value target='GdiGauge1::brTickMarkFill' data='288090190566653952' />
					<value target='GdiGauge1::colCapOutline' data='16777215' />
					<value target='GdiGauge1::brCapFill' data='288090190566653952' />
					<value target='GdiGauge1::sMainImage' data='' />
					<value target='GdiGauge1::sCapImage' data='' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3d8f329f-3bf9-4c90-8797-05100f6419f8' vmin='0' vmaj='1' codename='pot_Painel_2' panelId='0' x='646' y='-240' z='13' xsz='25.5863' ysz='24.9449' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='17' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='000' />
					<value target='adc_base1::convspd' data='003' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='12' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='12' />
					<value target='SetValue' data='5.000050' />
					<value target='RetainValue' data='1' />
					<value target='ModifiedConnection' data='An 17' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='pot_Painel_2' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='LabelColour' data='16711698' />
					<value target='GdiGauge1::nStyle' data='  1' />
					<value target='GdiGauge1::nPointerLinear' data='  0' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='GdiGauge1::brFill' data='71776119061217280' />
					<value target='GdiGauge1::colFrameOutline' data='16777215' />
					<value target='GdiGauge1::brFrameFill' data='251262225375821824' />
					<value target='GdiGauge1::colPointerOutline' data='16777215' />
					<value target='GdiGauge1::brPointerFill' data='251262225375821824' />
					<value target='GdiGauge1::colText' data='16777215' />
					<value target='GdiGauge1::colTickMarkOutline' data='16777215' />
					<value target='GdiGauge1::brTickMarkFill' data='288090190566653952' />
					<value target='GdiGauge1::colCapOutline' data='16777215' />
					<value target='GdiGauge1::brCapFill' data='288090190566653952' />
					<value target='GdiGauge1::sMainImage' data='' />
					<value target='GdiGauge1::sCapImage' data='' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3d8f329f-3bf9-4c90-8797-05100f6419f8' vmin='0' vmaj='1' codename='pot_Painel_3' panelId='0' x='736' y='-240' z='14' xsz='25.5863' ysz='24.9449' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='18' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='000' />
					<value target='adc_base1::convspd' data='003' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='12' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='12' />
					<value target='SetValue' data='5.000050' />
					<value target='RetainValue' data='1' />
					<value target='ModifiedConnection' data='An 18' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='pot_Painel_3' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='LabelColour' data='16711698' />
					<value target='GdiGauge1::nStyle' data='  1' />
					<value target='GdiGauge1::nPointerLinear' data='  0' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='GdiGauge1::brFill' data='71776119061217280' />
					<value target='GdiGauge1::colFrameOutline' data='16777215' />
					<value target='GdiGauge1::brFrameFill' data='251262225375821824' />
					<value target='GdiGauge1::colPointerOutline' data='16777215' />
					<value target='GdiGauge1::brPointerFill' data='251262225375821824' />
					<value target='GdiGauge1::colText' data='16777215' />
					<value target='GdiGauge1::colTickMarkOutline' data='16777215' />
					<value target='GdiGauge1::brTickMarkFill' data='288090190566653952' />
					<value target='GdiGauge1::colCapOutline' data='16777215' />
					<value target='GdiGauge1::brCapFill' data='288090190566653952' />
					<value target='GdiGauge1::sMainImage' data='' />
					<value target='GdiGauge1::sCapImage' data='' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3d8f329f-3bf9-4c90-8797-05100f6419f8' vmin='0' vmaj='1' codename='pot_Painel_4' panelId='0' x='816' y='-240' z='15' xsz='25.5863' ysz='24.9449' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='19' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='000' />
					<value target='adc_base1::convspd' data='003' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='12' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='12' />
					<value target='SetValue' data='5.000050' />
					<value target='RetainValue' data='1' />
					<value target='ModifiedConnection' data='An 19' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='pot_Painel_4' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='LabelColour' data='16711698' />
					<value target='GdiGauge1::nStyle' data='  1' />
					<value target='GdiGauge1::nPointerLinear' data='  0' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='GdiGauge1::brFill' data='71776119061217280' />
					<value target='GdiGauge1::colFrameOutline' data='16777215' />
					<value target='GdiGauge1::brFrameFill' data='251262225375821824' />
					<value target='GdiGauge1::colPointerOutline' data='16777215' />
					<value target='GdiGauge1::brPointerFill' data='251262225375821824' />
					<value target='GdiGauge1::colText' data='16777215' />
					<value target='GdiGauge1::colTickMarkOutline' data='16777215' />
					<value target='GdiGauge1::brTickMarkFill' data='288090190566653952' />
					<value target='GdiGauge1::colCapOutline' data='16777215' />
					<value target='GdiGauge1::brCapFill' data='288090190566653952' />
					<value target='GdiGauge1::sMainImage' data='' />
					<value target='GdiGauge1::sCapImage' data='' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3d8f329f-3bf9-4c90-8797-05100f6419f8' vmin='0' vmaj='1' codename='pot_Painel_5' panelId='0' x='896' y='-240' z='16' xsz='25.5863' ysz='24.9449' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='20' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='000' />
					<value target='adc_base1::convspd' data='003' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='12' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='12' />
					<value target='SetValue' data='5.000050' />
					<value target='RetainValue' data='1' />
					<value target='ModifiedConnection' data='An 20' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='pot_Painel_5' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='LabelColour' data='16711698' />
					<value target='GdiGauge1::nStyle' data='  1' />
					<value target='GdiGauge1::nPointerLinear' data='  0' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='GdiGauge1::brFill' data='71776119061217280' />
					<value target='GdiGauge1::colFrameOutline' data='16777215' />
					<value target='GdiGauge1::brFrameFill' data='251262225375821824' />
					<value target='GdiGauge1::colPointerOutline' data='16777215' />
					<value target='GdiGauge1::brPointerFill' data='251262225375821824' />
					<value target='GdiGauge1::colText' data='16777215' />
					<value target='GdiGauge1::colTickMarkOutline' data='16777215' />
					<value target='GdiGauge1::brTickMarkFill' data='288090190566653952' />
					<value target='GdiGauge1::colCapOutline' data='16777215' />
					<value target='GdiGauge1::brCapFill' data='288090190566653952' />
					<value target='GdiGauge1::sMainImage' data='' />
					<value target='GdiGauge1::sCapImage' data='' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3d8f329f-3bf9-4c90-8797-05100f6419f8' vmin='0' vmaj='1' codename='pot_Painel_6' panelId='0' x='976' y='-240' z='17' xsz='25.5863' ysz='24.9449' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='21' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='000' />
					<value target='adc_base1::convspd' data='003' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='12' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='12' />
					<value target='SetValue' data='5.000050' />
					<value target='RetainValue' data='1' />
					<value target='ModifiedConnection' data='An 21' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='pot_Painel_6' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='LabelColour' data='16711698' />
					<value target='GdiGauge1::nStyle' data='  1' />
					<value target='GdiGauge1::nPointerLinear' data='  0' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='GdiGauge1::brFill' data='71776119061217280' />
					<value target='GdiGauge1::colFrameOutline' data='16777215' />
					<value target='GdiGauge1::brFrameFill' data='251262225375821824' />
					<value target='GdiGauge1::colPointerOutline' data='16777215' />
					<value target='GdiGauge1::brPointerFill' data='251262225375821824' />
					<value target='GdiGauge1::colText' data='16777215' />
					<value target='GdiGauge1::colTickMarkOutline' data='16777215' />
					<value target='GdiGauge1::brTickMarkFill' data='288090190566653952' />
					<value target='GdiGauge1::colCapOutline' data='16777215' />
					<value target='GdiGauge1::brCapFill' data='288090190566653952' />
					<value target='GdiGauge1::sMainImage' data='' />
					<value target='GdiGauge1::sCapImage' data='' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='PIC' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='2105930' img='' style='0' />
		<camera xe='98.8454' ye='-24.1911' ze='634.691' xt='98.8454' yt='-24.1911' zt='7.02551e-13' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='904' dy='1246' zoom='172.342' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
		<winpos ID='7005' RectRecentFloat='798,562,1448,1012' RectRecentDocked='0,0,904,1279' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='-602.957' ye='-675.586' ze='425.433' xt='-34.9647' yt='-107.594' zt='-142.559' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
		<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' />
		<winpos ID='7004' RectRecentFloat='830,578,1480,1028' RectRecentDocked='0,0,642,845' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='1' >
		<panel2d_0 id='0' name='NewPanel' >
			<winpos ID='1171' RectRecentFloat='771,218,2074,994' RectRecentDocked='1918,220,2560,1499' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119075691740' snaptogrid='1' />
		</panel2d_0>
	</panels2d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAA8ggAAPoEAAA' zoom='180' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DoNothing' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAA8ggAAPoEAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
