Changes for page 12 PLC Protocol OLD

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

From version 66.1
edited by Ben
on 2022/08/29 14:06
Change comment: There is no comment for this version
To version 78.1
edited by Ben
on 2022/08/29 14:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -87,6 +87,7 @@
87 87  
88 88  = Create communication with WECON PLC =
89 89  
90 +== **LX3V Serial Protocol** ==
90 90  
91 91  Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
92 92  
... ... @@ -140,7 +140,8 @@
140 140  
141 141  [[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]]
142 142  
143 -== HMI settings ==
144 +(% class="wikigeneratedid" id="HHMIsettings" %)
145 +**HMI settings**
144 144  
145 145  **Download PIStudio Software**
146 146  
... ... @@ -229,7 +229,8 @@
229 229  * 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/]]
230 230  * 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/]]
231 231  
232 -== PLC settings ==
234 +(% class="wikigeneratedid" id="HPLCsettings" %)
235 +**PLC settings**
233 233  
234 234  **Download PLC Software**
235 235  
... ... @@ -314,7 +314,7 @@
314 314  (% style="text-align:center" %)
315 315  [[image:image-20220819105928-9.png||height="229" width="669"]]
316 316  
317 -= **HMI and Wecon LX5V serial communication** =
320 +== **LX5V Serial Protocol** ==
318 318  
319 319  This example introduces the establishment of serial port communication between Wecon HMI and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring.
320 320  
... ... @@ -392,11 +392,10 @@
392 392  
393 393  The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
394 394  
395 -== **HMI and Wecon LX5V-N Ethernet communication** ==
398 +== **LX5V-N Ethernet protocol** ==
396 396  
397 397  (% 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.
398 398  
399 -
400 400  **Software configuration of PLC**
401 401  
402 402  **1)PLC programming software**
... ... @@ -466,69 +466,10 @@
466 466  
467 467  The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
468 468  
469 -= =
471 += Create communication with **Rockwell PLC** =
470 470  
471 -= **Allen-Bradley** =
473 +== **MicroLogix Protocol** ==
472 472  
473 -== **FreeTag Ethernet/IP (CompactLogix)** ==
474 -
475 -Allen-Brandly CompactLogix
476 -
477 -**HMI Settings**
478 -
479 -(% class="table-bordered" %)
480 -|**Items**|**Settings**|**Note**
481 -|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)|
482 -|Connection|Ethernet|
483 -|Port No.|44818|
484 -
485 -**PLC Setting**
486 -
487 -Create new tags
488 -
489 -(% style="text-align:center" %)
490 -[[image:12.PLC Protocol_html_a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]]
491 -
492 -Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])
493 -
494 -(% style="text-align:center" %)
495 -[[image:12.PLC Protocol_html_151379170bb8ff3e.png||data-xwiki-image-style-alignment="center" height="352" width="700" class="img-thumbnail"]]
496 -
497 -Import labels, please open [Communication] window and click [Import label];
498 -
499 -Select csv file, all tags will be displayed as belows;
500 -
501 -(% style="text-align:center" %)
502 -[[image:12.PLC Protocol_html_af192e54dee96f38.png||data-xwiki-image-style-alignment="center" height="586" width="700" class="img-thumbnail"]]
503 -
504 -**✎Note:**
505 -
506 -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.
507 -
508 -(% style="text-align:center" %)
509 -[[image:12.PLC Protocol_html_33df1d63ebe53726.png||data-xwiki-image-style-alignment="center" height="206" width="700" class="img-thumbnail"]]
510 -
511 -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.
512 -
513 -**Communication settings in HMI**
514 -
515 -Enable HMI Ethernet in [Project Settings];
516 -
517 -(% style="text-align:center" %)
518 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]]
519 -
520 -Set PLC IP in [Device IP] settings;
521 -
522 -(% style="text-align:center" %)
523 -[[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]]
524 -
525 -**Cable Wiring**
526 -
527 -(% style="text-align:center" %)
528 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]]
529 -
530 -== **MicroLogix** ==
531 -
532 532  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
533 533  
534 534  **HMI Settings**
... ... @@ -564,315 +564,95 @@
564 564  
565 565  **Cable Wiring**
566 566  
510 +
567 567  (% style="text-align:center" %)
568 568  [[image:12.PLC Protocol_html_58205bdf82c06d4.png||data-xwiki-image-style-alignment="center" height="307" width="500" class="img-thumbnail"]]
569 569  
570 -== **AB PLC address edit** ==
514 +== **FreeTag Ethernet/IP (CompactLogix)** ==
571 571  
572 -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
573 573  
574 -* **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).
575 -* **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).
576 -* **Word address S:** The word address ranges from 0 to 255 (decimal).
577 -* **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).
578 -
579 -**✎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.
580 -
581 -|(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range**
582 -|(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15
583 -|(% style="width:393px" %)O|(% style="width:350px" %)dd.dd|(% style="width:333px" %)O 0.0 ~~ 255.15
584 -|(% style="width:393px" %)B|(% style="width:350px" %)fff.dd|(% style="width:333px" %)B 000.0 ~~ fff.15
585 -|(% style="width:393px" %)S|(% style="width:350px" %)dd.dd|(% style="width:333px" %)S 0.0 ~~ 255.15
586 -|(% style="width:393px" %)N|(% style="width:350px" %)ffff.dd|(% style="width:333px" %)N 000.0 ~~ fff.15
587 -|(% style="width:393px" %)**PLC word address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range**
588 -|(% style="width:393px" %)S|(% style="width:350px" %)ddd|(% style="width:333px" %)S0 ~~ 255
589 -|(% style="width:393px" %)TS|(% style="width:350px" %)ffff|(% style="width:333px" %)TS0 ~~ FFFF
590 -|(% style="width:393px" %)TP|(% style="width:350px" %)ffff|(% style="width:333px" %)TP0 ~~ FFFF
591 -|(% style="width:393px" %)CS|(% style="width:350px" %)ffff|(% style="width:333px" %)CS0 ~~ FFFF
592 -|(% style="width:393px" %)CP|(% style="width:350px" %)ffff|(% style="width:333px" %)CP0 ~~ FFFF
593 -|(% style="width:393px" %)N|(% style="width:350px" %)ffff|(% style="width:333px" %)N0 ~~ FFFF
594 -|(% style="width:393px" %)F|(% style="width:350px" %)ffff|(% style="width:333px" %)F0 ~~ FFFF
595 -
596 -= **Barcode Scanner** =
597 -
598 -Supported: DELI 14880 barcode scanner
599 -
600 -**HMI Setting**
601 -
602 -(% class="table-bordered" %)
603 -|**Items**|**Settings**|**Note**
604 -|Protocol|Barcode Scanner|
605 -|Connection|USB|
606 -
607 -**Operating Procedures**
608 -
609 -Select [Barcode Scanner];
610 -
611 -(% style="text-align:center" %)
612 -[[image:12.PLC Protocol_html_55a3056357320966.png||data-xwiki-image-style-alignment="center" height="266" width="600" class="img-thumbnail"]]
613 -
614 -Set address for receiving;
615 -
616 -Set correct length;
617 -
618 -(% style="text-align:center" %)
619 -[[image:12.PLC Protocol_html_30a4c9e9dd4db40b.png||data-xwiki-image-style-alignment="center" height="701" width="500" class="img-thumbnail"]]
620 -
621 -**✎Note:**
622 -
623 -* The protocol uploads the information acquired by the USB scanner to the HMI;
624 -* The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object;
625 -* Recommended model: DELI 14880 barcode scanner;
626 -
627 -= **Hitachi EHV Series (Ethernet)** =
628 -
629 -Supported series: Hitachi EHV series
630 -
631 631  **HMI Settings**
632 632  
633 633  (% class="table-bordered" %)
634 634  |**Items**|**Settings**|**Note**
635 -|Protocol|Hitachi EHV series|
522 +|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)|
636 636  |Connection|Ethernet|
637 -|Port No.|3004~~3007|
524 +|Port No.|44818|
638 638  
639 -**Address List**
526 +**PLC Setting**
640 640  
641 -(% class="table-bordered" %)
642 -|**Type**|**Register**|**Range**|**Format**|**Note**
643 -|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD|
644 -|M|0 - 7FFF.f (Hex)|M HHHH.h|
645 -|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)(((
646 -H1H2H3H4 Module main number
528 +Create new tags
647 647  
648 -H1: Remote number
649 -
650 -H2: Unit number
651 -
652 -H3: Slot number
653 -
654 -H4: Word number of Module
655 -
656 -H Sub number of Module
657 -
658 -For example:X21.3
659 -
660 -Slot number 2
661 -
662 -Word number of module is 1
663 -
664 -Bit number of module is 3
665 -
666 -Remote number and unit number are 0
667 -)))
668 -|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h
669 -|R|0 – FF.f (Hex)|R HH.h|
670 -|L|0 - 73FF.f (Hex)|L HHHH.h|
671 -|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH|
672 -|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)(((
673 -H1H2H3H4 Module main number
674 -
675 -H1: Remote number
676 -
677 -H2: Unit number
678 -
679 -H3: Slot number
680 -
681 -H4: Word number of module
682 -
683 -For example:WX21
684 -
685 -Word number of module is 1
686 -
687 -Slot number is 2
688 -
689 -Remote number and unit number are 0
690 -)))
691 -|WY|0 – FFFF (Hex)|WY H1H2H3H4
692 -|WR|0 – FFFF (Hex)|WR HHHH|
693 -|WL|0 - 73FF (Hex)|WL HHHH|
694 -|TC|0 - 2559|TC DDDD|
695 -
696 -**Communication settings in HMI**
697 -
698 -Enable HMI Ethernet in [Project Settings];
699 -
700 700  (% style="text-align:center" %)
701 -[[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"]]
702 702  
703 -Set PLC IP in [Device IP] settings;
533 +Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])
704 704  
705 705  (% style="text-align:center" %)
706 -[[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"]]
707 707  
708 -**PLC Configuration**
538 +Import labels, please open [Communication] window and click [Import label];
709 709  
710 -Connect with PLC, select[Online mode];
540 +Select csv file, all tags will be displayed as belows;
711 711  
712 712  (% style="text-align:center" %)
713 -[[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"]]
714 714  
715 -Set IP address, it is the same LAN parameters with HMI;
716 -
717 -(% style="text-align:center" %)
718 -[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]]
719 -
720 -3) Save PLC communication parameter, and restart PLC
721 -
722 -**PLC Monitor Mode**
723 -
724 -Connect with PLC and choose to “online” mode
725 -
726 -(% style="text-align:center" %)
727 -[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]]
728 -
729 -Open I/O monitor sheet1
730 -
731 -(% style="text-align:center" %)
732 -[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]]
733 -
734 -During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
735 -
736 -(% style="text-align:center" %)
737 -[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]
738 -
739 -Enter the register address, click OK to view the value of the register.
740 -
741 -(% style="text-align:center" %)
742 -[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
743 -
744 -(% style="text-align:center" %)
745 -[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
746 -
747 747  **✎Note:**
748 748  
749 -* Both word registers and bit registers support even continuous read/write functions;
750 -* 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.
751 751  
752 -**Cable Wiring**
753 -
754 754  (% style="text-align:center" %)
755 -[[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"]]
756 756  
757 -= **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.
758 758  
759 -**HMI Setting**
554 +**Communication settings in HMI**
760 760  
761 -(% class="table-bordered" %)
762 -|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note**
763 -|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %)
764 -|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %)
765 -|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %)
766 -
767 -**Address List**
768 -
769 -(% class="table-bordered" %)
770 -|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range**
771 -|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7
772 -|(% style="width:461px" %)SCNA|0~~16777215.7
773 -|(% style="width:461px" %)DPTB|0~~16777215.7
774 -|(% style="width:461px" %)DCNA|0~~16777215.7
775 -|(% style="width:461px" %)METF|0~~16777215.7
776 -|(% style="width:461px" %)SENC|0~~16777215.7
777 -|(% style="width:461px" %)SENA|0~~16777215.7
778 -|(% style="width:461px" %)MENA|0~~16777215.7
779 -|(% style="width:461px" %)METD|0~~16777215.7
780 -|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215
781 -|(% style="width:461px" %)SCNA|0~~16777215
782 -|(% style="width:461px" %)DPTB|0~~16777215
783 -|(% style="width:461px" %)DCNA|0~~16777215
784 -|(% style="width:461px" %)SENA|0~~16777215
785 -|(% style="width:461px" %)MENA|0~~16777215
786 -|(% style="width:461px" %)METD|0~~16777215
787 -|(% style="width:461px" %)INRO|0~~16777215
788 -|(% style="width:461px" %)TIMESYN|0~~16777215
789 -|(% style="width:461px" %)TIMEZ|0~~16777215
790 -|(% style="width:461px" %)NTP|0~~16777215
791 -|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215
792 -|(% style="width:461px" %)SENC|0~~16777215
793 -
794 -**Address Configuration**
795 -
796 -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.
797 -
798 -(% style="text-align:center" %)
799 -[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]
800 -
801 -(% style="text-align:center" %)
802 -[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]]
803 -
804 -Extended tag name
805 -
806 -Address range for the extended tag.
807 -
808 -**Communication Settings**
809 -
810 810  Enable HMI Ethernet in [Project Settings];
811 811  
812 812  (% style="text-align:center" %)
813 -[[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"]]
814 814  
815 815  Set PLC IP in [Device IP] settings;
816 816  
817 817  (% style="text-align:center" %)
818 -[[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"]]
819 819  
820 820  **Cable Wiring**
821 821  
822 822  (% style="text-align:center" %)
823 -[[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"]]
824 824  
825 -= **LG XGK FEnet Ethernet** =
571 +== **AB PLC address edit** ==
826 826  
827 -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.
828 828  
829 -**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).
830 830  
831 -(% class="table-bordered" %)
832 -|**Items**|**Settings**|**Note**
833 -|Protocol|LG XGK FEnet(Ethernet)|
834 -|Connection|Ethernet|
835 -|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.
836 836  
837 -**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 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %)
589 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %)
590 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %)
591 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %)
592 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %)
593 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %)
594 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %)
595 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %)
838 838  
839 -(% class="table-bordered" %)
840 -|**Type**|**Register**|**Range**|**Format**|**Note**
841 -|(% rowspan="14" %)Word|P|0~~2047|P d|
842 -|M|0~~2047|M d|
843 -|K|0~~2047|K d|
844 -|F|0~~2047|F d|
845 -|T|0~~2047|T d|
846 -|C|0~~2047|C d|
847 -|Z|0~~127|Z d|
848 -|S|0~~127|S d|
849 -|L|0~~11263|L d|
850 -|N|0~~21503|N d|
851 -|D|0~~32767|D d|
852 -|R|0~~32767|R d|
853 -|ZR|0~~65535|ZR d|
854 -|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
597 += =
855 855  
856 -**✎Note:**
857 -
858 -* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
859 -* 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;
860 -* All bit registers are in the form of bits in word, and the range is the same as the word register;
861 -
862 -**Communication settings in HMI**
863 -
864 -Enable HMI Ethernet in [Project Settings];
865 -
866 -(% style="text-align:center" %)
867 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
868 -
869 -Set PLC IP in [Device IP] settings;
870 -
871 -(% style="text-align:center" %)
872 -[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
873 -
874 -**Cable Wiring**
875 -
876 876  = **Mitsubishi** =
877 877  
878 878  == **FX1S, 1N, 2N Series** ==
... ... @@ -2646,8 +2646,6 @@
2646 2646  
2647 2647  **✎Note:** COM3 only available in PI8000/PI9000 series.
2648 2648  
2649 -= =
2650 -
2651 2651  = **Printer** =
2652 2652  
2653 2653  == **TSPL label printer** ==
... ... @@ -2848,3 +2848,282 @@
2848 2848  
2849 2849  (% style="text-align:center" %)
2850 2850  [[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]]
2572 +
2573 += **Barcode Scanner** =
2574 +
2575 +Supported: DELI 14880 barcode scanner
2576 +
2577 +**HMI Setting**
2578 +
2579 +|**Items**|**Settings**|**Note**
2580 +|Protocol|Barcode Scanner|
2581 +|Connection|USB|
2582 +
2583 +**Operating Procedures**
2584 +
2585 +Select [Barcode Scanner];
2586 +
2587 +(% style="text-align:center" %)
2588 +[[image:12.PLC Protocol_html_55a3056357320966.png||data-xwiki-image-style-alignment="center" height="266" width="600" class="img-thumbnail"]]
2589 +
2590 +Set address for receiving;
2591 +
2592 +Set correct length;
2593 +
2594 +(% style="text-align:center" %)
2595 +[[image:12.PLC Protocol_html_30a4c9e9dd4db40b.png||data-xwiki-image-style-alignment="center" height="701" width="500" class="img-thumbnail"]]
2596 +
2597 +**✎Note:**
2598 +
2599 +* The protocol uploads the information acquired by the USB scanner to the HMI;
2600 +* The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object;
2601 +* Recommended model: DELI 14880 barcode scanner;
2602 +
2603 += **Hitachi EHV Series (Ethernet)** =
2604 +
2605 +Supported series: Hitachi EHV series
2606 +
2607 +**HMI Settings**
2608 +
2609 +(% class="table-bordered" %)
2610 +|**Items**|**Settings**|**Note**
2611 +|Protocol|Hitachi EHV series|
2612 +|Connection|Ethernet|
2613 +|Port No.|3004~~3007|
2614 +
2615 +**Address List**
2616 +
2617 +(% class="table-bordered" %)
2618 +|**Type**|**Register**|**Range**|**Format**|**Note**
2619 +|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD|
2620 +|M|0 - 7FFF.f (Hex)|M HHHH.h|
2621 +|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)(((
2622 +H1H2H3H4 Module main number
2623 +
2624 +H1: Remote number
2625 +
2626 +H2: Unit number
2627 +
2628 +H3: Slot number
2629 +
2630 +H4: Word number of Module
2631 +
2632 +H Sub number of Module
2633 +
2634 +For example:X21.3
2635 +
2636 +Slot number 2
2637 +
2638 +Word number of module is 1
2639 +
2640 +Bit number of module is 3
2641 +
2642 +Remote number and unit number are 0
2643 +)))
2644 +|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h
2645 +|R|0 – FF.f (Hex)|R HH.h|
2646 +|L|0 - 73FF.f (Hex)|L HHHH.h|
2647 +|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH|
2648 +|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)(((
2649 +H1H2H3H4 Module main number
2650 +
2651 +H1: Remote number
2652 +
2653 +H2: Unit number
2654 +
2655 +H3: Slot number
2656 +
2657 +H4: Word number of module
2658 +
2659 +For example:WX21
2660 +
2661 +Word number of module is 1
2662 +
2663 +Slot number is 2
2664 +
2665 +Remote number and unit number are 0
2666 +)))
2667 +|WY|0 – FFFF (Hex)|WY H1H2H3H4
2668 +|WR|0 – FFFF (Hex)|WR HHHH|
2669 +|WL|0 - 73FF (Hex)|WL HHHH|
2670 +|TC|0 - 2559|TC DDDD|
2671 +
2672 +**Communication settings in HMI**
2673 +
2674 +Enable HMI Ethernet in [Project Settings];
2675 +
2676 +(% style="text-align:center" %)
2677 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2678 +
2679 +Set PLC IP in [Device IP] settings;
2680 +
2681 +(% style="text-align:center" %)
2682 +[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
2683 +
2684 +**PLC Configuration**
2685 +
2686 +Connect with PLC, select[Online mode];
2687 +
2688 +(% style="text-align:center" %)
2689 +[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]]
2690 +
2691 +Set IP address, it is the same LAN parameters with HMI;
2692 +
2693 +(% style="text-align:center" %)
2694 +[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]]
2695 +
2696 +3) Save PLC communication parameter, and restart PLC
2697 +
2698 +**PLC Monitor Mode**
2699 +
2700 +Connect with PLC and choose to “online” mode
2701 +
2702 +(% style="text-align:center" %)
2703 +[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]]
2704 +
2705 +Open I/O monitor sheet1
2706 +
2707 +(% style="text-align:center" %)
2708 +[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]]
2709 +
2710 +During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
2711 +
2712 +(% style="text-align:center" %)
2713 +[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]
2714 +
2715 +Enter the register address, click OK to view the value of the register.
2716 +
2717 +(% style="text-align:center" %)
2718 +[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
2719 +
2720 +(% style="text-align:center" %)
2721 +[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
2722 +
2723 +**✎Note:**
2724 +
2725 +* Both word registers and bit registers support even continuous read/write functions;
2726 +* The range of registers is based on the specific PLC type;
2727 +
2728 +**Cable Wiring**
2729 +
2730 +(% style="text-align:center" %)
2731 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2732 +
2733 += **IEC60870-5 104 Client** =
2734 +
2735 +**HMI Setting**
2736 +
2737 +(% class="table-bordered" %)
2738 +|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note**
2739 +|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %)
2740 +|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %)
2741 +|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %)
2742 +
2743 +**Address List**
2744 +
2745 +(% class="table-bordered" %)
2746 +|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range**
2747 +|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7
2748 +|(% style="width:461px" %)SCNA|0~~16777215.7
2749 +|(% style="width:461px" %)DPTB|0~~16777215.7
2750 +|(% style="width:461px" %)DCNA|0~~16777215.7
2751 +|(% style="width:461px" %)METF|0~~16777215.7
2752 +|(% style="width:461px" %)SENC|0~~16777215.7
2753 +|(% style="width:461px" %)SENA|0~~16777215.7
2754 +|(% style="width:461px" %)MENA|0~~16777215.7
2755 +|(% style="width:461px" %)METD|0~~16777215.7
2756 +|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215
2757 +|(% style="width:461px" %)SCNA|0~~16777215
2758 +|(% style="width:461px" %)DPTB|0~~16777215
2759 +|(% style="width:461px" %)DCNA|0~~16777215
2760 +|(% style="width:461px" %)SENA|0~~16777215
2761 +|(% style="width:461px" %)MENA|0~~16777215
2762 +|(% style="width:461px" %)METD|0~~16777215
2763 +|(% style="width:461px" %)INRO|0~~16777215
2764 +|(% style="width:461px" %)TIMESYN|0~~16777215
2765 +|(% style="width:461px" %)TIMEZ|0~~16777215
2766 +|(% style="width:461px" %)NTP|0~~16777215
2767 +|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215
2768 +|(% style="width:461px" %)SENC|0~~16777215
2769 +
2770 +**Address Configuration**
2771 +
2772 +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.
2773 +
2774 +(% style="text-align:center" %)
2775 +[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]
2776 +
2777 +(% style="text-align:center" %)
2778 +[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]]
2779 +
2780 +Extended tag name
2781 +
2782 +Address range for the extended tag.
2783 +
2784 +**Communication Settings**
2785 +
2786 +Enable HMI Ethernet in [Project Settings];
2787 +
2788 +(% style="text-align:center" %)
2789 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2790 +
2791 +Set PLC IP in [Device IP] settings;
2792 +
2793 +(% style="text-align:center" %)
2794 +[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]]
2795 +
2796 +**Cable Wiring**
2797 +
2798 +(% style="text-align:center" %)
2799 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2800 +
2801 += **LG XGK FEnet Ethernet** =
2802 +
2803 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2804 +
2805 +**HMI Settings**
2806 +
2807 +(% class="table-bordered" %)
2808 +|**Items**|**Settings**|**Note**
2809 +|Protocol|LG XGK FEnet(Ethernet)|
2810 +|Connection|Ethernet|
2811 +|Port No.|2004|
2812 +
2813 +**Address List**
2814 +
2815 +(% class="table-bordered" %)
2816 +|**Type**|**Register**|**Range**|**Format**|**Note**
2817 +|(% rowspan="14" %)Word|P|0~~2047|P d|
2818 +|M|0~~2047|M d|
2819 +|K|0~~2047|K d|
2820 +|F|0~~2047|F d|
2821 +|T|0~~2047|T d|
2822 +|C|0~~2047|C d|
2823 +|Z|0~~127|Z d|
2824 +|S|0~~127|S d|
2825 +|L|0~~11263|L d|
2826 +|N|0~~21503|N d|
2827 +|D|0~~32767|D d|
2828 +|R|0~~32767|R d|
2829 +|ZR|0~~65535|ZR d|
2830 +|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
2831 +
2832 +**✎Note:**
2833 +
2834 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
2835 +* 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;
2836 +* All bit registers are in the form of bits in word, and the range is the same as the word register;
2837 +
2838 +**Communication settings in HMI**
2839 +
2840 +Enable HMI Ethernet in [Project Settings];
2841 +
2842 +(% style="text-align:center" %)
2843 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2844 +
2845 +Set PLC IP in [Device IP] settings;
2846 +
2847 +(% style="text-align:center" %)
2848 +[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
2849 +
2850 +**Cable Wiring**