Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -594,9 +594,9 @@ 594 594 |N|ffff|N0 ~~ FFFF 595 595 |F|ffff|F0 ~~ FFFF 596 596 597 -= (% id="cke_bm_43878S" style="display:none" %)** **(%%)**Siemens** = 597 += Create communication with (% id="cke_bm_43878S" style="display:none" %)** **(%%)**Siemens** = 598 598 599 -== **S7-200 Smart 599 +== **S7-200 Smart Ethernet Protocol** == 600 600 601 601 Supported Series: Siemens S7-200 SMART Series Ethernet Module. 602 602 ... ... @@ -687,7 +687,7 @@ 687 687 (% style="text-align:center" %) 688 688 [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 689 689 690 -== **S7-300 Ethernet** == 690 +== **S7-300 Ethernet Protocol** == 691 691 692 692 Supported Series: Siemens S7-300 series PLC 693 693 ... ... @@ -763,7 +763,7 @@ 763 763 (% style="text-align:center" %) 764 764 [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 765 765 766 -== **S7-1200 766 +== **S7-1200 Ethernet Protocol** == 767 767 768 768 Supported Series: Siemens S7-1200 769 769 ... ... @@ -922,13 +922,8 @@ 922 922 (% style="text-align:center" %) 923 923 [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 924 924 925 -== == 925 +== **S7-XXX Ethernet Protocol** == 926 926 927 -(% style="text-align:center" %) 928 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 929 - 930 -== **S7-XXX Ethernet** == 931 - 932 932 Supported Series: Siemens S7-400, S7-1200 and S7-1500 933 933 934 934 **HMI Setting** ... ... @@ -1053,7 +1053,7 @@ 1053 1053 1054 1054 [[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"]] 1055 1055 1056 -== (% id="cke_bm_25456S" style="display:none" %)** **(%%)**LOGO Ethernet** == 1051 +== (% id="cke_bm_25456S" style="display:none" %)** **(%%)**LOGO Ethernet Protocol** == 1057 1057 1058 1058 Supported Series: Siemens Logo 0BA0 series 1059 1059 ... ... @@ -1146,10 +1146,11 @@ 1146 1146 1147 1147 **Cable Wiring** 1148 1148 1144 +[[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"]] 1149 1149 1150 1150 = Create communication with **Mitsubishi** = 1151 1151 1152 -== **FX1S, 1N, 2N Series** == 1148 +== **FX1S, 1N, 2N Series Protocol** == 1153 1153 1154 1154 Supported Series: Mitsubishi FX1S, FX1N, FX2N series 1155 1155 ... ... @@ -1202,7 +1202,7 @@ 1202 1202 1203 1203 **✎Note:** COM3 only available in PI8000/PI9000 series. 1204 1204 1205 -== **FX5U Ethernet** == 1201 +== **FX5U Ethernet Protocol** == 1206 1206 1207 1207 Mitsubishi FX5U series PLC 1208 1208 ... ... @@ -1281,7 +1281,7 @@ 1281 1281 (% style="text-align:center" %) 1282 1282 [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 1283 1283 1284 -== **FX5U Serial Port** == 1280 +== **FX5U Serial Port Protocol** == 1285 1285 1286 1286 Mitsubishi FX5U series PLC 1287 1287 ... ... @@ -1373,7 +1373,7 @@ 1373 1373 1374 1374 **✎Note:** COM3 only available in PI8000/PI9000 series. 1375 1375 1376 -== **L02 MELSEC (Ethernet)** == 1372 +== **L02 MELSEC (Ethernet) Protocol** == 1377 1377 1378 1378 Mitsubishi Q series CPU built-in Ethernet port. 1379 1379 ... ... @@ -1458,7 +1458,7 @@ 1458 1458 (% style="text-align:center" %) 1459 1459 [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 1460 1460 1461 -== **QJ71E71 MELSEC** == 1457 +== **QJ71E71 MELSEC Protocol** == 1462 1462 1463 1463 Mitsubishi QJ71E71 Ethernet communication module; 1464 1464 ... ... @@ -2223,559 +2223,6 @@ 2223 2223 2224 2224 **✎Note:** COM3 only available in PI8000/PI9000 series. 2225 2225 2226 -= **Siemens** = 2227 - 2228 -== **S7-200 Smart Ethernet** == 2229 - 2230 -Supported Series: Siemens S7-200 SMART Series Ethernet Module. 2231 - 2232 -Website: [[http:~~/~~/www.siemens.com/entry/cc/en/>>url:http://www.siemens.com/entry/cc/en/]] 2233 - 2234 -**HMI Setting** 2235 - 2236 -(% class="table-bordered" %) 2237 -|**Items**|**Settings**|**Note** 2238 -|Protocol|Simens S7-200 Smart Ethernet| 2239 -|Connection|Ethernet| 2240 -|Port No.|102| 2241 -|PLC station No.|2| 2242 - 2243 -**Address List** 2244 - 2245 -(% class="table-bordered" %) 2246 -|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** 2247 -|(% rowspan="9" %)Bit|I|I|I ddddd.o|0.0~~99999.7| 2248 -|Q|Q|Q ddddd.o|0.0~~99999.7| 2249 -|V|VWbit|VWbit ddddd.o|0.0~~99999.7| 2250 -|V|V|V ddddd.o|0.0~~99999.7| 2251 -|M|M|M ddddd.o|0.0~~99999.7| 2252 -|SM|SM|ddddd.o|0.0~~99999.7| 2253 -|S|S|ddddd.o|0.0~~99999.7|Read only 2254 -|T|T|ddddd|0~~99999|Timer state, read only 2255 -|C|C|ddddd|0~~99999|Counter state, read only 2256 -|(% rowspan="12" %)Word|I|IW|IW ddddd|0~~99999| 2257 -|Q|QW|QW ddddd|0~~99999| 2258 -|AI|AIW|AIW ddddd|0~~99999| 2259 -|AQ|VB|VB ddddd|0~~99999| 2260 -|V|VW|VW ddddd|0~~99998|((( 2261 -VW0=VB (0~~1) 2262 - 2263 -VW2=VB (2~~3) 2264 - 2265 -Address value is a multiple of 2 2266 -))) 2267 -|V|VD|VD ddddd|0~~99998|((( 2268 -VD0=VB (0~~3) 2269 - 2270 -VD2=VB (4~~7) 2271 - 2272 -Address value is a multiple of 4 2273 -))) 2274 -|M|MB|MB ddddd|0~~99999| 2275 -|M|MW|MW ddddd|0~~99999|((( 2276 -MW0=MB(0~~1) 2277 - 2278 -MW2=MB(2~~3) 2279 - 2280 -Address value is a multiple of 2 2281 -))) 2282 -|M|MD|MD ddddd|0~~99999|((( 2283 -MD0=MB(0~~3) 2284 - 2285 -MD4=MB(4~~7) 2286 - 2287 -Address value is a multiple of 4 2288 -))) 2289 -|T|TW|TW ddddd|0~~99999|Value of timer 2290 -|C|CW|CW ddddd|0~~99999|Value of counter 2291 -|W|SW|SW ddddd|0~~99999| 2292 - 2293 -**Communication Settings** 2294 - 2295 -Enable HMI Ethernet in [Project Settings]; 2296 - 2297 -(% style="text-align:center" %) 2298 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2299 - 2300 -Set PLC IP in [Device IP] settings; 2301 - 2302 -(% style="text-align:center" %) 2303 -[[image:12.PLC Protocol_html_70b0c4c2ee21b10d.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]] 2304 - 2305 -* PLC IP Address: PLC IP 2306 -* PLC pot No.: 102(fixed) 2307 -* Network:TCP_Client_2N(fixed) 2308 - 2309 -(% style="text-align:center" %) 2310 -[[image:12.PLC Protocol_html_5891afd92901b7ad.png||data-xwiki-image-style-alignment="center" height="276" width="347" class="img-thumbnail"]] 2311 - 2312 -* Wait timeout: depend on actual network situation (more than 1500 ms) 2313 - 2314 -**Cable Wiring** 2315 - 2316 -(% style="text-align:center" %) 2317 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2318 - 2319 -== **S7-300 Ethernet** == 2320 - 2321 -Supported Series: Siemens S7-300 series PLC 2322 - 2323 -**HMI Setting** 2324 - 2325 -(% class="table-bordered" %) 2326 -|**Items**|**Settings**|**Note** 2327 -|Protocol|Simens S7-300 Ethernet| 2328 -|Connection|Ethernet| 2329 -|Port No.|102| 2330 -|PLC station No.|2|Need to be same as the PLC setting 2331 - 2332 -**Address List** 2333 - 2334 -(% class="table-bordered" %) 2335 -|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** 2336 -|(% rowspan="4" %)Bit|I|I|I ddddd.o|0.0~~99999.7| 2337 -|Q|Q|Q ddddd.o|0.0~~99999.7| 2338 -|M|M|M ddddd.o|0.0~~99999.7| 2339 -|DB0.DB~~DB99.DB|DBxDBD|DBxDB nndddd.o|0.0~~99999999.7|((( 2340 -nn: block number; 2341 - 2342 -dddd: address; 2343 -))) 2344 -|(% rowspan="8" %)Word|I|IW|IW ddddd|0~~99999| 2345 -|Q|QW|QW ddddd|0~~99999| 2346 -|(% rowspan="3" %)M|MB|MB ddddd|0~~99999| 2347 -|MW|MW ddddd|0~~99999|((( 2348 -MW0=MB(0~~1) 2349 - 2350 -MW2=MB(2~~3) 2351 - 2352 -Address value is a multiple of 2 2353 -))) 2354 -|MD|MD ddddd|0~~99999|((( 2355 -MD0=MB(0~~3) 2356 - 2357 -MD4=MB(4~~7) 2358 - 2359 -Address value is a multiple of 4 2360 -))) 2361 -|(% rowspan="3" %)DB0.DB~~DB99.DB|DBxDBB|DBxDBB nndddd|0~~99999999|(% rowspan="3" %)((( 2362 -nn: block number; 2363 - 2364 -dddd: address 2365 -))) 2366 -|DBxDBW|DBxDBW nndddd|0~~99999999 2367 -|DBxDBD|DBxDBD nndddd|0~~99999999 2368 - 2369 -**Communication Settings** 2370 - 2371 -Enable HMI Ethernet in [Project Settings]; 2372 - 2373 -(% style="text-align:center" %) 2374 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2375 - 2376 -Set PLC IP in [Device IP] settings; 2377 - 2378 -(% style="text-align:center" %) 2379 -[[image:12.PLC Protocol_html_910b1a0aa9e2201c.png||data-xwiki-image-style-alignment="center" height="188" width="554" class="img-thumbnail"]] 2380 - 2381 -* PLC IP Address: PLC IP 2382 -* PLC pot No.: 102(fixed) 2383 -* Network:TCP_Client_2N(fixed) 2384 - 2385 -(% style="text-align:center" %) 2386 -[[image:12.PLC Protocol_html_5891afd92901b7ad.png||data-xwiki-image-style-alignment="center" height="276" width="347" class="img-thumbnail"]] 2387 - 2388 -* Wait timeout: depend on actual network situation (more than 1500 ms) 2389 - 2390 -**Cable Wiring** 2391 - 2392 -(% style="text-align:center" %) 2393 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2394 - 2395 -== **S7-1200 Ethernet** == 2396 - 2397 -Supported Series: Siemens S7-1200 2398 - 2399 -**HMI Setting** 2400 - 2401 -(% class="table-bordered" %) 2402 -|**Items**|**Settings**|**Note** 2403 -|Protocol|Siemens S7-1200| 2404 -|Connection|Ethernet| 2405 -|Port No.|102| 2406 -|PLC station No.|2| 2407 - 2408 -**Address List** 2409 - 2410 -(% class="table-bordered" %) 2411 -|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** 2412 -|(% rowspan="4" %)Bit|I|I|M d.o|((( 2413 -d:0~-~-9999 2414 - 2415 -o:0-7 2416 -)))| 2417 -|Q|Q|Q d.o|((( 2418 -d:0~-~-9999 2419 - 2420 -o:0-7 2421 -)))| 2422 -|M|M|M d.o|((( 2423 -d:0~-~-9999 2424 - 2425 -o:0-7 2426 -)))| 2427 -|DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|((( 2428 -nn:0-9999, 2429 - 2430 -dddd:0-9999, 2431 - 2432 -o:0-7 2433 -)))|((( 2434 -nn:DB No. 2435 - 2436 -dddd:address value 2437 - 2438 -o: digit address 2439 -))) 2440 -|(% rowspan="8" %)Word|M|MB|MB d|d:0-99999| 2441 -|M|MW|MW d|d:0-99999|((( 2442 -MW0=MB(0~~1) 2443 - 2444 -MW2=MB(2~~3) 2445 - 2446 -Address value is a multiple of 2 2447 -))) 2448 -|M|MD|MD d|d:0-99999|((( 2449 -MD0=MB(0~~3) 2450 - 2451 -MD4=MB(4~~7) 2452 - 2453 -Address value is a multiple of 4 2454 -))) 2455 -|I|IW|IW d|d:0-99999| 2456 -|Q|QW|QW d|d:0-99999| 2457 -|DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|((( 2458 -nn:0-9999 2459 - 2460 -dddd:0-9999 2461 -)))|((( 2462 -nn:DB No. 2463 - 2464 -dddd:address value 2465 -))) 2466 -|DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|((( 2467 -nn:0-9999 2468 - 2469 -dddd:0-9999 2470 -)))|((( 2471 -nn:DB No. 2472 - 2473 -dddd:address value 2474 - 2475 -Address value is a multiple of 2 2476 -))) 2477 -|DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|((( 2478 -nn:0-9999 2479 - 2480 -dddd:0-9999 2481 -)))|((( 2482 -nn:DB No. 2483 - 2484 -dddd:address value 2485 - 2486 -Address value is a multiple of 4 2487 -))) 2488 - 2489 -**Communication Settings** 2490 - 2491 -Enable HMI Ethernet in [Project Settings]; 2492 - 2493 -(% style="text-align:center" %) 2494 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2495 - 2496 -Set PLC IP in [Device IP] settings; 2497 - 2498 -(% style="text-align:center" %) 2499 -[[image:12.PLC Protocol_html_f7b3eb9abda33833.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] 2500 - 2501 -**✎Note:** 2502 - 2503 -* The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. 2504 -* 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. 2505 - 2506 -**PLC Settings** 2507 - 2508 -Add BD 2509 - 2510 -* Please uncheck [Symbolic access only] option; 2511 - 2512 -(% style="text-align:center" %) 2513 -[[image:12.PLC Protocol_html_643144c591994418.png||data-xwiki-image-style-alignment="center" height="546" width="550" class="img-thumbnail"]] 2514 - 2515 -Address settings, using BD2 as example. 2516 - 2517 -* DB×DBB2xxxx, DB×DBW2xxxx, DB×DBD2xxxx for accessing data of DB2 in B1. 2518 -* 2 represent DB block number 2519 -* xxxx represent address 2520 - 2521 -**Such as:** 2522 - 2523 -* DBxDBB20000 = DB2.DBB0 2524 -* DBxDBW20004 = DB2.DBW4 2525 - 2526 -(% style="text-align:center" %) 2527 -[[image:12.PLC Protocol_html_87ceaea84d552e62.png||data-xwiki-image-style-alignment="center" height="245" width="537" class="img-thumbnail"]] 2528 - 2529 -**How to connect with S7-1200 Firmware V4.0** 2530 - 2531 -PLC configuration 2532 - 2533 -* Double click [device configuration] in Siemens via software 2534 -* Double click [protection] to enter protection configuration screen 2535 - 2536 -(% style="text-align:center" %) 2537 -[[image:12.PLC Protocol_html_9779940d38da8e07.png||data-xwiki-image-style-alignment="center" height="426" width="341" class="img-thumbnail"]] 2538 - 2539 -* Check [Permit access with PUT / GET communication from remote partner (PLC, HMI, OPC, ...)] 2540 - 2541 -(% style="text-align:center" %) 2542 -[[image:12.PLC Protocol_html_d2c667b02f9720b1.png||data-xwiki-image-style-alignment="center" height="296" width="554" class="img-thumbnail"]] 2543 - 2544 -DB settings 2545 - 2546 -* Right click [DB], select [properties] 2547 -* Uncheck [optimized block access] 2548 - 2549 -**Cable Wiring** 2550 - 2551 -(% style="text-align:center" %) 2552 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2553 - 2554 -== **LOGO Ethernet** == 2555 - 2556 -Supported Series: Siemens Logo 0BA0 series 2557 - 2558 -**HMI Settings** 2559 - 2560 -(% class="table-bordered" %) 2561 -|**Items**|**Settings**|**Note** 2562 -|Protocol|Siemens LOGO| 2563 -|Connection|Ethernet| 2564 -|Port No.|102| 2565 -|PLC station No.|2| 2566 - 2567 -**Address List** 2568 - 2569 -(% class="table-bordered" %) 2570 -|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address** 2571 -|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0 2572 -|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000 2573 -|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000 2574 -|4|VW|Word|0-1468|DB1.DBX0.0|0x000000 2575 -|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0 2576 -|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770 2577 -|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0 2578 -|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180 2579 -|9|AI|Word|1-16|DB1.DBX1032.0|0x002040 2580 -|10|I|Bit|1-64|DB1.DBX1024.0|0x002000 2581 -|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140 2582 -|12|M|Bit|1-112|DB1.DBX1104.0|0x002280 2583 -|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0 2584 -|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70 2585 -|15|V|Bit|0-14697|DB1.DBX0.0|0x000000 2586 - 2587 -**PLC Settings in LOGO Software:** 2588 - 2589 -Click [Tools]~-~-[Ethernet Connections],shown as below. 2590 - 2591 -(% style="text-align:center" %) 2592 -[[image:12.PLC Protocol_html_8b9d2322edf89519.png||data-xwiki-image-style-alignment="center" height="641" width="423" class="img-thumbnail"]] 2593 - 2594 -Set Ethernet connection parameter. IP, Subnet Mask, shown as below. 2595 - 2596 -(% style="text-align:center" %) 2597 -[[image:12.PLC Protocol_html_6c4dd041b26cd8a1.png||data-xwiki-image-style-alignment="center" height="481" width="363" class="img-thumbnail"]] 2598 - 2599 -**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. 2600 - 2601 -(% style="text-align:center" %) 2602 -[[image:12.PLC Protocol_html_7af2611d3790a77d.png||data-xwiki-image-style-alignment="center" height="359" width="426" class="img-thumbnail"]] 2603 - 2604 -**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. 2605 - 2606 -(% style="text-align:center" %) 2607 -[[image:12.PLC Protocol_html_3243e4cd600595cc.png||data-xwiki-image-style-alignment="center" height="368" width="554" class="img-thumbnail"]] 2608 - 2609 - 2610 -(% style="text-align:center" %) 2611 -[[image:12.PLC Protocol_html_cb1d92e2cc91a8db.png||data-xwiki-image-style-alignment="center" height="320" width="553" class="img-thumbnail"]] 2612 - 2613 - 2614 -**HMI Communication Settings** 2615 - 2616 -Set PLC IP in [Device IP] settings; 2617 - 2618 -(% style="text-align:center" %) 2619 -[[image:SiemensLOGODeviceIP.png]] 2620 - 2621 -Enable HMI Ethernet in [Project Settings]; 2622 - 2623 -(% style="text-align:center" %) 2624 -[[image:12.PLC Protocol_html_95917a3d92068467.png||data-xwiki-image-style-alignment="center" height="311" width="553" class="img-thumbnail"]] 2625 - 2626 -TSAP setting 2627 - 2628 -* 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. 2629 -* HSW10118 = local TSAP of HMI, this is remote TSAP of PLC. 2630 -* HSW10119 = Remote TSAP of HMI, this is local TSAP of PLC. 2631 - 2632 -**✎Note:** 2633 - 2634 -* The data of TSAP is hexadecimal format. For example: the remote TSAP configured in the PLC is set to 20.00, then HSW10118 should be set to 0x2000, that is, HSW10118 = 8192. 2635 - 2636 -(% style="text-align:center" %) 2637 -[[image:12.PLC Protocol_html_5c6374b21f46e01e.png||data-xwiki-image-style-alignment="center" height="139" width="498" class="img-thumbnail"]] 2638 - 2639 - 2640 -* AI word address and Ibit address are read-only and cannot be written on HMI. 2641 -* VW address should be even number.such as VW0, VW2, VW4... 2642 -* VD address it takes two VW addresses.such as VD0,VD4,VD8... 2643 -* Written value of RTC cannot exceed 255. 2644 - 2645 -**Cable Wiring** 2646 - 2647 -(% style="text-align:center" %) 2648 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2649 - 2650 -== **S7-XXX Ethernet** == 2651 - 2652 -Supported Series: Siemens S7-400, S7-1200 and S7-1500 2653 - 2654 -**HMI Setting** 2655 - 2656 -(% class="table-bordered" style="width:823px" %) 2657 -|=**Items**|=(% style="width: 437px;" %)**Settings**|=(% style="width: 201px;" %)**Note** 2658 -|Protocol|(% style="width:437px" %)Siemens S7-XXX|(% style="width:201px" %) 2659 -|Connection|(% style="width:437px" %)Ethernet|(% style="width:201px" %) 2660 -|Port No.|(% style="width:437px" %)102|(% style="width:201px" %) 2661 -|Device No.|(% style="width:437px" %)Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)|(% style="width:201px" %) 2662 -|HMI No.|(% style="width:437px" %)Rack (Default as 0)|(% style="width:201px" %) 2663 - 2664 -Slot from TIA Portal is equal to Device No. of PIStudio 2665 - 2666 -Rack from TIA Portal is equal to HMI No. of PIStudio 2667 - 2668 -(% style="text-align:center" %) 2669 -[[image:S7-XXXCommunication Settings.png]] 2670 - 2671 -(% style="text-align:center" %) 2672 -[[image:S7-XXXCommunication SettingsPIStudio.png||alt="S7-XXXCommunication SettingsPI.png"]] 2673 - 2674 -**Address List** 2675 - 2676 -(% class="table-bordered" %) 2677 -|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** 2678 -|(% rowspan="4" %)Bit|I|I|M d.o|((( 2679 -d:0~-~-9999 2680 - 2681 -o:0-7 2682 -)))| 2683 -|Q|Q|Q d.o|((( 2684 -d:0~-~-9999 2685 - 2686 -o:0-7 2687 -)))| 2688 -|M|M|M d.o|((( 2689 -d:0~-~-9999 2690 - 2691 -o:0-7 2692 -)))| 2693 -|DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|((( 2694 -nn:0-9999, 2695 - 2696 -dddd:0-9999, 2697 - 2698 -o:0-7 2699 -)))|((( 2700 -nn:DB No. 2701 - 2702 -dddd:address value 2703 - 2704 -o: digit address 2705 -))) 2706 -|(% rowspan="8" %)Word|M|MB|MB d|d:0-99999| 2707 -|M|MW|MW d|d:0-99999|((( 2708 -MW0=MB(0~~1) 2709 - 2710 -MW2=MB(2~~3) 2711 - 2712 -Address value is a multiple of 2 2713 -))) 2714 -|M|MD|MD d|d:0-99999|((( 2715 -MD0=MB(0~~3) 2716 - 2717 -MD4=MB(4~~7) 2718 - 2719 -Address value is a multiple of 4 2720 -))) 2721 -|I|IW|IW d|d:0-99999| 2722 -|Q|QW|QW d|d:0-99999| 2723 -|DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|((( 2724 -nn:0-9999 2725 - 2726 -dddd:0-9999 2727 -)))|((( 2728 -nn:DB No. 2729 - 2730 -dddd:address value 2731 -))) 2732 -|DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|((( 2733 -nn:0-9999 2734 - 2735 -dddd:0-9999 2736 -)))|((( 2737 -nn:DB No. 2738 - 2739 -dddd:address value 2740 - 2741 -Address value is a multiple of 2 2742 -))) 2743 -|DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|((( 2744 -nn:0-9999 2745 - 2746 -dddd:0-9999 2747 -)))|((( 2748 -nn:DB No. 2749 - 2750 -dddd:address value 2751 - 2752 -Address value is a multiple of 4 2753 -))) 2754 - 2755 -**Communication Settings** 2756 - 2757 -Enable HMI Ethernet in [Project Settings]; 2758 - 2759 -(% style="text-align:center" %) 2760 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-rounded img-thumbnail"]] 2761 - 2762 -Set PLC IP in [Device IP] settings; 2763 - 2764 -(% style="text-align:center" %) 2765 -[[image:12.PLC Protocol_html_f7b3eb9abda33833.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] 2766 - 2767 -**✎Note:** 2768 - 2769 -* The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. 2770 -* 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. 2771 - 2772 -**Cable Wiring** 2773 - 2774 -{{id name="OLE_LINK8"/}} 2775 - 2776 -(% style="text-align:center" %) 2777 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2778 - 2779 2779 = **User Defined Protocol** = 2780 2780 2781 2781 If the device does not support MODBUS standard, and the protocol is not list in PIStudio, then user can define the protocol by following instruction to realize simply communication functions like sending and receiving commands.