<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' />
		<watch expr='socket_open' />
		<watch expr='old_switch_status' />
		<watch expr='input_Output' />
	</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='socket_open' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='old_switch' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='STR_upd_voltage' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='update_current' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='STR_upd_current' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TASK_excecuted' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='STR_upd_power' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='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='led_voeding' type='s16' 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='input_Output' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='old_switch_status' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='update_voltage' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='STR_upd_output' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='update_power' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</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='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Initialise' />
						<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='' />
						<command class_type='comment' title='' comment='tchecking up change on dash 
' textarea='12,0,12,0' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' />
						<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='output_switch' macro='GetState' >
							<return exp='input_Output[0]' />
						</command>
						<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='INPUT_switch1' macro='GetState' >
							<return exp='input_Output[1]' />
						</command>
						<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='INPUT_switch2' macro='GetState' >
							<return exp='input_Output[2]' />
						</command>
						<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='INPUT_switch3' macro='GetState' >
							<return exp='input_Output[3]' />
						</command>
					</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='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='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='output_input' >
										<argument exp='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='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[5] = 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='SwitchOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[5] = 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='SwitchOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='subroutine_ARRAY[5] = 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_belasting3_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[5] = 0' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='update_voeding' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='output_Uptdate
' textarea='12,0,12,0' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Send' >
							<argument exp='&quot;output?\n&quot;' />
							<argument exp='8' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Receive' >
							<argument exp='STR_upd_output' />
							<argument exp='2' />
							<argument exp='10' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='led_voeding = StringToInt$ (STR_upd_output)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='led_voeding &gt; 0' swap='0' >
							<flowline >
								<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='OnOff_voeding_indicator' macro='SwitchOn' />
							</flowline>
							<flowline >
								<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='OnOff_voeding_indicator' macro='SwitchOff' />
							</flowline>
						</command>
						<command class_type='comment' title='' comment='power_update' textarea='12,0,12,0' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' />
						<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Send' >
							<argument exp='&quot;MEASure:POWer?\n&quot;' />
							<argument exp='15' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Receive' >
							<argument exp='STR_upd_power' />
							<argument exp='16' />
							<argument exp='10' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='update_power = StringToFloat$ (STR_upd_power)' />
						</command>
						<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='powerIndicator1' macro='SetValue' >
							<argument exp='update_power' />
						</command>
					</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='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='output_input' >
										<argument exp='2' />
									</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='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='SwitchOff' />
									<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='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='output_input' >
										<argument exp='1' />
									</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='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='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='output_input' >
										<argument exp='0' />
									</command>
									<command class_type='comment' title='' comment='power_update' textarea='12,0,12,0' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' />
									<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Send' >
										<argument exp='&quot;MEASure:POWer?\n&quot;' />
										<argument exp='15' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Receive' >
										<argument exp='STR_upd_power' />
										<argument exp='16' />
										<argument exp='10' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='update_power = StringToFloat$ (STR_upd_power)' />
									</command>
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='powerIndicator1' macro='SetValue' >
										<argument exp='update_power' />
									</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='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='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='update_voeding' />
									<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] = 2' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='comment' title='' comment='voltage_Uptdate
' textarea='12,0,12,0' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' />
									<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Send' >
										<argument exp='&quot;MEASure:VOLtage?\n&quot;' />
										<argument exp='17' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Receive' >
										<argument exp='STR_upd_voltage' />
										<argument exp='16' />
										<argument exp='50' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='update_voltage = StringToFloat$ (STR_upd_voltage)' />
									</command>
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='voltageIndicator1' macro='SetValue' >
										<argument exp='update_voltage' />
									</command>
									<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='comment' title='' comment='stroom_Uptdate
