<root>
<document scada='0' schema='102' license='1,17041971,W6AB0Q' title='App Developer Project' description='Commande portail bissy' fcversion='590336' target='PIC.16F.16F88' >
	<config data='!0,3f62!10,3ffe%0,2%2,0%3,0%5,1%6,1%7,0%8,1%9,3%b,1%c,1%d,1%10,0%11,1' clkspd='4000000' simspd='0' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='FCA' />
		<watch expr='FCC' />
		<watch expr='BP' />
		<watch expr='RECOM' />
		<watch expr='BPCOUNT' />
		<watch expr='MPO' />
		<watch expr='MPA' />
		<watch expr='MPDO' />
		<watch expr='MPAO' />
		<watch expr='CAS1' />
		<watch expr='CAS2' />
		<watch expr='CAS3' />
		<watch expr='CAS4' />
		<watch expr='CAS5' />
		<watch expr='URG' />
	</debug>
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='42' />
			<data name='CalculatedCommsDelay' value='42' />
			<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='0' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='f2bcba33-b915-4d14-96e1-4374cbf960a0' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<gdiopts FullContainer='1' FullTransparency='1' ShowGdi='1' ShowOpengl='1' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='FCA' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BP' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MPA' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MPDO' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CAS5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CAS4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CAS3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CAS2' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CAS1' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RECOM' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MPO' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MPAO' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='1' >
					<def class_type='variable' name='URG' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BPCOUNT' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MPF' type='b1' 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='FCC' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Securite' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Entrée securité urgence' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='1' exp='URG' usechipref='1' />
						<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='0' usechipref='1' />
						<command class_type='loop' title='tant que securité activée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='URG = 1' >
							<flowline >
								<command class_type='output' title='Commande RE clignotant ON' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='1' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='200' type='1' />
								<command class_type='output' title='Commande RE clignotant OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='0' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='200' type='1' />
								<command class_type='output' title='Commande RE clignotant ON' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='1' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='200' type='1' />
								<command class_type='output' title='Commande RE clignotant OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='0' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='1' type='2' />
								<command class_type='input' title='Entrée securité urgence' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='1' exp='URG' usechipref='1' />
							</flowline>
						</command>
						<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='1' usechipref='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Transition_Fermeture' description='lorsque le portail a été arrêté durant le fonctionnement  =&gt; appuis sur la télécommande
soit sur un appuis sur l&apos;arrete d&apos;urgence. ' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Tempo l&apos;aisse le temps au switch de detection de Fermeture (FCA)
de ce liberé quand le portail et en phase de Fermeture.' textarea='36,-5,36,-5' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
						<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='2' type='2' />
						<command class_type='loop' title='Tant que FCA=1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='(FCC = 1)' start='0' >
							<flowline >
								<command class_type='interrupt' title='Interruption' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' enable='1' name='INT0' call='Urgence' >
									<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
									</settings>
								</command>
								<command class_type='interrupt' title='Interruption' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' enable='1' name='IOC0' call='Etat_BP' >
									<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
									</settings>
								</command>
								<command class_type='output' title='Commande RE clignotant ON' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='1' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='500' type='1' />
								<command class_type='output' title='Commande RE clignotant OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='0' usechipref='1' />
								<command class_type='input' title='Entrée detection portail Fermé' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='4' exp='FCC' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='500' type='1' />
								<command class_type='input' title='Entrée detection portail Overt' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='8' exp='FCA' usechipref='1' />
								<command class_type='input' title='Commande ON/OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
								<command class_type='decision' title='FCC = 0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='FCC = 0' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='Si BP activé ou detection ouverture activé =&gt; Arret portail
- coupure RE commun et RE Fermeture
' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
										<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='1' usechipref='1' />
										<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
										<command class_type='output' title='Commande RE ouverture  moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='1' usechipref='1' />
										<command class_type='calculation' title='Calcul' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='MPDO = 1' />
										</command>
										<command class_type='goto' title='Aller au Point de Jonction' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
						<command class_type='label' title='Point de Jonction' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='B' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Etat_BP' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Commande ON/OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
						<command class_type='input' title='Detection portail ouvert' comment='Switechde detection d&apos;ouiverture total
