<root>
<document scada='0' schema='102' license='1,74110274,6ZJ7NK' title='' description='' fcversion='589824' target='PIC.18F.18F67K40' >
	<config data='!0,fffa!10,ffff!20,ffff!30,ffff!40,ffff!50,ffff%0,2%4,7%8,1%b,1%d,1%10,1%11,1%15,1%16,3%18,3%1a,1%1b,1%1c,1%1d,1%1f,1%20,1f%25,3%28,7%2b,7%30,1%31,1%32,1%33,1%38,1%39,1%3a,1%3c,1%3d,1%40,1%41,1%50,1%51,1%52,1%53,1%59,1' clkspd='22118400' simspd='5' usewdt='1' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='R_Byte' />
		<watch expr='R_Byte_Str' />
		<watch expr='$PORTB' />
		<watch expr='Int0' />
		<watch expr='RX_485' />
	</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='8' />
			<data name='CalculatedCommsDelay' value='8' />
			<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='21f09b46-73a9-4ba5-a55d-960d88ed1f16' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties >
				<property name='Operation' target='nStrobe::operation' typeid='16' hidden='0' locked='0' info='Latching = Click to turn on, click again to turn off.
Momentary = Click to turn on, release to turn off.' filter='001Latching
000Momentary' />
			</properties>
			<values >
				<value target='nStrobe::operation' data='000' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Recive_Char_1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_1_4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RX_485' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Buffer_1_OK' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Recive_Char_0' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_1_3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Heart_Cnt' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_1_2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_1_1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_2_5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_2_4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_2_3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_2_2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Buffer_2_OK' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_2_1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_3' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_0' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_3_5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ID_Model' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Buffer_0_OK' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_0_5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_3_4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_0_4' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_3_3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_0_3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_3_2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ID_485' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_0_2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_3_1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='coil' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_0_1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Buffer_3_OK' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Recive_Char_3' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Recive_Char_2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_1_5' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='RS232_0_Recive_Char' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Collect the incoming data byte that triggered the interrupt' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='RS232_0' macro='ReceiveChar' >
							<return exp='Recive_Char_0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_0' macro='PutByte' >
							<argument exp='Recive_Char_0' />
						</command>
						<command class_type='decision' title='Read_End' textarea='168,48,168,48' cmdcolor='1336547' cmdcolor_sec='1336547' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' exp='Recive_Char_0 = 0x0A' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_0' macro='LookForValue' >
									<return exp='Buffer_0_OK' />
									<argument exp='&quot;kg&quot;' />
									<argument exp='2' />
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='1336547' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' exp='Buffer_0_OK' swap='0' >
									<flowline >
										<command class_type='call' title='Collect a data byte from the buffer' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_0' macro='GetIndexedByte' >
											<return exp='Data_0_1' />
											<argument exp='8' />
										</command>
										<command class_type='call' title='Collect a data byte from the buffer' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_0' macro='GetIndexedByte' >
											<return exp='Data_0_2' />
											<argument exp='9' />
										</command>
										<command class_type='call' title='Collect a data byte from the buffer' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_0' macro='GetIndexedByte' >
											<return exp='Data_0_3' />
											<argument exp='10' />
										</command>
										<command class_type='call' title='Collect a data byte from the buffer' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_0' macro='GetIndexedByte' >
											<return exp='Data_0_4' />
											<argument exp='12' />
										</command>
										<command class_type='call' title='Collect a data byte from the buffer' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_0' macro='GetIndexedByte' >
											<return exp='Data_0_5' />
											<argument exp='13' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='4198239' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='Data_0 = ((Data_0_1 - 0x30) * 10000) + ((Data_0_2 - 0x30) * 1000) + ((Data_0_3 - 0x30) * 100) + ((Data_0_4 - 0x30) * 10) + (Data_0_5 - 0x30)' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_0' macro='FlushBuffer' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='RS232_1_Recive_Char' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Collect the incoming data byte that triggered the interrupt' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='RS232_1' macro='ReceiveChar' >
							<return exp='Recive_Char_1' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_1' macro='PutByte' >
							<argument exp='Recive_Char_1' />
						</command>
						<command class_type='decision' title='Read_End' textarea='168,48,168,48' disable='1' cmdcolor='1336547' cmdcolor_sec='1336547' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' exp='Recive_Char_1 = 0x0A' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_1' macro='LookForValue' >
									<return exp='Buffer_1_OK' />
									<argument exp='&quot;kg&quot;' />
									<argument exp='2' />
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='Decision' disable='1' cmdcolor='1336547' cmdcolor_sec='1336547' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' exp='Buffer_1_OK' swap='0' >
									<flowline >
										<command class_type='call' title='Collect a data byte from the buffer' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_1' macro='GetIndexedByte' >
											<return exp='Data_1_1' />
											<argument exp='8' />
										</command>
										<command class_type='call' title='Collect a data byte from the buffer' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_1' macro='GetIndexedByte' >
											<return exp='Data_1_2' />
											<argument exp='9' />
										</command>
										<command class_type='call' title='Collect a data byte from the buffer' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_1' macro='GetIndexedByte' >
											<return exp='Data_1_3' />
											<argument exp='10' />
										</command>
										<command class_type='call' title='Collect a data byte from the buffer' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_1' macro='GetIndexedByte' >
											<return exp='Data_1_4' />
											<argument exp='12' />
										</command>
										<command class_type='call' title='Collect a data byte from the buffer' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_1' macro='GetIndexedByte' >
											<return exp='Data_1_5' />
											<argument exp='13' />
										</command>
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4198239' cmdcolor_sec='4198239' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
											<exp exp='Data_1 = ((Data_1_1 - 0x30) * 10000) + ((Data_1_2 - 0x30) * 1000) + ((Data_1_3 - 0x30) * 100) + ((Data_1_4 - 0x30) * 10) + (Data_1_5 - 0x30)' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_1' macro='FlushBuffer' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Modbus' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='ModbusSlave1' macro='SetHoldingRegister' >
							<argument exp='0' />
							<argument exp='Data_0' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='ModbusSlave1' macro='SetHoldingRegister' >
							<argument exp='1' />
							<argument exp='Data_1' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='ModbusSlave1' macro='SetHoldingRegister' >
							<argument exp='2' />
							<argument exp='Data_2' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='ModbusSlave1' macro='SetHoldingRegister' >
							<argument exp='3' />
							<argument exp='Data_3' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='RS232_3_Recive_Char' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='RS232_Monitor' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendNumber' >
							<argument exp='31' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendNumber' >
							<argument exp='ID_Model' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='0xD' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='0xA' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendString' >
							<argument exp='&quot;Port 1 : &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendNumber' >
							<argument exp='Data_0' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='0xD' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='0xA' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendString' >
							<argument exp='&quot;Port 2 : &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendNumber' >
							<argument exp='Data_1' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='0xD' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='0xA' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendString' >
							<argument exp='&quot;Port 3 : &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendNumber' >
							<argument exp='Data_2' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='0xD' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='0xA' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendString' >
							<argument exp='&quot;Port 4 : &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendNumber' >
							<argument exp='Data_3' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='0xD' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='SendChar' >
							<argument exp='0xA' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='RS232_2_Recive_Char' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Heart' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='1336547' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' exp='Heart_Cnt &gt;= 2' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Heart' macro='TurnOn' />
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Heart' macro='TurnOff' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='4198239' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' >
							<exp exp='Heart_Cnt = Heart_Cnt + 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Initialize' 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='4198239' cmdcolor_sec='4198239' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' mode='1' port='1048579' mask='32' exp='1' usechipref='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='RS232_0' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='RS232_1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='RS232_2' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='RS232_3' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='Monitor' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='ModbusSlave1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='ID_SW_485' macro='ReadAll' >
							<return exp='ID_485' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='ModbusSlave1' macro='SetSlaveAddress' >
							<argument exp='ID_485' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_0' macro='FlushBuffer' />
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_1' macro='FlushBuffer' />
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_2' macro='FlushBuffer' />
						<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='CircularBuffer_3' macro='FlushBuffer' />
						<command class_type='interrupt' title='Interrupt' cmdcolor='4198239' cmdcolor_sec='4198239' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' enable='1' name='TMR8' call='Heart' >
							<settings timer='1' prescale='64' postscale='1' rollover='256' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='6' />
								<option value='0' />
								<option value='256' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='4198239' cmdcolor_sec='4198239' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' enable='1' name='RXINT0' call='RS232_0_Recive_Char' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='4198239' cmdcolor_sec='4198239' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' enable='1' name='RXINT1' call='RS232_1_Recive_Char' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='nBusy' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='call' title='Call Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='Initialize' />
						<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='1336547' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='RS232_Monitor' />
								<command class_type='call' title='Call Component Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' component='ModbusSlave1' macro='CheckForIncoming' >
									<return exp='RX_485' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='1336547' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' exp='RX_485' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='6048783' cmdcolor_sec='6048783' cmdcolor_txt='16777215' cmdgradient='0' cmdopacity='1' macro='Modbus' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='RS232_1' x='30' y='150' z='4.87757' xsz='40' ysz='20' zsz='0.95625' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='004' />
					<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='000' />
					<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='002' />
					<value target='cal_uart::TXAlt' data='1' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTC.7' />
					<value target='cal_uart::InputPins' data='023' />
					<value target='cal_uart::RXAlt' data='1' />
					<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::ConsoleFormat' data='000' />
					<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='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='RS232_0' x='-30' y='150' z='3.06' xsz='40' ysz='20' zsz='0.95625' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='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='000' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTC.0' />
					<value target='cal_uart::OutputPins' data='001' />
					<value target='cal_uart::TXAlt' data='1' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTC.1' />
					<value target='cal_uart::InputPins' data='017' />
					<value target='cal_uart::RXAlt' data='1' />
					<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::ConsoleFormat' data='000' />
					<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='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='Monitor' x='-30' y='50' z='0' xsz='40' ysz='20' zsz='0.95625' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='003' />
					<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='000' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTE.4' />
					<value target='cal_uart::OutputPins' data='013' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTE.3' />
					<value target='cal_uart::InputPins' data='035' />
					<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::ConsoleFormat' data='000' />
					<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='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='Heart' x='-60' y='200' z='1.015' xsz='2.20183' ysz='2.0339' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTG.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='CircularBuffer_0' x='-30' y='-20' z='10.515' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='40' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
					<value target='Console' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='CircularBuffer_1' x='40' y='-20' z='10.515' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='40' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
					<value target='Console' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='687f8ad4-59f2-4079-bb84-7713dcb57a13' vmin='0' vmaj='2' codename='ModbusSlave1' x='30' y='50' z='1.775' xsz='40' ysz='20' zsz='0.95625' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='003' />
					<value target='cal_uart::TX' data='$PORTE.4' />
					<value target='cal_uart::OutputPins' data='013' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::RX' data='$PORTE.3' />
					<value target='cal_uart::InputPins' data='035' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::BAUD_LIST' data='004' />
					<value target='cal_uart::BAUD' data='9600' />
					<value target='BusType' data='001' />
					<value target='DDRP' data='$PORTE.2' />
					<value target='ReadDDRState' data='000' />
					<value target='Timeout' data='40' />
					<value target='UARTidx' data='003' />
					<value target='FrameType' data='000' />
					<value target='ReceiveBufferSize' data='50' />
					<value target='AddressBytes' data='1' />
					<value target='SlaveAddress' data='1' />
					<value target='ReplyDelay' data='10' />
					<value target='BaudByteDelay' data='1040' />
					<value target='Stats' data='1' />
					<value target='label' data='Modbus Slave' />
					<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' />
					<value target='StartAdrCoil' data='0' />
					<value target='NumAdrCoil' data='0' />
					<value target='StartAdrDI' data='0' />
					<value target='NumAdrDI' data='0' />
					<value target='StartAdrAI' data='0' />
					<value target='NumAdrAI' data='0' />
					<value target='StartAdrReg' data='0' />
					<value target='NumAdrReg' data='5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4ac72986-ad7d-49ce-afe5-9128831debc9' vmin='0' vmaj='2' codename='ID_SW_485' x='10' y='200' 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='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='count' data='007' />
					<value target='port' data='011' />
					<value target='PortByte' data='$PORTD_H' />
					<value target='pin0' data='$PORTC.2' />
					<value target='pin1' data='$PORTC.3' />
					<value target='pin2' data='$PORTC.4' />
					<value target='pin3' data='$PORTB.5' />
					<value target='pin4' data='$PORTE.5' />
					<value target='pin5' data='$PORTE.6' />
					<value target='pin6' data='$PORTE.7' />
					<value target='pin7' data='$PORTB0.7' />
					<value target='polarity' data='000' />
					<value target='debounce' data='0' />
					<value target='operation' data='001' />
					<value target='align' data='000' />
					<value target='spacing' data='12.000000' />
					<value target='reverse' data='0' />
					<value target='show_labels' data='004' />
					<value target='label_color' data='16777215' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label1' x='30' y='30' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='ModBus' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label2' x='30' y='130' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='UART_1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label3' x='-30' y='130' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='UART_0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label4' x='-30' y='30' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Monitor' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label5' x='-60' y='180' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Heart' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label6' x='20' y='180' z='3.5' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='ID' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label7' x='-30' y='-40' z='0.25' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='CircularBuffer_0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label8' x='40' y='-40' z='0.5' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='CircularBuffer_1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='RS232_2' x='-32.0428' y='100' z='4.87757' xsz='40' ysz='20' zsz='0.956248' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='002' />
					<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='000' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTG.1' />
					<value target='cal_uart::OutputPins' data='001' />
					<value target='cal_uart::TXAlt' data='1' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTG.2' />
					<value target='cal_uart::InputPins' data='050' />
					<value target='cal_uart::RXAlt' data='1' />
					<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::ConsoleFormat' data='000' />
					<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='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='RS232_3' x='27.9572' y='100' z='3.06' xsz='40' ysz='20' zsz='0.956248' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='005' />
					<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='000' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTE.0' />
					<value target='cal_uart::OutputPins' data='001' />
					<value target='cal_uart::TXAlt' data='1' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTE.1' />
					<value target='cal_uart::InputPins' data='033' />
					<value target='cal_uart::RXAlt' data='1' />
					<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::ConsoleFormat' data='000' />
					<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='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label9' x='30' y='80' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='UART_3' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label10' x='-30' y='80' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='UART_2' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='CircularBuffer_2' x='-32.6795' y='-60' z='10.515' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='40' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
					<value target='Console' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='CircularBuffer_3' x='37.3205' y='-60' z='10.515' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='40' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
					<value target='Console' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label11' x='-30' y='-80' z='0.25' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='CircularBuffer_2' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label12' x='40' y='-80' z='0.5' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='CircularBuffer_3' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='2105930' img='' style='0' />
		<camera xe='-2.78841' ye='78.557' ze='449.755' xt='-2.78841' yt='78.557' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='650' dy='1368' zoom='174.873' fix_topleft='0' />
		<page x='1000' y='1000' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='-320.968' ye='-403.234' ze='2237.67' xt='-320.968' yt='-403.234' 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='Initialize' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QkAAH0FAAA' zoom='32' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RS232_3_Recive_Char' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QkAAH0FAAA' zoom='38' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RS232_2_Recive_Char' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QkAAH0FAAA' zoom='38' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RS232_0_Recive_Char' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QkAAH0FAAA' zoom='34' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QkAAH0FAAA' zoom='22' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RS232_1_Recive_Char' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QkAAH0FAAA' zoom='34' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Modbus' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QkAAH0FAAA' zoom='45' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RS232_Monitor' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QkAAH0FAAA' zoom='50' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
