<root>
<document scada='0' schema='102' license='1,celebriums,U00Q0U' title='' description='' fcversion='524800' target='PIC.18F.18F25K22' >
	<config data='!0,f100!10,fcff!20,6e00!30,bf!40,ffff!50,ffff!60,ffff%8,1%c,1%d,1%e,1%f,1%10,1%11,3%13,3%18,0%1a,f%28,0%29,1%2a,1%2b,1%2c,0%2d,1%2f,0%30,1%32,1%36,0%37,1%40,1%41,1%42,1%43,1%4e,1%4f,1%50,1%51,1%52,1%53,1%5d,1%5e,1%5f,1%60,1%61,1%62,1%63,1%6e,1' clkspd='16000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='STR_UART_SEND' />
	</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='11' />
			<data name='CalculatedCommsDelay' value='11' />
			<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='51034460-bae1-45d8-a742-b59c20eb0400' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<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' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='STR_UART_SEND' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='512' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RX_STRING' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IP_3' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PAGE_VAR' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IP_2' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CNT' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='retval_W5500' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IN_Web_Server' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IP_1' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Int_Temp' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Send_Switch' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Length' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IN_Create_WebServer_Socket' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Web_Port' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SEND_TCP_IP_PORT' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='120' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TCP_SET_Destination' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Display2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Display1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='flag_5s' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RX_TCP_STRING' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='120' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='retval' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='flag_Measure' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='STR_Compare' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IDX' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IN_RX_READ_HEADER' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cntr_B' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='incoming' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cntr_A' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IN_RX_DATA_AVAILABLE' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DISPLAY_VAR' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='NetworksRetval' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='H_Int_Hum' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TCP_Socket' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Port' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Int_Hum' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TCP_Connect' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='H_Int_Temp' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Sense' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringB' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='n' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringA' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SocketStatus' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IN_RX_MATCH_MY_IP' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Channel' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cntr_X' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Bos_pin' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IN_RX_DATA_SIZE' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IP_4' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RX_BYTE' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Other_INIT' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='input' title='Input' cmdcolor='4664832' cmdcolor_sec='4470784' mode='1' port='1048576' mask='8' exp='Bos_pin' />
						<command class_type='input' title='Input' cmdcolor='4664832' cmdcolor_sec='4470784' mode='1' port='1048576' mask='16' exp='Bos_pin' />
						<command class_type='input' title='Input' cmdcolor='4664832' cmdcolor_sec='4470784' mode='1' port='1048576' mask='32' exp='Bos_pin' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART1' macro='Initialise' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='STR_UART_SEND = &quot;WEBSERVER V1.0\r\n&quot;' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SEND_UART' />
						<command class_type='native' title='C Code' disable='1' ccode='OSCCON =  0b01111111;   //&apos;set 16MHz internal osc frequency
