Changes for page 12 PLC Protocol OLD

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

From version 68.1
edited by Ben
on 2022/08/29 14:09
Change comment: There is no comment for this version
To version 82.1
edited by Ben
on 2022/08/29 14:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -231,7 +231,8 @@
231 231  * HMI setting: [[https:~~/~~/docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/>>https://docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/]]
232 232  * PLC setting: [[https:~~/~~/docs.we-con.com.cn/bin/view/PLC%20Editor/8.1.%09Communication/>>https://docs.we-con.com.cn/bin/view/PLC%20Editor/8.1.%09Communication/]]
233 233  
234 -== PLC settings ==
234 +(% class="wikigeneratedid" id="HPLCsettings" %)
235 +**PLC settings**
235 235  
236 236  **Download PLC Software**
237 237  
... ... @@ -398,7 +398,6 @@
398 398  
399 399  (% 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.
400 400  
401 -
402 402  **Software configuration of PLC**
403 403  
404 404  **1)PLC programming software**
... ... @@ -468,69 +468,10 @@
468 468  
469 469  The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
470 470  
471 -= =
471 += Create communication with **Rockwell PLC** =
472 472  
473 -= **Allen-Bradley** =
473 +== **MicroLogix Protocol** ==
474 474  
475 -== **FreeTag Ethernet/IP (CompactLogix)** ==
476 -
477 -Allen-Brandly CompactLogix
478 -
479 -**HMI Settings**
480 -
481 -(% class="table-bordered" %)
482 -|**Items**|**Settings**|**Note**
483 -|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)|
484 -|Connection|Ethernet|
485 -|Port No.|44818|
486 -
487 -**PLC Setting**
488 -
489 -Create new tags
490 -
491 -(% style="text-align:center" %)
492 -[[image:12.PLC Protocol_html_a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]]
493 -
494 -Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])
495 -
496 -(% style="text-align:center" %)
497 -[[image:12.PLC Protocol_html_151379170bb8ff3e.png||data-xwiki-image-style-alignment="center" height="352" width="700" class="img-thumbnail"]]
498 -
499 -Import labels, please open [Communication] window and click [Import label];
500 -
501 -Select csv file, all tags will be displayed as belows;
502 -
503 -(% style="text-align:center" %)
504 -[[image:12.PLC Protocol_html_af192e54dee96f38.png||data-xwiki-image-style-alignment="center" height="586" width="700" class="img-thumbnail"]]
505 -
506 -**✎Note:**
507 -
508 -Because in different region, the separation symbol is different, we suggest you check this before you want to import your tags. To open csv file as text format.
509 -
510 -(% style="text-align:center" %)
511 -[[image:12.PLC Protocol_html_33df1d63ebe53726.png||data-xwiki-image-style-alignment="center" height="206" width="700" class="img-thumbnail"]]
512 -
513 -The directory of changing system settings: [Control Panel] -> [Date, Time, Language,and Regional Options] -> [Change the format of numbers, dates, and times]->[Customize]-> [List separator]. Please select [,] and export CSV file after setting.
514 -
515 -**Communication settings in HMI**
516 -
517 -Enable HMI Ethernet in [Project Settings];
518 -
519 -(% style="text-align:center" %)
520 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]]
521 -
522 -Set PLC IP in [Device IP] settings;
523 -
524 -(% style="text-align:center" %)
525 -[[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]]
526 -
527 -**Cable Wiring**
528 -
529 -(% style="text-align:center" %)
530 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]]
531 -
532 -== **MicroLogix** ==
533 -
534 534  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
535 535  
536 536  **HMI Settings**
... ... @@ -566,317 +566,95 @@
566 566  
567 567  **Cable Wiring**
568 568  
510 +
569 569  (% style="text-align:center" %)
570 570  [[image:12.PLC Protocol_html_58205bdf82c06d4.png||data-xwiki-image-style-alignment="center" height="307" width="500" class="img-thumbnail"]]
571 571  
572 -== **AB PLC address edit** ==
514 +== **FreeTag Ethernet/IP (CompactLogix)** ==
573 573  
574 -The operational address is determined by the connection of Allen-Bradley PLC to HMI. For extension modules or other special conditions, refer to allen-Bradley PLC instruction manual. The following is an example of allen-bradley MicroLogix1200.
516 +Allen-Brandly CompactLogix
575 575  
576 -* **Bit address I:** The address ranges from 0.0 to 255.15. The value of the data before the decimal point ranges from 0 to 255 (decimal). The value from 0 to 15 after the decimal point is the sub address (decimal).
577 -* **Bit address B:** The address ranges from 000.0 to fff.15. The first f from left to right represents the block number (hexadecimal); The second and third f from left to right represent the word address (hexadecimal). The value 0 to 15 after the decimal point reprensents the sub address (decimal).
578 -* **Word address S:** The word address ranges from 0 to 255 (decimal).
579 -* **Word address TS:** The address ranges from 000.0 to ffff. The first and second f from left to right represents the block number (hexadecimal); The third and fourth f from left to right represent the word address (hexadecimal).
580 -
581 -**✎Note: **Register address TP, CS, CP, N, F and TS address edit are same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table.
582 -
583 -|(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range**
584 -|(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15
585 -|(% style="width:393px" %)O|(% style="width:350px" %)dd.dd|(% style="width:333px" %)O 0.0 ~~ 255.15
586 -|(% style="width:393px" %)B|(% style="width:350px" %)fff.dd|(% style="width:333px" %)B 000.0 ~~ fff.15
587 -|(% style="width:393px" %)S|(% style="width:350px" %)dd.dd|(% style="width:333px" %)S 0.0 ~~ 255.15
588 -|(% style="width:393px" %)N|(% style="width:350px" %)ffff.dd|(% style="width:333px" %)N 000.0 ~~ fff.15
589 -|(% style="width:393px" %)**PLC word address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range**
590 -|(% style="width:393px" %)S|(% style="width:350px" %)ddd|(% style="width:333px" %)S0 ~~ 255
591 -|(% style="width:393px" %)TS|(% style="width:350px" %)ffff|(% style="width:333px" %)TS0 ~~ FFFF
592 -|(% style="width:393px" %)TP|(% style="width:350px" %)ffff|(% style="width:333px" %)TP0 ~~ FFFF
593 -|(% style="width:393px" %)CS|(% style="width:350px" %)ffff|(% style="width:333px" %)CS0 ~~ FFFF
594 -|(% style="width:393px" %)CP|(% style="width:350px" %)ffff|(% style="width:333px" %)CP0 ~~ FFFF
595 -|(% style="width:393px" %)N|(% style="width:350px" %)ffff|(% style="width:333px" %)N0 ~~ FFFF
596 -|(% style="width:393px" %)F|(% style="width:350px" %)ffff|(% style="width:333px" %)F0 ~~ FFFF
597 -
598 -= **Barcode Scanner** =
599 -
600 -Supported: DELI 14880 barcode scanner
601 -
602 -**HMI Setting**
603 -
604 -(% class="table-bordered" %)
605 -|**Items**|**Settings**|**Note**
606 -|Protocol|Barcode Scanner|
607 -|Connection|USB|
608 -
609 -**Operating Procedures**
610 -
611 -Select [Barcode Scanner];
612 -
613 -(% style="text-align:center" %)
614 -[[image:12.PLC Protocol_html_55a3056357320966.png||data-xwiki-image-style-alignment="center" height="266" width="600" class="img-thumbnail"]]
615 -
616 -Set address for receiving;
617 -
618 -Set correct length;
619 -
620 -(% style="text-align:center" %)
621 -[[image:12.PLC Protocol_html_30a4c9e9dd4db40b.png||data-xwiki-image-style-alignment="center" height="701" width="500" class="img-thumbnail"]]
622 -
623 -**✎Note:**
624 -
625 -* The protocol uploads the information acquired by the USB scanner to the HMI;
626 -* The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object;
627 -* Recommended model: DELI 14880 barcode scanner;
628 -
629 -= **Hitachi EHV Series (Ethernet)** =
630 -
631 -Supported series: Hitachi EHV series
632 -
633 633  **HMI Settings**
634 634  
635 635  (% class="table-bordered" %)
636 636  |**Items**|**Settings**|**Note**
637 -|Protocol|Hitachi EHV series|
522 +|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)|
638 638  |Connection|Ethernet|
639 -|Port No.|3004~~3007|
524 +|Port No.|44818|
640 640  
641 -**Address List**
526 +**PLC Setting**
642 642  
643 -(% class="table-bordered" %)
644 -|**Type**|**Register**|**Range**|**Format**|**Note**
645 -|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD|
646 -|M|0 - 7FFF.f (Hex)|M HHHH.h|
647 -|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)(((
648 -H1H2H3H4 Module main number
528 +Create new tags
649 649  
650 -H1: Remote number
651 -
652 -H2: Unit number
653 -
654 -H3: Slot number
655 -
656 -H4: Word number of Module
657 -
658 -H Sub number of Module
659 -
660 -For example:X21.3
661 -
662 -Slot number 2
663 -
664 -Word number of module is 1
665 -
666 -Bit number of module is 3
667 -
668 -Remote number and unit number are 0
669 -)))
670 -|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h
671 -|R|0 – FF.f (Hex)|R HH.h|
672 -|L|0 - 73FF.f (Hex)|L HHHH.h|
673 -|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH|
674 -|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)(((
675 -H1H2H3H4 Module main number
676 -
677 -H1: Remote number
678 -
679 -H2: Unit number
680 -
681 -H3: Slot number
682 -
683 -H4: Word number of module
684 -
685 -For example:WX21
686 -
687 -Word number of module is 1
688 -
689 -Slot number is 2
690 -
691 -Remote number and unit number are 0
692 -)))
693 -|WY|0 – FFFF (Hex)|WY H1H2H3H4
694 -|WR|0 – FFFF (Hex)|WR HHHH|
695 -|WL|0 - 73FF (Hex)|WL HHHH|
696 -|TC|0 - 2559|TC DDDD|
697 -
698 -**Communication settings in HMI**
699 -
700 -Enable HMI Ethernet in [Project Settings];
701 -
702 702  (% style="text-align:center" %)
703 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
531 +[[image:12.PLC Protocol_html_a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]]
704 704  
705 -Set PLC IP in [Device IP] settings;
533 +Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])
706 706  
707 707  (% style="text-align:center" %)
708 -[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
536 +[[image:12.PLC Protocol_html_151379170bb8ff3e.png||data-xwiki-image-style-alignment="center" height="352" width="700" class="img-thumbnail"]]
709 709  
710 -**PLC Configuration**
538 +Import labels, please open [Communication] window and click [Import label];
711 711  
712 -Connect with PLC, select[Online mode];
540 +Select csv file, all tags will be displayed as belows;
713 713  
714 714  (% style="text-align:center" %)
715 -[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]]
543 +[[image:12.PLC Protocol_html_af192e54dee96f38.png||data-xwiki-image-style-alignment="center" height="586" width="700" class="img-thumbnail"]]
716 716  
717 -Set IP address, it is the same LAN parameters with HMI;
718 -
719 -(% style="text-align:center" %)
720 -[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]]
721 -
722 -3) Save PLC communication parameter, and restart PLC
723 -
724 -**PLC Monitor Mode**
725 -
726 -Connect with PLC and choose to “online” mode
727 -
728 -(% style="text-align:center" %)
729 -[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]]
730 -
731 -Open I/O monitor sheet1
732 -
733 -(% style="text-align:center" %)
734 -[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]]
735 -
736 -During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
737 -
738 -(% style="text-align:center" %)
739 -[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]
740 -
741 -Enter the register address, click OK to view the value of the register.
742 -
743 -(% style="text-align:center" %)
744 -[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
745 -
746 -(% style="text-align:center" %)
747 -[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
748 -
749 749  **✎Note:**
750 750  
751 -* Both word registers and bit registers support even continuous read/write functions;
752 -* The range of registers is based on the specific PLC type;
547 +Because in different region, the separation symbol is different, we suggest you check this before you want to import your tags. To open csv file as text format.
753 753  
754 -**Cable Wiring**
755 -
756 756  (% style="text-align:center" %)
757 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
550 +[[image:12.PLC Protocol_html_33df1d63ebe53726.png||data-xwiki-image-style-alignment="center" height="206" width="700" class="img-thumbnail"]]
758 758  
759 -= **IEC60870-5 104 Client** =
552 +The directory of changing system settings: [Control Panel] -> [Date, Time, Language,and Regional Options] -> [Change the format of numbers, dates, and times]->[Customize]-> [List separator]. Please select [,] and export CSV file after setting.
760 760  
761 -**HMI Setting**
554 +**Communication settings in HMI**
762 762  
763 -(% class="table-bordered" %)
764 -|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note**
765 -|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %)
766 -|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %)
767 -|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %)
768 -
769 -**Address List**
770 -
771 -(% class="table-bordered" %)
772 -|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range**
773 -|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7
774 -|(% style="width:461px" %)SCNA|0~~16777215.7
775 -|(% style="width:461px" %)DPTB|0~~16777215.7
776 -|(% style="width:461px" %)DCNA|0~~16777215.7
777 -|(% style="width:461px" %)METF|0~~16777215.7
778 -|(% style="width:461px" %)SENC|0~~16777215.7
779 -|(% style="width:461px" %)SENA|0~~16777215.7
780 -|(% style="width:461px" %)MENA|0~~16777215.7
781 -|(% style="width:461px" %)METD|0~~16777215.7
782 -|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215
783 -|(% style="width:461px" %)SCNA|0~~16777215
784 -|(% style="width:461px" %)DPTB|0~~16777215
785 -|(% style="width:461px" %)DCNA|0~~16777215
786 -|(% style="width:461px" %)SENA|0~~16777215
787 -|(% style="width:461px" %)MENA|0~~16777215
788 -|(% style="width:461px" %)METD|0~~16777215
789 -|(% style="width:461px" %)INRO|0~~16777215
790 -|(% style="width:461px" %)TIMESYN|0~~16777215
791 -|(% style="width:461px" %)TIMEZ|0~~16777215
792 -|(% style="width:461px" %)NTP|0~~16777215
793 -|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215
794 -|(% style="width:461px" %)SENC|0~~16777215
795 -
796 -**Address Configuration**
797 -
798 -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.
799 -
800 -(% style="text-align:center" %)
801 -[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]
802 -
803 -(% style="text-align:center" %)
804 -[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]]
805 -
806 -Extended tag name
807 -
808 -Address range for the extended tag.
809 -
810 -**Communication Settings**
811 -
812 812  Enable HMI Ethernet in [Project Settings];
813 813  
814 814  (% style="text-align:center" %)
815 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
559 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]]
816 816  
817 817  Set PLC IP in [Device IP] settings;
818 818  
819 819  (% style="text-align:center" %)
820 -[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]]
564 +[[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]]
821 821  
822 822  **Cable Wiring**
823 823  
824 824  (% style="text-align:center" %)
825 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
569 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]]
826 826  
827 -= **LG XGK FEnet Ethernet** =
571 +== **AB PLC address edit** ==
828 828  
829 -Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
573 +The operational address is determined by the connection of Allen-Bradley PLC to HMI. For extension modules or other special conditions, refer to allen-Bradley PLC instruction manual. The following is an example of allen-bradley MicroLogix1200.
830 830  
831 -**HMI Settings**
575 +* **Bit address I:** The address ranges from 0.0 to 255.15. The value of the data before the decimal point ranges from 0 to 255 (decimal). The value from 0 to 15 after the decimal point is the sub address (decimal).
576 +* **Bit address B:** The address ranges from 000.0 to fff.15. The first f from left to right represents the block number (hexadecimal); The second and third f from left to right represent the word address (hexadecimal). The value 0 to 15 after the decimal point reprensents the sub address (decimal).
577 +* **Word address S:** The word address ranges from 0 to 255 (decimal).
578 +* **Word address TS:** The address ranges from 000.0 to ffff. The first and second f from left to right represents the block number (hexadecimal); The third and fourth f from left to right represent the word address (hexadecimal).
832 832  
833 -(% class="table-bordered" %)
834 -|**Items**|**Settings**|**Note**
835 -|Protocol|LG XGK FEnet(Ethernet)|
836 -|Connection|Ethernet|
837 -|Port No.|2004|
580 +**✎Note: **Register address TP, CS, CP, N, F and TS address edit are same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table.
838 838  
839 -**Address List**
582 +|(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range**
583 +|(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15
584 +|(% style="width:393px" %)O|(% style="width:350px" %)dd.dd|(% style="width:333px" %)O 0.0 ~~ 255.15
585 +|(% style="width:393px" %)B|(% style="width:350px" %)fff.dd|(% style="width:333px" %)B 000.0 ~~ fff.15
586 +|(% style="width:393px" %)S|(% style="width:350px" %)dd.dd|(% style="width:333px" %)S 0.0 ~~ 255.15
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
840 840  
841 -(% class="table-bordered" %)
842 -|**Type**|**Register**|**Range**|**Format**|**Note**
843 -|(% rowspan="14" %)Word|P|0~~2047|P d|
844 -|M|0~~2047|M d|
845 -|K|0~~2047|K d|
846 -|F|0~~2047|F d|
847 -|T|0~~2047|T d|
848 -|C|0~~2047|C d|
849 -|Z|0~~127|Z d|
850 -|S|0~~127|S d|
851 -|L|0~~11263|L d|
852 -|N|0~~21503|N d|
853 -|D|0~~32767|D d|
854 -|R|0~~32767|R d|
855 -|ZR|0~~65535|ZR d|
856 -|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
597 += Create communication with **Mitsubishi** =
857 857  
858 -**✎Note:**
859 -
860 -* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
861 -* 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;
862 -* All bit registers are in the form of bits in word, and the range is the same as the word register;
863 -
864 -**Communication settings in HMI**
865 -
866 -Enable HMI Ethernet in [Project Settings];
867 -
868 -(% style="text-align:center" %)
869 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
870 -
871 -Set PLC IP in [Device IP] settings;
872 -
873 -(% style="text-align:center" %)
874 -[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
875 -
876 -**Cable Wiring**
877 -
878 -= **Mitsubishi** =
879 -
880 880  == **FX1S, 1N, 2N Series** ==
881 881  
882 882  Supported Series: Mitsubishi FX1S, FX1N, FX2N series
... ... @@ -2648,8 +2648,6 @@
2648 2648  
2649 2649  **✎Note:** COM3 only available in PI8000/PI9000 series.
2650 2650  
2651 -= =
2652 -
2653 2653  = **Printer** =
2654 2654  
2655 2655  == **TSPL label printer** ==
... ... @@ -2850,3 +2850,284 @@
2850 2850  
2851 2851  (% style="text-align:center" %)
2852 2852  [[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]]
2570 +
2571 += **Barcode Scanner** =
2572 +
2573 +Supported: DELI 14880 barcode scanner
2574 +
2575 +**HMI Setting**
2576 +
2577 +|**Items**|**Settings**|**Note**
2578 +|Protocol|Barcode Scanner|
2579 +|Connection|USB|
2580 +
2581 +**Operating Procedures**
2582 +
2583 +Select [Barcode Scanner];
2584 +
2585 +(% style="text-align:center" %)
2586 +[[image:12.PLC Protocol_html_55a3056357320966.png||data-xwiki-image-style-alignment="center" height="266" width="600" class="img-thumbnail"]]
2587 +
2588 +Set address for receiving;
2589 +
2590 +Set correct length;
2591 +
2592 +(% style="text-align:center" %)
2593 +[[image:12.PLC Protocol_html_30a4c9e9dd4db40b.png||data-xwiki-image-style-alignment="center" height="701" width="500" class="img-thumbnail"]]
2594 +
2595 +**✎Note:**
2596 +
2597 +* The protocol uploads the information acquired by the USB scanner to the HMI;
2598 +* The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object;
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"]]