Changes for page 12 PLC Protocol OLD

Last modified by Mora Zhou on 2024/12/05 14:53

From version 81.1
edited by Ben
on 2022/08/29 14:21
Change comment: There is no comment for this version
To version 76.1
edited by Ben
on 2022/08/29 14:17
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -399,6 +399,7 @@
399 399  
400 400  (% id="cke_bm_147709S" style="display:none" %) (%%)This example introduces the establishment of Ethernet communication between Wecon HMI and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring.
401 401  
402 +
402 402  **Software configuration of PLC**
403 403  
404 404  **1)PLC programming software**
... ... @@ -470,6 +470,7 @@
470 470  
471 471  = Create communication with **Rockwell PLC** =
472 472  
474 +
473 473  == **MicroLogix Protocol** ==
474 474  
475 475  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
... ... @@ -585,15 +585,264 @@
585 585  |(% style="width:393px" %)B|(% style="width:350px" %)fff.dd|(% style="width:333px" %)B 000.0 ~~ fff.15
586 586  |(% style="width:393px" %)S|(% style="width:350px" %)dd.dd|(% style="width:333px" %)S 0.0 ~~ 255.15
587 587  |(% style="width:393px" %)N|(% style="width:350px" %)ffff.dd|(% style="width:333px" %)N 000.0 ~~ fff.15
588 -|**PLC word address type**|**Address format**|**Address range**
589 -|S|ddd|S0 ~~ 255
590 -|TS|ffff|TS0 ~~ FFFF
591 -|TP|ffff|TP0 ~~ FFFF
592 -|CS|ffff|CS0 ~~ FFFF
593 -|CP|ffff|CP0 ~~ FFFF
594 -|N|ffff|N0 ~~ FFFF
595 -|F|ffff|F0 ~~ FFFF
590 +|(% style="width:393px" %)**PLC word address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range**
591 +|(% style="width:393px" %)S|(% style="width:350px" %)ddd|(% style="width:333px" %)S0 ~~ 255
592 +|(% style="width:393px" %)TS|(% style="width:350px" %)ffff|(% style="width:333px" %)TS0 ~~ FFFF
593 +|(% style="width:393px" %)TP|(% style="width:350px" %)ffff|(% style="width:333px" %)TP0 ~~ FFFF
594 +|(% style="width:393px" %)CS|(% style="width:350px" %)ffff|(% style="width:333px" %)CS0 ~~ FFFF
595 +|(% style="width:393px" %)CP|(% style="width:350px" %)ffff|(% style="width:333px" %)CP0 ~~ FFFF
596 +|(% style="width:393px" %)N|(% style="width:350px" %)ffff|(% style="width:333px" %)N0 ~~ FFFF
597 +|(% style="width:393px" %)F|(% style="width:350px" %)ffff|(% style="width:333px" %)F0 ~~ FFFF
596 596  
599 += **Hitachi EHV Series (Ethernet)** =
600 +
601 +Supported series: Hitachi EHV series
602 +
603 +**HMI Settings**
604 +
605 +(% class="table-bordered" %)
606 +|**Items**|**Settings**|**Note**
607 +|Protocol|Hitachi EHV series|
608 +|Connection|Ethernet|
609 +|Port No.|3004~~3007|
610 +
611 +**Address List**
612 +
613 +(% class="table-bordered" %)
614 +|**Type**|**Register**|**Range**|**Format**|**Note**
615 +|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD|
616 +|M|0 - 7FFF.f (Hex)|M HHHH.h|
617 +|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)(((
618 +H1H2H3H4 Module main number
619 +
620 +H1: Remote number
621 +
622 +H2: Unit number
623 +
624 +H3: Slot number
625 +
626 +H4: Word number of Module
627 +
628 +H Sub number of Module
629 +
630 +For example:X21.3
631 +
632 +Slot number 2
633 +
634 +Word number of module is 1
635 +
636 +Bit number of module is 3
637 +
638 +Remote number and unit number are 0
639 +)))
640 +|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h
641 +|R|0 – FF.f (Hex)|R HH.h|
642 +|L|0 - 73FF.f (Hex)|L HHHH.h|
643 +|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH|
644 +|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)(((
645 +H1H2H3H4 Module main number
646 +
647 +H1: Remote number
648 +
649 +H2: Unit number
650 +
651 +H3: Slot number
652 +
653 +H4: Word number of module
654 +
655 +For example:WX21
656 +
657 +Word number of module is 1
658 +
659 +Slot number is 2
660 +
661 +Remote number and unit number are 0
662 +)))
663 +|WY|0 – FFFF (Hex)|WY H1H2H3H4
664 +|WR|0 – FFFF (Hex)|WR HHHH|
665 +|WL|0 - 73FF (Hex)|WL HHHH|
666 +|TC|0 - 2559|TC DDDD|
667 +
668 +**Communication settings in HMI**
669 +
670 +Enable HMI Ethernet in [Project Settings];
671 +
672 +(% style="text-align:center" %)
673 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
674 +
675 +Set PLC IP in [Device IP] settings;
676 +
677 +(% style="text-align:center" %)
678 +[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
679 +
680 +**PLC Configuration**
681 +
682 +Connect with PLC, select[Online mode];
683 +
684 +(% style="text-align:center" %)
685 +[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]]
686 +
687 +Set IP address, it is the same LAN parameters with HMI;
688 +
689 +(% style="text-align:center" %)
690 +[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]]
691 +
692 +3) Save PLC communication parameter, and restart PLC
693 +
694 +**PLC Monitor Mode**
695 +
696 +Connect with PLC and choose to “online” mode
697 +
698 +(% style="text-align:center" %)
699 +[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]]
700 +
701 +Open I/O monitor sheet1
702 +
703 +(% style="text-align:center" %)
704 +[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]]
705 +
706 +During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
707 +
708 +(% style="text-align:center" %)
709 +[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]
710 +
711 +Enter the register address, click OK to view the value of the register.
712 +
713 +(% style="text-align:center" %)
714 +[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
715 +
716 +(% style="text-align:center" %)
717 +[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
718 +
719 +**✎Note:**
720 +
721 +* Both word registers and bit registers support even continuous read/write functions;
722 +* The range of registers is based on the specific PLC type;
723 +
724 +**Cable Wiring**
725 +
726 +(% style="text-align:center" %)
727 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
728 +
729 += **IEC60870-5 104 Client** =
730 +
731 +**HMI Setting**
732 +
733 +(% class="table-bordered" %)
734 +|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note**
735 +|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %)
736 +|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %)
737 +|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %)
738 +
739 +**Address List**
740 +
741 +(% class="table-bordered" %)
742 +|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range**
743 +|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7
744 +|(% style="width:461px" %)SCNA|0~~16777215.7
745 +|(% style="width:461px" %)DPTB|0~~16777215.7
746 +|(% style="width:461px" %)DCNA|0~~16777215.7
747 +|(% style="width:461px" %)METF|0~~16777215.7
748 +|(% style="width:461px" %)SENC|0~~16777215.7
749 +|(% style="width:461px" %)SENA|0~~16777215.7
750 +|(% style="width:461px" %)MENA|0~~16777215.7
751 +|(% style="width:461px" %)METD|0~~16777215.7
752 +|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215
753 +|(% style="width:461px" %)SCNA|0~~16777215
754 +|(% style="width:461px" %)DPTB|0~~16777215
755 +|(% style="width:461px" %)DCNA|0~~16777215
756 +|(% style="width:461px" %)SENA|0~~16777215
757 +|(% style="width:461px" %)MENA|0~~16777215
758 +|(% style="width:461px" %)METD|0~~16777215
759 +|(% style="width:461px" %)INRO|0~~16777215
760 +|(% style="width:461px" %)TIMESYN|0~~16777215
761 +|(% style="width:461px" %)TIMEZ|0~~16777215
762 +|(% style="width:461px" %)NTP|0~~16777215
763 +|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215
764 +|(% style="width:461px" %)SENC|0~~16777215
765 +
766 +**Address Configuration**
767 +
768 +The address registers of the IEC60870-5-104 protocol are SPTB, SCNA, DPTB, DCNA, METF, and SENC. The protocol needs to be added with an extension tag "ASDU", which could only be added in the [Address Identification Library], other places are not editable, that is, the read address in the object or script is not editable.
769 +
770 +(% style="text-align:center" %)
771 +[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]
772 +
773 +(% style="text-align:center" %)
774 +[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]]
775 +
776 +Extended tag name
777 +
778 +Address range for the extended tag.
779 +
780 +**Communication Settings**
781 +
782 +Enable HMI Ethernet in [Project Settings];
783 +
784 +(% style="text-align:center" %)
785 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
786 +
787 +Set PLC IP in [Device IP] settings;
788 +
789 +(% style="text-align:center" %)
790 +[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]]
791 +
792 +**Cable Wiring**
793 +
794 +(% style="text-align:center" %)
795 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
796 +
797 += **LG XGK FEnet Ethernet** =
798 +
799 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
800 +
801 +**HMI Settings**
802 +
803 +(% class="table-bordered" %)
804 +|**Items**|**Settings**|**Note**
805 +|Protocol|LG XGK FEnet(Ethernet)|
806 +|Connection|Ethernet|
807 +|Port No.|2004|
808 +
809 +**Address List**
810 +
811 +(% class="table-bordered" %)
812 +|**Type**|**Register**|**Range**|**Format**|**Note**
813 +|(% rowspan="14" %)Word|P|0~~2047|P d|
814 +|M|0~~2047|M d|
815 +|K|0~~2047|K d|
816 +|F|0~~2047|F d|
817 +|T|0~~2047|T d|
818 +|C|0~~2047|C d|
819 +|Z|0~~127|Z d|
820 +|S|0~~127|S d|
821 +|L|0~~11263|L d|
822 +|N|0~~21503|N d|
823 +|D|0~~32767|D d|
824 +|R|0~~32767|R d|
825 +|ZR|0~~65535|ZR d|
826 +|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
827 +
828 +**✎Note:**
829 +
830 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
831 +* The [UxDD] register, defined in the PLC is Ux.dd, x represents the block, and dd represents 0-31 of each block. There are 64 blocks in the PLC;
832 +* All bit registers are in the form of bits in word, and the range is the same as the word register;
833 +
834 +**Communication settings in HMI**
835 +
836 +Enable HMI Ethernet in [Project Settings];
837 +
838 +(% style="text-align:center" %)
839 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
840 +
841 +Set PLC IP in [Device IP] settings;
842 +
843 +(% style="text-align:center" %)
844 +[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
845 +
846 +**Cable Wiring**
847 +
597 597  = **Mitsubishi** =
598 598  
599 599  == **FX1S, 1N, 2N Series** ==
... ... @@ -2597,254 +2597,3 @@
2597 2597  * The protocol uploads the information acquired by the USB scanner to the HMI;
2598 2598  * The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object;
2599 2599  * Recommended model: DELI 14880 barcode scanner;
2600 -
2601 -= **Hitachi EHV Series (Ethernet)** =
2602 -
2603 -Supported series: Hitachi EHV series
2604 -
2605 -**HMI Settings**
2606 -
2607 -(% class="table-bordered" %)
2608 -|**Items**|**Settings**|**Note**
2609 -|Protocol|Hitachi EHV series|
2610 -|Connection|Ethernet|
2611 -|Port No.|3004~~3007|
2612 -
2613 -**Address List**
2614 -
2615 -(% class="table-bordered" %)
2616 -|**Type**|**Register**|**Range**|**Format**|**Note**
2617 -|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD|
2618 -|M|0 - 7FFF.f (Hex)|M HHHH.h|
2619 -|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)(((
2620 -H1H2H3H4 Module main number
2621 -
2622 -H1: Remote number
2623 -
2624 -H2: Unit number
2625 -
2626 -H3: Slot number
2627 -
2628 -H4: Word number of Module
2629 -
2630 -H Sub number of Module
2631 -
2632 -For example:X21.3
2633 -
2634 -Slot number 2
2635 -
2636 -Word number of module is 1
2637 -
2638 -Bit number of module is 3
2639 -
2640 -Remote number and unit number are 0
2641 -)))
2642 -|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h
2643 -|R|0 – FF.f (Hex)|R HH.h|
2644 -|L|0 - 73FF.f (Hex)|L HHHH.h|
2645 -|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH|
2646 -|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)(((
2647 -H1H2H3H4 Module main number
2648 -
2649 -H1: Remote number
2650 -
2651 -H2: Unit number
2652 -
2653 -H3: Slot number
2654 -
2655 -H4: Word number of module
2656 -
2657 -For example:WX21
2658 -
2659 -Word number of module is 1
2660 -
2661 -Slot number is 2
2662 -
2663 -Remote number and unit number are 0
2664 -)))
2665 -|WY|0 – FFFF (Hex)|WY H1H2H3H4
2666 -|WR|0 – FFFF (Hex)|WR HHHH|
2667 -|WL|0 - 73FF (Hex)|WL HHHH|
2668 -|TC|0 - 2559|TC DDDD|
2669 -
2670 -**Communication settings in HMI**
2671 -
2672 -Enable HMI Ethernet in [Project Settings];
2673 -
2674 -(% style="text-align:center" %)
2675 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2676 -
2677 -Set PLC IP in [Device IP] settings;
2678 -
2679 -(% style="text-align:center" %)
2680 -[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
2681 -
2682 -**PLC Configuration**
2683 -
2684 -Connect with PLC, select[Online mode];
2685 -
2686 -(% style="text-align:center" %)
2687 -[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]]
2688 -
2689 -Set IP address, it is the same LAN parameters with HMI;
2690 -
2691 -(% style="text-align:center" %)
2692 -[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]]
2693 -
2694 -3) Save PLC communication parameter, and restart PLC
2695 -
2696 -**PLC Monitor Mode**
2697 -
2698 -Connect with PLC and choose to “online” mode
2699 -
2700 -(% style="text-align:center" %)
2701 -[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]]
2702 -
2703 -Open I/O monitor sheet1
2704 -
2705 -(% style="text-align:center" %)
2706 -[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]]
2707 -
2708 -During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
2709 -
2710 -(% style="text-align:center" %)
2711 -[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]
2712 -
2713 -Enter the register address, click OK to view the value of the register.
2714 -
2715 -(% style="text-align:center" %)
2716 -[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
2717 -
2718 -(% style="text-align:center" %)
2719 -[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
2720 -
2721 -**✎Note:**
2722 -
2723 -* Both word registers and bit registers support even continuous read/write functions;
2724 -* The range of registers is based on the specific PLC type;
2725 -
2726 -**Cable Wiring**
2727 -
2728 -(% style="text-align:center" %)
2729 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2730 -
2731 -= **IEC60870-5 104 Client** =
2732 -
2733 -**HMI Setting**
2734 -
2735 -(% class="table-bordered" %)
2736 -|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note**
2737 -|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %)
2738 -|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %)
2739 -|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %)
2740 -
2741 -**Address List**
2742 -
2743 -(% class="table-bordered" %)
2744 -|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range**
2745 -|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7
2746 -|(% style="width:461px" %)SCNA|0~~16777215.7
2747 -|(% style="width:461px" %)DPTB|0~~16777215.7
2748 -|(% style="width:461px" %)DCNA|0~~16777215.7
2749 -|(% style="width:461px" %)METF|0~~16777215.7
2750 -|(% style="width:461px" %)SENC|0~~16777215.7
2751 -|(% style="width:461px" %)SENA|0~~16777215.7
2752 -|(% style="width:461px" %)MENA|0~~16777215.7
2753 -|(% style="width:461px" %)METD|0~~16777215.7
2754 -|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215
2755 -|(% style="width:461px" %)SCNA|0~~16777215
2756 -|(% style="width:461px" %)DPTB|0~~16777215
2757 -|(% style="width:461px" %)DCNA|0~~16777215
2758 -|(% style="width:461px" %)SENA|0~~16777215
2759 -|(% style="width:461px" %)MENA|0~~16777215
2760 -|(% style="width:461px" %)METD|0~~16777215
2761 -|(% style="width:461px" %)INRO|0~~16777215
2762 -|(% style="width:461px" %)TIMESYN|0~~16777215
2763 -|(% style="width:461px" %)TIMEZ|0~~16777215
2764 -|(% style="width:461px" %)NTP|0~~16777215
2765 -|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215
2766 -|(% style="width:461px" %)SENC|0~~16777215
2767 -
2768 -**Address Configuration**
2769 -
2770 -The address registers of the IEC60870-5-104 protocol are SPTB, SCNA, DPTB, DCNA, METF, and SENC. The protocol needs to be added with an extension tag "ASDU", which could only be added in the [Address Identification Library], other places are not editable, that is, the read address in the object or script is not editable.
2771 -
2772 -(% style="text-align:center" %)
2773 -[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]
2774 -
2775 -(% style="text-align:center" %)
2776 -[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]]
2777 -
2778 -Extended tag name
2779 -
2780 -Address range for the extended tag.
2781 -
2782 -**Communication Settings**
2783 -
2784 -Enable HMI Ethernet in [Project Settings];
2785 -
2786 -(% style="text-align:center" %)
2787 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2788 -
2789 -Set PLC IP in [Device IP] settings;
2790 -
2791 -(% style="text-align:center" %)
2792 -[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]]
2793 -
2794 -**Cable Wiring**
2795 -
2796 -(% style="text-align:center" %)
2797 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2798 -
2799 -= **LG XGK FEnet Ethernet** =
2800 -
2801 -Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2802 -
2803 -**HMI Settings**
2804 -
2805 -(% class="table-bordered" %)
2806 -|**Items**|**Settings**|**Note**
2807 -|Protocol|LG XGK FEnet(Ethernet)|
2808 -|Connection|Ethernet|
2809 -|Port No.|2004|
2810 -
2811 -**Address List**
2812 -
2813 -(% class="table-bordered" %)
2814 -|**Type**|**Register**|**Range**|**Format**|**Note**
2815 -|(% rowspan="14" %)Word|P|0~~2047|P d|
2816 -|M|0~~2047|M d|
2817 -|K|0~~2047|K d|
2818 -|F|0~~2047|F d|
2819 -|T|0~~2047|T d|
2820 -|C|0~~2047|C d|
2821 -|Z|0~~127|Z d|
2822 -|S|0~~127|S d|
2823 -|L|0~~11263|L d|
2824 -|N|0~~21503|N d|
2825 -|D|0~~32767|D d|
2826 -|R|0~~32767|R d|
2827 -|ZR|0~~65535|ZR d|
2828 -|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
2829 -
2830 -**✎Note:**
2831 -
2832 -* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
2833 -* The [UxDD] register, defined in the PLC is Ux.dd, x represents the block, and dd represents 0-31 of each block. There are 64 blocks in the PLC;
2834 -* All bit registers are in the form of bits in word, and the range is the same as the word register;
2835 -
2836 -**Communication settings in HMI**
2837 -
2838 -Enable HMI Ethernet in [Project Settings];
2839 -
2840 -(% style="text-align:center" %)
2841 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2842 -
2843 -Set PLC IP in [Device IP] settings;
2844 -
2845 -(% style="text-align:center" %)
2846 -[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
2847 -
2848 -**Cable Wiring**
2849 -
2850 -[[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"]]