OSCCON2 = 0b10000100;  // &apos;select PLL as osc source
OSCTUNE = 0b11000000;  // &apos;run at calibrated frequency, PLL is enabled' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Start' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TCP_SOCKET_CREATE' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='1' labelname='B' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='CreateTCPSocket' >
							<return exp='TCP_Socket' />
							<argument exp='Channel' />
							<argument exp='Web_Port' />
						</command>
						<command class_type='decision' title='Server Socket opened ok?' cmdcolor='12615680' cmdcolor_sec='15376912' exp='TCP_Socket = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintString' >
									<argument exp='&quot;TCP Socket Run&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintString' >
									<argument exp='&quot;TCP Socket Fail &quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintNumber' >
									<argument exp='TCP_Socket' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
								<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='1' labelname='' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Display2' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintString' >
							<argument exp='&quot;                &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintString' >
							<argument exp='Display2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SEND_HTML' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Send the HTML header info' textarea='12,0,487,300' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Macro' textarea='36,0,511,300' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='TxStart' >
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Send_Switch = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='Send_Switch &lt; 14' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Send_Switch = Send_Switch + 1' />
								</command>
								<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Send_Switch' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;HTTP/1.0 200 OK\r\n&quot;' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;Content-type: text/html\r\n&quot;' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;\r\n&quot;' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='comment' title='' comment='Start of the HTML code' textarea='12,0,487,300' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;html&gt; \r\n&quot; + &quot;&lt;head&gt;\r\n&quot; + &quot;&lt;title&gt;TCP/IP SENSOR IOT&lt;/title&gt;\r\n&quot; + &quot;&lt;/head&gt;\r\n&quot;' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;body bgcolor=#a9c9c9 text=#443837&gt;\r\n&quot;' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
												<exp exp='//0000ff' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;center&gt;&lt;h1&gt;&lt;span style=\&quot;color:white\&quot;&gt;SNS03 IOT SENSOR&lt;/span&gt;&lt;/h1&gt;\r\n&quot;' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;p&gt;How are you today? I&apos;m very well&lt;/p&gt;\r\n&quot;' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;/body&gt; \r\n&quot;' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = StringA + &quot;&lt;/span&gt;&lt;/p&gt;&lt;/h3&gt; \r\n&quot;' />
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;h3&gt;&lt;p&gt;&lt;span style=\&quot;color:red\&quot;&gt;&quot; + SEND_TCP_IP_PORT' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = StringB + &quot;&lt;/span&gt;&lt;/p&gt;&lt;/h3&gt; \r\n&quot;' />
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;h3&gt;&lt;p&gt;&lt;span style=\&quot;color:blue\&quot;&gt;&quot; + SEND_TCP_IP_PORT' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
											<command class_type='comment' title='' comment='Bizim Sıcxaklık Değerleri' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
										</flowline>
									</case>
								</command>
								<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Send_Switch' >
									<case >
										<flowline />
									</case>
									<case exp='11' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;center&gt;&lt;h1&gt;&lt;hr&gt;&lt;a href=\&quot;\&quot;http://www.sadiksume.com\&quot;&gt; www.sadiksume.com&lt;a&gt;&lt;/h1&gt;\r\n&quot;' />
												<exp exp='' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='12' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;center&gt;&lt;p&gt;&lt;br/&gt;Improvements by SADIK SUME&lt;br/&gt;&lt;/p&gt; \r\n&quot;' />
												<exp exp='' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='13' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='DISPLAY_VAR = &apos;1&apos; + PAGE_VAR' />
												<exp exp='PAGE_VAR = PAGE_VAR + 1' />
											</command>
											<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='12615680' cmdcolor_sec='15376912' exp='PAGE_VAR &gt; 65000' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='PAGE_VAR = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = tostring$ (DISPLAY_VAR)' />
												<exp exp='SEND_TCP_IP_PORT = SEND_TCP_IP_PORT + &quot;&lt;/p&gt; \r\n&quot;' />
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;p&gt;Page request: &quot; + SEND_TCP_IP_PORT' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='14' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SEND_TCP_IP_PORT = &quot;&lt;hr&gt;&lt;/html&gt;  \r\n&quot;' />
												<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
											</command>
										</flowline>
									</case>
									<case exp='15' >
										<flowline />
									</case>
									<case exp='16' >
										<flowline />
									</case>
									<case exp='17' >
										<flowline />
									</case>
									<case exp='18' >
										<flowline />
									</case>
									<case exp='19' >
										<flowline />
									</case>
									<case exp='20' >
										<flowline />
									</case>
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SEND_HTML_CODE' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Send_Switch = 0' />
						</command>
						<command class_type='call' title='Call Macro' textarea='40,-10,515,290' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='TxEnd' >
							<argument exp='0' />
						</command>
						<command class_type='comment' title='' comment='End of the HTML' textarea='12,0,487,300' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='comment' title='' comment='&lt;body bgcolor=&quot;#33FFFF&quot;&gt;
     
