<root>
<document scada='1' panel2DSCADA='6' panel3DSCADA='0' panelPropsSCADA='0' panelConsoleSCADA='0' panelDataRecorderSCADA='0' playbackSCADA='0' ShouldAutoStartSCADA='0' ShouldLockCameraSCADA='0' ShouldBundleSCADA='1' SCADAProgramTitle='' schema='102' license='1,29859555,2HJHA5' title='App Developer Project' description='' fcversion='590080' target='SCADA.SCADA.GENERIC' >
	<config data='' clkspd='100000000' simspd='0' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='subroutine_ARRAY' />
		<watch expr='TASK_excecuted' />
	</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='4095' />
			<data name='ClockPin' value='0' />
			<data name='DataPort' value='4095' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='2' />
			<data name='CalculatedCommsDelay' value='2' />
			<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='2a23bb16-eb92-4763-b038-479b6b8c6de1' 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='1' 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='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TASK_excecuted' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='subroutine_to_excucte' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='task_to_exectued' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='time_counter' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SUB_routine_excecuted' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='subroutine_ARRAY' type='u8' description='keeps_track_of_wich_task_and_wich_subroutine' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='8' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='initialisatie' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='interrupt' title='puls every 90ms' cmdcolor='286184' cmdcolor_sec='3575807' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' enable='1' name='TMR1' call='TIMER' >
							<settings timer='1' prescale='64' postscale='-1' rollover='65535' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='6' />
								<option value='65535' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='subroutine_ARRAY[0] = 1' />
							<exp exp='subroutine_ARRAY[2] = 2' />
							<exp exp='subroutine_ARRAY[4] = 3' />
							<exp exp='subroutine_ARRAY[6] = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='STATIC_TASK' description='task dat should be executed at the begining of every task (critical)' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TASK3' description='' statediag='0' >
						<return name='Return' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='SUB_routine_excecuted = subroutine_ARRAY[5]' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.Return = 3' />
						</command>
						<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_voeding_led' macro='SwitchOff' />
						<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting1_led' macro='SwitchOff' />
						<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting2_led' macro='SwitchOff' />
						<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting3_led' macro='SwitchOn' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TASK2' description='' statediag='0' >
						<return name='Return' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='SUB_routine_excecuted = subroutine_ARRAY[3]' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.Return = 2' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='286184' cmdcolor_sec='3575807' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='SUB_routine_excecuted' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_voeding_led' macro='SwitchOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[3] = 2' />
										<exp exp='' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting1_led' macro='SwitchOn' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[3] = 3' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting2_led' macro='SwitchOn' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[3] = 3' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting1_led' macro='SwitchOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[3] = 0' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='TASK1' description='' statediag='0' >
						<return name='Return' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='SUB_routine_excecuted = subroutine_ARRAY[1]' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.Return = 1' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='286184' cmdcolor_sec='3575807' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='SUB_routine_excecuted' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_voeding_led' macro='SwitchOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[1] = 1' />
										<exp exp='' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting1_led' macro='SwitchOn' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[1] = 2' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting2_led' macro='SwitchOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[1] = 3' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting1_led' macro='SwitchOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[1] = 0' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='TASK0' description='' statediag='0' >
						<return name='Return' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='SUB_routine_excecuted = subroutine_ARRAY[7]' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.Return = 0' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='286184' cmdcolor_sec='3575807' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='SUB_routine_excecuted' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_voeding_led' macro='SwitchOn' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[7] = 1' />
										<exp exp='' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting3_led' macro='SwitchOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[7] = 2' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting2_led' macro='SwitchOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[7] = 3' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='con_belasting1_led' macro='SwitchOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[7] = 0' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='connection' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='tijd' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TIMER' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='Wich_task_excecute_Now' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Wich_subroutine_excute_Now' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='keeps track of TIME' textarea='12,0,12,0' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' />
						<command class_type='calculation' title='time_counter' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='time_counter = time_counter + 1' />
						</command>
						<command class_type='comment' title='' comment='keeps track of executed subroutine' textarea='12,0,12,0' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='286184' cmdcolor_sec='3575807' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='TASK_excecuted' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='' />
										<exp exp='subroutine_ARRAY[1] = SUB_routine_excecuted' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='' />
										<exp exp='subroutine_ARRAY[3] = SUB_routine_excecuted' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='' />
										<exp exp='subroutine_ARRAY[5] = SUB_routine_excecuted' />
									</command>
								</flowline>
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='' />
										<exp exp='subroutine_ARRAY[7] = SUB_routine_excecuted' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='comment' title='' comment='every time_counter = 90ms
