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**|**HMI register**|**Format**|**Range**|**Note** | ||
20 | |(% rowspan="9" %)Bit|I|I|I ddddd.o|0.0~~99999.7| | ||
21 | |Q|Q|Q ddddd.o|0.0~~99999.7| | ||
22 | |V|VWbit|VWbit ddddd.o|0.0~~99999.7| | ||
23 | |V|V|V ddddd.o|0.0~~99999.7| | ||
24 | |M|M|M ddddd.o|0.0~~99999.7| | ||
25 | |SM|SM|ddddd.o|0.0~~99999.7| | ||
26 | |S|S|ddddd.o|0.0~~99999.7|Read only | ||
27 | |T|T|ddddd|0~~99999|Timer state, read only | ||
28 | |C|C|ddddd|0~~99999|Counter state, read only | ||
29 | |(% rowspan="12" %)Word|I|IW|IW ddddd|0~~99999| | ||
30 | |Q|QW|QW ddddd|0~~99999| | ||
31 | |AI|AIW|AIW ddddd|0~~99999| | ||
32 | |AQ|VB|VB ddddd|0~~99999| | ||
33 | |V|VW|VW ddddd|0~~99998|((( | ||
34 | VW0=VB (0~~1) | ||
35 | |||
36 | VW2=VB (2~~3) | ||
37 | |||
38 | Address value is a multiple of 2 | ||
39 | ))) | ||
40 | |V|VD|VD ddddd|0~~99998|((( | ||
41 | VD0=VB (0~~3) | ||
42 | |||
43 | VD2=VB (4~~7) | ||
44 | |||
45 | Address value is a multiple of 4 | ||
46 | ))) | ||
47 | |M|MB|MB ddddd|0~~99999| | ||
48 | |M|MW|MW ddddd|0~~99999|((( | ||
49 | MW0=MB(0~~1) | ||
50 | |||
51 | MW2=MB(2~~3) | ||
52 | |||
53 | Address value is a multiple of 2 | ||
54 | ))) | ||
55 | |M|MD|MD ddddd|0~~99999|((( | ||
56 | MD0=MB(0~~3) | ||
57 | |||
58 | MD4=MB(4~~7) | ||
59 | |||
60 | Address value is a multiple of 4 | ||
61 | ))) | ||
62 | |T|TW|TW ddddd|0~~99999|Value of timer | ||
63 | |C|CW|CW ddddd|0~~99999|Value of counter | ||
64 | |W|SW|SW ddddd|0~~99999| | ||
65 | |||
66 | **Communication Settings** | ||
67 | |||
68 | Enable HMI Ethernet in [Project Settings]; | ||
69 | |||
70 | {{id name="I12.PLCProtocol_html_43b671f18153910d.png-6"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a98ee09dac36eba3.png||alt="12.PLC Protocol_html_43b671f18153910d.png" height="107" width="405"]] | ||
71 | |||
72 | Set PLC IP in [Device IP] settings; | ||
73 | |||
74 | {{id name="I12.PLCProtocol_html_70b0c4c2ee21b10d.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_31c7328d3cd0e5d3.png||alt="12.PLC Protocol_html_70b0c4c2ee21b10d.png" height="189" width="554"]] | ||
75 | |||
76 | * PLC IP Address: PLC IP | ||
77 | * PLC pot No.: 102(fixed) | ||
78 | * Network:TCP_Client_2N(fixed) | ||
79 | |||
80 | {{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"]] | ||
81 | |||
82 | * Wait timeout: depend on actual network situation (more than 1500 ms) | ||
83 | |||
84 | **Cable Wiring** | ||
85 | |||
86 | {{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"]] | ||
87 | |||
88 | == {{id name="HS7-300Ethernet"/}}**S7-300 Ethernet** == | ||
89 | |||
90 | Supported Series: Siemens S7-300 series PLC | ||
91 | |||
92 | **HMI Setting** | ||
93 | |||
94 | |**Items**|**Settings**|**Note** | ||
95 | |Protocol|Simens S7-300 Ethernet| | ||
96 | |Connection|Ethernet| | ||
97 | |Port No.|102| | ||
98 | |PLC station No.|2|Need to be same as the PLC setting | ||
99 | |||
100 | **Address List** | ||
101 | |||
102 | |**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** | ||
103 | |(% rowspan="4" %)Bit|I|I|I ddddd.o|0.0~~99999.7| | ||
104 | |Q|Q|Q ddddd.o|0.0~~99999.7| | ||
105 | |M|M|M ddddd.o|0.0~~99999.7| | ||
106 | |DB0.DB~~DB9999.DB|DBxDBD|DBxDB nnnndddd.o|0.0~~99999999.7|((( | ||
107 | nnnn: block number; | ||
108 | |||
109 | dddd: address; | ||
110 | ))) | ||
111 | |(% rowspan="8" %)Word|I|IW|IW ddddd|0~~99999| | ||
112 | |Q|QW|QW ddddd|0~~99999| | ||
113 | |(% rowspan="3" %)M|MB|MB ddddd|0~~99999| | ||
114 | |MW|MW ddddd|0~~99999|((( | ||
115 | MW0=MB(0~~1) | ||
116 | |||
117 | MW2=MB(2~~3) | ||
118 | |||
119 | Address value is a multiple of 2 | ||
120 | ))) | ||
121 | |MD|MD ddddd|0~~99999|((( | ||
122 | MD0=MB(0~~3) | ||
123 | |||
124 | MD4=MB(4~~7) | ||
125 | |||
126 | Address value is a multiple of 4 | ||
127 | ))) | ||
128 | |(% rowspan="3" %)DB0.DB~~DB9999.DB|DBxDBB|DBxDBB nnnndddd|0~~99999999|(% rowspan="3" %)((( | ||
129 | nnnn: block number; | ||
130 | |||
131 | dddd: address | ||
132 | ))) | ||
133 | |DBxDBW|DBxDBW nnnndddd|0~~99999999 | ||
134 | |DBxDBD|DBxDBD nnnndddd|0~~99999999 | ||
135 | |||
136 | **Communication Settings** | ||
137 | |||
138 | Enable HMI Ethernet in [Project Settings]; | ||
139 | |||
140 | {{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"]] | ||
141 | |||
142 | Set PLC IP in [Device IP] settings; | ||
143 | |||
144 | {{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"]] | ||
145 | |||
146 | * PLC IP Address: PLC IP | ||
147 | * PLC pot No.: 102(fixed) | ||
148 | * Network:TCP_Client_2N(fixed) | ||
149 | |||
150 | {{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"]] | ||
151 | |||
152 | * Wait timeout: depend on actual network situation (more than 1500 ms) | ||
153 | |||
154 | **Cable Wiring** | ||
155 | |||
156 | {{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"]] | ||
157 | |||
158 | == {{id name="HS7-1200A0Ethernet"/}}**S7-1200 Ethernet** == | ||
159 | |||
160 | Supported Series: Siemens S7-1200 | ||
161 | |||
162 | **HMI Setting** | ||
163 | |||
164 | |**Items**|**Settings**|**Note** | ||
165 | |Protocol|Siemens S7-1200| | ||
166 | |Connection|Ethernet| | ||
167 | |Port No.|102| | ||
168 | |PLC station No.|2| | ||
169 | |||
170 | **Address List** | ||
171 | |||
172 | |**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** | ||
173 | |(% rowspan="4" %)Bit|I|I|M d.o|((( | ||
174 | d:0~-~-9999 | ||
175 | |||
176 | o:0-7 | ||
177 | )))| | ||
178 | |Q|Q|Q d.o|((( | ||
179 | d:0~-~-9999 | ||
180 | |||
181 | o:0-7 | ||
182 | )))| | ||
183 | |M|M|M d.o|((( | ||
184 | d:0~-~-9999 | ||
185 | |||
186 | o:0-7 | ||
187 | )))| | ||
188 | |DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|((( | ||
189 | nn:0-9999, | ||
190 | |||
191 | dddd:0-9999, | ||
192 | |||
193 | o:0-7 | ||
194 | )))|((( | ||
195 | nn:DB No. | ||
196 | |||
197 | dddd:address value | ||
198 | |||
199 | o: digit address | ||
200 | ))) | ||
201 | |(% rowspan="8" %)Word|M|MB|MB d|d:0-99999| | ||
202 | |M|MW|MW d|d:0-99999|((( | ||
203 | MW0=MB(0~~1) | ||
204 | |||
205 | MW2=MB(2~~3) | ||
206 | |||
207 | Address value is a multiple of 2 | ||
208 | ))) | ||
209 | |M|MD|MD d|d:0-99999|((( | ||
210 | MD0=MB(0~~3) | ||
211 | |||
212 | MD4=MB(4~~7) | ||
213 | |||
214 | Address value is a multiple of 4 | ||
215 | ))) | ||
216 | |I|IW|IW d|d:0-99999| | ||
217 | |Q|QW|QW d|d:0-99999| | ||
218 | |DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|((( | ||
219 | nn:0-9999 | ||
220 | |||
221 | dddd:0-9999 | ||
222 | )))|((( | ||
223 | nn:DB No. | ||
224 | |||
225 | dddd:address value | ||
226 | ))) | ||
227 | |DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|((( | ||
228 | nn:0-9999 | ||
229 | |||
230 | dddd:0-9999 | ||
231 | )))|((( | ||
232 | nn:DB No. | ||
233 | |||
234 | dddd:address value | ||
235 | |||
236 | Address value is a multiple of 2 | ||
237 | ))) | ||
238 | |DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|((( | ||
239 | nn:0-9999 | ||
240 | |||
241 | dddd:0-9999 | ||
242 | )))|((( | ||
243 | nn:DB No. | ||
244 | |||
245 | dddd:address value | ||
246 | |||
247 | Address value is a multiple of 4 | ||
248 | ))) | ||
249 | |||
250 | **Communication Settings** | ||
251 | |||
252 | Enable HMI Ethernet in [Project Settings]; | ||
253 | |||
254 | {{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"]] | ||
255 | |||
256 | Set PLC IP in [Device IP] settings; | ||
257 | |||
258 | {{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"]] | ||
259 | |||
260 | **✎Note:** | ||
261 | |||
262 | * The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. | ||
263 | * 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. | ||
264 | * 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. | ||
265 | * HMI operation character length needs to be set to 2 times the length of the Siemens character for proper display. | ||
266 | |||
267 | **PLC Settings** | ||
268 | |||
269 | Add BD | ||
270 | |||
271 | * Please uncheck [Symbolic access only] option; | ||
272 | |||
273 | {{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"]] | ||
274 | |||
275 | Address settings, using BD2 as example. | ||
276 | |||
277 | * DB×DBB2xxxx, DB×DBW2xxxx, DB×DBD2xxxx for accessing data of DB2 in B1. | ||
278 | * 2 represent DB block number | ||
279 | * xxxx represent address | ||
280 | |||
281 | **Such as:** | ||
282 | |||
283 | * DBxDBB20000 = DB2.DBB0 | ||
284 | * DBxDBW20004 = DB2.DBW4 | ||
285 | |||
286 | {{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"]] | ||
287 | |||
288 | **How to connect with S7-1200 Firmware V4.0** | ||
289 | |||
290 | PLC configuration | ||
291 | |||
292 | * Double click [device configuration] in Siemens via software | ||
293 | * Double click [protection] to enter protection configuration screen | ||
294 | |||
295 | {{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"]] | ||
296 | |||
297 | * Check [Permit access with PUT / GET communication from remote partner (PLC, HMI, OPC, ...)] | ||
298 | |||
299 | {{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"]] | ||
300 | |||
301 | DB settings | ||
302 | |||
303 | * Right click [DB], select [properties] | ||
304 | * Uncheck [optimized block access] | ||
305 | |||
306 | **Cable Wiring** | ||
307 | |||
308 | {{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"]] | ||
309 | |||
310 | == {{id name="HS7-XXXEthernet"/}}**S7-XXX Ethernet** == | ||
311 | |||
312 | Supported Series: Siemens S7-400, S7-1200 and S7-1500 | ||
313 | |||
314 | **HMI Setting** | ||
315 | |||
316 | |=**Items**|=**Settings**|=**Note** | ||
317 | |Protocol|Siemens S7-XXX| | ||
318 | |Connection|Ethernet| | ||
319 | |Port No.|102| | ||
320 | |Device No.|Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)| | ||
321 | |HMI No.|Rack (Default as 0)| | ||
322 | |||
323 | Slot from TIA Portal is equal to Device No. of PIStudio | ||
324 | |||
325 | Rack from TIA Portal is equal to HMI No. of PIStudio | ||
326 | |||
327 | {{id name="IS7-XXXCommunicationSettings.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d78bc267e5fc6394.png||alt="S7-XXXCommunication Settings.png" height="503" width="798"]] | ||
328 | |||
329 | {{id name="IS7-XXXCommunicationSettingsPIStudio.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_561c9c5b1c99916b.png||alt="S7-XXXCommunication SettingsPI.png" height="706" width="908"]] | ||
330 | |||
331 | **Address List** | ||
332 | |||
333 | |**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** | ||
334 | |(% rowspan="4" %)Bit|I|I|M d.o|((( | ||
335 | d:0~-~-9999 | ||
336 | |||
337 | o:0-7 | ||
338 | )))| | ||
339 | |Q|Q|Q d.o|((( | ||
340 | d:0~-~-9999 | ||
341 | |||
342 | o:0-7 | ||
343 | )))| | ||
344 | |M|M|M d.o|((( | ||
345 | d:0~-~-9999 | ||
346 | |||
347 | o:0-7 | ||
348 | )))| | ||
349 | |DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|((( | ||
350 | nn:0-9999, | ||
351 | |||
352 | dddd:0-9999, | ||
353 | |||
354 | o:0-7 | ||
355 | )))|((( | ||
356 | nn:DB No. | ||
357 | |||
358 | dddd:address value | ||
359 | |||
360 | o: digit address | ||
361 | ))) | ||
362 | |(% rowspan="8" %)Word|M|MB|MB d|d:0-99999| | ||
363 | |M|MW|MW d|d:0-99999|((( | ||
364 | MW0=MB(0~~1) | ||
365 | |||
366 | MW2=MB(2~~3) | ||
367 | |||
368 | Address value is a multiple of 2 | ||
369 | ))) | ||
370 | |M|MD|MD d|d:0-99999|((( | ||
371 | MD0=MB(0~~3) | ||
372 | |||
373 | MD4=MB(4~~7) | ||
374 | |||
375 | Address value is a multiple of 4 | ||
376 | ))) | ||
377 | |I|IW|IW d|d:0-99999| | ||
378 | |Q|QW|QW d|d:0-99999| | ||
379 | |DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|((( | ||
380 | nn:0-9999 | ||
381 | |||
382 | dddd:0-9999 | ||
383 | )))|((( | ||
384 | nn:DB No. | ||
385 | |||
386 | dddd:address value | ||
387 | ))) | ||
388 | |DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|((( | ||
389 | nn:0-9999 | ||
390 | |||
391 | dddd:0-9999 | ||
392 | )))|((( | ||
393 | nn:DB No. | ||
394 | |||
395 | dddd:address value | ||
396 | |||
397 | Address value is a multiple of 2 | ||
398 | ))) | ||
399 | |DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|((( | ||
400 | nn:0-9999 | ||
401 | |||
402 | dddd:0-9999 | ||
403 | )))|((( | ||
404 | nn:DB No. | ||
405 | |||
406 | dddd:address value | ||
407 | |||
408 | Address value is a multiple of 4 | ||
409 | ))) | ||
410 | |||
411 | **Communication Settings** | ||
412 | |||
413 | Enable HMI Ethernet in [Project Settings]; | ||
414 | |||
415 | {{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"]] | ||
416 | |||
417 | Set PLC IP in [Device IP] settings; | ||
418 | |||
419 | {{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"]] | ||
420 | |||
421 | **✎Note:** | ||
422 | |||
423 | * The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. | ||
424 | * 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. | ||
425 | |||
426 | **Cable Wiring** | ||
427 | |||
428 | {{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"]] | ||
429 | |||
430 | == {{id name="cke_bm_25456S"/}}{{id name="HLOGOEthernet"/}}** LOGO Ethernet** == | ||
431 | |||
432 | Supported Series: Siemens Logo 0BA0, 0BA1 series | ||
433 | |||
434 | **HMI Settings** | ||
435 | |||
436 | |**Items**|**Settings**|**Note** | ||
437 | |Protocol|Siemens LOGO| | ||
438 | |Connection|Ethernet| | ||
439 | |Port No.|102| | ||
440 | |PLC station No.|2| | ||
441 | |||
442 | **Address List** | ||
443 | |||
444 | |**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address** | ||
445 | |1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0 | ||
446 | |2|VB|Byte|0-1469|DB1.DBX0.0|0x000000 | ||
447 | |3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000 | ||
448 | |4|VW|Word|0-1468|DB1.DBX0.0|0x000000 | ||
449 | |5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0 | ||
450 | |6|NAI|Word|1-64|DB1.DBX1262.0|0x002770 | ||
451 | |7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0 | ||
452 | |8|AQ|Word|1-16|DB1.DBX1072.0|0x002180 | ||
453 | |9|AI|Word|1-16|DB1.DBX1032.0|0x002040 | ||
454 | |10|I|Bit|1-64|DB1.DBX1024.0|0x002000 | ||
455 | |11|Q|Bit|1-64|DB1.DBX1064.0|0x002140 | ||
456 | |12|M|Bit|1-112|DB1.DBX1104.0|0x002280 | ||
457 | |13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0 | ||
458 | |14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70 | ||
459 | |15|V|Bit|0-14697|DB1.DBX0.0|0x000000 | ||
460 | |||
461 | **PLC Settings in LOGO Software:** | ||
462 | |||
463 | Click [Tools]~-~-[Ethernet Connections],shown as below. | ||
464 | |||
465 | {{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"]] | ||
466 | |||
467 | Set Ethernet connection parameter. IP, Subnet Mask, shown as below. | ||
468 | |||
469 | {{id name="Iimage-20221228142937-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_316247e0130c4c55.png||alt="image-20221228142937-4.png" height="484" width="366"]] | ||
470 | |||
471 | **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. | ||
472 | |||
473 | {{id name="Iimage-20221228143047-5.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_facc6ee1af05162f.png||alt="image-20221228143047-5.png" height="626" width="1088"]] | ||
474 | |||
475 | **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. | ||
476 | |||
477 | {{id name="Iimage-20221228143246-6.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d43d2b7b2599ee64.png||alt="image-20221228143246-6.png" height="698" width="688"]] | ||
478 | |||
479 | **HMI Communication Settings** | ||
480 | |||
481 | Set PLC IP in [Device IP] settings; | ||
482 | |||
483 | {{id name="Iimage-20221228143614-7.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_58cea5198cb7c78a.png||alt="image-20221228143614-7.png" height="706" width="909"]] | ||
484 | |||
485 | Enable HMI Ethernet in [Project Settings]; | ||
486 | |||
487 | {{id name="Iimage-20221228144229-9.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7904cd9b484f6634.png||alt="image-20221228144229-9.png" height="451" width="793"]] | ||
488 | |||
489 | TSAP setting | ||
490 | |||
491 | * 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. | ||
492 | * HSW10118/HSW1200 = local TSAP of HMI, this is remote TSAP of PLC. | ||
493 | * HSW10119/HSW1201 = Remote TSAP of HMI, this is local TSAP of PLC. | ||
494 | * PI, PI+, i series (1.0 system): use HSW10118, HSW10119. | ||
495 | ie, ig series: use HSW1200, HSW1201. | ||
496 | HMI V2.0: use HSW1200, HSW1201. | ||
497 | |||
498 | **✎Note:** | ||
499 | |||
500 | * 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. | ||
501 | * HSW10119/HSW1201 is set up as shown. | ||
502 | * {{id name="Iimage-20221228144800-11.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c518682b5f97ac1b.png||alt="image-20221228144800-11.png" height="144" width="538"]] | ||
503 | * {{id name="Iimage-20221228144708-10.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_885bd6754ccb5593.png||alt="image-20221228144708-10.png" height="127" width="537"]] | ||
504 | |||
505 | * AI word address and Ibit address are read-only and cannot be written on HMI. | ||
506 | * 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. | ||
507 | * VD address should be multiple of 4, because it occupies two VW addresses, such as VD0, VD4, VD8... | ||
508 | * Written value of RTC cannot exceed 255. | ||
509 | |||
510 | **Cable Wiring** | ||
511 | |||
512 | {{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"]] | ||
513 | |||
514 | == {{id name="HS7-30028WithPCAdapter29"/}}**S7-300(With PC Adapter)** == | ||
515 | |||
516 | **HMI Setting:** | ||
517 | |||
518 | |=**Parameters**|=**Recommended**|=**Options**|=**Notes** | ||
519 | |=**PLC type**|(% colspan="2" %)SIEMENS S7-300 (with PC Adapter)| | ||
520 | |=**PLC I/F**|RS232| | | ||
521 | |=**Baud rate**|19200|9600,19200| | ||
522 | |=**Data bits**|8| | | ||
523 | |=**Parity**|Odd| | | ||
524 | |=**Stop bits**|1| | | ||
525 | |=**PLC sta. no.**|2| |Must be same as the PLC setting. | ||
526 | |||
527 | **Device Address** | ||
528 | |||
529 | |=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo** | ||
530 | |=Bit|I|DDDDo|0 ~~ 40957|Input (I) | ||
531 | |=Bit|Q|DDDDo|0 ~~ 40957|Output (O) | ||
532 | |=Bit|M|DDDDo|0 ~~ 40957|Bit Memory | ||
533 | |=Word|DB1 to DB99|DDDDDo|0 ~~ 655327| | ||
534 | |=Word|IW|DDDD|0 ~~ 4095|Input (I) | ||
535 | |=Word|QW|DDDD|0 ~~ 4095|Output (O) | ||
536 | |=Word|MW|DDDD|0 ~~ 4095|Bit Memory | ||
537 | |=Double word|MD|DDDD|0 ~~ 4094| | ||
538 | |=Double word|DBDn|FFFFFDDDD|0 ~~ 655359999|Data Register Double Word (must be even) | ||
539 | |=Byte|MB|DDDD|0 ~~ 4095|Bit Memory Byte | ||
540 | |||
541 | **Cable Wiring** | ||
542 | |||
543 | {{id name="Iimage-20221010102051-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_77dc63b5c3645636.png||alt="image-20221010102051-1.png" height="239" width="395"]] |