&lt;center&gt;&lt;p&gt;&lt;h1&gt;SNS03 IOT Sensor&lt;/h1&gt;&lt;/p&gt;
&lt;br/&gt;Improvements by SADIK SUME&lt;br/&gt;
&lt;h1&gt;&lt;hr&gt; &lt;a href=\&quot;http://www.sadiksume.com\&quot;&gt;www.sadiksume.com&lt;a&gt;&lt;/h1&gt;

&lt;center&gt;&lt;p&gt;&lt;h1&gt;%1&lt;/h1&gt;&lt;/p&gt;
&lt;center&gt;&lt;p&gt;&lt;h1&gt;%2&lt;/h1&gt;&lt;/p&gt;

' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Display1' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintString' >
							<argument exp='Display1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='TMR' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='cntr_A = cntr_A + 1' />
						</command>
						<command class_type='decision' title='' cmdcolor='12615680' cmdcolor_sec='15376912' exp='cntr_A &gt;= 50' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='cntr_A = 0' />
									<exp exp='flag_5s = 1' />
									<exp exp='flag_Measure = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='INIT' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintString' >
							<argument exp='&quot;W5500 Init &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintNumber' >
							<argument exp='retval' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='500' type='1' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintString' >
							<argument exp='&quot;Network Init &quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='500' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SEND_UART' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART1' macro='SendString' >
							<argument exp='STR_UART_SEND' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SEND_HTML_CODE' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='TxSendString' >
							<argument exp='0' />
							<argument exp='SEND_TCP_IP_PORT' />
							<argument exp='Length' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='LCD_READY' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintString' >
							<argument exp='&quot;Ready           &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintString' >
							<argument exp='&quot;               &quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SHOW_GET' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Reset the data so we can print it out
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='RxDataAvailable' >
							<return exp='RETVAL' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='STR_UART_SEND = tostring$ (retval)' />
							<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SEND_UART' />
						<command class_type='call' title='Call Macro' textarea='36,0,511,300' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Clear' />
						<command class_type='call' title='Call Macro' textarea='36,0,511,300' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='CNT = 0' />
						</command>
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='n = 0' />
						</command>
						<command class_type='loop' title='Loop' textarea='36,0,511,300' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='CNT &lt; 10' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='RxReadByte' >
									<return exp='RX_BYTE' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' textarea='36,0,511,300' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD1' macro='PrintAscii' >
									<argument exp='RX_BYTE' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='STR_UART_SEND[n] = RX_BYTE' />
									<exp exp='' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='n = n + 1' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SEND_UART' />
								<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='CNT = CNT + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='RxReadString' >
							<return exp='STR_UART_SEND' />
							<argument exp='0' />
							<argument exp='20' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SEND_UART' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='STR_UART_SEND = &quot;\r\n&quot;' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SEND_UART' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='retval' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Channel = 0 //TCP IP Channel' />
							<exp exp='IDX = 0' />
							<exp exp='IP_1 = 192' />
							<exp exp='IP_2 = 168' />
							<exp exp='IP_3 = 1' />
							<exp exp='IP_4 = 9' />
							<exp exp='Port = 85' />
							<exp exp='Web_Port = 80' />
						</command>
						<command class_type='native' title='C Code' ccode='OSCCON =   0x74;   //&apos;set 16MHz internal osc frequency
OSCCON2 = 0x84;  // &apos;select PLL as osc source
OSCTUNE= 0x40;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Other_INIT' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SEND_UART' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_READY' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='Initialise' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='PAGE_VAR = 0' />
							<exp exp='DISPLAY_VAR = &apos;1&apos;' />
						</command>
						<command class_type='comment' title='' comment='Create a TCP connection on 
Socket 80 - the default HTML port.

Listen in passive mode' textarea='123,84,123,84' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='CreateTCPSocket' >
							<argument exp='0' />
							<argument exp='80' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='TCPListen' >
							<argument exp='0' />
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='TMR0' call='TMR' >
							<settings timer='1' prescale='256' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='0' />
								<option value='8' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='RxDataAvailable' >
									<return exp='RETVAL' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Do we have incoming data' textarea='36,0,511,300' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RETVAL &lt;&gt; 0' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='Check for a GET request
