Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = {{id name="HSiemens"/}}**Siemens** = | ||
2 | |||
3 | == {{id name="HS7-200SmartA0Ethernet"/}}**S7-200 Smart Ethernet** == | ||
4 | |||
5 | Supported Series: Siemens S7-200 SMART Series Ethernet Module. | ||
6 | |||
7 | Website: [[http:~~/~~/www.siemens.com/entry/cc/en/>>url:http://www.siemens.com/entry/cc/en/]] | ||
8 | |||
9 | **HMI Setting** | ||
10 | |||
11 | |**Items**|**Settings**|**Note** | ||
12 | |Protocol|Simens S7-200 Smart Ethernet| | ||
13 | |Connection|Ethernet| | ||
14 | |Port No.|102| | ||
15 | |PLC station No.|2| | ||
16 | |||
17 | **Address List** | ||
18 | |||
19 | |**Type**|**Device register**|**Format**|**Range**|**Note** | ||
20 | |(% rowspan="9" %)Bit|I|I ddddd.o|0.0~~99999.7| | ||
21 | |Q|Q ddddd.o|0.0~~99999.7| | ||
22 | |V|VWbit ddddd.o|0.0~~99999.7|HMI register:VWbit | ||
23 | |V|V ddddd.o|0.0~~99999.7|HMI register:V | ||
24 | |M|M ddddd.o|0.0~~99999.7| | ||
25 | |SM|ddddd.o|0.0~~99999.7| | ||
26 | |S|ddddd.o|0.0~~99999.7|Read only | ||
27 | |T|ddddd|0~~99999|Timer state, read only | ||
28 | |C|ddddd|0~~99999|Counter state, read only | ||
29 | |(% colspan="1" rowspan="18" %)Word|(% colspan="1" rowspan="2" %)I|IW ddddd|0~~99999|HMI register:IW | ||
30 | |IB ddddd|0~~99999|HMI register:IB | ||
31 | |(% colspan="1" rowspan="2" %)Q|QW ddddd|0~~99999|HMI register:QW | ||
32 | |QB ddddd|0~~99999|HMI register:QB | ||
33 | |(% colspan="1" rowspan="2" %)AI|AIW ddddd|0~~99999|HMI register:AIW | ||
34 | |AIB ddddd|0~~99999|HMI register:AIB | ||
35 | |(% colspan="1" rowspan="2" %)AQ|AQW ddddd|0~~99999|HMI register:AQW | ||
36 | |AQB ddddd|0~~99999|HMI register:AQB | ||
37 | |(% colspan="1" rowspan="3" %)V|VW ddddd|0~~99998|((( | ||
38 | HMI register:VW | ||
39 | |||
40 | VW0=VB (0~~1) | ||
41 | |||
42 | VW2=VB (2~~3) | ||
43 | |||
44 | Address value is a multiple of 2 | ||
45 | ))) | ||
46 | |VD ddddd|0~~99996|((( | ||
47 | HMI register:VD | ||
48 | |||
49 | VD0=VB (0~~3) | ||
50 | |||
51 | VD2=VB (4~~7) | ||
52 | |||
53 | Address value is a multiple of 4 | ||
54 | ))) | ||
55 | |VB ddddd|0~~99998|HMI register:VB | ||
56 | |(% colspan="1" rowspan="3" %)M|MW ddddd|0~~30|((( | ||
57 | HMI register:MW | ||
58 | |||
59 | MW0=MB(0~~1) | ||
60 | |||
61 | MW2=MB(2~~3) | ||
62 | |||
63 | Address value is a multiple of 2 | ||
64 | ))) | ||
65 | |MD ddddd|0~~99999|((( | ||
66 | ((( | ||
67 | HMI register:MD | ||
68 | |||
69 | MD0=MB(0~~3) | ||
70 | |||
71 | MD4=MB(4~~7) | ||
72 | |||
73 | Address value is a multiple of 4 | ||
74 | ))) | ||
75 | |||
76 | ((( | ||
77 | |||
78 | ))) | ||
79 | ))) | ||
80 | |MD dd|0~~31|HMI register:MB | ||
81 | |T|TW ddddd|0~~99999|((( | ||
82 | HMI register:MW | ||
83 | |||
84 | Value of timer | ||
85 | ))) | ||
86 | |C|CW ddddd|0~~99999|((( | ||
87 | HMI register:CW | ||
88 | |||
89 | Value of counter | ||
90 | ))) | ||
91 | |(% colspan="1" rowspan="2" %)S|SW ddddd|0~~99999|HMI register:SW | ||
92 | |SB ddddd|0~~99999|HMI register:SB | ||
93 | |||
94 | **Communication Settings** | ||
95 | |||
96 | Set PLC IP in [Device IP] settings; | ||
97 | |||
98 | {{id name="I12.PLCProtocol_html_70b0c4c2ee21b10d.png"/}}[[image:2.1.png||alt="12.PLC Protocol_html_70b0c4c2ee21b10d.png"]] | ||
99 | |||
100 | * PLC IP Address: PLC IP | ||
101 | * PLC pot No.: 102(fixed) | ||
102 | * Network:TCP_Client_2N(fixed) | ||
103 | |||
104 | {{id name="I12.PLCProtocol_html_5891afd92901b7ad.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_2043e24eb003e3a5.png||alt="12.PLC Protocol_html_5891afd92901b7ad.png" height="276" width="347"]] | ||
105 | |||
106 | * Wait timeout: depend on actual network situation (more than 1500 ms) | ||
107 | |||
108 | **PLC Setting:** | ||
109 | |||
110 | ①Open STEP 7-MicroWIN SMART, create a new PLC project or open the project that has been created. | ||
111 | Create new project:Double click[CPU SR20]→[System Block]→[Module] CPU SR20(AC/DC/Relay)→[OK]. | ||
112 | |||
113 | (% style="text-align:center" %) | ||
114 | [[image:1.2.png]] | ||
115 | |||
116 | ②PLC Default Parameters: Double click[CPU SR20]→[System Block]→[Ethernet Port]→[IP Address]192.168.39.21[Subnet Mask]255.255.255.0[Default Gateway]192.168.39.1→[OK] | ||
117 | |||
118 | (% style="text-align:center" %) | ||
119 | [[image:1.3.png]] | ||
120 | |||
121 | **Cable Wiring** | ||
122 | |||
123 | {{id name="I12.PLCProtocol_html_2297240b57346b2a.png-4"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]] | ||
124 | |||
125 | == {{id name="HS7-300Ethernet"/}}**S7-300 Ethernet** == | ||
126 | |||
127 | Supported Series: Siemens S7-300 series PLC | ||
128 | |||
129 | **HMI Setting** | ||
130 | |||
131 | |**Items**|**Settings**|**Note** | ||
132 | |Protocol|Simens S7-300 Ethernet| | ||
133 | |Connection|Ethernet| | ||
134 | |Port No.|102| | ||
135 | |PLC station No.|2|Need to be same as the PLC setting | ||
136 | |||
137 | **Address List** | ||
138 | |||
139 | |**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** | ||
140 | |(% rowspan="4" %)Bit|I|I|I ddddd.o|0.0~~99999.7| | ||
141 | |Q|Q|Q ddddd.o|0.0~~99999.7| | ||
142 | |M|M|M ddddd.o|0.0~~99999.7| | ||
143 | |DB0.DB~~DB9999.DB|DBxDBD|DBxDB nnnndddd.o|0.0~~99999999.7|((( | ||
144 | nnnn: block number; | ||
145 | |||
146 | dddd: address; | ||
147 | ))) | ||
148 | |(% rowspan="8" %)Word|I|IW|IW ddddd|0~~99999| | ||
149 | |Q|QW|QW ddddd|0~~99999| | ||
150 | |(% rowspan="3" %)M|MB|MB ddddd|0~~99999| | ||
151 | |MW|MW ddddd|0~~99999|((( | ||
152 | MW0=MB(0~~1) | ||
153 | |||
154 | MW2=MB(2~~3) | ||
155 | |||
156 | Address value is a multiple of 2 | ||
157 | ))) | ||
158 | |MD|MD ddddd|0~~99999|((( | ||
159 | MD0=MB(0~~3) | ||
160 | |||
161 | MD4=MB(4~~7) | ||
162 | |||
163 | Address value is a multiple of 4 | ||
164 | ))) | ||
165 | |(% rowspan="3" %)DB0.DB~~DB9999.DB|DBxDBB|DBxDBB nnnndddd|0~~99999999|(% rowspan="3" %)((( | ||
166 | nnnn: block number; | ||
167 | |||
168 | dddd: address | ||
169 | ))) | ||
170 | |DBxDBW|DBxDBW nnnndddd|0~~99999999 | ||
171 | |DBxDBD|DBxDBD nnnndddd|0~~99999999 | ||
172 | |||
173 | **Communication Settings** | ||
174 | |||
175 | Enable HMI Ethernet in [Project Settings]; | ||
176 | |||
177 | {{id name="I12.PLCProtocol_html_43b671f18153910d.png-7"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a98ee09dac36eba3.png||alt="12.PLC Protocol_html_43b671f18153910d.png" height="107" width="405"]] | ||
178 | |||
179 | Set PLC IP in [Device IP] settings; | ||
180 | |||
181 | {{id name="I12.PLCProtocol_html_910b1a0aa9e2201c.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c63825de4f904ef1.png||alt="12.PLC Protocol_html_910b1a0aa9e2201c.png" height="188" width="554"]] | ||
182 | |||
183 | * PLC IP Address: PLC IP | ||
184 | * PLC pot No.: 102(fixed) | ||
185 | * Network:TCP_Client_2N(fixed) | ||
186 | |||
187 | {{id name="I12.PLCProtocol_html_5891afd92901b7ad.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_2043e24eb003e3a5.png||alt="12.PLC Protocol_html_5891afd92901b7ad.png" height="276" width="347"]] | ||
188 | |||
189 | * Wait timeout: depend on actual network situation (more than 1500 ms) | ||
190 | |||
191 | **Cable Wiring** | ||
192 | |||
193 | {{id name="I12.PLCProtocol_html_2297240b57346b2a.png-5"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]] | ||
194 | |||
195 | == {{id name="HS7-1200A0Ethernet"/}}**S7-1200 Ethernet** == | ||
196 | |||
197 | Supported Series: Siemens S7-1200 | ||
198 | |||
199 | **HMI Setting** | ||
200 | |||
201 | |**Items**|**Settings**|**Note** | ||
202 | |Protocol|Siemens S7-1200| | ||
203 | |Connection|Ethernet| | ||
204 | |Port No.|102| | ||
205 | |PLC station No.|2| | ||
206 | |||
207 | **Address List** | ||
208 | |||
209 | |**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** | ||
210 | |(% rowspan="4" %)Bit|I|I|M d.o|((( | ||
211 | d:0~-~-9999 | ||
212 | |||
213 | o:0-7 | ||
214 | )))| | ||
215 | |Q|Q|Q d.o|((( | ||
216 | d:0~-~-9999 | ||
217 | |||
218 | o:0-7 | ||
219 | )))| | ||
220 | |M|M|M d.o|((( | ||
221 | d:0~-~-9999 | ||
222 | |||
223 | o:0-7 | ||
224 | )))| | ||
225 | |DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|((( | ||
226 | nn:0-9999, | ||
227 | |||
228 | dddd:0-9999, | ||
229 | |||
230 | o:0-7 | ||
231 | )))|((( | ||
232 | nn:DB No. | ||
233 | |||
234 | dddd:address value | ||
235 | |||
236 | o: digit address | ||
237 | ))) | ||
238 | |(% rowspan="8" %)Word|M|MB|MB d|d:0-99999| | ||
239 | |M|MW|MW d|d:0-99999|((( | ||
240 | MW0=MB(0~~1) | ||
241 | |||
242 | MW2=MB(2~~3) | ||
243 | |||
244 | Address value is a multiple of 2 | ||
245 | ))) | ||
246 | |M|MD|MD d|d:0-99999|((( | ||
247 | MD0=MB(0~~3) | ||
248 | |||
249 | MD4=MB(4~~7) | ||
250 | |||
251 | Address value is a multiple of 4 | ||
252 | ))) | ||
253 | |I|IW|IW d|d:0-99999| | ||
254 | |Q|QW|QW d|d:0-99999| | ||
255 | |DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|((( | ||
256 | nn:0-9999 | ||
257 | |||
258 | dddd:0-9999 | ||
259 | )))|((( | ||
260 | nn:DB No. | ||
261 | |||
262 | dddd:address value | ||
263 | ))) | ||
264 | |DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|((( | ||
265 | nn:0-9999 | ||
266 | |||
267 | dddd:0-9999 | ||
268 | )))|((( | ||
269 | nn:DB No. | ||
270 | |||
271 | dddd:address value | ||
272 | |||
273 | Address value is a multiple of 2 | ||
274 | ))) | ||
275 | |DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd_D|((( | ||
276 | nn:0-9999 | ||
277 | |||
278 | dddd:0-9999 | ||
279 | )))|((( | ||
280 | nn:DB No. | ||
281 | |||
282 | dddd:address value | ||
283 | |||
284 | Address value is a multiple of 4 | ||
285 | ))) | ||
286 | |||
287 | **Communication Settings** | ||
288 | |||
289 | Enable HMI Ethernet in [Project Settings]; | ||
290 | |||
291 | {{id name="I12.PLCProtocol_html_43b671f18153910d.png-8"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a98ee09dac36eba3.png||alt="12.PLC Protocol_html_43b671f18153910d.png" height="107" width="405"]] | ||
292 | |||
293 | Set PLC IP in [Device IP] settings; | ||
294 | |||
295 | {{id name="I12.PLCProtocol_html_f7b3eb9abda33833.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ded8f04f5bfd39be.png||alt="12.PLC Protocol_html_f7b3eb9abda33833.png" height="190" width="554"]] | ||
296 | |||
297 | **✎Note:** | ||
298 | |||
299 | * The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. | ||
300 | * HMI access PLC, use S7 protocol, access PLC TSAP 02.01 (S7-1200 PROFINET interface only supports three connections, the default support), detailed reference to the system manual of S7-1200. | ||
301 | * S7-1200 String type, the default first two bytes are used to store the maximum character and valid characters, so the text data will be shifted back one word address. When interacting with the data, what way this address plc is displayed with is unknown. And because of an extra word of data causes us to display the wrong. The solution is if we use String, then the actual data address we want to operate on is actually shifted back two bytes, so as long as the address on the project is shifted back 2 bits to correspond with the actual data address. | ||
302 | * HMI operation character length needs to be set to 2 times the length of the Siemens character for proper display. | ||
303 | |||
304 | **PLC Settings** | ||
305 | |||
306 | Add BD | ||
307 | |||
308 | * Please uncheck [Symbolic access only] option; | ||
309 | |||
310 | {{id name="I12.PLCProtocol_html_643144c591994418.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_872ec32d12b55aa.png||alt="12.PLC Protocol_html_643144c591994418.png" height="546" width="550"]] | ||
311 | |||
312 | Address settings, using BD2 as example. | ||
313 | |||
314 | * DB×DBB2xxxx, DB×DBW2xxxx, DB×DBD2xxxx for accessing data of DB2 in B1. | ||
315 | * 2 represent DB block number | ||
316 | * xxxx represent address | ||
317 | |||
318 | **Such as:** | ||
319 | |||
320 | * DBxDBB20000 = DB2.DBB0 | ||
321 | * DBxDBW20004 = DB2.DBW4 | ||
322 | |||
323 | {{id name="I12.PLCProtocol_html_87ceaea84d552e62.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_8ee8d3ac3637bfc4.png||alt="12.PLC Protocol_html_87ceaea84d552e62.png" height="245" width="537"]] | ||
324 | |||
325 | **How to connect with S7-1200 Firmware V4.0** | ||
326 | |||
327 | PLC configuration | ||
328 | |||
329 | * Double click [device configuration] in Siemens via software | ||
330 | * Double click [protection] to enter protection configuration screen | ||
331 | |||
332 | {{id name="I12.PLCProtocol_html_9779940d38da8e07.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_664a826cd356c830.png||alt="12.PLC Protocol_html_9779940d38da8e07.png" height="426" width="341"]] | ||
333 | |||
334 | * Check [Permit access with PUT / GET communication from remote partner (PLC, HMI, OPC, ...)] | ||
335 | |||
336 | {{id name="I12.PLCProtocol_html_d2c667b02f9720b1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_78026942a88f0fdb.png||alt="12.PLC Protocol_html_d2c667b02f9720b1.png" height="296" width="554"]] | ||
337 | |||
338 | DB settings | ||
339 | |||
340 | * Right click [DB], select [properties] | ||
341 | * Uncheck [optimized block access] | ||
342 | |||
343 | **Cable Wiring** | ||
344 | |||
345 | {{id name="I12.PLCProtocol_html_2297240b57346b2a.png-6"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]] | ||
346 | |||
347 | == {{id name="HS7-XXXEthernet"/}}**S7-XXX Ethernet** == | ||
348 | |||
349 | Supported Series: Siemens S7-400, S7-1200 and S7-1500 | ||
350 | |||
351 | **HMI Setting** | ||
352 | |||
353 | |=**Items**|=**Settings**|=**Note** | ||
354 | |Protocol|Siemens S7-XXX| | ||
355 | |Connection|Ethernet| | ||
356 | |Port No.|102| | ||
357 | |Device No.|Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)| | ||
358 | |HMI No.|Rack (Default as 0)| | ||
359 | |||
360 | Slot from TIA Portal is equal to Device No. of PIStudio | ||
361 | |||
362 | Rack from TIA Portal is equal to HMI No. of PIStudio | ||
363 | |||
364 | {{id name="IS7-XXXCommunicationSettings.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d78bc267e5fc6394.png||alt="S7-XXXCommunication Settings.png" height="503" width="798"]] | ||
365 | |||
366 | {{id name="IS7-XXXCommunicationSettingsPIStudio.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_561c9c5b1c99916b.png||alt="S7-XXXCommunication SettingsPI.png" height="706" width="908"]] | ||
367 | |||
368 | **Address List** | ||
369 | |||
370 | |**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** | ||
371 | |(% rowspan="4" %)Bit|I|I|M d.o|((( | ||
372 | d:0~-~-9999 | ||
373 | |||
374 | o:0-7 | ||
375 | )))| | ||
376 | |Q|Q|Q d.o|((( | ||
377 | d:0~-~-9999 | ||
378 | |||
379 | o:0-7 | ||
380 | )))| | ||
381 | |M|M|M d.o|((( | ||
382 | d:0~-~-9999 | ||
383 | |||
384 | o:0-7 | ||
385 | )))| | ||
386 | |DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|((( | ||
387 | nn:0-9999, | ||
388 | |||
389 | dddd:0-9999, | ||
390 | |||
391 | o:0-7 | ||
392 | )))|((( | ||
393 | nn:DB No. | ||
394 | |||
395 | dddd:address value | ||
396 | |||
397 | o: digit address | ||
398 | ))) | ||
399 | |(% rowspan="8" %)Word|M|MB|MB d|d:0-99999| | ||
400 | |M|MW|MW d|d:0-99999|((( | ||
401 | MW0=MB(0~~1) | ||
402 | |||
403 | MW2=MB(2~~3) | ||
404 | |||
405 | Address value is a multiple of 2 | ||
406 | ))) | ||
407 | |M|MD|MD d|d:0-99999|((( | ||
408 | MD0=MB(0~~3) | ||
409 | |||
410 | MD4=MB(4~~7) | ||
411 | |||
412 | Address value is a multiple of 4 | ||
413 | ))) | ||
414 | |I|IW|IW d|d:0-99999| | ||
415 | |Q|QW|QW d|d:0-99999| | ||
416 | |DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|((( | ||
417 | nn:0-9999 | ||
418 | |||
419 | dddd:0-9999 | ||
420 | )))|((( | ||
421 | nn:DB No. | ||
422 | |||
423 | dddd:address value | ||
424 | ))) | ||
425 | |DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|((( | ||
426 | nn:0-9999 | ||
427 | |||
428 | dddd:0-9999 | ||
429 | )))|((( | ||
430 | nn:DB No. | ||
431 | |||
432 | dddd:address value | ||
433 | |||
434 | Address value is a multiple of 2 | ||
435 | ))) | ||
436 | |DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|((( | ||
437 | nn:0-9999 | ||
438 | |||
439 | dddd:0-9999 | ||
440 | )))|((( | ||
441 | nn:DB No. | ||
442 | |||
443 | dddd:address value | ||
444 | |||
445 | Address value is a multiple of 4 | ||
446 | ))) | ||
447 | |||
448 | **Communication Settings** | ||
449 | |||
450 | Enable HMI Ethernet in [Project Settings]; | ||
451 | |||
452 | {{id name="I12.PLCProtocol_html_43b671f18153910d.png-9"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a98ee09dac36eba3.png||alt="12.PLC Protocol_html_43b671f18153910d.png" height="107" width="405"]] | ||
453 | |||
454 | Set PLC IP in [Device IP] settings; | ||
455 | |||
456 | {{id name="I12.PLCProtocol_html_f7b3eb9abda33833.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ded8f04f5bfd39be.png||alt="12.PLC Protocol_html_f7b3eb9abda33833.png" height="190" width="554"]] | ||
457 | |||
458 | **✎Note:** | ||
459 | |||
460 | * The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. | ||
461 | * HMI access PLC, use S7 protocol, access PLC TSAP 02.01 (s7-1200 PROFINET interface only supports three connections, the default support), detailed reference to the system manual of S7-1200. | ||
462 | |||
463 | **Cable Wiring** | ||
464 | |||
465 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_2297240b57346b2a.png3Fwidth3D40126height3D17026rev3D1.1-5"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]] | ||
466 | |||
467 | == {{id name="cke_bm_25456S"/}}{{id name="HLOGOEthernet"/}}** LOGO Ethernet** == | ||
468 | |||
469 | Supported Series: Siemens Logo 0BA0, 0BA1 series | ||
470 | |||
471 | **HMI Settings** | ||
472 | |||
473 | |**Items**|**Settings**|**Note** | ||
474 | |Protocol|Siemens LOGO| | ||
475 | |Connection|Ethernet| | ||
476 | |Port No.|102| | ||
477 | |PLC station No.|2| | ||
478 | |||
479 | **Address List** | ||
480 | |||
481 | |**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address** | ||
482 | |1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0 | ||
483 | |2|VB|Byte|0-1469|DB1.DBX0.0|0x000000 | ||
484 | |3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000 | ||
485 | |4|VW|Word|0-1468|DB1.DBX0.0|0x000000 | ||
486 | |5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0 | ||
487 | |6|NAI|Word|1-64|DB1.DBX1262.0|0x002770 | ||
488 | |7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0 | ||
489 | |8|AQ|Word|1-16|DB1.DBX1072.0|0x002180 | ||
490 | |9|AI|Word|1-16|DB1.DBX1032.0|0x002040 | ||
491 | |10|I|Bit|1-64|DB1.DBX1024.0|0x002000 | ||
492 | |11|Q|Bit|1-64|DB1.DBX1064.0|0x002140 | ||
493 | |12|M|Bit|1-112|DB1.DBX1104.0|0x002280 | ||
494 | |13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0 | ||
495 | |14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70 | ||
496 | |15|V|Bit|0-14697|DB1.DBX0.0|0x000000 | ||
497 | |||
498 | **PLC Settings in LOGO Software:** | ||
499 | |||
500 | Click [Tools]~-~-[Ethernet Connections],shown as below. | ||
501 | |||
502 | {{id name="I12.PLCProtocol_html_8b9d2322edf89519.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d13df637bfedcc52.png||alt="12.PLC Protocol_html_8b9d2322edf89519.png" height="641" width="423"]] | ||
503 | |||
504 | Set Ethernet connection parameter. IP, Subnet Mask, shown as below. | ||
505 | |||
506 | {{id name="Iimage-20221228142937-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_316247e0130c4c55.png||alt="image-20221228142937-4.png" height="484" width="366"]] | ||
507 | |||
508 | **TSAP set**:The value set by local TSAP is the remote TSAP set in HMI. PLC's remote TSAP is the opposite,shown as below. | ||
509 | |||
510 | {{id name="Iimage-20221228143047-5.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_facc6ee1af05162f.png||alt="image-20221228143047-5.png" height="626" width="1088"]] | ||
511 | |||
512 | **Download Project**: Click "Address book" to add the IP address to be downloaded (fi."Detect" to check whether the IP address can be detected. Then click “ok”, and the system will prompt that PLC will be "STOP" mode. Click “YES” to start download. | ||
513 | |||
514 | {{id name="Iimage-20221228143246-6.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d43d2b7b2599ee64.png||alt="image-20221228143246-6.png" height="698" width="688"]] | ||
515 | |||
516 | **HMI Communication Settings** | ||
517 | |||
518 | Set PLC IP in [Device IP] settings; | ||
519 | |||
520 | {{id name="Iimage-20221228143614-7.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_58cea5198cb7c78a.png||alt="image-20221228143614-7.png" height="706" width="909"]] | ||
521 | |||
522 | Enable HMI Ethernet in [Project Settings]; | ||
523 | |||
524 | {{id name="Iimage-20221228144229-9.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7904cd9b484f6634.png||alt="image-20221228144229-9.png" height="451" width="793"]] | ||
525 | |||
526 | TSAP setting | ||
527 | |||
528 | * Regarding the setting of PLC TSAP, HMI provides system special address for setting, it is recommended to run in HMI script initialization, write PLC TSAP to corresponding system special register. | ||
529 | * HSW10118/HSW1200 = local TSAP of HMI, this is remote TSAP of PLC. | ||
530 | * HSW10119/HSW1201 = Remote TSAP of HMI, this is local TSAP of PLC. | ||
531 | * PI, PI+, i series (1.0 system): use HSW10118, HSW10119. | ||
532 | ie, ig series: use HSW1200, HSW1201. | ||
533 | HMI V2.0: use HSW1200, HSW1201. | ||
534 | |||
535 | **✎Note:** | ||
536 | |||
537 | * The data of TSAP is hexadecimal format. For example: the remote TSAP configured in the PLC is set to 20.00, then HSW10118/HSW1200 should be set to 0x2000, that is, HSW10118/HSW1200=8192. | ||
538 | * HSW10119/HSW1201 is set up as shown. | ||
539 | * {{id name="Iimage-20221228144800-11.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c518682b5f97ac1b.png||alt="image-20221228144800-11.png" height="144" width="538"]] | ||
540 | * {{id name="Iimage-20221228144708-10.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_885bd6754ccb5593.png||alt="image-20221228144708-10.png" height="127" width="537"]] | ||
541 | |||
542 | * AI word address and Ibit address are read-only and cannot be written on HMI. | ||
543 | * VW address should be even number address, such as VW0, VW2, VW4..., because in the address rule of Siemens PLC, the value of odd number address is equal to the value of previous even number address. For example VW1 = VW0. | ||
544 | * VD address should be multiple of 4, because it occupies two VW addresses, such as VD0, VD4, VD8... | ||
545 | * Written value of RTC cannot exceed 255. | ||
546 | |||
547 | **Cable Wiring** | ||
548 | |||
549 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_2297240b57346b2a.png3Fwidth3D40126height3D17026rev3D1.1-6"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]] | ||
550 | |||
551 | == {{id name="HS7-30028WithPCAdapter29"/}}**S7-300(With PC Adapter)** == | ||
552 | |||
553 | **HMI Setting:** | ||
554 | |||
555 | |=**Parameters**|=**Recommended**|=**Options**|=**Notes** | ||
556 | |=**PLC type**|(% colspan="2" %)SIEMENS S7-300 (with PC Adapter)| | ||
557 | |=**PLC I/F**|RS232| | | ||
558 | |=**Baud rate**|19200|9600,19200| | ||
559 | |=**Data bits**|8| | | ||
560 | |=**Parity**|Odd| | | ||
561 | |=**Stop bits**|1| | | ||
562 | |=**PLC sta. no.**|2| |Must be same as the PLC setting. | ||
563 | |||
564 | **Device Address** | ||
565 | |||
566 | |=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo** | ||
567 | |=Bit|I|DDDDo|0 ~~ 40957|Input (I) | ||
568 | |=Bit|Q|DDDDo|0 ~~ 40957|Output (O) | ||
569 | |=Bit|M|DDDDo|0 ~~ 40957|Bit Memory | ||
570 | |=Word|DB1 to DB99|DDDDDo|0 ~~ 655327| | ||
571 | |=Word|IW|DDDD|0 ~~ 4095|Input (I) | ||
572 | |=Word|QW|DDDD|0 ~~ 4095|Output (O) | ||
573 | |=Word|MW|DDDD|0 ~~ 4095|Bit Memory | ||
574 | |=Double word|MD|DDDD|0 ~~ 4094| | ||
575 | |=Double word|DBDn|FFFFFDDDD|0 ~~ 655359999|Data Register Double Word (must be even) | ||
576 | |=Byte|MB|DDDD|0 ~~ 4095|Bit Memory Byte | ||
577 | |||
578 | **Cable Wiring** | ||
579 | |||
580 | {{id name="Iimage-20221010102051-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_77dc63b5c3645636.png||alt="image-20221010102051-1.png" height="239" width="395"]] | ||
581 | |||
582 | == **S7-200 Smart Serial ** == | ||
583 | |||
584 | Supported Series: Siemens S7-200 SMART Series. | ||
585 | |||
586 | Website: [[http:~~/~~/www.siemens.com/entry/cc/en/>>url:http://www.siemens.com/entry/cc/en/]] | ||
587 | |||
588 | **HMI Setting** | ||
589 | |||
590 | |=**Parameters**|=**Recommended**|=**Notes** | ||
591 | |=**PLC type**|(% colspan="1" %)SIEMENS S7-200 CPU22x/Smart PPI new| | ||
592 | |=**PLC I/F**|RS485| | ||
593 | |=**Baud rate**|9600| | ||
594 | |=**Data bits**|8| | ||
595 | |=**Parity**|EVEN| | ||
596 | |=**Stop bits**|1| | ||
597 | |=**PLC sta. no.**|2|Must be same as the PLC setting. | ||
598 | |||
599 | **Address List** | ||
600 | |||
601 | (% style="width:1081px" %) | ||
602 | |=(% style="width: 114px;" %)**Type**|=(% style="width: 287px;" %)**Device registers**|=**HMI registers**|=**Format**|=**Range**|=(% style="width: 112px;" %)**Note** | ||
603 | |(% colspan="1" rowspan="9" style="width:114px" %)Bit|(% style="width:287px" %)I|I|I d|0~~99999|(% style="width:112px" %) | ||
604 | |(% style="width:287px" %)Q|Q|Q d|0~~99999|(% style="width:112px" %) | ||
605 | |(% style="width:287px" %)VWBit|VWBit|VWBit d|0~~99999|(% style="width:112px" %) | ||
606 | |(% style="width:287px" %)V|V|V d|0~~99999|(% style="width:112px" %) | ||
607 | |(% style="width:287px" %)M|M|M d|0~~99999|(% style="width:112px" %) | ||
608 | |(% style="width:287px" %)SM|SM|SM d|0~~99999|(% style="width:112px" %) | ||
609 | |(% style="width:287px" %)S|S|S d|0~~99999|(% style="width:112px" %) | ||
610 | |(% style="width:287px" %)T|T|T d|0~~99999|(% style="width:112px" %) | ||
611 | |(% style="width:287px" %)C|C|C d|0~~99999|(% style="width:112px" %) | ||
612 | |(% colspan="1" rowspan="10" style="width:114px" %)Word|(% style="width:287px" %)IW|IW|IW d|0~~99998|(% style="width:112px" %) | ||
613 | |(% style="width:287px" %)QW|QW|QW d|0~~99998|(% style="width:112px" %) | ||
614 | |(% style="width:287px" %)AIW|AIW|AIW d|0~~99998|(% style="width:112px" %) | ||
615 | |(% style="width:287px" %)AQW|AQW|AQW d|0~~99998|(% style="width:112px" %) | ||
616 | |(% style="width:287px" %)VW|VW|VW d|0~~99998|(% style="width:112px" %) | ||
617 | |(% style="width:287px" %)MW|MW|MW d|0~~30|(% style="width:112px" %) | ||
618 | |(% style="width:287px" %)SW|SW|SW d|0~~99998|(% style="width:112px" %) | ||
619 | |(% style="width:287px" %)SMW|SMW|SMW d|0~~99998|(% style="width:112px" %) | ||
620 | |(% style="width:287px" %)TW|TW|TW d|0~~99999|(% style="width:112px" %) | ||
621 | |(% style="width:287px" %)CW|CW|CW d|0~~99999|(% style="width:112px" %) | ||
622 | |||
623 | **Configure the communication protocol** | ||
624 | |||
625 | (% style="text-align:center" %) | ||
626 | [[image:2.3.png]] | ||
627 | |||
628 | (% style="text-align:center" %) | ||
629 | [[image:2.3.2.png]] | ||
630 | |||
631 | **PLC Settings(STEP 7-MicroWIN SMART)** | ||
632 | |||
633 | Open STEP 7-MicroWIN SMART, create a new PLC project or open the project that has been created. | ||
634 | Create new project:Double click[CPU SR20]→[System Block]→[Module] CPU SR20(AC/DC/Relay)→[OK]. | ||
635 | |||
636 | (% style="text-align:center" %) | ||
637 | [[image:1.2.png]] | ||
638 | |||
639 | PLC Default Parameters: Double click[CPU SR20]→[System Block]→[RS485 Port]→[Address]2,[Baud Rate]9.6Kbps→[OK] | ||
640 | |||
641 | (% style="text-align:center" %) | ||
642 | [[image:1.3.png]] | ||
643 | |||
644 | **Cable Wiring** | ||
645 | |||
646 | (% style="text-align:center" %) | ||
647 | [[image:Cable Wiring.png||height="200" width="721"]] | ||
648 | |||
649 | Pin Definition Diagram | ||
650 | |||
651 | (% style="text-align:center" %) | ||
652 | [[image:Pin Definition Diagram.png||height="200" width="411"]] | ||
653 | |||
654 | == **S7-200(Ethernet with 243)** == | ||
655 | |||
656 | Supported Series: Siemens S7-200(Ethernet with 243) | ||
657 | |||
658 | **HMI Setting** | ||
659 | |||
660 | (% style="width:1420px" %) | ||
661 | |=(% style="width: 431px;" %)**Items**|=(% style="width: 543px;" %)**Settings**|=(% style="width: 444px;" %)**Note** | ||
662 | |=(% style="width: 431px;" %)Protocol|(% style="width:543px" %)Siemens S7-200(Ethernet with 243)|(% style="width:444px" %)((( | ||
663 | |||
664 | ))) | ||
665 | |=(% style="width: 431px;" %)Connection|(% style="width:543px" %)Ethernet|(% style="width:444px" %) | ||
666 | |=(% style="width: 431px;" %)Port No.|(% style="width:543px" %)102|(% style="width:444px" %) | ||
667 | |=(% style="width: 431px;" %)PLC station No.|(% style="width:543px" %)2|(% style="width:444px" %) | ||
668 | |||
669 | (% class="box infomessage" %) | ||
670 | ((( | ||
671 | **✎**Note: IF the [SIEMENS S7-200(Ethernet With 243)] can not link.Please choose [SIEMENS S7-200 Smart (Ethernet)] to test again. | ||
672 | ))) | ||
673 | |||
674 | **Address List** | ||
675 | |||
676 | (% style="width:1429px" %) | ||
677 | |=(% style="width: 252px;" %)**Bit/Word**|=(% style="width: 257px;" %)**Device type**|=(% style="width: 226px;" %)Address NO.|=(% style="width: 349px;" %)Range|=(% style="width: 342px;" %)Note | ||
678 | |=(% colspan="1" rowspan="10" style="width: 252px;" %)Bit | ||
679 | |(% style="width:257px" %)I|(% style="width:226px" %)DDDD.o|(% style="width:349px" %)D:0~99999 o:0~7|(% style="width:342px" %) | ||
680 | |(% style="width:257px" %)Q|(% style="width:226px" %)DDDD.o|(% style="width:349px" %)D:0~99999 o:0~7|(% style="width:342px" %) | ||
681 | |(% style="width:257px" %)M|(% style="width:226px" %)DDDD.o|(% style="width:349px" %)D:0~99999 o:0~7|(% style="width:342px" %) | ||
682 | |(% style="width:257px" %)V|(% style="width:226px" %)DDDD.o|(% style="width:349px" %)D:0~99999 o:0~7|(% style="width:342px" %) | ||
683 | |(% style="width:257px" %)VWBit|(% style="width:226px" %)DDDD.o|(% style="width:349px" %)D:0~99999 o:0~7|(% style="width:342px" %) | ||
684 | |(% style="width:257px" %)SM|(% style="width:226px" %)DDDD.o|(% style="width:349px" %)D:0~65535 o:0~7|(% style="width:342px" %) | ||
685 | |(% style="width:257px" %)S|(% style="width:226px" %)DDDD.o|(% style="width:349px" %)D:0~99999 o:0~7|(% style="width:342px" %) | ||
686 | |(% style="width:257px" %)T|(% style="width:226px" %)DDDD|(% style="width:349px" %)0~99999 |(% style="width:342px" %) | ||
687 | |(% style="width:257px" %)C|(% style="width:226px" %)DDDD|(% style="width:349px" %)0~99999 |(% style="width:342px" %) | ||
688 | |(% style="width:257px" %)Lamp|(% style="width:226px" %)0|(% style="width:349px" %)0|(% style="width:342px" %) | ||
689 | |=(% colspan="1" rowspan="9" style="width: 252px;" %)Word | ||
690 | |(% style="width:257px" %)IW|(% style="width:226px" %)DDDD|(% style="width:349px" %)0~99999|(% style="width:342px" %) | ||
691 | |(% style="width:257px" %)QW|(% style="width:226px" %)DDDD|(% style="width:349px" %)0~99999|(% style="width:342px" %) | ||
692 | |(% style="width:257px" %)AIW|(% style="width:226px" %)DDDD|(% style="width:349px" %)0~99999|(% style="width:342px" %) | ||
693 | |(% style="width:257px" %)AQW|(% style="width:226px" %)DDDD|(% style="width:349px" %)0~99999|(% style="width:342px" %) | ||
694 | |(% style="width:257px" %)VW|(% style="width:226px" %)DDDD|(% style="width:349px" %)0~99998|(% style="width:342px" %) | ||
695 | |(% style="width:257px" %)MW|(% style="width:226px" %)DDDD|(% style="width:349px" %)0 ~~ 30|(% style="width:342px" %) | ||
696 | |(% style="width:257px" %)TW|(% style="width:226px" %)DDDD|(% style="width:349px" %)0~99999|(% style="width:342px" %) | ||
697 | |(% style="width:257px" %)CW|(% style="width:226px" %)DDDD|(% style="width:349px" %)0~99999|(% style="width:342px" %) | ||
698 | |(% style="width:257px" %)SW|(% style="width:226px" %)DDDD|(% style="width:349px" %)0~99999|(% style="width:342px" %) | ||
699 | |=(% colspan="1" rowspan="2" style="width: 252px;" %)Double word | ||
700 | |(% style="width:257px" %)MD|(% style="width:226px" %)DDDD|(% style="width:349px" %)0-28|(% style="width:342px" %) | ||
701 | |(% style="width:257px" %)VD|(% style="width:226px" %)DDDD|(% style="width:349px" %)0 ~~ 99998|(% style="width:342px" %) | ||
702 | |||
703 | **Viewing/Configuring Ethernet Parameters** | ||
704 | |||
705 | 1.[Tools]~-~-[Ethernet Wizard] | ||
706 | |||
707 | (% style="text-align:center" %) | ||
708 | [[image:图片1.png]] | ||
709 | |||
710 | 2.Choose the position of module 243 ~-~-[Next] | ||
711 | |||
712 | (% class="box infomessage" %) | ||
713 | ((( | ||
714 | **✎**Note: Module position refers to the position of module 243 on the plc, please adjust according to the actual situation | ||
715 | ))) | ||
716 | |||
717 | |||
718 | (% style="text-align:center" %) | ||
719 | [[image:图片2.png]] | ||
720 | |||
721 | 3.Choose the module type,Next | ||
722 | |||
723 | (% style="text-align:center" %) | ||
724 | [[image:图片3.png]] | ||
725 | |||
726 | 4.Set IP address as 192.168.1.218 ,and Subnet mask as 255.255.255.0,Next | ||
727 | |||
728 | (% style="text-align:center" %) | ||
729 | [[image:图片4.png]] | ||
730 | |||
731 | 5.[QB]1~-~-[Number of connections to configure for this module]3~-~-[Next] | ||
732 | |||
733 | (% style="text-align:center" %) | ||
734 | [[image:图片5.png]] | ||
735 | |||
736 | 6.Click [This is a Server Connection] and Click [Accept all connection requests],[OK] | ||
737 | |||
738 | (% style="text-align:center" %) | ||
739 | [[image:图片6.png]] | ||
740 | |||
741 | 7.Click [Yes,generate CRC protection for this configuration in the data book],set the Keep Alive Interval as 30 sec,[Next] | ||
742 | |||
743 | (% style="text-align:center" %) | ||
744 | [[image:图片7.png]] | ||
745 | |||
746 | 8.Choose the Suggest Address,Next | ||
747 | |||
748 | (% style="text-align:center" %) | ||
749 | [[image:图片8.png]] | ||
750 | |||
751 | 9.[ETH Configuration for 0]~-~-[Finish] | ||
752 | |||
753 | (% style="text-align:center" %) | ||
754 | [[image:图片9.png]] | ||
755 | |||
756 | **Test CP 243-1** | ||
757 | |||
758 | 1.[Communications]→[PC/PPI cable]→[TCPIP.1]→[OK] | ||
759 | |||
760 | (% style="text-align:center" %) | ||
761 | [[image:图片10.png]] | ||
762 | |||
763 | |||
764 | 2.[Remote]192.168.1.218 then [Double-Click to Refresh]and choose[CPU 226 CN REL 02.01 192.168.1.218],click[OK] | ||
765 | |||
766 | (% style="text-align:center" %) | ||
767 | [[image:图片11.png]] | ||
768 | |||
769 | **Cable Wiring** | ||
770 | |||
771 | [[image:https://docs.we-con.com.cn/bin/download/PIStudio/PLC%20Protocol/Siemens/WebHome/xwiki_PIStudio_12.PLC%2Bprotocols_WebHome_ac8ece9a26719fda.png?width=401&height=170&rev=1.1||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]] | ||
772 | |||
773 | |||
774 | == **Siemens S7-1200/1500 Ethernet Free Tag** == | ||
775 | |||
776 | (% class="box infomessage" %) | ||
777 | ((( | ||
778 | Note: Waiting official release | ||
779 | ))) | ||
780 | |||
781 | **HMI Setting** | ||
782 | |||
783 | |**Items**|**Settings**|**Note** | ||
784 | |Protocol|Siemens S7-1200/1500 Ethernet FreeTag | | ||
785 | |Connection|Ethernet| | ||
786 | |Port No.|102| | ||
787 | |PLC station No.|1| | ||
788 | |||
789 | **Support Variable Type** | ||
790 | |||
791 | |=Data Type|=PIStudio Data Format | ||
792 | |=BOOL|Bit | ||
793 | |=BYTE|16-bit Unsigned/Binary/BCD/Hex | ||
794 | |=WORD|16-bit Unsigned/Binary/BCD/Hex | ||
795 | |=DWORD|32-bit Unsigned/Binary/BCD/Hex | ||
796 | |=SINT|16-bit Signed/Binary/BCD/Hex | ||
797 | |=USINT|16-bit Unsigned/Binary/BCD/Hex | ||
798 | |=INT|16-bit Signed/Binary/BCD/Hex | ||
799 | |=UINT|16-bit Unsigned/Binary/BCD/Hex | ||
800 | |=DINT|32-bit Signed/Binary/BCD/Hex | ||
801 | |=UDINT|32-bit Unsigned/Binary/BCD/Hex | ||
802 | |=STRING|Max:256 | ||
803 | |=Real|32-bit Float | ||
804 | |=Struct|Bool/Byte/SINT/USINT/WORD/INT/UINT/DWord/DINT/Real/UDINT/String | ||
805 | |=Array|Bool/Byte/SINT/USINT/WORD/INT/UINT/DWord/DINT/Real/DINT/String | ||
806 | |||
807 | **Communication Settings** | ||
808 | |||
809 | Communication → choose "Siemens S7-1200/1500 Ethernet FreeTag" → OK | ||
810 | |||
811 | (% style="text-align:center" %) | ||
812 | [[image:QiUfoquheO.png]] | ||
813 | |||
814 | Setting→ PLC IP Address → OK | ||
815 | |||
816 | (% style="text-align:center" %) | ||
817 | [[image:p0oBclWpCu.png]] | ||
818 | |||
819 | **PLC Setting** | ||
820 | |||
821 | In the Project tree [PLC project]→Right-click[PLC-1]→[Properties]→[General]→[PROFINE interface]→[Add new subnet]→[IP address]192.168.40.20,[Subnet mask]255.255.255.0→[OK] | ||
822 | |||
823 | (% style="text-align:center" %) | ||
824 | [[image:图片1.png]] | ||
825 | |||
826 | Open [Properties] again→[General]→[Protection&Security]→[Connection mechanisms]→Check [Permit access with PUTIGET communication remote partner ]→[OK] | ||
827 | |||
828 | (% style="text-align:center" %) | ||
829 | [[image:图片2.png]] | ||
830 | |||
831 | Create a new DB block: | ||
832 | |||
833 | [Add new block]→[Date block]→[Manual]→[OK] | ||
834 | |||
835 | (% style="text-align:center" %) | ||
836 | [[image:图片3.png]] | ||
837 | |||
838 | Right-click[DB1]→[Properties]→[General]→[Attributes]→Uncheck[Optimized block access]→[OK] | ||
839 | |||
840 | (% style="text-align:center" %) | ||
841 | [[image:图片4.png]] | ||
842 | |||
843 | **How to import the tags:** | ||
844 | |||
845 | Click DB block → create FreeTags → Project→ Save as the file in a path | ||
846 | |||
847 | (% style="text-align:center" %) | ||
848 | [[image:Po8BaJ5zII.png]] | ||
849 | |||
850 | (% style="text-align:center" %) | ||
851 | [[image:ln95kcUbPs.png]] | ||
852 | |||
853 | Communication→ Labels manage→ Import Tags From File→ choose PLC program→ Open | ||
854 | |||
855 | (% style="text-align:center" %) | ||
856 | [[image:xGYTeswe0E.png]] |