Blame view

SanlienDataRecoder_01/SanlienDataRecoder_01.tsproj.bak 11.4 KB
03a3ca636   frank   初版
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
  <?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>
ddb447a17   Johnny Yang   test sync0 counter
113
  				<Task Id="4" Priority="2" CycleTime="100000" AmsPort="351" AdtTasks="true">
03a3ca636   frank   初版
114
115
116
117
118
119
  					<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">
ddb447a17   Johnny Yang   test sync0 counter
120
  				<Instance Id="#x08502000" TcSmClass="TComPlcObjDef" KeepUnrestoredLinks="2" TmcPath="Untitled1\Untitled1.tmc" TmcHash="{11C07B00-B78F-1F1C-2712-7FF5D9CE98C6}">
03a3ca636   frank   初版
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
  					<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>