we want to perform a different task every 300ms
and we have 4 tasks' textarea='12,0,12,0' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='286184' cmdcolor_sec='3575807' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='time_counter' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='STATIC_TASK' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Wich_task_excecute_Now = 1' />
										<exp exp='' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='task_to_exectued = .Wich_task_excecute_Now' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='STATIC_TASK' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Wich_task_excecute_Now = 2' />
										<exp exp='' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='task_to_exectued = .Wich_task_excecute_Now' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='STATIC_TASK' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='' />
										<exp exp='.Wich_task_excecute_Now = 3' />
										<exp exp='' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='task_to_exectued = .Wich_task_excecute_Now' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='STATIC_TASK' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='time_counter = 0' />
										<exp exp='.Wich_task_excecute_Now = 0' />
										<exp exp='' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='task_to_exectued = .Wich_task_excecute_Now' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='update' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='connectie_status' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
					</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='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='initialisatie' />
						<command class_type='loop' title='Loop' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='286184' cmdcolor_sec='3575807' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='task_to_exectued' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='TASK1' >
												<return exp='TASK_excecuted' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='TASK2' >
												<return exp='TASK_excecuted' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='TASK3' >
												<return exp='TASK_excecuted' />
											</command>
										</flowline>
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='TASK0' >
												<return exp='TASK_excecuted' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='4b055fcf-06dd-471b-8736-d2a089e0dbe5' vmin='0' vmaj='1' codename='con_voeding_led' x='-410' y='320' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Type' data='000' />
					<value target='Style' data='000' />
					<value target='OnColour' data='65280' />
					<value target='AutoOffColour' data='1' />
					<value target='OffColour' data='10752' />
					<value target='ShowLabel' data='1' />
					<value target='StaticText1::sText' data='taak1' />
					<value target='StaticText1::colTextColour' data='0' />
					<value target='StaticText1::colBackgroundColour' data='-1' />
					<value target='StaticText1::fntFamily' data='Calibri' />
					<value target='StaticText1::dScale' data='0.800000' />
					<value target='StaticText1::bBold' data='0' />
					<value target='Placement' data='000' />
					<value target='Spacing' data='2.500000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4b055fcf-06dd-471b-8736-d2a089e0dbe5' vmin='0' vmaj='1' codename='con_belasting1_led' x='-410' y='270' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Type' data='000' />
					<value target='Style' data='000' />
					<value target='OnColour' data='255' />
					<value target='AutoOffColour' data='1' />
					<value target='OffColour' data='42' />
					<value target='ShowLabel' data='1' />
					<value target='StaticText1::sText' data='taak2' />
					<value target='StaticText1::colTextColour' data='0' />
					<value target='StaticText1::colBackgroundColour' data='-1' />
					<value target='StaticText1::fntFamily' data='Calibri' />
					<value target='StaticText1::dScale' data='0.800000' />
					<value target='StaticText1::bBold' data='0' />
					<value target='Placement' data='000' />
					<value target='Spacing' data='2.500000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4b055fcf-06dd-471b-8736-d2a089e0dbe5' vmin='0' vmaj='1' codename='con_belasting2_led' x='-410' y='220' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Type' data='000' />
					<value target='Style' data='000' />
					<value target='OnColour' data='16711680' />
					<value target='AutoOffColour' data='1' />
					<value target='OffColour' data='2752512' />
					<value target='ShowLabel' data='1' />
					<value target='StaticText1::sText' data='taak3' />
					<value target='StaticText1::colTextColour' data='0' />
					<value target='StaticText1::colBackgroundColour' data='-1' />
					<value target='StaticText1::fntFamily' data='Calibri' />
					<value target='StaticText1::dScale' data='0.800000' />
					<value target='StaticText1::bBold' data='0' />
					<value target='Placement' data='000' />
					<value target='Spacing' data='2.500000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4b055fcf-06dd-471b-8736-d2a089e0dbe5' vmin='0' vmaj='1' codename='con_belasting3_led' x='-410' y='170' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Type' data='000' />
					<value target='Style' data='000' />
					<value target='OnColour' data='65535' />
					<value target='AutoOffColour' data='1' />
					<value target='OffColour' data='10794' />
					<value target='ShowLabel' data='1' />
					<value target='StaticText1::sText' data='taak4' />
					<value target='StaticText1::colTextColour' data='0' />
					<value target='StaticText1::colBackgroundColour' data='-1' />
					<value target='StaticText1::fntFamily' data='Calibri' />
					<value target='StaticText1::dScale' data='0.800000' />
					<value target='StaticText1::bBold' data='0' />
					<value target='Placement' data='000' />
					<value target='Spacing' data='2.500000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='91049bf5-2436-42dc-947a-c30c86463d98' vmin='5' vmaj='1' codename='NetworkComms1' x='410' y='270' 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='Component' data='' />
					<value target='RemapIndex' data='0' />
					<value target='Status' data='Simulation Only' />
					<value target='Sim' data='0' />
					<value target='SimControl' data='000' />
					<value target='NetworkInterface' data='000' />
					<value target='IPAddress' data='192.168.10.206' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='7' vmaj='1' codename='lut1' x='0' y='0' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='StorageType' data='000' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='1, 2, 3, 4, 5' />
					<value target='floatfixed' data='' />
					<value target='NumVals' data='5' />
					<value target='fixedexp' data='0' />
					<value target='EmbedIntoC' data='1' />
				</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='0' ye='0' ze='1816.09' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='1398' dy='807' zoom='93.1441' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='16777215' />
	</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='300' 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---------------------wUAAAAYAAAAEQYAAIQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TIMER' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQYAAIQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='STATIC_TASK' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQYAAIQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='initialisatie' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQYAAIQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TASK0' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQYAAIQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TASK1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQYAAIQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TASK2' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQYAAIQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TASK3' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQYAAIQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
