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