' textarea='12,0,12,0' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' />
									<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Send' >
										<argument exp='&quot;MEASure:CURrent?\n&quot;' />
										<argument exp='17' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Receive' >
										<argument exp='STR_upd_current' />
										<argument exp='16' />
										<argument exp='10' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='update_current = StringToFloat$ (STR_upd_current)' />
									</command>
									<command class_type='sim' title='Component Macro' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='currentindicator1' macro='SetValue' >
										<argument exp='update_current' />
									</command>
									<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] = 0' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='output_input' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='wich_switch' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='input_Output[.wich_switch] = old_switch_status[.wich_switch]' swap='0' >
							<flowline />
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
									<exp exp='old_switch_status[.wich_switch] = input_Output[.wich_switch]' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='input_Output[.wich_switch] = true' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='.wich_switch = 0' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Send' >
													<argument exp='&quot;OUTPut 1\n&quot;' />
													<argument exp='9' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Send' >
													<argument exp='&quot;INPut 1\n&quot;' />
													<argument exp='8' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='.wich_switch = 0' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Send' >
													<argument exp='&quot;OUTPut 0\n&quot;' />
													<argument exp='9' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Send' >
													<argument exp='&quot;INPut 0\n&quot;' />
													<argument exp='8' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</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='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='SocketClose' />
						<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' />
							<exp exp='socket_open = 0' />
						</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='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='SocketOpen' >
										<return exp='socket_open' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Connect' >
										<argument exp='&quot;192.168.10.84&quot;' />
										<argument exp='8462' />
									</command>
									<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='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='SocketOpen' >
										<return exp='socket_open' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Connect' >
										<argument exp='&quot;192.168.10.83&quot;' />
										<argument exp='1003' />
									</command>
									<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='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='SocketOpen' >
										<return exp='socket_open' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Connect' >
										<argument exp='&quot;192.168.10.82&quot;' />
										<argument exp='1002' />
									</command>
									<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='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='SocketOpen' >
										<return exp='socket_open' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='NetworkComms1' macro='Connect' >
										<argument exp='&quot;192.168.10.81&quot;' />
										<argument exp='1001' />
									</command>
									<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='TASK0' >
												<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='TASK1' >
												<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='TASK2' >
												<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='TASK3' >
												<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='-1120' y='350' 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='con_voeding' />
					<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='-290' y='410' 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='con_belasting1' />
					<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='20' y='410' 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='con_belasting2' />
					<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='490' y='410' 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='con_belasting3' />
					<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='-390' y='580' 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='NetworkComms1' />
					<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='4b8ae722-573a-473d-8455-a2e6edad1f36' vmin='0' vmaj='1' codename='output_switch' x='-1110' y='310' z='0' xsz='31.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='7' >
				<resources />
				<properties />
				<values >
					<value target='nState' data='000' />
					<value target='nStyle' data='000' />
					<value target='nType' data='002' />
					<value target='sLabelOn' data='ON' />
					<value target='sLabelOff' data='OFF' />
					<value target='colBackgroundColour' data='-1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4b8ae722-573a-473d-8455-a2e6edad1f36' vmin='0' vmaj='1' codename='INPUT_switch1' x='-280' y='350' z='0' xsz='31.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='7' >
				<resources />
				<properties />
				<values >
					<value target='nState' data='000' />
					<value target='nStyle' data='000' />
					<value target='nType' data='002' />
					<value target='sLabelOn' data='ON' />
					<value target='sLabelOff' data='OFF' />
					<value target='colBackgroundColour' data='-1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4b8ae722-573a-473d-8455-a2e6edad1f36' vmin='0' vmaj='1' codename='INPUT_switch2' x='30' y='350' z='0' xsz='31.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='7' >
				<resources />
				<properties />
				<values >
					<value target='nState' data='000' />
					<value target='nStyle' data='000' />
					<value target='nType' data='002' />
					<value target='sLabelOn' data='ON' />
					<value target='sLabelOff' data='OFF' />
					<value target='colBackgroundColour' data='-1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4b8ae722-573a-473d-8455-a2e6edad1f36' vmin='0' vmaj='1' codename='INPUT_switch3' x='500' y='350' z='0' xsz='31.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='7' >
				<resources />
				<properties />
				<values >
					<value target='nState' data='000' />
					<value target='nStyle' data='000' />
					<value target='nType' data='002' />
					<value target='sLabelOn' data='ON' />
					<value target='sLabelOff' data='OFF' />
					<value target='colBackgroundColour' data='-1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4b055fcf-06dd-471b-8736-d2a089e0dbe5' vmin='0' vmaj='1' codename='OnOff_voeding_indicator' x='-1030' y='310' z='0.5' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='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='' />
					<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='1' />
					<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='OnOff_BELASTING1' x='-210' y='350' z='0.5' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='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='' />
					<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='1' />
					<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='OnOff_BELASTING2' x='110' y='350' z='0.5' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='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='' />
					<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='1' />
					<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='OnOff_BELASTING3' x='570' y='350' z='0.5' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='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='' />
					<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='1' />
					<value target='Placement' data='000' />
					<value target='Spacing' data='2.500000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f959d1c6-e0be-415b-abd6-da5b386638f3' vmin='0' vmaj='1' codename='voltageIndicator1' x='-940' y='210' z='0.75' xsz='15.625' ysz='31.25' zsz='0' 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='5' >
				<resources />
				<properties />
				<values >
					<value target='Base2dGauge::Base2dObject::dValue' data='0.005300' />
					<value target='nStyle' data='001' />
					<value target='nType' data='001' />
					<value target='nCellCount' data='006' />
					<value target='bShowDP' data='1' />
					<value target='bShowLeadingZeros' data='1' />
					<value target='bShowSign' data='1' />
					<value target='nDecimalPlaces' data='002' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f959d1c6-e0be-415b-abd6-da5b386638f3' vmin='0' vmaj='1' codename='powerIndicator1' x='-1060' y='-190' z='1' xsz='31.25' ysz='46.875' 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='5' >
				<resources />
				<properties />
				<values >
					<value target='Base2dGauge::Base2dObject::dValue' data='-0.240000' />
					<value target='nStyle' data='001' />
					<value target='nType' data='000' />
					<value target='nCellCount' data='006' />
					<value target='bShowDP' data='1' />
					<value target='bShowLeadingZeros' data='1' />
					<value target='bShowSign' data='1' />
					<value target='nDecimalPlaces' data='002' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f959d1c6-e0be-415b-abd6-da5b386638f3' vmin='0' vmaj='1' codename='currentindicator1' x='-1070' y='-340' z='0' xsz='31.25' ysz='46.875' 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='5' >
				<resources />
				<properties />
				<values >
					<value target='Base2dGauge::Base2dObject::dValue' data='-0.004900' />
					<value target='nStyle' data='001' />
					<value target='nType' data='000' />
					<value target='nCellCount' data='006' />
					<value target='bShowDP' data='1' />
					<value target='bShowLeadingZeros' data='1' />
					<value target='bShowSign' data='1' />
					<value target='nDecimalPlaces' data='002' />
				</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='1691.58' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='1398' dy='559' zoom='100' 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='55' scrollx='0' scrolly='31' 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' />
		<view type='0' name='output_input' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQYAAIQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='update_voeding' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEQYAAIQCAAA' zoom='75' scrollx='0' scrolly='308' flags='0' />
	</layout>
</document>
</root>
