<root>
<document scada='0' schema='103' license='1,87801049,WZRC1A' title='' description='' fcversion='655616' target='SIMULATION.SIM.SIM' >
	<config data='' clkspd='100000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='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='0' center='1' unitscale='0' fixedscale='0' fixedx='25' fixedy='25' fixedz='25' headcode='0' />
		<definition guid='f1e04e2a-9e3c-477d-8ad8-41918b058d9f' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' bIs3dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' showmacros='1' iconpath='' />
		<component class_type='root' codename='ComponentRoot' panelId='-1' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='3' 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='Loop_Count' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Switch_State' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</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='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='output' title='Output' disable='1' cmdcolor='65535' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='2' port='1048576' mask='6' exp='255' usechipref='1' />
						<command class_type='output' title='Output - Simulation workaround' disable='1' cmdcolor='65535' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='0' port='1048578' mask='0' exp='255' usechipref='1' />
						<command class_type='output' title='Output' cmdcolor='65535' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='2' port='1048576' mask='6' exp='0' usechipref='1' />
						<command class_type='output' title='Output - Simulation workaround' cmdcolor='65535' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' mode='0' port='1048578' mask='0' exp='0' usechipref='1' />
						<command class_type='comment' title='' comment='Set the starting condition of Ports A and C (turns all LEDs off)' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
						<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='0' port='1048578' mask='0' exp='0' usechipref='1' />
						<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='2' port='1048576' mask='6' exp='0' usechipref='1' />
						<command class_type='comment' title='' comment='Start the LCD displays' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Hello_World_Display' macro='Start' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Binary_Number_Value_LCD_Display' macro='Start' />
						<command class_type='comment' title='' comment='Set the &apos;LoopCount&apos; variable to zero.
Will be incremented in the loop to enable
incremental operations (LCD 4x20 display
and binary LED indicators above).' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
							<exp exp='Loop_Count = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='0' exp='1' >
							<flowline >
								<command class_type='comment' title='' comment='When clicking the button, the on/off state is detected
by Port A0 pin and read into the variable &apos;Switch_State.

As this is read on every loop pass, the value set in
&apos;Switch_State&apos; is acted upon by the following decision
operator.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Switch_Push_Button1' macro='ReadState' >
									<return exp='Switch_State' />
								</command>
								<command class_type='comment' title='' comment='If &apos;Switch_State&apos; = 0 (i.e. switch was Off) then each loop
will follow the &apos;NO&apos; path.

Alternatively, if &apos;Switch_State&apos; = 1 (switch was On), then
each loop will follow the &apos;YES&apos; path.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Switch_State = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='As the switch is connected to INPUT Port pin A0, and the two OUTPUT on A1 and A2, the following Output
icons do two things...
(a) Mask only the bits to be set (i.e. leaves A0 as an input)
(b) Transfer the declared input value to the port pins A1 and A2

Without the bit mask, then writing a value of &apos;2&apos; (0b010) or 4 (0b100)
to the entire port would also change the switch INPUT pin (on A0) to
an Output, which we avoid by bit-masking (and why we use it here).' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='comment' title='' comment='Print &quot;Hello World&quot; to the Adafruit display' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Hello_World_Display' macro='PrintString' >
											<argument exp='&quot;Hello World&quot;' />
										</command>
										<command class_type='comment' title='' comment='Send the number value to the port to switch A1 LED On (A1 output High)
and A2 LED Off (A2 output Low).

Note that you could also declare the value in decimal (i.e. &apos;2&apos;) or in
hexadecimal (i.e. 0x2) to do the same thing.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='2' port='1048576' mask='6' exp='0b010' usechipref='1' />
										<command class_type='comment' title='' comment='Delay for 1 second.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='1' type='2' />
										<command class_type='comment' title='' comment='Clear the Adafruit display' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Hello_World_Display' macro='Clear' />
										<command class_type='comment' title='' comment='Send the number value to the port to switch A1 LED Off (A1 output Low)
and A2 LED On (A2 output High).

