Changes for page 12 PLC Protocol OLD

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

From version 64.1
edited by Ben
on 2022/08/29 13:46
Change comment: There is no comment for this version
To version 77.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,8 +87,63 @@
87 87  
88 88  = Create communication with WECON PLC =
89 89  
90 -== HMI settings ==
90 +== **LX3V Serial Protocol** ==
91 91  
92 +Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
93 +
94 +**HMI Settings**
95 +
96 +(% class="table-bordered" %)
97 +|**Item**|**Settings**|**Note**
98 +|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM|
99 +|Connection|RS422/RS485|
100 +|Baud rate|9600|
101 +|Data bit|7|
102 +|Parity|EVEN|
103 +|Stop bit|1|
104 +|PLC station No.|1|
105 +
106 +**Address List**
107 +
108 +(% class="table-bordered" %)
109 +|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
110 +|(% rowspan="6" %)Bit|X|X|Xo|0~~303237|
111 +|Y|Y|Y o|0~~303237|
112 +|M|M|M d|0~~99999|
113 +|T|T|T d|0~~99999|
114 +|C|C|C d|0~~99999|
115 +|S|S|S d|0~~99999|
116 +|(% rowspan="8" %)Word|X|X|Xo|0~~303237|
117 +|Y|Y|Y o|0~~303237|
118 +|M|M|M d|0~~99999|
119 +|T|T|T d|0~~99999|
120 +|C|C|C d|0~~199|
121 +|D|D|D d|0~~7999|
122 +|S|S|S d|0~~99999|
123 +|SD|SD|SD d|8000~~9999|
124 +
125 +**Cable Wiring**
126 +
127 +* **RS485**
128 +
129 +(% style="text-align:center" %)
130 +[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]]
131 +
132 +* **RS422**
133 +
134 +(% style="text-align:center" %)
135 +[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]]
136 +
137 +**✎Note:**
138 +
139 +* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) .
140 +* If PLC <= 20 points,such as LX3V-1208/LX3V-0806 PLC,PLC RS485A and RS485B mean PLC COM2 RS485+ and RS485- .PLC COM2 can support modbus. Please refer to PLC COM2 setting manual.
141 +
142 +[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]]
143 +
144 +(% class="wikigeneratedid" id="HHMIsettings" %)
145 +**HMI settings**
146 +
92 92  **Download PIStudio Software**
93 93  
94 94  Please visit the link below to get the latest version PIstudio for HMI programming:
... ... @@ -176,7 +176,8 @@
176 176  * 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/]]
177 177  * 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/]]
178 178  
179 -== PLC settings ==
234 +(% class="wikigeneratedid" id="HPLCsettings" %)
235 +**PLC settings**
180 180  
181 181  **Download PLC Software**
182 182  
... ... @@ -261,63 +261,8 @@
261 261  (% style="text-align:center" %)
262 262  [[image:image-20220819105928-9.png||height="229" width="669"]]
263 263  
264 -= **WECON PLC** =
320 +== **LX5V Serial Protocol** ==
265 265  
266 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
267 -
268 -**HMI Settings**
269 -
270 -(% class="table-bordered" %)
271 -|**Item**|**Settings**|**Note**
272 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM|
273 -|Connection|RS422/RS485|
274 -|Baud rate|9600|
275 -|Data bit|7|
276 -|Parity|EVEN|
277 -|Stop bit|1|
278 -|PLC station No.|1|
279 -
280 -**Address List**
281 -
282 -(% class="table-bordered" %)
283 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
284 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237|
285 -|Y|Y|Y o|0~~303237|
286 -|M|M|M d|0~~99999|
287 -|T|T|T d|0~~99999|
288 -|C|C|C d|0~~99999|
289 -|S|S|S d|0~~99999|
290 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237|
291 -|Y|Y|Y o|0~~303237|
292 -|M|M|M d|0~~99999|
293 -|T|T|T d|0~~99999|
294 -|C|C|C d|0~~199|
295 -|D|D|D d|0~~7999|
296 -|S|S|S d|0~~99999|
297 -|SD|SD|SD d|8000~~9999|
298 -
299 -**Cable Wiring**
300 -
301 -* **RS485**
302 -
303 -(% style="text-align:center" %)
304 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]]
305 -
306 -* **RS422**
307 -
308 -(% style="text-align:center" %)
309 -[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]]
310 -
311 -**✎Note:**
312 -
313 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) .
314 -* If PLC <= 20 points,such as LX3V-1208/LX3V-0806 PLC,PLC RS485A and RS485B mean PLC COM2 RS485+ and RS485- .PLC COM2 can support modbus. Please refer to PLC COM2 setting manual.
315 -
316 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]]
317 -
318 -
319 -== **HMI and Wecon LX5V serial communication** ==
320 -
321 321  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.
322 322  
323 323  **Software configuration of PLC**
... ... @@ -394,11 +394,10 @@
394 394  
395 395  The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
396 396  
397 -== **HMI and Wecon LX5V-N Ethernet communication** ==
398 +== **LX5V-N Ethernet protocol** ==
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,11 +468,49 @@
468 468  
469 469  The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
470 470  
471 -(% class="wikigeneratedid" %)
472 -= =
471 += Create communication with **Rockwell PLC** =
473 473  
474 -= **Allen-Bradley** =
473 +== **MicroLogix Protocol** ==
475 475  
475 +MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
476 +
477 +**HMI Settings**
478 +
479 +(% class="table-bordered" %)
480 +|**Item**|**Settings**|**Note**
481 +|Protocol|Allen-Bradlley MicroLogix|
482 +|Connection|RS232|
483 +|Baud rate|19200|
484 +|Data bit|8|
485 +|Parity|None|
486 +|Stop bit|1|
487 +|PLC station No.|1|
488 +
489 +**Address List**
490 +
491 +(% class="table-bordered" %)
492 +|**Type**|**Device registers**|**Format**|**Range**|**Note**
493 +|(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15|
494 +|O|O d.d|0.0~~255.15|
495 +|B|B nnhh.dd|0.0~~ffff.15|nn: block number (hex)
496 +|S|S d.d|0.0~~255.15|
497 +|N|N nnhh.dd|0.0~~ffff.15|nn: block number (hex)
498 +|(% rowspan="9" %)Word|S|S d|0~~255|
499 +|TS|TS nnhh|0~~ffff|(% rowspan="8" %)nn: block number (hex)
500 +|TP|TP nnhh|0~~ffff
501 +|CS|CS nnhh|0~~ffff
502 +|CP|CP nnhh|0~~ffff
503 +|N|N nnhh|0~~ffff
504 +|C|C nnhh|0~~ffff
505 +|T|T nnhh|0~~ffff
506 +|R|R nnhh|0~~ffff
507 +
508 +**Cable Wiring**
509 +
510 +
511 +(% style="text-align:center" %)
512 +[[image:12.PLC Protocol_html_58205bdf82c06d4.png||data-xwiki-image-style-alignment="center" height="307" width="500" class="img-thumbnail"]]
513 +
476 476  == **FreeTag Ethernet/IP (CompactLogix)** ==
477 477  
478 478  Allen-Brandly CompactLogix
... ... @@ -530,46 +530,6 @@
530 530  (% style="text-align:center" %)
531 531  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]]
532 532  
533 -== **MicroLogix** ==
534 -
535 -MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
536 -
537 -**HMI Settings**
538 -
539 -(% class="table-bordered" %)
540 -|**Item**|**Settings**|**Note**
541 -|Protocol|Allen-Bradlley MicroLogix|
542 -|Connection|RS232|
543 -|Baud rate|19200|
544 -|Data bit|8|
545 -|Parity|None|
546 -|Stop bit|1|
547 -|PLC station No.|1|
548 -
549 -**Address List**
550 -
551 -(% class="table-bordered" %)
552 -|**Type**|**Device registers**|**Format**|**Range**|**Note**
553 -|(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15|
554 -|O|O d.d|0.0~~255.15|
555 -|B|B nnhh.dd|0.0~~ffff.15|nn: block number (hex)
556 -|S|S d.d|0.0~~255.15|
557 -|N|N nnhh.dd|0.0~~ffff.15|nn: block number (hex)
558 -|(% rowspan="9" %)Word|S|S d|0~~255|
559 -|TS|TS nnhh|0~~ffff|(% rowspan="8" %)nn: block number (hex)
560 -|TP|TP nnhh|0~~ffff
561 -|CS|CS nnhh|0~~ffff
562 -|CP|CP nnhh|0~~ffff
563 -|N|N nnhh|0~~ffff
564 -|C|C nnhh|0~~ffff
565 -|T|T nnhh|0~~ffff
566 -|R|R nnhh|0~~ffff
567 -
568 -**Cable Wiring**
569 -
570 -(% style="text-align:center" %)
571 -[[image:12.PLC Protocol_html_58205bdf82c06d4.png||data-xwiki-image-style-alignment="center" height="307" width="500" class="img-thumbnail"]]
572 -
573 573  == **AB PLC address edit** ==
574 574  
575 575  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.
... ... @@ -596,286 +596,8 @@
596 596  |(% style="width:393px" %)N|(% style="width:350px" %)ffff|(% style="width:333px" %)N0 ~~ FFFF
597 597  |(% style="width:393px" %)F|(% style="width:350px" %)ffff|(% style="width:333px" %)F0 ~~ FFFF
598 598  
599 -= **Barcode Scanner** =
597 += =
600 600  
601 -Supported: DELI 14880 barcode scanner
602 -
603 -**HMI Setting**
604 -
605 -(% class="table-bordered" %)
606 -|**Items**|**Settings**|**Note**
607 -|Protocol|Barcode Scanner|
608 -|Connection|USB|
609 -
610 -**Operating Procedures**
611 -
612 -Select [Barcode Scanner];
613 -
614 -(% style="text-align:center" %)
615 -[[image:12.PLC Protocol_html_55a3056357320966.png||data-xwiki-image-style-alignment="center" height="266" width="600" class="img-thumbnail"]]
616 -
617 -Set address for receiving;
618 -
619 -Set correct length;
620 -
621 -(% style="text-align:center" %)
622 -[[image:12.PLC Protocol_html_30a4c9e9dd4db40b.png||data-xwiki-image-style-alignment="center" height="701" width="500" class="img-thumbnail"]]
623 -
624 -**✎Note:**
625 -
626 -* The protocol uploads the information acquired by the USB scanner to the HMI;
627 -* The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object;
628 -* Recommended model: DELI 14880 barcode scanner;
629 -
630 -= **Hitachi EHV Series (Ethernet)** =
631 -
632 -Supported series: Hitachi EHV series
633 -
634 -**HMI Settings**
635 -
636 -(% class="table-bordered" %)
637 -|**Items**|**Settings**|**Note**
638 -|Protocol|Hitachi EHV series|
639 -|Connection|Ethernet|
640 -|Port No.|3004~~3007|
641 -
642 -**Address List**
643 -
644 -(% class="table-bordered" %)
645 -|**Type**|**Register**|**Range**|**Format**|**Note**
646 -|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD|
647 -|M|0 - 7FFF.f (Hex)|M HHHH.h|
648 -|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)(((
649 -H1H2H3H4 Module main number
650 -
651 -H1: Remote number
652 -
653 -H2: Unit number
654 -
655 -H3: Slot number
656 -
657 -H4: Word number of Module
658 -
659 -H Sub number of Module
660 -
661 -For example:X21.3
662 -
663 -Slot number 2
664 -
665 -Word number of module is 1
666 -
667 -Bit number of module is 3
668 -
669 -Remote number and unit number are 0
670 -)))
671 -|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h
672 -|R|0 – FF.f (Hex)|R HH.h|
673 -|L|0 - 73FF.f (Hex)|L HHHH.h|
674 -|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH|
675 -|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)(((
676 -H1H2H3H4 Module main number
677 -
678 -H1: Remote number
679 -
680 -H2: Unit number
681 -
682 -H3: Slot number
683 -
684 -H4: Word number of module
685 -
686 -For example:WX21
687 -
688 -Word number of module is 1
689 -
690 -Slot number is 2
691 -
692 -Remote number and unit number are 0
693 -)))
694 -|WY|0 – FFFF (Hex)|WY H1H2H3H4
695 -|WR|0 – FFFF (Hex)|WR HHHH|
696 -|WL|0 - 73FF (Hex)|WL HHHH|
697 -|TC|0 - 2559|TC DDDD|
698 -
699 -**Communication settings in HMI**
700 -
701 -Enable HMI Ethernet in [Project Settings];
702 -
703 -(% style="text-align:center" %)
704 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
705 -
706 -Set PLC IP in [Device IP] settings;
707 -
708 -(% style="text-align:center" %)
709 -[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
710 -
711 -**PLC Configuration**
712 -
713 -Connect with PLC, select[Online mode];
714 -
715 -(% style="text-align:center" %)
716 -[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]]
717 -
718 -Set IP address, it is the same LAN parameters with HMI;
719 -
720 -(% style="text-align:center" %)
721 -[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]]
722 -
723 -3) Save PLC communication parameter, and restart PLC
724 -
725 -**PLC Monitor Mode**
726 -
727 -Connect with PLC and choose to “online” mode
728 -
729 -(% style="text-align:center" %)
730 -[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]]
731 -
732 -Open I/O monitor sheet1
733 -
734 -(% style="text-align:center" %)
735 -[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]]
736 -
737 -During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
738 -
739 -(% style="text-align:center" %)
740 -[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]
741 -
742 -Enter the register address, click OK to view the value of the register.
743 -
744 -(% style="text-align:center" %)
745 -[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
746 -
747 -(% style="text-align:center" %)
748 -[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
749 -
750 -**✎Note:**
751 -
752 -* Both word registers and bit registers support even continuous read/write functions;
753 -* The range of registers is based on the specific PLC type;
754 -
755 -**Cable Wiring**
756 -
757 -(% style="text-align:center" %)
758 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
759 -
760 -= **IEC60870-5 104 Client** =
761 -
762 -**HMI Setting**
763 -
764 -(% class="table-bordered" %)
765 -|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note**
766 -|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %)
767 -|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %)
768 -|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %)
769 -
770 -**Address List**
771 -
772 -(% class="table-bordered" %)
773 -|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range**
774 -|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7
775 -|(% style="width:461px" %)SCNA|0~~16777215.7
776 -|(% style="width:461px" %)DPTB|0~~16777215.7
777 -|(% style="width:461px" %)DCNA|0~~16777215.7
778 -|(% style="width:461px" %)METF|0~~16777215.7
779 -|(% style="width:461px" %)SENC|0~~16777215.7
780 -|(% style="width:461px" %)SENA|0~~16777215.7
781 -|(% style="width:461px" %)MENA|0~~16777215.7
782 -|(% style="width:461px" %)METD|0~~16777215.7
783 -|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215
784 -|(% style="width:461px" %)SCNA|0~~16777215
785 -|(% style="width:461px" %)DPTB|0~~16777215
786 -|(% style="width:461px" %)DCNA|0~~16777215
787 -|(% style="width:461px" %)SENA|0~~16777215
788 -|(% style="width:461px" %)MENA|0~~16777215
789 -|(% style="width:461px" %)METD|0~~16777215
790 -|(% style="width:461px" %)INRO|0~~16777215
791 -|(% style="width:461px" %)TIMESYN|0~~16777215
792 -|(% style="width:461px" %)TIMEZ|0~~16777215
793 -|(% style="width:461px" %)NTP|0~~16777215
794 -|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215
795 -|(% style="width:461px" %)SENC|0~~16777215
796 -
797 -**Address Configuration**
798 -
799 -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.
800 -
801 -(% style="text-align:center" %)
802 -[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]
803 -
804 -(% style="text-align:center" %)
805 -[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]]
806 -
807 -Extended tag name
808 -
809 -Address range for the extended tag.
810 -
811 -**Communication Settings**
812 -
813 -Enable HMI Ethernet in [Project Settings];
814 -
815 -(% style="text-align:center" %)
816 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
817 -
818 -Set PLC IP in [Device IP] settings;
819 -
820 -(% style="text-align:center" %)
821 -[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]]
822 -
823 -**Cable Wiring**
824 -
825 -(% style="text-align:center" %)
826 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
827 -
828 -= **LG XGK FEnet Ethernet** =
829 -
830 -Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
831 -
832 -**HMI Settings**
833 -
834 -(% class="table-bordered" %)
835 -|**Items**|**Settings**|**Note**
836 -|Protocol|LG XGK FEnet(Ethernet)|
837 -|Connection|Ethernet|
838 -|Port No.|2004|
839 -
840 -**Address List**
841 -
842 -(% class="table-bordered" %)
843 -|**Type**|**Register**|**Range**|**Format**|**Note**
844 -|(% rowspan="14" %)Word|P|0~~2047|P d|
845 -|M|0~~2047|M d|
846 -|K|0~~2047|K d|
847 -|F|0~~2047|F d|
848 -|T|0~~2047|T d|
849 -|C|0~~2047|C d|
850 -|Z|0~~127|Z d|
851 -|S|0~~127|S d|
852 -|L|0~~11263|L d|
853 -|N|0~~21503|N d|
854 -|D|0~~32767|D d|
855 -|R|0~~32767|R d|
856 -|ZR|0~~65535|ZR d|
857 -|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
858 -
859 -**✎Note:**
860 -
861 -* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
862 -* 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;
863 -* All bit registers are in the form of bits in word, and the range is the same as the word register;
864 -
865 -**Communication settings in HMI**
866 -
867 -Enable HMI Ethernet in [Project Settings];
868 -
869 -(% style="text-align:center" %)
870 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
871 -
872 -Set PLC IP in [Device IP] settings;
873 -
874 -(% style="text-align:center" %)
875 -[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
876 -
877 -**Cable Wiring**
878 -
879 879  = **Mitsubishi** =
880 880  
881 881  == **FX1S, 1N, 2N Series** ==
... ... @@ -2649,8 +2649,6 @@
2649 2649  
2650 2650  **✎Note:** COM3 only available in PI8000/PI9000 series.
2651 2651  
2652 -= =
2653 -
2654 2654  = **Printer** =
2655 2655  
2656 2656  == **TSPL label printer** ==
... ... @@ -2851,3 +2851,283 @@
2851 2851  
2852 2852  (% style="text-align:center" %)
2853 2853  [[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 +
2604 += **Hitachi EHV Series (Ethernet)** =
2605 +
2606 +Supported series: Hitachi EHV series
2607 +
2608 +**HMI Settings**
2609 +
2610 +(% class="table-bordered" %)
2611 +|**Items**|**Settings**|**Note**
2612 +|Protocol|Hitachi EHV series|
2613 +|Connection|Ethernet|
2614 +|Port No.|3004~~3007|
2615 +
2616 +**Address List**
2617 +
2618 +(% class="table-bordered" %)
2619 +|**Type**|**Register**|**Range**|**Format**|**Note**
2620 +|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD|
2621 +|M|0 - 7FFF.f (Hex)|M HHHH.h|
2622 +|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)(((
2623 +H1H2H3H4 Module main number
2624 +
2625 +H1: Remote number
2626 +
2627 +H2: Unit number
2628 +
2629 +H3: Slot number
2630 +
2631 +H4: Word number of Module
2632 +
2633 +H Sub number of Module
2634 +
2635 +For example:X21.3
2636 +
2637 +Slot number 2
2638 +
2639 +Word number of module is 1
2640 +
2641 +Bit number of module is 3
2642 +
2643 +Remote number and unit number are 0
2644 +)))
2645 +|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h
2646 +|R|0 – FF.f (Hex)|R HH.h|
2647 +|L|0 - 73FF.f (Hex)|L HHHH.h|
2648 +|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH|
2649 +|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)(((
2650 +H1H2H3H4 Module main number
2651 +
2652 +H1: Remote number
2653 +
2654 +H2: Unit number
2655 +
2656 +H3: Slot number
2657 +
2658 +H4: Word number of module
2659 +
2660 +For example:WX21
2661 +
2662 +Word number of module is 1
2663 +
2664 +Slot number is 2
2665 +
2666 +Remote number and unit number are 0
2667 +)))
2668 +|WY|0 – FFFF (Hex)|WY H1H2H3H4
2669 +|WR|0 – FFFF (Hex)|WR HHHH|
2670 +|WL|0 - 73FF (Hex)|WL HHHH|
2671 +|TC|0 - 2559|TC DDDD|
2672 +
2673 +**Communication settings in HMI**
2674 +
2675 +Enable HMI Ethernet in [Project Settings];
2676 +
2677 +(% style="text-align:center" %)
2678 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2679 +
2680 +Set PLC IP in [Device IP] settings;
2681 +
2682 +(% style="text-align:center" %)
2683 +[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
2684 +
2685 +**PLC Configuration**
2686 +
2687 +Connect with PLC, select[Online mode];
2688 +
2689 +(% style="text-align:center" %)
2690 +[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]]
2691 +
2692 +Set IP address, it is the same LAN parameters with HMI;
2693 +
2694 +(% style="text-align:center" %)
2695 +[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]]
2696 +
2697 +3) Save PLC communication parameter, and restart PLC
2698 +
2699 +**PLC Monitor Mode**
2700 +
2701 +Connect with PLC and choose to “online” mode
2702 +
2703 +(% style="text-align:center" %)
2704 +[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]]
2705 +
2706 +Open I/O monitor sheet1
2707 +
2708 +(% style="text-align:center" %)
2709 +[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]]
2710 +
2711 +During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
2712 +
2713 +(% style="text-align:center" %)
2714 +[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]
2715 +
2716 +Enter the register address, click OK to view the value of the register.
2717 +
2718 +(% style="text-align:center" %)
2719 +[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
2720 +
2721 +(% style="text-align:center" %)
2722 +[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
2723 +
2724 +**✎Note:**
2725 +
2726 +* Both word registers and bit registers support even continuous read/write functions;
2727 +* The range of registers is based on the specific PLC type;
2728 +
2729 +**Cable Wiring**
2730 +
2731 +(% style="text-align:center" %)
2732 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2733 +
2734 += **IEC60870-5 104 Client** =
2735 +
2736 +**HMI Setting**
2737 +
2738 +(% class="table-bordered" %)
2739 +|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note**
2740 +|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %)
2741 +|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %)
2742 +|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %)
2743 +
2744 +**Address List**
2745 +
2746 +(% class="table-bordered" %)
2747 +|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range**
2748 +|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7
2749 +|(% style="width:461px" %)SCNA|0~~16777215.7
2750 +|(% style="width:461px" %)DPTB|0~~16777215.7
2751 +|(% style="width:461px" %)DCNA|0~~16777215.7
2752 +|(% style="width:461px" %)METF|0~~16777215.7
2753 +|(% style="width:461px" %)SENC|0~~16777215.7
2754 +|(% style="width:461px" %)SENA|0~~16777215.7
2755 +|(% style="width:461px" %)MENA|0~~16777215.7
2756 +|(% style="width:461px" %)METD|0~~16777215.7
2757 +|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215
2758 +|(% style="width:461px" %)SCNA|0~~16777215
2759 +|(% style="width:461px" %)DPTB|0~~16777215
2760 +|(% style="width:461px" %)DCNA|0~~16777215
2761 +|(% style="width:461px" %)SENA|0~~16777215
2762 +|(% style="width:461px" %)MENA|0~~16777215
2763 +|(% style="width:461px" %)METD|0~~16777215
2764 +|(% style="width:461px" %)INRO|0~~16777215
2765 +|(% style="width:461px" %)TIMESYN|0~~16777215
2766 +|(% style="width:461px" %)TIMEZ|0~~16777215
2767 +|(% style="width:461px" %)NTP|0~~16777215
2768 +|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215
2769 +|(% style="width:461px" %)SENC|0~~16777215
2770 +
2771 +**Address Configuration**
2772 +
2773 +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.
2774 +
2775 +(% style="text-align:center" %)
2776 +[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]
2777 +
2778 +(% style="text-align:center" %)
2779 +[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]]
2780 +
2781 +Extended tag name
2782 +
2783 +Address range for the extended tag.
2784 +
2785 +**Communication Settings**
2786 +
2787 +Enable HMI Ethernet in [Project Settings];
2788 +
2789 +(% style="text-align:center" %)
2790 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2791 +
2792 +Set PLC IP in [Device IP] settings;
2793 +
2794 +(% style="text-align:center" %)
2795 +[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]]
2796 +
2797 +**Cable Wiring**
2798 +
2799 +(% style="text-align:center" %)
2800 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2801 +
2802 += **LG XGK FEnet Ethernet** =
2803 +
2804 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2805 +
2806 +**HMI Settings**
2807 +
2808 +(% class="table-bordered" %)
2809 +|**Items**|**Settings**|**Note**
2810 +|Protocol|LG XGK FEnet(Ethernet)|
2811 +|Connection|Ethernet|
2812 +|Port No.|2004|
2813 +
2814 +**Address List**
2815 +
2816 +(% class="table-bordered" %)
2817 +|**Type**|**Register**|**Range**|**Format**|**Note**
2818 +|(% rowspan="14" %)Word|P|0~~2047|P d|
2819 +|M|0~~2047|M d|
2820 +|K|0~~2047|K d|
2821 +|F|0~~2047|F d|
2822 +|T|0~~2047|T d|
2823 +|C|0~~2047|C d|
2824 +|Z|0~~127|Z d|
2825 +|S|0~~127|S d|
2826 +|L|0~~11263|L d|
2827 +|N|0~~21503|N d|
2828 +|D|0~~32767|D d|
2829 +|R|0~~32767|R d|
2830 +|ZR|0~~65535|ZR d|
2831 +|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
2832 +
2833 +**✎Note:**
2834 +
2835 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
2836 +* 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;
2837 +* All bit registers are in the form of bits in word, and the range is the same as the word register;
2838 +
2839 +**Communication settings in HMI**
2840 +
2841 +Enable HMI Ethernet in [Project Settings];
2842 +
2843 +(% style="text-align:center" %)
2844 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2845 +
2846 +Set PLC IP in [Device IP] settings;
2847 +
2848 +(% style="text-align:center" %)
2849 +[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
2850 +
2851 +**Cable Wiring**