<root>
<document scada='0' schema='103' license='1,89200391,PNX4Z3' title='' description='' fcversion='655617' target='PIC16.33E.33EV256GM006' >
	<config data='!0,ffbf!10,ffbf!20,ff7a!30,ff3a!40,fc9f!50,ffff!60,ffef!70,fff!80,ffff!90,ffff!a0,fff!b0,0!c0,ffff!d0,ffff%0,1%1,3%3,1%5,1%6,2%8,1%9,7%f,1%10,1fbf%20,2%27,0%30,2%32,0%35,1%36,0%38,1%40,f%44,1%45,0%47,1%48,0%50,1%60,3%70,fff%80,ffff%90,ffff%a0,fff%b0,0%c0,1%c3,1%d0,7%d4,7' clkspd='40000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='1' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='5' />
			<data name='CalculatedCommsDelay' value='5' />
			<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='' 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='0' 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='PWM Pin' target='PWM1::pwm_pin' typeid='5' hidden='0' locked='1' info='Specifies the pin assigned to the PWM channel selected' />
			</properties>
			<values >
				<value target='PWM1::pwm_pin' data='$PORTG.6' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='sms_habilitar' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_temp2max' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='C2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est3_baixar' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_subir4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='batt4' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp_out' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp14' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp5' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_baixar6' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='texto' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='220' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_onboard_stat' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='clock_modem' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='32' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='reset' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='C1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_result' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_subir3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='batt3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cont_sens_fail_4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp13' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp4' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_comunicacao' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_baixar5' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='man_aut_est6' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tamanho' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='aviso_alarme' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cal_sens_fumo' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cont_led_alarm' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='batt2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_subir2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_baixar4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cont_sens_fail_3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tm3en' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp12' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp3' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_var' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in16' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='man_aut_est5' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='erro1_ds18b20' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='12' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_habilitar' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='11' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_habilitar' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cont_sens_fail_2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='batt1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_subir1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_baixar3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='man_aut_est4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp11' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp2' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in15' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_on' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmjan6' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cont_f_estore_geral' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_falha_luz' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cont_sens_fail_1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='data_humid' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_baixar2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_temp4min' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempo_on_nubliza4' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='man_aut_est3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp10' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp1' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in14' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='per_abert_estores' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmjan5' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMA2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='man_aut_est2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_baixar1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pulso_nublizacao4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempo_on_nubliza3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in13' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmjan4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMA1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='numero_compara' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='histerese_T' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='timeout' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_nubliza1_on' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempo_on_nubliza2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ciclo_switch' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='batt1_int' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='man_aut_est1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est3_subir' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pulso_nublizacao3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='reset_icone_nubliza4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in12' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_est6' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmf2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmjan3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='caldeira2_on_off' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='1' >
					<def class_type='variable' name='adc_caldeira_2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='led_alarmes' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='numero_modulo' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempo_on_nubliza1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pulso_nublizacao2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='prog_T4' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='reset_icone_nubliza3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_T4' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s9' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in11' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_est5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmf1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmjan2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp_caldeira1_ds' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_14' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_caldeira_1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_C2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_c2min' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pulso_nublizacao1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s8' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='reset_icone_nubliza2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est2_baixar' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_est4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='prog_T3' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_T3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in10' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmjan1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_13' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_T2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='char_enter_count' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_alarmes_min' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_C1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='prog_T2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</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='char' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempo_off_nubliza2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s7' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='reset_icone_nubliza1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_est3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_aviario4' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='T4' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_batt4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_12' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_janelas' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s6' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='prog_T1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_de_alarme' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_T1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_reset' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempo_off_nubliza1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='batt2_int' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_est2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_aviario3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='T3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_batt3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_climatiza4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_11' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_send_display' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmv4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cclk' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temporario' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_alarmes_min' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='T2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s5' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_geral' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_aviario2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tamanho_str_humid' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_batt2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_est1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_ordem_saidas' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_climatiza3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_10' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_nubliza4_on' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcd6' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmv3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='comando' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='200' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_num' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='var2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_climatiza2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='T1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s4' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_aviario1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='minuto_str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_batt1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_9' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcd5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcs6' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmv2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='F5' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_climatiza1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='var1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SALDO' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='200' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_8' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_temp2min' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temporario_byte' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='percentual' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_nubliza1_off' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcd4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est6_baixar' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcs5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmv1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='F4' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_csq' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='numero' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='13' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_7' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_modulos_rf' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcd3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcs4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_temp3max' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='batt3_int' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tm4en' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='posi_est6' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temporario_var2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_conduta2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='F3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_6' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='caldeira1_on_off' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tm1en' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcd2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcs3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='posi_est5' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temporario_var1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_conduta1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='str_temp' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='12' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='F2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_5' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ciclo_macros' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcd1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcs2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='posi_est4' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='hum_4' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='intrusao_on_off' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est6_subir' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='jan_fail' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='numero_modulo_jan' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='F1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_sms_in' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='minuto' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_sms' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_falha_ok' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_nubliza2_off' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sino' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est2_subir' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fcs1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='posi_est3' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='hum_3' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='segundo5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='hum_2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_c1max' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='csq_decimal' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='data_batt' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='posi_est2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='batt4_int' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='segundo4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_off' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='hum_1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_sms' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='falha_luz' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cont_f_sen_geral' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='segundo3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='posi_est1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tamanho_de_string' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_jan6' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='data_fcbaix' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='1' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='falha_ds18b20' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FS' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out_1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sensor_fumo' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='segundo2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='segundo' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_senfumo' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_nubliza2_on' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s12' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est5_subir' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_jan5' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='expf' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_qe' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='segundo1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='VIRGULAS_NUM' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est1_baixar' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est1_subir' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s11' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_nubliza3_off' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_h4' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_jan4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pos_mem_telefone' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temporario2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tamanho_str_batt' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='estado_s10' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_timer4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_h3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_jan3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='control_int_temp_c1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='result_ok' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='clock_rede' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pulso' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_temp1max' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_temporizador_c2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_H2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_timer3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='batt_geral' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmar2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_modulos_jan' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMJAN6' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_jan2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='H4' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='nome' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_c2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_temporizador_c1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_H1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_pass_alarmes' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_timer2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_dmar1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMJAN5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='H3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_c1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_fumo' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_timer1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_temp_4' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exponencial4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_nubliza4_off' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temporario_var' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMJAN4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sel2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='H2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_char' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='1' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='percentual_estores' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_temp_3' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exponencial3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='nublizacao4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='minuto5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in9' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est5_baixar' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='data_fcsub' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='1' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMJAN3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sel1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='H1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_temp_2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exponencial2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tm2en' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_temp3min' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_falha_sensor4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='nublizacao3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='minuto4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in8' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='data_estores' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMJAN2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='decimal' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='1' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='data_temp' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='adc_temp_1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_espaco' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exponencial1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='nublizacao2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='minuto3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_temp4max' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_falha_sensor3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temporario_saidas' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in7' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMJAN1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pwmf1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='minuto2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='nublizacao1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_falha_sensor2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in6' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_batt_geral' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMF2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_ds18b20' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='minuto1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_display_adcs' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='timer3_ativo' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_falha_sensor1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in5' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMF1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tempo_f1off' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_c1min' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pulso2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temporario_rem_string' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='6' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_reset' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='texto_dados_rem' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_gravar_numeros' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rs232_result' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='200' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est4_subir' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='incremento' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='erro_serial' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pwmv4' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_c2max' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_sms_reset' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='texto_de_alarme' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='50' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='registo_simcard' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tamanho_str_temp' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='man0aut_ventil4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pwmv3' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='texto_erro' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='habilitar_alarmes_minimos' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_vent_anim4' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp9' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='display_clock' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_intrusao' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='man0aut_ventil3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMV4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pwmv2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='unidade' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_estado_caldeira2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='texto_csq_verbal' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='11' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='est4_baixar' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_vent_anim3' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_nubliza3_on' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp8' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='man0aut_ventil2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMV3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='display_dados_jan' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pwmv1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Serial' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='delay_sms' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_t2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='icon_estado_caldeira1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='prog_C2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='numero_pagina' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_C2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_negativa' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_vent_anim2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp16' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp7' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp_in' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='man0aut_ventil1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_subir6' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMV2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_reset_jan' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_t1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='prog_C1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='alarme_temp1min' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='string_C1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='segundo_str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='contador_alarmes' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_vent_anim1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp15' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='exp6' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='intrusao' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='fc_subir5' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DMV1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='erro0_ds18b20' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='12' />
					</def>
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='control_saidas' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='lista de portas / nome variavel / funcao

A10               out_1           fumos1
B13               out_2           ar quente 1
B12               out_3           ventila   1
B11               out_4           fumos2
B10               out_5           ar quente 2
F1                out_6           ventila   2
F0                out_7           nubliza   1
C9                out_8           nubliza   2 
RD5               out_14          ventil QE
RC8               out_13         resistencia QE' textarea='76,4,76,4' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador_ordem_saidas = contador_ordem_saidas + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_ordem_saidas &gt;= 3' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='byte_send_display = 1' />
								</command>
								<command class_type='calculation' title='reset' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_ordem_saidas = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='byte_send_display = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='led alarmes para já fica em porta de expansao ( a defenir )' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='em teste
16/02/26
' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='falha_luz &gt;= 1' swap='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_1 = 0' />
									<exp exp='out_2 = 0' />
									<exp exp='out_3 = 0' />
									<exp exp='out_4 = 0' />
									<exp exp='out_5 = 0' />
									<exp exp='out_6 = 0' />
									<exp exp='out_7 = 0' />
									<exp exp='out_8 = 0' />
									<exp exp='out_9 = 0' />
									<exp exp='out_10 = 0' />
									<exp exp='out_11 = 0' />
									<exp exp='out_12 = 0' />
									<exp exp='out_13 = 0' />
									<exp exp='out_14 = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='output' title='Output fumos1' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097152' mask='1024' exp='out_1' usechipref='1' />
						<command class_type='output' title='Output ar quente 1' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='8192' exp='out_2' usechipref='1' />
						<command class_type='output' title='Output relay ventila1' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='4096' exp='out_3' usechipref='1' />
						<command class_type='output' title='Output caldeira 2 fumos' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='2048' exp='out_4' usechipref='1' />
						<command class_type='output' title='Output ar quente 2' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='1024' exp='out_5' usechipref='1' />
						<command class_type='output' title='Output rele ventila 2' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097157' mask='2' exp='out_6' usechipref='1' />
						<command class_type='output' title='Output nubliza1' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097157' mask='1' exp='out_7' usechipref='1' />
						<command class_type='output' title='Output nubliza2' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097154' mask='512' exp='out_8' usechipref='1' />
						<command class_type='output' title='resistencia Q.E.' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097155' mask='32' exp='out_14' usechipref='1' />
						<command class_type='output' title='ventila Q.E.' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097154' mask='256' exp='out_13' usechipref='1' />
						<command class_type='comment' title='' comment='portas livres para usar : 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='com as saidas do MCU todas ocupadas apartir de aqui deve ser possivel usar a porta de expansao' textarea='36,7,36,7' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='portas_expansao' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_luz' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='neste projeto as referencias sao todas ao negativo (vss)' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='' textmode='1' textarea='106,177,581,477' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='falha_luz &gt;= 1' swap='1' >
							<flowline >
								<command class_type='decision' title='falha de luz' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_falha_luz = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_falha_luz = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;FALHA DE ENERGIA !&quot;' />
											<exp exp='aviso_alarme = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='texto = texto_de_alarme' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + estado_C1' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + estado_C2' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;C1 &quot;' />
													<exp exp='texto = texto + string_C1' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;C2 &quot;' />
													<exp exp='texto = texto + string_C2' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T1 &quot;' />
													<exp exp='texto = texto + string_T1' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H1 &quot;' />
													<exp exp='texto = texto + string_H1' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T2 &quot;' />
													<exp exp='texto = texto + string_T2' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H2 &quot;' />
													<exp exp='texto = texto + string_H2' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T3 &quot;' />
													<exp exp='texto = texto + string_T3' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H3 &quot;' />
													<exp exp='texto = texto + string_H3' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T4 &quot;' />
													<exp exp='texto = texto + string_T4' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H4 &quot;' />
													<exp exp='texto = texto + string_H4' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + saldo' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + clock_modem' />
												</command>
												<command class_type='comment' title='' comment='chamar lista telefones' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ciclos_macros_toke' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='o loop estava em 200 ciclos' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='loop' title='Loop' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='80' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='ciclos_macros_geral' />
								<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_t3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;t3.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//temporario = ToString$ (adc_temp_1)' />
							<exp exp='comando = &quot;t3.val=&quot; // se no display o mostrador for decimal utilizar esta versao' />
							<exp exp='//comando = &quot;t1.txt=&quot;' />
							<exp exp='//comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temp_aviario3' />
							<exp exp='//comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='registo_sim_rede' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='char = 43 // &quot; + &quot;' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='100' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='10' />
								</command>
								<command class_type='decision' title='char = 43' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 43' swap='0' >
									<flowline >
										<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
						<command class_type='label' title='Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
						<command class_type='loop' title='' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='255' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='chamar control rs232' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='se char = 10  (LF)' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 10' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='char_enter_count = char_enter_count + 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='cha &lt; 32' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 32' swap='1' >
									<flowline >
										<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt; 122' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='string_char[0] = char' />
													<exp exp='rs232_result = rs232_result + string_char' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='10' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char_enter_count = 1' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point A' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='numeros_e_nomes' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='numero = &quot;&quot;' />
							<exp exp='nome = &quot;&quot;' />
							<exp exp='tamanho_str_humid = 0' />
							<exp exp='char = 0' />
							<exp exp='count = 0' />
						</command>
						<command class_type='loop' title='Ciclo ate char = 35 // #' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char = 35 // #' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='tempo time out modificado
estava 20 ms ficou 4 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='4' />
								</command>
								<command class_type='decision' title='char &lt; 32' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 32' swap='1' >
									<flowline >
										<command class_type='decision' title='char &gt;= 127' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt;= 127' swap='0' >
											<flowline />
											<flowline >
												<command class_type='decision' title='count &lt; 9' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='count &lt; 9' swap='1' >
													<flowline >
														<command class_type='decision' title='char = 35 // #' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 35 // #' swap='0' >
															<flowline />
															<flowline >
																<command class_type='calculation' title='nome' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='string_char[0] = char' />
																	<exp exp='nome = nome + string_char' />
																	<exp exp='count = count + 1' />
																</command>
															</flowline>
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='char &lt;=57  (decimal 9)' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt;= 57' swap='1' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='count = count + 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='decision' title='charl &gt;=48  (decimal 0)' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt;= 48' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																			<exp exp='string_char[0] = char' />
																			<exp exp='numero = numero + string_char' />
																			<exp exp='count = count + 1' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																			<exp exp='count = count + 1' />
																		</command>
																	</flowline>
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tamanho_str_humid = Length$ (numero)' />
						</command>
						<command class_type='call' title='Chamar modem gravar' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='modem_gravar' />
					</flowline>
				</macro>
				<macro >
					<flowline name='botoes_menu' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset_ contador' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador = 0' />
							<exp exp='string_num = &quot;&quot;' />
							<exp exp='char = 0' />
						</command>
						<command class_type='loop' title='Ciclo ate char &gt;= 255 OR contador &gt; 5' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char &gt;= 255 OR contador &gt; 5' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='reduçao dos tempos de espera de 30 ms para 3 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='3' />
								</command>
								<command class_type='calculation' title='incremento contador' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador = contador + 1' />
								</command>
								<command class_type='switch' title='Switch contador' textmode='1' textarea='263,185,738,485' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline />
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='switch' title='char//na pagina  MENU corresponde aos botoes' textmode='1' textarea='210,299,685,599' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char //na pagina MENU corresponde aos botoes' >
												<case >
													<flowline />
												</case>
												<case exp='0x0F' >
													<flowline >
														<command class_type='comment' title='' comment='pagina geral' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina = 0' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 0' />
														</command>
													</flowline>
												</case>
												<case exp='0x2' >
													<flowline />
												</case>
												<case exp='0x3' >
													<flowline >
														<command class_type='comment' title='' comment='pagina C1 set' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina = 2' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 2' />
														</command>
													</flowline>
												</case>
												<case exp='0x4' >
													<flowline >
														<command class_type='comment' title='' comment='pagina c2 set' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina = 3' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 3' />
														</command>
													</flowline>
												</case>
												<case exp='0x5' >
													<flowline >
														<command class_type='comment' title='' comment='pagina t1 set' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina = 4' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 4' />
														</command>
													</flowline>
												</case>
												<case exp='0x6' >
													<flowline >
														<command class_type='comment' title='' comment='pagina t2 set' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina = 5' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 5' />
														</command>
													</flowline>
												</case>
												<case exp='0x7' >
													<flowline >
														<command class_type='comment' title='' comment='pagina em construcao
 ou fora de serviço' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina = 6' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 6' />
														</command>
													</flowline>
												</case>
												<case exp='0x8' >
													<flowline >
														<command class_type='comment' title='' comment='pagina ventilaçao set' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina = 7' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 7' />
														</command>
													</flowline>
												</case>
												<case exp='0x9' >
													<flowline >
														<command class_type='comment' title='' comment='pagina alarmes sms set' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina = 8' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 8' />
														</command>
													</flowline>
												</case>
												<case exp='0xa' >
													<flowline >
														<command class_type='comment' title='' comment='pagina sens fumo set' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina = 10' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 10' />
														</command>
													</flowline>
												</case>
											</command>
											<command class_type='switch' title='char //na pagina MENU  corresponde aos botoes' textmode='1' textarea='220,251,695,551' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char //na pagina MENU corresponde aos botoes' >
												<case >
													<flowline />
												</case>
												<case exp='0x10 //NUM TEL.' >
													<flowline >
														<command class_type='comment' title='' comment='pagina tel numeros set' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina =9' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 9' />
														</command>
													</flowline>
												</case>
												<case exp='0xc //NUBLIZACAO' >
													<flowline >
														<command class_type='comment' title='' comment='pagina nublizaçao set' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina =11' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 11' />
														</command>
													</flowline>
												</case>
												<case exp='0xd //RESET ALARMES' >
													<flowline >
														<command class_type='comment' title='' comment='pagina reset alarmes saldo' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='numero_pagina =12' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 12' />
														</command>
													</flowline>
												</case>
												<case exp='0X11 //ESTORES' >
													<flowline >
														<command class_type='calculation' title='numero_pagina =13 ESTORES' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_pagina = 13' />
														</command>
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_t2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='print adc_temp_2' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = &quot;t2.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//temporario = ToString$ (adc_temp_2)' />
							<exp exp='comando = &quot;t2.val=&quot;' />
							<exp exp='//comando = comando + temporario' />
							<exp exp='comando = comando + temp_aviario2' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_setas_estores' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='estores 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est1_subir = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p12.pic=122&quot; // seta para cima acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p12.pic=121&quot; // seta para cima apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est1_baixar = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p13.pic=124&quot; // seta para baixo acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p13.pic=123&quot; // seta para baixo apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='estores 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est2_subir = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p14.pic=122&quot; // seta para cima acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p14.pic=121&quot; // seta para cima apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est2_baixar = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p15.pic=124&quot; // seta para baixo acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p15.pic=123&quot; // seta para baixo apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='estores 3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est3_subir = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p16.pic=122&quot; // seta para cima acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p16.pic=121&quot; // seta para cima apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est3_baixar = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p17.pic=124&quot; // seta para baixo acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p17.pic=123&quot; // seta para baixo apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='estores 4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est4_subir = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p18.pic=122&quot; // seta para cima acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p18.pic=121&quot; // seta para cima apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est4_baixar = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p19.pic=124&quot; // seta para baixo acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p19.pic=123&quot; // seta para baixo apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='estores 5

14/03/24
adiçao de mais 2 estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='acertar os valores de comando de acordo com o display' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est5_subir = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p26.pic=122&quot; // seta para cima acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p26.pic=121&quot; // seta para cima apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est5_baixar = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p27.pic=124&quot; // seta para baixo acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p27.pic=123&quot; // seta para baixo apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='estores 6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est6_subir = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p28.pic=122&quot; // seta para cima acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p28.pic=121&quot; // seta para cima apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est6_baixar = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p29.pic=124&quot; // seta para baixo acesa' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p29.pic=123&quot; // seta para baixo apagada' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_t1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;t1.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//temporario = ToString$ (adc_temp_1)' />
							<exp exp='comando = &quot;t1.val=&quot; // se no display o mostrador for decimal utilizar esta versao' />
							<exp exp='//comando = &quot;t1.txt=&quot;' />
							<exp exp='//comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temp_aviario1' />
							<exp exp='//comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_t2min' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='habilitar_alarmes_minimos = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='habilitar_alarmes_minimos = 1' swap='1' >
							<flowline >
								<command class_type='comment' title='' comment='na condiçao de primeiro arranque 
nao faz alarme de baixas temperaturas se for pedido ao sistema' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
							<flowline >
								<command class_type='decision' title='adc_temp_2 &lt; prog_T2 - histerese_T - 2' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_2 &lt; prog_T2 - histerese_T - 2' swap='0' >
									<flowline >
										<command class_type='decision' title='alarme_temp2min = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_temp2min = 1' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='alarme_temp2min = 1' />
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;TEMP.BAIXA 2# &quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='temporario = Left$ (temp_aviario2,2)' />
													<exp exp='temporario2 = right$ (temp_aviario2,1)' />
													<exp exp='temporario = temporario + &quot;.&quot;' />
													<exp exp='temporario = temporario + temporario2' />
													<exp exp='//temporario = temporario + &quot;°&quot;' />
													<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='alteracao 30/12/16
se a caldeira 1 estiver desligada nao faz alarmes de temperaturas
minimas referente a mesma' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='comment' title='' comment='alteracao 30/12/16
se a caldeira 2 estiver desligada nao faz alarmes de temperaturas
minimas referente a mesma' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='switch_74HC4052' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='sel _ HC4052' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='leitura_modulos' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_MODEM' />
					</flowline>
				</macro>
				<macro >
					<flowline name='estado_caldeiras' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='' textmode='1' textarea='36,143,511,443' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='estado_C1 = &quot;C1 MAN&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='estado_C1 = &quot;C1 OFF&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='estado_C1 = &quot;C1 AUT&quot;' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='' textmode='1' textarea='79,159,554,459' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira2_on_off' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='estado_C2 = &quot;C2 OFF&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='estado_C2 = &quot;C2 ON&quot;' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='modem_ler' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='count = 0' />
							<exp exp='char = 0' />
							<exp exp='nome = &quot;&quot;' />
							<exp exp='numero = &quot;&quot;' />
							<exp exp='timeout = 0' />
							<exp exp='tamanho_str_humid = 0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pos_mem_telefone &gt; 5' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pos_mem_telefone = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='switch' title='' textmode='1' textarea='63,92,538,392' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_gravar_numeros' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='temporario = ToString$(pos_mem_telefone)
' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='temporario = ToString$(pos_mem_telefone)' />
									</command>
									<command class_type='calculation' title='&quot;AT+CPBR=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='comando = &quot;AT+CPBR=&quot;' />
										<exp exp='comando = comando + temporario // temporario substitui pos_mem_telefone' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='comment' title='' comment='pos_mem_telefone = StringToInt$(temporario)' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='pos_mem_telefone = StringToInt$(temporario)' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pos_mem_telefone &gt; 5' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pos_mem_telefone = 1' />
												<exp exp='temporario = &quot;1&quot;' />
											</command>
										</flowline>
										<flowline />
									</command>
									<command class_type='calculation' title='&quot;AT+CPBR=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='comando = &quot;AT+CPBR=&quot;' />
										<exp exp='comando = comando + temporario // temporario substitui pos_mem_telefone' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF ' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='loop' title='Ciclo' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='0' exp='timeout &lt; 8' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='tempo time out modificado
estava 30 ms ficou 5 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='5' />
								</command>
								<command class_type='decision' title='' textmode='1' textarea='66,117,541,417' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 32' swap='1' >
									<flowline >
										<command class_type='decision' title='' textmode='1' textarea='80,100,555,400' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt; 122' swap='0' >
											<flowline >
												<command class_type='calculation' title='incremento timeout' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='timeout = timeout + 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='char = 34 &quot;' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 34' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='count = count + 1' />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='switch' title='' textmode='1' textarea='69,102,544,402' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='count' >
													<case >
														<flowline />
													</case>
													<case exp='1' >
														<flowline >
															<command class_type='decision' title='char = 34  &quot;' textmode='1' textarea='103,124,578,424' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 34' swap='0' >
																<flowline />
																<flowline >
																	<command class_type='calculation' title='extrair numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='string_char[0] = char' />
																		<exp exp='numero = numero + string_char' />
																	</command>
																</flowline>
															</command>
														</flowline>
													</case>
													<case exp='3' >
														<flowline >
															<command class_type='decision' title='char = 34  &quot;' textmode='1' textarea='126,110,601,410' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 34' swap='0' >
																<flowline />
																<flowline >
																	<command class_type='calculation' title='extrair nome' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='string_char[0] = char' />
																		<exp exp='nome = nome + string_char' />
																	</command>
																</flowline>
															</command>
														</flowline>
													</case>
													<case exp='4' >
														<flowline >
															<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
														</flowline>
													</case>
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='incremento timeout' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='timeout = timeout + 1' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='calculation' title='length_str = Length$ (numero)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tamanho_str_humid = Length$ (numero)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='leitura_analogica' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='substituiçao de leitura analogica (LM35DZ) pelo DS18B20' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='ler_ds18b20' />
						<command class_type='comment' title='' comment='atençao ao calculo !!' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='caldeira2' macro='GetInt' >
							<return exp='adc_caldeira_2' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='adc_caldeira_2 = adc_caldeira_2 / 8.5' />
						</command>
						<command class_type='comment' title='' comment='sensor fumo int' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='fumos' macro='GetInt' >
							<return exp='adc_senfumo' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='adc_senfumo = adc_senfumo / 4' />
						</command>
						<command class_type='comment' title='' comment='bateria backup' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='battgeral' macro='GetInt' >
							<return exp='batt_geral' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//batt_geral = batt_geral / 13.37' />
							<exp exp='//1024/6.8 = 150.5' />
						</command>
						<command class_type='comment' title='' comment='temperatura quadro eletrico' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='temperatura_quadro' macro='GetInt' >
							<return exp='temp_qe' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temp_qe = temp_qe / 8.5' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculos_saldo' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando=comando + &quot;a pedir saldo.... &quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;a pedir saldo.... &quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='Chamar pedir saldo' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='pedir_saldo' />
						<command class_type='call' title='Chamar display saldo' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_saldo' />
						<command class_type='calculation' title='reset contador' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='USAR_EXPANSAO' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='CONFIGURAÇAO : SEL3= 0 / SEL4= 0
PORTAS EXPANSAO EM USO' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='output' title='SEL3' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097155' mask='256' exp='0' usechipref='1' />
						<command class_type='output' title='SEL4' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097154' mask='1024' exp='0' usechipref='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='config_geral_modem' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;AT+CNMI=2,1,0,0,0&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CNMI=2,1,0,0,0&quot; // MODO DE GUARDAR SMS NA MEMORIA ATE SER LIDA' />
							<exp exp='byte_result = 1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar LOOP ATE OK' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
						<command class_type='calculation' title='comando com variavel &quot;temporario&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='10' type='1' />
						<command class_type='calculation' title='comando = &quot;AT+CSDH=0&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CSDH=0&quot;' />
							<exp exp='byte_result = 1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='calculation' title='comando =&quot;AT+CUSD=1&quot; // HABILITAR VER SALDO' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CUSD=1&quot; // HABILITAR VER SALDO' />
							<exp exp='byte_result = 1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar LOOP ATE OK' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
						<command class_type='calculation' title='comando com variavel &quot;temporario&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='10' type='1' />
						<command class_type='calculation' title='comando = &quot;AT+CMGF=1&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CMGF=1&quot;' />
							<exp exp='byte_result = 1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar LOOP ATE OK' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CLTS=1&quot; //habilita o modem a acertar a hora automaticamente' />
							<exp exp='byte_result = 1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar LOOP ATE OK' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT&amp;W&quot; // guarda o perfil configurado' />
							<exp exp='byte_result = 1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar LOOP ATE OK' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
						<command class_type='calculation' title='comando com variavel &quot;temporario&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='dados_ventilacao' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x08 //b0 sair' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
								</flowline>
							</case>
							<case exp='0x1c //p0 man/auto' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x16 //cursor v1' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x1e //p1man/aut' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x21 //cursor v2' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x1f //p2man/aut' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x26 //cursorv3' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x20 //p3man/aut' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x2a //cursor v4' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_sensor4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_sens_fail_4 &gt; 10' swap='0' >
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_falha_sensor4 = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_falha_sensor4 = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;falha sensor 4&quot;' />
											<exp exp='//texto_de_alarme = texto_de_alarme + numero_modulo' />
											<exp exp='aviso_alarme = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='texto = texto_de_alarme' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T4 &quot;' />
													<exp exp='texto = texto + string_T4' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H4 &quot;' />
													<exp exp='texto = texto + string_H4' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + saldo' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + clock_modem' />
												</command>
												<command class_type='comment' title='' comment='chamar lista telefones' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_dados_modulos_jan' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_modulos_jan' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='adc_est1 = StringToInt$ (data_estores)' />
										<exp exp='fc_subir1 = StringToInt$ (data_fcsub)' />
										<exp exp='fc_baixar1 = StringToInt$ (data_fcbaix)' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='adc_est2 = StringToInt$ (data_estores)' />
										<exp exp='fc_subir2 = StringToInt$ (data_fcsub)' />
										<exp exp='fc_baixar2 = StringToInt$ (data_fcbaix)' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='adc_est3 = StringToInt$ (data_estores)' />
										<exp exp='fc_subir3 = StringToInt$ (data_fcsub)' />
										<exp exp='fc_baixar3 = StringToInt$ (data_fcbaix)' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='adc_est4 = StringToInt$ (data_estores)' />
										<exp exp='fc_subir4 = StringToInt$ (data_fcsub)' />
										<exp exp='fc_baixar4 = StringToInt$ (data_fcbaix)' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='adc_est5 = StringToInt$ (data_estores)' />
										<exp exp='fc_subir5 = StringToInt$ (data_fcsub)' />
										<exp exp='fc_baixar5 = StringToInt$ (data_fcbaix)' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='adc_est6 = StringToInt$ (data_estores)' />
										<exp exp='fc_subir6 = StringToInt$ (data_fcsub)' />
										<exp exp='fc_baixar6 = StringToInt$ (data_fcbaix)' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='comment' title='' comment='testes' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='correcao_comando_jan' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est1_subir + est1_baixar = 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est1_subir = 0' />
									<exp exp='est1_baixar = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est2_subir + est2_baixar = 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est2_subir = 0' />
									<exp exp='est2_baixar = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est3_subir + est3_baixar = 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est3_subir = 0' />
									<exp exp='est3_baixar = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est4_subir + est4_baixar = 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est4_subir = 0' />
									<exp exp='est4_baixar = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est5_subir + est5_baixar = 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est5_subir = 0' />
									<exp exp='est5_baixar = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est6_subir + est6_baixar = 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est6_subir = 0' />
									<exp exp='est6_baixar = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_batt4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt4_int &gt; 500' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 500' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt4_int &lt; 350' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario_byte = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario_byte = batt4_int' />
											<exp exp='temporario_byte = temporario_byte - 350' />
											<exp exp='temporario_byte = temporario_byte / 1.5' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_falha_sensor4 &lt;&gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;batt4.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_sensor3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_sens_fail_3 &gt; 10' swap='0' >
							<flowline >
								<command class_type='decision' title='falha de sensor' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_falha_sensor3 = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_falha_sensor3 = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;falha sensor 3&quot;' />
											<exp exp='//texto_de_alarme = texto_de_alarme + numero_modulo' />
											<exp exp='aviso_alarme = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='texto = texto_de_alarme' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T3 &quot;' />
													<exp exp='texto = texto + string_T3' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H3 &quot;' />
													<exp exp='texto = texto + string_H3' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + saldo' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + clock_modem' />
												</command>
												<command class_type='comment' title='' comment='chamar lista telefones' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculos_icons_nublizacao' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='nublizacao1 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub1.pic=44&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='comando = &quot;tnub1.txt=&quot;--:--&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub1.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;--:--&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='out_7 = 0' />
									<exp exp='estado_s7 = &quot;S7off&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub1.pic=45&quot;' />
									<exp exp='out_7 = 0' />
									<exp exp='estado_s7 = &quot;S7off&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='nublizacao2 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub2.pic=39&quot; //mostrar timer nublizaçao' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='comando = &quot;tnub2.txt=&quot;--:--&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub2.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;--:--&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='out_8 = 0' />
									<exp exp='estado_s8 = &quot;S8off&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub2.pic=48&quot;' />
									<exp exp='out_8 = 0' />
									<exp exp='estado_s8 = &quot;S8off&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='nublizacao3 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub3.pic=44&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub3.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;--:--&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='out_11 = 0' />
									<exp exp='estado_s11 = &quot;S11off&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub3.pic=45&quot;' />
									<exp exp='out_11 = 0' />
									<exp exp='estado_s11 = &quot;S11off&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='nublizacao4 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub4.pic=39&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='comando = &quot;tnub4.txt=&quot;--:--&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub4.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;--:--&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='out_12 = 0' />
									<exp exp='estado_s12 = &quot;S12off&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;tnub4.pic=48&quot;' />
									<exp exp='out_12 = 0' />
									<exp exp='estado_s12 = &quot;S12off&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_estores6' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_jan6 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est6_baixar = 0' />
									<exp exp='est6_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan6 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est6_baixar = 0' />
											<exp exp='est6_subir = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est6 &lt; adc_est6 - 4' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='com a proxima condicionante o estore só vai fechar 
até ao valor pedido pela variavel: per_abert_estores
que é responsavel pela abertura permanente' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est6 &lt;= per_abert_estores' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est6 &lt;= per_abert_estores - 3' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est6_subir = 0' />
																	<exp exp='est6_baixar = 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est6_subir = 0' />
																	<exp exp='est6_baixar = 0' />
																</command>
															</flowline>
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est6_subir = 1' />
															<exp exp='est6_baixar = 0' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est6 &gt; adc_est6 + 4' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est6_baixar = 1' />
													<exp exp='est6_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est6 = adc_est6' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est6_subir = 0' />
													<exp exp='est6_baixar = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est6 = adc_est6 + 1' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est6_subir = 0' />
															<exp exp='est6_baixar = 0' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est6 = adc_est6 - 1' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est6_subir = 0' />
																	<exp exp='est6_baixar = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est6 &gt;= 99' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est6_baixar = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est6 &lt;= 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est6_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_pwmf1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = control_int_temp_c1 // adc_caldeira_1' />
							<exp exp='prog_C1 = prog_C1 * 10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_c1 &gt; temporario_byte + 20' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='o calculo da saida estava aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pwmf1 = prog_c1 - temporario_byte' />
									<exp exp='//pwmf1 = pwmf1 + 7 // este deve ser o valor a ter em conta como o minimo de frequencia aceitavel' />
									<exp exp='//pwmf1 = pwmf1 * 0.3 // 1.5 // este pode ser o fator exponencial' />
								</command>
								<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='expf' >
									<case >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = pwmf1 * 1.5' />
											</command>
										</flowline>
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = pwmf1 * 1.4' />
											</command>
										</flowline>
									</case>
									<case exp='20' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = pwmf1 * 1.3' />
											</command>
										</flowline>
									</case>
									<case exp='30' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = pwmf1 * 1.2' />
											</command>
										</flowline>
									</case>
									<case exp='40' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = pwmf1 * 1.1' />
											</command>
										</flowline>
									</case>
									<case exp='50' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = pwmf1 * 1' />
											</command>
										</flowline>
									</case>
									<case exp='60' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = pwmf1 * 0.8' />
											</command>
										</flowline>
									</case>
									<case exp='70' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = pwmf1 * 0.6' />
											</command>
										</flowline>
									</case>
									<case exp='80' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = pwmf1 * 0.4' />
											</command>
										</flowline>
									</case>
									<case exp='90' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = pwmf1 * 0.2' />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmf1 &gt; 50' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='pwmf1 = 50' />
											<exp exp='out_1 = 1' />
											<exp exp='estado_s1 = &quot;S1 on&quot;' />
											<exp exp='tempo_f1off = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmf1 &gt;= 15' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_1 = 1' />
													<exp exp='estado_s1 = &quot;S1 on&quot;' />
													<exp exp='tempo_f1off = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmf1 &lt; 14' swap='1' >
											<flowline >
												<command class_type='comment' title='' comment='03/08/20
aqui estava o calculo da linha de cima' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_1 = 0' />
													<exp exp='estado_s1 = &quot;S1off&quot;' />
													<exp exp='pwmf1 = 0' />
													<exp exp='tempo_f1off = 0' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_c1 &lt;= temporario_byte' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_1 = 0 // motor fumos 1' />
											<exp exp='estado_s1 = &quot;S1off&quot;' />
											<exp exp='pwmf1 = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='27/02/26
adicionado temporizador para forçar paragem fumos1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='tempo_f1off = tempo_f1off + 1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tempo_f1off &gt;= 1000' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_1 = 0 // motor fumos 1' />
													<exp exp='estado_s1 = &quot;S1off&quot;' />
													<exp exp='pwmf1 = 0' />
													<exp exp='tempo_f1off = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_C1 = prog_C1 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_sensor2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='cont_sens_fail_2 &gt; 10' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_sens_fail_2 &gt; 10' swap='0' >
							<flowline >
								<command class_type='decision' title='falha de sensor' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_falha_sensor2 = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_falha_sensor2 = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;falha sensor 2&quot;' />
											<exp exp='//texto_de_alarme = texto_de_alarme + numero_modulo' />
											<exp exp='aviso_alarme = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='texto = texto_de_alarme' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T2 &quot;' />
													<exp exp='texto = texto + string_T2' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H2 &quot;' />
													<exp exp='texto = texto + string_H2' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + saldo' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + clock_modem' />
												</command>
												<command class_type='comment' title='' comment='chamar lista telefones' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_batt3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt3_int &gt; 500' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 500' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt3_int &lt; 350' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario_byte = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario_byte = batt3_int' />
											<exp exp='temporario_byte = temporario_byte - 350' />
											<exp exp='temporario_byte = temporario_byte / 1.5' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_falha_sensor3 &lt;&gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;batt3.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_ladrao' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='intrusao_on_off = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;intru.pic=145&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;intru.pic=144&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_estores5' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_jan5 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est5_baixar = 0' />
									<exp exp='est5_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan5 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est5_baixar = 0' />
											<exp exp='est5_subir = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est5 &lt; adc_est5 - 4' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='com a proxima condicionante o estore só vai fechar 
até ao valor pedido pela variavel: per_abert_estores
que é responsavel pela abertura permanente' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est5 &lt;= per_abert_estores' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est5 &lt;= per_abert_estores - 3' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est5_subir = 0' />
																	<exp exp='est5_baixar = 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est5_subir = 0' />
																	<exp exp='est5_baixar = 0' />
																</command>
															</flowline>
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est5_subir = 1' />
															<exp exp='est5_baixar = 0' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est5 &gt; adc_est5 + 4' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est5_baixar = 1' />
													<exp exp='est5_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est5 = adc_est5' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est5_subir = 0' />
													<exp exp='est5_baixar = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est5 = adc_est5 + 1' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est5_subir = 0' />
															<exp exp='est5_baixar = 0' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est5 = adc_est5 - 1' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est5_subir = 0' />
																	<exp exp='est5_baixar = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est5 &gt;= 99' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est5_baixar = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est5 &lt;= 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est5_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='geral_nubliza' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='por razoes ainda desconhecidas, fora da pagina 0 os 
timers apresentavam comportamento anormal.
por isso todo o control de nublizaçao é desativado 
nesta primeira decisao e em conjunto com a macro
&quot;desativar_timers&quot; chamada na cabeça da macro&quot;menu_modulo1&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='nublizacao1 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_nubliza1' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='nublizacao2 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_nubliza2' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='nublizacao3 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_nubliza3' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='nublizacao4 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_nubliza4' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_adcs' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='' textmode='1' textarea='259,298,734,598' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_display_adcs' >
							<case >
								<flowline />
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Chamar  display T1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t1' />
									<command class_type='comment' title='' comment='chamar display t3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t3' />
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='call' title='Chamar  display C1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_C1' />
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='call' title='Chamar display T2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t2' />
									<command class_type='comment' title='' comment='chamar display t4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t4' />
								</flowline>
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='call' title='display  C2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_C2' />
								</flowline>
							</case>
							<case exp='10' >
								<flowline >
									<command class_type='call' title='Chamar  display H1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_H1' />
									<command class_type='comment' title='' comment='chamar display h3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_H3' />
								</flowline>
							</case>
							<case exp='12' >
								<flowline >
									<command class_type='call' title='Chamar  display H2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_H2' />
									<command class_type='comment' title='' comment='chamar display h4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_H4' />
									<command class_type='calculation' title='reset contador_display_adcs' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='contador_display_adcs = 0' />
									</command>
								</flowline>
							</case>
							<case exp='14' >
								<flowline >
									<command class_type='comment' title='' comment='no arranque e na saida de menu vai mostrar de imediato o valor de todas as adcs' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar  display C1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_C1' />
									<command class_type='call' title='display  C2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_C2' />
									<command class_type='call' title='Chamar  display T1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_C1' />
									<command class_type='call' title='Chamar display T2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t2' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t3' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t4' />
									<command class_type='call' title='Chamar  display H1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_H1' />
									<command class_type='call' title='Chamar  display H2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_H2' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_H3' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_H4' />
									<command class_type='calculation' title='reset contador_display_adcs' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='contador_display_adcs = 0' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador_display_adcs = contador_display_adcs + 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_c2min' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='caldeira2_on_off = 0' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira2_on_off = 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='habilitar_alarmes_minimos = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='habilitar_alarmes_minimos = 1' swap='1' >
									<flowline />
									<flowline >
										<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_2 &lt; prog_c2 - 10' swap='0' >
											<flowline >
												<command class_type='decision' title='alarme_c2min = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_c2min = 1' swap='0' >
													<flowline >
														<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='alarme_c2min = 1' />
															<exp exp='estado_de_alarme = 1' />
															<exp exp='texto_de_alarme = &quot;TEMP.BAIXA CAL.2# &quot;' />
															<exp exp='aviso_alarme = 0' />
															<exp exp='temporario = ToString$ (adc_caldeira_2)' />
															<exp exp='//temporario = temporario + &quot;°&quot;' />
															<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
														<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
														<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
														<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
															<flowline >
																<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
																<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_sensor1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='cont_sens_fail_1 &gt; 10' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_sens_fail_1 &gt; 10' swap='0' >
							<flowline >
								<command class_type='decision' title='falha de sensor' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_falha_sensor1 = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_falha_sensor1 = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;falha sensor 1&quot;' />
											<exp exp='//texto_de_alarme = texto_de_alarme + numero_modulo' />
											<exp exp='aviso_alarme = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='texto = texto_de_alarme' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T1 &quot;' />
													<exp exp='texto = texto + string_T1' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H1 &quot;' />
													<exp exp='texto = texto + string_H1' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + saldo' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + clock_modem' />
												</command>
												<command class_type='comment' title='' comment='chamar lista telefones' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_batt2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt2_int &gt; 500' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 500' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt2_int &lt; 350' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario_byte = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario_byte = batt2_int' />
											<exp exp='temporario_byte = temporario_byte - 350' />
											<exp exp='temporario_byte = temporario_byte / 1.5' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_falha_sensor2 &lt;&gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;batt2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_estores4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_jan4 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est4_baixar = 0' />
									<exp exp='est4_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan4 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est4_baixar = 0' />
											<exp exp='est4_subir = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est4 &lt; adc_est4 - 4' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='com a proxima condicionante o estore só vai fechar 
até ao valor pedido pela variavel: per_abert_estores
que é responsavel pela abertura permanente' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est4 &lt;= per_abert_estores' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est4 &lt;= per_abert_estores - 3' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est4_subir = 0' />
																	<exp exp='est4_baixar = 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est4_subir = 0' />
																	<exp exp='est4_baixar = 0' />
																</command>
															</flowline>
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est4_subir = 1' />
															<exp exp='est4_baixar = 0' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est4 &gt; adc_est4 + 4' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est4_baixar = 1' />
													<exp exp='est4_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est4 = adc_est4' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est4_subir = 0' />
													<exp exp='est4_baixar = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est4 = adc_est4 + 1' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est4_subir = 0' />
															<exp exp='est4_baixar = 0' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est4 = adc_est4' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est4_subir = 0' />
																	<exp exp='est4_baixar = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est4 &gt;= 99' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est4_baixar = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est4 &lt;= 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est4_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='PWM_c1_on_off' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='talvez não seja necessario efetuar qualquer operaçao aqui ' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmf1 = 1' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='desabilitar' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PCA9685_PWM1' macro='SetPin' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off' >
									<case >
										<flowline />
									</case>
									<case exp='0 //manual' >
										<flowline >
											<command class_type='comment' title='' comment='habilitar' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
									</case>
									<case exp='1 //off' >
										<flowline >
											<command class_type='comment' title='' comment='desabilitar' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PCA9685_PWM1' macro='SetPin' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
										</flowline>
									</case>
									<case exp='2 //auto' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_1 = 0 // fumos 1' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='desabilitar' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PCA9685_PWM1' macro='SetPin' >
														<argument exp='0' />
														<argument exp='0' />
														<argument exp='0' />
													</command>
												</flowline>
												<flowline >
													<command class_type='comment' title='' comment='habilitar' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='obter_sinal' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='count = 0' />
							<exp exp='string_csq = &quot;&quot;' />
							<exp exp='string_char = &quot;&quot;' />
							<exp exp='byte_result = 0' />
						</command>
						<command class_type='calculation' title='ver sinal' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CSQ&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar cr lf' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='loop' title='char = 43 // &quot; + &quot; ou 3 ciclos' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='3' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='reduçao dos tempos de espera de 30 ms para 2 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='2' />
								</command>
								<command class_type='decision' title='Decisão char = 43 // +' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 43 // +' swap='0' >
									<flowline >
										<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='goto' title='VaiPara Ponto de ligação C' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='' />
						<command class_type='label' title='Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
						<command class_type='loop' title='Ciclo' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='20' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='reduçao dos tempos de espera de 10 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='byte_result' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='byte_resultl &lt; 32' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_result &lt; 32' swap='1' >
									<flowline >
										<command class_type='decision' title='byte_result &gt; 126' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_result &gt; 126' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='incremento de count' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='count = count + 1' />
												</command>
												<command class_type='decision' title='count &gt;= 6' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='count &gt;= 6' swap='0' >
													<flowline >
														<command class_type='decision' title='count &gt;=9' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='count &gt;= 9' swap='0' >
															<flowline />
															<flowline >
																<command class_type='decision' title='byte_result = 44 //+' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_result = 44' swap='0' >
																	<flowline />
																	<flowline >
																		<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																			<exp exp='string_char[0] = byte_result' />
																			<exp exp='string_csq = string_csq + string_char' />
																		</command>
																	</flowline>
																</command>
															</flowline>
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_result &lt;&gt; 255' swap='1' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point C' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Ponto de ligação C' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='C' />
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_csq' />
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_caldeira1_on_off' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='eeprom 0x6 caldeira1_on_off' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x6' />
							<argument exp='caldeira1_on_off' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off = 1 //0 representa man,1 representa desligado,2 representa automatico' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_1 = 0' />
									<exp exp='out_2 = 0' />
									<exp exp='estado_s1 = &quot;s1 off&quot;' />
									<exp exp='estado_s2 = &quot;s2 off&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='estado_sms_habilitar' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='sms_habilitar' textmode='1' textarea='282,322,757,622' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='decision' title='numero_pagina = 0' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 0' swap='0' >
										<flowline >
											<command class_type='decision' title='icon_habilitar= 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_habilitar = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;p0.pic=1&quot; //smsoff' />
														<exp exp='icon_habilitar = 1' />
													</command>
													<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
												</flowline>
											</command>
										</flowline>
										<flowline >
											<command class_type='decision' title='icon_habilitar= 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_habilitar = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;SMS.pic=30&quot; //sms off' />
														<exp exp='icon_habilitar = 1' />
													</command>
													<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='decision' title='numero_pagina = 0' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 0' swap='0' >
										<flowline >
											<command class_type='decision' title='Decisão icon_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_habilitar = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='comment' title='' comment='18/04/22:
se o modem estiver em falha de comunicaçao o icone vai estar em modo off até ser feito o reset' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='erro_serial &gt;= 3' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;p0.pic=1&quot; //sms off' />
																<exp exp='icon_habilitar = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;p0.pic=0&quot; //sms on' />
																<exp exp='icon_habilitar = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
												</flowline>
											</command>
										</flowline>
										<flowline >
											<command class_type='decision' title='Decisão icon_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_habilitar = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='comando = &quot;SMS.pic=31&quot; //sms on' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;SMS.pic=31&quot; //sms on' />
														<exp exp='icon_habilitar = 1' />
													</command>
													<command class_type='label' title='Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='contadores_falhas_sensores' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_sens_fail_1 &gt; 100' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='cont_sens_fail_1 = 0' />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='cont_sens_fail_1 = cont_sens_fail_1 + 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='cont_sens_fail_1 = cont_sens_fail_1 + 1' />
												<exp exp='comando = &quot;T&quot; //mudando a letra é possivel usar outro icon para cor de fundo no HMI' />
												<exp exp='comando = comando + numero_modulo' />
												<exp exp='comando = comando + &quot;.bco=63488&quot; // mudar a cor da respetiva janela de fundo para vermelho' />
												<exp exp='temporario = ToString$ (cont_sens_fail_1)' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='decision' title='cont_sens_fail_2 &gt; 100' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_sens_fail_2 &gt; 100' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='cont_sens_fail_2 = 0' />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='cont_sens_fail_2 = cont_sens_fail_2 + 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='cont_sens_fail_2 = cont_sens_fail_2 + 1' />
												<exp exp='comando = &quot;T&quot; //mudando a letra é possivel usar outro icon para cor de fundo no HMI' />
												<exp exp='comando = comando + numero_modulo' />
												<exp exp='comando = comando + &quot;.bco=63488&quot; // mudar a cor da respetiva janela de fundo para vermelho' />
												<exp exp='temporario = ToString$ (cont_sens_fail_2)' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_sens_fail_3 &gt; 100' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='cont_sens_fail_3 = 0' />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='cont_sens_fail_3 = cont_sens_fail_3 + 1' />
												<exp exp='comando = &quot;T&quot; //mudando a letra é possivel usar outro icon para cor de fundo no HMI' />
												<exp exp='comando = comando + numero_modulo' />
												<exp exp='comando = comando + &quot;.bco=63488&quot; // mudar a cor da respetiva janela de fundo para vermelho' />
												<exp exp='temporario = ToString$ (cont_sens_fail_3)' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_sens_fail_4 &gt; 100' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='cont_sens_fail_4 = 0' />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='cont_sens_fail_4 = cont_sens_fail_4 + 1' />
												<exp exp='comando = &quot;T&quot; //mudando a letra é possivel usar outro icon para cor de fundo no HMI' />
												<exp exp='comando = comando + numero_modulo' />
												<exp exp='comando = comando + &quot;.bco=63488&quot; // mudar a cor da respetiva janela de fundo para vermelho' />
												<exp exp='temporario = ToString$ (cont_sens_fail_4)' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_sino' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='led_alarmes = 1' swap='1' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sino = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;vis sino,1&quot;' />
													<exp exp='sino = 1' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='led_alarmes = 0' swap='1' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sino = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;vis sino,0&quot;' />
													<exp exp='sino = 0' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_batt1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt1_int &gt; 500' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 500' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt1_int &lt; 350' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario_byte = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario_byte = batt1_int' />
											<exp exp='temporario_byte = temporario_byte - 350' />
											<exp exp='temporario_byte = temporario_byte / 1.5' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_falha_sensor1 &lt;&gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;batt1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_estores3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_jan3 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est3_baixar = 0' />
									<exp exp='est3_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan3 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est3_baixar = 0' />
											<exp exp='est3_subir = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est3 &lt; adc_est3 - 4' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='com a proxima condicionante o estore só vai fechar 
até ao valor pedido pela variavel: per_abert_estores
que é responsavel pela abertura permanente' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est3 &lt;= per_abert_estores' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est3 &lt;= per_abert_estores - 3' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est3_subir = 0' />
																	<exp exp='est3_baixar = 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est3_subir = 0' />
																	<exp exp='est3_baixar = 0' />
																</command>
															</flowline>
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est3_subir = 1' />
															<exp exp='est3_baixar = 0' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est3 &gt; adc_est3 + 4' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est3_baixar = 1' />
													<exp exp='est3_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est3 = adc_est3' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est3_subir = 0' />
													<exp exp='est3_baixar = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est3 = adc_est3 + 1' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est3_subir = 0' />
															<exp exp='est3_baixar = 0' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est3 = adc_est3 - 1' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est3_subir = 0' />
																	<exp exp='est3_baixar = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est3 &gt;= 99' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est3_baixar = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est3 &lt;= 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est3_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='dados_programacao' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch numero_pagina' textmode='1' textarea='139,258,614,558' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina' >
							<case >
								<flowline />
							</case>
							<case exp='2 //caldeira 1' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_char_caldeira1' />
								</flowline>
							</case>
							<case exp='3 //caldeira 2' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='caldeira2_on_off = StringToInt$(temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='caldeira2_on_off = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='prog_c2 = StringToInt$(temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='prog_c2 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar prog caldeira 2 on off c2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_caldeira2_on_off' />
									<command class_type='call' title='Chamar prog_c2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_C2' />
								</flowline>
							</case>
							<case exp='4 //temp 1/2' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='histerese_t = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='histerese_t = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='prog_T1 = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='prog_T1 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='prog_T2 = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='prog_T2 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar prog histerese T' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_histerese_T' />
									<command class_type='call' title='Chamar prog TEMP1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_temp1' />
									<command class_type='call' title='Chamar prog TEMP2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_temp2' />
								</flowline>
							</case>
							<case exp='5 //temp 3/4' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='histerese_t = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='histerese_t = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='prog_T3 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='prog_T4 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar prog histerese T' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_histerese_T' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_temp3' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_temp4' />
								</flowline>
							</case>
							<case exp='6 //manual testes' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
								</flowline>
							</case>
							<case exp='7 //ventilacao' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_char_ventil' />
								</flowline>
							</case>
							<case exp='8 //alarmes sms' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='sms_habilitar = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='sms_habilitar = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='habilitar_alarmes_minimos = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='intrusao_on_off = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='9 //gravar numeros' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='switch' title='' textmode='1' textarea='43,121,518,421' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_gravar_numeros' >
										<case >
											<flowline />
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
												<command class_type='call' title='Chamar modem ler' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='modem_ler' />
												<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='temporario = ToString$ (pos_mem_telefone)' />
													<exp exp='comando = &quot;t0.txt=&quot;' />
													<exp exp='comando = comando + &quot;\&quot;&quot;' />
													<exp exp='comando = comando + &quot;pos.&quot;' />
													<exp exp='comando = comando + temporario' />
													<exp exp='comando = comando + &quot; &quot;' />
													<exp exp='comando = comando + numero' />
													<exp exp='comando = comando + nome' />
													<exp exp='comando = comando + &quot;\&quot;&quot;' />
												</command>
												<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='call' title='Chamar numeros e nomes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_e_nomes' />
												<command class_type='comment' title='' comment='aqui tinha um delay de 100ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='10 // prog sens fumo' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='Cálculo colocar valor int em 2 loc eeprom (byte)' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='cal_sens_fumo = StringToInt$ (temporario)' />
										<exp exp='var1 = cal_sens_fumo &amp; 0xff' />
										<exp exp='var2 = cal_sens_fumo &gt;&gt; 8' />
									</command>
									<command class_type='call' title='Chamar prog sensor fumo' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_sens_fumo' />
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='' textmode='1' textarea='132,248,607,548' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina' >
							<case >
								<flowline />
							</case>
							<case exp='11 //nublizacao' >
								<flowline >
									<command class_type='comment' title='' comment='timer/pavilhao 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='nublizacao1 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='nublizacao3 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='tempo_off_nubliza1 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='tempo_on_nubliza1 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='timer/pavilhao 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='nublizacao2 = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='nublizacao2 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='nublizacao4 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='tempo_off_nubliza 2 = StringToInt$(temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='tempo_off_nubliza2 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='tempo_on_nubliza 2 = StringToInt$(temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='tempo_on_nubliza2 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='12' >
								<flowline />
							</case>
							<case exp='13 //estores' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_char_estores' />
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_batt4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt4_int &lt;= 385' swap='0' >
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_batt4 &gt;= 5' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_batt4 = alarme_batt4 + 1' />
										</command>
										<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_batt4 &lt; 5' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='//alarme_batt4 = 1' />
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;BATERIA BAIXA SENSOR 4!&quot;' />
													<exp exp='aviso_alarme = 0' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_erro_serial' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='se houver falha de comunicaçao o erro é reportado
após o processador ser reiniciado mas os dados obtidos 
através do modem mantem-se (data,hora etc...)
só após 3 tentativas de reinicio é que as comunicaçoes são 
encerradas até haver um reset manual' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='' textmode='1' textarea='56,129,531,429' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='erro_serial &gt;= 1' swap='0' >
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='203,187,678,487' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_comunicacao = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_comunicacao = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;falha de comunicacao RS232&quot;' />
											<exp exp='aviso_alarme = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_disjuntores' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='MOTOR FUMOS 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='20/02/26
teste para poder desligar disjuntores sem fazer
aviso de alarme' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='delay_sms &gt;= 1' swap='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='delay_sms = delay_sms + 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off = 1 // desligada' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMF1 &gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmf1 = 1' swap='0' >
													<flowline />
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='estado_de_alarme = 1' />
															<exp exp='texto_de_alarme = &quot;DISPARO D.M.FUMOS 1!&quot;' />
															<exp exp='aviso_alarme = 0' />
															<exp exp='alarme_dmf1 = 1' />
															<exp exp='icon_estado_caldeira1 = 0' />
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
														<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
														<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
														<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
															<flowline >
																<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='texto = texto_de_alarme' />
																	<exp exp='texto = texto + string_espaco' />
																	<exp exp='texto = texto + saldo' />
																	<exp exp='texto = texto + string_espaco' />
																	<exp exp='texto = texto + clock_modem' />
																</command>
																<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
															</flowline>
															<flowline >
																<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='delay_sms = 0' />
																</command>
															</flowline>
														</command>
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='MOTOR FUMOS 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMF2 &gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmf2 = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;DISPARO D.M.FUMOS 2!&quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='alarme_dmf2 = 1' />
													<exp exp='icon_estado_caldeira2 = 0' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='delay_sms = 0' />
														</command>
													</flowline>
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='MOTOR CALOR 1 ' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMA1 &gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmar1 = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;DISPARO D.M.CALOR 1!&quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='alarme_dmar1 = 1' />
													<exp exp='icon_conduta1 = 0' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='delay_sms = 0' />
														</command>
													</flowline>
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='MOTOR CALOR 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMA2 &gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmar2 = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;DISPARO D.M.CALOR 2!&quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='alarme_dmar2 = 1' />
													<exp exp='icon_conduta2 = 0' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='delay_sms = 0' />
														</command>
													</flowline>
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='20/02/26
teste para poder desligar disjuntores sem fazer
aviso de alarme' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil1 = 1 // desligado' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMV1 &gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv1 = 1' swap='0' >
													<flowline />
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='estado_de_alarme = 1' />
															<exp exp='texto_de_alarme = &quot;DISPARO D.M.VENTIL. 1!&quot;' />
															<exp exp='aviso_alarme = 0' />
															<exp exp='alarme_dmv1 = 1' />
															<exp exp='icon_climatiza1 = 0' />
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
														<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
														<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
														<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
															<flowline >
																<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='texto = texto_de_alarme' />
																	<exp exp='texto = texto + string_espaco' />
																	<exp exp='texto = texto + saldo' />
																	<exp exp='texto = texto + string_espaco' />
																	<exp exp='texto = texto + clock_modem' />
																</command>
																<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
															</flowline>
															<flowline >
																<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='delay_sms = 0' />
																</command>
															</flowline>
														</command>
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='20/02/26
teste para poder desligar disjuntores sem fazer
aviso de alarme' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil2 = 1 // desligado' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMV2 &gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv2 = 1' swap='0' >
													<flowline />
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='estado_de_alarme = 1' />
															<exp exp='texto_de_alarme = &quot;DISPARO D.M.VENTIL. 2!&quot;' />
															<exp exp='aviso_alarme = 0' />
															<exp exp='alarme_dmv2 = 1' />
															<exp exp='icon_climatiza2 = 0' />
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
														<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
														<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
														<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
															<flowline >
																<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='texto = texto_de_alarme' />
																	<exp exp='texto = texto + string_espaco' />
																	<exp exp='texto = texto + saldo' />
																	<exp exp='texto = texto + string_espaco' />
																	<exp exp='texto = texto + clock_modem' />
																</command>
																<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
															</flowline>
															<flowline >
																<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='delay_sms = 0' />
																</command>
															</flowline>
														</command>
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='20/02/26
teste para poder desligar disjuntores sem fazer
aviso de alarme' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil3 = 1 // desligado' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMV3 &gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv3 = 1' swap='0' >
													<flowline />
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='estado_de_alarme = 1' />
															<exp exp='texto_de_alarme = &quot;DISPARO D.M.VENTIL. 3!&quot;' />
															<exp exp='aviso_alarme = 0' />
															<exp exp='alarme_dmv3 = 1' />
															<exp exp='icon_climatiza3 = 0' />
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
														<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
														<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
														<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
															<flowline >
																<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='texto = texto_de_alarme' />
																	<exp exp='texto = texto + string_espaco' />
																	<exp exp='texto = texto + saldo' />
																	<exp exp='texto = texto + string_espaco' />
																	<exp exp='texto = texto + clock_modem' />
																</command>
																<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
															</flowline>
															<flowline >
																<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='delay_sms = 0' />
																</command>
															</flowline>
														</command>
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='20/02/26
teste para poder desligar disjuntores sem fazer
aviso de alarme' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil4 = 1 // desligado' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMV4 &gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv4 = 1' swap='0' >
													<flowline />
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='estado_de_alarme = 1' />
															<exp exp='texto_de_alarme = &quot;DISPARO D.M.VENTIL. 4!&quot;' />
															<exp exp='aviso_alarme = 0' />
															<exp exp='alarme_dmv4 = 1' />
															<exp exp='icon_climatiza4 = 0' />
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
														<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
														<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
														<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
															<flowline >
																<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='texto = texto_de_alarme' />
																	<exp exp='texto = texto + string_espaco' />
																	<exp exp='texto = texto + saldo' />
																	<exp exp='texto = texto + string_espaco' />
																	<exp exp='texto = texto + clock_modem' />
																</command>
																<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
															</flowline>
															<flowline >
																<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='delay_sms = 0' />
																</command>
															</flowline>
														</command>
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN1 &gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan1 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est1_baixar = 0' />
													<exp exp='est1_subir = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;DISPARO D.M.JANELAS. 1!&quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='alarme_dmjan1 = 1' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='delay_sms = 0' />
														</command>
													</flowline>
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN2 &gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan2 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est2_baixar = 0' />
													<exp exp='est2_subir = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;DISPARO D.M.JANELAS. 2!&quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='alarme_dmjan2 = 1' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='delay_sms = 0' />
														</command>
													</flowline>
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN3 &gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan3 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est3_baixar = 0' />
													<exp exp='est3_subir = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;DISPARO D.M.JANELAS. 3!&quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='alarme_dmjan3 = 1' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='delay_sms = 0' />
														</command>
													</flowline>
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN4 &gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan4 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est4_baixar = 0' />
													<exp exp='est4_subir = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;DISPARO D.M.JANELAS. 4!&quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='alarme_dmjan4 = 1' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='delay_sms = 0' />
														</command>
													</flowline>
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN5 &gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan5 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est5_baixar = 0' />
													<exp exp='est5_subir = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;DISPARO D.M.JANELAS. 5!&quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='alarme_dmjan5 = 1' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='delay_sms = 0' />
														</command>
													</flowline>
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN6 &gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan6 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est6_baixar = 0' />
													<exp exp='est6_subir = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;DISPARO D.M.JANELAS. 6!&quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='alarme_dmjan6 = 1' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='delay_sms = 0' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='numeros_envio_sms' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_MODEM' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='erro_serial &gt;= 3' swap='0' >
							<flowline />
							<flowline >
								<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;stop.val=1&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='pos_mem_telefone = 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pos_mem_telefone = 1' />
								</command>
								<command class_type='call' title='Chamar modem ler' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='modem_ler' />
								<command class_type='calculation' title='1º numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='numero_compara = Length$ (numero)' />
								</command>
								<command class_type='decision' title='numero_compara = &lt; 9' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_compara &lt; 9' swap='0' >
									<flowline >
										<command class_type='calculation' title='reset numero compara' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='numero_compara = 1' />
										</command>
										<command class_type='call' title='Chamar texto sem numero' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_sem_numero' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;t0.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + &quot;chamada...&quot;' />
											<exp exp='comando = comando + numero' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='call' title='Chamar toke confirmaçao' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='toke_confirmacao' />
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='numero_compara = 1' />
										</command>
										<command class_type='call' title='Chamar enviar sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='enviar_sms' />
										<command class_type='comment' title='' comment='aqui estava a chamar a macro:
ciclos_macros_sms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='ciclos_macros_sms' />
									</flowline>
								</command>
								<command class_type='calculation' title='pos_mem_telefone = 2' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pos_mem_telefone = 2' />
								</command>
								<command class_type='call' title='Chamar modem ler' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='modem_ler' />
								<command class_type='calculation' title='numero_compara = Length$ (numero)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='numero_compara = Length$ (numero)' />
								</command>
								<command class_type='decision' title='numero_compara &lt; 9' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_compara &lt; 9' swap='0' >
									<flowline >
										<command class_type='calculation' title='reset numero compara' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='numero_compara = 1' />
										</command>
										<command class_type='call' title='Chamar texto sem numero' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_sem_numero' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='numero_compara = 1' />
										</command>
										<command class_type='call' title='Chamar enviar sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='enviar_sms' />
										<command class_type='comment' title='' comment='aqui estava a chamar a macro:
ciclos_macros_sms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='ciclos_macros_sms' />
									</flowline>
								</command>
								<command class_type='calculation' title='pos_mem_telefone = 3' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pos_mem_telefone = 3' />
								</command>
								<command class_type='call' title='Chamar modem ler' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='modem_ler' />
								<command class_type='calculation' title='numero_compara = Length$ (numero)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='numero_compara = Length$ (numero)' />
								</command>
								<command class_type='decision' title='numero_compara  &lt; 9' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_compara &lt; 9' swap='0' >
									<flowline >
										<command class_type='calculation' title='reset numero compara' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='numero_compara = 1' />
										</command>
										<command class_type='call' title='Chamar texto sem numero' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_sem_numero' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='numero_compara = 1' />
										</command>
										<command class_type='call' title='Chamar enviar sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='enviar_sms' />
										<command class_type='comment' title='' comment='aqui estava a chamar a macro:
ciclos_macros_sms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='ciclos_macros_sms' />
									</flowline>
								</command>
								<command class_type='calculation' title='pos_mem_telefone = 4' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pos_mem_telefone = 4' />
								</command>
								<command class_type='call' title='Chamar modem ler' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='modem_ler' />
								<command class_type='calculation' title='numero_compara = Length$ (numero)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='numero_compara = Length$ (numero)' />
								</command>
								<command class_type='decision' title='numero_compara  &lt; 9' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_compara &lt; 9' swap='0' >
									<flowline >
										<command class_type='calculation' title='reset numero compara' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='numero_compara = 1' />
										</command>
										<command class_type='call' title='Chamar texto sem numero' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_sem_numero' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='numero_compara = 1' />
										</command>
										<command class_type='call' title='Chamar enviar sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='enviar_sms' />
										<command class_type='comment' title='' comment='aqui estava a chamar a macro:
ciclos_macros_sms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='ciclos_macros_sms' />
									</flowline>
								</command>
								<command class_type='calculation' title='pos_mem_telefone = 5' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pos_mem_telefone = 5' />
								</command>
								<command class_type='call' title='Chamar modem ler' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='modem_ler' />
								<command class_type='calculation' title='numero_compara = Length$ (numero)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='numero_compara = Length$ (numero)' />
								</command>
								<command class_type='decision' title='numero_compara &lt; 9' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_compara &lt; 9' swap='0' >
									<flowline >
										<command class_type='calculation' title='reset numero compara' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='numero_compara = 1' />
										</command>
										<command class_type='call' title='Chamar texto sem numero' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_sem_numero' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='numero_compara = 1' />
										</command>
										<command class_type='call' title='Chamar enviar sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='enviar_sms' />
										<command class_type='comment' title='' comment='aqui estava a chamar a macro:
ciclos_macros_sms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='ciclos_macros_sms' />
									</flowline>
								</command>
								<command class_type='comment' title='' comment='aqui chamava &quot;pedir saldo&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;stop.val=0&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='reset variavel' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='delay_sms = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='reset variavel texto' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='texto = &quot;&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_estores2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_jan2 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est2_baixar = 0' />
									<exp exp='est2_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan2 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est2_baixar = 0' />
											<exp exp='est2_subir = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est2 &lt; adc_est2 - 4' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='com a proxima condicionante o estore só vai fechar 
até ao valor pedido pela variavel: per_abert_estores
que é responsavel pela abertura permanente' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est2 &lt;= per_abert_estores' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est2 &lt;= per_abert_estores - 3' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est2_subir = 0' />
																	<exp exp='est2_baixar = 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est2_subir = 0' />
																	<exp exp='est2_baixar = 0' />
																</command>
															</flowline>
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est2_subir = 1' />
															<exp exp='est2_baixar = 0' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est2 &gt; adc_est2 + 4' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est2_baixar = 1' />
													<exp exp='est2_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est2 = adc_est2' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est2_subir = 0' />
													<exp exp='est2_baixar = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est2 = adc_est2 + 1' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est2_subir = 0' />
															<exp exp='est2_baixar = 0' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est2 = adc_est2 - 1' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est2_subir = 0' />
																	<exp exp='est2_baixar = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est2 &gt;= 99' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est2_baixar = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est2 &lt;= 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est2_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_temp4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x1e' />
							<argument exp='prog_T4' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_batt3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt3_int &lt;= 385' swap='0' >
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_batt3 &gt;= 5' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_batt3 = alarme_batt3 + 1' />
										</command>
										<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_batt3 &lt; 5' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='//alarme_batt3 = 1' />
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;BATERIA BAIXA SENSOR 3!&quot;' />
													<exp exp='aviso_alarme = 0' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_nublizacao2_4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='eeprom 0x19  nublizacao2' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x19' />
							<argument exp='nublizacao2' />
						</command>
						<command class_type='calculation' title='Cálculo colocar valor int em 2 loc eeprom (byte)' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='var1 = tempo_on_nubliza2 &amp; 0xff' />
							<exp exp='var2 = tempo_on_nubliza2 &gt;&gt; 8' />
						</command>
						<command class_type='call' title='0x1a var 1 /tempo on nubliza 2' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x1a' />
							<argument exp='var1' />
						</command>
						<command class_type='call' title='0x1b var2 / tempo on nubliza 2' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x1b' />
							<argument exp='var2' />
						</command>
						<command class_type='calculation' title='Cálculo colocar valor int em 2 loc eeprom (byte)' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='var1 = tempo_off_nubliza2 &amp; 0xff' />
							<exp exp='var2 = tempo_off_nubliza2 &gt;&gt; 8' />
						</command>
						<command class_type='call' title='0x1c var 1 /tempo off nubliza 2' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x1c' />
							<argument exp='var1' />
						</command>
						<command class_type='call' title='0x1d var2 / tempo off nubliza 2' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x1d' />
							<argument exp='var2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x24' />
							<argument exp='nublizacao4' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='remoto_intrusao' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x29' />
							<argument exp='intrusao_on_off' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo9' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_MODEM' />
						<command class_type='call' title='Chamar modem ler' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='modem_ler' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$(pos_mem_telefone)' />
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;pos.&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot; &quot;' />
							<exp exp='comando = comando + numero' />
							<exp exp='comando = comando + nome' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;va0.val=&quot;' />
							<exp exp='comando = comando + temporario // numero de posiçao memo telem' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 9' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 9 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='chamar switch contador' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_batt2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt2_int &lt;= 385' swap='0' >
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_batt2 &gt;= 5' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_batt2 = alarme_batt2 + 1' />
										</command>
										<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_batt2 &lt; 5' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='//alarme_batt2 = 1' />
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;BATERIA BAIXA SENSOR 2!&quot;' />
													<exp exp='aviso_alarme = 0' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_estores1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_janelas = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est1_baixar = 0' />
									<exp exp='est1_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan1 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est1_baixar = 0' />
											<exp exp='est1_subir = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est1 &lt; adc_est1 - 4' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='com a proxima condicionante o estore só vai fechar 
até ao valor pedido pela variavel: per_abert_estores
que é responsavel pela abertura permanente' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est1 &lt;= per_abert_estores' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est1 &lt;= per_abert_estores - 3' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est1_subir = 0' />
																	<exp exp='est1_baixar = 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est1_subir = 0' />
																	<exp exp='est1_baixar = 0' />
																</command>
															</flowline>
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est1_subir = 1' />
															<exp exp='est1_baixar = 0' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est1 &gt; adc_est1 + 4' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est1_baixar = 1' />
													<exp exp='est1_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est1 = adc_est1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est1_subir = 0' />
													<exp exp='est1_baixar = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est1 = adc_est1 + 1' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='est1_subir = 0' />
															<exp exp='est1_baixar = 0' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est1 = adc_est1 - 1' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='est1_subir = 0' />
																	<exp exp='est1_baixar = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est1 &gt;= 99' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est1_baixar = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est1 &lt;= 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est1_subir = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo8' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset   icon ' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='icon_habilitar = 0 //reset variavel' />
							<exp exp='icon_alarmes_min = 0 // reset variavel' />
						</command>
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (sms_habilitar)' />
							<exp exp='comando = &quot;v1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (habilitar_alarmes_minimos)' />
							<exp exp='comando = &quot;v2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (intrusao_on_off)' />
							<exp exp='comando = &quot;v3.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='Chamar estado alarmes minimos e sms habilitar' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='estado_alarmes_min' />
						<command class_type='call' title='Chamar estado sms habilitar' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='estado_sms_habilitar' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='estado_intrusao' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 8' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 8 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='chamar switch contador' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x0' />
							<argument exp='sms_habilitar' />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x10' />
							<argument exp='habilitar_alarmes_minimos' />
						</command>
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x29' />
							<argument exp='intrusao_on_off' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_temp3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x5' />
							<argument exp='prog_T3' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='estado_intrusao' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='intrusao_on_off = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;intrusao.pic=143&quot; //intrusao on' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;intrusao.pic=142&quot; //intrusao off' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_estado_caldeiras_condutas' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='07/10/25
introducao estado MAN_0_AUT na caldeira 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='14/04/25
introduçao de estado das caldeiras em modo de alarme' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='18/04/25
introduçao de estado de condutas
em funcao do D.M. calor' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='' textmode='1' textarea='76,113,551,413' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_estado_caldeira1 = 1' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 2' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_c1max OR alarme_dmf1 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;f1alarm.val=1&quot; //fundo vermelho para caldeira1' />
													<exp exp='icon_estado_caldeira1 = 0' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='temporario = ToString$(caldeira1_on_off)' />
													<exp exp='comando = &quot;c1stat.val=&quot;' />
													<exp exp='comando = comando + temporario' />
													<exp exp='icon_estado_caldeira1 = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;f1alarm.val=0&quot; //fundo de acordo com o programado caldeira1' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='temporario = ToString$(caldeira1_on_off)' />
													<exp exp='comando = &quot;c1stat.val=&quot;' />
													<exp exp='comando = comando + temporario' />
													<exp exp='icon_estado_caldeira1 = 1' />
												</command>
											</flowline>
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmf1 OR alarme_c1max = 1' swap='0' >
													<flowline >
														<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;f1alarm.val=1&quot; //fundo vermelho para caldeira1' />
															<exp exp='icon_estado_caldeira1 = 1' />
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;f1alarm.val=0&quot; //fundo de acordo com o programado caldeira1' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
														<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off' >
															<case >
																<flowline />
															</case>
															<case exp='0' >
																<flowline >
																	<command class_type='comment' title='' comment='manual' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																	<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;c1.pic=154&quot; //caldeira 1 manual' />
																		<exp exp='icon_estado_caldeira1 = 1' />
																	</command>
																	<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
																	<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='temporario = ToString$(caldeira1_on_off)' />
																		<exp exp='comando = &quot;c1stat.val=&quot;' />
																		<exp exp='comando = comando + temporario' />
																		<exp exp='icon_estado_caldeira1 = 1' />
																	</command>
																</flowline>
															</case>
															<case exp='1' >
																<flowline >
																	<command class_type='comment' title='' comment='desligado' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																	<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;c1.pic=3&quot; //caldeira 1 manual' />
																		<exp exp='icon_estado_caldeira1 = 1' />
																	</command>
																	<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
																	<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='temporario = ToString$(caldeira1_on_off)' />
																		<exp exp='comando = &quot;c1stat.val=&quot;' />
																		<exp exp='comando = comando + temporario' />
																		<exp exp='icon_estado_caldeira1 = 1' />
																	</command>
																</flowline>
															</case>
															<case exp='2' >
																<flowline >
																	<command class_type='comment' title='' comment='automatico' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																	<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;c1.pic=2&quot; //caldeira 1 on' />
																		<exp exp='icon_estado_caldeira1 = 1' />
																	</command>
																	<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
																	<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='temporario = ToString$(caldeira1_on_off)' />
																		<exp exp='comando = &quot;c1stat.val=&quot;' />
																		<exp exp='comando = comando + temporario' />
																		<exp exp='icon_estado_caldeira1 = 1' />
																	</command>
																</flowline>
															</case>
														</command>
													</flowline>
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='caldeira 2' textarea='39,46,39,46' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_estado_caldeira2 = 1' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 3' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_c2max OR alarme_dmf2 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;f2alarm.val=1&quot; //fundo vermelho para caldeira1' />
													<exp exp='icon_estado_caldeira2 = 1' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='temporario = ToString$(caldeira2_on_off)' />
													<exp exp='comando = &quot;c2stat.val=&quot;' />
													<exp exp='comando = comando + temporario' />
													<exp exp='icon_estado_caldeira2 = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;f2alarm.val=0&quot; //fundo de acordo com o programado caldeira1' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='temporario = ToString$(caldeira2_on_off)' />
													<exp exp='comando = &quot;c2stat.val=&quot;' />
													<exp exp='comando = comando + temporario' />
													<exp exp='icon_estado_caldeira2 = 1' />
												</command>
											</flowline>
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmf2 OR alarme_c2max = 1' swap='0' >
													<flowline >
														<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;f2alarm.val=1&quot; //fundo vermelho para caldeira1' />
															<exp exp='icon_estado_caldeira2 = 1' />
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;f2alarm.val=0&quot; //fundo de acordo com o programado caldeira1' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira2_on_off = 1' swap='0' >
															<flowline >
																<command class_type='calculation' title='comando = &quot;c2.pic=4&quot; //caldeira 2 on' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='comando = &quot;c2.pic=4&quot; //caldeira 2 on' />
																	<exp exp='icon_estado_caldeira2 = 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='comando = &quot;c2.pic=5&quot; //caldeira 2 off' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='comando = &quot;c2.pic=5&quot; //caldeira 1 off' />
																	<exp exp='icon_estado_caldeira2 = 1' />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='08/05/25
nao pode fazer referencia ao estado 
da conduta do ar fora da pagina 0' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_conduta1 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmar1' >
											<case >
												<flowline />
											</case>
											<case exp='0' >
												<flowline >
													<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;ar1alarm.val=0&quot; //fundo de acordo com o estado do dma1' />
													</command>
												</flowline>
											</case>
											<case exp='1' >
												<flowline >
													<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;ar1alarm.val=1&quot; //fundo de acordo com o estado do dma1' />
													</command>
												</flowline>
											</case>
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_conduta2 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmar2' >
											<case >
												<flowline />
											</case>
											<case exp='0' >
												<flowline >
													<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;ar2alarm.val=0&quot; //fundo de acordo com o estado do dma2' />
													</command>
												</flowline>
											</case>
											<case exp='1' >
												<flowline >
													<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;ar2alarm.val=1&quot; //fundo de acordo com o estado do dma2' />
													</command>
												</flowline>
											</case>
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='leitura_modulos_jan' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='inicio TX' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_modulos_jan' />
						<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='char = 0' />
							<exp exp='string_geral = &quot;&quot;' />
							<exp exp='string_char = &quot;&quot;' />
							<exp exp='temporario = &quot;&quot;' />
							<exp exp='comando = &quot;&quot;' />
							<exp exp='data_estores = &quot;&quot;' />
							<exp exp='data_fcbaix = &quot;&quot;' />
							<exp exp='data_fcsub = &quot;&quot;' />
							<exp exp='contador = 0' />
						</command>
						<command class_type='comment' title='' comment='inicio RX' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='loop' title='' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='contador = 80' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='04/08/25
time out reduzido de 200 para 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='comment' title='' comment='12*0.200 = 2.4 s' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='2' />
								</command>
								<command class_type='decision' title='' textmode='1' textarea='223,180,698,480' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 61 // =' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='contador = 0' />
										</command>
										<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador = contador + 1' />
								</command>
								<command class_type='comment' title='' comment='19/06/25
teste para tentar corrigir apresentacao grafica 
dos temporizadores no display HMI' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador' >
									<case >
										<flowline />
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
										</flowline>
									</case>
									<case exp='16' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
										</flowline>
									</case>
									<case exp='24' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
										</flowline>
									</case>
									<case exp='32' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
										</flowline>
									</case>
									<case exp='40' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
										</flowline>
									</case>
									<case exp='48' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
										</flowline>
									</case>
									<case exp='56' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
										</flowline>
									</case>
									<case exp='64' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
										</flowline>
									</case>
									<case exp='72' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
										</flowline>
									</case>
									<case exp='80' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='no calculo seguinte vai determinar a cor de fundo 
do respetivo modulo janela para vermelho' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = StringToInt$(numero_modulo_jan)' />
							<exp exp='cont_f_estore_geral = cont_f_estore_geral + 1' />
							<exp exp='contador = 0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_f_estore_geral &gt; 5' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_reset_jan = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='jan_fail = jan_fail + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='jan_fail &gt; 5' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='jan_fail = 5' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
						<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='comment' title='' comment='loop de 6 ciclos para receber dados das 6 janelas de uma só vez' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador_modulos_jan = 1' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='6 //contador_modulos_jan &lt; 6' >
							<flowline >
								<command class_type='calculation' title='reset char' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='data_estores = &quot;&quot;' />
									<exp exp='char = 0' />
								</command>
								<command class_type='comment' title='' comment='reduçao dos tempos de espera de 5 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='1' />
								</command>
								<command class_type='comment' title='' comment='loop para determinar adc da janela' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='loop' title='' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char &gt; 127 // = 255' start='0' >
									<flowline >
										<command class_type='decision' title='char &gt;= 32 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt;= 32' swap='0' >
											<flowline >
												<command class_type='decision' title='char &lt; 127 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 127' swap='1' >
													<flowline />
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 61 //=' swap='0' >
															<flowline >
																<command class_type='goto' title='Goto Connection Point C' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='' />
															</flowline>
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='string_char[0] = char' />
																	<exp exp='data_estores = data_estores + string_char' />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='reduçao dos tempos de espera de 5 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
											<return exp='char' />
											<argument exp='1' />
										</command>
									</flowline>
								</command>
								<command class_type='label' title='Connection Point C' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='C' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='data_fcsub = &quot;&quot;' />
									<exp exp='char = 0' />
								</command>
								<command class_type='comment' title='' comment='loop para determinar fim de curso subir' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='loop' title='' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char &gt; 127 //= 255' start='0' >
									<flowline >
										<command class_type='decision' title='char &gt;= 32 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt;= 32' swap='0' >
											<flowline >
												<command class_type='decision' title='char &lt; 127 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 127' swap='1' >
													<flowline />
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 61 //=' swap='0' >
															<flowline >
																<command class_type='goto' title='Goto Connection Point D' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='3' labelname='' />
															</flowline>
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='string_char[0] = char' />
																	<exp exp='data_fcsub = data_fcsub + string_char' />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='reduçao dos tempos de espera de 5 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
											<return exp='char' />
											<argument exp='1' />
										</command>
									</flowline>
								</command>
								<command class_type='label' title='Connection Point D' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='3' labelname='D' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='data_fcbaix = &quot;&quot;' />
									<exp exp='char = 0' />
								</command>
								<command class_type='comment' title='' comment='loop para determinar fim de curso baixar' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='loop' title='' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char &gt; 127 //  = 255' start='0' >
									<flowline >
										<command class_type='decision' title='char &gt;= 32 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt;= 32' swap='0' >
											<flowline >
												<command class_type='decision' title='char &lt; 127 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 127' swap='1' >
													<flowline />
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 61 //=' swap='0' >
															<flowline >
																<command class_type='goto' title='Goto Connection Point E' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='4' labelname='' />
															</flowline>
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='string_char[0] = char' />
																	<exp exp='data_fcbaix = data_fcbaix + string_char' />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='reduçao dos tempos de espera de 5 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
											<return exp='char' />
											<argument exp='1' />
										</command>
									</flowline>
								</command>
								<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='4' labelname='E' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='char = 0' />
								</command>
								<command class_type='call' title='chamar calculo dados modulos' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_dados_modulos_jan' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_modulos_jan = contador_modulos_jan + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='jan_fail = 0' />
						</command>
						<command class_type='label' title='Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
						<command class_type='comment' title='' comment='aqui pode ser enviado dados dos estores para fins de testes
no display de programaçao dos estores clicar em exponente acelaraçao
para ativar os txt correspondentes' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='display_dados_jan = 1' swap='1' >
									<flowline />
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_dados_jan' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_temp2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='eeprom 0x9 prog T2' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x9' />
							<argument exp='prog_T2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='estado_alarmes_min' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='habilitar_alarmes_minimos' textmode='1' textarea='36,25,511,325' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='habilitar_alarmes_minimos' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='decision' title='numero_pagina = 0' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 0' swap='0' >
										<flowline >
											<command class_type='decision' title='icon_alarmes_min = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_alarmes_min = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='calculation' title=' comando = &quot;p3.pic=35&quot;//alarmes min off' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;p3.pic=35&quot; //alarmes min off' />
														<exp exp='icon_alarmes_min = 1' />
													</command>
													<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
												</flowline>
											</command>
										</flowline>
										<flowline >
											<command class_type='decision' title='icon_alarmes_min = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_alarmes_min = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='comando = &quot;MIN.pic=32&quot; //ALARMES MIN off' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;MIN.pic=32&quot; //ALARMES MIN OFF' />
														<exp exp='icon_alarmes_min = 1' />
													</command>
													<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='decision' title='numero_pagina = 0' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 0' swap='0' >
										<flowline >
											<command class_type='decision' title='icon_alarmes_min = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_alarmes_min = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='calculation' title=' comando = &quot;p3.pic=34&quot;//alarmes min on' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;p3.pic=34&quot; //alarmes min on' />
														<exp exp='icon_alarmes_min = 1' />
													</command>
													<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
												</flowline>
											</command>
										</flowline>
										<flowline >
											<command class_type='decision' title='icon_alarmes_min = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_alarmes_min = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='comando = &quot;MIN.pic=33&quot; //ALARMES MIN oN' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='comando = &quot;MIN.pic=33&quot; //ALARMES MIN ON' />
														<exp exp='icon_alarmes_min = 1' />
													</command>
													<command class_type='label' title='Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_ventila' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x11' />
							<argument exp='man0aut_ventil1' />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x12' />
							<argument exp='man0aut_ventil2' />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x1f' />
							<argument exp='man0aut_ventil3' />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x20' />
							<argument exp='man0aut_ventil4' />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x13' />
							<argument exp='percentual' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil1 = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x2e' />
									<argument exp='pwmv1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_3 = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil2 = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x2f' />
									<argument exp='pwmv2' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_6 = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil3 = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x30' />
									<argument exp='pwmv3' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_9 = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil4 = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x31' />
									<argument exp='pwmv4' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_10 = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_flash_alarme' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='estado_de_alarme = 1' swap='1' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='timer3_ativo = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='comment' title='' comment='aqui existia uma interrupt para
controlar a macro :flash_led_alarm
desativar interrupt' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='led_alarmes = 0' />
											<exp exp='timer3_ativo = 0' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tm5.en=0&quot;' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;vis sino,0&quot;' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;t0.pco=65504&quot; //amarelo' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tm0.en=1&quot; //ativar temporizador iluminacao display' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='timer3_ativo = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='comment' title='' comment='aqui existia uma interrupt para
controlar a macro :flash_led_alarm
ativar interrupt' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='timer3_ativo = 1' />
											<exp exp='led_alarmes = 1' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tm5.en=1&quot;' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='comment' title='' comment='o calculo para o comando da cor do t0 
era feita aqui procedida da macro 
tres_ciclos_ff

agora está a ser feito individualmente
em cada control de alarme

comando = &quot;t0.pco=63488&quot; //vermelho' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;dim=100&quot; //iluminacao display 100%' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tm0.en=0&quot; //parar temporizador iluminacao display' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_batt1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt1_int &lt;= 385' swap='0' >
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_batt1 &gt;= 5' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_batt1 = alarme_batt1 + 1' />
										</command>
										<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_batt1 &lt; 5' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='//alarme_batt1 = 1' />
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;BATERIA BAIXA SENSOR 1!&quot;' />
													<exp exp='aviso_alarme = 0' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_estores1_2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est1 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 100 - adc_est1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;j1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est2 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 100 - adc_est2' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;j2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;jan1.val=j1.val&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;jan2.val=j2.val&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo7' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_eeprom' />
						<command class_type='calculation' title='reset   icon_climatiza ' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='icon_climatiza1 = 0' />
							<exp exp='icon_climatiza2 = 0' />
							<exp exp='icon_climatiza3 = 0' />
							<exp exp='icon_climatiza4 = 0' />
							<exp exp='ciclo_switch = 0' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_man_0_auto_ventil' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = percentual' />
							<exp exp='temporario_byte = temporario_byte * 10' />
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;expv.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='teste para valor cursor v1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = pwmv1' />
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;h0.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = pwmv2' />
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;h1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = pwmv3' />
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;h2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = pwmv4' />
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;h3.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='Chamar estado ventiladores' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='estado_ventiladores' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 7' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 7 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='chamar switch contador' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_ventila' />
						<command class_type='call' title='Chamar dados eeprom' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_eeprom' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_dados_modulos' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_modulos_rf' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temp_negativa = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_temp &gt; 3' swap='0' >
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,4)' />
														<exp exp='temp_aviario1 = temporario' />
														<exp exp='adc_temp_1 = 0' />
														<exp exp='hum_1 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,3)' />
														<exp exp='temp_aviario1 = temporario' />
														<exp exp='adc_temp_1 = 0' />
														<exp exp='hum_1 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
											</command>
										</flowline>
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_temp &gt; 3' swap='0' >
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,4)' />
														<exp exp='temp_aviario1 = temporario' />
														<exp exp='temporario = Left$ (temporario,3)' />
														<exp exp='adc_temp_1 = StringToInt$ (temporario)' />
														<exp exp='hum_1 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,3)' />
														<exp exp='temp_aviario1 = temporario' />
														<exp exp='temporario = Left$ (temporario,2)' />
														<exp exp='adc_temp_1 = StringToInt$ (temporario)' />
														<exp exp='hum_1 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
											</command>
										</flowline>
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='batt1 = data_batt' />
										<exp exp='batt1_int = StringToInt$ (batt1)' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temp_negativa = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_temp &gt;= 3' swap='0' >
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,4)' />
														<exp exp='temp_aviario2 = temporario' />
														<exp exp='adc_temp_2 = 0' />
														<exp exp='hum_2 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,3)' />
														<exp exp='temp_aviario2 = temporario' />
														<exp exp='adc_temp_2 = 0' />
														<exp exp='hum_2 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
											</command>
										</flowline>
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_temp &gt; 3' swap='0' >
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,4)' />
														<exp exp='temp_aviario2 = temporario' />
														<exp exp='temporario = Left$ (temporario,3)' />
														<exp exp='adc_temp_2 = StringToInt$ (temporario)' />
														<exp exp='hum_2 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,3)' />
														<exp exp='temp_aviario2 = temporario' />
														<exp exp='temporario = Left$ (temporario,2)' />
														<exp exp='adc_temp_2 = StringToInt$ (temporario)' />
														<exp exp='hum_2 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
											</command>
										</flowline>
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='batt2 = data_batt' />
										<exp exp='batt2_int = StringToInt$ (batt2)' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temp_negativa = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_temp &gt;= 3' swap='0' >
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,4)' />
														<exp exp='temp_aviario3 = temporario' />
														<exp exp='adc_temp_3 = 0' />
														<exp exp='hum_3 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,3)' />
														<exp exp='temp_aviario3 = temporario' />
														<exp exp='adc_temp_3 = 0' />
														<exp exp='hum_3 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
											</command>
										</flowline>
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_temp &gt; 3' swap='0' >
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,4)' />
														<exp exp='temp_aviario3 = temporario' />
														<exp exp='temporario = Left$ (temporario,3)' />
														<exp exp='adc_temp_3 = StringToInt$ (temporario)' />
														<exp exp='hum_3 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,3)' />
														<exp exp='temp_aviario3 = temporario' />
														<exp exp='temporario = Left$ (temporario,2)' />
														<exp exp='adc_temp_3 = StringToInt$ (temporario)' />
														<exp exp='hum_3 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
											</command>
										</flowline>
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='batt3 = data_batt' />
										<exp exp='batt3_int = StringToInt$ (batt3)' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temp_negativa = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_temp &gt;= 3' swap='0' >
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,4)' />
														<exp exp='temp_aviario4 = temporario' />
														<exp exp='adc_temp_4 = 0' />
														<exp exp='hum_4 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,3)' />
														<exp exp='temp_aviario4 = temporario' />
														<exp exp='adc_temp_4 = 0' />
														<exp exp='hum_4 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
											</command>
										</flowline>
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_temp &gt; 3' swap='0' >
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,4)' />
														<exp exp='temp_aviario4 = temporario' />
														<exp exp='temporario = Left$ (temporario,3)' />
														<exp exp='adc_temp_4 = StringToInt$ (temporario)' />
														<exp exp='hum_4 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='temporario = Left$ (data_temp,3)' />
														<exp exp='temp_aviario4 = temporario' />
														<exp exp='temporario = Left$ (temporario,2)' />
														<exp exp='adc_temp_4 = StringToInt$ (temporario)' />
														<exp exp='hum_4 = StringToInt$ (data_humid)' />
													</command>
												</flowline>
											</command>
										</flowline>
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='batt4 = data_batt' />
										<exp exp='batt4_int = StringToInt$ (batt4)' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_man_0_auto_ventil' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;v1.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (man0aut_ventil1)' />
							<exp exp='comando = &quot;v1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='comando = &quot;v2.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (man0aut_ventil2)' />
							<exp exp='comando = &quot;v2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (man0aut_ventil3)' />
							<exp exp='comando = &quot;v3.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (man0aut_ventil4)' />
							<exp exp='comando = &quot;v4.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_temp1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='eeprom 0x8 prog T1' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x8' />
							<argument exp='prog_T1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='nova_sms_rec' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;AT+CMGL=\&quot;REC UNREAD\&quot;&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CMGL=\&quot;REC UNREAD\&quot;&quot;' />
							<exp exp='string2 = &quot;&quot;' />
							<exp exp='string3 = &quot;&quot;' />
							<exp exp='VIRGULAS_NUM = 0' />
							<exp exp='tamanho_str_humid = 0' />
							<exp exp='clock_rede = &quot;&quot;' />
						</command>
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='char = 0' />
							<exp exp='contador = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='loop' title='1 ciclo' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char = 43 // +' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='reduçao dos tempos de espera de 20 ms para 2 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='2' />
								</command>
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador &gt;= 5' swap='0' >
									<flowline >
										<command class_type='calculation' title='reset contador' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='contador = 0' />
										</command>
										<command class_type='goto' title='VaiPara Ponto de ligação C' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador = contador + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='reset contador' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador = 0' />
						</command>
						<command class_type='loop' title='char &lt;&gt; 255' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='0' exp='char &lt;&gt; 255' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='reduçao dos tempos de espera de 10 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='char &gt; 32' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt; 32' swap='0' >
									<flowline >
										<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='CHAR &lt; 127' swap='1' >
											<flowline />
											<flowline >
												<command class_type='switch' title='Switch VIRGULAS_NUM' textmode='1' textarea='36,25,511,325' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='VIRGULAS_NUM' >
													<case >
														<flowline />
													</case>
													<case exp='3' >
														<flowline >
															<command class_type='comment' title='' comment='aqui tira o numero' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
															<command class_type='switch' title='Switch' textmode='1' textarea='36,25,511,325' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
																<case >
																	<flowline >
																		<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																			<exp exp='string_char[0] = char' />
																			<exp exp='STRING2 = STRING2 + string_char' />
																		</command>
																	</flowline>
																</case>
																<case exp='34 //&quot;' >
																	<flowline />
																</case>
																<case exp='44 //,' >
																	<flowline />
																</case>
																<case exp='43 //+' >
																	<flowline />
																</case>
															</command>
														</flowline>
													</case>
													<case exp='8' >
														<flowline >
															<command class_type='comment' title='' comment='aqui tira o tipo de comando a ser processado' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
															<command class_type='switch' title='Switch' textmode='1' textarea='36,25,511,325' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
																<case >
																	<flowline >
																		<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																			<exp exp='string_char[0] = char' />
																			<exp exp='string3 = string3 + string_char' />
																		</command>
																	</flowline>
																</case>
																<case exp='34 //&quot;' >
																	<flowline />
																</case>
																<case exp='43 //+' >
																	<flowline />
																</case>
																<case exp='44 //,' >
																	<flowline />
																</case>
															</command>
														</flowline>
													</case>
													<case exp='7' >
														<flowline >
															<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='// +CMGL: 1,&quot;REC UNREAD&quot;,&quot;+351918155032&quot;,&quot;&quot;,&quot;16/12/27,19:11:21+00&quot;acertar&quot;relogio&quot;' />
															</command>
															<command class_type='decision' title='char = 34' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 34' swap='0' >
																<flowline />
																<flowline >
																	<command class_type='calculation' title='obter relogio da rede' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='string_char[0] = char' />
																		<exp exp='clock_rede = clock_rede + string_char' />
																	</command>
																</flowline>
															</command>
														</flowline>
													</case>
												</command>
												<command class_type='decision' title='char = 34' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 34' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='VIRGULAS_NUM = VIRGULAS_NUM + 1' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='char = 10 quer dizer avanço de linha 
deve ser igual a 3 avanços para completar a mensagem recebida' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='decision' title='contador &gt;= 2' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador &gt;= 2' swap='0' >
											<flowline >
												<command class_type='decision' title='char = 10' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 10' swap='0' >
													<flowline >
														<command class_type='comment' title='' comment='meter aqui : contador = 0' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='contador = 0' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador = 0' />
														</command>
														<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='char = 10' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 10' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo contador = contador + 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador = contador + 1' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='calculation' title='descodificaçao numero (tel.) e sms' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='numero = Left$(STRING2,13)' />
							<exp exp='numero = Right$(numero,9) //retira o numero sem indicativo' />
							<exp exp='tamanho_str_humid = Length$(string3)' />
							<exp exp='string_geral = Right$(string3,tamanho_str_humid) // colocar aqui : text_recebido = Right$ (rs232_result,length_str)' />
							<exp exp='byte_result = 1' />
							<exp exp='//length_str = 0 // colocar aqui: length_str = 0' />
							<exp exp='contador = 0 // colocar aqui : contador = 0' />
							<exp exp='VIRGULAS_NUM = 0' />
						</command>
						<command class_type='call' title='Chamar control processamaento' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_processamento' />
						<command class_type='label' title='Ponto de ligação C' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='C' />
					</flowline>
				</macro>
				<macro >
					<flowline name='switch_contador' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='6/09/25
alteraçao de contagem para mudança de eventos:
estava de 15 em 15
passou a 5 em 5' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='teste 04/10/25
chamar aqui : control alarmes' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_alarmes' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador1 = contador1 + 1' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador1' >
							<case >
								<flowline />
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='call' title='Chamar entradas IO' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='entradas_IO' />
									<command class_type='comment' title='' comment='aqui chamava as macros:
calculo_estores1
calculo_estores2
calculo_estores3
calculo_estores4
calculo_estores5
calculo_estores6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores1_2' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores3_4' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores5_6' />
											<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_fundojan_page' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='10' >
								<flowline >
									<command class_type='comment' title='' comment='a considerar :
1 = automatico
0 = manual' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est1 = 1' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='em teste a chamada da proxima macro' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 13' swap='0' >
												<flowline />
												<flowline >
													<command class_type='comment' title='' comment='chamar calculo_estores1
chamar control_estores1
chamar control_fcds_com_jan1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores1' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores1' />
													<command class_type='comment' title='' comment='25/02/26
passou a chamar a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan1' />
												</flowline>
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='15' >
								<flowline >
									<command class_type='comment' title='' comment='control alarmes' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='comment' title='' comment='aqui chamava as macros:
calculo_estores1
calculo_estores2
calculo_estores3
calculo_estores4
calculo_estores5
calculo_estores6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores1_2' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores3_4' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores5_6' />
											<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_fundojan_page' />
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='20' >
								<flowline >
									<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 10' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='leitura_analogica' />
											<command class_type='call' title='Chamar display prog sens fumo' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_prog_sens_fumo' />
										</flowline>
										<flowline />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est2 = 1' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='em teste a chamada da proxima macro' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 13' swap='0' >
												<flowline />
												<flowline >
													<command class_type='comment' title='' comment='chamar calculo_estores2
chamar control_estores2
chamar control_fcds_com_jan2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores2' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores2' />
													<command class_type='comment' title='' comment='25/02/26
passou a chamar a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan2' />
												</flowline>
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='25' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 9' swap='1' >
										<flowline />
										<flowline >
											<command class_type='comment' title='' comment='74hc4052 modulos T&amp;H' textarea='36,-18,36,-18' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
										</flowline>
									</command>
									<command class_type='comment' title='' comment='aqui chamava as macros:
calculo_estores1
calculo_estores2
calculo_estores3
calculo_estores4
calculo_estores5
calculo_estores6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores1_2' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores3_4' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores5_6' />
											<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_fundojan_page' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='30' >
								<flowline >
									<command class_type='call' title='Chamar entradas IO' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='entradas_IO' />
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est3 = 1' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='em teste a chamada da proxima macro' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 13' swap='0' >
												<flowline />
												<flowline >
													<command class_type='comment' title='' comment='chamar calculo_estores3
chamar control_estores3
chamar control_fcds_com_jan3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores3' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores3' />
													<command class_type='comment' title='' comment='25/02/26
passou a chamar a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan3' />
												</flowline>
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='35' >
								<flowline >
									<command class_type='call' title='Chamar entradas IO' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='entradas_IO' />
									<command class_type='comment' title='' comment='aqui chamava as macros:
calculo_estores1
calculo_estores2
calculo_estores3
calculo_estores4
calculo_estores5
calculo_estores6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores1_2' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores3_4' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores5_6' />
											<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_fundojan_page' />
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='40' >
								<flowline >
									<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 10' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='leitura_analogica' />
											<command class_type='call' title='Chamar display prog sens fumo' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_prog_sens_fumo' />
										</flowline>
										<flowline />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est4 = 1' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='em teste a chamada da proxima macro' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 13' swap='0' >
												<flowline />
												<flowline >
													<command class_type='comment' title='' comment='chamar calculo_estores4
chamar control_estores4
chamar control_fcds_com_jan4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores4' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores4' />
													<command class_type='comment' title='' comment='25/02/26
passou a chamar a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan4' />
												</flowline>
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='45' >
								<flowline >
									<command class_type='comment' title='' comment='control alarmes' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='comment' title='' comment='aqui chamava as macros:
calculo_estores1
calculo_estores2
calculo_estores3
calculo_estores4
calculo_estores5
calculo_estores6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores1_2' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores3_4' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores5_6' />
											<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_fundojan_page' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='50' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est5 = 1' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='em teste a chamada da proxima macro' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 13' swap='0' >
												<flowline />
												<flowline >
													<command class_type='comment' title='' comment='chamar calculo_estores5
chamar control_estores5
chamar control_fcds_com_jan5' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores5' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores5' />
													<command class_type='comment' title='' comment='25/02/26
passou a chamar a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fdcs_com_jan5' />
												</flowline>
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador1' >
							<case >
								<flowline />
							</case>
							<case exp='55' >
								<flowline >
									<command class_type='comment' title='' comment='aqui chamava as macros:
calculo_estores1
calculo_estores2
calculo_estores3
calculo_estores4
calculo_estores5
calculo_estores6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores1_2' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores3_4' />
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores5_6' />
											<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_fundojan_page' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='60' >
								<flowline >
									<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 10' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='leitura_analogica' />
											<command class_type='call' title='Chamar display prog sens fumo' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_prog_sens_fumo' />
										</flowline>
										<flowline />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='contador1 = 0' />
										<exp exp='ciclo_switch = ciclo_switch + 1' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est6 = 1' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='em teste a chamada da proxima macro' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 13' swap='0' >
												<flowline />
												<flowline >
													<command class_type='comment' title='' comment='chamar calculo_estores6
chamar control_estores6
chamar control_fcds_com_jan6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores6' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores6' />
													<command class_type='comment' title='' comment='25/02/26
passou a chamar a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fdcs_com_jan6' />
												</flowline>
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='manual_estores' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='a considerar :
1 = automatico
0 = manual' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='estore 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est1 = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est1 &lt;= 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est1_subir = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est1 &gt;= 98' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est1_baixar = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan1' />
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='estore 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est2 = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est2 &lt;= 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est2_subir = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est2 &gt;= 98' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est2_baixar = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan2' />
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='estore 3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est3 = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est3 &lt;= 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est3_subir = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est3 &gt;= 98' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est3_baixar = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan3' />
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='estore 4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est4 = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est4 &lt;= 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est4_subir = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est4 &gt;= 98' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est4_baixar = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan4' />
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='estores 5

14/03/24
adiçao de 2 estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est5 = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est5 &lt;= 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est5_subir = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est5 &gt;= 98' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est5_baixar = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fdcs_com_jan5' />
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='estores 6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est6 = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est6 &lt;= 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est6_subir = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est6 &gt;= 98' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est6_baixar = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fdcs_com_jan6' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_H4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;h4.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (hum_4)' />
							<exp exp='comando = &quot;h4.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo6' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='como de momento não está previsto o teste dos estores na funcao &quot; testes em manual&quot;
as saidas dos relé dos estores devem ser desligadas para evitar avarias...' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_saidas' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='manual_estado_botoes' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='est1_baixar = 0' />
							<exp exp='est1_subir = 0' />
							<exp exp='est2_baixar = 0' />
							<exp exp='est2_subir = 0' />
							<exp exp='est3_baixar = 0' />
							<exp exp='est3_subir = 0' />
							<exp exp='est4_baixar = 0' />
							<exp exp='est4_subir = 0' />
							<exp exp='est5_baixar = 0' />
							<exp exp='est5_subir = 0' />
							<exp exp='est6_baixar = 0' />
							<exp exp='est6_subir = 0' />
							<exp exp='ciclo_switch = 0' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_saidas = &quot;&quot;' />
						</command>
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 6' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 6 OR ciclo_switch &gt;= 1000' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='ciclo_switch = ciclo_switch + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='ciclo_switch = 0' />
						</command>
						<command class_type='calculation' title='reset todas as saidas' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='out_7 = 0' />
							<exp exp='out_8 = 0' />
							<exp exp='out_1 = 0' />
							<exp exp='out_2 = 0' />
							<exp exp='out_3 = 0' />
							<exp exp='out_4 = 0' />
							<exp exp='out_5 = 0' />
							<exp exp='out_6 = 0' />
							<exp exp='out_9 = 0' />
							<exp exp='out_10 = 0' />
							<exp exp='out_11 = 0' />
							<exp exp='out_12 = 0' />
							<exp exp='out_13 = 0' />
							<exp exp='out_14 = 0' />
							<exp exp='estado_s1 = &quot;S1off&quot;' />
							<exp exp='estado_s2 = &quot;S2off&quot;' />
							<exp exp='estado_s3 = &quot;S3off&quot;' />
							<exp exp='estado_s4 = &quot;S4off&quot;' />
							<exp exp='estado_s5 = &quot;S5off&quot;' />
							<exp exp='estado_s6 = &quot;S6off&quot;' />
							<exp exp='estado_s7 = &quot;S7off&quot;' />
							<exp exp='estado_s8 = &quot;S8off&quot;' />
							<exp exp='estado_s9 = &quot;s9off&quot;' />
							<exp exp='estado_s10 = &quot;s10off&quot;' />
							<exp exp='estado_s11 = &quot;s11off&quot;' />
							<exp exp='estado_s12 = &quot;s12off&quot;' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='modem_gravar' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//length_str = Length$ (temporario)' />
							<exp exp='tamanho_str_humid = Length$ (numero)' />
						</command>
						<command class_type='decision' title='length_str &lt; 9' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_humid &lt; 9' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='aqui e onde apaga o contacto' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='&quot;AT+CPBW=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario = ToString$ (pos_mem_telefone)' />
									<exp exp='comando = &quot;AT+CPBW=&quot;' />
									<exp exp='comando = comando + temporario' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
									<argument exp='comando' />
								</command>
								<command class_type='call' title='Chamar CR LF ' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='numero = temporario' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='//numero = temporario' />
									<exp exp='temporario = ToString$ (pos_mem_telefone)' />
								</command>
								<command class_type='calculation' title='&quot;AT+CPBW=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;AT+CPBW=&quot;' />
									<exp exp='comando = comando + temporario // pos_mem_telefone (variavel convertida)' />
									<exp exp='comando = comando + &quot;,&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + numero' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;,&quot;' />
									<exp exp='comando = comando + &quot;129&quot;' />
									<exp exp='comando = comando + &quot;,&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + nome' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
									<argument exp='comando' />
								</command>
								<command class_type='call' title='Chamar CR LF ' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_H3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;h3.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (hum_3)' />
							<exp exp='comando = &quot;h3.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo5' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;histereseT.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (histerese_T)' />
							<exp exp='comando = &quot;histereseT.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (prog_T3)' />
							<exp exp='comando = &quot;T1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (prog_T4)' />
							<exp exp='comando = &quot;T2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='PODE CHAMAR TEMPERATURA ACTUAL' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t3' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t4' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 5' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 5 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='chamar switch contador' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador = 150' swap='0' >
									<flowline >
										<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t3' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t4' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='Chamar prog histerese T' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_histerese_T' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_temp3' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_temp4' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='timer_3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='pulso_nublizacao4 = pulso_nublizacao4 + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pulso_nublizacao4 = 38 //160' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='segundo5 = segundo5 + 1' />
									<exp exp='pulso_nublizacao4 = 0' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='segundo5 &gt; 59' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='minuto5 = minuto5 + 1' />
											<exp exp='segundo5 = 0' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='minuto5 &gt; 9' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='minuto5 = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_nubliza4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_4 &gt; prog_T4 + histerese_t' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer4 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='1' name='TMR4' call='timer_3' >
											<settings timer='1' prescale='8' postscale='-1' rollover='65536' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='1' />
												<option value='65536' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
											</settings>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='byte_timer4 = 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer4 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='minuto_str = ToString$ (minuto5)' />
											<exp exp='segundo_str = ToString$ (segundo5)' />
											<exp exp='temporario_byte = Length$ (minuto_str)' />
										</command>
										<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_temporiza' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub4.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + temporario' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
										</command>
										<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
								<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_clock_timers' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_nubliza4_on &gt;= tempo_on_nubliza2' swap='0' >
									<flowline >
										<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_12 = 0' swap='0' >
											<flowline >
												<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_nubliza4_off &gt;= tempo_off_nubliza2' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador_nubliza4_on = 0 // reset' />
															<exp exp='minuto5 = 0' />
															<exp exp='segundo5 = 0' />
														</command>
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador_nubliza4_off = StringToInt$ (temporario)' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_12 = 0' />
													<exp exp='estado_s12 = &quot;S12off&quot;' />
													<exp exp='minuto5 = 0' />
													<exp exp='segundo5 = 0' />
													<exp exp='reset_icone_nubliza4 = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='reset_icone_nubliza4 = 1 OR numero_pagina &lt;&gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tnub4.pic=48&quot; //fundo cinza off' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='contador_nubliza4_on = StringToInt$ (temporario)' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_12 = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_12 = 1' />
													<exp exp='estado_s12 = &quot;S12 on&quot;' />
													<exp exp='contador_nubliza4_off = 0 // reset contador nubliza4 off' />
													<exp exp='reset_icone_nubliza4 = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='reset_icone_nubliza4 = 1 OR numero_pagina &lt;&gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tnub4.pic=49&quot; //fundo verde on' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_4 &lt;= (prog_T4 + 1)' swap='1' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer4 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='0' name='TMR4' >
											<settings timer='1' prescale='1' postscale='-1' rollover='0' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
											</settings>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_12 = 0' />
											<exp exp='estado_s12 = &quot;S12off&quot;' />
											<exp exp='minuto5 = 0' />
											<exp exp='segundo5 = 0' />
											<exp exp='byte_timer4 = 0' />
											<exp exp='contador_nubliza4_on = 0' />
											<exp exp='contador_nubliza4_off = 0' />
											<exp exp='reset_icone_nubliza4 = 0' />
										</command>
										<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub4.pic=39&quot; //fundo azul standby' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub4.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + &quot;--:--&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_pwmf1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='man-0-aut m.f1' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x32' />
									<argument exp='pwmf1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_1 = 0 // desliga relay motor f1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_processamento' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='decision' title='length_str = 0' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_humid = 0' swap='1' >
							<flowline >
								<command class_type='comment' title='' comment='aqui tinha chamar numeros telemovel' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='comment' title='' comment='print &quot;sms recebido&quot;' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;t0.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;sms recebido:&quot;' />
									<exp exp='comando = comando + numero' />
									<exp exp='comando = comando + &quot; &quot;' />
									<exp exp='comando = comando + string_geral' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
								</command>
								<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='contador_sms_in = contador_sms_in + 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_sms_in = contador_sms_in + 1' />
								</command>
								<command class_type='call' title='eeprom write contador_sms 0x1' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x1' />
									<argument exp='contador_sms_in' />
								</command>
								<command class_type='call' title='eeprom estado contador sms' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
									<return exp='contador_sms_in' />
									<argument exp='0x1' />
								</command>
								<command class_type='delay' title='Atraso' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='2' type='2' />
								<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_sms_in &gt; 5' swap='0' >
									<flowline >
										<command class_type='calculation' title='reset contador sms in' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='contador_sms_in = 0' />
											<exp exp='temporario = &quot;a apagar sms box&quot;' />
										</command>
										<command class_type='calculation' title='comando = comando + temporario' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;t0.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + temporario' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
										</command>
										<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='call' title='Chamar apagar sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='apagar_sms' />
										<command class_type='comment' title='' comment='print temporario' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='calculation' title='reset temporario' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario = &quot;&quot;' />
										</command>
										<command class_type='delay' title='Atraso' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='5' type='2' />
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_sms_in = contador_sms_in + 1' />
								</command>
								<command class_type='call' title='eeprom guardar contagem sms' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x1' />
									<argument exp='contador_sms_in' />
								</command>
								<command class_type='comment' title='' comment='print numero recebido' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='delay' title='Atraso' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='2' type='2' />
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='string_geral = left$ (string_geral,4)' />
									<exp exp='numero_compara = Compare$ (reset,string_geral,1)' />
								</command>
								<command class_type='decision' title='reset remoto' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_compara = 0' swap='0' >
									<flowline >
										<command class_type='call' title='Chamar reset remoto' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='reset_remoto' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='string_geral = left$ (string_geral,4)' />
											<exp exp='numero_compara = Compare$ (estado,string_geral,1)' />
										</command>
										<command class_type='decision' title='pedir estado' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_compara = 0' swap='0' >
											<flowline >
												<command class_type='call' title='Chamar pedido de estado' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='pedido_estado' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='numero_compara =(string_geral,alarme_on,1)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='numero_compara = Compare$ (alarme_on,string_geral,1)' />
												</command>
												<command class_type='decision' title='intrusao on' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_compara = 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='intrusao_on_off = 1' />
														</command>
														<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='remoto_intrusao' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='numero_compara = (string_geral,alarme_off,1)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='numero_compara = Compare$ (alarme_off,string_geral,1)' />
														</command>
														<command class_type='decision' title='intrusao off' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_compara = 0' swap='0' >
															<flowline >
																<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='intrusao_on_off = 0' />
																</command>
																<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='remoto_intrusao' />
															</flowline>
															<flowline >
																<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='numero_compara = Compare$ (cclk,string_geral,1)' />
																</command>
																<command class_type='decision' title='acertar relogio' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_compara = 0' swap='0' >
																	<flowline >
																		<command class_type='comment' title='' comment='03/02/18
aqui estava chamar acertar relogio' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																		<command class_type='call' title='Chamar clock set' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='clock_set' />
																		<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_result &lt;&gt; 0' swap='0' >
																			<flowline >
																				<command class_type='comment' title='' comment='temporario' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																				<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																					<exp exp='comando = &quot;t0.txt=&quot;' />
																					<exp exp='comando = comando + &quot;\&quot;&quot;' />
																					<exp exp='comando = comando + &quot;erro ao acertar relogio&quot;' />
																					<exp exp='comando = comando + &quot;\&quot;&quot;' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='comment' title='' comment='temporario' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																				<command class_type='comment' title='' comment='&quot;clock set ok&quot;' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																				<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																					<exp exp='comando = &quot;t0.txt=&quot;' />
																					<exp exp='comando = comando + &quot;\&quot;&quot;' />
																					<exp exp='comando = comando + &quot;acerto relogio ok&quot;' />
																					<exp exp='comando = comando + &quot;\&quot;&quot;' />
																				</command>
																			</flowline>
																		</command>
																		<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
																		<command class_type='delay' title='Atraso 5 s' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='5' type='2' />
																	</flowline>
																	<flowline />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='delay' title='Atraso' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='1' type='2' />
								<command class_type='comment' title='' comment='se optar por modulo segurança de numeros
deve usar o ponto de ligaçao A aqui' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = string_geral' />
									<exp exp='comando = right$ (comando,4)' />
								</command>
								<command class_type='call' title='Chamar DADOS EEPROM' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_eeprom' />
								<command class_type='comment' title='' comment='ao fazer reset a aviso_alarme vai fazer com que 
se houver estado de alarme o texto &quot;t0&quot; vai informar esse evento' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='//flash_led = 0' />
									<exp exp='icon_sms = 0' />
									<exp exp='icon_climatiza1 = 0' />
									<exp exp='icon_climatiza2 = 0' />
									<exp exp='icon_estado_caldeira1 = 0' />
									<exp exp='icon_estado_caldeira2 = 0' />
									<exp exp='aviso_alarme = 0' />
									<exp exp='contador_display_adcs = 121 //para fazer mostrar todas as adcs' />
									<exp exp='icon_habilitar = 0 //reset variavel' />
									<exp exp='icon_alarmes_min = 0 // reset variavel' />
								</command>
								<command class_type='call' title='Chamar sem ocurrencias txt' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sem_ocurrencias_txt' />
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_H2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='print display_hum2' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = &quot;h.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$(hum_2)' />
							<exp exp='H2 = temporario' />
							<exp exp='comando = &quot;h2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='reset_remoto' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='byte_sms_reset = byte_sms_reset + 1' />
						</command>
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;dim=100&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;tm0.en=1&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_sms_reset &gt; 3' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='texto = &quot;maximo reset remoto verifique equipamento!&quot;' />
									<exp exp='byte_onboard_stat = 1 // para obrigar a verificar o equipamento nao vai poder pedir o estado' />
								</command>
								<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;t0.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;numero maximo reset remoto&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
								</command>
								<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='2' type='2' />
								<command class_type='call' title='Chamar enviar sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='enviar_sms' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario = ToString$(byte_sms_reset)' />
									<exp exp='comando = &quot;t0.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;reset remoto ok-&quot;' />
									<exp exp='comando = comando + temporario' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
								</command>
								<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='2' type='2' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculos_reset' />
								<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
							</flowline>
						</command>
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='2' type='2' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_prog_sens_fumo' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;fumo.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (adc_senfumo)' />
							<exp exp='comando = &quot;fumo.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_avarias' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + texto_de_alarme' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='rotina_pagina_1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;page 1&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='numero_pagina = 1' />
							<exp exp='comando = &quot;page 1&quot;' />
						</command>
						<command class_type='call' title='Chamar 3x255' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='PWM_on_off' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv1 = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM1' macro='Disable' />
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil1' >
									<case >
										<flowline />
									</case>
									<case exp='0 //manual' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM1' macro='Enable' />
										</flowline>
									</case>
									<case exp='1 //off' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM1' macro='Disable' />
										</flowline>
									</case>
									<case exp='2 //auto' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_3 = 0' swap='0' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM1' macro='Disable' />
												</flowline>
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM1' macro='Enable' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv2 = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM2' macro='Disable' />
							</flowline>
							<flowline >
								<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil2' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM2' macro='Enable' />
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM2' macro='Disable' />
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_6 = 0' swap='0' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM2' macro='Disable' />
												</flowline>
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM2' macro='Enable' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv3 = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM3' macro='Disable' />
							</flowline>
							<flowline >
								<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil3' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM3' macro='Enable' />
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM3' macro='Disable' />
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_9 = 0' swap='0' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM3' macro='Disable' />
												</flowline>
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM3' macro='Enable' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv4 = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM4' macro='Disable' />
							</flowline>
							<flowline >
								<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil4' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM4' macro='Enable' />
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM4' macro='Disable' />
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_10 = 0' swap='0' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM4' macro='Disable' />
												</flowline>
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM4' macro='Enable' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;histereseT.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (histerese_T)' />
							<exp exp='comando = &quot;histereseT.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='comando = &quot;T1.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (prog_T1)' />
							<exp exp='comando = &quot;T1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (prog_T2)' />
							<exp exp='comando = &quot;T2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='PODE CHAMAR TEMPERATURA ACTUAL' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
						<command class_type='call' title='Chamar display t1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t1' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t2' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 4' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 4 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='chamar switch contador' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador = 150' swap='0' >
									<flowline >
										<command class_type='call' title='Chamar display t1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t1' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_t2' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='Chamar prog histerese T' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_histerese_T' />
						<command class_type='call' title='Chamar prog TEMP1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_temp1' />
						<command class_type='call' title='Chamar prog TEMP2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_temp2' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='timer_2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='pulso_nublizacao3 = pulso_nublizacao3 + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pulso_nublizacao3 = 38 //160' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='segundo4 = segundo4 + 1' />
									<exp exp='pulso_nublizacao3 = 0' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='segundo4 &gt; 59' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='minuto4 = minuto4 + 1' />
											<exp exp='segundo4 = 0' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='minuto4 &gt; 9' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='minuto4 = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_nubliza3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_3 &gt; prog_T3 + histerese_t' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer3 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='1' name='TMR3' call='timer_2' >
											<settings timer='1' prescale='8' postscale='-1' rollover='65536' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='1' />
												<option value='65536' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
											</settings>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='byte_timer3 = 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer3 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='minuto_str = ToString$ (minuto4)' />
											<exp exp='segundo_str = ToString$ (segundo4)' />
											<exp exp='temporario_byte = Length$ (minuto_str)' />
										</command>
										<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_temporiza' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub3.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + temporario' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
										</command>
										<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
								<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_clock_timers' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_nubliza3_on &gt;= tempo_on_nubliza2' swap='0' >
									<flowline >
										<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_11 = 0' swap='0' >
											<flowline >
												<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_nubliza3_off &gt;= tempo_off_nubliza2' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador_nubliza3_on = 0 // reset' />
															<exp exp='minuto4 = 0' />
															<exp exp='segundo4 = 0' />
														</command>
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador_nubliza3_off = StringToInt$ (temporario)' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_11 = 0' />
													<exp exp='estado_s11 = &quot;S11off&quot;' />
													<exp exp='minuto4 = 0' />
													<exp exp='segundo4 = 0' />
													<exp exp='reset_icone_nubliza3 = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='reset_icone_nubliza3 = 1 OR numero_pagina &lt;&gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tnub3.pic=45&quot; //fundo cinza off' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='contador_nubliza3_on = StringToInt$ (temporario)' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_11 = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_11 = 1' />
													<exp exp='estado_s11 = &quot;S11 on&quot;' />
													<exp exp='contador_nubliza3_off = 0 // reset contador nubliza3 off' />
													<exp exp='reset_icone_nubliza3 = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='reset_icone_nubliza3 = 1 OR numero_pagina &lt;&gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tnub3.pic=46&quot; //fundo verde on' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_3 &lt;= (prog_T3 + 1)' swap='1' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer3 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='0' name='TMR3' >
											<settings timer='1' prescale='1' postscale='-1' rollover='0' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
											</settings>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_11 = 0' />
											<exp exp='estado_s11 = &quot;S11off&quot;' />
											<exp exp='minuto4 = 0' />
											<exp exp='segundo4 = 0' />
											<exp exp='byte_timer3 = 0' />
											<exp exp='contador_nubliza3_on = 0' />
											<exp exp='contador_nubliza3_off = 0' />
											<exp exp='reset_icone_nubliza3 = 0' />
										</command>
										<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub3.pic=44&quot; //fundo azul standby' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub3.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + &quot;--:--&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='iniciar' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Chamar dados eeprom' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_eeprom' />
						<command class_type='call' title='chamar pwm_on_off' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
						<command class_type='calculation' title='iniciar variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tm1en = 0 // variavel usada em display ventanima1' />
							<exp exp='tm2en = 0 // variavel usada em display ventanima2' />
							<exp exp='tm3en = 0 // variavel usada em display ventanima3' />
							<exp exp='tm4en = 0 // variavel usada em display ventanima4' />
							<exp exp='estado = &quot;stat&quot;' />
							<exp exp='cclk = &quot;cclk&quot;' />
							<exp exp='texto_erro = &quot;OK&quot;' />
							<exp exp='string_espaco = &quot;  &quot;' />
							<exp exp='string_geral = &quot;&quot;' />
							<exp exp='contador = 0' />
							<exp exp='ciclo_macros = 0' />
							<exp exp='byte_sms = 0' />
							<exp exp='byte_onboard_stat = 0' />
							<exp exp='numero_compara = 1' />
							<exp exp='out_1 = 0 // motor dos fumos' />
							<exp exp='out_2 = 0 // motor do ar quente' />
							<exp exp='out_3 = 0 // ventilacao 1' />
							<exp exp='out_4 = 0 // motor dos fumos' />
							<exp exp='out_5 = 0 // motor do ar quente' />
							<exp exp='out_6 = 0 // ventilacao 2' />
							<exp exp='out_7 = 0 // nublizacao 1' />
							<exp exp='out_8 = 0 // nublizacao 2' />
							<exp exp='out_9 = 0 // ventilacao 3' />
							<exp exp='out_10 = 0 // ventilacao 4' />
							<exp exp='out_11 = 0 // nublizacao 3' />
							<exp exp='out_12 = 0 // nublizacao 4' />
							<exp exp='out_13 = 0 // ventilador QE' />
							<exp exp='estado_s1 = &quot;S1off&quot;' />
							<exp exp='estado_s2 = &quot;S2off&quot;' />
							<exp exp='estado_s3 = &quot;S3off&quot;' />
							<exp exp='estado_s4 = &quot;S4off&quot;' />
							<exp exp='estado_s5 = &quot;S5off&quot;' />
							<exp exp='estado_s6 = &quot;S6off&quot;' />
							<exp exp='estado_s7 = &quot;s7off&quot;' />
							<exp exp='estado_s8 = &quot;s8off&quot;' />
							<exp exp='estado_s9 = &quot;s9off&quot;' />
							<exp exp='estado_s10 = &quot;s10off&quot;' />
							<exp exp='estado_s11 = &quot;s11off&quot;' />
							<exp exp='estado_s12 = &quot;s12off&quot;' />
							<exp exp='alarme_fumo = 0' />
							<exp exp='alarme_falha_luz = 0' />
							<exp exp='led_alarmes = 0' />
							<exp exp='pos_mem_telefone = 1' />
							<exp exp='reset = &quot;rese&quot;' />
							<exp exp='byte_sms_reset = 0' />
							<exp exp='pulso = 0 // usada em temporizador C1' />
							<exp exp='alarme_temp1max = 0' />
							<exp exp='alarme_temp2max = 0' />
							<exp exp='alarme_temp3max = 0' />
							<exp exp='alarme_temp4max = 0' />
							<exp exp='alarme_c1max = 0' />
							<exp exp='alarme_c2max = 0' />
							<exp exp='byte_c1 = 0' />
							<exp exp='byte_c2 = 0' />
							<exp exp='byte_t1 = 0' />
							<exp exp='byte_t2 = 0' />
							<exp exp='T1 = &quot;Tem1&quot; // usada em control processamento para comparar com sms recebido' />
							<exp exp='T2 = &quot;Tem2&quot; // usada em control processamento para comparar com sms recebido' />
							<exp exp='T3 = &quot;Tem3&quot;' />
							<exp exp='T4 = &quot;Tem4&quot;' />
							<exp exp='C1 = &quot;Cal1&quot; // usada em control processamento para comparar com sms recebido' />
							<exp exp='C2 = &quot;Cal2&quot; // usada em control processamento para comparar com sms recebido' />
							<exp exp='alarme_temp1min = 0' />
							<exp exp='alarme_temp2min = 0' />
							<exp exp='alarme_temp3min = 0' />
							<exp exp='alarme_temp4min = 0' />
							<exp exp='segundo1 = 0 // usada em timer 0' />
							<exp exp='minuto1 = 0 // usada em timer 0' />
							<exp exp='alarme_c2min = 0' />
							<exp exp='alarme_c1min = 0' />
							<exp exp='estado_de_alarme = 0' />
							<exp exp='registo_simcard = &quot;+CREG: 0,1&quot;' />
							<exp exp='result_ok = &quot;OK&quot;' />
							<exp exp='contador_falha_ok = 0' />
							<exp exp='pulso_nublizacao1 = 0 //usada em timer 1' />
							<exp exp='pulso_nublizacao2 = 0 //usada em timer 2' />
							<exp exp='pulso_nublizacao3 = 0 //usada em timer 3' />
							<exp exp='pulso_nublizacao4 = 0 //usada em timer 4' />
							<exp exp='minuto = 0 //usada em temporizador C1' />
							<exp exp='segundo = 0 // usada em temporizador C1' />
							<exp exp='byte_temporizador_c1 = 1 // usada em control alarmes' />
							<exp exp='pulso2 = 0 // usada em temporizador C2' />
							<exp exp='minuto2 = 0 // udsada em temporizador C2' />
							<exp exp='segundo2 = 0 // usada em temporizador C2' />
							<exp exp='byte_temporizador_c2 = 1 // usada em control alarmes' />
							<exp exp='numero_pagina = 0' />
							<exp exp='icon_sms = 0 // variavel para passar info uma vez' />
							<exp exp='icon_estado_caldeira1 = 0 //variavel para passar info uma vez' />
							<exp exp='icon_climatiza1 = 0 //variavel para passar info uma vez' />
							<exp exp='icon_climatiza2 = 0 //variavel para passar info uma vez' />
							<exp exp='icon_climatiza3 = 0 //variavel para passar info uma vez' />
							<exp exp='icon_climatiza4 = 0 //variavel para passar info uma vez' />
							<exp exp='icon_estado_caldeira2 = 0 //variavel para passar info uma vez' />
							<exp exp='aviso_alarme = 0 //variavel para passar info uma vez' />
							<exp exp='contador_display_adcs = 14 //inicia variavel' />
							<exp exp='icon_habilitar = 0 //reset variavel' />
							<exp exp='icon_alarmes_min = 0 // reset variavel' />
							<exp exp='byte_reset = 0 // inicia variavel (main)' />
							<exp exp='byte_gravar_numeros = 0 // inicia variavel' />
							<exp exp='cont_sens_fail_1 = 0 // esta variavel experimental usada na leitura analogica' />
							<exp exp='contador_modulos_rf = 1 // inicia variavel' />
							<exp exp='alarme_falha_sensor1 = 0 //inicia variavel  sensores wireless' />
							<exp exp='alarme_falha_sensor2 = 0 //inicia variavel  sensores wireless' />
							<exp exp='alarme_falha_sensor3 = 0 //inicia variavel  sensores wireless' />
							<exp exp='alarme_falha_sensor4 = 0 //inicia variavel  sensores wireless' />
							<exp exp='cont_sens_fail_1 = 0 // inicia variavel' />
							<exp exp='cont_sens_fail_2 = 0 // inicia variavel' />
							<exp exp='cont_sens_fail_3 = 0 // inicia variavel' />
							<exp exp='cont_sens_fail_4 = 0 // inicia variavel' />
							<exp exp='cont_f_sen_geral = 0 // variavel usada em leitura modulos' />
							<exp exp='contador_reset = 0 // variavel usada em leitura modulos' />
							<exp exp='contador_pass_alarmes = 0 // variavel experimental em control adcs IO alarmes' />
							<exp exp='contador_nubliza1_off = 0 // usada nos timers de nublizacao' />
							<exp exp='contador_nubliza1_on = 0 // usada nos timers de nublizacao' />
							<exp exp='byte_timer1 = 0 //usada em control nubliza 1' />
							<exp exp='contador_nubliza2_off = 0 // usada nos timers de nublizacao' />
							<exp exp='contador_nubliza2_on = 0 // usada nos timers de nublizacao' />
							<exp exp='byte_timer2 = 0 //usada em control nubliza 2' />
							<exp exp='contador_nubliza3_off = 0 // usada nos timers de nublizacao' />
							<exp exp='contador_nubliza3_on = 0 // usada nos timers de nublizacao' />
							<exp exp='byte_timer3 = 0 //usada em control nubliza 1' />
							<exp exp='contador_nubliza4_off = 0 // usada nos timers de nublizacao' />
							<exp exp='contador_nubliza4_on = 0 // usada nos timers de nublizacao' />
							<exp exp='byte_timer4 = 0 //usada em control nubliza 1' />
							<exp exp='reset_icone_nubliza1 = 0 // usada em control nubliza 1' />
							<exp exp='reset_icone_nubliza2 = 0 // usada em control nubliza 2' />
							<exp exp='reset_icone_nubliza3 = 0 // usada em control nubliza 3' />
							<exp exp='reset_icone_nubliza4 = 0 // usada em control nubliza 4' />
							<exp exp='segundo3 = 0 // usada em timer1' />
							<exp exp='minuto3 = 0 //usada em timer 1' />
							<exp exp='ciclo_switch = 0 // usada em switch contador e macros/paginas do menu' />
							<exp exp='contador_alarmes = 0 // usada nas macros de alarmes' />
							<exp exp='cont_led_alarm = 0 // usada na macro flash led alarme' />
							<exp exp='timer3_ativo = 0 // usada na macro flash led alarme' />
							<exp exp='byte_vent_anim1 = 0 // usada na macro calculo display pwm1 para a anima' />
							<exp exp='byte_vent_anim2 = 0 // usada na macro calculo display pwm2 para a anima' />
							<exp exp='byte_vent_anim3 = 0 // usada na macro calculo display pwm1 para a anima' />
							<exp exp='byte_vent_anim4 = 0 // usada na macro calculo display pwm1 para a anima' />
							<exp exp='alarme_batt2 = 0 // usada em alarme batt2' />
							<exp exp='alarme_batt3 = 0 // usada em alarme batt3' />
							<exp exp='alarme_batt4 = 0 // usada em alarme batt1' />
							<exp exp='adc_est1 = 0 // usada em analogica estores' />
							<exp exp='adc_est2 = 0 // usada em analogica estores' />
							<exp exp='adc_est3 = 0 // usada em analogica estores' />
							<exp exp='adc_est4 = 0 // usada em analogica estores' />
							<exp exp='est1_subir = 0 // usada na macro page colect dados' />
							<exp exp='est1_baixar = 0 // usada na macro page colect dados' />
							<exp exp='est2_subir = 0 // usada na macro page colect dados' />
							<exp exp='est2_baixar = 0 // usada na macro page colect dados' />
							<exp exp='est3_subir = 0 // usada na macro page colect dados' />
							<exp exp='est3_baixar = 0 // usada na macro page colect dados' />
							<exp exp='est4_subir = 0 // usada na macro page colect dados' />
							<exp exp='est4_baixar = 0 // usada na macro page colect dados' />
							<exp exp='//14/03/24 adicionados 2 estores' />
							<exp exp='est5_subir = 0 // usada na macro page colect dados' />
							<exp exp='est5_baixar = 0 // usada na macro page colect dados' />
							<exp exp='est6_subir = 0 // usada na macro page colect dados' />
							<exp exp='est6_baixar = 0 // usada na macro page colect dados' />
							<exp exp='posi_est1 = 0 // analogica estores 1' />
							<exp exp='posi_est2 = 0 // analogica estores 2' />
							<exp exp='posi_est3 = 0 // analogica estores 3' />
							<exp exp='posi_est4 = 0 // analogica estores 4' />
							<exp exp='//14/03/24 adicionados 2 estores' />
							<exp exp='posi_est5 = 0 // analogica estores 5' />
							<exp exp='posi_est6 = 0 // analogica estores 6' />
							<exp exp='alarme_fcd1 = 0 // usada em control estores 1' />
							<exp exp='alarme_fcs1 = 0 // &quot;         &quot;        &quot;     &quot;' />
							<exp exp='alarme_fcs2 = 0 // usada em control estores 2' />
							<exp exp='alarme_fcd2 = 0 // usada em control estores 2' />
							<exp exp='alarme_fcd3 = 0 // usada em control estores 3' />
							<exp exp='alarme_fcs3 = 0 // &quot;         &quot;        &quot;     &quot;' />
							<exp exp='alarme_fcd4 = 0 // usada em control estores 4' />
							<exp exp='alarme_fcs4 = 0 // &quot;         &quot;        &quot;     &quot;' />
							<exp exp='//14/03/24 adicionados 2 estores' />
							<exp exp='alarme_fcd5 = 0 // usada em control estores 5' />
							<exp exp='alarme_fcs5 = 0 // &quot;         &quot;        &quot;     &quot;' />
							<exp exp='alarme_fcd6 = 0 // usada em control estores 6' />
							<exp exp='alarme_fcs6 = 0 // &quot;         &quot;        &quot;     &quot;' />
							<exp exp='contador_ordem_saidas = 0 // usada em control saidas' />
							<exp exp='segundo4 = 0 //usada em timer 2' />
							<exp exp='minuto4 = 0 //usada em timer 2' />
							<exp exp='segundo5 = 0 // usada em timer 3' />
							<exp exp='minuto5 = 0 // usada em timer 3' />
							<exp exp='alarme_intrusao = 0 // usada em alarme intrusao' />
							<exp exp='intrusao = 0 // usada em entradas I0 e alarme intrusao' />
							<exp exp='alarme_on = &quot;ala1&quot; //usada em control processamento' />
							<exp exp='alarme_off = &quot;ala0&quot; // usada em control processamento' />
							<exp exp='alarme_comunicacao = 0 // usada em alarme erro serial' />
							<exp exp='tamanho_de_string = 0 // variavel global para determinar tamanho de string' />
							<exp exp='alarme_janelas = 0' />
							<exp exp='//alarme_jan2 = 0' />
							<exp exp='//alarme_jan3 = 0' />
							<exp exp='//alarme_jan4 = 0' />
							<exp exp='//alarme_jan5 = 0' />
							<exp exp='//alarme_jan6 = 0' />
							<exp exp='alarme_dmf1 = 0' />
							<exp exp='alarme_dmf2 = 0' />
							<exp exp='alarme_dmar1 = 0' />
							<exp exp='alarme_dmar2 = 0' />
							<exp exp='alarme_dmv1 = 0' />
							<exp exp='alarme_dmv2 = 0' />
							<exp exp='alarme_dmv3 = 0' />
							<exp exp='alarme_dmv4 = 0' />
							<exp exp='alarme_dmjan1 = 0' />
							<exp exp='alarme_dmjan2 = 0' />
							<exp exp='alarme_dmjan3 = 0' />
							<exp exp='alarme_dmjan4 = 0' />
							<exp exp='alarme_dmjan5 = 0' />
							<exp exp='alarme_dmjan6 = 0' />
							<exp exp='DMF1 = 1' />
							<exp exp='DMF2 = 1' />
							<exp exp='DMA1 = 1' />
							<exp exp='DMA2 = 1' />
							<exp exp='DMV1 = 1' />
							<exp exp='DMV2 = 1' />
							<exp exp='DMV3 = 1' />
							<exp exp='DMV4 = 1' />
							<exp exp='DMJAN1 = 1' />
							<exp exp='DMJAN2 = 1' />
							<exp exp='DMJAN3 = 1' />
							<exp exp='DMJAN4 = 1' />
							<exp exp='DMJAN5 = 1' />
							<exp exp='DMJAN6 = 1' />
							<exp exp='data_estores = &quot;&quot;' />
							<exp exp='data_fcbaix = &quot;&quot;' />
							<exp exp='data_fcsub = &quot;&quot;' />
							<exp exp='jan_fail = 0' />
							<exp exp='//jan_fail_2 = 0' />
							<exp exp='//jan_fail_3 = 0' />
							<exp exp='//jan_fail_4 = 0' />
							<exp exp='//jan_fail_5 = 0' />
							<exp exp='//jan_fail_6 = 0' />
							<exp exp='display_dados_jan = 0 // variavel para ler apenas os dados obtidos pelos estores' />
							<exp exp='icon_conduta1 = 0 // variavel para sincronizar estado de condutas de ar' />
							<exp exp='icon_conduta2 = 0 // variavel para sincronizar estado de condutas de ar' />
							<exp exp='alarme_batt_geral = 0 // variavel alarme bateria alimentacao geral' />
							<exp exp='//batt = 0' />
							<exp exp='//contador_falha_rs232 = 0' />
							<exp exp='erro1_ds18b20 = &quot;999.9&quot; // usada em ler_des18b20' />
							<exp exp='erro0_ds18b20 = &quot;0.0&quot; // usada em ler_des18b20' />
							<exp exp='falha_ds18b20 = 0 // usada em ler_des18b20' />
							<exp exp='alarme_ds18b20 = 0' />
							<exp exp='temp_qe = 0 // control temperatura Q.E.' />
							<exp exp='out_14 = 0' />
							<exp exp='delay_sms = 1 // variavel usada para contagem de intervalo tempo para envio de multiplas sms' />
							<exp exp='tempo_f1off = 0 // variavel usada em control pwmf1' />
							<exp exp='FS = &quot;+&quot; // variavel usada para envio dados app' />
							<exp exp='' />
						</command>
						<command class_type='calculation' title='comando = &quot;page 0&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;page 0&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='comando = &quot;dim=100&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;dim=100&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='leitura analogica' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='leitura_analogica' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_H1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='print display_hum1' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = &quot;h1.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$(hum_1)' />
							<exp exp='H1 = temporario' />
							<exp exp='comando = &quot;h1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='conversao_adcs_string' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='string_C1 = ToString$ (adc_caldeira_1)' />
							<exp exp='string_C2 = ToString$ (adc_caldeira_2)' />
							<exp exp='string_T1 = ToString$ (adc_temp_1)' />
							<exp exp='string_T2 = ToString$ (adc_temp_2)' />
							<exp exp='string_T3 = ToString$ (adc_temp_3)' />
							<exp exp='string_T4 = ToString$ (adc_temp_4)' />
						</command>
						<command class_type='comment' title='' comment='H1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (hum_1)' />
							<exp exp='tamanho_str_humid = Length$ (temporario)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_humid = 3' swap='1' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_humid = 2' swap='1' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='string_h1 = &quot;0&quot;' />
											<exp exp='temporario2 = temporario' />
											<exp exp='string_h1 = string_h1 + &quot;.&quot;' />
											<exp exp='string_h1 = string_h1 + temporario2' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='string_h1 = Left$ (temporario,1)' />
											<exp exp='temporario2 = Right$ (temporario,1)' />
											<exp exp='string_h1 = string_h1 + &quot;.&quot;' />
											<exp exp='string_h1 = string_h1 + temporario2' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='string_h1 = Left$ (temporario,2)' />
									<exp exp='temporario2 = Right$ (temporario,1)' />
									<exp exp='string_h1 = string_h1 + &quot;.&quot;' />
									<exp exp='string_h1 = string_h1 + temporario2' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='H2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (hum_2)' />
							<exp exp='tamanho_str_humid = Length$ (temporario)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_humid = 3' swap='1' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_humid = 2' swap='1' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='string_h2 = &quot;0&quot;' />
											<exp exp='temporario2 = temporario' />
											<exp exp='string_h2 = string_h2 + &quot;.&quot;' />
											<exp exp='string_h2 = string_h2 + temporario2' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='string_h2 = Left$ (temporario,1)' />
											<exp exp='temporario2 = Right$ (temporario,1)' />
											<exp exp='string_h2 = string_h2 + &quot;.&quot;' />
											<exp exp='string_h2 = string_h2 + temporario2' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='string_h2 = Left$ (temporario,2)' />
									<exp exp='temporario2 = Right$ (temporario,1)' />
									<exp exp='string_h2 = string_h2 + &quot;.&quot;' />
									<exp exp='string_h2 = string_h2 + temporario2' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='H3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (hum_3)' />
							<exp exp='tamanho_str_humid = Length$ (temporario)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_humid = 3' swap='1' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_humid = 2' swap='1' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='string_h3 = &quot;0&quot;' />
											<exp exp='temporario2 = temporario' />
											<exp exp='string_h3 = string_h3 + &quot;.&quot;' />
											<exp exp='string_h3 = string_h3 + temporario2' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='string_h3 = Left$ (temporario,1)' />
											<exp exp='temporario2 = Right$ (temporario,1)' />
											<exp exp='string_h3 = string_h3 + &quot;.&quot;' />
											<exp exp='string_h3 = string_h3 + temporario2' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='string_h3 = Left$ (temporario,2)' />
									<exp exp='temporario2 = Right$ (temporario,1)' />
									<exp exp='string_h3 = string_h3 + &quot;.&quot;' />
									<exp exp='string_h3 = string_h3 + temporario2' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='H4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (hum_4)' />
							<exp exp='tamanho_str_humid = Length$ (temporario)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_humid = 3' swap='1' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_humid = 2' swap='1' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='string_h4 = &quot;0&quot;' />
											<exp exp='temporario2 = temporario' />
											<exp exp='string_h4 = string_h4 + &quot;.&quot;' />
											<exp exp='string_h4 = string_h4 + temporario2' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='string_h4 = Left$ (temporario,1)' />
											<exp exp='temporario2 = Right$ (temporario,1)' />
											<exp exp='string_h4 = string_h4 + &quot;.&quot;' />
											<exp exp='string_h4 = string_h4 + temporario2' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='string_h4 = Left$ (temporario,2)' />
									<exp exp='temporario2 = Right$ (temporario,1)' />
									<exp exp='string_h4 = string_h4 + &quot;.&quot;' />
									<exp exp='string_h4 = string_h4 + temporario2' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_alarmes' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='proximo calculo em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='adc_caldeira_1 = adc_caldeira_1 / 10' />
						</command>
						<command class_type='call' title='calculo caldeira 1' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_caldeira1' />
						<command class_type='call' title='calculo caldeira 2' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_caldeira2' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_temp_aviario1' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_temp_aviario2' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_temp_aviario3' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_temp_aviario4' />
						<command class_type='comment' title='' comment='11/01/26
adiçao de nova variavel ( temp_qe) para control de temperatura do Q.E.
e consequente macro de control' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_temp_QE' />
						<command class_type='comment' title='' comment='nublizacao' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='28/09/25
decisao em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
						<command class_type='comment' title='' comment='ventilacao' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv1 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_3 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil1' >
									<case >
										<flowline />
									</case>
									<case exp='0 //manual' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='out_3 = 1' />
											</command>
											<command class_type='comment' title='' comment='aqui chamava a macro  : output_pwm' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
									</case>
									<case exp='1 //off' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='out_3 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='2 //auto' >
										<flowline >
											<command class_type='call' title='Chamar control ventila1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_ventila1' />
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv2 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_6 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil2' >
									<case >
										<flowline />
									</case>
									<case exp='0 //manual' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='out_6 = 1' />
											</command>
											<command class_type='comment' title='' comment='aqui chamava a macro  : output_pwm' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
									</case>
									<case exp='1 //off' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='out_6 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='2 //auto' >
										<flowline >
											<command class_type='call' title='Chamar control ventila2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_ventila2' />
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv3 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_9 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil3' >
									<case >
										<flowline />
									</case>
									<case exp='0 //manual' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='out_9 = 1' />
											</command>
											<command class_type='comment' title='' comment='aqui chamava a macro  : output_pwm' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
									</case>
									<case exp='1 //off' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='out_9 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='2 //auto' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_ventila3' />
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv4 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_10 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil4' >
									<case >
										<flowline />
									</case>
									<case exp='0 //manual' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='out_10 = 1' />
											</command>
											<command class_type='comment' title='' comment='aqui chamava a macro  : output_pwm' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
									</case>
									<case exp='1 //off' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='out_10 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='2 //auto' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_ventila4' />
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
						<command class_type='switch' title=' contador pass alarmes' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_pass_alarmes' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Chamar alarme temp1 max' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_t1_max' />
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='chamar alarme t1 min' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_t1min' />
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='call' title='Chamar alarme c1 max' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_c1max' />
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='call' title='Chamar alarme c1 min' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_c1min' />
								</flowline>
							</case>
							<case exp='9' >
								<flowline >
									<command class_type='call' title='Chamar alarme temp2 max' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_t2_max' />
								</flowline>
							</case>
							<case exp='11' >
								<flowline >
									<command class_type='call' title='Chamar alarme temp2 min' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_t2min' />
								</flowline>
							</case>
							<case exp='13' >
								<flowline >
									<command class_type='call' title='Chamar alarme c2 max' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_c2max' />
								</flowline>
							</case>
							<case exp='15' >
								<flowline >
									<command class_type='call' title='Chamar alarme c2 min' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_c2min' />
								</flowline>
							</case>
							<case exp='17' >
								<flowline >
									<command class_type='call' title='Chamar control sens fumo' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_sens_fumo' />
								</flowline>
							</case>
							<case exp='19' >
								<flowline >
									<command class_type='call' title='chamar alarme fumo' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_fumo' />
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch contador pass alarmes' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_pass_alarmes' >
							<case >
								<flowline />
							</case>
							<case exp='21' >
								<flowline >
									<command class_type='comment' title='' comment='aqui chamava a macro &quot;alarme_luz&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								</flowline>
							</case>
							<case exp='23' >
								<flowline >
									<command class_type='call' title='chamar  alarme sensor1' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_sensor1' />
								</flowline>
							</case>
							<case exp='25' >
								<flowline >
									<command class_type='call' title='chamar  alarme sensor2' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_sensor2' />
								</flowline>
							</case>
							<case exp='27' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_batt1' />
								</flowline>
							</case>
							<case exp='29' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_batt2' />
								</flowline>
							</case>
							<case exp='31' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_t3min' />
								</flowline>
							</case>
							<case exp='33' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_t4min' />
								</flowline>
							</case>
							<case exp='35' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_t3_max' />
								</flowline>
							</case>
							<case exp='37' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_t4_max' />
								</flowline>
							</case>
							<case exp='39' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_sensor3' />
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_pass_alarmes' >
							<case >
								<flowline />
							</case>
							<case exp='41' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_sensor4' />
								</flowline>
							</case>
							<case exp='43' >
								<flowline >
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_batt3' />
								</flowline>
							</case>
							<case exp='45' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_batt4' />
								</flowline>
							</case>
							<case exp='47' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_batt_geral' />
								</flowline>
							</case>
							<case exp='49' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_ds18b20' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='contador_pass_alarmes = 0' />
									</command>
									<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador_pass_alarmes = contador_pass_alarmes + 1' />
						</command>
						<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='call' title='chamar alarme luz' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_luz' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_intrusao' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='alarme_erro_serial' />
						<command class_type='comment' title='' comment='proximo calculo em teste' textarea='169,17,169,17' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' textarea='186,17,186,17' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='adc_caldeira_1 = adc_caldeira_1 * 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='timer_1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='pulso_nublizacao2 = pulso_nublizacao2 + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pulso_nublizacao2 = 38 //160' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='segundo3 = segundo3 + 1' />
									<exp exp='pulso_nublizacao2 = 0' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='segundo3 &gt; 59' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='minuto3 = minuto3 + 1' />
											<exp exp='segundo3 = 0' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='minuto3 &gt; 9' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='minuto3 = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_nubliza2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_2 &gt; prog_T2 + histerese_t' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer2 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='1' name='TMR2' call='timer_1' >
											<settings timer='1' prescale='8' postscale='-1' rollover='65536' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='1' />
												<option value='65536' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
											</settings>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='byte_timer2 = 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer2 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='minuto_str = ToString$ (minuto3)' />
											<exp exp='segundo_str = ToString$ (segundo3)' />
											<exp exp='temporario_byte = Length$ (minuto_str)' />
										</command>
										<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_temporiza' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub2.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + temporario' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
										</command>
										<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
								<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_clock_timers' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_nubliza2_on &gt;= tempo_on_nubliza1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_8 = 0' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_nubliza2_off &gt;= tempo_off_nubliza1' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador_nubliza2_on = 0 // reset' />
															<exp exp='minuto3 = 0' />
															<exp exp='segundo3 = 0' />
														</command>
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador_nubliza2_off = StringToInt$ (temporario)' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_8 = 0' />
													<exp exp='estado_s8 = &quot;S8off&quot;' />
													<exp exp='minuto3 = 0' />
													<exp exp='segundo3 = 0' />
													<exp exp='reset_icone_nubliza2 = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='reset_icone_nubliza2 = 1 OR numero_pagina &lt;&gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='comando = &quot;tnub2.pic=48&quot; //fundo cinza off' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tnub2.pic=48&quot; //fundo cinza off' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='contador_nubliza2_on = StringToInt$ (temporario)' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_8 = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_8 = 1' />
													<exp exp='estado_s8 = &quot;S8 on&quot;' />
													<exp exp='contador_nubliza2_off = 0 // reset contador nubliza1 off' />
													<exp exp='reset_icone_nubliza2 = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='reset_icone_nubliza2 = 1 OR numero_pagina &lt;&gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='comando = &quot;tnub2.pic=49&quot; //fundo verde on' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tnub2.pic=49&quot; //fundo verde on' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_2 &lt;= (prog_T2 + 1)' swap='1' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer2 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='0' name='TMR2' >
											<settings timer='1' prescale='1' postscale='-1' rollover='0' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
											</settings>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_8 = 0' />
											<exp exp='estado_s8 = &quot;S8off&quot;' />
											<exp exp='minuto3 = 0' />
											<exp exp='segundo3 = 0' />
											<exp exp='byte_timer2 = 0' />
											<exp exp='contador_nubliza2_on = 0' />
											<exp exp='contador_nubliza2_off = 0' />
											<exp exp='reset_icone_nubliza2 = 0' />
										</command>
										<command class_type='calculation' title='comando = &quot;tnub2.pic=39&quot; //fundo azul standby' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub2.pic=39&quot; //fundo azul standby' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='calculation' title='comando = &quot;tnub2.txt=&quot;--:--&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub2.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + &quot;--:--&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='icon_estado_caldeira2 = 0' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='icon_estado_caldeira2 = 0' />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estado_caldeiras_condutas' />
						<command class_type='calculation' title='comando = &quot;safe.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (prog_C2)' />
							<exp exp='comando = &quot;safe.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
						<command class_type='call' title='Chamar display c2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_C2' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 3' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 3 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='chamar switch contador' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='Chamar prog caldeira 2 on off c2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_caldeira2_on_off' />
						<command class_type='call' title='Chamar prog_c2' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_C2' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_t3min' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='habilitar_alarmes_minimos = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='habilitar_alarmes_minimos = 1' swap='1' >
							<flowline >
								<command class_type='comment' title='' comment='na condiçao de primeiro arranque 
nao faz alarme de baixas temperaturas se for pedido ao sistema' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_3 &lt; prog_T3 - histerese_T - 2' swap='0' >
									<flowline >
										<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_temp3min = 1' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='alarme_temp3min = 1' />
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;TEMP.BAIXA 3# &quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='temporario = Left$ (temp_aviario3,2)' />
													<exp exp='temporario2 = right$ (temp_aviario3,1)' />
													<exp exp='temporario = temporario + &quot;.&quot;' />
													<exp exp='temporario = temporario + temporario2' />
													<exp exp='//temporario = temporario + &quot;°&quot;' />
													<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='alteracao 30/12/16
se a caldeira 1 estiver desligada nao faz alarmes de temperaturas
minimas referente a mesma' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='comment' title='' comment='alteracao 30/12/16
se a caldeira 2 estiver desligada nao faz alarmes de temperaturas
minimas referente a mesma' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='USAR_EEPROM' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='CONFIGURAÇAO : SEL3=1/SEL4=0
EEPROM EM USO' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='output' title='SEL3' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097155' mask='256' exp='255' usechipref='1' />
						<command class_type='output' title='SEL4' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097154' mask='1024' exp='0' usechipref='1' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='5' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_nubliza1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_1 &gt; prog_T1 + histerese_t' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer1 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='1' name='TMR1' call='timer_0' >
											<settings timer='1' prescale='8' postscale='-1' rollover='65536' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='1' />
												<option value='65536' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
												<option value='-1' />
											</settings>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='byte_timer1 = 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer1 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='minuto_str = ToString$ (minuto1)' />
											<exp exp='segundo_str = ToString$ (segundo1)' />
											<exp exp='temporario_byte = Length$ (minuto_str)' />
										</command>
										<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_temporiza' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub1.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + temporario' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
										</command>
										<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
								<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_clock_timers' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_nubliza1_on &gt;= tempo_on_nubliza1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_7 = 0' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_nubliza1_off &gt;= tempo_off_nubliza1' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador_nubliza1_on = 0 // reset' />
															<exp exp='minuto1 = 0' />
															<exp exp='segundo1 = 0' />
														</command>
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador_nubliza1_off = StringToInt$ (temporario)' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_7 = 0' />
													<exp exp='estado_s7 = &quot;S7off&quot;' />
													<exp exp='minuto1 = 0' />
													<exp exp='segundo1 = 0' />
													<exp exp='reset_icone_nubliza1 = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='reset_icone_nubliza1 = 1 OR numero_pagina &lt;&gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tnub1.pic=45&quot; //fundo cinza off' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='contador_nubliza1_on = StringToInt$ (temporario)' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_7 = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_7 = 1' />
													<exp exp='estado_s7 = &quot;S7 on&quot;' />
													<exp exp='contador_nubliza1_off = 0 // reset contador nubliza1 off' />
													<exp exp='reset_icone_nubliza1 = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='reset_icone_nubliza1 = 1 OR numero_pagina &lt;&gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tnub1.pic=46&quot; //fundo verde on' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_1 &lt;= (prog_T1 + 1)' swap='1' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_timer1 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='0' name='TMR1' >
											<settings timer='1' prescale='1' postscale='-1' rollover='0' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
											</settings>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_7 = 0' />
											<exp exp='estado_s7 = &quot;S7off&quot;' />
											<exp exp='minuto1 = 0' />
											<exp exp='segundo1 = 0' />
											<exp exp='byte_timer1 = 0' />
											<exp exp='contador_nubliza1_on = 0' />
											<exp exp='contador_nubliza1_off = 0' />
											<exp exp='reset_icone_nubliza1 = 0' />
										</command>
										<command class_type='calculation' title='comando = &quot;tnub1.pic=44&quot; //fundo azul standby' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub1.pic=44&quot; //fundo azul standby' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='calculation' title='comando = &quot;tnub1.txt=&quot;--:--&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tnub1.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + &quot;--:--&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='timer_0' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='pulso_nublizacao1 = pulso_nublizacao1 + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pulso_nublizacao1 = 38 //160' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='segundo1 = segundo1 + 1' />
									<exp exp='pulso_nublizacao1 = 0' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='segundo1 &gt; 59' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='minuto1 = minuto1 + 1' />
											<exp exp='segundo1 = 0' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='minuto1 &gt; 9' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='minuto1 = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_eeprom' />
						<command class_type='comment' title='' comment='estado man_0_aut' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='icon_estado_caldeira1 = 0' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='icon_estado_caldeira1 = 0' />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estado_caldeiras_condutas' />
						<command class_type='comment' title='' comment='termoestato' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = &quot;safe.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (prog_C1)' />
							<exp exp='comando = &quot;safe.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='pwmf1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = &quot;h0.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$(pwmf1)' />
							<exp exp='comando = &quot;h0.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='expf val' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$(expf)' />
							<exp exp='comando = &quot;expf.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='usar_ebyte ou switch_74hc4052
tem a mesma finalidade apenas mudam as 
portas no microcontrolador' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
						<command class_type='call' title='Chamar display c1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_C1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_pca9685' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 2' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 2 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='chamar switch contador' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_caldeira1_on_off' />
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_C1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_pwmf1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_expf' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_textos_alarm_sms' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='excluido saldo' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='texto = texto_de_alarme' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='//texto = texto + saldo' />
							<exp exp='//texto = texto + string_espaco' />
							<exp exp='texto = texto + clock_modem' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='switch_74HC4052_estores' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='CONFIGURAÇAO : SEL1= 0 / SEL2= 1
EBYTE EM USO' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='sel1 = 1' />
							<exp exp='sel2 = 0' />
						</command>
						<command class_type='output' title='Saída C13 = SEL1' textmode='1' textarea='36,0,511,300' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097154' mask='8192' exp='sel1' usechipref='1' />
						<command class_type='output' title='Saída B3 =SEL2' textmode='1' textarea='36,0,511,300' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='8' exp='sel2' usechipref='1' />
						<command class_type='call' title='Chamar leitura modulos jan' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='leitura_modulos_jan' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_MODEM' />
					</flowline>
				</macro>
				<macro >
					<flowline name='colher_dados' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='string_char = &quot;&quot;' />
							<exp exp='temporario = &quot;&quot;' />
							<exp exp='char = 0' />
							<exp exp='contador = 0' />
						</command>
						<command class_type='loop' title='Ciclo' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char = 35 //#' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='time out alterado de 20 ms para 4 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='4' />
								</command>
								<command class_type='decision' title='char &lt; 48 //caractere numerico' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 48 //caractere numerico' swap='1' >
									<flowline >
										<command class_type='decision' title='char &gt; 57 //caractere numerico' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt; 57 //caractere numerico' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='temporario = temporario + string_char' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='string_char[0] = char' />
													<exp exp='temporario = temporario + string_char' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador = contador + 1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador &gt; 100' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='contador = 0' />
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_c1max' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='adc_caldeira_1 &gt; prog_c1 + 10' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_1 &gt;= prog_c1 + 10' swap='0' >
							<flowline >
								<command class_type='decision' title='alarme_c1 = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_c1max = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_c1max = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;TEMP.ALTA CAL.1# &quot;' />
											<exp exp='aviso_alarme = 0' />
											<exp exp='temporario = ToString$(adc_caldeira_1)' />
											<exp exp='//temporario = temporario + &quot;°&quot;' />
											<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
											<exp exp='icon_estado_caldeira1 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='11/05/25
em teste: desativar o alarme assim que a temperatura da caldeira
baixar 10 graus
desativar tambem o estado (cor) ' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_1 &lt;= prog_C1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_estado_caldeira1 = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='alarme_c1max = 0' />
													<exp exp='icon_estado_caldeira1 = 0' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset contador' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='ciclo_switch = 0' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='desativar_timers' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 1' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 1 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='chamar switch contador' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_tempQE' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$(temp_qe)' />
							<exp exp='comando = &quot;tqe.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_13 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p26.pic=161&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p26.pic=160&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='pedido_estado' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Atraso' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='2' type='2' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='string_habilitar = &quot;sms on&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='string_habilitar = &quot;sms on &quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='string_habilitar = &quot;sms off&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='string_habilitar = &quot;sms off &quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui estava pedir saldo' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='reset texto' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='texto = &quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar leitura analogica' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='leitura_modulos' />
						<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
						<command class_type='call' title='Chamar calculo textos estado' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_estado' />
						<command class_type='comment' title='' comment='se &quot;byte_on_board_stat&quot; = 1
o sistema nao vai enviar sms 
ate que o utilizador faça reset manual
 na consola' textmode='1' textarea='76,33,551,333' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='byte_onboard_stat = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_onboard_stat = 1' swap='0' >
							<flowline />
							<flowline >
								<command class_type='call' title='Chamar enviar sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='enviar_sms' />
								<command class_type='calculation' title='reset variavel texto' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='texto = &quot;&quot;' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_saldo' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando= comando +saldo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + saldo' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='eeprom_estores' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0xc' />
							<argument exp='man_aut_est1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0xb' />
							<argument exp='man_aut_est2' />
						</command>
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x27' />
							<argument exp='man_aut_est3' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x28' />
							<argument exp='man_aut_est4' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x04' />
							<argument exp='percentual_estores' />
						</command>
						<command class_type='comment' title='' comment='14/03/24
adiçao de + 2 canais para controle de estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x2b' />
							<argument exp='man_aut_est5' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x2c' />
							<argument exp='man_aut_est6' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x2d' />
							<argument exp='per_abert_estores' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_estores5_6' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est5 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 100 - adc_est5' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;j5.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est6 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 100 - adc_est6' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;j6.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;jan5.val=j5.val&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;jan6.val=j6.val&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='pedir_saldo' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_MODEM' />
						<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='saldo = &quot;&quot;' />
							<exp exp='rs232_result = &quot;&quot;' />
						</command>
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CUSD=1&quot; // habilitar ver saldo' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='calculation' title='comando = &quot;ATD*#123#&quot; TMN' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;ATD*#123#&quot; // uzo,meo' />
							<exp exp='//comando = &quot;ATD*#100#&quot; // vodafone' />
							<exp exp='//comando = &quot;ATD*111#&quot; // nos' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='loop' title='6 segundos' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='100' >
							<flowline >
								<command class_type='comment' title='' comment='time out reduzido de 60 ms para 6 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='6' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 43 // + inicio da mensagem' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='saldo = &quot; tempo espera excedido ou falha de resposta operadora&quot;' />
						</command>
						<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
						<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='comment' title='' comment='contornar os primeiros caracteres
+CUSD: 1,' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='loop' title='Loop' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='8' >
							<flowline >
								<command class_type='comment' title='' comment='time out reduzido de 10 ms para 2 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='2' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='char = 0' />
							<exp exp='contador = 0' />
						</command>
						<command class_type='loop' title='Ciclo' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='25' >
							<flowline >
								<command class_type='comment' title='' comment='time out reduzido de 30 ms para 3 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='3' />
								</command>
								<command class_type='decision' title='char &gt; 31' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt; 31' swap='0' >
									<flowline >
										<command class_type='decision' title='CHAR &lt; 127' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='CHAR &lt; 127' swap='1' >
											<flowline />
											<flowline >
												<command class_type='comment' title='' comment='no caso da operadora ser da rede MEO
o loop deve terminar quenado atingir 
o proximo caractere  ( &quot; )
alterar o ponto de ligaçao &quot;C&quot;' textarea='103,28,103,28' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 34 // &quot; fim da mensagem' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='contador = contador + 1' />
														</command>
														<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador &gt;= 2' swap='0' >
															<flowline >
																<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='string_char[0] = char' />
															<exp exp='saldo = saldo + string_char' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='char = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='CR_LF' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendChar' >
							<argument exp='0x0d' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendChar' >
							<argument exp='0x0a' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='texto_page_alarmes' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador_alarmes = contador_alarmes + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_alarmes &gt; 30' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_alarmes = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (contador_alarmes) // na variavel temporario vai o numero para acrescentar na pagina' />
							<exp exp='comando = &quot;alrese.al&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + clock_modem' />
							<exp exp='comando = comando + &quot; &quot;' />
							<exp exp='comando = comando + &quot;#&quot;' />
							<exp exp='comando = comando + &quot; &quot;' />
							<exp exp='comando = comando + texto_de_alarme' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='aqui vai obrigar o novo alarme a ter a cor vermelha' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;alrese.al&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;.pco=63488&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;alrese.reset.val=0&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='dados_estores' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x0c //sair' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='numero_pagina = 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='numero_pagina = 1' />
									</command>
									<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
								</flowline>
							</case>
							<case exp='0x4f //est1 sub' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x50 //est1 desc' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x1f //est2 sub' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x20 //est2 desc' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x05 //M.A.jan1' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x06 //M.A.jan2' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x25 //M.A.jan3' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x26 //M.A.jan4' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x12 //+' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x13 //-' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x1b //jan3 subir' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x1c //jan3 baixar' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x1d //jan4 subir' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x1e //jan4 baixar' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x36 //jan5 subir' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x37 //jan5 baixar' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x3e //jan6 subir' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x3f //jan6 baixar' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='0x3a //M.A.jan5' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x42 //M.A.jan6' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_estores6' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='aqui a referencia de temperatura deve ser de acordo 
com a temperatura média programada/ medida dos dois sensores
considerando (estores 6)com os sensores 3 e 4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_var1 = StringToInt$ (temp_aviario3)' />
							<exp exp='temporario_var2 = StringToInt$ (temp_aviario4)' />
							<exp exp='temporario_byte = temporario_var1 + temporario_var2 / 2' />
							<exp exp='//temporario byte representa a média das duas temperaturas lidas' />
							<exp exp='prog_t3 = prog_t3 * 10' />
							<exp exp='prog_t4 = prog_t4 * 10' />
							<exp exp='temporario_var = prog_T3 + prog_T4 / 2' />
							<exp exp='// temporario var representa a média das duas temperaturas programadas' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; temporario_var' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est6 = 0' />
								</command>
								<command class_type='comment' title='' comment='01/05/22
teste para corrigir comando de abertura de estore quando a temperatura é
maior que o valor na variavel temporaria (temporario_byte)' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est6 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est6_baixar = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est6 = temporario_byte - temporario_var' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='percentual_estores' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est6 = posi_est6 * 1.3' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est6 = posi_est6 * 1.6' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est6 = posi_est6 * 1.9' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est6 = posi_est6 * 2.2' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est6 = posi_est6 * 2.5' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est6 = posi_est6 * 2.8' />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est6 = posi_est6 * 3.1' />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est6 = posi_est6 * 3.4' />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est6 = posi_est6 * 3.7' />
											</command>
										</flowline>
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est6 = posi_est6 * 4' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est6 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est6 = 100' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='este calculo serve para repor os valores originais da
programaçao' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_t3 = prog_t3 / 10' />
							<exp exp='prog_t4 = prog_t4 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='entradas_IO' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='TODAS AS ENTRADAS DIGITAIS ESTÃO FEITAS COM REFERENCIA A GND
PORTANTO OS SINAIS DEVEM SER NEGATIVOS' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='PORTA,NUM     / VARIAVEL     / FUNCAO
B14,2             DMF1
B15,3             DMA1
E13,28            DMF2
E14,29            DMA2
E15,30            DMV1
A8,31             DMV2
B4,32             DMV3
A4,33             DMV4
A9,34             FALHA_LUZ
C3,35             INTRUSAO
*************expansao*************
DMJAN1 = IN1
DMJAN2 = IN2
DMJAN3 = IN3
DMJAN4 = IN4
DMJAN5 = IN5
DMJAN6 = IN6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='input' title='DMF1' cmdcolor='65535' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='16384' exp='DMF1' usechipref='1' />
						<command class_type='input' title='DMA1' cmdcolor='65535' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='32768' exp='DMA1' usechipref='1' />
						<command class_type='input' title='DMF2' cmdcolor='65535' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' mode='1' port='2097156' mask='8192' exp='DMF2' usechipref='1' />
						<command class_type='input' title='DMA2' cmdcolor='65535' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' mode='1' port='2097156' mask='16384' exp='DMA2' usechipref='1' />
						<command class_type='input' title='DMV1' cmdcolor='65535' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' mode='1' port='2097156' mask='32768' exp='DMV1' usechipref='1' />
						<command class_type='input' title='DMV2' cmdcolor='65535' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' mode='1' port='2097152' mask='256' exp='DMV2' usechipref='1' />
						<command class_type='input' title='DMV3' cmdcolor='65535' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='16' exp='DMV3' usechipref='1' />
						<command class_type='input' title='DMV4' cmdcolor='65535' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' mode='1' port='2097152' mask='16' exp='DMV4' usechipref='1' />
						<command class_type='input' title='falha de luz' textarea='36,0,511,300' cmdcolor='65535' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' mode='1' port='2097152' mask='512' exp='falha_luz' usechipref='1' />
						<command class_type='input' title='intrusao' cmdcolor='65535' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='0' cmdopacity='1' mode='1' port='2097154' mask='8' exp='intrusao' usechipref='1' />
						<command class_type='comment' title='' comment='PORTAS ENTRADAS LIVRES : 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PCF8575_ENT' macro='ReadPort' >
							<return exp='exp_in' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='incremento = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='incremento &gt; 16' start='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='incremento = incremento + 1' />
									<exp exp='temp_var = exp_in &amp; 0x01' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='incremento' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in1 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in2 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in3 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in4 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in5 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in6 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in7 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in8 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in9 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in10 = temp_var' />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='incremento' >
									<case >
										<flowline />
									</case>
									<case exp='11' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in11 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='12' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in12 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='13' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in13 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='14' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in14 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='15' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in15 = temp_var' />
											</command>
										</flowline>
									</case>
									<case exp='16' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='in16 = temp_var' />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp_in = exp_in &gt;&gt; 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='DMJAN1 = IN1' />
							<exp exp='DMJAN2 = IN2' />
							<exp exp='DMJAN3 = IN3' />
							<exp exp='DMJAN4 = IN4' />
							<exp exp='DMJAN5 = IN5' />
							<exp exp='DMJAN6 = IN6' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='apagar_sms' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset sms no cartao&quot;AT+CMGD=1,4&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CMGD=1,4&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar LOOP ATE OK' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
						<command class_type='calculation' title='comando com variavel &quot;temporario&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_t1_max' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='adc_temp_1 &gt; prog_T1 + 2 + histerese_T' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_1 &gt; prog_T1 + 2 + histerese_T' swap='0' >
							<flowline >
								<command class_type='decision' title='alarme_temp1max = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_temp1max = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_temp1max = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;TEMP.ALTA 1# &quot;' />
											<exp exp='aviso_alarme = 0' />
											<exp exp='temporario = Left$(temp_aviario1,2)' />
											<exp exp='temporario2 = right$(temp_aviario1,1)' />
											<exp exp='temporario = temporario + &quot;.&quot;' />
											<exp exp='temporario = temporario + temporario2' />
											<exp exp='//temporario = temporario + &quot;°&quot;' />
											<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='comando_t0_red' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.pco=63488&quot; //vermelho' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_estores5' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='aqui a referencia de temperatura deve ser de acordo 
com a temperatura média programada/ medida dos dois sensores
considerando (estores 5)com os sensores 1 e 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_var1 = StringToInt$ (temp_aviario1)' />
							<exp exp='temporario_var2 = StringToInt$ (temp_aviario2)' />
							<exp exp='temporario_byte = temporario_var1 + temporario_var2 / 2' />
							<exp exp='//temporario byte representa a média das duas temperaturas lidas' />
							<exp exp='prog_t1 = prog_t1 * 10' />
							<exp exp='prog_t2 = prog_t2 * 10' />
							<exp exp='temporario_var = prog_T1 + prog_T1 / 2' />
							<exp exp='// temporario var representa a média das duas temperaturas programadas' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; temporario_var' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est5 = 0' />
								</command>
								<command class_type='comment' title='' comment='01/05/22
teste para corrigir comando de abertura de estore quando a temperatura é
maior que o valor na variavel temporaria (temporario_byte)' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est5 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est5_baixar = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est5 = temporario_byte - temporario_var' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='percentual_estores' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est5 = posi_est5 * 1.3' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est5 = posi_est5 * 1.6' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est5 = posi_est5 * 1.9' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est5 = posi_est5 * 2.2' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est5 = posi_est5 * 2.5' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est5 = posi_est5 * 2.8' />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est5 = posi_est5 * 3.1' />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est5 = posi_est5 * 3.4' />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est5 = posi_est5 * 3.7' />
											</command>
										</flowline>
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est5 = posi_est5 * 4' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est5 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est5 = 100' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='este calculo serve para repor os valores originais da
programaçao' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_t1 = prog_t1 / 10' />
							<exp exp='prog_t2 = prog_t2 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ciclos_macros_geral' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='' textmode='1' textarea='58,132,533,432' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='ciclo_macros' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='apresentacao_grafica' />
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='comment' title='' comment='74hc4052 estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='erro_serial &gt;= 3' swap='0' >
										<flowline />
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_MODEM' />
											<command class_type='call' title='Chamar obter sinal' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='obter_sinal' />
											<command class_type='call' title='Chamar clock gsm' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='clock_gsm' />
											<command class_type='call' title='chamar nova sms rec' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='nova_sms_rec' />
										</flowline>
									</command>
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='apresentacao_grafica' />
								</flowline>
							</case>
							<case exp='12' >
								<flowline >
									<command class_type='comment' title='' comment='74hc4052 estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='16' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='apresentacao_grafica' />
								</flowline>
							</case>
							<case exp='20' >
								<flowline >
									<command class_type='comment' title='' comment='74hc4052 estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
							<case exp='24' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='apresentacao_grafica' />
								</flowline>
							</case>
							<case exp='28' >
								<flowline >
									<command class_type='comment' title='' comment='74hc4052 estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
								</flowline>
							</case>
							<case exp='32' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='apresentacao_grafica' />
								</flowline>
							</case>
							<case exp='36' >
								<flowline >
									<command class_type='comment' title='' comment='74hc4052 estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='ciclo_macros' >
							<case >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='ciclo_macros = 38' swap='0' >
										<flowline >
											<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
											<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='40' >
								<flowline >
									<command class_type='comment' title='' comment='74hc4052 modulos T&amp;H' textarea='36,-18,36,-18' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
									<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='ciclo_macros = 0' />
										<exp exp='icon_habilitar = 0' />
									</command>
									<command class_type='comment' title='' comment='20/02/26
chamar &quot;usar_expansao&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='iniciar_pcf8575' />
									<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
								</flowline>
							</case>
							<case exp='10' >
								<flowline >
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
								</flowline>
							</case>
							<case exp='14' >
								<flowline >
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
								</flowline>
							</case>
							<case exp='18' >
								<flowline >
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
								</flowline>
							</case>
							<case exp='22' >
								<flowline >
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
								</flowline>
							</case>
							<case exp='26' >
								<flowline >
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
								</flowline>
							</case>
							<case exp='30' >
								<flowline >
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
								</flowline>
							</case>
							<case exp='34' >
								<flowline >
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sel_74HC4052' />
									<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_app' />
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='incremento de variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='ciclo_macros = ciclo_macros + 1' />
						</command>
						<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='output_pwm' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='pwm1: set duty cycle' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM1' macro='SetDutyCycle' >
							<argument exp='pwmv1' />
						</command>
						<command class_type='comment' title='' comment='pwm2: set duty cycle' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM2' macro='SetDutyCycle' >
							<argument exp='pwmv2' />
						</command>
						<command class_type='comment' title='' comment='pwm3: set duty cycle' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM3' macro='SetDutyCycle' >
							<argument exp='pwmv3' />
						</command>
						<command class_type='comment' title='' comment='pwm4: set duty cycle' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PWM4' macro='SetDutyCycle' >
							<argument exp='pwmv4' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_estores4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = StringToInt$ (temp_aviario4)' />
							<exp exp='prog_t4 = prog_t4 * 10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; prog_t4' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est4 = 0' />
								</command>
								<command class_type='comment' title='' comment='01/05/22
teste para corrigir comando de abertura de estore quando a temperatura é
maior que o valor na variavel temporaria (temporario_byte)' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est4 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est4_baixar = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est4 = temporario_byte - prog_t4' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='percentual_estores' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est4 = posi_est4 * 1.3' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est4 = posi_est4 * 1.6' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est4 = posi_est4 * 1.9' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est4 = posi_est4 * 2.2' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est4 = posi_est4 * 2.5' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est4 = posi_est4 * 2.8' />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est4 = posi_est4 * 3.1' />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est4 = posi_est4 * 3.4' />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est4 = posi_est4 * 3.7' />
											</command>
										</flowline>
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est4 = posi_est4 * 4' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est4 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est4 = 100' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_t4 = prog_t4 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_ventila4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = StringToInt$ (temp_aviario4)' />
							<exp exp='prog_t4 = prog_t4 * 10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &gt; prog_t4 + 1' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='o calculo da saida estava aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pwmv4 = temporario_byte - prog_t4' />
									<exp exp='exponencial4 = pwmv4 * percentual / 100' />
									<exp exp='pwmv4 = pwmv4 * exponencial4' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv4 &gt; 240' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='pwmv4 = 240' />
											<exp exp='out_10 = 1' />
											<exp exp='estado_s10 = &quot;S10 on&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv4 &gt;= 70' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_10 = 1' />
													<exp exp='estado_s10 = &quot;S10 on&quot;' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv4 &lt; 70' swap='1' >
											<flowline >
												<command class_type='comment' title='' comment='03/08/20
aqui estava o calculo da linha de cima' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_10 = 0' />
													<exp exp='estado_s10 = &quot;S3off&quot;' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='pwmv4 = 0' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt;= prog_t4' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_10 = 0' />
											<exp exp='estado_s10 = &quot;S10off&quot;' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='pwmv4 = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui chamava a macro  : output_pwm' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_t4 = prog_t4 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='switch_modulos_jan' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;:&quot;' />
							<exp exp='//comando = comando + &quot;1&quot;' />
							<exp exp='temporario = ToString$(est1_subir)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='temporario = ToString$(est1_baixar)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='//jan 2' />
							<exp exp='temporario = ToString$(est2_subir)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='temporario = ToString$(est2_baixar)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='//jan 3' />
							<exp exp='temporario = ToString$(est3_subir)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='temporario = ToString$(est3_baixar)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='//jan 4' />
							<exp exp='temporario = ToString$(est4_subir)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='temporario = ToString$(est4_baixar)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='//jan 5' />
							<exp exp='temporario = ToString$(est5_subir)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='temporario = ToString$(est5_baixar)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='//jan 6' />
							<exp exp='temporario = ToString$(est6_subir)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='temporario = ToString$(est6_baixar)' />
							<exp exp='comando = comando + &quot;/&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;/&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_sens_fumo' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_senfumo &gt; cal_sens_fumo' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='sensor_fumo = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='histerese ao sensor de fumo :
100 
981 P.P.M.' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_senfumo &lt; cal_sens_fumo - 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='sensor_fumo = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='processar_instrucoes' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset char' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='char = 0' />
						</command>
						<command class_type='loop' title='Ciclo enquanto char &lt;&gt; 255' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='0' exp='char &lt;&gt; 255' start='0' >
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina' >
									<case >
										<flowline >
											<command class_type='comment' title='' comment='reduçao dos tempos de espera de 20 ms para 5 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
												<return exp='char' />
												<argument exp='5' />
											</command>
										</flowline>
									</case>
									<case exp='13 //janelas' >
										<flowline >
											<command class_type='comment' title='' comment='reduçao dos tempos de espera de 50 ms para 10 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
												<return exp='char' />
												<argument exp='10' />
											</command>
										</flowline>
									</case>
									<case exp='8 //num.telemov.' >
										<flowline >
											<command class_type='comment' title='' comment='reduçao dos tempos de espera de 80 ms para 10 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
												<return exp='char' />
												<argument exp='10' />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='decision' title=' 0x65 (evento de toque)' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 0x65' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='ao fazer reset ao &quot;ciclo_switch&quot; com o toque em qualquer tecla 
do display este nao vai sair &quot;automaticamente&quot; da pagina onde está' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='ciclo_switch = 0' />
										</command>
										<command class_type='comment' title='' comment=' 0x65 (evento de toque)+Pagina+Componente' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='switch' title='Switch numero_pagina &gt; 10' textmode='1' textarea='36,25,511,325' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina' >
											<case >
												<flowline >
													<command class_type='comment' title='' comment=' 0x65 (evento de toque)+Pagina+Componente' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='comment' title='' comment='estando o sistema na pagina 0 (geral) a chamada á pagina 1
é feita apenas com o evento de &quot;toque&quot; (0x65) no HMI.
portanto assim passa na &quot;rotina pagina 1&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='switch' title='Switch numero pagina' textmode='1' textarea='36,25,511,325' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina' >
														<case >
															<flowline >
																<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
															</flowline>
														</case>
														<case exp='1 //menu' >
															<flowline >
																<command class_type='call' title='Chamar botoes menu' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='botoes_menu' />
															</flowline>
														</case>
														<case exp='2 //prog_c1' >
															<flowline >
																<command class_type='comment' title='' comment='exemplo saida hmi
 65 0D 51 01 FF FF FF' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																<command class_type='loop' title='2 ciclos para saber numero componente' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='2' >
																	<flowline >
																		<command class_type='comment' title='' comment='reduçao dos tempos de espera de 40 ms para 5 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																		<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
																			<return exp='char' />
																			<argument exp='5' />
																		</command>
																	</flowline>
																</command>
																<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_caldeira1' />
																<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
															</flowline>
														</case>
														<case exp='3 //prog_c2' >
															<flowline >
																<command class_type='call' title='Chamar tres ciclos char' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_char' />
																<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
																<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
															</flowline>
														</case>
														<case exp='4 //PROG T1' >
															<flowline >
																<command class_type='call' title='Chamar tres ciclos char' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_char' />
																<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
																<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
															</flowline>
														</case>
														<case exp='5 //prog t2' >
															<flowline >
																<command class_type='call' title='Chamar tres ciclos char' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_char' />
																<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
																<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
															</flowline>
														</case>
														<case exp='6 //manual' >
															<flowline >
																<command class_type='loop' title='2 Ciclo =  numero componente' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='2' >
																	<flowline >
																		<command class_type='comment' title='' comment='reduçao dos tempos de espera de 40 ms para 5 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																		<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
																			<return exp='char' />
																			<argument exp='5' />
																		</command>
																	</flowline>
																</command>
																<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 0x19 // sair' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='numero_pagina = 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																			<exp exp='numero_pagina = 1' />
																		</command>
																		<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
																	</flowline>
																	<flowline >
																		<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='botoes_manual' />
																		<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_saidas' />
																		<command class_type='comment' title='' comment='em teste para mostrar temperatura do Q.E.' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																		<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='leitura_analogica' />
																		<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_tempQE' />
																	</flowline>
																</command>
															</flowline>
														</case>
														<case exp='7 //ventilacao' >
															<flowline >
																<command class_type='comment' title='' comment='exemplo saida hmi
 65 0D 51 01 FF FF FF' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																<command class_type='loop' title='2 ciclos para saber numero componente' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='2' >
																	<flowline >
																		<command class_type='comment' title='' comment='reduçao dos tempos de espera de 40 ms para 5 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																		<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
																			<return exp='char' />
																			<argument exp='5' />
																		</command>
																	</flowline>
																</command>
																<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_ventilacao' />
																<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
															</flowline>
														</case>
														<case exp='8 //alarm min e sms' >
															<flowline >
																<command class_type='call' title='Chamar tres ciclos char' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_char' />
																<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
																<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
															</flowline>
														</case>
														<case exp='9 //numeros telefone' >
															<flowline >
																<command class_type='loop' title='2 Ciclo =  numero componente' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='2' >
																	<flowline >
																		<command class_type='comment' title='' comment='reduçao dos tempos de espera de 20 ms para 4 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																		<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
																			<return exp='char' />
																			<argument exp='4' />
																		</command>
																	</flowline>
																</command>
																<command class_type='switch' title='Switch' textmode='1' textarea='83,151,558,451' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
																	<case >
																		<flowline >
																			<command class_type='calculation' title='byte_gravar_numeros = 0' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																				<exp exp='byte_gravar_numeros = 0' />
																			</command>
																		</flowline>
																	</case>
																	<case exp='0x02 //+' >
																		<flowline >
																			<command class_type='calculation' title='byte_gravar_numeros = 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																				<exp exp='byte_gravar_numeros = 1' />
																			</command>
																		</flowline>
																	</case>
																	<case exp='0x03 //-' >
																		<flowline >
																			<command class_type='calculation' title='byte_gravar_numeros = 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																				<exp exp='byte_gravar_numeros = 1' />
																			</command>
																		</flowline>
																	</case>
																	<case exp='0x08 // enter' >
																		<flowline >
																			<command class_type='calculation' title='byte_gravar_numeros = 2' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																				<exp exp='byte_gravar_numeros = 2' />
																			</command>
																		</flowline>
																	</case>
																	<case exp='0x01 //sair/menu' >
																		<flowline >
																			<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
																			<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
																		</flowline>
																	</case>
																</command>
																<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
																<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
															</flowline>
														</case>
														<case exp='10 //sensor fumo' >
															<flowline >
																<command class_type='call' title='Chamar tres ciclos char' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_char' />
																<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
																<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
															</flowline>
														</case>
													</command>
												</flowline>
											</case>
											<case exp='11 //nublizaçao' >
												<flowline >
													<command class_type='call' title='Chamar tres ciclos char' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_char' />
													<command class_type='call' title='Chamar colect dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
													<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
												</flowline>
											</case>
											<case exp='12 //res.al.saldo' >
												<flowline >
													<command class_type='loop' title='2 ciclos para saber numero componente' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='2' >
														<flowline >
															<command class_type='comment' title='' comment='reduçao dos tempos de espera de 20 ms para 2 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
															<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
																<return exp='char' />
																<argument exp='2' />
															</command>
														</flowline>
													</command>
													<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
														<case >
															<flowline />
														</case>
														<case exp='0x14 //reset' >
															<flowline >
																<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='comando = &quot;va0.val=1&quot;' />
																</command>
																<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
																<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculos_reset' />
															</flowline>
														</case>
														<case exp='0x22 //apagar' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='contador_alarmes = 0' />
																</command>
															</flowline>
														</case>
														<case exp='0x15 //saldo' >
															<flowline >
																<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculos_saldo' />
															</flowline>
														</case>
														<case exp='0x0E //sair' >
															<flowline >
																<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
															</flowline>
														</case>
													</command>
												</flowline>
											</case>
											<case exp='13 // estores' >
												<flowline >
													<command class_type='comment' title='' comment='exemplo saida hmi
 65 0D 51 01 FF FF FF' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													<command class_type='loop' title='2 ciclos para saber numero componente' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='2' >
														<flowline >
															<command class_type='comment' title='' comment='reduçao dos tempos de espera de 10 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
															<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
																<return exp='char' />
																<argument exp='1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_estores' />
												</flowline>
											</case>
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 35 //#' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='ao fazer reset ao &quot;ciclo_switch&quot; com o toque em qualquer tecla 
do display este nao vai sair &quot;automaticamente&quot; da pagina onde está' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='ciclo_switch = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_estores3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = StringToInt$ (temp_aviario3)' />
							<exp exp='prog_t3 = prog_t3 * 10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; prog_t3' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est3 = 0' />
								</command>
								<command class_type='comment' title='' comment='01/05/22
teste para corrigir comando de abertura de estore quando a temperatura é
maior que o valor na variavel temporaria (temporario_byte)' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est3 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est3_baixar = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est3 = temporario_byte - prog_t3' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='percentual_estores' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est3 = posi_est3 * 1.3' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est3 = posi_est3 * 1.6' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est3 = posi_est3 * 1.9' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est3 = posi_est3 * 2.2' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est3 = posi_est3 * 2.5' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est3 = posi_est3 * 2.8' />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est3 = posi_est3 * 3.1' />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est3 = posi_est3 * 3.4' />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est3 = posi_est3 * 3.7' />
											</command>
										</flowline>
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est3 = posi_est3 * 4' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est3 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est3 = 100' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_t3 = prog_t3 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_ventila3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='28/05/24
alteraçao do valor maximo pwm de 220 para 240' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = StringToInt$ (temp_aviario3)' />
							<exp exp='prog_t3 = prog_t3 * 10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &gt; prog_t3 + 1' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='o calculo da saida estava aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pwmv3 = temporario_byte - prog_t3' />
									<exp exp='exponencial3 = pwmv3 * percentual / 100' />
									<exp exp='pwmv3 = pwmv3 * exponencial3' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv3 &gt; 240' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='pwmv3 = 240' />
											<exp exp='out_9 = 1' />
											<exp exp='estado_s9 = &quot;S9 on&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv3 &gt;= 70' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_9 = 1' />
													<exp exp='estado_s9 = &quot;S9 on&quot;' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv3 &lt; 70' swap='1' >
											<flowline >
												<command class_type='comment' title='' comment='03/08/20
aqui estava o calculo da linha de cima' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_9 = 0' />
													<exp exp='estado_s9 = &quot;S9off&quot;' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='pwmv3 = 0' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt;= prog_t3' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_9 = 0' />
											<exp exp='estado_s9 = &quot;S9off&quot;' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='pwmv3 = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui chamava a macro  : output_pwm' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_t3 = prog_t3 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='switch_char_ventil' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x08 //b0 sair' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man0aut_ventil1 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man0aut_ventil2 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man0aut_ventil3 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man0aut_ventil4 = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='percentual = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='percentual = StringToInt$ (temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='pwmv1 = StringToInt$(temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='pwmv2 = StringToInt$(temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='pwmv3 = StringToInt$(temporario)' />
									</command>
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='pwmv4 = StringToInt$(temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1c //p0 man/auto' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man0aut_ventil1 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='automatico representa 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil1' >
										<case >
											<flowline />
										</case>
										<case exp='0 //manual' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_3 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='pwmv1 = StringToInt$(temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
										<case exp='1 //off' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_3 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
										<case exp='2 //auto' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_3 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0x16 //cursor v1' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='pwmv1 = StringToInt$(temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1e //p1man/aut' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man0aut_ventil2 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='automatico representa 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil2' >
										<case >
											<flowline />
										</case>
										<case exp='0 //manual' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_6 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='pwmv2 = StringToInt$(temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
										<case exp='1 //off' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_6 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
										<case exp='2 //auto' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_6 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0x21 //cursor v2' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='pwmv2 = StringToInt$(temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1f //p2man/aut' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man0aut_ventil3 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='automatico representa 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil3' >
										<case >
											<flowline />
										</case>
										<case exp='0 //manual' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_9 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='pwmv3 = StringToInt$(temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
										<case exp='1 //off' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_9 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
										<case exp='2 //auto' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_9 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0x26 //cursor v3' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='pwmv3 = StringToInt$(temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x20 //p3man/aut' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man0aut_ventil4 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='automatico representa 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil4' >
										<case >
											<flowline />
										</case>
										<case exp='0 //manual' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_10 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='pwmv4 = StringToInt$(temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
										<case exp='1 //off' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_10 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
										<case exp='2 //auto' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_10 = StringToInt$ (temporario)' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0x2a //cursor v4' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='pwmv4 = StringToInt$(temporario)' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_expf' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x33' />
							<argument exp='expf' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_ventila2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='28/05/24
alteraçao do valor maximo pwm de 220 para 240' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = StringToInt$ (temp_aviario2)' />
							<exp exp='prog_t2 = prog_t2 * 10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &gt; prog_t2 + 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pwmv2 = temporario_byte - prog_t2' />
									<exp exp='exponencial2 = pwmv2 * percentual / 100' />
									<exp exp='pwmv2 = pwmv2 * exponencial2' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv2 &gt; 240' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='pwmv2 = 240' />
											<exp exp='out_6 = 1' />
											<exp exp='estado_s6 = &quot;S6 on&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv2 &gt;= 70' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_6 = 1' />
													<exp exp='estado_s6 = &quot;S6 on&quot;' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv2 &lt; 70' swap='1' >
											<flowline >
												<command class_type='comment' title='' comment='03/08/20
aqui estava o calculo da linha de cima' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_6 = 0' />
													<exp exp='estado_s6 = &quot;S6off&quot;' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='pwmv2 = 0' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt;= prog_t2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_6 = 0' />
											<exp exp='estado_s6 = &quot;S6off&quot;' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='pwmv2 = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui chamava a macro  : output_pwm' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_t2 = prog_t2 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_saidas' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_1 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p1.pic=41&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p1.pic=40&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_2 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p2.pic=21&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p2.pic=20&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_3 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p4.pic=23&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p4.pic=22&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_4 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p5.pic=51&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p5.pic=50&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_5 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p6.pic=53&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p6.pic=52&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_6 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p7.pic=55&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p7.pic=54&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_7 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p8.pic=57&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p8.pic=56&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_8 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p9.pic=59&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p9.pic=58&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_9 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p22.pic=133&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p22.pic=132&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_10 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p23.pic=135&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p23.pic=134&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_11 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p24.pic=137&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p24.pic=136&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_12 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p25.pic=139&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;p25.pic=138&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 6' swap='1' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_13 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;p26.pic=161&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;p26.pic=160&quot;' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_14 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;p27.pic=163&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;p27.pic=162&quot;' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_setas_estores' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_estores2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = StringToInt$ (temp_aviario2)' />
							<exp exp='prog_t2 = prog_t2 * 10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; prog_t2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est2 = 0' />
								</command>
								<command class_type='comment' title='' comment='01/05/22
teste para corrigir comando de abertura de estore quando a temperatura é
maior que o valor na variavel temporaria (temporario_byte)' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est2 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est2_baixar = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est2 = temporario_byte - prog_t2' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='percentual_estores' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est2 = posi_est2 * 1.3' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est2 = posi_est2 * 1.6' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est2 = posi_est2 * 1.9' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est2 = posi_est2 * 2.2' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est2 = posi_est2 * 2.5' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est2 = posi_est2 * 2.8' />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est2 = posi_est2 * 3.1' />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est2 = posi_est2 * 3.4' />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est2 = posi_est2 * 3.7' />
											</command>
										</flowline>
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est2 = posi_est2 * 4' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est2 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est2 = 100' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_t2 = prog_t2 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_display_temporiza' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario = &quot;0&quot;' />
									<exp exp='temporario = temporario + minuto_str' />
									<exp exp='temporario = temporario + &quot;:&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario = minuto_str' />
									<exp exp='temporario = temporario + &quot;:&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = Length$ (segundo_str)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario = temporario + &quot;0&quot;' />
									<exp exp='temporario = temporario + segundo_str' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario = temporario + segundo_str' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='USAR_MODEM' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='CONFIGURAÇAO : SEL1= 0 / SEL2= 0
MODEM EM USO' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='sel1 = 0' />
							<exp exp='sel2 = 0' />
						</command>
						<command class_type='output' title='Saída C13 = SEL1' textmode='1' textarea='36,0,511,300' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097154' mask='8192' exp='sel1' usechipref='1' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='1' type='1' />
						<command class_type='output' title='Saída B3 =SEL2' textmode='1' textarea='36,0,511,300' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='8' exp='sel2' usechipref='1' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='1' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='sel_74HC4052' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='CONFIGURAÇAO : SEL1= 0 / SEL2= 1
EBYTE EM USO' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='sel1 = 1' />
							<exp exp='sel2 = 0' />
						</command>
						<command class_type='output' title='Saída C13 = SEL1' textmode='1' textarea='36,0,511,300' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097154' mask='8192' exp='sel1' usechipref='1' />
						<command class_type='output' title='Saída B3 =SEL2' textmode='1' textarea='36,0,511,300' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='8' exp='sel2' usechipref='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_sens_fumo' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='0xd var 1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0xd' />
							<argument exp='var1' />
						</command>
						<command class_type='call' title='0xe var2' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0xe' />
							<argument exp='var2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_ventila1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='28/05/24
alteraçao do valor maximo pwm de 220 para 240' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = StringToInt$ (temp_aviario1)' />
							<exp exp='prog_t1 = prog_t1 * 10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &gt; prog_t1 + 1' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='o calculo da saida estava aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pwmv1 = temporario_byte - prog_t1' />
									<exp exp='exponencial1 = pwmv1 * percentual / 100' />
									<exp exp='pwmv1 = pwmv1 * exponencial1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv1 &gt; 240' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='pwmv1 = 240' />
											<exp exp='out_3 = 1' />
											<exp exp='estado_s3 = &quot;S3 on&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv1 &gt;= 70' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_3 = 1' />
													<exp exp='estado_s3 = &quot;S3 on&quot;' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv1 &lt; 70' swap='1' >
											<flowline >
												<command class_type='comment' title='' comment='03/08/20
aqui estava o calculo da linha de cima' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_3 = 0' />
													<exp exp='estado_s3 = &quot;S3off&quot;' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt;= prog_t1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='// ventilaçao 1' />
											<exp exp='out_3 = 0' />
											<exp exp='estado_s3 = &quot;S3off&quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='aqui chamava a macro  : output_pwm' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_t1 = prog_t1 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_textos_estado' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='habilitar_alarmes_minimos = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='string_alarmes_min = &quot;ALARMES MIN ON&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='string_alarmes_min = &quot;ALARMES MIN OFF&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='excluido o saldo' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='texto = string_habilitar' />
							<exp exp='texto = texto + string_alarmes_min' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + estado_C1' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + estado_C2' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + &quot;C1 &quot;' />
							<exp exp='texto = texto + string_C1' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + &quot;C2 &quot;' />
							<exp exp='texto = texto + string_C2' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + &quot;T1 &quot;' />
							<exp exp='texto = texto + string_T1' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + &quot;H1 &quot;' />
							<exp exp='texto = texto + string_H1' />
							<exp exp='texto = texto + &quot;%&quot;' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + &quot;T2 &quot;' />
							<exp exp='texto = texto + string_T2' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + &quot;H2 &quot;' />
							<exp exp='texto = texto + string_H2' />
							<exp exp='texto = texto + &quot;%&quot;' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + &quot;T3 &quot;' />
							<exp exp='texto = texto + string_T3' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + &quot;H3 &quot;' />
							<exp exp='texto = texto + string_H3' />
							<exp exp='texto = texto + &quot;%&quot;' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + &quot;T4 &quot;' />
							<exp exp='texto = texto + string_T4' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='texto = texto + &quot;H4 &quot;' />
							<exp exp='texto = texto + string_H4' />
							<exp exp='texto = texto + &quot;%&quot;' />
							<exp exp='texto = texto + string_espaco' />
							<exp exp='//texto = texto + saldo' />
							<exp exp='//texto = texto + string_espaco' />
							<exp exp='texto = texto + clock_modem' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='sem_ocurrencias_txt' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;sem ocorrencias&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_t1min' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='habilitar_alarmes_minimos = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='habilitar_alarmes_minimos = 1' swap='1' >
							<flowline >
								<command class_type='comment' title='' comment='na condiçao de primeiro arranque 
nao faz alarme de baixas temperaturas se for pedido ao sistema' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
							<flowline >
								<command class_type='decision' title='adc_temp_1 &lt;  prog_T1 - histerese_T - 2' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_1 &lt; prog_T1 - histerese_T - 2' swap='0' >
									<flowline >
										<command class_type='decision' title='alarme_temp1min = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_temp1min = 1' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='alarme_temp1min = 1' />
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;TEMP.BAIXA 1# &quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='temporario = Left$ (temp_aviario1,2)' />
													<exp exp='temporario2 = right$ (temp_aviario1,1)' />
													<exp exp='temporario = temporario + &quot;.&quot;' />
													<exp exp='temporario = temporario + temporario2' />
													<exp exp='//temporario = temporario + &quot;°&quot;' />
													<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='alteracao 30/12/16
se a caldeira 1 estiver desligada nao faz alarmes de temperaturas
minimas referente a mesma' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='comment' title='' comment='alteracao 30/12/16
se a caldeira 2 estiver desligada nao faz alarmes de temperaturas
minimas referente a mesma' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_fumo' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='sensor_fumo = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sensor_fumo = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='alarme fumo' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fumo = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_fumo = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot; FUMO DETETCTADO !!&quot;' />
											<exp exp='aviso_alarme = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='texto = texto_de_alarme' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + estado_C1' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + estado_C2' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;C1 &quot;' />
													<exp exp='texto = texto + string_C1' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;C2 &quot;' />
													<exp exp='texto = texto + string_C2' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + saldo' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + clock_modem' />
												</command>
												<command class_type='comment' title='' comment='chamar lista telefones' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_t2_max' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='adc_temp_2 &gt; prog_T2 + 2 + histerese_T ' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_2 &gt; prog_T2 + 2 + histerese_T' swap='0' >
							<flowline >
								<command class_type='decision' title='alarme_temp2max = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_temp2max = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_temp2max = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;TEMP.ALTA 2# &quot;' />
											<exp exp='aviso_alarme = 0' />
											<exp exp='temporario = Left$ (temp_aviario2,2)' />
											<exp exp='temporario2 = right$ (temp_aviario2,1)' />
											<exp exp='temporario = temporario + &quot;.&quot;' />
											<exp exp='temporario = temporario + temporario2' />
											<exp exp='//temporario = temporario + &quot;°&quot;' />
											<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_estores1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = StringToInt$ (temp_aviario1)' />
							<exp exp='prog_t1 = prog_t1 * 10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; prog_t1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est1 = 0' />
								</command>
								<command class_type='comment' title='' comment='01/05/22
teste para corrigir comando de abertura de estore quando a temperatura é
maior que o valor na variavel temporaria (temporario_byte)' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est1 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='est1_baixar = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='esta era a formula inicial

posi_est1 = temporario_byte - prog_t1
exponencial_est1 = posi_est1 * percentual_estores / 100 
posi_est1 = posi_est1 * exponencial_est1
' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est1 = temporario_byte - prog_t1' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='percentual_estores' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est1 = posi_est1 * 1.3' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est1 = posi_est1 * 1.6' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est1 = posi_est1 * 1.9' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est1 = posi_est1 * 2.2' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est1 = posi_est1 * 2.5' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est1 = posi_est1 * 2.8' />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est1 = posi_est1 * 3.1' />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est1 = posi_est1 * 3.4' />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est1 = posi_est1 * 3.7' />
											</command>
										</flowline>
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='posi_est1 = posi_est1 * 4' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='posi_est1 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='posi_est1 = 100' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='prog_t1 = prog_t1 / 10' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_display_pwm4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_10 = 1' swap='0' >
							<flowline />
							<flowline >
								<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil4 = 1 // ventil off' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv4 &lt; 70 //equivale a +- 18Hz' swap='0' >
							<flowline >
								<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;V4.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='byte_vent_anim4 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = pwmv4' />
									<exp exp='temporario_byte = temporario_byte / 4.8' />
									<exp exp='temporario_byte = temporario_byte + 1' />
									<exp exp='temporario = ToString$ (temporario_byte)' />
									<exp exp='temporario = temporario + &quot;Hz&quot;' />
									<exp exp='comando = &quot;V4.txt=&quot; //mostrar o valor pwm4 / 2.55 (0-100%)' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + temporario' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='byte_vent_anim4 = 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_ventanima4' />
					</flowline>
				</macro>
				<macro >
					<flowline name='loop_ate_ok' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='char = 0' />
							<exp exp='rs232_result = &quot;&quot;' />
							<exp exp='count = 0' />
							<exp exp='temporario = &quot;&quot;' />
						</command>
						<command class_type='loop' title='Ciclo' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='25' >
							<flowline >
								<command class_type='comment' title='' comment='chamar control rs232' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='comment' title='' comment='tempo timeout modificado 
estava : 10ms ficou 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='count = 2' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='count = 2' swap='0' >
									<flowline >
										<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='switch' title='capturar &quot;OK&quot;' textmode='1' textarea='36,25,511,325' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
									<case >
										<flowline />
									</case>
									<case exp='75' >
										<flowline >
											<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='string_char[0] = char' />
												<exp exp='rs232_result = rs232_result + string_char' />
												<exp exp='count = count + 1' />
											</command>
										</flowline>
									</case>
									<case exp='79' >
										<flowline >
											<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='string_char[0] = char' />
												<exp exp='rs232_result = rs232_result + string_char' />
												<exp exp='count = count + 1' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='byte_result = Compare$ (result_ok,rs232_result,1)' />
						</command>
						<command class_type='decision' title='byte_result = 0' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_result = 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='reset ao contador_falha_ok' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_falha_ok = 0' />
								</command>
								<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='contador_falha_ok = contador_falha_ok + 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador_falha_ok = contador_falha_ok + 1' />
						</command>
						<command class_type='decision' title='contador_falha_ok &gt;= 5' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_falha_ok &gt;= 5' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='erro_serial &gt;= 3' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='reset ao contador_falha_ok' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='contador_falha_ok = 0' />
										</command>
										<command class_type='call' title='Chamar arrancam modem ' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='arrancar_com_modem' />
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='char = 0' />
							<exp exp='temporario = rs232_result' />
							<exp exp='rs232_result = &quot;&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='tres_ciclos_ff' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='loop' title='3ciclos' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='3' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='SendChar' >
									<argument exp='0xff' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='leitura_modulos' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='chamar calculo modulos' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_modulos' />
						<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='char = 0' />
							<exp exp='string_geral = &quot;&quot;' />
							<exp exp='string_char = &quot;&quot;' />
							<exp exp='temporario = &quot;&quot;' />
							<exp exp='comando = &quot;&quot;' />
							<exp exp='data_temp = &quot;&quot;' />
							<exp exp='data_humid = &quot;&quot;' />
							<exp exp='data_batt = &quot;&quot;' />
							<exp exp='contador = 0' />
						</command>
						<command class_type='loop' title='' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='contador = 5' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='04/08/25
time out reduzido de 250 para 25' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='25' />
								</command>
								<command class_type='decision' title='char = 10 // line feed' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 10 // line feed' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='char &lt; 127' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 127' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='contador = 0' />
												</command>
												<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador = contador + 1' />
								</command>
								<command class_type='comment' title='' comment='19/06/25
teste para tentar corrigir apresentacao grafica 
dos temporizadores no display HMI' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador = 3' swap='0' >
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='geral_nubliza' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='no calculo seguinte vai determinar a cor de fundo 
do respetivo modulo para vermelho' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = StringToInt$ (numero_modulo)' />
							<exp exp='cont_f_sen_geral = cont_f_sen_geral + 1' />
							<exp exp='contador = 0' />
						</command>
						<command class_type='comment' title='' comment='a proxima decisão nao é estritamente necessaria
serve apenas para mostrar quando os sensores falhao' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_f_sen_geral &gt; 5' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_reset = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='a proxima decisão nao é estritamente necessaria
serve apenas para mostrar quando os sensores falhao' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_f_sen_geral = 5' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_reset = 0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;vis falha,1&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='a seguinte macro não é estritamente necessaria
serve apenas para contar o numero de vezes que cada sensor pode 
eventualmente falhar' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='contadores_falhas_sensores' />
						<command class_type='decision' title='numero_pagina &lt;&gt; 0' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
							</flowline>
						</command>
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;falha.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;sensor&quot;' />
							<exp exp='comando = comando + numero_modulo' />
							<exp exp='comando = comando + &quot; F &quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
						<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='calculation' title='reset char' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='char = 0' />
						</command>
						<command class_type='comment' title='' comment='receber o segundo caractere para determinar se
a temperatura é negativa ou positiva' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='reduçao dos tempos de espera de 10 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
							<return exp='char' />
							<argument exp='1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 45 // -' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temp_negativa = 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temp_negativa = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='loop para determinar temperaturas' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='loop' title='até char = 255' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char = 255' start='0' >
							<flowline >
								<command class_type='decision' title='char &gt;= 32 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt;= 32' swap='0' >
									<flowline >
										<command class_type='decision' title='char &lt; 127 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 127' swap='1' >
											<flowline />
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 35 //#' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point C' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='string_char[0] = char' />
															<exp exp='string_geral = string_geral + string_char' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='reduçao dos tempos de espera de 10 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='1' />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point C' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='C' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='data_temp = string_geral' />
							<exp exp='string_geral = &quot;&quot;' />
							<exp exp='char = 0' />
							<exp exp='tamanho_str_temp = Length$ (data_temp)' />
						</command>
						<command class_type='comment' title='' comment='loop para determinar humidades' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='loop' title='até char = 255' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char = 255' start='0' >
							<flowline >
								<command class_type='decision' title='char &gt;= 32 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt;= 32' swap='0' >
									<flowline >
										<command class_type='decision' title='char &lt; 127 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 127' swap='1' >
											<flowline />
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 35 //#' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point D' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='3' labelname='' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='string_char[0] = char' />
															<exp exp='string_geral = string_geral + string_char' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='reduçao dos tempos de espera de 10 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='1' />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point D' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='3' labelname='D' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='data_humid = string_geral' />
						</command>
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tamanho_str_humid = Length$ (string_geral)' />
							<exp exp='char = 0' />
							<exp exp='string_geral = &quot;&quot;' />
						</command>
						<command class_type='comment' title='' comment='loop para determinar batt' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='loop' title='até char = 255' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char = 255' start='0' >
							<flowline >
								<command class_type='decision' title='char &gt;= 32 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt;= 32' swap='0' >
									<flowline >
										<command class_type='decision' title='char &lt; 127 // caracteres alfanumericos' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 127' swap='1' >
											<flowline />
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 35 //#' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point E' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='4' labelname='' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='string_char[0] = char' />
															<exp exp='string_geral = string_geral + string_char' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='reduçao dos tempos de espera de 10 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='1' />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='4' labelname='E' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='data_batt = string_geral' />
						</command>
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tamanho_str_batt = Length$ (string_geral)' />
							<exp exp='char = 0' />
						</command>
						<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_str_batt &lt;&gt; 0' swap='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = StringToInt$ (numero_modulo)' />
									<exp exp='cont_f_sen_geral = cont_f_sen_geral + 1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_f_sen_geral &gt; 6' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='contador_reset = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='cont_f_sen_geral = 8' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;vis falha,1&quot;' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='10' type='1' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='chamar contadores falhas sensores' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='contadores_falhas_sensores' />
								<command class_type='comment' title='' comment='colocar aqui o que está na reserva com o nome :
&quot;calculo falha dados&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;T&quot; // alterando a letra é possivel usar outro icon de fundo no HMI' />
									<exp exp='comando = comando + numero_modulo' />
									<exp exp='comando = comando + &quot;.bco=2016&quot; // mudar a cor da respetiva janela de fundo para verde' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_reset = contador_reset + 1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_reset = 10' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='cont_f_sen_geral = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='numero_pagina &lt;&gt; 0' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_reset = 10' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='01/11/21
adicionado no calculo seguinte reset as variaveis :
cont_sens_fail_3 = 0
cont_sens_fail_4 = 0' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;vis falha,0&quot;' />
													<exp exp='cont_sens_fail_1 = 0' />
													<exp exp='cont_sens_fail_2 = 0' />
													<exp exp='cont_sens_fail_3 = 0' />
													<exp exp='cont_sens_fail_4 = 0' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='chamar calculo dados modulos' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_dados_modulos' />
								<command class_type='comment' title='' comment='para mostrar no display o que é lido por cada sensor
deve colocar aqui em baixo o que está na macro reserva
ponto : 3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='label' title='Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
						<command class_type='comment' title='' comment='se o numero da pagina nao for 0
nao vai enviar para o display os dados 
' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='numero_pagina &lt;&gt; 0' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador_modulos_rf = contador_modulos_rf + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_modulos_rf &gt; 4' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_modulos_rf = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='p13_estores_prog_display' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='bt0.val janelas 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (man_aut_est1)' />
							<exp exp='comando = &quot;bt0.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='bt1.val janelas 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (man_aut_est2)' />
							<exp exp='comando = &quot;bt1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='bt2.val janelas 3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (man_aut_est3)' />
							<exp exp='comando = &quot;bt2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='bt3.val janelas 4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (man_aut_est4)' />
							<exp exp='comando = &quot;bt3.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='bt4.val janelas 5
 // 14/03/24 alteraçao para mais 2 estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (man_aut_est5)' />
							<exp exp='comando = &quot;bt4.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='bt5.val janelas 6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (man_aut_est6)' />
							<exp exp='comando = &quot;bt5.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='percentual' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='percentual_estores = percentual_estores * 10' />
							<exp exp='temporario = ToString$ (percentual_estores)' />
							<exp exp='comando = &quot;exp.val=&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='percentual_estores = percentual_estores / 10' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores1_2' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores3_4' />
						<command class_type='comment' title='' comment='14/03/24 alteraçao para mais 2 estores' textarea='102,0,102,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores5_6' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (per_abert_estores)' />
							<exp exp='comando = &quot;aberto.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_display_pwm3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='28/05/24
alteraçoes na leitura grafica e no calculo vetorial PWM' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_9 = 1' swap='0' >
							<flowline />
							<flowline >
								<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil3 = 1 //ventil off' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv3 &lt; 70 //equivale a +- 18Hz' swap='0' >
							<flowline >
								<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;V3.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='byte_vent_anim3 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = pwmv3' />
									<exp exp='temporario_byte = temporario_byte / 4.8' />
									<exp exp='temporario_byte = temporario_byte + 1' />
									<exp exp='temporario = ToString$ (temporario_byte)' />
									<exp exp='temporario = temporario + &quot;Hz&quot;' />
									<exp exp='comando = &quot;V3.txt=&quot; //mostrar o valor pwm3 / 2.55 (0-100%)' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + temporario' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='byte_vent_anim3 = 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_ventanima3' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_fdcs_com_jan6' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd6 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est6_baixar = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_baixar6' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd6 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd6 = alarme_fcd6 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd6 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c.descer est6&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs6 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est6_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_subir6' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs6 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs6 = alarme_fcs6 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs6 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c. subir est6&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_alarme_com_janelas' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_C2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='print adc_caldeira_2' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = &quot;c2.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//nota:' />
							<exp exp='//no interface está a ser usada uma variavel do tipo &quot;float&quot; para mostrar as temperaturas em formato de virgula decimal' />
							<exp exp='//adc_caldeira_2 = adc_caldeira_2 * 10 // apagar este calculo quando o sensor estiver definitivamente ligado !!' />
							<exp exp='temporario = ToString$ (adc_caldeira_2)' />
							<exp exp='comando = &quot;c2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='//comando = comando + temp_caldeira2' />
							<exp exp='//adc_caldeira_2 = adc_caldeira_2 / 10' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_display_pwm2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='28/05/24
alteraçoes na leitura grafica e no calculo vetorial PWM' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_6 = 1' swap='0' >
							<flowline />
							<flowline >
								<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil2 = 1' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv2 &lt; 70 //equivale a +- 18Hz' swap='0' >
							<flowline >
								<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;V2.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='byte_vent_anim2 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='mostrar o valor pwm2 / 4.8 (18-50Hz)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = pwmv2' />
									<exp exp='temporario_byte = temporario_byte / 4.8' />
									<exp exp='temporario_byte = temporario_byte + 1' />
									<exp exp='temporario = ToString$ (temporario_byte)' />
									<exp exp='temporario = temporario + &quot;Hz&quot;' />
									<exp exp='comando = &quot;V2.txt=&quot; //mostrar o valor pwm1 / 2.24 (0-100%)' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + temporario' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='byte_vent_anim2 = 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_ventanima2' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_para_cicloswitch' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='ciclo_switch = 0' />
							<exp exp='numero_pagina = 1' />
							<exp exp='contador = 0' />
						</command>
						<command class_type='calculation' title='comando = &quot;page 1&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;page 1&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_fdcs_com_jan5' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='devido á relocalizaçao grafica das janelas
a &quot;contagem&quot; das variaveis já nao coincide 
com a contagem das janelas' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='jan 5' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd5 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est5_baixar = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_baixar5' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd5 = 1' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd5 = alarme_fcd5 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd5 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c.descer est5&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs5 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est5_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_subir5' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs5 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs5 = alarme_fcs5 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs5 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c. subir est5&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_alarme_com_janelas' />
					</flowline>
				</macro>
				<macro >
					<flowline name='apresentacao_grafica' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='leitura analogica' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='leitura_analogica' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores1_2' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores3_4' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estores5_6' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_saidas' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_fundojan_page' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_pwm_man0aut_p7' />
						<command class_type='comment' title='' comment='13/02/26
alteração para quando houver falha
de luz não haver referencia de falha nos 
disjuntores até que haja reset ao alarme 
de falha de luz


a referencia de variavel tomada é :(falha_luz &gt;= 1)
neste caso quando a energia retoma o processo tambem volta
a verificar a condição dos &quot;disjuntores&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='falha_luz &gt;= 1' swap='1' >
							<flowline />
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_disjuntores' />
							</flowline>
						</command>
						<command class_type='call' title='Chamar display estado caldeiras' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estado_caldeiras_condutas' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_batt1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_batt2' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_batt3' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_batt4' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_batt_geral' />
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='estado_alarmes_min' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='estado_sms_habilitar' />
						<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;gsm.val=&quot;' />
							<exp exp='//comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + string_csq' />
							<exp exp='//comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_clock' />
					</flowline>
				</macro>
				<macro >
					<flowline name='iniciar_ds18b20' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Startup One Wire Comms' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='One_Wire1' macro='Initialise' />
						<command class_type='call' title='Initialise all sensors on the bus' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='DS18B20_caldeira' macro='Initialise' />
						<command class_type='comment' title='' comment='pedir numero de serie' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='DS18B20_caldeira' macro='GetSerialString' >
							<return exp='Serial' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_C1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='print adc_temp_1' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = &quot;c1.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//nota:' />
							<exp exp='//no interface está a ser usada uma variavel do tipo &quot;float&quot; para mostrar as temperaturas em formato de virgula decimal' />
							<exp exp='//adc_caldeira_1 = adc_caldeira_1 * 10 // apagar este calculo quando o sensor estiver definitivamente ligado !!' />
							<exp exp='adc_caldeira_1 = adc_caldeira_1 / 10' />
							<exp exp='temporario = ToString$(adc_caldeira_1)' />
							<exp exp='comando = &quot;c1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='adc_caldeira_1 = adc_caldeira_1 * 10' />
							<exp exp='//comando = comando + temp_caldeira1' />
							<exp exp='//adc_caldeira_1 = adc_caldeira_1 / 10' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = str_temp //ToString$(Temperature)' />
							<exp exp='comando = &quot;tc.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='chamar 3 ciclos ff' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='clock_set' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;AT+CCLK=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CCLK=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + clock_rede' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF ' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar loop ate ok' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_display_pwm1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='28/05/24
alteraçoes na leitura grafica e no calculo vetorial PWM' textarea='46,20,46,20' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' textarea='46,20,46,20' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_3 = 1' swap='0' >
							<flowline />
							<flowline >
								<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil1 = 1 //ventil off' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='' textarea='46,20,46,20' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv1 &lt; 70 //equivale a +- 18hz' swap='0' >
							<flowline >
								<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
								<command class_type='calculation' title='nao mostrar valor para &lt; 70  pwm1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;V1.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='byte_vent_anim1 = 0' />
									<exp exp='F2 = &quot;--&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='mostrar o valor pwm1 / 4.8 (18-50Hz)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = pwmv1' />
									<exp exp='temporario_byte = temporario_byte / 4.8' />
									<exp exp='temporario_byte = temporario_byte + 1' />
									<exp exp='temporario = ToString$(temporario_byte)' />
									<exp exp='F2 = temporario' />
									<exp exp='temporario = temporario + &quot;Hz&quot;' />
									<exp exp='comando = &quot;V1.txt=&quot; //mostrar o valor pwm1 / 2.55 (0-100%)' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + temporario' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='byte_vent_anim1 = 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='46,20,521,320' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='Call Macro' textarea='46,20,46,20' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_ventanima1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='manual_estado_botoes' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_1)' />
							<exp exp='comando = &quot;bt0.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_2)' />
							<exp exp='comando = &quot;bt1.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_3)' />
							<exp exp='comando = &quot;bt2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_4)' />
							<exp exp='comando = &quot;bt4.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_5)' />
							<exp exp='comando = &quot;bt5.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_6)' />
							<exp exp='comando = &quot;bt6.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_7)' />
							<exp exp='comando = &quot;bt3.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_8)' />
							<exp exp='comando = &quot;bt7.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_11)' />
							<exp exp='comando = &quot;bt8.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_12)' />
							<exp exp='comando = &quot;bt9.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_9)' />
							<exp exp='comando = &quot;bt10.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (out_10)' />
							<exp exp='comando = &quot;bt11.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$(out_13)' />
							<exp exp='comando = &quot;bt12.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$(out_14)' />
							<exp exp='comando = &quot;bt13.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_clock_timers' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = Length$ (segundo_str)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario = minuto_str' />
									<exp exp='temporario = temporario + &quot;0&quot;' />
									<exp exp='temporario = temporario + segundo_str' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario = minuto_str' />
									<exp exp='temporario = temporario + segundo_str' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_pwm_man0aut_p7' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil1 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_pwm1' />
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil2 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_pwm2' />
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil3 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_pwm3' />
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil4 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_pwm4' />
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina &lt;&gt; 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off = 1 // desligada' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_pwmf1' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_display_pwmf1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' textarea='46,20,46,20' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_1 = 1' swap='1' >
							<flowline >
								<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' textarea='46,20,46,20' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmf1 &lt; 15 //equivale a +- 15hz' swap='0' >
							<flowline >
								<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
								<command class_type='calculation' title='nao mostrar valor para &lt; 15 pwmf1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;F1.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='F1 = &quot;--&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = pwmf1' />
									<exp exp='temporario = ToString$(temporario_byte)' />
									<exp exp='F1 = temporario' />
									<exp exp='temporario = temporario + &quot;Hz&quot;' />
									<exp exp='comando = &quot;F1.txt=&quot; //mostrar o valor pwmf1 / 2.55 (0-100%)' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + temporario' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='46,20,521,320' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='chamar macro correspondente ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='output_pwm_fumos' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='pwmf1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_1 = 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
								<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario_byte = pwmf1 * 81.92' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &gt;= 4095' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 4094' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PCA9685_PWM1' macro='SetPin' >
							<argument exp='0' />
							<argument exp='temporario_byte' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ler_ds18b20' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='DS18B20_caldeira' macro='AddressNextDevice' />
						<command class_type='call' title='Perform temperature conversion - wait for completion' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='DS18B20_caldeira' macro='SampleAddressedDevice' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Collect Temperature' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='DS18B20_caldeira' macro='GetTemperature' >
							<return exp='Temp_caldeira1_ds' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='str_temp = FloatToString$(Temp_caldeira1_ds)' />
							<exp exp='tamanho = Length$(str_temp)' />
							<exp exp='str = &quot;&quot;' />
							<exp exp='' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho &lt; 9' swap='1' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho = 9' swap='1' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='Temp_caldeira1_ds &lt; 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='str_temp = Left$(str_temp,5)' />
													<exp exp='str = &quot;00&quot;' />
													<exp exp='adc_caldeira_1 = StringToInt$(str)' />
													<exp exp='control_int_temp_c1 = adc_caldeira_1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='str_temp = Left$(str_temp,5)' />
													<exp exp='unidade = Left$(str_temp,3)' />
													<exp exp='decimal = Mid$(str_temp,4,4)' />
													<exp exp='str = unidade + decimal' />
													<exp exp='adc_caldeira_1 = StringToInt$(str)' />
													<exp exp='control_int_temp_c1 = adc_caldeira_1' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='Temp_caldeira1_ds &lt; 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='str_temp = Left$(str_temp,4)' />
													<exp exp='str = &quot;00&quot;' />
													<exp exp='adc_caldeira_1 = StringToInt$(str)' />
													<exp exp='control_int_temp_c1 = adc_caldeira_1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='str_temp = Left$(str_temp,4)' />
													<exp exp='unidade = Left$(str_temp,2)' />
													<exp exp='decimal = Mid$(str_temp,3,3)' />
													<exp exp='str = unidade + decimal' />
													<exp exp='adc_caldeira_1 = StringToInt$(str)' />
													<exp exp='control_int_temp_c1 = adc_caldeira_1' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='str_temp = Left$(str_temp,3)' />
									<exp exp='unidade = Left$(str_temp,1)' />
									<exp exp='decimal = Mid$(str_temp,2,2)' />
									<exp exp='str = unidade + decimal' />
									<exp exp='adc_caldeira_1 = StringToInt$(str)' />
									<exp exp='control_int_temp_c1 = adc_caldeira_1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='falha_ds18b20 = Compare$(erro1_ds18b20,str_temp,1)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='falha_ds18b20 &lt;&gt; 0' swap='1' >
							<flowline />
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='falha_ds18b20 = Compare$(erro0_ds18b20,str_temp,1)' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_temp_QE' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 6' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temp_qe &gt;= 25' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_13 = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temp_qe &lt;= 20' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_13 = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temp_qe &lt;= 12' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_14 = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temp_qe &gt;= 15' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_14 = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='arrancar_com_modem' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = &quot;&quot;' />
							<exp exp='temporario_byte = 0' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_MODEM' />
						<command class_type='calculation' title='comando = &quot;ATE0&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;ATE0&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='calculation' title='comando = &quot;AT+IPR=38400&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+IPR=38400&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='calculation' title='comando = &quot;AT&amp;W&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT&amp;W&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='loop' title='10 ciclos' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='10' start='0' >
							<flowline >
								<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='rs232_result = &quot;&quot;' />
									<exp exp='char = 0' />
									<exp exp='char_enter_count = 0' />
									<exp exp='byte_result = 1' />
									<exp exp='//temporario = &quot;&quot;' />
								</command>
								<command class_type='calculation' title='comando = &quot;AT+CREG?&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;AT+CREG?&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
									<argument exp='comando' />
								</command>
								<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
								<command class_type='calculation' title='reset rs232_result' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='rs232_result = &quot;&quot;' />
								</command>
								<command class_type='call' title='Chamar  registo sim rede' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='registo_sim_rede' />
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='byte_result = Compare$(rs232_result,registo_simcard,1)' />
								</command>
								<command class_type='delay' title='Atraso' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='1' type='2' />
								<command class_type='comment' title='' comment='alteraçao 18/04/22' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_result &lt;&gt; 0' swap='1' >
									<flowline >
										<command class_type='calculation' title='reset variaveis' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario = &quot;&quot;' />
											<exp exp='temporario_byte = 0' />
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temporario = ToString$(temporario_byte)' />
											<exp exp='comando = &quot;t0.txt=&quot;' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='comando = comando + &quot;a fazer login....&quot;' />
											<exp exp='comando = comando + temporario' />
											<exp exp='comando = comando + &quot;\&quot;&quot;' />
											<exp exp='temporario_byte = temporario_byte + 1' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_result &lt;&gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;t0.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;falha ao arrancar com modem!&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='3' type='2' />
								<command class_type='comment' title='' comment='18/04/22
teste para tentar corrigir falha com modulos sensores/modem' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='comment' title='' comment='após 3 tentativas para restablecer comunicaçao, 
é reportado o efetivo erro atraves do sistema de alarme' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='erro_serial &gt;= 3' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
										<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
											<return exp='erro_serial' />
											<argument exp='0x2a' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='erro_serial = erro_serial + 1' />
										</command>
										<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
											<argument exp='0x2a' />
											<argument exp='erro_serial' />
										</command>
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
										<command class_type='comment' title='' comment='com um impulso negativo aplicado a esta porta o processador reinicia e assim 
è possivel restableçer todas as comunicações com os periféricos
nota:
nas condiçoes normais esta porta deve estar polarizada com potencial positivo
e em caso de programaçao deve ser deixada em float' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='output' title='RESET MCRL/MCU' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097153' mask='4' exp='0' usechipref='1' />
										<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='2' type='2' />
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='rs232_result = &quot;&quot;' />
							<exp exp='char = 0' />
							<exp exp='char_enter_count = 0' />
							<exp exp='byte_result = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculos_reset' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset estados / alarmes' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='alarme_fumo = 0' />
							<exp exp='alarme_falha_luz = 0' />
							<exp exp='byte_onboard_stat = 0' />
							<exp exp='led_alarmes = 0' />
							<exp exp='byte_sms_reset = 0' />
							<exp exp='alarme_temp1max = 0' />
							<exp exp='alarme_temp2max = 0' />
							<exp exp='alarme_temp3max = 0' />
							<exp exp='alarme_temp4max = 0' />
							<exp exp='alarme_c1max = 0' />
							<exp exp='alarme_c2max = 0' />
							<exp exp='alarme_temp1min = 0' />
							<exp exp='alarme_temp2min = 0' />
							<exp exp='alarme_temp3min = 0' />
							<exp exp='alarme_temp4min = 0' />
							<exp exp='alarme_c2min = 0' />
							<exp exp='alarme_c1min = 0' />
							<exp exp='estado_de_alarme = 0' />
							<exp exp='alarme_falha_sensor1 = 0' />
							<exp exp='alarme_falha_sensor2 = 0' />
							<exp exp='alarme_falha_sensor3 = 0' />
							<exp exp='alarme_falha_sensor4 = 0' />
							<exp exp='cont_sens_fail_1 = 0' />
							<exp exp='cont_sens_fail_2 = 0' />
							<exp exp='cont_sens_fail_3 = 0' />
							<exp exp='cont_sens_fail_4 = 0' />
							<exp exp='//contador_alarmes = 0' />
							<exp exp='alarme_batt1 = 0' />
							<exp exp='alarme_batt2 = 0' />
							<exp exp='alarme_batt3 = 0' />
							<exp exp='alarme_batt4 = 0' />
							<exp exp='alarme_fcd1 = 0' />
							<exp exp='alarme_fcs1 = 0' />
							<exp exp='alarme_fcd2 = 0' />
							<exp exp='alarme_fcs2 = 0' />
							<exp exp='alarme_fcs3 = 0' />
							<exp exp='alarme_fcd3 = 0' />
							<exp exp='alarme_fcs4 = 0' />
							<exp exp='alarme_fcd4 = 0' />
							<exp exp='alarme_fcd5 = 0' />
							<exp exp='alarme_fcs5 = 0' />
							<exp exp='alarme_fcd6 = 0' />
							<exp exp='alarme_fcs6 = 0' />
							<exp exp='alarme_intrusao = 0' />
							<exp exp='alarme_comunicacao = 0' />
							<exp exp='erro_serial = 0' />
							<exp exp='alarme_janelas = 0' />
							<exp exp='//alarme_jan2 = 0' />
							<exp exp='//alarme_jan3 = 0' />
							<exp exp='//alarme_jan4 = 0' />
							<exp exp='//alarme_jan5 = 0' />
							<exp exp='//alarme_jan6 = 0' />
							<exp exp='alarme_dmf1 = 0' />
							<exp exp='alarme_dmf2 = 0' />
							<exp exp='alarme_dmar1 = 0' />
							<exp exp='alarme_dmar2 = 0' />
							<exp exp='alarme_dmv1 = 0' />
							<exp exp='alarme_dmv2 = 0' />
							<exp exp='alarme_dmv3 = 0' />
							<exp exp='alarme_dmv4 = 0' />
							<exp exp='alarme_dmjan1 = 0' />
							<exp exp='alarme_dmjan2 = 0' />
							<exp exp='alarme_dmjan3 = 0' />
							<exp exp='alarme_dmjan4 = 0' />
							<exp exp='alarme_dmjan5 = 0' />
							<exp exp='alarme_dmjan6 = 0' />
							<exp exp='alarme_batt_geral = 0' />
							<exp exp='alarme_ds18b20 = 0' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='iniciar_ds18b20' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x2a' />
							<argument exp='erro_serial' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_t3_max' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='adc_temp_3 &gt; prog_T3 + 2 + histerese_T' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_3 &gt; prog_T3 + 2 + histerese_T' swap='0' >
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_temp3max = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_temp3max = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;TEMP.ALTA 3# &quot;' />
											<exp exp='aviso_alarme = 0' />
											<exp exp='temporario = Left$ (temp_aviario3,2)' />
											<exp exp='temporario2 = right$ (temp_aviario3,1)' />
											<exp exp='temporario = temporario + &quot;.&quot;' />
											<exp exp='temporario = temporario + temporario2' />
											<exp exp='//temporario = temporario + &quot;°&quot;' />
											<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_batt_geral' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' textmode='1' textarea='126,120,601,420' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt_geral &lt;= 3040 //12 byte // equivale a cerca de 60%' swap='0' >
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='72,161,547,461' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_batt_geral = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_batt_geral = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;BATERIA BACKUP BAIXA !!!&quot;' />
											<exp exp='aviso_alarme = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='texto = texto_de_alarme' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + saldo' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + clock_modem' />
												</command>
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='switch_char_caldeira1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x03 //b0 sair' >
								<flowline >
									<command class_type='comment' title='' comment='manual/0/automatico' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='caldeira1_on_off = StringToInt$(temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='caldeira1_on_off = StringToInt$(temporario)' />
									</command>
									<command class_type='comment' title='' comment='safe val' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='prog_c1 = StringToInt$(temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='prog_c1 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='pwm f1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off = 1 // desligada' swap='0' >
										<flowline >
											<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = 0 // motor fumos 1 sinal pwm' />
												<exp exp='' />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='pwmf1 = StringToInt$(temporario) // motor fumos 1 sinal pwm' />
												<exp exp='' />
											</command>
										</flowline>
									</command>
									<command class_type='comment' title='' comment='expf' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='expf = StringToInt$(temporario) // valor para calculo percentual' />
									</command>
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_pca9685' />
									<command class_type='comment' title='' comment='aqui estava chamar &quot;PWM_c1_on_off&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_c1_on_off' />
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm_fumos' />
								</flowline>
							</case>
							<case exp='0x13 //p0 man/auto' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='caldeira1_on_off = StringToInt$(temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='caldeira1_on_off = StringToInt$(temporario)' />
									</command>
									<command class_type='comment' title='' comment='automatico representa 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off' >
										<case >
											<flowline />
										</case>
										<case exp='0 //manual' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_1 = StringToInt$(temporario) //fumos 1' />
												</command>
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='pwmf1 = StringToInt$(temporario)' />
												</command>
												<command class_type='comment' title='' comment='expf' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='expf = StringToInt$(temporario) // valor para calculo percentual' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_pca9685' />
												<command class_type='comment' title='' comment='aqui estava chamar &quot;PWM_c1_on_off&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_c1_on_off' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm_fumos' />
											</flowline>
										</case>
										<case exp='1 //off' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_1 = StringToInt$(temporario) //fumos 1' />
												</command>
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='pwmf1 = 0' />
													<exp exp='//pwmf1 = StringToInt$(temporario)' />
												</command>
												<command class_type='comment' title='' comment='expf' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='expf = StringToInt$(temporario) // valor para calculo percentual' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_pca9685' />
												<command class_type='comment' title='' comment='aqui estava chamar &quot;PWM_c1_on_off&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_c1_on_off' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm_fumos' />
											</flowline>
										</case>
										<case exp='2 //auto' >
											<flowline >
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_1 = StringToInt$(temporario) //fumos 1' />
												</command>
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='pwmf1 = StringToInt$(temporario)' />
												</command>
												<command class_type='comment' title='' comment='expf' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='expf = StringToInt$(temporario) // valor para calculo percentual' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_pca9685' />
												<command class_type='comment' title='' comment='aqui estava chamar &quot;PWM_c1_on_off&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_c1_on_off' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm_fumos' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0x17 //cursor v1' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='pwmf1 = StringToInt$(temporario)' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_ds18b20' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' textmode='1' textarea='106,177,581,477' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='falha_ds18b20 &lt;&gt; 0' swap='1' >
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='66,87,541,387' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_ds18b20 = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_ds18b20 = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;FALHA SENS.T.CALDEIRA 1!&quot;' />
											<exp exp='aviso_alarme = 0' />
											<exp exp='out_1 = 0' />
											<exp exp='estado_s1 = &quot;S1off&quot;' />
											<exp exp='pwmf1 = 0' />
										</command>
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm_fumos' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='texto = texto_de_alarme' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + estado_C1' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + estado_C2' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;C1 &quot;' />
													<exp exp='texto = texto + string_C1' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;C2 &quot;' />
													<exp exp='texto = texto + string_C2' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T1 &quot;' />
													<exp exp='texto = texto + string_T1' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H1 &quot;' />
													<exp exp='texto = texto + string_H1' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T2 &quot;' />
													<exp exp='texto = texto + string_T2' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H2 &quot;' />
													<exp exp='texto = texto + string_H2' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T3 &quot;' />
													<exp exp='texto = texto + string_T3' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H3 &quot;' />
													<exp exp='texto = texto + string_H3' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;T4 &quot;' />
													<exp exp='texto = texto + string_T4' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + &quot;H4 &quot;' />
													<exp exp='texto = texto + string_H4' />
													<exp exp='texto = texto + &quot;%&quot;' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + saldo' />
													<exp exp='texto = texto + string_espaco' />
													<exp exp='texto = texto + clock_modem' />
												</command>
												<command class_type='comment' title='' comment='chamar lista telefones' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='texto_sem_numero' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;sem numero...&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='p11_nubliza_prog_display' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='bt0.val' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (nublizacao1)' />
							<exp exp='comando = &quot;bt0.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='bt2.val' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (nublizacao2)' />
							<exp exp='comando = &quot;bt2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='bt4.val' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (nublizacao3)' />
							<exp exp='comando = &quot;bt4.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='bt5.val' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (nublizacao4)' />
							<exp exp='comando = &quot;bt5.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='tempo on nubliza 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (tempo_on_nubliza1)' />
							<exp exp='comando = &quot;ton.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='tempo off nubliza1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (tempo_off_nubliza1)' />
							<exp exp='comando = &quot;toff.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='tempo on nubliza 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (tempo_on_nubliza2)' />
							<exp exp='comando = &quot;ton2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='tempo off nubliza 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (tempo_off_nubliza2)' />
							<exp exp='comando = &quot;toff2.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='preparar para calcular o display timer 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (tempo_on_nubliza1)' />
							<exp exp='temporario_byte = Length$ (temporario)' />
						</command>
						<command class_type='call' title='chamar calculo display timer' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_timer' />
						<command class_type='comment' title='' comment='para mostrar no display do timer 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t3.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='preparar para calcular o display timer 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (tempo_on_nubliza2)' />
							<exp exp='temporario_byte = Length$ (temporario)' />
						</command>
						<command class_type='call' title='chamar calculo display timer' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_display_timer' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t1.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='iniciar os minutos e os segundos em p11
teste macro' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;m.val=&quot;' />
							<exp exp='comando = comando + minuto_str' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;s.val=&quot;' />
							<exp exp='comando = comando + segundo_str' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='o proximo passo pode ser ignorado' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (tempo_on_nubliza1)' />
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='o proximo passo pode ser ignorado' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (tempo_on_nubliza2)' />
							<exp exp='comando = &quot;t2.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='ciclos_macros_sms' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='20' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='ciclos_macros_geral' />
								<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_t4min' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='habilitar_alarmes_minimos = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='habilitar_alarmes_minimos = 1' swap='1' >
							<flowline >
								<command class_type='comment' title='' comment='na condiçao de primeiro arranque 
nao faz alarme de baixas temperaturas se for pedido ao sistema' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_4 &lt; prog_T4 - histerese_T - 2' swap='0' >
									<flowline >
										<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_temp4min = 1' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='alarme_temp4min = 1' />
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;TEMP.BAIXA 4# &quot;' />
													<exp exp='aviso_alarme = 0' />
													<exp exp='temporario = Left$ (temp_aviario4,2)' />
													<exp exp='temporario2 = right$ (temp_aviario4,1)' />
													<exp exp='temporario = temporario + &quot;.&quot;' />
													<exp exp='temporario = temporario + temporario2' />
													<exp exp='//temporario = temporario + &quot;°&quot;' />
													<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
												</command>
												<command class_type='comment' title='' comment='teste 31/03/20' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='comment' title='' comment='aqui estava :
display sino' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='alteracao 30/12/16
se a caldeira 1 estiver desligada nao faz alarmes de temperaturas
minimas referente a mesma' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='comment' title='' comment='alteracao 30/12/16
se a caldeira 2 estiver desligada nao faz alarmes de temperaturas
minimas referente a mesma' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_fcds_com_jan4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='devido á relocalizaçao grafica das janelas
a &quot;contagem&quot; das variaveis já nao coincide 
com a contagem das janelas' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='jan 4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd4 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est4_baixar = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_baixar4' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd4 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd4 = alarme_fcd4 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd4 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c.descer est4&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs4 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est4_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_subir4' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs4 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs4 = alarme_fcs4 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs4 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c. subir est4&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_alarme_com_janelas' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_c1min' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='caldeira1_on_off = 0' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off = 0' swap='0' >
							<flowline />
							<flowline >
								<command class_type='decision' title='habilitar_alarmes_minimos = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='habilitar_alarmes_minimos = 1' swap='1' >
									<flowline />
									<flowline >
										<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_1 &lt; prog_c1 - 10' swap='0' >
											<flowline >
												<command class_type='decision' title='alarme_c1min = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_c1min = 1' swap='0' >
													<flowline >
														<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='alarme_c1min = 1' />
															<exp exp='estado_de_alarme = 1' />
															<exp exp='texto_de_alarme = &quot;TEMP.BAIXA CAL.1# &quot;' />
															<exp exp='aviso_alarme = 0' />
															<exp exp='temporario = ToString$ (adc_caldeira_1)' />
															<exp exp='//temporario = temporario + &quot;°&quot;' />
															<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
														<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
														<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
														<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
															<flowline >
																<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
																<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_fcds_com_jan3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='devido á relocalizaçao grafica das janelas
a &quot;contagem&quot; das variaveis já nao coincide 
com a contagem das janelas' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='jan 3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd3 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est3_baixar = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_baixar3' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd3 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd3 = alarme_fcd3 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd3 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c.descer est3&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs3 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est3_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_subir3' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs3 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs3 = alarme_fcs3 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs3 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c. subir est3&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_alarme_com_janelas' />
					</flowline>
				</macro>
				<macro >
					<flowline name='toke_confirmacao' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;ATD&quot;' />
							<exp exp='comando = comando + numero' />
							<exp exp='comando = comando + &quot;;&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF ' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='comment' title='' comment='aqui pode ser inserida a macro :
NO CARRIER' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='na red &quot;nos&quot; o cancelar da chamada 
da sinal de ocupado' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='ciclos_macros_toke' />
						<command class_type='comment' title='' comment='experimentar no caso da operadora uzo :
ATD 9' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando = &quot;ATH&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;ATH&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF ' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar LOOP ATE OK' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
					</flowline>
				</macro>
				<macro >
					<flowline name='tres_ciclos_char' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Ciclo ate char &gt;= 255' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char &gt;= 255' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='20' />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Ciclo ate char &gt;= 255' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char &gt;= 255' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='20' />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Ciclo ate char &gt;= 255' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='char &gt;= 255' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='20' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='estado_ventiladores' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv1 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza1 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;v1man.val=2&quot; //fundo vermelho disparo termico' />
											<exp exp='icon_climatiza1 = 1' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;V1.pic=28&quot; //ventilador em avaria' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='' textmode='1' textarea='146,261,621,561' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil1' >
									<case >
										<flowline />
									</case>
									<case exp='1 //off' >
										<flowline >
											<command class_type='decision' title='Decisão icon_climatiza1 = 1' textmode='1' textarea='192,243,667,543' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza1 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='numero_pagina = 7' textmode='1' textarea='86,192,561,492' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='comando = &quot;V1.pic=24&quot; //ventilador off' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V1.pic=24&quot; //ventilador off' />
																<exp exp='icon_climatiza1 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v1man.val=0&quot; //fundo predefenido' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='comando = &quot;V1.pic=7&quot; //ventilador off' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V1.pic=7&quot; //ventilador off' />
																<exp exp='icon_climatiza1 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='0 //manual' >
										<flowline >
											<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza1 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V1.pic=92&quot; //ventilador manual' />
																<exp exp='icon_climatiza1 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v1man.val=1&quot; //fundo amarelo/manual' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V1.pic=29&quot; //ventilador manual' />
																<exp exp='icon_climatiza1 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='2 //auto' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza1 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='numero_pagina = 7' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='comando = &quot;V1.pic=25&quot; //ventilador on' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V1.pic=25&quot; //ventilador on' />
																<exp exp='icon_climatiza1 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v1man.val=0&quot; //fundo predefenido' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='comando = &quot;V1.pic=6&quot; //ventilador on' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V1.pic=6&quot; //ventilador on' />
																<exp exp='icon_climatiza1 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv2 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza2 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;v2man.val=2&quot; //fundo vermelho disparo termico' />
											<exp exp='icon_climatiza2 = 1' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;V2.pic=28&quot; //ventilador em avaria' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='' textmode='1' textarea='36,111,511,411' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil2' >
									<case >
										<flowline />
									</case>
									<case exp='1 //off' >
										<flowline >
											<command class_type='decision' title='Decisão icon_climatiza2 = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza2 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='numero_pagina = 7' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V2.pic=24&quot; //ventilador off' />
																<exp exp='icon_climatiza2 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v2man.val=0&quot; //fundo predefenido' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V2.pic=7&quot; //ventilador off' />
																<exp exp='icon_climatiza2 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='0 //manual' >
										<flowline >
											<command class_type='decision' title='Decisão icon_climatiza2 = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza2 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='numero_pagina = 7' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V2.pic=92&quot; //ventilador on' />
																<exp exp='icon_climatiza2 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v2man.val=1&quot; //fundo amarelo/manual' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V2.pic=29&quot; //ventilador manual' />
																<exp exp='icon_climatiza2 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='2 //auto' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza2 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='numero_pagina = 7' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V2.pic=25&quot; //ventilador on' />
																<exp exp='icon_climatiza2 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v2man.val=0&quot; //fundo predefenido' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V2.pic=6&quot; //ventilador on' />
																<exp exp='icon_climatiza2 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv3 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza3 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;v3man.val=2&quot; //fundo vermelho disparo termico' />
											<exp exp='icon_climatiza3 = 1' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;V3.pic=28&quot; //ventilador em avaria' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='' textmode='1' textarea='36,141,511,441' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil3' >
									<case >
										<flowline />
									</case>
									<case exp='1 //off' >
										<flowline >
											<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza3 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='numero_pagina = 7' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V3.pic=24&quot; //ventilador off' />
																<exp exp='icon_climatiza3 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v3man.val=0&quot; //fundo predefenido' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V3.pic=7&quot; //ventilador off' />
																<exp exp='icon_climatiza3 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='0 //manual' >
										<flowline >
											<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza3 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='numero_pagina = 7' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V3.pic=92&quot; //ventilador on' />
																<exp exp='icon_climatiza3 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v3man.val=1&quot; //fundo amarelo/manual' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V3.pic=29&quot; //ventilador on' />
																<exp exp='icon_climatiza3 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='2 //auto' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza3 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='numero_pagina = 7' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V3.pic=25&quot; //ventilador on' />
																<exp exp='icon_climatiza3 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v3man.val=0&quot; //fundo predefenido' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V3.pic=6&quot; //ventilador on' />
																<exp exp='icon_climatiza3 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv4 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza4 = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;v4man.val=2&quot; //fundo vermelho disparo termico' />
											<exp exp='icon_climatiza4 = 1' />
										</command>
										<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;V4.pic=28&quot; //ventilador em avaria' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='' textmode='1' textarea='103,133,578,433' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil4' >
									<case >
										<flowline />
									</case>
									<case exp='1 //off' >
										<flowline >
											<command class_type='decision' title='Decisão icon_climatiza4 = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza4 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V4.pic=24&quot; //ventilador off' />
																<exp exp='icon_climatiza4 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v4man.val=0&quot; //fundo predefenido' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V4.pic=7&quot; //ventilador off' />
																<exp exp='icon_climatiza4 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='0 //manual' >
										<flowline >
											<command class_type='decision' title='Decisão icon_climatiza4 = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza4 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='numero_pagina = 7' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V4.pic=92&quot; //ventilador on' />
																<exp exp='icon_climatiza4 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v4man.val=1&quot; //fundo amarelo/manual' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V4.pic=29&quot; //ventilador on' />
																<exp exp='icon_climatiza4 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='2 //auto' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza4 = 1' swap='0' >
												<flowline />
												<flowline >
													<command class_type='decision' title='numero_pagina = 7' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 7' swap='0' >
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V4.pic=25&quot; //ventilador on' />
																<exp exp='icon_climatiza4 = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;v4man.val=0&quot; //fundo predefenido' />
															</command>
															<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
															<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																<exp exp='comando = &quot;V4.pic=6&quot; //ventilador on' />
																<exp exp='icon_climatiza4 = 1' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_modulos' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_modulos_rf' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
										<argument exp='&quot;*1&quot;' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='numero_modulo = &quot;1&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
										<argument exp='&quot;*2&quot;' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='numero_modulo = &quot;2&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
										<argument exp='&quot;*3&quot;' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='numero_modulo = &quot;3&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
										<argument exp='&quot;*4&quot;' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='numero_modulo = &quot;4&quot;' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_c2max' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='adc_caldeira_2 &gt; prog_c2 + 10' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_2 &gt;= prog_c2 + 10' swap='0' >
							<flowline >
								<command class_type='decision' title='alarme_c2 = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_c2max = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_c2max = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;TEMP.ALTA CAL.2# &quot;' />
											<exp exp='aviso_alarme = 0' />
											<exp exp='temporario = ToString$(adc_caldeira_2)' />
											<exp exp='//temporario = temporario + &quot;°&quot;' />
											<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
											<exp exp='icon_estado_caldeira2 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='11/05/25
em teste: desativar o alarme assim que a temperatura da caldeira
baixar 10 graus
desativar tambem o estado (cor) ' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_2 &lt;= prog_c2' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_estado_caldeira2 = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='alarme_c2max = 0' />
													<exp exp='icon_estado_caldeira2 = 0' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_display_timer' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; 4' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; 3' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='temporario_byte &lt; 2' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='segundo_str = temporario' />
													<exp exp='temporario = &quot;0&quot;' />
													<exp exp='temporario = temporario + segundo_str' />
													<exp exp='segundo_str = temporario' />
													<exp exp='minuto_str = &quot;0&quot;' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='segundo_str = temporario' />
													<exp exp='minuto_str = &quot;0&quot;' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='segundo_str = Right$ (temporario,2)' />
											<exp exp='minuto_str = Right$ (temporario,3)' />
											<exp exp='temporario = &quot;0&quot;' />
											<exp exp='temporario = temporario + minuto_str' />
											<exp exp='minuto_str = temporario' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='minuto_str = Left$ (temporario,0)' />
									<exp exp='segundo_str = Left$ (temporario,2)' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = minuto_str' />
							<exp exp='temporario = temporario + &quot;:&quot;' />
							<exp exp='temporario = temporario + segundo_str' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='botoes_manual' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='reset_ contador' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = &quot;&quot;' />
						</command>
						<command class_type='switch' title='' textmode='1' textarea='80,145,555,445' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x0B //fumos 1' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_1 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x0C // calor 1' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_2 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1C //nubliza 3' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_11 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x0E //nubliz 1' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_7 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x0F //fumos 2' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_4 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x10 //calor 2' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_5 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1D //nubliza 4' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_12 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x12 // nubliz 2' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_8 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x0D //relay v1' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_3 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x11 //relay v2' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_6 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x1E // relay v3' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_9 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1F //relay v4' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_10 = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0X01 //relay v.q.e.' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_13 = StringToInt$(temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x2a //relay r.q.e.' >
								<flowline >
									<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='out_14 = StringToInt$(temporario)' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='monitor_alarme' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='estado_de_alarme = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='estado_de_alarme = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='aviso_alarme = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='aviso_alarme = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='vai ignorar o aviso para nao estar a repetir' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='aviso_alarme = 1' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='aviso_alarme = 1' />
										</command>
										<command class_type='call' title='Chamar display  avarias' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_avarias' />
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Chamar estado ventiladores' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='estado_ventiladores' />
						<command class_type='call' title='Chamar display adcs' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_adcs' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_fcds_com_jan2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd2 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est2_baixar = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_baixar2' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd2 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd2 = alarme_fcd2 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd2 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c.descer est2&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs2 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est2_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_subir2' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs2 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs2 = alarme_fcs2 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs2 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c. subir est2&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_alarme_com_janelas' />
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_m13_control_man' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='ciclo_switch = 2' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est1 = 1' swap='1' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est1_baixar + est1_subir = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est1_baixar = 0' />
													<exp exp='est1_subir = 0' />
													<exp exp='//contador_modulos_jan = 1' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est2 = 1' swap='1' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est2_baixar + est2_subir = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est2_baixar = 0' />
													<exp exp='est2_subir = 0' />
													<exp exp='//contador_modulos_jan = 2' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est3 = 1' swap='1' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est3_baixar + est3_subir = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est3_baixar = 0' />
													<exp exp='est3_subir = 0' />
													<exp exp='//contador_modulos_jan = 3' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est4 = 1' swap='1' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est4_baixar + est4_subir = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est4_baixar = 0' />
													<exp exp='est4_subir = 0' />
													<exp exp='//contador_modulos_jan = 4' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='colocar apartir daqui os modulos
5,6 quando estes estiverem disponiveis' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est5 = 1' swap='1' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est5_baixar + est5_subir = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est5_baixar = 0' />
													<exp exp='est5_subir = 0' />
													<exp exp='//contador_modulos_jan = 5' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est6 = 1' swap='1' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='est6_baixar + est6_subir = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est6_baixar = 0' />
													<exp exp='est6_subir = 0' />
													<exp exp='//contador_modulos_jan = 6' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='dados_caldeira1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x03 //b0 sair' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
									<command class_type='call' title='Chamar rotina pagina 1' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='rotina_pagina_1' />
								</flowline>
							</case>
							<case exp='0x13 //p0 man/auto' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
							<case exp='0x17 //cursor v1' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_programacao' />
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_app' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='em teste primeiro' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='comando = &quot;+&quot;
comando = comando + str_temp
comando = comando + &quot;/&quot;
comando = comando + F1
comando = comando + &quot;/&quot;
comando = comando + temp_aviario1
comando = comando + &quot;/&quot;
comando = comando + H1
comando = comando + &quot;/&quot;
comando = comando + temp_aviario2
comando = comando + &quot;/&quot;
comando = comando + H2
comando = comando + &quot;/&quot;
comando = comando + F2
comando = comando + &quot;/&quot;
comando = comando + F3
comando = comando + &quot;/&quot;
comando = comando + temp_aviario3
comando = comando + &quot;/&quot;
comando = comando + H3
comando = comando + &quot;/&quot;
comando = comando + temp_aviario4
comando = comando + &quot;/&quot;
comando = comando + H4
comando = comando + &quot;/&quot;
comando = comando + F4
comando = comando + &quot;/&quot;
comando = comando + F5
comando = comando + &quot;/&quot;
comando = comando + texto_de_alarme
comando = comando + &quot;/&quot;

' textarea='92,-6,92,-6' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='str_temp' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='str_temp' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='F1' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='F1' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='temp_aviario1' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='temp_aviario1' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='H1' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='H1' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='temp_aviario2' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='temp_aviario2' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='H2' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='H2' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='F2' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='F2' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='F3' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='F3' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='temp_aviario3' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='temp_aviario3' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='H3' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='H3' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='temp_aviario4' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='temp_aviario4' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='H4' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='H4' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='F4' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='F4' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='F5' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='F5' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
						<command class_type='call' title='texto_de_alarme' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='texto_de_alarme' />
						</command>
						<command class_type='call' title='FS' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='FS' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='dados_eeprom' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='21/12/25:
até ao momento as locaçoes usadas de eeprom está em :
0x33 ( 51 ) variavel : expf
a locaçao 0xc está man/auto estore 1
a locaçao 0xb está man/auto estore 2
a locaçao 0x4 está percentual estores
a locaçao 0x5 está prog t3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='sms_habilitar' />
							<argument exp='0x0' />
						</command>
						<command class_type='decision' title='sms_habilitar &gt; 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar &gt; 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='sms_habilitar = 0' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='sms_habilitar = 0' />
								</command>
								<command class_type='call' title='eeprom estado habilitar sms' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x0' />
									<argument exp='sms_habilitar' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='eeprom estado contador sms' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='contador_sms_in' />
							<argument exp='0x1' />
						</command>
						<command class_type='call' title='eeprom prog_T1' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='prog_t1' />
							<argument exp='0x8' />
						</command>
						<command class_type='call' title='eeprom prog_T2' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='prog_t2' />
							<argument exp='0x9' />
						</command>
						<command class_type='call' title='eeprom prog_T3' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='prog_t3' />
							<argument exp='0x5' />
						</command>
						<command class_type='call' title='eeprom prog_T4' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='prog_t4' />
							<argument exp='0x1e' />
						</command>
						<command class_type='call' title='eeprom histerese_T' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='histerese_T' />
							<argument exp='0xa' />
						</command>
						<command class_type='call' title='eeprom prog c1' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='prog_C1' />
							<argument exp='0x2' />
						</command>
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_C1 &gt; 100' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom 0x2 prog c1 define por defeito 60 graus' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x2' />
									<argument exp='60' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_C1 &lt; 20' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom 0x2 prog c1 define por defeito 40 graus' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x2' />
									<argument exp='40' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='eeprom prog c2' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='prog_C2' />
							<argument exp='0x3' />
						</command>
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_C2 &gt; 100' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom 0x3 prog c2 define por defeito 60 graus' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x3' />
									<argument exp='60' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_C2 &lt; 20' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom 0x3 prog c2 define por defeito 40 graus' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x3' />
									<argument exp='40' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='eeprom caldeira1_on_off' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='caldeira1_on_off' />
							<argument exp='0x6' />
						</command>
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off &gt; 2' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom caldeira1 define off' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x6' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='eeprom caldeira2_on_off' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='caldeira2_on_off' />
							<argument exp='0x7' />
						</command>
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira2_on_off &gt; 1' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom caldeira2 define off' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x7' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='prog_T1 &gt; 40' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_T1 &gt; 40' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom prog_t1 define 32' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x8' />
									<argument exp='32' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='prog_T2 &gt; 40' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_T2 &gt; 40' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom prog_t2 define 32' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x9' />
									<argument exp='32' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='prog_T3 &gt; 40' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_T3 &gt; 40' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom prog_t3 define 32' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x5' />
									<argument exp='32' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='prog_T4 &gt; 40' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_T4 &gt; 40' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom prog_t1 define 32' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x1e' />
									<argument exp='32' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='prog_T1 &lt; 15' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_T1 &lt; 15' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom prog_t1 define 32' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x8' />
									<argument exp='32' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='prog_T2 &lt; 15' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_T2 &lt; 15' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom prog_t2 define 32' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x9' />
									<argument exp='32' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='prog_T3 &lt; 15' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_T3 &lt; 15' swap='0' >
							<flowline >
								<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x5' />
									<argument exp='32' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='prog_T4 &lt; 15' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='prog_T4 &lt; 15' swap='0' >
							<flowline >
								<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x1e' />
									<argument exp='32' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='eeprom prog_T2' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='prog_t2' />
							<argument exp='0x9' />
						</command>
						<command class_type='call' title='eeprom prog_T1' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='prog_t1' />
							<argument exp='0x8' />
						</command>
						<command class_type='call' title='eeprom prog_T3' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='prog_t3' />
							<argument exp='0x5' />
						</command>
						<command class_type='call' title='eeprom prog_T4' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='prog_t4' />
							<argument exp='0x1e' />
						</command>
						<command class_type='decision' title='histerese_T &gt; 10' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='histerese_T &gt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='eeprom histerese T define 5' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0xa' />
									<argument exp='5' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='eeprom histerese_T' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='histerese_T' />
							<argument exp='0xa' />
						</command>
						<command class_type='call' title='0xd var 1 (sensor fumo)' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var1' />
							<argument exp='0xd' />
						</command>
						<command class_type='call' title='0xe var2 (sensor fumo)' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var2' />
							<argument exp='0xe' />
						</command>
						<command class_type='calculation' title='Cálculo devoluçao do valor int cal sens fumo ( var 1 var 2)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='cal_sens_fumo = var2 &lt;&lt; 8' />
							<exp exp='cal_sens_fumo = cal_sens_fumo | var1' />
						</command>
						<command class_type='call' title='eeprom habilitar alarmes minimos' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='habilitar_alarmes_minimos' />
							<argument exp='0x10' />
						</command>
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='habilitar_alarmes_minimos &gt; 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='habilitar_alarmes_minimos = 1' />
								</command>
								<command class_type='call' title='eeprom habilitar alarmes minimos' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x10' />
									<argument exp='habilitar_alarmes_minimos' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='man0aut_ventil1' />
							<argument exp='0x11' />
						</command>
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil1 &gt; 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='man0aut_ventil1 = 1' />
								</command>
								<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x11' />
									<argument exp='man0aut_ventil1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='man0aut_ventil2' />
							<argument exp='0x12' />
						</command>
						<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil2 &gt; 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='man0aut_ventil2 = 1' />
								</command>
								<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x12' />
									<argument exp='man0aut_ventil2' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='man0aut_ventil3' />
							<argument exp='0x1f' />
						</command>
						<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil3 &gt; 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='man0aut_ventil3 = 1' />
								</command>
								<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x1f' />
									<argument exp='man0aut_ventil3' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='man0aut_ventil4' />
							<argument exp='0x20' />
						</command>
						<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man0aut_ventil4 &gt; 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='man0aut_ventil4 = 1' />
								</command>
								<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x20' />
									<argument exp='man0aut_ventil4' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='actualiza os textos para envio sms ' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='0x13 percentual' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='percentual &gt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='0x13 valor medio percentual 5' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x13' />
									<argument exp='5' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='0x13 percentual' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='percentual' />
							<argument exp='0x13' />
						</command>
						<command class_type='call' title='0x14 nublizacao1' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='nublizacao1' />
							<argument exp='0x14' />
						</command>
						<command class_type='call' title='0x15 var1 /tempo on nublizacao1' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var1' />
							<argument exp='0x15' />
						</command>
						<command class_type='call' title='0x16 var2 /tempo on nublizacao1' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var2' />
							<argument exp='0x16' />
						</command>
						<command class_type='calculation' title='Cálculo devoluçao do valor int  tempo_on_nubliza  ( var 1 var 2)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tempo_on_nubliza1 = var2 &lt;&lt; 8' />
							<exp exp='tempo_on_nubliza1 = tempo_on_nubliza1 | var1' />
						</command>
						<command class_type='call' title='0x17 var1 /tempo off nublizacao1' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var1' />
							<argument exp='0x17' />
						</command>
						<command class_type='call' title='0x18 var2 /tempo off nublizacao1' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var2' />
							<argument exp='0x18' />
						</command>
						<command class_type='calculation' title='Cálculo devoluçao do valor int  tempo_off_nubliza   var 1 var 2' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tempo_off_nubliza1 = var2 &lt;&lt; 8' />
							<exp exp='tempo_off_nubliza1 = tempo_off_nubliza1 | var1' />
						</command>
						<command class_type='comment' title='' comment='nublizacao 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='0x19 nublizacao2' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='nublizacao2' />
							<argument exp='0x19' />
						</command>
						<command class_type='call' title='0x1a var1 /tempo on nublizacao2' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var1' />
							<argument exp='0x1a' />
						</command>
						<command class_type='call' title='0x1b var2 /tempo on nublizacao2' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var2' />
							<argument exp='0x16' />
						</command>
						<command class_type='calculation' title=' devoluçao do valor int  tempo_on_nubliza2  ( var 1 var 2)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tempo_on_nubliza2 = var2 &lt;&lt; 8' />
							<exp exp='tempo_on_nubliza2 = tempo_on_nubliza2 | var1' />
						</command>
						<command class_type='call' title='0x1c var1 /tempo off nublizacao2' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var1' />
							<argument exp='0x1c' />
						</command>
						<command class_type='call' title='0x1d var2 /tempo off nublizacao2' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var2' />
							<argument exp='0x1d' />
						</command>
						<command class_type='calculation' title=' devoluçao do valor int  tempo_off_nubliza2   var 1 var 2' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tempo_off_nubliza2 = var2 &lt;&lt; 8' />
							<exp exp='tempo_off_nubliza2 = tempo_off_nubliza2 | var1' />
						</command>
						<command class_type='comment' title='' comment='nublizacao 3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='0x21 nublizacao3' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='nublizacao3' />
							<argument exp='0x21' />
						</command>
						<command class_type='call' title='0x22 var1 /tempo on nublizacao3' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var1' />
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='0x23 var2 /tempo on nublizacao3' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var2' />
							<argument exp='0x23' />
						</command>
						<command class_type='calculation' title='Cálculo devoluçao do valor int  tempo_on_nubliza  ( var 1 var 2)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tempo_on_nubliza3 = var2 &lt;&lt; 8' />
							<exp exp='tempo_on_nubliza3 = tempo_on_nubliza3 | var1' />
						</command>
						<command class_type='comment' title='' comment='nublizacao 4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='0x24 nublizacao4' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='nublizacao4' />
							<argument exp='0x24' />
						</command>
						<command class_type='call' title='0x25 var1 /tempo on nublizacao4' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var1' />
							<argument exp='0x25' />
						</command>
						<command class_type='call' title='0x26 var2 /tempo on nublizacao4' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='var2' />
							<argument exp='0x26' />
						</command>
						<command class_type='calculation' title=' devoluçao do valor int  tempo_on_nubliza4  ( var 1 var 2)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tempo_on_nubliza4 = var2 &lt;&lt; 8' />
							<exp exp='tempo_on_nubliza4 = tempo_on_nubliza4 | var1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='man_aut_est1' />
							<argument exp='0xc' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est1 &gt; 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0xc' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='man_aut_est2' />
							<argument exp='0xb' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est2 &gt; 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0xb' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='man_aut_est3' />
							<argument exp='0x27' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est3 &gt; 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x27' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='man_aut_est4' />
							<argument exp='0x28' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est4 &gt; 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x28' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='percentual_estores' />
							<argument exp='0x04' />
						</command>
						<command class_type='decision' title='0x04 percentual_estores' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='percentual_estores &gt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='0x04 valor medio percentual 5' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x04' />
									<argument exp='5' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='intrusao_on_off' />
							<argument exp='0x29' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='intrusao_on_off &gt; 1' swap='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x29' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='erro_serial' />
							<argument exp='0x2a' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='erro_serial &gt; 1' swap='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x2a' />
									<argument exp='0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='erro_serial = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='15/06/25 novos dados' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='man_aut_est5' />
							<argument exp='0x2b' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est5 &gt; 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x2b' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='man_aut_est6' />
							<argument exp='0x2c' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est6 &gt; 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x2c' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='per_abert_estores' />
							<argument exp='0x2d' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='per_abert_estores &gt; 25' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x2d' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='pwmv1' />
							<argument exp='0x2e' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv1 &gt; 240' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pwmv1 = 70 // valor minimo para variador 1' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x2e' />
									<argument exp='pwmv1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='pwmv2' />
							<argument exp='0x2f' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv2 &gt; 240' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pwmv2 = 70 // valor minimo para variador 2' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x2f' />
									<argument exp='pwmv2' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='pwmv3' />
							<argument exp='0x30' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv3 &gt; 240' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pwmv3 = 70 // valor minimo para variador 3' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x30' />
									<argument exp='pwmv3' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='pwmv4' />
							<argument exp='0x31' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmv4 &gt; 240' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pwmv4 = 70 // valor minimo para variador 4' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x31' />
									<argument exp='pwmv4' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='pwm fumos 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='pwmf1' />
							<argument exp='0x32' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='pwmf1 &gt; 50' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='pwmf1 = 18 // valor minimo para variador f1' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x32' />
									<argument exp='pwmf1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='expf' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='expf' />
							<argument exp='0x33' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='expf &gt; 90' swap='0' >
							<flowline >
								<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='expf = 0' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
									<argument exp='0x33' />
									<argument exp='expf' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='expf &lt; 10' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='Chamar calculo textos estado' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_estado' />
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_caldeira2_on_off' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='eeprom 0x7 caldeira2_on_off' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x7' />
							<argument exp='caldeira2_on_off' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira2_on_off = 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_4 = 0' />
									<exp exp='out_5 = 0' />
									<exp exp='estado_s4 = &quot;s4 off&quot;' />
									<exp exp='estado_s5 = &quot;s5 off&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_caldeira2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmf2 OR alarme_dmar2 = 1' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='se o DM do ar quente ou o DM dos fumos 
disparar a saida da caldeira é destivada' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_4 = 0' />
									<exp exp='estado_s4 = &quot;S4off&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='alarme_c2max = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_c2max = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_4 = 0' />
											<exp exp='estado_s4 = &quot;S4off&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='caldeira2_on_off = 0' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira2_on_off = 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_4 = 0' />
													<exp exp='estado_s4 = &quot;S4off&quot;' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='adc_caldeira_2 &lt; prog_c2 - 3' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_2 &lt; prog_c2 - 3' swap='0' >
													<flowline >
														<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='out_4 = 1 //fumos 2 on' />
															<exp exp='estado_s4 = &quot;S4on&quot;' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='adc_caldeira_2 &gt; prog_C2' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_2 &gt; prog_C2' swap='0' >
															<flowline >
																<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='out_4 = 0' />
																	<exp exp='estado_s4 = &quot;S4off&quot;' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_ventanima4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv4 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tm4en = 0' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='icon_climatiza4 = 0' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tm4.en=0&quot;' />
											<exp exp='tm4en = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_vent_anim4 = 1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tm4en = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tm4.en=1&quot;' />
													<exp exp='tm4en = 1' />
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza4 = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='icon_climatiza4 = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tm4.en=0&quot;' />
													<exp exp='tm4en = 0' />
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo13' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='comment' title='' comment='seguranca para destivar os motores dos estores caso estejam a trabalhar em qualquer sentido' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador1 = 0' />
							<exp exp='//est1_baixar = 0' />
							<exp exp='//est1_subir = 0' />
							<exp exp='//est2_baixar = 0' />
							<exp exp='//est2_subir = 0' />
							<exp exp='//est3_baixar = 0' />
							<exp exp='//est3_subir = 0' />
							<exp exp='//est4_baixar = 0' />
							<exp exp='//est4_subir = 0' />
							<exp exp='//est5_baixar = 0' />
							<exp exp='//est5_subir = 0' />
							<exp exp='//est6_baixar = 0' />
							<exp exp='//est6_subir = 0' />
							<exp exp='//contador_modulos_jan = 1' />
							<exp exp='ciclo_switch = 0' />
							<exp exp='temporario_saidas = &quot;&quot;' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='p13_estores_prog_display' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_setas_estores' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 13' textmode='1' textarea='36,0,511,300' cmdcolor='1262987' cmdcolor_sec='16753206' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' type='1' exp='numero_pagina &lt;&gt; 13 OR ciclo_switch &gt;= 4' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_send_display = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='25600' cmdcolor_sec='8671026' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' macro='display_setas_estores' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_m13_control_man' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='manual_estores' />
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='1993170' cmdcolor_sec='13861172' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' >
							<exp exp='contador1 = 0' />
						</command>
						<command class_type='comment' title='' comment='seguranca para destivar os motores dos estores caso estejam a trabalhar em qualquer sentido' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='est1_baixar = 0' />
							<exp exp='est1_subir = 0' />
							<exp exp='est2_baixar = 0' />
							<exp exp='est2_subir = 0' />
							<exp exp='est3_baixar = 0' />
							<exp exp='est3_subir = 0' />
							<exp exp='est4_baixar = 0' />
							<exp exp='est4_subir = 0' />
							<exp exp='est5_baixar = 0' />
							<exp exp='est5_subir = 0' />
							<exp exp='est6_baixar = 0' />
							<exp exp='est6_subir = 0' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052_estores' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='eeprom_estores' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_t4_max' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_4 &gt; prog_T4 + 2 + histerese_T' swap='0' >
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_temp4max = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='alarme_temp4max = 1' />
											<exp exp='estado_de_alarme = 1' />
											<exp exp='texto_de_alarme = &quot;TEMP.ALTA 4# &quot;' />
											<exp exp='aviso_alarme = 0' />
											<exp exp='temporario = Left$ (temp_aviario4,2)' />
											<exp exp='temporario2 = right$ (temp_aviario4,1)' />
											<exp exp='temporario = temporario + &quot;.&quot;' />
											<exp exp='temporario = temporario + temporario2' />
											<exp exp='//temporario = temporario + &quot;°&quot;' />
											<exp exp='texto_de_alarme = texto_de_alarme + temporario' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
										<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
										<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
										<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_textos_alarm_sms' />
												<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_temp_aviario4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmar2 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_5 = 0' />
									<exp exp='estado_s5 = &quot;S5off&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira2_on_off = 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_5 = 0' />
											<exp exp='estado_s5 = &quot;S5off&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_2 &lt;= adc_temp_4 - histerese_T' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_5 = 0' />
													<exp exp='estado_s5 = &quot;S5off&quot;' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='' textmode='1' textarea='63,111,538,411' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_4 &gt; prog_T4 + histerese_T' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='out_5 = 0' />
															<exp exp='estado_s5 = &quot;S5off&quot;' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='' textmode='1' textarea='56,155,531,455' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_4 = prog_T4' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='out_5 = 0' />
																	<exp exp='estado_s5 = &quot;S5off&quot;' />
																</command>
															</flowline>
															<flowline >
																<command class_type='decision' title='' textmode='1' textarea='72,114,547,414' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_4 &lt; prog_T4 - histerese_t' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																			<exp exp='out_5 = 1' />
																			<exp exp='estado_s5 = &quot;S5on&quot;' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_clock' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = Left$ (clock_modem,8)' />
							<exp exp='display_clock = temporario + &quot;   &quot;' />
							<exp exp='temporario = Mid$ (clock_modem,9,5)' />
							<exp exp='display_clock = display_clock + temporario' />
							<exp exp='comando = &quot;clock.txt=\&quot;&quot;' />
							<exp exp='comando = comando + display_clock' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='alarme_intrusao' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='neste projeto as referencias sao todas ao negativo (vss)' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='intrusao_on_off = 1' swap='1' >
							<flowline />
							<flowline >
								<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='intrusao &gt;= 1' swap='1' >
									<flowline >
										<command class_type='decision' title='' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_intrusao = 1' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='colocar texto de alarme aqui' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='alarme_intrusao = 1' />
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;INTRUSAO DETECTADA !!&quot;' />
													<exp exp='aviso_alarme = 0' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='comment' title='' comment='chamar lista telefones' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='iniciar_pcf8575' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='input exp' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PCF8575_ENT' macro='Initialise' />
						<command class_type='call' title='output exp' textarea='46,-3,46,-3' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PCF8575_SAI' macro='Initialise' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_fcds_com_jan1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd1 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est1_baixar = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_baixar1' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd1 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcd1 = alarme_fcd1 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd1 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c.descer est1&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs1 &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='est1_subir = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='fc_subir1' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs1 = 0' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='alarme_fcs1 = alarme_fcs1 + 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs1 &gt;= 2' swap='1' >
												<flowline />
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='estado_de_alarme = 1' />
														<exp exp='texto_de_alarme = &quot;f.c. subir est1&quot;' />
														<exp exp='aviso_alarme = 0' />
													</command>
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
													<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='comment' title='' comment='enviar codigo de cor  de alarme? ou texto de alarme ?' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_alarme_com_janelas' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_alarme_com_janelas' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='25/02/26
alteração para quando houver falha
de luz não haver referencia de falha nos 
disjuntores até que haja reset ao alarme 
de falha de luz


a referencia de variavel tomada é :(falha_luz &gt;= 1)
neste caso quando a energia retoma o processo tambem volta
a verificar a condição dos &quot;disjuntores&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='falha_luz &gt;= 1' swap='1' >
							<flowline />
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_janelas = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='jan_fail &gt;= 5' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='alarme_janelas = 1' />
													<exp exp='estado_de_alarme = 1' />
													<exp exp='texto_de_alarme = &quot;falha comunicacao janelas&quot;' />
													<exp exp='aviso_alarme = 0' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
												<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='comando_t0_red' />
												<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='texto_page_alarmes' />
												<command class_type='decision' title='sms_habilitar = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='sms_habilitar = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Chamar conversao adcs string' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='conversao_adcs_string' />
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='texto = texto_de_alarme' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + saldo' />
															<exp exp='texto = texto + string_espaco' />
															<exp exp='texto = texto + clock_modem' />
														</command>
														<command class_type='call' title='Chamar numeros envio sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='numeros_envio_sms' />
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='switch_char_estores' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x0c //saida+ dados' >
								<flowline >
									<command class_type='comment' title='' comment='est1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='man_aut_est1 = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est1 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='est2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='man_aut_est2 = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est2 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='est3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est3 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='est4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est4 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='est5' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est5 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='est6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est6 = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='percentual' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='percentual_estores = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='percentual_estores = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='18/03/24
adiçao de percentagem abertura permanente ' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='per_abert_estores = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='per_abert_estores = StringToInt$ (temporario)' />
									</command>
									<command class_type='comment' title='' comment='variavel para ver dados dos modulos' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='display_dados_jan' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='display_dados_jan = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x05 //M.A.jan1' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='man_aut_est1 = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est1 = StringToInt$ (temporario)' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est1 = 0' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='est1_baixar = 0' />
												<exp exp='est1_subir = 0' />
											</command>
											<command class_type='comment' title='' comment='alteraçao em 09/03/25 :
aqui chamava a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='0x06 //M.A.jan2' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='man_aut_est2 = StringToInt$ (temporario)' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est2 = StringToInt$ (temporario)' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est2 = 0' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='est2_baixar = 0' />
												<exp exp='est2_subir = 0' />
											</command>
											<command class_type='comment' title='' comment='alteraçao em 09/03/25 :
aqui chamava a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='0x25 //M.A.jan3' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est3 = StringToInt$ (temporario)' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est3 = 0' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='est3_baixar = 0' />
												<exp exp='est3_subir = 0' />
											</command>
											<command class_type='comment' title='' comment='alteraçao em 09/03/25 :
aqui chamava a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='0x26 //M.A.jan4' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est4 = StringToInt$ (temporario)' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est4 = 0' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='est4_baixar = 0' />
												<exp exp='est4_subir = 0' />
											</command>
											<command class_type='comment' title='' comment='alteraçao em 09/03/25 :
aqui chamava a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='0x3a //M.A.jan5' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est5 = StringToInt$ (temporario)' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est5 = 0' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='est5_baixar = 0' />
												<exp exp='est5_subir = 0' />
											</command>
											<command class_type='comment' title='' comment='alteraçao em 09/03/25 :
aqui chamava a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='0x42 //M.A.jan6' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='man_aut_est6 = StringToInt$ (temporario)' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est6 = 0' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
												<exp exp='est6_baixar = 0' />
												<exp exp='est6_subir = 0' />
											</command>
											<command class_type='comment' title='' comment='alteraçao em 09/03/25 :
aqui chamava a macro : switch_74HC4052_estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='0x4f //j1sub/b0' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est1_subir = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x50 //j1baix/b1' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est1_baixar = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1f //j2sub/b2' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est2_subir = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char' >
							<case >
								<flowline />
							</case>
							<case exp='0x20 //j2baix/b3' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est2_baixar = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1b //j3sub/b6' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est3_subir = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1c //j3baix/b7' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est3_baixar = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1d //j4sub/b8' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est4_subir = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x1e //j4baix/b9' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est4_baixar = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x36 //j5sub/b10' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,18,511,318' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,18,511,318' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est5_subir = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x37 //j5baix/b11' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est5_baixar = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x3e //j6sub/b12' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est6_subir = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
							<case exp='0x3f //j6baix/b13' >
								<flowline >
									<command class_type='call' title='Chamar colher dados' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='colher_dados' />
									<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
										<exp exp='est6_baixar = StringToInt$ (temporario)' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='correcao_comando_jan' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_caldeira1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_pca9685' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmf1 OR alarme_dmar1 = 1' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='se o DM do ar quente ou o DM dos fumos 
disparar ou o sensor avariar
a saida da caldeira é destivada' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_1 = 0' />
									<exp exp='estado_s1 = &quot;S1off&quot;' />
									<exp exp='pwmf1 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_ds18b20 = 1' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='alarme_c1max = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_c1max = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='no caso de a temperatura subir muito
e ultrapassar o valor &quot;safe&quot; estabelecido
o motor do &quot;ar quente&quot; é forçado para 
tentar arrefecer a caldeira
' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_2 = 1' />
											<exp exp='estado_s2 = &quot;S2on&quot;' />
										</command>
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_1 = 0' />
											<exp exp='estado_s1 = &quot;S1off&quot;' />
											<exp exp='pwmf1 = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off' >
											<case >
												<flowline />
											</case>
											<case exp='0' >
												<flowline >
													<command class_type='decision' title='adc_caldeira_1 &lt; prog_c1 - 3' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_1 &lt; prog_c1 - 3' swap='0' >
														<flowline >
															<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_1 = 1' swap='0' >
																<flowline />
																<flowline >
																	<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
																	<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='dados_eeprom' />
																	<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='out_1 = 1 //fumos 1 on' />
																		<exp exp='estado_s1 = &quot;S1on&quot;' />
																	</command>
																	<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_pca9685' />
																</flowline>
															</command>
														</flowline>
														<flowline >
															<command class_type='decision' title='adc_caldeira_1 &gt; prog_C1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_1 &gt; prog_C1' swap='0' >
																<flowline >
																	<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='out_1 = 0' />
																		<exp exp='estado_s1 = &quot;S1off&quot;' />
																		<exp exp='pwmf1 = 0' />
																	</command>
																</flowline>
																<flowline />
															</command>
														</flowline>
													</command>
												</flowline>
											</case>
											<case exp='1' >
												<flowline >
													<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
														<exp exp='out_1 = 0' />
														<exp exp='estado_s1 = &quot;S1off&quot;' />
														<exp exp='pwmf1 = 0' />
													</command>
												</flowline>
											</case>
											<case exp='2' >
												<flowline >
													<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_pwmf1' />
												</flowline>
											</case>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm_fumos' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_ventanima3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_vent_anim3 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tm3en = 1' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tm3.en=1&quot;' />
											<exp exp='tm3en = 1' />
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
								</command>
								<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza3 = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='icon_climatiza3 = 0' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tm3.en=0&quot;' />
											<exp exp='tm3en = 0' />
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
								</command>
								<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_estores3_4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est3 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 100 - adc_est3' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;j3.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_est4 &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario_byte = 100 - adc_est4' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (temporario_byte)' />
							<exp exp='comando = &quot;j4.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;jan3.val=j3.val&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;jan4.val=j4.val&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo12' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='ciclo_switch = 0' />
							<exp exp='contador1 = 0' />
						</command>
						<command class_type='comment' title='' comment='chamar aqui &quot;usar_expansao&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='loop' title='' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 12 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
						<command class_type='calculation' title='byte_onboard_stat = 0' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='ciclo_switch = 0' />
							<exp exp='byte_reset = 0' />
							<exp exp='contador = 0' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='control_temp_aviario3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmar2 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_5 = 0' />
									<exp exp='estado_s5 = &quot;S5off&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira2_on_off = 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_5 = 0' />
											<exp exp='estado_s5 = &quot;S5off&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_2 &lt;= adc_temp_3 - histerese_T' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_5 = 0' />
													<exp exp='estado_s5 = &quot;S5off&quot;' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='' textmode='1' textarea='63,111,538,411' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_3 &gt; prog_T3 + histerese_T' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='out_5 = 0' />
															<exp exp='estado_s5 = &quot;S5off&quot;' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='' textmode='1' textarea='56,155,531,455' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_3 = prog_T3' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='out_5 = 0' />
																	<exp exp='estado_s5 = &quot;S5off&quot;' />
																</command>
															</flowline>
															<flowline >
																<command class_type='decision' title='' textmode='1' textarea='72,114,547,414' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_3 &lt; prog_T3 - histerese_t' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																			<exp exp='out_5 = 1' />
																			<exp exp='estado_s5 = &quot;S5on&quot;' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_dados_jan' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='janela 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//reset comando' />
							<exp exp='comando = &quot;&quot;' />
							<exp exp='comando = comando + &quot;t5.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;data est.1&quot;' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(adc_est1)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_subir1)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_baixar1)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='janela 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//reset comando' />
							<exp exp='comando = &quot;&quot;' />
							<exp exp='comando = comando + &quot;t6.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;data est.2&quot;' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(adc_est2)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_subir2)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_baixar2)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='janela 3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//reset comando' />
							<exp exp='comando = &quot;&quot;' />
							<exp exp='comando = comando + &quot;t9.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;data est.3&quot;' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(adc_est5)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_subir5)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_baixar5)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='janela 4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//reset comando' />
							<exp exp='comando = &quot;&quot;' />
							<exp exp='comando = comando + &quot;t7.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;data est.4&quot;' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(adc_est3)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_subir3)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_baixar3)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='janela 5' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//reset comando' />
							<exp exp='comando = &quot;&quot;' />
							<exp exp='comando = comando + &quot;t8.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;data est.5&quot;' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(adc_est4)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_subir4)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_baixar4)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='janela 6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//reset comando' />
							<exp exp='comando = &quot;&quot;' />
							<exp exp='comando = comando + &quot;t10.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;data est.6&quot;' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(adc_est6)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_subir6)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;,&quot;' />
							<exp exp='temporario = ToString$(fc_baixar6)' />
							<exp exp='comando = comando + temporario' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='15/04/26
introdução de dados para esp32/app' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='25/02/26
stop delay acionado nas propriedades do componente pcf8575' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='20/02/26
ATENÇÃO !!
PORTA ANALOGICA AN10(PINO 11) AVARIADA
FOI SUBSTITUIDA PELA AN0 (PINO 13)
EM CONSEQUENCIA DISSO FOI CRIADA FORMA
DE EVITAR A LEITURA DIRETA DO POLO +
DA BATERIA PASSANDO PELO CONTACTO
DO RELÉ AUXILIAR NO QUADRO ELÉTRICO' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='07/12/25
introduçao de sensor DS18B20 para leitura de temperatura da caldeira' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='fazer teste em prog ventila :
desativar os calculos que &quot;desligam&quot; as saidas 
correspondentes
em &quot;prog_pwmf1&quot;
pode estar a acontecer a mesma situaçao !!' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='16/09/25
de maneira geral (macros,calculos etc...) as paginas 9 e 10 estavam trocadas
e não coincidiam com os numeros de componente na pagina &quot;MENU&quot; do HMI ' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='pwm1&gt; RG6
pwm2&gt; RG8
pwm3&gt; RC0
pwm4&gt; RC1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='TODAS AS ENTRADAS DIGITAIS ESTÃO FEITAS COM REFERENCIA A GND
PORTANTO OS SINAIS DEVEM SER NEGATIVOS' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='lista de portas / nome variavel / funcao

A10               out_1           fumos1
B13               out_2           ar quente 1
B12               out_3           ventila   1
B11               out_4           fumos2
B10               out_5           ar quente 2
F1                out_6           ventila   2
F0                out_7           nubliza   1
C9                out_8           nubliza   2 
RD5               out_13          ventil QE
RC8               out_14          resistencia QE' textarea='76,4,76,4' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='entradas digitais
PORTA,NUM     / VARIAVEL     / FUNCAO
B14,2             DMF1
B15,3             DMA1
E13,28            DMF2
E14,29            DMA2
E15,30            DMV1
A8,31             DMV2
B4,32             DMV3
A4,33             DMV4
A9,34             FALHA_LUZ
C3,35             INTRUSAO' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='entradas analogicas:
Nº  ,PINO &gt; FUNÇAO
AN55,1 &gt; RA7 CALDEIRA 1 (DS18B20)
AN18,5 &gt; RG7 CALDEIRA 2
AN16,8 &gt; RG9 SENSOR FUMO
AN10,11 &gt; RA12 BATERIA BACKUP
AN9,12 &gt; RA11 SENSOR TEMPERATURA QE' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='iniciar_ds18b20' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_pca9685' />
						<command class_type='call' title='Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PCA9685_PWM1' macro='Initialise' />
						<command class_type='comment' title='' comment='chamar teste pca' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='1' type='2' />
						<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='// nota importante !' />
							<exp exp='// com as variaveis em estado &quot;positivo&quot;' />
							<exp exp='// as saidas na verdade estao em estado oposto !!' />
							<exp exp='exp1 = 1 //1' />
							<exp exp='exp2 = 2 //2' />
							<exp exp='exp3 = 4 //4' />
							<exp exp='exp4 = 8 //8' />
							<exp exp='exp5 = 16 //16' />
							<exp exp='exp6 = 32 //32' />
							<exp exp='exp7 = 64 //64' />
							<exp exp='exp8 = 128 //128' />
							<exp exp='exp9 = 256 //256' />
							<exp exp='exp10 = 512 //512' />
							<exp exp='exp11 = 1024 //1024' />
							<exp exp='exp12 = 2048 //2048' />
							<exp exp='exp13 = 4096 //4096' />
							<exp exp='exp14 = 8192 //8192' />
							<exp exp='exp15 = 16384 //16384' />
							<exp exp='exp16 = 32768 //32768' />
							<exp exp='exp_out = 65535' />
						</command>
						<command class_type='comment' title='' comment='desligar todos os modulos pwm' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='iniciar_pcf8575' />
						<command class_type='comment' title='' comment='zerar todas as saidas na placa de expansao' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='exp_out = 65535 // portas todas desligadas' />
							<exp exp='//exp_out = 0 // portas todas ligadas' />
						</command>
						<command class_type='call' title='' textarea='125,55,125,55' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PCF8575_SAI' macro='WritePort' >
							<argument exp='exp_out' />
						</command>
						<command class_type='comment' title='' comment='28/06/20
alteraçao para usar nublizaçao e ventilaçao em simultaneo' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='29/07/20
adiçao de pagina para controle e programaçao dos estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='11/05/20
alteraçao na macro : arrancar com modem
estava : loop ate byte_result = 0
agora : 10 ciclos

alteraçao na macro : obter sinal
estava : loop ate byte_result &lt;&gt; 255
agora : 255 ciclos e &quot;if(byte_result &lt;&gt; 255),ponto:C&quot;

alteraçao na macro : registo sim rede
estava : loop ate char_enter_count = 1
agora : 255 ciclos e &quot;if(char_enter_count = 1),ponto:A&quot;' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='portas usadas :
ver lista completa na pasta do projeto' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='o modem e o tranceptor partilham a mesma porta rs232' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='MODEM E EBYTE' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='HMI' macro='Initialise' />
						<command class_type='delay' title='Atraso 3s' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='3' type='2' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_MODEM' />
						<command class_type='call' title='Chamar iniciar' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='iniciar' />
						<command class_type='comment' title='' comment='o claculo seguinte serve para esconder o componente de
texto que mostra o erro e contagem de cada sensor' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='comando &quot;t0.txt=a iniciar modem........&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;a iniciar modem........&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='se por algum motivo o &quot;sino&quot; estiver ativo na 
pagina 0 a proxima tarefa vai desativa-lo 
sempre que o processador inicia' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='led_alarmes = 0' />
							<exp exp='timer3_ativo = 0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//comando = &quot;vis sino,0&quot;' />
							<exp exp='comando = &quot;tm5.en=0&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='Chamar arrancar com modem' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='arrancar_com_modem' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='config_geral_modem' />
						<command class_type='call' title='Chamar apagar sms todas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='apagar_sms' />
						<command class_type='delay' title='Atraso' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='100' type='1' />
						<command class_type='calculation' title='reset contador sms' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador_sms_in = 0' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='eeprom guardar contagem sms' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x1' />
							<argument exp='contador_sms_in' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + string_geral' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='10' type='1' />
						<command class_type='decision' title='byte_result = 1' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_result = 1' swap='1' >
							<flowline >
								<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;t0.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;sms apagados !&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;t0.txt=&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
									<exp exp='comando = comando + &quot;erro ao apagar sms !&quot;' />
									<exp exp='comando = comando + &quot;\&quot;&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='delay' title='Atraso' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='3' type='2' />
						<command class_type='call' title='Chamar obter sinal' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='obter_sinal' />
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='erro_serial &gt;= 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='texto = &quot;verificar modem !&quot; + texto_csq_verbal //sinal gsm abreviado' />
									<exp exp='byte_result = 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='texto = &quot;gsm ok &quot; + texto_csq_verbal //sinal gsm abreviado' />
									<exp exp='byte_result = 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + texto' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='comment' title='' comment='existia um delay de 1600ms entre cada amostra de modulos de temperatura' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='500' type='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='500' type='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='500' type='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='500' type='1' />
						<command class_type='comment' title='' comment='19_05_24
chamada de macro PWM_on_off' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_saidas' />
						<command class_type='call' title='Chamar estado ventiladores' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='estado_ventiladores' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_ventanima1' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_ventanima2' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_ventanima3' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_ventanima4' />
						<command class_type='call' title='Chamar sem ocurrencias txt' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='sem_ocurrencias_txt' />
						<command class_type='call' title='' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_estado_caldeiras_condutas' />
						<command class_type='calculation' title='comando = &quot;vis p0,1&quot; //mostrar icone sms' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;vis p0,1&quot; //mostrar icone sms' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (prog_t1)' />
							<exp exp='comando = &quot;temp1.val=&quot; //mostrar temperatura programada' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (prog_t2)' />
							<exp exp='comando = &quot;temp2.val=&quot; //mostrar temperatura programada' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (prog_t3)' />
							<exp exp='comando = &quot;temp3.val=&quot; //mostrar temperatura programada' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (prog_t4)' />
							<exp exp='comando = &quot;temp4.val=&quot; //mostrar temperatura programada' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='comment' title='' comment='calculo para mudar cor de fundo de maual/auto nas janelas' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_fundojan_page' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_man_0_auto_ventil' />
						<command class_type='delay' title='Delay' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='10' type='1' />
						<command class_type='calculation' title='comando = &quot;vis gsm,1&quot; //mostrar grafico sinal' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;vis gsm,1&quot; //mostrar grafico sinal' />
						</command>
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculos_icons_nublizacao' />
						<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_ladrao' />
						<command class_type='loop' title='Ciclo' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Chamar monitor alarme' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='monitor_alarme' />
								<command class_type='label' title='Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='switch' title=' numero_pagina &gt; 10' textmode='1' textarea='107,207,582,507' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina' >
									<case >
										<flowline >
											<command class_type='switch' title='Switch numero_pagina &lt;= 10' textmode='1' textarea='136,200,611,500' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina' >
												<case >
													<flowline />
												</case>
												<case exp='1 //menu' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo1' />
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='ciclo_switch &gt;= 7' swap='0' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='numero_pagina = 0' />
																	<exp exp='ciclo_switch = 0' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='ciclo_switch = 0' />
																</command>
															</flowline>
														</command>
														<command class_type='switch' title='' textmode='1' textarea='36,190,511,490' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina' >
															<case >
																<flowline />
															</case>
															<case exp='0 //geral' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 0&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 0&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='1 //menu' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 1&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 1&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='2 //prog_c1' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 2&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 2&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='3 //prog_c2' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 3&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 3&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='4 //PROG T1' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 4&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 4&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='5 //prog t2' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 5&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 5&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='6 //manual' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 6&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 6&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='7 //ventilacao' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 7&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 7&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='8 //alarmes min e sms' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 8&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 8&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='9 //numeros telefone' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 9&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 9&quot;' />
																	</command>
																</flowline>
															</case>
														</command>
														<command class_type='switch' title='' textmode='1' textarea='62,168,537,468' cmdcolor='32896' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina' >
															<case >
																<flowline />
															</case>
															<case exp='10 // sensor fumo' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 10&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 10&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='11 //teste pwm' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 11&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 11&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='12 //RESET ALARMES' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 12&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 12&quot;' />
																	</command>
																</flowline>
															</case>
															<case exp='13 // estores' >
																<flowline >
																	<command class_type='calculation' title='comando = &quot;page 13&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																		<exp exp='comando = &quot;page 13&quot;' />
																	</command>
																</flowline>
															</case>
														</command>
														<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
														<command class_type='decision' title=' numero_pagina = 0' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 0' swap='0' >
															<flowline >
																<command class_type='comment' title='' comment='algumas destas variaveis devem ser vistas na macro :
receber sms' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																<command class_type='calculation' title='reset variaveis' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='ciclo_macros = 0' />
																	<exp exp='icon_sms = 0' />
																	<exp exp='icon_climatiza1 = 0' />
																	<exp exp='icon_climatiza2 = 0' />
																	<exp exp='icon_climatiza3 = 0' />
																	<exp exp='icon_climatiza4 = 0' />
																	<exp exp='icon_estado_caldeira1 = 0' />
																	<exp exp='icon_estado_caldeira2 = 0' />
																	<exp exp='aviso_alarme = 0' />
																	<exp exp='contador_display_adcs = 14 //para fazer mostrar todas as adcs' />
																	<exp exp='icon_habilitar = 0 //reset variavel' />
																	<exp exp='icon_alarmes_min = 0 // reset variavel' />
																	<exp exp='cont_f_sen_geral = 0' />
																	<exp exp='contador_reset = 0' />
																	<exp exp='cont_sens_fail_1 = 0' />
																	<exp exp='cont_sens_fail_2 = 0' />
																	<exp exp='cont_sens_fail_3 = 0' />
																	<exp exp='cont_sens_fail_4 = 0' />
																	<exp exp='tm1en = 0 // variavel para animacao ventilador' />
																	<exp exp='tm2en = 0 // variavel para animacao ventilador' />
																	<exp exp='tm3en = 0 // variavel para animacao ventilador' />
																	<exp exp='tm4en = 0 // variavel para animacao ventilador' />
																	<exp exp='icon_conduta1 = 0' />
																	<exp exp='icon_conduta2 = 0' />
																</command>
																<command class_type='comment' title='' comment='ao fazer reset na seguinte variavel
é possivel fazer com que o icone de nublizaçao permaneça
no estado correspondente' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='byte_timer1 = 0' />
																	<exp exp='byte_timer2 = 0' />
																	<exp exp='byte_timer3 = 0' />
																	<exp exp='byte_timer4 = 0' />
																	<exp exp='reset_icone_nubliza1 = 0' />
																	<exp exp='reset_icone_nubliza2 = 0' />
																	<exp exp='reset_icone_nubliza3 = 0' />
																	<exp exp='reset_icone_nubliza4 = 0' />
																	<exp exp='tm1en = 0' />
																	<exp exp='tm2en = 0' />
																	<exp exp='tm3en = 0' />
																	<exp exp='tm4en = 0' />
																	<exp exp='byte_vent_anim1 = 0' />
																	<exp exp='byte_vent_anim2 = 0' />
																	<exp exp='byte_vent_anim3 = 0' />
																	<exp exp='byte_vent_anim4 = 0' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='comando = &quot;vis falha,0&quot;' />
																</command>
																<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
																<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='PWM_on_off' />
																<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
															</flowline>
															<flowline />
														</command>
														<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
												</case>
												<case exp='2 //caldeira 1' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo2' />
														<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
												</case>
												<case exp='3 //caldeira 2' >
													<flowline >
														<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo3' />
														<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
												</case>
												<case exp='4 //temp1/2+hist' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo4' />
														<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
												</case>
												<case exp='5 //temp3/4+hist' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo5' />
														<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
												</case>
												<case exp='6 //manual' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo6' />
														<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
												</case>
												<case exp='7 //ventilacao' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo7' />
														<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
												</case>
												<case exp='8 //alarm min e sms' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo8' />
														<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
												</case>
												<case exp='9 //numeros telefone' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo9' />
														<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
												</case>
												<case exp='10 // sensor fumo' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo10' />
														<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
									<case exp='11 //nublizacao' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo11' />
											<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
										</flowline>
									</case>
									<case exp='12 //res.alar.' >
										<flowline >
											<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo12' />
											<command class_type='goto' title='Goto Connection Point B' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
										</flowline>
									</case>
									<case exp='13 //estores' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='menu_modulo13' />
											<command class_type='goto' title='Goto Connection Point B' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
										</flowline>
									</case>
								</command>
								<command class_type='call' title='Chamar entradas IO' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='entradas_IO' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='ciclos_macros_geral' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est1 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores1' />
										<command class_type='call' title='' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores1' />
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est2 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores2' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores2' />
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est3 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores3' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores3' />
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est4 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores4' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores4' />
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
								</command>
								<command class_type='comment' title='' comment='14/03/24
adição de 2 estores' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est5 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores5' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores5' />
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est6 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_estores6' />
										<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_estores6' />
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='aqui estava a chamar a macro :
control_fcds_com_jan.....' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
									</flowline>
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan1' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan2' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan3' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fcds_com_jan4' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fdcs_com_jan5' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_fdcs_com_jan6' />
								<command class_type='call' title='Chamar control  alarmes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_alarmes' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_flash_alarme' />
								<command class_type='call' title='Chamar control saidas' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='call' title='chamar output pwm' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='enviar_sms' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='13/02/19
alteraçao :
reset variavel de texto movida para macro :
numeros_envio_sms;pedir estado' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='eeprom estado contador sms' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Read' >
							<return exp='contador_sms_in' />
							<argument exp='0x1' />
						</command>
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='contador_sms_in &gt; 5' swap='0' >
							<flowline >
								<command class_type='calculation' title='reset contador sms in' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='contador_sms_in = 0' />
									<exp exp='temporario = &quot;a apagar sms box&quot;' />
								</command>
								<command class_type='call' title='Chamar apagar sms' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='apagar_sms' />
								<command class_type='comment' title='' comment='print temporario' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='reset temporario' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temporario = &quot;&quot;' />
								</command>
								<command class_type='delay' title='Atraso' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='2' type='2' />
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Cálculo contador sms' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='contador_sms_in = contador_sms_in + 1' />
						</command>
						<command class_type='call' title='eeprom guardar contagem sms' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x1' />
							<argument exp='contador_sms_in' />
						</command>
						<command class_type='calculation' title='comando = &quot;AT+CMGF=1&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CMGF=1&quot;' />
							<exp exp='byte_result = 1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar LOOP ATE OK' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
						<command class_type='calculation' title='comando = &quot;AT+CMGS=\&quot;numero_rec\&quot;&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CMGS=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + numero' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='char = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='comment' title='' comment='CHAMAR CRLF' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='ESPERAR POR &quot;&gt;&quot;' textmode='1' textarea='182,54,657,354' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='20/02/26
alteração dos tempos loop e timeout
 (254)para 125 e (50) para 5' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='loop' title='Ciclo' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='125' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='5' />
								</command>
								<command class_type='decision' title='Decisão char = 62' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 62' swap='0' >
									<flowline >
										<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='comando = &quot;AT+CFUN=1&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CFUN=1&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar LOOP ATE OK' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;erro ao enviar sms&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='goto' title='VaiPara Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
						<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='comment' title='' comment='A ENVIAR SMS....' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='mostrar numero' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='texto' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendChar' >
							<argument exp='0x1a' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='call' title='Chamar LOOP ATE OK' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
						<command class_type='calculation' title='comando = comando + numero' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + &quot;a enviar sms...&quot;' />
							<exp exp='comando = comando + numero' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='label' title='Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
						<command class_type='comment' title='' comment='chamar cr lf ??' textmode='1' textarea='12,0,487,300' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_csq' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='csq_decimal = StringToInt$ (string_csq)' />
						</command>
						<command class_type='decision' title='Decisão' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='csq_decimal &lt; 9' swap='1' >
							<flowline >
								<command class_type='decision' title='csq_decimal &gt; 25' textmode='1' textarea='36,0,511,300' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='csq_decimal &gt; 25' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='string_csq = &quot;2&quot; // mostra um grafico de escala muito baixa' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='string_csq = &quot;2&quot; // mostra um grafico de escala muito baixa' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='csq_decimal = StringToInt$ (string_csq)' />
							<exp exp='csq_decimal = csq_decimal * 3 // aqui triplica o valor para poder dar melhor leitura na escala grafica' />
							<exp exp='string_csq = ToString$ (csq_decimal) //conversao para string' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='clock_gsm' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando + reset clock_modem' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;AT+CCLK?&quot;' />
							<exp exp='clock_modem = &quot;&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='SendString' >
							<argument exp='comando' />
						</command>
						<command class_type='call' title='Chamar CR LF' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='CR_LF' />
						<command class_type='loop' title='Ciclo' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='20' >
							<flowline >
								<command class_type='comment' title='' comment='reduçao dos tempos de espera de 10 ms para 1 ms' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='char = 34 // &quot;' textmode='1' textarea='179,107,654,407' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 34 // &quot;' swap='0' >
									<flowline >
										<command class_type='goto' title='VaiPara Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
						<command class_type='label' title='Ponto de ligação A' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='loop' title='Ciclo' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='2' exp='255' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='ebyte_modem' macro='ReceiveChar' >
									<return exp='char' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='char = 43 // +' textmode='1' textarea='197,96,672,396' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 43 // +' swap='0' >
									<flowline >
										<command class_type='goto' title='VaiPara Ponto de ligação B ' textmode='1' textarea='36,0,511,300' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='char &lt; 32' textmode='1' textarea='222,90,697,390' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &lt; 32' swap='1' >
									<flowline >
										<command class_type='decision' title='char &gt; 126' textmode='1' textarea='266,96,741,396' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char &gt; 126' swap='0' >
											<flowline />
											<flowline >
												<command class_type='decision' title='charl = 34 // &quot;' textmode='1' textarea='236,85,711,385' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='char = 34 // &quot;' swap='0' >
													<flowline />
													<flowline >
														<command class_type='calculation' title='obter clock modem' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='string_char[0] = char' />
															<exp exp='clock_modem = clock_modem + string_char' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='15/08/22
teste para se falhar a leitura de data/hora' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='tamanho_de_string = Length$ (clock_modem)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tamanho_de_string = 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='clock_modem = &quot;---------------&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='label' title='Ponto de ligação B' textmode='1' textarea='36,0,511,300' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
						<command class_type='call' title='chamar loop ate ok' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='loop_ate_ok' />
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_C2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='eeprom 0x3 prog c2' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x3' />
							<argument exp='prog_C2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_histerese_T' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='eeprom 0xa histerese T' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0xa' />
							<argument exp='histerese_T' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_temp_aviario2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmar1 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_2 = 0' />
									<exp exp='estado_s2 = &quot;S2off&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='atencao !!
com a alteracao para comando MAN_0_AUT e ajuste pwmf1 
a definicao de desligado é 1
MAN_0_AUT
 0  1  2 ' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_2 = 0' />
											<exp exp='estado_s2 = &quot;S2off&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_1 &lt;= adc_temp_2 - histerese_T' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_2 = 0' />
													<exp exp='estado_s2 = &quot;S2off&quot;' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='' textmode='1' textarea='63,111,538,411' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_2 &gt; prog_T2 + histerese_T' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='out_2 = 0' />
															<exp exp='estado_s2 = &quot;S2off&quot;' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='' textmode='1' textarea='56,155,531,455' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_2 = prog_T2' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='out_2 = 0' />
																	<exp exp='estado_s2 = &quot;S2off&quot;' />
																</command>
															</flowline>
															<flowline >
																<command class_type='decision' title='' textmode='1' textarea='72,114,547,414' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_2 &lt; prog_T2 - histerese_t' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																			<exp exp='out_2 = 1' />
																			<exp exp='estado_s2 = &quot;S2on&quot;' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_ventanima2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv2 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tm2en = 0' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='icon_climatiza2 = 0' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tm2.en=0&quot;' />
											<exp exp='tm2en = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_vent_anim2 = 1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tm2en = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tm2.en=1&quot;' />
													<exp exp='tm2en = 1' />
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza2 = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='icon_climatiza2 = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tm2.en=0&quot;' />
													<exp exp='tm2en = 0' />
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo11' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='ciclo_switch = 0' />
						</command>
						<command class_type='call' title='chamar p11 nubliza' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='p11_nubliza_prog_display' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 11' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 11 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='chamar switch contador' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//pulso_nublizacao1 = 0' />
							<exp exp='//minuto1 = 0' />
							<exp exp='//segundo1 = 0' />
							<exp exp='//pulso_nublizacao2 = 0' />
							<exp exp='//minuto3 = 0' />
							<exp exp='//segundo3 = 0' />
							<exp exp='//pulso_nublizacao3 = 0' />
							<exp exp='//minuto4 = 0' />
							<exp exp='//segundo4 = 0' />
							<exp exp='//pulso_nublizacao4 = 0' />
							<exp exp='//minuto5 = 0' />
							<exp exp='//segundo5 = 0' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='chamar prog nublizacao1' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_nublizacao1_3' />
						<command class_type='call' title='chamar prog nublizacao2' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_nublizacao2_4' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='calculo_fundojan_page' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='se todas as janelas falharem por falta de comunicaçao' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='jan_fail &gt;= 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;man0aut.val=2&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;man1aut.val=2&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;man2aut.val=2&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;man3aut.val=2&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;man4aut.val=2&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='comando = &quot;man5aut.val=2&quot;' />
								</command>
								<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='janelas 1' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN1 &gt; 0' swap='1' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est1_baixar = 0' />
													<exp exp='est1_subir = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man0aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan1 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est1_baixar = 0' />
													<exp exp='est1_subir = 0' />
												</command>
												<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man0aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd1 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs1 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est1 = 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man0aut.val=0&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man0aut.val=1&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='janelas 2' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN2 &gt; 0' swap='1' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est2_baixar = 0' />
													<exp exp='est2_subir = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man1aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan2 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est2_baixar = 0' />
													<exp exp='est2_subir = 0' />
												</command>
												<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man1aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd2 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs2 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est2 = 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man1aut.val=0&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man1aut.val=1&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='janelas 3' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN3 &gt; 0' swap='1' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est3_baixar = 0' />
													<exp exp='est3_subir = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man2aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan3 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est3_baixar = 0' />
													<exp exp='est3_subir = 0' />
												</command>
												<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='C' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man2aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd3 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs3 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='2' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est3 = 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man2aut.val=0&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man2aut.val=1&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='janelas 4' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN4 &gt; 0' swap='1' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est4_baixar = 0' />
													<exp exp='est4_subir = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man3aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan4 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est4_baixar = 0' />
													<exp exp='est4_subir = 0' />
												</command>
												<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='3' labelname='D' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man3aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd4 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='3' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs4 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='3' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est4 = 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man3aut.val=0&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man3aut.val=1&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='janelas 5' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN5 &gt; 0' swap='1' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est5_baixar = 0' />
													<exp exp='est5_subir = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man4aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan5 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est5_baixar = 0' />
													<exp exp='est5_subir = 0' />
												</command>
												<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='4' labelname='E' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man4aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd5 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='4' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs5 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='4' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est5 = 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man4aut.val=0&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man4aut.val=1&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='janelas 6' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='numero_pagina = 13' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='DMJAN6 &gt; 0' swap='1' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est6_baixar = 0' />
													<exp exp='est6_subir = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man5aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='25/03/25
 em teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmjan6 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='est6_baixar = 0' />
													<exp exp='est6_subir = 0' />
												</command>
												<command class_type='label' title='Declare Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='5' labelname='F' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;man5aut.val=2&quot;' />
												</command>
												<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcd6 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='5' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_fcs6 &gt;= 2' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='5' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='man_aut_est6 = 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man5aut.val=0&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='comando = &quot;man5aut.val=1&quot;' />
														</command>
														<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_C1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='eeprom 0x2 prog c1' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x2' />
							<argument exp='prog_C1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='control_temp_aviario1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmar1 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='out_2 = 0' />
									<exp exp='estado_s2 = &quot;S2off&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='atencao !!
com a alteracao para comando MAN_0_AUT e ajuste pwmf1 
a definicao de desligado é 1
MAN_0_AUT
 0  1  2 ' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='caldeira1_on_off = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='out_2 = 0' />
											<exp exp='estado_s2 = &quot;S2off&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_caldeira_1 &lt;= adc_temp_1 - histerese_T' swap='0' >
											<flowline >
												<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='out_2 = 0' />
													<exp exp='estado_s2 = &quot;S2off&quot;' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='' textmode='1' textarea='63,111,538,411' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_1 &gt; prog_T1 + histerese_T' swap='0' >
													<flowline >
														<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='out_2 = 0' />
															<exp exp='estado_s2 = &quot;S2off&quot;' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='' textmode='1' textarea='56,155,531,455' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_1 = prog_T1' swap='0' >
															<flowline >
																<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='out_2 = 0' />
																	<exp exp='estado_s2 = &quot;S2off&quot;' />
																</command>
															</flowline>
															<flowline >
																<command class_type='decision' title='' textmode='1' textarea='72,114,547,414' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='adc_temp_1 &lt; prog_T1 - histerese_t' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Cálculo' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																			<exp exp='out_2 = 1' />
																			<exp exp='estado_s2 = &quot;S2on&quot;' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_dados_guardados' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t0.txt=&quot;' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
							<exp exp='comando = comando + texto_dados_rem' />
							<exp exp='comando = comando + &quot; &quot;' />
							<exp exp='comando = comando + temporario_rem_string' />
							<exp exp='comando = comando + &quot;\&quot;&quot;' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='delay' title='Atraso 2s' textmode='1' textarea='36,0,511,300' cmdcolor='8009984' cmdcolor_sec='11299634' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='2' type='2' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_ventanima1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='alarme_dmv1 = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tm1en = 0' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='icon_climatiza1 = 0' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='comando = &quot;tm1.en=0&quot;' />
											<exp exp='tm1en = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='byte_vent_anim1 = 1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='tm1en = 1' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tm1.en=1&quot;' />
													<exp exp='tm1en = 1' />
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='icon_climatiza1 = 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='icon_climatiza1 = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='comando = &quot;tm1.en=0&quot;' />
													<exp exp='tm1en = 0' />
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='' />
											</flowline>
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13133316' cmdcolor_sec='16422966' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='' />
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='0' labelname='A' />
						<command class_type='call' title='Chamar tres ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='label' title='Connection Point' cmdcolor='55295' cmdcolor_sec='15109686' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' labelid='1' labelname='B' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display_t4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;t4.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='comando = &quot;t4.val=&quot; // se no display o mostrador for decimal utilizar esta versao' />
							<exp exp='comando = comando + temp_aviario4' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='prog_nublizacao1_3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='eeprom 0x14  nublizacao1' textmode='1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x14' />
							<argument exp='nublizacao1' />
						</command>
						<command class_type='calculation' title='Cálculo colocar valor int em 2 loc eeprom (byte)' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='var1 = tempo_on_nubliza1 &amp; 0xff' />
							<exp exp='var2 = tempo_on_nubliza1 &gt;&gt; 8' />
						</command>
						<command class_type='call' title='0x15 var 1 /tempo on nubliza 1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x15' />
							<argument exp='var1' />
						</command>
						<command class_type='call' title='0x16 var2 / tempo on nubliza 1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x16' />
							<argument exp='var2' />
						</command>
						<command class_type='calculation' title='Cálculo colocar valor int em 2 loc eeprom (byte)' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='var1 = tempo_off_nubliza1 &amp; 0xff' />
							<exp exp='var2 = tempo_off_nubliza1 &gt;&gt; 8' />
						</command>
						<command class_type='call' title='0x17 var 1 /tempo off nubliza 1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x17' />
							<argument exp='var1' />
						</command>
						<command class_type='call' title='0x18 var2 / tempo off nubliza 1' textarea='36,0,511,300' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x18' />
							<argument exp='var2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='serial_24c16' macro='Write' >
							<argument exp='0x21' />
							<argument exp='nublizacao3' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='portas_expansao' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='lista de portas / nome variavel / funcao

A10               out_1           fumos1
B13               out_2           ar quente 1
B12               out_3           ventila   1
B11               out_4           fumos2
B10               out_5           ar quente 2
F1                out_6           ventila   2
F0                out_7           nubliza   1
C9                out_8           nubliza   2 
D5                out_13          ventilador Q.E.
C8                out_14          resistencia Q.E.
################expansao#####################
EXP1              out_9           ventila   3
EXP2              out_10          ventila   4
EXP3              out_11          nubliza   3
EXP4              out_12          nubliza   4
EXP5              estado de alarme          relé alarme' textarea='76,4,76,4' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='// nota importante !
// com as variaveis em estado &quot;positivo&quot;
// as saidas na verdade estao em estado oposto !!
exp1 = 1 //1
exp2 = 2 //2
exp3 = 4 //4
exp4 = 8 //8
exp5 = 16 //16
exp6 = 32 //32
exp7 = 64 //64
exp8 = 128 //128
exp9 = 256 //256
exp10 = 512 //512
exp11 = 1024 //1024
exp12 = 2048 //2048
exp13 = 4096 //4096
exp14 = 8192 //8192
exp15 = 16384 //16384
exp16 = 32768 //32768' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_9 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp1 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp1 = 1' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_10 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp2 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp2 = 2' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_11 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp3 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp3 = 4' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='out_12 = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp4 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp4 = 8' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='estado_de_alarme = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp5 = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='exp5 = 16 //16' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='utilizaçao relé para aviso sonoro/visual de alarmes
porta 16 na placa de expansao
' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='os calculos e decisoes a partir daqui 
estavam para controle dos estores 
que agora passam a ser wireless' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='comment' title='' comment='o proximo calculo serve para manter as portas
nao usadas da placa de expansao desativadas' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='//exp4 = 8' />
							<exp exp='//exp5 = 16' />
							<exp exp='exp6 = 32' />
							<exp exp='exp7 = 64' />
							<exp exp='exp8 = 128' />
							<exp exp='exp9 = 256 //256' />
							<exp exp='exp10 = 512 //512' />
							<exp exp='exp11 = 1024 //1024' />
							<exp exp='exp12 = 2048 //2048' />
							<exp exp='exp13 = 4096 //4096' />
							<exp exp='exp14 = 8192 //8192' />
							<exp exp='exp15 = 16384 //16384' />
							<exp exp='exp16 = 32768 //32768' />
							<exp exp='exp_out = exp1' />
							<exp exp='exp_out = exp_out + exp2' />
							<exp exp='exp_out = exp_out + exp3' />
							<exp exp='exp_out = exp_out + exp4' />
							<exp exp='exp_out = exp_out + exp5' />
							<exp exp='exp_out = exp_out + exp6' />
							<exp exp='exp_out = exp_out + exp7' />
							<exp exp='exp_out = exp_out + exp8' />
							<exp exp='exp_out = exp_out + exp9' />
							<exp exp='exp_out = exp_out + exp10' />
							<exp exp='exp_out = exp_out + exp11' />
							<exp exp='exp_out = exp_out + exp12' />
							<exp exp='exp_out = exp_out + exp13' />
							<exp exp='exp_out = exp_out + exp14' />
							<exp exp='exp_out = exp_out + exp15' />
							<exp exp='exp_out = exp_out + exp16' />
						</command>
						<command class_type='call' title='' cmdcolor='9221330' cmdcolor_sec='9985586' cmdcolor_txt='9109504' cmdgradient='0' cmdopacity='1' component='PCF8575_SAI' macro='WritePort' >
							<argument exp='exp_out' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='display_batt_geral' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt_geral &lt;= 3280 //para 12 byte' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt_geral &lt;= 3170 //para 12 byte' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt_geral &lt;= 3040 // para 12 byte' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt_geral &lt;= 2840 // para 12 byte' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='17919' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='3' cmdopacity='1' exp='batt_geral &lt;= 2640 //para 12 byte' swap='0' >
															<flowline >
																<command class_type='comment' title='' comment='0 %' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='temp_var = 0' />
																</command>
															</flowline>
															<flowline >
																<command class_type='comment' title='' comment='20%' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
																<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
																	<exp exp='temp_var = 18' />
																</command>
															</flowline>
														</command>
													</flowline>
													<flowline >
														<command class_type='comment' title='' comment='40 %' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
														<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
															<exp exp='temp_var = 35' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='60 %' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
												<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
													<exp exp='temp_var = 50' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='80 %' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
										<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='temp_var = 65' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='100 %' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
									<exp exp='temp_var = 80' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$(temp_var)' />
							<exp exp='comando = &quot;bg.val=&quot;' />
							<exp exp='comando = comando + temporario' />
							<exp exp='temp_var = 0' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='menu_modulo10' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='comando = &quot;ppm.val=&quot;' textmode='1' textarea='36,0,511,300' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='temporario = ToString$ (cal_sens_fumo)' />
							<exp exp='comando = &quot;ppm.val=&quot;' />
							<exp exp='comando = comando + temporario' />
						</command>
						<command class_type='call' title='Chamar 3 ciclos ff' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='tres_ciclos_ff' />
						<command class_type='call' title='USAR EBYTE' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_74HC4052' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='leitura_analogica' />
						<command class_type='call' title='Chamar display prog sens fumo' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='display_prog_sens_fumo' />
						<command class_type='loop' title='Ciclo ate numero_pagina &lt;&gt; 10' textmode='1' textarea='36,0,511,300' cmdcolor='16711168' cmdcolor_sec='16753206' cmdcolor_txt='7346457' cmdgradient='0' cmdopacity='1' type='1' exp='numero_pagina &lt;&gt; 10 OR ciclo_switch &gt;= 7' start='0' >
							<flowline >
								<command class_type='call' title='Chamar processar instrucoes' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='processar_instrucoes' />
								<command class_type='call' title='chamar switch contador' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='switch_contador' />
								<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='control_saidas' />
								<command class_type='comment' title='' comment='teste' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
								<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='output_pwm' />
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EEPROM' />
						<command class_type='call' title='Chamar prog sensor fumo' textmode='1' textarea='36,0,511,300' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='prog_sens_fumo' />
						<command class_type='call' title='User Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='USAR_EXPANSAO' />
						<command class_type='call' title='Call Macro' cmdcolor='5737262' cmdcolor_sec='8671026' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='calculo_para_cicloswitch' />
					</flowline>
				</macro>
				<macro >
					<flowline name='desativar_timers' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='0' name='TMR1' >
							<settings timer='1' prescale='1' postscale='-1' rollover='0' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='0' name='TMR2' >
							<settings timer='1' prescale='1' postscale='-1' rollover='0' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='0' name='TMR3' >
							<settings timer='1' prescale='1' postscale='-1' rollover='0' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='8421504' cmdcolor_sec='12547891' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='0' name='TMR4' >
							<settings timer='1' prescale='1' postscale='-1' rollover='0' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='byte_timer1 = 0' />
							<exp exp='byte_timer2 = 0' />
							<exp exp='byte_timer3 = 0' />
							<exp exp='byte_timer4 = 0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='out_7 = 0' />
							<exp exp='estado_s7 = &quot;S7off&quot;' />
							<exp exp='minuto1 = 0' />
							<exp exp='segundo1 = 0' />
							<exp exp='reset_icone_nubliza1 = 0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='out_8 = 0' />
							<exp exp='estado_s8 = &quot;S8off&quot;' />
							<exp exp='minuto3 = 0' />
							<exp exp='segundo3 = 0' />
							<exp exp='reset_icone_nubliza2 = 0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='out_11 = 0' />
							<exp exp='estado_s11 = &quot;S11off&quot;' />
							<exp exp='minuto4 = 0' />
							<exp exp='segundo4 = 0' />
							<exp exp='reset_icone_nubliza3 = 0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='13382297' cmdcolor_sec='13861172' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='out_12 = 0' />
							<exp exp='estado_s12 = &quot;S12off&quot;' />
							<exp exp='minuto5 = 0' />
							<exp exp='segundo5 = 0' />
							<exp exp='reset_icone_nubliza4 = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='USAR_pca9685' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='CONFIGURAÇAO : SEL3=0/SEL4=1
pca9685 EM USO' textarea='12,0,12,0' cmdcolor='15792895' cmdcolor_sec='16422966' cmdcolor_txt='0' cmdgradient='3' cmdopacity='1' />
						<command class_type='output' title='SEL3' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097155' mask='256' exp='0' usechipref='1' />
						<command class_type='output' title='SEL4' cmdcolor='255' cmdcolor_sec='9985586' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='2097154' mask='1024' exp='255' usechipref='1' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='ebyte_modem' panelId='-1' x='-62.0693' y='-40.1429' z='0.522675' xsz='4.7481' ysz='4.21496' zsz='17.9189' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='007' />
					<value target='cal_uart::BAUD' data='38400' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='000' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTB.8' />
					<value target='cal_uart::OutputPins' data='010' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTB.9' />
					<value target='cal_uart::InputPins' data='041' />
					<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='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='0' />
					<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='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='HMI' panelId='-1' x='-32.1332' y='-40.7485' z='10.101' xsz='4.77324' ysz='4.46663' zsz='25.3294' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='002' />
					<value target='cal_uart::BAUD_LIST' data='009' />
					<value target='cal_uart::BAUD' data='115200' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='000' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTC.6' />
					<value target='cal_uart::OutputPins' data='012' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTC.7' />
					<value target='cal_uart::InputPins' data='055' />
					<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='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='0' />
					<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='fdb712e0-3861-4e64-9c68-67eade64b089' vmin='0' vmaj='2' codename='serial_24c16' panelId='-1' x='-68.2185' y='-18' z='0' xsz='3.66271' ysz='3.57143' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='DEVICE_ADDRESS' data='000' />
					<value target='cal_i2c1::CHANNEL' data='001' />
					<value target='cal_i2c1::SDA' data='$PORTB.5' />
					<value target='cal_i2c1::SDAPins' data='016' />
					<value target='cal_i2c1::SCL' data='$PORTB.6' />
					<value target='cal_i2c1::SCLPins' data='017' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='SimComms' data='0' />
					<value target='cal_i2c1::ScopeTraces' data='0' />
					<value target='cal_i2c1::ConsoleData' data='0' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='caldeira2' panelId='-1' x='-320' 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 />
				<values >
					<value target='tang_col' data='16711680' />
					<value target='mark_col' data='255' />
					<value target='body_color' data='12632256' />
					<value target='ScopeTraces' data='0' />
					<value target='RetainValue' data='0' />
					<value target='SetValue' data='1.000000' />
					<value target='channel' data='18' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='006' />
					<value target='actime' data='100' />
					<value target='bits' data='12' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='fumos' panelId='-1' x='-240' 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 />
				<values >
					<value target='tang_col' data='16711680' />
					<value target='mark_col' data='255' />
					<value target='body_color' data='12632256' />
					<value target='ScopeTraces' data='0' />
					<value target='RetainValue' data='0' />
					<value target='SetValue' data='1.000000' />
					<value target='channel' data='16' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='006' />
					<value target='actime' data='100' />
					<value target='bits' data='12' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='battgeral' panelId='-1' x='-150' 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 />
				<values >
					<value target='tang_col' data='16711680' />
					<value target='mark_col' data='255' />
					<value target='body_color' data='12632256' />
					<value target='ScopeTraces' data='0' />
					<value target='RetainValue' data='0' />
					<value target='SetValue' data='1.000000' />
					<value target='channel' data='0' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='006' />
					<value target='actime' data='100' />
					<value target='bits' data='12' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4616b658-531f-4c5e-981a-4d9fc04f9a36' vmin='0' vmaj='1' codename='PCF8575_ENT' panelId='-1' x='-13.3' y='-20.08' z='0' xsz='5.87456' ysz='4.18883' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='DeviceType' data='032' />
					<value target='ExtAddress' data='001' />
					<value target='cal_i2c1::CHANNEL' data='001' />
					<value target='cal_i2c1::StopDel' data='1' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::SDA' data='$PORTB.5' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTB.6' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='label' data='PCF8575' />
					<value target='cal_i2c1::ScopeTraces' data='0' />
					<value target='cal_i2c1::ConsoleData' data='0' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4616b658-531f-4c5e-981a-4d9fc04f9a36' vmin='0' vmaj='1' codename='PCF8575_SAI' panelId='-1' x='26.7' y='-20.08' z='0' xsz='5.87456' ysz='4.18883' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='DeviceType' data='032' />
					<value target='ExtAddress' data='000' />
					<value target='cal_i2c1::CHANNEL' data='001' />
					<value target='cal_i2c1::StopDel' data='1' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::SDA' data='$PORTB.5' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTB.6' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='label' data='PCF8575' />
					<value target='cal_i2c1::ScopeTraces' data='0' />
					<value target='cal_i2c1::ConsoleData' data='0' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='0' vmaj='12' codename='PWM1' panelId='-1' x='-83.3' y='36.2024' z='0' xsz='5.87456' ysz='5.87456' 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='1' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='001' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTG.6' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='005' />
					<value target='period' data='255' />
					<value target='prescale' data='006' />
					<value target='period_calc' data='819.200012' />
					<value target='frequency_calc2' data='1220.703125' />
					<value target='frequency_calc' data='1.220703' />
					<value target='pwm_prescale' data='64' />
					<value target='ReqFreq' data='1000' />
					<value target='OldReqFreq' data='1000' />
					<value target='CalcFreq' data='1000.000000' />
					<value target='CalcPeriod' data='19999' />
					<value target='CalcScaler' data='1' />
					<value target='Apply' data='0' />
					<value target='ClockSpeed' data='40000000' />
					<value target='SimRep' data='000' />
					<value target='Family' data='PIC16' />
					<value target='ModifiedConnection' data='G.6' />
					<value target='IsESP' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='0' vmaj='12' codename='PWM2' panelId='-1' x='-33.3' y='36.2024' z='0' xsz='5.87456' ysz='5.87456' 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='1' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='002' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTG.8' />
					<value target='RemapPin' data='001' />
					<value target='timer' data='005' />
					<value target='period' data='255' />
					<value target='prescale' data='006' />
					<value target='period_calc' data='819.200012' />
					<value target='frequency_calc2' data='1220.703125' />
					<value target='frequency_calc' data='1.220703' />
					<value target='pwm_prescale' data='64' />
					<value target='ReqFreq' data='1000' />
					<value target='OldReqFreq' data='1000' />
					<value target='CalcFreq' data='1000.000000' />
					<value target='CalcPeriod' data='19999' />
					<value target='CalcScaler' data='1' />
					<value target='Apply' data='0' />
					<value target='ClockSpeed' data='40000000' />
					<value target='SimRep' data='000' />
					<value target='Family' data='PIC16' />
					<value target='ModifiedConnection' data='G.8' />
					<value target='IsESP' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='0' vmaj='12' codename='PWM3' panelId='-1' x='6.7' y='36.2024' z='0.25' xsz='5.87456' ysz='5.87456' 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='1' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='003' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTC.0' />
					<value target='RemapPin' data='003' />
					<value target='timer' data='005' />
					<value target='period' data='255' />
					<value target='prescale' data='006' />
					<value target='period_calc' data='819.200012' />
					<value target='frequency_calc2' data='1220.703125' />
					<value target='frequency_calc' data='1.220703' />
					<value target='pwm_prescale' data='64' />
					<value target='ReqFreq' data='1000' />
					<value target='OldReqFreq' data='1000' />
					<value target='CalcFreq' data='1000.000000' />
					<value target='CalcPeriod' data='19999' />
					<value target='CalcScaler' data='1' />
					<value target='Apply' data='0' />
					<value target='ClockSpeed' data='40000000' />
					<value target='SimRep' data='000' />
					<value target='Family' data='PIC16' />
					<value target='ModifiedConnection' data='C.0' />
					<value target='IsESP' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='0' vmaj='12' codename='PWM4' panelId='-1' x='46.7' y='36.2024' z='0.5' xsz='5.87456' ysz='5.87456' 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='1' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='004' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTC.1' />
					<value target='RemapPin' data='004' />
					<value target='timer' data='005' />
					<value target='period' data='255' />
					<value target='prescale' data='006' />
					<value target='period_calc' data='819.200012' />
					<value target='frequency_calc2' data='1220.703125' />
					<value target='frequency_calc' data='1.220703' />
					<value target='pwm_prescale' data='64' />
					<value target='ReqFreq' data='1000' />
					<value target='OldReqFreq' data='1000' />
					<value target='CalcFreq' data='1000.000000' />
					<value target='CalcPeriod' data='19999' />
					<value target='CalcScaler' data='1' />
					<value target='Apply' data='0' />
					<value target='ClockSpeed' data='40000000' />
					<value target='SimRep' data='000' />
					<value target='Family' data='PIC16' />
					<value target='ModifiedConnection' data='C.1' />
					<value target='IsESP' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5bd41be2-1b9c-4f30-ba78-84cb29d61ced' vmin='0' vmaj='1' codename='PCA9685_PWM1' panelId='-1' x='6.952' y='-53' z='0.125' xsz='5.81503' ysz='5.80357' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Address' data='000' />
					<value target='OutputMode' data='000' />
					<value target='ClockType' data='000' />
					<value target='ClockFrequency' data='25000000' />
					<value target='Prescaler' data='5.603516' />
					<value target='Frequency' data='4461484.500000' />
					<value target='TargetPWMFreq' data='1000' />
					<value target='PWMFrequency' data='1089.229614' />
					<value target='PWMResolution' data='0.224141' />
					<value target='cal_i2c1::CHANNEL' data='001' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::SDA' data='$PORTB.5' />
					<value target='cal_i2c1::SDAPins' data='008' />
					<value target='cal_i2c1::SCL' data='$PORTB.6' />
					<value target='cal_i2c1::SCLPins' data='009' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='SimComms' data='0' />
					<value target='cal_i2c1::ScopeTraces' data='1' />
					<value target='cal_i2c1::ConsoleData' data='1' />
					<value target='cal_i2c1::Injector' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='64b26b13-68cf-4a92-8616-e882b7c71023' vmin='4' vmaj='1' codename='One_Wire1' panelId='-1' x='-70.5' y='-82.32' z='0.1875' xsz='7.21831' ysz='4.76485' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='oo_pin' data='$PORTA.7' />
					<value target='Timing' data='000' />
					<value target='BufferSize' data='8' />
					<value target='OneWire' data='1' />
					<value target='ESPIntKeepout' data='0' />
					<value target='NopTiming' data='0' />
					<value target='Nops6us' data='66' />
					<value target='Nops9us' data='18' />
					<value target='Nops10us' data='114' />
					<value target='NopFiddle' data='6' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
					<value target='InjectorChannel' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='783b7689-0c71-44fb-9dde-673e4b7455ba' vmin='0' vmaj='1' codename='DS18B20_caldeira' panelId='-1' x='-131.774' y='-30.125' z='0.125' xsz='8.56597' ysz='16.0651' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='SensorLibraryComponent1::OutputIcon::LinkTo' data='001' />
					<value target='OneWireHandle' data='0' />
					<value target='CRCChecking' data='1' />
					<value target='AlarmHigh' data='75' />
					<value target='AlarmLow' data='70' />
					<value target='ConversionBits' data='003' />
					<value target='MaxConvTime' data='750' />
					<value target='TempRes' data='0.062500' />
					<value target='SimComms' data='0' />
					<value target='NumSensors' data='001' />
					<value target='Serial0' data='000000000000' />
					<value target='Serial1' data='000000000001' />
					<value target='Serial2' data='000000000002' />
					<value target='Serial3' data='000000000003' />
					<value target='Serial4' data='000000000004' />
					<value target='Serial5' data='000000000005' />
					<value target='Serial6' data='000000000006' />
					<value target='Serial7' data='000000000007' />
					<value target='Serial8' data='000000000008' />
					<value target='Serial9' data='000000000009' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='temperatura_quadro' panelId='-1' x='-50' 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 />
				<values >
					<value target='tang_col' data='16711680' />
					<value target='mark_col' data='255' />
					<value target='body_color' data='12632256' />
					<value target='ScopeTraces' data='0' />
					<value target='RetainValue' data='0' />
					<value target='SetValue' data='1.000000' />
					<value target='channel' data='9' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='006' />
					<value target='actime' data='100' />
					<value target='bits' data='12' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='-20.3054' ye='-42.5544' ze='360.581' xt='-20.3054' yt='-42.5544' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='284' dy='478' zoom='95.3016' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
		<winpos ID='7005' RectRecentFloat='411,138,1196,708' RectRecentDocked='1062,141,1366,709' 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='0' />
		<camera xe='-179.607' ye='-63.3579' ze='839.583' xt='-179.607' yt='-63.3579' zt='-0.0708012' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
		<winpos ID='7004' RectRecentFloat='556,304,1206,754' RectRecentDocked='1019,141,1366,709' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='0' />
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUQUAADMCAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='processar_instrucoes' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUQUAADMCAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ciclos_macros_geral' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUQUAADMCAAA' zoom='100' scrollx='0' scrolly='765' flags='0' />
		<view type='0' name='display_app' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUQUAADMCAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='calculo_display_pwm1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUQUAADMCAAA' zoom='100' scrollx='0' scrolly='330' flags='0' />
		<view type='0' name='iniciar' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUQUAADMCAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