Note that you could also declare the value in decimal (i.e. &apos;4&apos;) or in
hexadecimal (i.e. 0x4) to do the same thing.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='2' port='1048576' mask='6' exp='0b100' usechipref='1' />
										<command class_type='comment' title='' comment='Delay for 1 second.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='1' type='2' />
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='Clear the display and previous value.
Generally good housekeeping to ensure
that redundant characters aren&apos;t left
in the display - particularly when
going from large to small numbers.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Binary_Number_Value_LCD_Display' macro='Clear' />
										<command class_type='comment' title='' comment='The following prints the value held by
the Loop_Count variabe to the display.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Binary_Number_Value_LCD_Display' macro='PrintFormattedNumber' >
											<argument exp='Loop_Count' />
											<argument exp='0' />
										</command>
										<command class_type='comment' title='' comment='The following sets all port C bits to
the current binary value of Loop_Count.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='2' port='1048578' mask='255' exp='Loop_Count' usechipref='1' />
										<command class_type='comment' title='' comment='Arbitrary 1.5 second delay before next
loop cycle.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='1500' type='1' />
									</flowline>
								</command>
								<command class_type='comment' title='' comment='Increase the value stored in Loop_Count before
starting the next loop cycle.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
									<exp exp='Loop_Count = Loop_Count + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='ad052176-691e-4542-adb5-53f6fbea9b5b' vmin='1' vmaj='1' codename='led_plcc2' panelId='-1' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch1' panelId='-1' x='-210' y='240' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='group' codename='group1' panelId='0' x='300' y='-445.5' z='0' xsz='1.37566' ysz='1.26047' 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='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values />
				<events />
				<apis />
				<variables />
				<macros />
				<component class_type='ref' guid='a2b40602-5421-4e2f-ba82-96db1be51d69' vmin='1' vmaj='1' codename='Binary_Number_Value_LCD_Display' panelId='0' x='2' y='-34.5' z='-4.14219' xsz='29.4589' ysz='29.5472' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='Pin_Data_0' data='$PORTD.0' />
						<value target='Pin_Data_1' data='$PORTD.1' />
						<value target='Pin_Data_2' data='$PORTD.2' />
						<value target='Pin_Data_3' data='$PORTD.3' />
						<value target='Pin_RS' data='$PORTD.4' />
						<value target='Pin_E' data='$PORTD.5' />
						<value target='LCD::ctrl_lcd::Base_GLCD1::ComponentLabel' data='000' />
						<value target='LCD::ctrl_lcd::Base_GLCD1::GdiText1::sText' data='Binary_Number_Value_LCD_Display' />
						<value target='LCD::ctrl_lcd::Base_GLCD1::GdiText1::dScale' data='1.4' />
						<value target='LCD::ctrl_lcd::Base_GLCD1::foreground_colour' data='0' />
						<value target='LCD::ctrl_lcd::TextBg' data='14803425' />
						<value target='LCD::ctrl_lcd::Base_GLCD1::background_colour' data='16777215' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_Custom1' panelId='0' x='175' y='80' z='-3.14219' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='FlowcodeType' data='0' />
						<value target='Type' data='001' />
						<value target='Pin' data='$PORTC.0' />
						<value target='ConnectionLabels' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='LED_Mono_Custom1' />
						<value target='Polarity' data='001' />
						<value target='Enabled' data='1' />
						<value target='Product' data='SIMULATION' />
						<value target='AutoColourOff' data='1' />
						<value target='OnColour' data='65408' />
						<value target='OffColour' data='21802' />
						<value target='GdiShape1::colFillGradient' data='16777215' />
						<value target='GdiShape1::nGradientStyle' data='  0' />
						<value target='GdiShape1::fThickness' data='3.000000' />
						<value target='GdiShape1::colOutline' data='0' />
						<value target='GdiShape1::colOutlineGradient' data='0' />
						<value target='GdiShape1::nOutlineStyle' data='0' />
						<value target='GdiImage1::nImageIdx' data='  0' />
						<value target='GdiImage1::sFilename' data='' />
						<value target='GdiImage2::nImageIdx' data='  0' />
						<value target='GdiImage2::sFilename' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_Custom2' panelId='0' x='125' y='80' z='-2.14219' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='FlowcodeType' data='0' />
						<value target='Type' data='001' />
						<value target='Pin' data='$PORTC.1' />
						<value target='ConnectionLabels' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='LED_Mono_Custom2' />
						<value target='Polarity' data='001' />
						<value target='Enabled' data='1' />
						<value target='Product' data='SIMULATION' />
						<value target='AutoColourOff' data='1' />
						<value target='OnColour' data='65408' />
						<value target='OffColour' data='21802' />
						<value target='GdiShape1::colFillGradient' data='16777215' />
						<value target='GdiShape1::nGradientStyle' data='  0' />
						<value target='GdiShape1::fThickness' data='3.000000' />
						<value target='GdiShape1::colOutline' data='0' />
						<value target='GdiShape1::colOutlineGradient' data='0' />
						<value target='GdiShape1::nOutlineStyle' data='0' />
						<value target='GdiImage1::nImageIdx' data='  0' />
						<value target='GdiImage1::sFilename' data='' />
						<value target='GdiImage2::nImageIdx' data='  0' />
						<value target='GdiImage2::sFilename' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_Custom3' panelId='0' x='75' y='80' z='-1.14219' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='FlowcodeType' data='0' />
						<value target='Type' data='001' />
						<value target='Pin' data='$PORTC.2' />
						<value target='ConnectionLabels' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='LED_Mono_Custom3' />
						<value target='Polarity' data='001' />
						<value target='Enabled' data='1' />
						<value target='Product' data='SIMULATION' />
						<value target='AutoColourOff' data='1' />
						<value target='OnColour' data='65408' />
						<value target='OffColour' data='21802' />
						<value target='GdiShape1::colFillGradient' data='16777215' />
						<value target='GdiShape1::nGradientStyle' data='  0' />
						<value target='GdiShape1::fThickness' data='3.000000' />
						<value target='GdiShape1::colOutline' data='0' />
						<value target='GdiShape1::colOutlineGradient' data='0' />
						<value target='GdiShape1::nOutlineStyle' data='0' />
						<value target='GdiImage1::nImageIdx' data='  0' />
						<value target='GdiImage1::sFilename' data='' />
						<value target='GdiImage2::nImageIdx' data='  0' />
						<value target='GdiImage2::sFilename' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_Custom4' panelId='0' x='25' y='80' z='-0.142186' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='FlowcodeType' data='0' />
						<value target='Type' data='001' />
						<value target='Pin' data='$PORTC.3' />
						<value target='ConnectionLabels' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='LED_Mono_Custom4' />
						<value target='Polarity' data='001' />
						<value target='Enabled' data='1' />
						<value target='Product' data='SIMULATION' />
						<value target='AutoColourOff' data='1' />
						<value target='OnColour' data='65408' />
						<value target='OffColour' data='21802' />
						<value target='GdiShape1::colFillGradient' data='16777215' />
						<value target='GdiShape1::nGradientStyle' data='  0' />
						<value target='GdiShape1::fThickness' data='3.000000' />
						<value target='GdiShape1::colOutline' data='0' />
						<value target='GdiShape1::colOutlineGradient' data='0' />
						<value target='GdiShape1::nOutlineStyle' data='0' />
						<value target='GdiImage1::nImageIdx' data='  0' />
						<value target='GdiImage1::sFilename' data='' />
						<value target='GdiImage2::nImageIdx' data='  0' />
						<value target='GdiImage2::sFilename' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_Custom5' panelId='0' x='-25' y='80' z='0.857814' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='FlowcodeType' data='0' />
						<value target='Type' data='001' />
						<value target='Pin' data='$PORTC.4' />
						<value target='ConnectionLabels' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='LED_Mono_Custom5' />
						<value target='Polarity' data='001' />
						<value target='Enabled' data='1' />
						<value target='Product' data='SIMULATION' />
						<value target='AutoColourOff' data='1' />
						<value target='OnColour' data='65408' />
						<value target='OffColour' data='21802' />
						<value target='GdiShape1::colFillGradient' data='16777215' />
						<value target='GdiShape1::nGradientStyle' data='  0' />
						<value target='GdiShape1::fThickness' data='3.000000' />
						<value target='GdiShape1::colOutline' data='0' />
						<value target='GdiShape1::colOutlineGradient' data='0' />
						<value target='GdiShape1::nOutlineStyle' data='0' />
						<value target='GdiImage1::nImageIdx' data='  0' />
						<value target='GdiImage1::sFilename' data='' />
						<value target='GdiImage2::nImageIdx' data='  0' />
						<value target='GdiImage2::sFilename' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_Custom6' panelId='0' x='-75' y='80' z='1.85781' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='FlowcodeType' data='0' />
						<value target='Type' data='001' />
						<value target='Pin' data='$PORTC.5' />
						<value target='ConnectionLabels' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='LED_Mono_Custom6' />
						<value target='Polarity' data='001' />
						<value target='Enabled' data='1' />
						<value target='Product' data='SIMULATION' />
						<value target='AutoColourOff' data='1' />
						<value target='OnColour' data='65408' />
						<value target='OffColour' data='21802' />
						<value target='GdiShape1::colFillGradient' data='16777215' />
						<value target='GdiShape1::nGradientStyle' data='  0' />
						<value target='GdiShape1::fThickness' data='3.000000' />
						<value target='GdiShape1::colOutline' data='0' />
						<value target='GdiShape1::colOutlineGradient' data='0' />
						<value target='GdiShape1::nOutlineStyle' data='0' />
						<value target='GdiImage1::nImageIdx' data='  0' />
						<value target='GdiImage1::sFilename' data='' />
						<value target='GdiImage2::nImageIdx' data='  0' />
						<value target='GdiImage2::sFilename' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_Custom7' panelId='0' x='-125' y='80' z='2.85781' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='FlowcodeType' data='0' />
						<value target='Type' data='001' />
						<value target='Pin' data='$PORTC.6' />
						<value target='ConnectionLabels' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='LED_Mono_Custom7' />
						<value target='Polarity' data='001' />
						<value target='Enabled' data='1' />
						<value target='Product' data='SIMULATION' />
						<value target='AutoColourOff' data='1' />
						<value target='OnColour' data='65408' />
						<value target='OffColour' data='21802' />
						<value target='GdiShape1::colFillGradient' data='16777215' />
						<value target='GdiShape1::nGradientStyle' data='  0' />
						<value target='GdiShape1::fThickness' data='3.000000' />
						<value target='GdiShape1::colOutline' data='0' />
						<value target='GdiShape1::colOutlineGradient' data='0' />
						<value target='GdiShape1::nOutlineStyle' data='0' />
						<value target='GdiImage1::nImageIdx' data='  0' />
						<value target='GdiImage1::sFilename' data='' />
						<value target='GdiImage2::nImageIdx' data='  0' />
						<value target='GdiImage2::sFilename' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_Custom8' panelId='0' x='-175' y='80' z='3.85781' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='FlowcodeType' data='0' />
						<value target='Type' data='001' />
						<value target='Pin' data='$PORTC.7' />
						<value target='ConnectionLabels' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='LED_Mono_Custom8' />
						<value target='Polarity' data='001' />
						<value target='Enabled' data='1' />
						<value target='Product' data='SIMULATION' />
						<value target='AutoColourOff' data='1' />
						<value target='OnColour' data='65408' />
						<value target='OffColour' data='21802' />
						<value target='GdiShape1::colFillGradient' data='16777215' />
						<value target='GdiShape1::nGradientStyle' data='  0' />
						<value target='GdiShape1::fThickness' data='3.000000' />
						<value target='GdiShape1::colOutline' data='0' />
						<value target='GdiShape1::colOutlineGradient' data='0' />
						<value target='GdiShape1::nOutlineStyle' data='0' />
						<value target='GdiImage1::nImageIdx' data='  0' />
						<value target='GdiImage1::sFilename' data='' />
						<value target='GdiImage2::nImageIdx' data='  0' />
						<value target='GdiImage2::sFilename' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
			</component>
			<component class_type='group' codename='group2' panelId='0' x='265.5' y='-155' z='1' xsz='1.00286' ysz='1.00039' 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='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values />
				<events />
				<apis />
				<variables />
				<macros />
				<component class_type='ref' guid='672cb410-6026-403b-aff7-0628fe9e8140' vmin='8' vmaj='1' codename='Hello_World_Display' panelId='0' x='-15' y='-74.951' z='-1.75' xsz='32.2997' ysz='32.8865' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='d0_pin' data='$PORTB.0' />
						<value target='d1_pin' data='$PORTB.1' />
						<value target='d2_pin' data='$PORTB.2' />
						<value target='d3_pin' data='$PORTB.3' />
						<value target='rs_pin' data='$PORTB.4' />
						<value target='rw_pin' data='$PORTB.5' />
						<value target='enable_pin' data='$PORTB.6' />
						<value target='Rows' data='2' />
						<value target='Columns' data='16' />
						<value target='Font' data='Arial' />
						<value target='CursorPosX' data='0' />
						<value target='CursorPosY' data='1' />
						<value target='LCD_Base1::Rows' data='002' />
						<value target='LCD_Base1::Columns' data='016' />
						<value target='LCD_Base1::ctrl_lcd::Base_GLCD1::ComponentLabel' data='000' />
						<value target='LCD_Base1::ctrl_lcd::Base_GLCD1::GdiText1::sText' data='Hello_World_Display' />
						<value target='LCD_Base1::ctrl_lcd::Base_GLCD1::GdiText1::dScale' data='1.4' />
						<value target='LCD_Base1::ctrl_lcd::TextColour' data='16776960' />
						<value target='LCD_Base1::ctrl_lcd::TextBg' data='8388608' />
						<value target='LCD_Base1::ctrl_lcd::DisplayBg' data='4720649' />
						<value target='LCD_Base1::DelayTiming' data='100' />
						<value target='LCD_Base1::CursorPosX' data='0' />
						<value target='LCD_Base1::CursorPosY' data='0' />
						<value target='LCD_Base1::DoubleDelay' data='0' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='44f82374-a417-40d5-bd42-23a177a390d2' vmin='0' vmaj='1' codename='LEDMono1' panelId='0' x='25' y='55.1557' z='-0.749999' xsz='54.0887' ysz='49.7569' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='Pin' data='$PORTA.1' />
						<value target='Polarity' data='001' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='LEDMono1' />
						<value target='ComponentLabelPosition' data='000' />
						<value target='ComponentLabelXPostion' data='0' />
						<value target='ComponentLabelYPostion' data='0.833333' />
						<value target='LabelColour' data='7895160' />
						<value target='ShowConnectionLabel' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='PinLabelPosition' data='001' />
						<value target='PinLabelXPostion' data='0' />
						<value target='PinLabelYPostion' data='-1.041667' />
						<value target='AppDevDetected' data='0' />
						<value target='Shape' data='000' />
						<value target='Colour' data='000' />
						<value target='Style' data='001' />
						<value target='AutoOffColour' data='1' />
						<value target='OnColour' data='65280' />
						<value target='OffColour' data='10752' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='44f82374-a417-40d5-bd42-23a177a390d2' vmin='0' vmaj='1' codename='LEDMono2' panelId='0' x='135' y='55.1513' z='0.250001' xsz='54.0887' ysz='49.7569' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='Pin' data='$PORTA.2' />
						<value target='Polarity' data='001' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='LEDMono2' />
						<value target='ComponentLabelPosition' data='000' />
						<value target='ComponentLabelXPostion' data='0' />
						<value target='ComponentLabelYPostion' data='0.833333' />
						<value target='LabelColour' data='7895160' />
						<value target='ShowConnectionLabel' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='PinLabelPosition' data='001' />
						<value target='PinLabelXPostion' data='0' />
						<value target='PinLabelYPostion' data='-1.041667' />
						<value target='AppDevDetected' data='0' />
						<value target='Shape' data='000' />
						<value target='Colour' data='000' />
						<value target='Style' data='001' />
						<value target='AutoOffColour' data='1' />
						<value target='OnColour' data='65280' />
						<value target='OffColour' data='10752' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='ref' guid='e2698f3e-1168-4f25-9c50-24a74ea7e34a' vmin='0' vmaj='1' codename='Switch_Push_Button1' panelId='0' x='-139.5' y='61.673' z='1.25' xsz='37.3683' ysz='77.2178' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
					<resources />
					<properties />
					<values >
						<value target='AppDevDetected' data='0' />
						<value target='Pin' data='$PORTA.0' />
						<value target='Polarity' data='000' />
						<value target='debounce' data='5' />
						<value target='Latching' data='1' />
						<value target='ComponentLabel' data='000' />
						<value target='GdiText2::sText' data='Switch_Push_Button1' />
						<value target='ComponentLabelPosition' data='000' />
						<value target='ComponentLabelXPostion' data='0' />
						<value target='ComponentLabelYPostion' data='0.800000' />
						<value target='LabelColour' data='7895160' />
						<value target='ShowConnectionLabel' data='1' />
						<value target='ShowPinValue' data='0' />
						<value target='PinLabelPosition' data='001' />
						<value target='PinLabelXPostion' data='0' />
						<value target='PinLabelYPostion' data='-1.000000' />
						<value target='Style' data='000' />
						<value target='GdiSwitch1::nType' data='  2' />
						<value target='GdiSwitch1::sLabelOn' data='On' />
						<value target='GdiSwitch1::sLabelOff' data='Off' />
						<value target='FontType' data='Calibri' />
						<value target='GdiSwitch1::dScale' data='0.65' />
						<value target='GdiText2::dScale' data='0.65' />
						<value target='GdiText1::dScale' data='0.65' />
						<value target='GdiSwitch1::brOutline' data='71776119061217280' />
						<value target='GdiSwitch1::brOuterFillOn' data='251262225375821824' />
						<value target='GdiSwitch1::brFill' data='251262225375821824' />
						<value target='GdiSwitch1::brOutlineThumb' data='71917408452870144' />
						<value target='GdiSwitch1::brFillThumb' data='288090190566653952' />
						<value target='GdiSwitch1::brFillOn' data='648292728253186048' />
						<value target='GdiSwitch1::brLabelOn' data='0' />
						<value target='GdiSwitch1::brFillOff' data='648237171995574272' />
						<value target='GdiSwitch1::brLabelOff' data='0' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='0' ye='0' ze='2406' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='404' dy='649' zoom='20.3175' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
		<winpos ID='7005' RectRecentFloat='679,362,1329,812' RectRecentDocked='0,0,404,672' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='-76.017' ye='229.592' ze='618.478' xt='-76.017' yt='229.592' 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' />
		<winpos ID='7004' RectRecentFloat='412,367,1313,1080' RectRecentDocked='366,577,1577,1013' RecentFrameAlignment='32768' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='2' >
		<panel2d_0 id='0' name='2D Panel' >
			<winpos ID='1171' RectRecentFloat='1177,106,1794,819' RectRecentDocked='366,594,1577,1013' RecentFrameAlignment='32768' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119075691740' snaptogrid='1' />
		</panel2d_0>
		<panel2d_1 id='1' name='NewPanel' >
			<winpos ID='1172' RectRecentFloat='634,614,1284,1064' RectRecentDocked='972,141,1577,1013' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119075691740' snaptogrid='1' />
		</panel2d_1>
	</panels2d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAtgQAAGMDAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
