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