SanlienDataRecoder_01.tsproj.bak 11.4 KB
<?xml version="1.0"?>
<TcSmProject xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.beckhoff.com/schemas/2012/07/TcSmProject" TcSmVersion="1.0" TcVersion="3.1.4024.32">
	<DataTypes>
		<DataType>
			<Name GUID="{54DFBF50-0BB7-5AE1-413A-36EC6687B38C}" Namespace="Tc2_Utilities" AutoDeleteType="true">T_ULARGE_INTEGER</Name>
			<Comment><![CDATA[ 64 bit unsigned integer ]]></Comment>
			<BitSize>64</BitSize>
			<SubItem>
				<Name>dwLowPart</Name>
				<Type GUID="{18071995-0000-0000-0000-000000000007}">DWORD</Type>
				<Comment><![CDATA[ Lower double word ]]></Comment>
				<BitSize>32</BitSize>
				<BitOffs>0</BitOffs>
			</SubItem>
			<SubItem>
				<Name>dwHighPart</Name>
				<Type GUID="{18071995-0000-0000-0000-000000000007}">DWORD</Type>
				<Comment><![CDATA[ Higher double word ]]></Comment>
				<BitSize>32</BitSize>
				<BitOffs>32</BitOffs>
			</SubItem>
		</DataType>
		<DataType>
			<Name GUID="{FE3AFA27-B833-D53B-2A2E-2D18C446CCAB}" Namespace="Tc2_EtherCAT" AutoDeleteType="true">T_DCTIME</Name>
			<Comment><![CDATA[{attribute 'obsolete' := 'T_DCTIME is obsolete, use T_DCTIME64 instead!'}]]></Comment>
			<BitSize>64</BitSize>
			<BaseType GUID="{54DFBF50-0BB7-5AE1-413A-36EC6687B38C}" Namespace="Tc2_Utilities">T_ULARGE_INTEGER</BaseType>
		</DataType>
		<DataType>
			<Name GUID="{1A682E65-51AC-E2C1-9CA8-D1EC8CC43C9C}" AutoDeleteType="true">stAcquisitionData</Name>
			<BitSize>256</BitSize>
			<SubItem>
				<Name>nDcTimeStamp</Name>
				<Type GUID="{FE3AFA27-B833-D53B-2A2E-2D18C446CCAB}" Namespace="Tc2_EtherCAT">T_DCTIME</Type>
				<Comment><![CDATA[ Data Acquisition DC TimeStamp  ]]></Comment>
				<BitSize>64</BitSize>
				<BitOffs>0</BitOffs>
			</SubItem>
			<SubItem>
				<Name>AIN0</Name>
				<Type GUID="{18071995-0000-0000-0000-000000000009}">DINT</Type>
				<Comment><![CDATA[ From IO Terminal ]]></Comment>
				<BitSize>32</BitSize>
				<BitOffs>64</BitOffs>
			</SubItem>
			<SubItem>
				<Name>AIN1</Name>
				<Type GUID="{18071995-0000-0000-0000-000000000009}">DINT</Type>
				<BitSize>32</BitSize>
				<BitOffs>96</BitOffs>
			</SubItem>
			<SubItem>
				<Name>AIN2</Name>
				<Type GUID="{18071995-0000-0000-0000-000000000009}">DINT</Type>
				<BitSize>32</BitSize>
				<BitOffs>128</BitOffs>
			</SubItem>
			<SubItem>
				<Name>AIN3</Name>
				<Type GUID="{18071995-0000-0000-0000-000000000009}">DINT</Type>
				<BitSize>32</BitSize>
				<BitOffs>160</BitOffs>
			</SubItem>
			<SubItem>
				<Name>ADC_nSample</Name>
				<Type GUID="{18071995-0000-0000-0000-000000000005}">UINT</Type>
				<BitSize>16</BitSize>
				<BitOffs>192</BitOffs>
			</SubItem>
			<SubItem>
				<Name>ECAT_IRQ_Counter</Name>
				<Type GUID="{18071995-0000-0000-0000-000000000005}">UINT</Type>
				<BitSize>16</BitSize>
				<BitOffs>208</BitOffs>
			</SubItem>
			<SubItem>
				<Name>ECAT_SYNC0_Counter</Name>
				<Type GUID="{18071995-0000-0000-0000-000000000005}">UINT</Type>
				<BitSize>16</BitSize>
				<BitOffs>224</BitOffs>
			</SubItem>
			<SubItem>
				<Name>ECAT_SYNC1_Counter</Name>
				<Type GUID="{18071995-0000-0000-0000-000000000005}">UINT</Type>
				<BitSize>16</BitSize>
				<BitOffs>240</BitOffs>
			</SubItem>
		</DataType>
		<DataType>
			<Name GUID="{FAC16B7C-B994-0C57-0869-A6A8A923ABB1}" IecBaseType="true" AutoDeleteType="true">ARRAY [1..1] OF stAcquisitionData</Name>
			<Comment><![CDATA[ Acquisition data from IO ]]></Comment>
			<BitSize>256</BitSize>
			<BaseType GUID="{1A682E65-51AC-E2C1-9CA8-D1EC8CC43C9C}">stAcquisitionData</BaseType>
			<ArrayInfo>
				<LBound>1</LBound>
				<Elements>1</Elements>
			</ArrayInfo>
		</DataType>
	</DataTypes>
	<ImageDatas>
		<ImageData Id="1000">424dd8020000000000003600000028000000100000000e0000000100180000000000a2020000120b0000120b000000000000000000001306e31306e3190ce42b1fe62b1fe61306e31f13e5190ce42519e51306e31306e3190ce42f24e7190ce41306e31306e31306e31306e35f56ec645ced645ced4137e91f13e5473de95f57ec3227e71306e3473de95a51ec271be61306e31306e31409ca524cc68e8ad74f48c1615cc82218d03e36bf716bce746fce453dc01307ce3931ba7d78d27671d1150cb21409ca1712801b1d1d1b1d1d1b1d1d1b1d1d120b891b1d1d1b1d1d1b1d1d1b1d1d120b891b1d1d1b1d1d1b1d1d1b1d1d1712801712807f8080d4d5d5d4d5d5383939120b89545656d4d5d5d4d5d5626464130c89292b2bd4d5d5d4d5d56264641915801712804647471b1d1daaaaaad4d5d5130e82383939292b2b717272d4d5d5151183d4d5d57f80801b1d1d7172721e1c81191580464747d4d5d5d4d5d51b1d1d19158a292b2bd4d5d5d4d5d5292b2b1b1b8ad4d5d56264641b1d1d1b1d1d2427821e1d81d4d5d54647476264643839391e208bd4d5d57f8080464747545656242a8bd4d5d59b9c9c292b2baaaaaa2d3683252882464747d4d5d5d4d5d51b1d1d272d85292b2bd4d5d5d4d5d5292b2b2e37861b1d1dd4d5d5d4d5d5464747394484323bb52324812122822426822526824554c0323883292b822a2d83353c84424cbf3238843940842e32834853865d6ebb5262eb3e43e83334e74147e94349e9535feb4d56ea5662eb484dea545deb636fed545aea5a63ec6671ed8ca0f290a5f2748aef6b7bee5d68ec6874ed788aef8397f17684ef7986ef8c9ff2818ff1818ef08e9df18a97f18791f19ba9f3b0c0f691a4f291a2f28390f192a1f29cacf3a3b3f498a6f3a4b3f4aebdf5b0bef59ea8f3a3adf4bbc7f7c4d1f8cad7f8ced9f9b4c4f6b8c8f6acb8f59aa3f3b6c1f6c5d2f8c2cdf8ccd7f9d2ddf9d5e0fad2daf9d5dcf9dfe7fbe2e9fbe5ebfbe8eefb0000</ImageData>
	</ImageDatas>
	<Project ProjectGUID="{4C34795D-0EC9-4123-99D7-7B8B5560FAB9}" TargetNetId="169.254.150.176.1.1" ShowHideConfigurations="#x106">
		<System>
			<Settings>
				<Cpu RtLimit="90"/>
				<IoIdleTask Priority="6" CycleTime="20000"/>
			</Settings>
			<Tasks>
				<Task Id="3" Priority="1" CycleTime="10000" AmsPort="350" AdtTasks="true">
					<Name>PlcTask</Name>
				</Task>
				<Task Id="4" Priority="2" CycleTime="100000" AmsPort="351" AdtTasks="true">
					<Name>PlcTaskSlow</Name>
				</Task>
			</Tasks>
		</System>
		<Plc>
			<Project GUID="{2C40D534-774A-48D2-9EE4-FAAFEE51F49C}" Name="Untitled1" PrjFilePath="Untitled1\Untitled1.plcproj" TmcFilePath="Untitled1\Untitled1.tmc" ReloadTmc="true" AmsPort="851" FileArchiveSettings="#x000e" SymbolicMapping="true">
				<Instance Id="#x08502000" TcSmClass="TComPlcObjDef" KeepUnrestoredLinks="2" TmcPath="Untitled1\Untitled1.tmc" TmcHash="{11C07B00-B78F-1F1C-2712-7FF5D9CE98C6}">
					<Name>Untitled1 Instance</Name>
					<CLSID ClassFactory="TcPlc30">{08500001-0000-0000-F000-000000000064}</CLSID>
					<Vars VarGrpType="1">
						<Name>PLC Inputs</Name>
						<Var>
							<Name>GVL.AcquisitionData</Name>
							<Comment><![CDATA[ Acquisition data from IO ]]></Comment>
							<Type GUID="{FAC16B7C-B994-0C57-0869-A6A8A923ABB1}">ARRAY [1..1] OF stAcquisitionData</Type>
							<SubVar>
								<Name>GVL.AcquisitionData[1]^nDcTimeStamp^dwLowPart</Name>
								<Comment><![CDATA[ Lower double word ]]></Comment>
							</SubVar>
							<SubVar>
								<Name>GVL.AcquisitionData[1]^nDcTimeStamp^dwHighPart</Name>
								<Comment><![CDATA[ Higher double word ]]></Comment>
							</SubVar>
						</Var>
					</Vars>
					<Contexts>
						<Context>
							<Id NeedCalleeCall="true">0</Id>
							<Name>PLC</Name>
							<ManualConfig>
								<OTCID>#x02010030</OTCID>
							</ManualConfig>
							<Priority>1</Priority>
							<CycleTime>1000000</CycleTime>
						</Context>
						<Context>
							<Id NeedCalleeCall="true">1</Id>
							<Name>PlcTaskSlow</Name>
							<ManualConfig>
								<OTCID>#x02010040</OTCID>
							</ManualConfig>
							<Priority>2</Priority>
							<CycleTime>10000000</CycleTime>
						</Context>
					</Contexts>
					<TaskPouOids>
						<TaskPouOid Prio="1" OTCID="#x08502001"/>
						<TaskPouOid Prio="2" OTCID="#x08502002"/>
					</TaskPouOids>
				</Instance>
			</Project>
		</Plc>
		<Io>
			<Device Id="3" DevType="111" DevFlags="#x0003" AmsPort="28675" AmsNetId="169.254.150.176.4.1" RemoteName="Device 3 (EtherCAT)" InfoImageId="3">
				<Name>Device 3 (EtherCAT)</Name>
				<AddressInfo>
					<Pnp>
						<DeviceDesc>Ethernet (TwinCAT-Intel PCI Ethernet Adapter (Gigab</DeviceDesc>
						<DeviceName>\DEVICE\{93E0DD43-DF8E-4356-A1CC-454EB28FC109}</DeviceName>
						<DeviceData>0001056386f1</DeviceData>
					</Pnp>
				</AddressInfo>
				<Image Id="2" AddrType="9" ImageType="3">
					<Name>Image</Name>
				</Image>
				<Box Id="1" BoxType="9099" BoxFlags="#x00000020">
					<Name>Box 1 (EF410_V0)</Name>
					<ImageId>1000</ImageId>
					<EtherCAT SlaveType="2" PdiType="#x0605" MboxDataLinkLayer="true" StateMBoxPolling="true" CycleMBoxPollingTime="0" CoeType="35" VendorId="#x00475349" ProductCode="#x00000001" InfoDataAddr="true" InfoDataDcTimes="true" TimeoutStateChange1="2000" TimeoutStateChange2="9000" TimeoutMailbox2="2000" PortPhys="17" MaxSlotCount="256" MaxSlotGroupCount="1" SlotPdoIncrement="1" SlotIndexIncrement="16" Type="EF410_V0" Desc="EF410_V0" PortABoxInfo="#x00ffffff">
						<SyncMan>001080002600010001000000240000028000001026010000</SyncMan>
						<SyncMan>801080002200010002000000240000028000801022010000</SyncMan>
						<SyncMan>001100006400000003000000000000000000001164000000</SyncMan>
						<SyncMan>801118002000010004000000000000001800801120010000</SyncMan>
						<Fmmu>0000000000000000000000020000000001000000000000000000000000000000</Fmmu>
						<Fmmu>0000000000000000801100010100000002000000000000000000000000000000</Fmmu>
						<Fmmu>00000000000000000d0800010100000003000000000000000000000000000000</Fmmu>
						<DcData>0007000000000000000000000000000001000000000000000000000000000000</DcData>
						<DcMode>53796e6368726f6e0000000000000000534d2d53796e6368726f6e000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000</DcMode>
						<DcMode>4443000000000000000000000000000044432d53796e6368726f6e000000000000000000000000000000000000000000000000000000000000000000000000030100000000000000000000000000000000000000000000000000000000000000</DcMode>
						<Pdo Name="Input mapping 0" Index="#x1a00" Flags="#x0011" SyncMan="3">
							<Entry Name="AIN0" Index="#x6000">
								<Type>DINT</Type>
							</Entry>
							<Entry Name="AIN1" Index="#x6010">
								<Type>DINT</Type>
							</Entry>
							<Entry Name="AIN2" Index="#x6020">
								<Type>DINT</Type>
							</Entry>
							<Entry Name="AIN3" Index="#x6030">
								<Type>DINT</Type>
							</Entry>
							<Entry Name="ADC Nsample" Index="#x6040">
								<Type>UINT</Type>
							</Entry>
							<Entry Name="ECAT IRQ counter" Index="#x6050">
								<Type>UINT</Type>
							</Entry>
							<Entry Name="ECAT SYNC0 counter" Index="#x6060">
								<Type>UINT</Type>
							</Entry>
							<Entry Name="ECAT SYNC1 counter" Index="#x6070">
								<Type>UINT</Type>
							</Entry>
						</Pdo>
						<CoeProfile ProfileNo="5001"/>
					</EtherCAT>
				</Box>
				<EtherCAT DcSyncMode="3"/>
			</Device>
		</Io>
	</Project>
	<Mappings>
		<MappingInfo Identifier="{00000000-2001-0850-0020-500820000403}" Id="#x02030010"/>
		<OwnerA Name="TIPC^Untitled1^Untitled1 Instance">
			<OwnerB Name="TIID^Device 3 (EtherCAT)^Box 1 (EF410_V0)">
				<Link VarA="PLC Inputs^GVL.AcquisitionData[1]^ADC_nSample" VarB="Input mapping 0^ADC Nsample"/>
				<Link VarA="PLC Inputs^GVL.AcquisitionData[1]^AIN0" VarB="Input mapping 0^AIN0"/>
				<Link VarA="PLC Inputs^GVL.AcquisitionData[1]^AIN1" VarB="Input mapping 0^AIN1"/>
				<Link VarA="PLC Inputs^GVL.AcquisitionData[1]^AIN2" VarB="Input mapping 0^AIN2"/>
				<Link VarA="PLC Inputs^GVL.AcquisitionData[1]^AIN3" VarB="Input mapping 0^AIN3"/>
				<Link VarA="PLC Inputs^GVL.AcquisitionData[1]^ECAT_IRQ_Counter" VarB="Input mapping 0^ECAT IRQ counter"/>
				<Link VarA="PLC Inputs^GVL.AcquisitionData[1]^ECAT_SYNC0_Counter" VarB="Input mapping 0^ECAT SYNC0 counter"/>
				<Link VarA="PLC Inputs^GVL.AcquisitionData[1]^ECAT_SYNC1_Counter" VarB="Input mapping 0^ECAT SYNC1 counter"/>
			</OwnerB>
		</OwnerA>
	</Mappings>
</TcSmProject>