Changes for page 1 Communication
Last modified by Hunter on 2024/07/01 10:54
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -493,6 +493,131 @@ 493 493 494 494 [[download link>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communicate%20with%20S7-1200%20via%20Ehernet.zip]] 495 495 496 +== ** S7-XXX Ethernet** == 497 + 498 +Supported Series: Siemens S7-400, S7-1200 and S7-1500 499 + 500 +**HMI Setting** 501 + 502 +|=**Items**|=**Settings**|=**Note** 503 +|Protocol|Siemens S7-XXX| 504 +|Connection|Ethernet| 505 +|Port No.|102| 506 +|Device No.|Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)| 507 +|HMI No.|Rack (Default as 0)| 508 + 509 +Slot from TIA Portal is equal to Device No. of PIStudio 510 + 511 +Rack from TIA Portal is equal to HMI No. of PIStudio 512 + 513 +(% style="text-align:center" %) 514 +[[image:S7-XXXCommunication Settings.png]] 515 + 516 +(% style="text-align:center" %) 517 +[[image:S7-XXXCommunication SettingsPIStudio.png||alt="S7-XXXCommunication SettingsPI.png"]] 518 + 519 +**Address List** 520 + 521 +|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** 522 +|(% rowspan="4" %)Bit|I|I|M d.o|((( 523 +d:0~-~-9999 524 + 525 +o:0-7 526 +)))| 527 +|Q|Q|Q d.o|((( 528 +d:0~-~-9999 529 + 530 +o:0-7 531 +)))| 532 +|M|M|M d.o|((( 533 +d:0~-~-9999 534 + 535 +o:0-7 536 +)))| 537 +|DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|((( 538 +nn:0-9999, 539 + 540 +dddd:0-9999, 541 + 542 +o:0-7 543 +)))|((( 544 +nn:DB No. 545 + 546 +dddd:address value 547 + 548 +o: digit address 549 +))) 550 +|(% rowspan="8" %)Word|M|MB|MB d|d:0-99999| 551 +|M|MW|MW d|d:0-99999|((( 552 +MW0=MB(0~~1) 553 + 554 +MW2=MB(2~~3) 555 + 556 +Address value is a multiple of 2 557 +))) 558 +|M|MD|MD d|d:0-99999|((( 559 +MD0=MB(0~~3) 560 + 561 +MD4=MB(4~~7) 562 + 563 +Address value is a multiple of 4 564 +))) 565 +|I|IW|IW d|d:0-99999| 566 +|Q|QW|QW d|d:0-99999| 567 +|DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|((( 568 +nn:0-9999 569 + 570 +dddd:0-9999 571 +)))|((( 572 +nn:DB No. 573 + 574 +dddd:address value 575 +))) 576 +|DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|((( 577 +nn:0-9999 578 + 579 +dddd:0-9999 580 +)))|((( 581 +nn:DB No. 582 + 583 +dddd:address value 584 + 585 +Address value is a multiple of 2 586 +))) 587 +|DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|((( 588 +nn:0-9999 589 + 590 +dddd:0-9999 591 +)))|((( 592 +nn:DB No. 593 + 594 +dddd:address value 595 + 596 +Address value is a multiple of 4 597 +))) 598 + 599 +**Communication Settings** 600 + 601 +Enable HMI Ethernet in [Project Settings]; 602 + 603 +(% style="text-align:center" %) 604 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-rounded img-thumbnail"]] 605 + 606 +Set PLC IP in [Device IP] settings; 607 + 608 +(% style="text-align:center" %) 609 +[[image:12.PLC Protocol_html_f7b3eb9abda33833.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] 610 + 611 +**✎Note:** 612 + 613 +* The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. 614 +* 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. 615 + 616 +**Cable Wiring** 617 + 618 +{{id name="OLE_LINK8"/}} 619 + 620 + 496 496 = **Mitsubishi PLC** = 497 497 498 498 == **Mitsubishi FX Series Protocol** ==