If it is send the HTML

Note: We only have one page set up.
This default page gets sent to all requests.' textarea='12,0,487,300' cmdcolor='10944511' cmdcolor_sec='11465458' />
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='RxMatch_4_Bytes' >
											<return exp='RETVAL' />
											<argument exp='0' />
											<argument exp='&apos;G&apos;' />
											<argument exp='&apos;E&apos;' />
											<argument exp='&apos;T&apos;' />
											<argument exp='&apos; &apos;' />
										</command>
										<command class_type='decision' title='Is it a GET command?' textarea='36,0,511,300' cmdcolor='12615680' cmdcolor_sec='15376912' totalfolded='1' exp='RETVAL &lt;&gt; 0' swap='0' >
											<flowline folded='1' totalfolded='1' >
												<command class_type='call' title='Call Macro' textarea='36,0,511,300' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_HTML' />
												<command class_type='comment' title='' comment='Close the connection to end
the HTML transmission' textarea='12,0,487,300' cmdcolor='10944511' cmdcolor_sec='11465458' hiddenFromFold='1' />
												<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='TCPClose' >
													<argument exp='0' />
												</command>
												<command class_type='comment' title='' comment='Restart in passive mode 
so that the next page can be sent' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' hiddenFromFold='1' />
												<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='CreateTCPSocket' >
													<argument exp='0' />
													<argument exp='80' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='TCPListen' >
													<argument exp='0' />
												</command>
											</flowline>
											<flowline folded='1' totalfolded='1' />
										</command>
										<command class_type='comment' title='' comment='Echo the request on the LCD
We can then see the GET command ' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
										<command class_type='call' title='Display Requests on LCD' textarea='36,0,511,300' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SHOW_GET' />
										<command class_type='call' title='Reset Buffer for next message' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='RxFlushData' >
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' totalfolded='1' exp='flag_Measure = 1' swap='0' >
									<flowline folded='1' totalfolded='1' >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='flag_Measure = 0' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='DHT11' macro='SampleSensor' >
											<return exp='Sense' />
										</command>
										<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' hiddenFromFold='1' exp='Sense' >
											<case >
												<flowline />
											</case>
											<case exp='0' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='DHT11' macro='GetTempWhole' >
														<return exp='Int_Temp' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='DHT11' macro='GetHumidityWhole' >
														<return exp='Int_Hum' />
													</command>
													<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' hiddenFromFold='1' exp='H_Int_Temp = Int_Temp' swap='0' >
														<flowline />
														<flowline >
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='Cursor' >
																<argument exp='0' />
																<argument exp='0' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='PrintString' >
																<argument exp='&quot;                &quot;' />
															</command>
														</flowline>
													</command>
													<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' hiddenFromFold='1' exp='H_Int_Hum = Int_Hum' swap='0' >
														<flowline />
														<flowline >
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='Cursor' >
																<argument exp='0' />
																<argument exp='1' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='PrintString' >
																<argument exp='&quot;                &quot;' />
															</command>
														</flowline>
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
														<exp exp='H_Int_Temp = Int_Temp' />
														<exp exp='H_Int_Hum = Int_Hum' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
														<exp exp='Display1 = ToString$ (Int_Temp)' />
														<exp exp='Display1 = Display1 + &quot;°C&quot;' />
														<exp exp='Display2 = ToString$ (Int_Hum)' />
														<exp exp='Display2 = Display2 + &quot; rH&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='PrintString' >
														<argument exp='Display1' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='PrintString' >
														<argument exp='Display2' />
													</command>
												</flowline>
											</case>
											<case exp='1' >
												<flowline >
													<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
														<exp exp='Display1 = &quot;No REPLY        &quot;' />
														<exp exp='//Display2 = &quot;                &quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='PrintString' >
														<argument exp='Display1' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='PrintString' >
														<argument exp='Display2' />
													</command>
												</flowline>
											</case>
											<case exp='2' >
												<flowline >
													<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
														<exp exp='Display1 = &quot;No CRC          &quot;' />
														<exp exp='///Display2 = &quot;                &quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='PrintString' >
														<argument exp='Display1' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='PrintString' >
														<argument exp='Display2' />
													</command>
												</flowline>
											</case>
										</command>
										<command class_type='calculation' title='Calculation' textmode='2' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='StringA = &quot;TEMPERATURE = &quot;' />
											<exp exp='StringA = StringA + Display1' />
											<exp exp='//StringA = &quot;&lt;center&gt;&lt;p&gt;&lt;h1&gt;&quot; + StringA' />
											<exp exp='//StringA = StringA + &quot;&lt;/h1&gt;&lt;/p&gt;&quot;' />
										</command>
										<command class_type='calculation' title='Calculation' textmode='2' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='StringB = &quot;HUMIDTY = &quot;' />
											<exp exp='StringB = StringB + Display2' />
										</command>
									</flowline>
									<flowline folded='1' totalfolded='1' />
								</command>
								<command class_type='delay' title='Delay' textarea='36,0,511,300' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
							</flowline>
						</command>
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Channel = 0 //TCP IP Channel' />
							<exp exp='IDX = 0' />
							<exp exp='IP_1 = 192' />
							<exp exp='IP_2 = 168' />
							<exp exp='IP_3 = 1' />
							<exp exp='IP_4 = 9' />
							<exp exp='Port = 85' />
							<exp exp='Web_Port = 80' />
						</command>
						<command class_type='native' title='C Code' disable='1' ccode='OSCCON =   0x74;   //&apos;set 16MHz internal osc frequency