Connection au PotB 3
Variable associée FCA' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='8' exp='FCA' usechipref='1' />
						<command class_type='input' title='Detection portail ouvert' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='4' exp='FCC' usechipref='1' />
						<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='500' type='1' />
						<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='BPCOUNT = BPCOUNT + 1' />
						</command>
						<command class_type='decision' title='Si' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(FCA = 1) &amp; (FCC = 1) &amp; (RECOM = 0)' swap='0' >
							<flowline >
								<command class_type='input' title='Entrée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
								<command class_type='calculation' title='Initialisation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='CAS1 = CAS1 + 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Si' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(FCA = 1) &amp; (FCC = 1) &amp; (RECOM &gt;= 5) &amp; (MPO = 1)' swap='0' >
							<flowline >
								<command class_type='input' title='Entrée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
								<command class_type='calculation' title='Initialisation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='CAS2 = CAS2 + 1' />
									<exp exp='' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Si' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(FCA = 1) &amp; (FCC = 1) &amp; (RECOM &gt;= 5) &amp; (MPF = 1)' swap='0' >
							<flowline >
								<command class_type='input' title='Entrée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
								<command class_type='calculation' title='Initialisation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='CAS3 = CAS3 + 1' />
									<exp exp='' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Si ' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(FCA = 0) &amp; (FCC = 1) &amp; (RECOM = 0)' swap='0' >
							<flowline >
								<command class_type='input' title='Entrée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
								<command class_type='calculation' title='Initialisation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='CAS4 = CAS4 + 1' />
									<exp exp='' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Décision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(FCA = 1) &amp; (FCC = 0) &amp; (RECOM = 0)' swap='0' >
							<flowline >
								<command class_type='input' title='Entrée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
								<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='CAS5 = CAS5 + 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Décision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(FCA = 0) &amp; (FCC = 0) &amp; (RECOM = 0)' swap='0' >
							<flowline >
								<command class_type='input' title='Detection portail ouvert' comment='Switechde detection d&apos;ouiverture total
Connection au PotB 3
Variable associée FCA' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='8' exp='FCA' usechipref='1' />
								<command class_type='input' title='Detection portail ouvert' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='4' exp='FCC' usechipref='1' />
								<command class_type='loop' title='Boucle' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='(FCA = 0) &amp; (FCC = 0)' >
									<flowline >
										<command class_type='input' title='Detection portail ouvert' comment='Switechde detection d&apos;ouiverture total
Connection au PotB 3
Variable associée FCA' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='8' exp='FCA' usechipref='1' />
										<command class_type='input' title='Detection portail ouvert' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='4' exp='FCC' usechipref='1' />
										<command class_type='output' title='Commande RE clignotant ON' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='1' usechipref='1' />
										<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='1' type='2' />
										<command class_type='output' title='Commande RE clignotant OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='0' usechipref='1' />
										<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='300' type='1' />
									</flowline>
								</command>
								<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='BPCOUNT = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='1' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Stop' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='0' usechipref='1' />
						<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
						<command class_type='output' title='Commande RE fermeture moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='2' exp='0' usechipref='1' />
						<command class_type='output' title='Commande RE ouverture moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='0' usechipref='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Initialisation' description='Macro Initialisation' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='CAS1 = 0' />
							<exp exp='CAS2 = 0' />
							<exp exp='CAS3 = 0' />
							<exp exp='CAS4 = 0' />
							<exp exp='CAS5 = 0' />
							<exp exp='MPA = 0' />
							<exp exp='MPF = 0' />
							<exp exp='MPO = 0' />
							<exp exp='BPCOUNT = 0' />
							<exp exp='RECOM = 0' />
						</command>
						<command class_type='output' title='Commande RE clignotant OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='0' usechipref='1' />
						<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='0' usechipref='1' />
						<command class_type='output' title='Commande RE fermeture moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='2' exp='0' usechipref='1' />
						<command class_type='output' title='Commande RE ouverture moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='0' usechipref='1' />
						<command class_type='input' title='Entrée securité urgence' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='1' exp='URG' usechipref='1' />
						<command class_type='input' title='Entrée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
						<command class_type='input' title='Detection portail Ouvert' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='8' exp='FCA' usechipref='1' />
						<command class_type='input' title='Detection portail fermer' comment='Switch de detection fermeture  total
Connection au PotB 2
Variable associée FCC' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='4' exp='FCC' usechipref='1' />
						<command class_type='loop' title='tant que securité activée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='URG = 1' >
							<flowline >
								<command class_type='output' title='Commande RE clignotant ON' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='1' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='200' type='1' />
								<command class_type='output' title='Commande RE clignotant OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='0' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='200' type='1' />
								<command class_type='output' title='Commande RE clignotant ON' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='1' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='200' type='1' />
								<command class_type='output' title='Commande RE clignotant OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='0' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='1' type='2' />
								<command class_type='input' title='Entrée securité urgence' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='1' exp='URG' usechipref='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ouverture' description='' statediag='0' >
						<return name='Return' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='1' usechipref='1' />
						<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
						<command class_type='output' title='Commande RE ouverture moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='1' usechipref='1' />
						<command class_type='output' title='Commande RE fermeture moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='2' exp='0' usechipref='1' />
						<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='MPO = 1' />
							<exp exp='RECOM = $PORTA' />
						</command>
						<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='2' type='2' />
						<command class_type='loop' title='Tant que ' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='(FCA = 1)' start='0' >
							<flowline >
								<command class_type='interrupt' title='Interruption' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' enable='1' name='INT0' call='Securite' >
									<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
									</settings>
								</command>
								<command class_type='output' title='Commande RE clignotant ON' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='1' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='500' type='1' />
								<command class_type='output' title='Commande RE clignotant OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='0' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='500' type='1' />
								<command class_type='input' title='Entrée detection portail Ouvert' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='8' exp='FCA' usechipref='1' />
								<command class_type='input' title='Detection portail fermer' comment='Switch de detection fermeture  total
Connection au PotB 2
Variable associée FCC' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='4' exp='FCC' usechipref='1' />
								<command class_type='input' title='Entrée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='200' type='1' />
								<command class_type='decision' title='Décision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CAS2 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Stop' />
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='CAS2 = 0' />
											<exp exp='RECOM = $PORTA' />
											<exp exp='BPCOUNT = 0' />
											<exp exp='MPO = 0' />
										</command>
										<command class_type='goto' title='Aller au Point de Jonction' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='si' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='FCA = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Stop' />
								<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='RECOM = $PORTA' />
									<exp exp='BPCOUNT = 0' />
									<exp exp='MPO = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='label' title='Point de Jonction' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Fermeture' description='' statediag='0' >
						<return name='Return' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='1' usechipref='1' />
						<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
						<command class_type='output' title='Commande RE fermeture moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='2' exp='1' usechipref='1' />
						<command class_type='output' title='Commande RE ouverture moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='0' usechipref='1' />
						<command class_type='input' title='Entrée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='4' exp='FCC' usechipref='1' />
						<command class_type='input' title='Entrée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
						<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='MPF = 1' />
							<exp exp='RECOM = $PORTA' />
						</command>
						<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='2' type='2' />
						<command class_type='loop' title='Tant que ' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='(FCC = 1)' start='0' >
							<flowline >
								<command class_type='interrupt' title='Interruption' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' enable='1' name='INT0' call='Securite' >
									<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
									</settings>
								</command>
								<command class_type='output' title='Commande RE clignotant ON' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='1' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='500' type='1' />
								<command class_type='output' title='Commande RE clignotant OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='0' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='500' type='1' />
								<command class_type='input' title='Detection portail fermer' comment='Switch de detection fermeture  total