OSCCON2 = 0x84;  // &apos;select PLL as osc source
OSCTUNE= 0x40;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='call' title='' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Other_INIT' />
						<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='INIT' />
						<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='SEND_UART' />
						<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='TCP_SOCKET_CREATE' />
						<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_READY' />
						<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='TMR0' call='TMR' >
							<settings timer='1' prescale='256' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='0' />
								<option value='8' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='SetDestination' >
							<argument exp='Channel' />
							<argument exp='IP_1' />
							<argument exp='IP_2' />
							<argument exp='IP_3' />
							<argument exp='IP_4' />
							<argument exp='Port' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='TCPConnect' >
							<argument exp='Channel' />
							<argument exp='IP_1' />
							<argument exp='IP_2' />
							<argument exp='IP_3' />
							<argument exp='IP_4' />
							<argument exp='Port' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='CreateTCPSocket' >
							<argument exp='Channel' />
							<argument exp='Port' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='TCP_IP_W5500' macro='CreateIPSocket' >
							<argument exp='Channel' />
							<argument exp='1' />
							<argument exp='1' />
						</command>
						<command class_type='loop' title='Loop' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline folded='1' >
								<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='TCPListen' >
									<argument exp='Channel' />
								</command>
								<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='RxFlushData' >
									<argument exp='Channel' />
								</command>
								<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='RxDataAvailable' >
									<return exp='IN_RX_DATA_AVAILABLE' />
									<argument exp='Channel' />
								</command>
								<command class_type='decision' title='DONT WORKING' cmdcolor='12615680' cmdcolor_sec='15376912' totalfolded='1' hiddenFromFold='1' exp='IN_RX_DATA_AVAILABLE &gt; 0' swap='0' >
									<flowline folded='1' totalfolded='1' >
										<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='STR_UART_SEND = tostring$ (IN_RX_DATA_AVAILABLE)' />
											<exp exp='STR_UART_SEND = &quot;IN_RX_DATA_AVAILABLE=&quot; + STR_UART_SEND' />
											<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
										</command>
										<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
									</flowline>
									<flowline folded='1' totalfolded='1' />
								</command>
								<command class_type='call' title='' break='1' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='RxDataSize' >
									<return exp='IN_RX_DATA_SIZE' />
									<argument exp='Channel' />
								</command>
								<command class_type='decision' title='DONT WORKING' break='1' cmdcolor='12615680' cmdcolor_sec='15376912' totalfolded='1' hiddenFromFold='1' exp='IN_RX_DATA_SIZE &gt; 0' swap='0' >
									<flowline folded='1' totalfolded='1' >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='RxReadString' >
											<return exp='RX_TCP_STRING' />
											<argument exp='Channel' />
											<argument exp='Length' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='STR_Compare = Mid$ (RX_TCP_STRING,0,3)' />
											<exp exp='' />
											<exp exp='//GET / HTTP/1.1&lt;CR&gt;&lt;LF&gt;' />
											<exp exp='//: 192.168.1.25&lt;CR&gt;&lt;LF&gt;' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' hiddenFromFold='1' exp='Compare$ (&quot;GET&quot;,STR_Compare,1) == 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
													<exp exp='STR_UART_SEND = RX_TCP_STRING' />
													<exp exp='//STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
												</command>
												<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='STR_UART_SEND = RX_TCP_STRING' />
											<exp exp='//STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
										</command>
										<command class_type='call' title='' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
										<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='STR_UART_SEND = tostring$ (IN_RX_DATA_SIZE)' />
											<exp exp='STR_UART_SEND = &quot;IN_RX_DATA_SIZE=&quot; + STR_UART_SEND' />
											<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
										</command>
										<command class_type='call' title='' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
									</flowline>
									<flowline folded='1' totalfolded='1' />
								</command>
								<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='RxMatchMyIP' >
									<return exp='IN_RX_MATCH_MY_IP' />
									<argument exp='Channel' />
								</command>
								<command class_type='decision' title='DONT WORKING' cmdcolor='12615680' cmdcolor_sec='15376912' totalfolded='1' hiddenFromFold='1' exp='IN_RX_MATCH_MY_IP &gt; 0' swap='0' >
									<flowline folded='1' totalfolded='1' >
										<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='STR_UART_SEND = tostring$ (IN_RX_MATCH_MY_IP)' />
											<exp exp='STR_UART_SEND = &quot;IN_RX_MATCH_MY_IP=&quot; + STR_UART_SEND' />
											<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
										</command>
										<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
									</flowline>
									<flowline folded='1' totalfolded='1' />
								</command>
								<command class_type='call' title='' break='1' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='RxReadHeader' >
									<return exp='IN_RX_READ_HEADER' />
									<argument exp='Channel' />
									<argument exp='IDX' />
								</command>
								<command class_type='decision' title='DONT WORKING' break='1' cmdcolor='12615680' cmdcolor_sec='15376912' totalfolded='1' hiddenFromFold='1' exp='IN_RX_READ_HEADER &gt; 0' swap='0' >
									<flowline folded='1' totalfolded='1' >
										<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='STR_UART_SEND = tostring$ (IN_RX_READ_HEADER)' />
											<exp exp='STR_UART_SEND = &quot;IN_RX_READ_HEADER=&quot; + STR_UART_SEND' />
											<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
										</command>
										<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
										<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='STR_UART_SEND = tostring$ (IDX)' />
											<exp exp='STR_UART_SEND = &quot;IDX=&quot; + STR_UART_SEND' />
											<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
										</command>
										<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
									</flowline>
									<flowline folded='1' totalfolded='1' />
								</command>
								<command class_type='decision' title='WORKING' cmdcolor='12615680' cmdcolor_sec='15376912' totalfolded='1' hiddenFromFold='1' exp='flag_5s = 1' swap='0' >
									<flowline folded='1' totalfolded='1' >
										<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='flag_5s = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='TCP_SOCKET_CREATE' />
										<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' hiddenFromFold='1' labelid='0' labelname='A' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='SetDestination' >
											<return exp='TCP_SET_Destination' />
											<argument exp='Channel' />
											<argument exp='IP_1' />
											<argument exp='IP_2' />
											<argument exp='IP_3' />
											<argument exp='IP_4' />
											<argument exp='Port' />
										</command>
										<command class_type='decision' title='' cmdcolor='12615680' cmdcolor_sec='15376912' hiddenFromFold='1' exp='TCP_SET_Destination &gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='Cursor' >
													<argument exp='0' />
													<argument exp='1' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='PrintString' >
													<argument exp='&quot;TCP Socket Dest&quot;' />
												</command>
												<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
													<exp exp='STR_UART_SEND = &quot;TCP SOCKET DESTINATION\r\n&quot;' />
												</command>
												<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
												<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' hiddenFromFold='1' exp='100' type='1' />
												<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' hiddenFromFold='1' labelid='0' labelname='' />
											</flowline>
										</command>
										<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' hiddenFromFold='1' labelid='2' labelname='C' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='TCPConnect' >
											<return exp='TCP_Connect' />
											<argument exp='Channel' />
											<argument exp='IP_1' />
											<argument exp='IP_2' />
											<argument exp='IP_3' />
											<argument exp='IP_4' />
											<argument exp='Port' />
										</command>
										<command class_type='decision' title='' cmdcolor='12615680' cmdcolor_sec='15376912' hiddenFromFold='1' exp='TCP_Connect &gt; 0' swap='0' >
											<flowline />
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='Cursor' >
													<argument exp='0' />
													<argument exp='1' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='LCD1' macro='PrintString' >
													<argument exp='&quot;TCP Connection  &quot;' />
												</command>
												<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
													<exp exp='STR_UART_SEND = &quot;TCP Connect IP &quot;' />
													<exp exp='STR_UART_SEND = STR_UART_SEND + tostring$ (IP_1)' />
													<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;.&quot;' />
													<exp exp='STR_UART_SEND = STR_UART_SEND + tostring$ (IP_2)' />
													<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;.&quot;' />
													<exp exp='STR_UART_SEND = STR_UART_SEND + tostring$ (IP_3)' />
													<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;.&quot;' />
													<exp exp='STR_UART_SEND = STR_UART_SEND + tostring$ (IP_4)' />
													<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;:&quot;' />
													<exp exp='STR_UART_SEND = STR_UART_SEND + tostring$ (Port)' />
													<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
												</command>
												<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
												<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' hiddenFromFold='1' exp='100' type='1' />
												<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' hiddenFromFold='1' labelid='2' labelname='' />
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='cntr_X = cntr_X + 1' />
											<exp exp='Display2 = tostring$ (cntr_X)' />
											<exp exp='Display2 = &quot;Time=&quot; + Display2' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='Display2' />
										<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
											<exp exp='SEND_TCP_IP_PORT = &quot;TEST DATA&quot; + Display2' />
											<exp exp='Length = Length$ (SEND_TCP_IP_PORT)' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='TxStart' >
											<argument exp='Channel' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='TxSendString' >
											<argument exp='Channel' />
											<argument exp='SEND_TCP_IP_PORT' />
											<argument exp='Length' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' hiddenFromFold='1' exp='50' type='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' component='TCP_IP_W5500' macro='TxEnd' >
											<argument exp='Channel' />
										</command>
									</flowline>
									<flowline folded='1' totalfolded='1' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='DONT WORKING' break='1' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' totalfolded='1' exp='IN_RX_READ_HEADER &gt; 0' swap='0' >
							<flowline folded='1' totalfolded='1' >
								<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
									<exp exp='STR_UART_SEND = tostring$ (IN_RX_READ_HEADER)' />
									<exp exp='STR_UART_SEND = &quot;IN_RX_READ_HEADER=&quot; + STR_UART_SEND' />
									<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
								<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' hiddenFromFold='1' >
									<exp exp='STR_UART_SEND = tostring$ (IDX)' />
									<exp exp='STR_UART_SEND = &quot;IDX=&quot; + STR_UART_SEND' />
									<exp exp='STR_UART_SEND = STR_UART_SEND + &quot;\r\n&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' hiddenFromFold='1' macro='SEND_UART' />
							</flowline>
							<flowline folded='1' totalfolded='1' />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='f8c9b53d-0bf2-469f-8f0a-34caa93749ba' vmin='1' vmaj='1' codename='LCD1' x='-15.9296' y='60' z='2.8427' 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' >
				<resources />
				<properties />
				<values >
					<value target='Pin_Data_0' data='$PORTC.0' />
					<value target='Pin_Data_1' data='$PORTC.1' />
					<value target='Pin_Data_2' data='$PORTC.2' />
					<value target='Pin_Data_3' data='$PORTC.3' />
					<value target='Pin_RS' data='$PORTA.0' />
					<value target='Pin_E' data='$PORTA.1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='UART1' x='-20' y='110' z='3.54' xsz='64' ysz='32' zsz='1.53' 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' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='004' />
					<value target='cal_uart::BAUD' data='9600' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTC.6' />
					<value target='cal_uart::OutputPins' data='007' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTC.7' />
					<value target='cal_uart::InputPins' data='013' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='0' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e18e39d3-2e05-4a15-b8aa-e8ada16cd3ef' vmin='0' vmaj='1' codename='TCP_IP_W5500' x='-14.1671' y='6' z='1.00378' xsz='64' ysz='32' zsz='4' 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' >
				<resources />
				<properties />
				<values >
					<value target='ORDINAL' data='000' />
					<value target='cal_spi::CHANNEL' data='002' />
					<value target='cal_spi::PR_SCALE' data='016' />
					<value target='cal_spi::MOSI' data='$PORTB.3' />
					<value target='cal_spi::MOSIPins' data='012' />
					<value target='cal_spi::MISO' data='$PORTB.2' />
					<value target='cal_spi::MISOPins' data='020' />
					<value target='cal_spi::CLK' data='$PORTB.1' />
					<value target='cal_spi::CLKPins' data='014' />
					<value target='cal_spi::SS' data='$PORTB.4' />
					<value target='gateway0' data='192' />
					<value target='gateway1' data='168' />
					<value target='gateway2' data='1' />
					<value target='gateway3' data='1' />
					<value target='subnet0' data='255' />
					<value target='subnet1' data='255' />
					<value target='subnet2' data='255' />
					<value target='subnet3' data='0' />
					<value target='ip0' data='192' />
					<value target='ip1' data='168' />
					<value target='ip2' data='1' />
					<value target='ip3' data='11' />
					<value target='mac0' data='1' />
					<value target='mac1' data='2' />
					<value target='mac2' data='3' />
					<value target='mac3' data='4' />
					<value target='mac4' data='5' />
					<value target='mac5' data='6' />
					<value target='MIAC_SYSTEM' data='0' />
					<value target='label' data='TCP/IP W5500' />
					<value target='SimType' data='000' />
					<value target='cal_spi::ScopeTraces' data='1' />
					<value target='cal_spi::ConsoleData' data='1' />
					<value target='cal_spi::Injector' data='000' />
					<value target='TCP_Base::interface' data='000' />
					<value target='RemapIndex' data='3' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='40785d28-4fe3-4aec-a5d9-ba30b2d58760' vmin='1' vmaj='1' codename='DHT11' x='39.3197' y='70' 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' >
				<resources />
				<properties />
				<values >
					<value target='dpin' data='$PORTB.0' />
					<value target='csum' data='1' />
					<value target='ClockAdjust' data='000' />
					<value target='Nop30us' data='80.000000' />
					<value target='DeviceFamily' data='PIC' />
					<value target='InstPerMicro' data='4.000000' />
				</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='-28.2676' ye='-0.147982' ze='310.425' xt='-28.2676' yt='-0.147982' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='4' />
		<table rgb='7884836' 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='SEND_HTML' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAcAYAAH4DAAA' zoom='45' scrollx='97' scrolly='119' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAcAYAAH4DAAA' zoom='65' scrollx='0' scrolly='800' flags='0' />
		<view type='0' name='SHOW_GET' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAcAYAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