Connection au PotB 2
Variable associée FCC' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='4' exp='FCC' usechipref='1' />
								<command class_type='input' title='Entrée detection portail Ouvert' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='8' exp='FCA' usechipref='1' />
								<command class_type='input' title='Entrée' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='200' type='1' />
								<command class_type='decision' title='Décision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CAS3 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Stop' />
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='CAS3 = 0' />
											<exp exp='RECOM = $PORTA' />
											<exp exp='BPCOUNT = 0' />
											<exp exp='MPF = 0' />
										</command>
										<command class_type='goto' title='Aller au Point de Jonction' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='FCC = 0 ' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='FCC = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Stop' />
								<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='RECOM = $PORTA' />
									<exp exp='BPCOUNT = 0' />
									<exp exp='MPF = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='label' title='Point de Jonction' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Transition_Ouverture' description='' statediag='0' >
						<return name='Return' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='Tempo l&apos;aisse le temps au switch de detection de Fermeture (FCC)
de ce liberé quand le portail et en phase d&apos;Ouverture.' textarea='36,-5,36,-5' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
						<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='2' type='2' />
						<command class_type='loop' title='Tant que FCA=1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='(FCA = 1)' start='0' >
							<flowline >
								<command class_type='interrupt' title='Interruption' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' enable='1' name='INT0' call='Urgence' >
									<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
									</settings>
								</command>
								<command class_type='interrupt' title='Interruption' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' enable='1' name='IOC0' call='Etat_BP' >
									<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
									</settings>
								</command>
								<command class_type='output' title='Commande RE clignotant ON' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='1' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='500' type='1' />
								<command class_type='output' title='Commande RE clignotant OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='8' exp='0' usechipref='1' />
								<command class_type='input' title='Entrée detection portail Fermé' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='4' exp='FCC' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='500' type='1' />
								<command class_type='input' title='Entrée detection portail Overt' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='8' exp='FCA' usechipref='1' />
								<command class_type='input' title='Commande ON/OFF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='64' exp='BP' usechipref='1' />
								<command class_type='decision' title='FCA = 0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='FCA = 0' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='Si BP activé ou detection ouverture activé =&gt; Arret portail
- coupure RE commun et RE Fermeture
' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
										<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='0' usechipref='1' />
										<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
										<command class_type='output' title='Commande RE ouverture  moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='0' usechipref='1' />
										<command class_type='calculation' title='Calcul' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='MPDO = 1' />
										</command>
										<command class_type='goto' title='Aller au Point de Jonction' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Décision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(FCA = 1) &amp; (FCC = 1) &amp; (MPAO = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='MPAO = 0' />
										</command>
										<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='0' usechipref='1' />
										<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
										<command class_type='output' title='Commande RE ouverture  moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='0' usechipref='1' />
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='RECOM = $PORTA' />
										</command>
										<command class_type='calculation' title='Calcul' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='MPDO = 1' />
										</command>
										<command class_type='goto' title='Aller au Point de Jonction' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Décision' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(FCA = 1) &amp; (FCC = 1) &amp; (MPDO = 0)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='MPAO = 0' />
										</command>
										<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='0' usechipref='1' />
										<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
										<command class_type='output' title='Commande RE ouverture  moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='0' usechipref='1' />
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='RECOM = $PORTA' />
										</command>
										<command class_type='goto' title='Aller au Point de Jonction' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Point de Jonction' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' labelid='0' labelname='A' />
						<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Macro_Attente' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='Macro Principale
' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Initialisation' />
						<command class_type='loop' title='Boucle' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='1' >
							<flowline >
								<command class_type='interrupt' title='Interruption' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' enable='1' name='IOC0' call='Etat_BP' >
									<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
									</settings>
								</command>
								<command class_type='interrupt' title='Interruption' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' enable='1' name='INT0' call='Securite' >
									<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
										<option value='0' />
									</settings>
								</command>
								<command class_type='decision' title='Décision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CAS1 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='CAS1 = 0' />
											<exp exp='BPCOUNT = 0' />
											<exp exp='' />
										</command>
										<command class_type='call' title='Macro Ouverture portail' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Ouverture' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Décision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CAS2 = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Macro ouverture portail' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Stop' />
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='CAS2 = 0' />
											<exp exp='RECOM = $PORTA' />
											<exp exp='BPCOUNT = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Décision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CAS3 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='MPA = 0' />
										</command>
										<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Fermeture' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Décision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CAS4 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='CAS4 = 0' />
										</command>
										<command class_type='call' title='Appel d&apos;une Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Fermeture' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Décision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CAS5 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calcul' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='CAS5 = 0' />
											<exp exp='BPCOUNT = 0' />
											<exp exp='' />
										</command>
										<command class_type='call' title='Macro Ouverture portail' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Ouverture' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Urgence' description='Stop en cas d&apos;activation de l&apos;arret d&apos;urgence
' statediag='0' >
						<return name='Return' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='URG' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
						<command class_type='input' title='Entrée securité urgence' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='1' exp='URG' usechipref='1' />
						<command class_type='loop' title='Boucle tant que le bouton urgence et activer' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='URG = 1' >
							<flowline >
								<command class_type='output' title='Commande RE fermeture moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='2' exp='0' usechipref='1' />
								<command class_type='output' title='Commande RE ouverture  moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='1' exp='0' usechipref='1' />
								<command class_type='delay' title='Pause' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
								<command class_type='output' title='Commande RE commun moteur' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048576' mask='4' exp='0' usechipref='1' />
								<command class_type='input' title='Entrée securité urgence' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='1' exp='URG' usechipref='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='sw_toggle_mtl_pnl1' x='-20' y='30' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.3' />
					<value target='polarity' data='001' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip1' x='50' y='80' z='12.3105' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.1' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='sw_toggle_mtl_pnl2' x='60' y='30' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.2' />
					<value target='polarity' data='001' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl1' x='20' y='-20' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.6' />
					<value target='polarity' data='001' />
					<value target='debounce' data='20' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip2' x='20' y='80' z='12.3105' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.2' />
					<value target='polarity' data='001' />
					<value target='on_color' data='33023' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip3' x='-10' y='80' z='12.3105' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip4' x='-110' y='80' z='12.3105' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.3' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl2' x='-80' y='-20' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='1' vmaj='1' codename='StaticText1' x='20' y='0' z='0' xsz='9.375' ysz='6.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Start' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='1' vmaj='1' codename='StaticText2' x='-80' y='0' z='0.25' xsz='9.375' ysz='6.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Arret Urgence' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='1' vmaj='1' codename='StaticText3' x='90' y='30' z='0.25' xsz='7.8125' ysz='6.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Detection fermeture
Variable FCC' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='1' vmaj='1' codename='StaticText4' x='-50' y='30' z='0.25' xsz='7.8125' ysz='6.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Detection Ouverture
variable FCA' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='1' vmaj='1' codename='StaticText5' x='-20' y='70' z='0.25' xsz='4.6875' ysz='6.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='RE Ouverture' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='bBold' data='1' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='1' vmaj='1' codename='StaticText6' x='-110' y='70' z='0.25' xsz='4.6875' ysz='6.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='RE Signalisation' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='1' vmaj='1' codename='StaticText7' x='20' y='70' z='0.25' xsz='4.6875' ysz='6.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='RE Commun' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='bBold' data='1' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='1' vmaj='1' codename='StaticText8' x='60' y='70' z='0.25' xsz='4.6875' ysz='6.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='RE Fermeture' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='bBold' data='1' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='22.0639' ye='2.42764' ze='459.527' xt='22.0639' yt='2.42764' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='1373' dy='900' zoom='361.531' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
	</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='0' ye='0' ze='781.66' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAcgcAAHgDAAA' zoom='80' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Initialisation' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAcgcAAHgDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Etat_BP' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAcgcAAHgDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ouverture' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAcgcAAHgDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Fermeture' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAcgcAAHgDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Stop' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAcgcAAHgDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Securite' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAcgcAAHgDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
