Changes for page 1 Communication
Last modified by Hunter on 2024/07/01 10:54
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 34 added, 0 removed)
- 1682233464031-639.png
- CCW.Shell_E5Cwj4tUL3.png
- ControlStarCommunicate.png
- ControlStarModbus.png
- ControlStarSystemBlock.png
- Emerson.png
- Ethernet.png
- HollySysRS232.png
- Hollysys LM Modbus RTU.gif
- Hollysys485-2.png
- Hollysys485box.png
- V-NET_Client setting.png
- V-NET_Client_ADD.png
- V-NET_Client_KOR0AHEA4M.png
- V-NET_Client_TIiAymnjkx.png
- V-NET_Client_TNBuqy7T5r.png
- V-NET_Client_communication.png
- V-NET_Client_iKKKhcgxm1.png
- V-NET_Client_t2Rg2wpSoY.png
- conne ab plc.png
- export.png
- export1.png
- plc 软件.png
- project create.png
- software.png
- v-net client vers.png
- wire.png
- 企业微信截图_16889606174191.png
- 盒子创建英威腾.png
- 英威腾下载.png
- 英威腾创建1.png
- 英威腾创建2.png
- 英威腾创建3.png
- 英威腾软件.png
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,6 @@ 1 -= Create communication withWECONPLC=1 += WECON = 2 2 3 -== **LX3V Serial Protocol** ==3 +== **LX3V Serial ** == 4 4 5 5 Supported series: Wecon LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 6 6 ... ... @@ -48,7 +48,7 @@ 48 48 49 49 [[image:image-20220824120524-3.png]] 50 50 51 -== **LX5V Serial Protocol** ==51 +== **LX5V Serial ** == 52 52 53 53 This example introduces the establishment of serial port communication between V-BOX and LX5V. It is introduced through three parts: PLC software configuration, V-BOX software configuration, and hardware wiring. 54 54 ... ... @@ -118,7 +118,7 @@ 118 118 119 119 The above are all the steps for establishing serial port communication between V-BOX with LX5V PLC. 120 120 121 -== **LX5V-N Ethernet protocol** ==121 +== **LX5V-N Ethernet ** == 122 122 123 123 This example introduces the establishment of Ethernet communication between V-BOX and LX5V-N. It is introduced through three parts: PLC software configuration, V-BOX software configuration, and hardware wiring. 124 124 ... ... @@ -176,9 +176,9 @@ 176 176 177 177 The above are all the steps for establishing ethernet communication between V-BOX with LX5V PLC. 178 178 179 -= Create communication withAllen-Bradley(**Rockwell**)** PLC**=179 += Allen-Bradley(**Rockwell**) = 180 180 181 -== **DF1 Advanced Protocol** ==181 +== **DF1 Advanced Serial** == 182 182 183 183 MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5 184 184 ... ... @@ -277,7 +277,7 @@ 277 277 (% class="wikigeneratedid" id="HMicroLogixA0Protocol" %) 278 278 (% id="cke_bm_5621S" style="display:none" %)** ** 279 279 280 -== **MicroLogix Protocol** ==280 +== **MicroLogix Serial** == 281 281 282 282 (% class="wikigeneratedid" %) 283 283 MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5 ... ... @@ -317,7 +317,7 @@ 317 317 318 318 [[image:image-20220824110724-1.png]] 319 319 320 -== **Micro850_FreeTag Protocol** ==320 +== **Micro850_FreeTag Ethernet** == 321 321 322 322 ((( 323 323 ((( ... ... @@ -519,13 +519,99 @@ 519 519 ((( 520 520 The above are all the steps for establishing Ethernet communication between Wecon V-box with CompactLogix L1769 PLC. 521 521 522 -== **Ethernet DF1 Protocol** == 523 523 523 +== **Micro850_FreeTag Ethernet(new)** == 524 + 525 +This example introduces the establishment of Ethernet communication between Wecon V-box and 2080-LC50-48QWB,Micro850. It is introduced through three parts: PLC software configuration, V-box software configuration. 526 + 527 +(% class="wikigeneratedid" id="HSoftwareconfigurationofPLC" %) 528 +((( 529 +**Software configuration of PLC** 530 +))) 531 + 532 +(% class="wikigeneratedid" id="HPLCprogrammingsoftware" %) 533 +((( 534 +**1)PLC programming software:Connected Components Workbench™** 535 + 536 +(% style="text-align:center" %) 537 +[[image:software.png]] 538 + 539 +**2)New PLC project** 540 + 541 +Click New Project and select the PLC model. 542 + 543 +(% style="text-align:center" %) 544 +[[image:project create.png]] 545 + 546 +**3)Set Ethernet parameters** 547 + 548 +Follow the steps below to configure Ethernet parameters 549 + 550 +PLC IP address:192.168.39.56 551 + 552 +default gateway:192.168.39.1 553 + 554 +subnet mask:255.255.255.0 555 + 556 +(% style="text-align:center" %) 557 +[[image:Ethernet.png]] 558 + 559 +**4)connect PLC** 560 + 561 +**When downloading the setting, need to change the status of the PLC to PRG** 562 + 563 +(% style="text-align:center" %) 564 +[[image:conne ab plc.png]] 565 + 566 +**V-box software configuration** 567 + 568 +**1)V-box programming software** 569 + 570 +(% style="text-align:center" %) 571 +[[image:v-net client vers.png]] 572 + 573 +**2)Set communication port parameters** 574 + 575 +In the device list on the left, find the Vbox that communicates with the L1769, click it and select configuration,communication port configuration in the main interface to add a communication protocol. 576 + 577 +(% style="text-align:center" %) 578 +[[image:V-NET_Client_t2Rg2wpSoY.png]] 579 + 580 +The communication port is selected as Ethernet, the device type is selected as Allen-Bradley, the protocol is Allen-BradleyMicro850_FreeTag EthemetIP, and the IP is the internal IP address of the L1769 PLC. The port number is 44818. 581 + 582 +(% style="text-align:center" %) 583 +[[image:V-NET_Client_communication.png]] 584 + 585 +Export variables from PLC, select CSV file, comma delimited.(% id="cke_bm_1950S" style="display:none" %) 586 + 587 +(% style="text-align:center" %) 588 +[[image:export1.png]] 589 + 590 +(% style="text-align:center" %) 591 +[[image:CCW.Shell_E5Cwj4tUL3.png]] 592 + 593 +After adding the protocol Allen-BradleyMicro850_FreeTag, click[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714143838-2.png?rev=1.1||alt="image-20220714143838-2.png"]]icon add label. 594 + 595 +(% style="text-align:center" %) 596 +[[image:V-NET_Client_TNBuqy7T5r.png]] 597 + 598 +**3)Engineering production** 599 + 600 +According to your own needs, use the V-NET client software to edit the required data monitoring points. 601 + 602 +(% style="text-align:center" %) 603 +[[image:V-NET_Client_KOR0AHEA4M.png]] 604 + 605 + 606 +))) 607 + 608 +== **Ethernet DF1** == 609 + 524 524 [[download link>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Allen-Bradley%20Ethernet%20DF1.zip]] 525 525 526 -= Create communication with**Crouzet PLC** =612 += **Crouzet PLC** = 527 527 528 -== **CROUZET M3 (FBD)** == 614 +== **CROUZET M3 (FBD) Serial** == 529 529 530 530 Support Series: Crouzet Millenium 3 CD12/CB12 531 531 ... ... @@ -577,15 +577,150 @@ 577 577 **✎Note: **As the wiring diagram indicated, this protocol requires the DB9 serial port pin 4. But pin 4 is undefined for all V-Box, so it need the user to solder a Pull-up resistor to make the pin 4 working. As for how to solder the resistor on the motherboard, please contact with Wecon technical support for the details. 578 578 {{/info}} 579 579 580 -= Create communication with **SiemensPLC**=666 += EMERSON = 581 581 582 -= =**S7-200Smart Ethernet Protocol** ==668 += **RTU Slave ** = 583 583 584 - [[downloadlink>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20S7-200%20Smart.zip]]670 +Supported series: EC10 series 585 585 672 +**1)V-BOX setting** 586 586 587 -== **S7-300 Ethernet Protocol** == 674 +|**Items**|**Settings**|**Note** 675 +|Protocol|Emerson 984 RTU Slave MODBUS| 676 +|Connection|RS485| 677 +|Baud rate|19200| 678 +|Data bit|8| 679 +|Parity|EVEN| 680 +|Stop bit|1| 681 +|Device station No.|1|Need to be same as the PLC setting 588 588 683 +(% class="wikigeneratedid" %) 684 +**2)PLC Setting** 685 + 686 +(% class="wikigeneratedid" %) 687 +Remember to use the Control Star to enable the Modbus RTU communication for port 1 in system block before dowload into PLC. 688 + 689 +(% style="text-align:center" %) 690 +[[image:ControlStarSystemBlock.png]] 691 + 692 +(% style="text-align:center" %) 693 +[[image:ControlStarCommunicate.png]] 694 + 695 +(% style="text-align:center" %) 696 +[[image:ControlStarModbus.png]] 697 + 698 +(% class="wikigeneratedid" %) 699 +**3)Address List** 700 + 701 +|**Type**|**Device registers**|**Format**|**Range**|**Note** 702 +|(% colspan="1" rowspan="12" %)Bit|Y|YOOO|0~~377| 703 +|X|XOOO|0~~377| 704 +|M0|M0DDDD|0~~2047| 705 +|M1|M1DDDDD|2048~~10239| 706 +|SM0|SM0DDD|0~~255| 707 +|SM1|SM1DDD|256~~511| 708 +|S0|S0DDDD|0~~1023| 709 +|S1|S1DDDD|1024~~4095| 710 +|T0|T0DDD|0~~255| 711 +|T1|T1DDD|256~~511| 712 +|C0|C0DDD|0~~255| 713 +|C1|C1DDD|256~~306| 714 +|(% colspan="1" rowspan="7" %)Word|D|DDDDD|0~~7999| 715 +|Z|ZDD|0~~15| 716 +|TW0|TW0DDD|0~~255| 717 +|TW1|TW1DDD|256~~511| 718 +|SD0|SD0DDD|0~~255| 719 +|SD1|SD1DDD|256~~511| 720 +|CW|CWDDD|0~~306| 721 +|(% colspan="1" rowspan="2" %)Double Word|CW0|CW0DDD|200~~255| 722 +|CW1|CW1DDDDD|256~~99999| 723 + 724 +**4) Cable Wiring** 725 + 726 +(% style="text-align:center" %) 727 +[[image:Emerson.png]] 728 + 729 += HollySys PLC = 730 + 731 +== **LK Modbus RTU ** == 732 + 733 +Supported Series: HollySys LK series PLC 734 + 735 +**1)V-BOX setting** 736 + 737 +|**Items**|**Settings**|**Note** 738 +|Protocol|HollySys LK Modbus RTU| 739 +|Connection|RS485| 740 +|Baud rate|38400| 741 +|Data bit|8| 742 +|Parity|None| 743 +|Stop bit|1| 744 +|Device station No.|1| 745 + 746 +**2)Address List** 747 + 748 +|=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note** 749 +|Bit|QX|QXDDDDD.dd|0~~65535.15| 750 +|Bit|IX|IXDDDDD.dd|0~~65535.15| 751 +|Bit|MX|MXDDDDD.dd|0~~65535.15| 752 +|Word|QW|QWDDDDD|0~~99999| 753 +|Word|IW|IWDDDDD|0~~99999| 754 +|Word|MW|MWDDDDD|0~~99999| 755 +|Word|MD|MDDDDDD|0~~99999| 756 + 757 +**3)Cable Wiring** 758 + 759 +(% style="text-align:center" %) 760 +[[image:Hollysys485-2.png]] 761 + 762 +== **LM Modbus RTU** == 763 + 764 +(% class="wikigeneratedid" %) 765 +Supported Series: HollySys LM3109/LM3107 PLC 766 + 767 +(% class="wikigeneratedid" %) 768 +**1)V-BOX setting** 769 + 770 +|(% style="width:208px" %)**Items**|(% style="width:310px" %)**Settings**|(% style="width:365px" %)**Optional**|(% style="width:152px" %)**Note** 771 +|(% style="width:208px" %)Protocol|(% style="width:310px" %)HollySys LM Modbus RTU|(% style="width:365px" %)HollySys LM Modbus RTU|(% style="width:152px" %) 772 +|(% style="width:208px" %)Connection|(% style="width:310px" %)RS232|(% style="width:365px" %)RS485|(% style="width:152px" %) 773 +|(% style="width:208px" %)Baud rate|(% style="width:310px" %)38400|(% style="width:365px" %)38400|(% style="width:152px" %) 774 +|(% style="width:208px" %)Data bit|(% style="width:310px" %)8|(% style="width:365px" %)8|(% style="width:152px" %) 775 +|(% style="width:208px" %)Parity|(% style="width:310px" %)None|(% style="width:365px" %)None|(% style="width:152px" %) 776 +|(% style="width:208px" %)Stop bit|(% style="width:310px" %)1|(% style="width:365px" %)1|(% style="width:152px" %) 777 +|(% style="width:208px" %)Device station No.|(% style="width:310px" %)1|(% style="width:365px" %)1|(% style="width:152px" %) 778 + 779 +**2)Address List** 780 + 781 +|=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note** 782 +|Bit|QX|QXDDDDD.o|0~~99999.7| 783 +|Bit|IX|IXDDDDD.o|0~~99999.7| 784 +|Bit|MX|MXDDDDD.o|0~~99999.7| 785 +|Word|QW|QWDDDDD|0~~99999| 786 +|Word|IW|IWDDDDD|0~~99999| 787 +|Word|MW|MWDDDDD|0~~99999| 788 +|Word|MD|MDDDDDD|0~~99999| 789 + 790 +**Cable Wiring** 791 + 792 +RS232 793 + 794 +(% style="text-align:center" %) 795 +[[image:HollySysRS232.png]] 796 + 797 +RS485 798 + 799 +(% style="text-align:center" %) 800 +[[image:Hollysys LM Modbus RTU.gif]] 801 + 802 += **Siemens ** = 803 + 804 +== **S7-200 Smart Ethernet ** == 805 + 806 +[[download link>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20S7-200%20Smart.zip]] 807 + 808 +== **S7-300 Ethernet ** == 809 + 589 589 Supported Series: Siemens S7-300 series PLC 590 590 591 591 **1)V-BOX setting** ... ... @@ -642,11 +642,11 @@ 642 642 ))) 643 643 ))) 644 644 645 -== **S7-1200 Ethernet Protocol** ==866 +== **S7-1200 Ethernet ** == 646 646 647 647 [[download link>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communicate%20with%20S7-1200%20via%20Ehernet.zip]] 648 648 649 -== **S7-XXX Ethernet Protocol** ==870 +== **S7-XXX Ethernet l** == 650 650 651 651 Supported Series: Siemens S7-400, S7-1200 and S7-1500 652 652 ... ... @@ -760,7 +760,7 @@ 760 760 761 761 [[image:image-20220824162342-2.png]] 762 762 763 -== **LOGO Ethernet Protocol** ==984 +== **LOGO Ethernet ** == 764 764 765 765 Supported Series: Siemens Logo 0BA0, 0BA1 series 766 766 ... ... @@ -851,9 +851,9 @@ 851 851 ** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc. 852 852 ** Register VW: Use only registers thay are multiples of 2, such as 0, 2, 4 etc. (Using an odd-length register may result in data errors, such as 2 3 4 ) 853 853 854 -= Create communication with**MitsubishiPLC** =1075 += **Mitsubishi ** = 855 855 856 -== **FX1S,1N,2N Serial Protocol** ==1077 +== **FX1S,1N,2N Serial ** == 857 857 858 858 Supported Series: Mitsubishi FX1S, FX1N, FX2N series 859 859 ... ... @@ -900,7 +900,7 @@ 900 900 [[image:image-20220825100845-4.png]] 901 901 902 902 903 -== **FX3U,3G,3GA Serial Protocol** ==1124 +== **FX3U,3G,3GA Serial ** == 904 904 905 905 Supported Series: Mitsubishi FX3U, FX3G, FX3GA series 906 906 ... ... @@ -947,7 +947,7 @@ 947 947 [[image:image-20220825100845-4.png]] 948 948 949 949 950 -== **FX3U Ethernet Protocol** ==1171 +== **FX3U Ethernet ** == 951 951 952 952 Supported Modules: FX3U-ENET-ADP, FX3U-ENET-L 953 953 ... ... @@ -1042,7 +1042,7 @@ 1042 1042 1043 1043 [[image:image-20221119101946-2.png||height="395" width="695"]] 1044 1044 1045 -== **FX5U Serial Protocol** ==1266 +== **FX5U Serial ** == 1046 1046 1047 1047 Mitsubishi FX5U series PLC 1048 1048 ... ... @@ -1124,7 +1124,7 @@ 1124 1124 1125 1125 [[image:image-20220825105533-3.png]] 1126 1126 1127 -== **FX5U Ethernet Protocol** ==1348 +== **FX5U Ethernet ** == 1128 1128 1129 1129 Mitsubishi FX5U series PLC 1130 1130 ... ... @@ -1200,7 +1200,7 @@ 1200 1200 1201 1201 [[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"]] 1202 1202 1203 -== **L02 Serial Protocol** ==1424 +== **L02 Serial ** == 1204 1204 1205 1205 Mitsubishi L02 series CPU built-in serial port. 1206 1206 ... ... @@ -1260,7 +1260,7 @@ 1260 1260 1261 1261 [[image:image-20220825160820-4.png]] 1262 1262 1263 -== **L02 Ethernet Protocol** ==1484 +== **L02 Ethernet ** == 1264 1264 1265 1265 Mitsubishi L series CPU built-in Ethernet port. 1266 1266 ... ... @@ -1333,13 +1333,13 @@ 1333 1333 1334 1334 [[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.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]] 1335 1335 1336 -== **Q12H Serial Protocol** ==1557 +== **Q12H Serial ** == 1337 1337 1338 1338 This Demo shows V-BOX communicate with Q12H PLC by Q02H serial Protocol 1339 1339 1340 1340 [[**Download link**>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Communication/V-Box%20connect%20PLC%20Q12H.rar]] 1341 1341 1342 -== **QJ71E71 Ethernet Protocol** ==1563 +== **QJ71E71 Ethernet ** == 1343 1343 1344 1344 Mitsubishi QJ71E71 Ethernet communication module; 1345 1345 ... ... @@ -1414,9 +1414,9 @@ 1414 1414 1415 1415 [[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.PLC Protocol_html_2297240b57346b2a.png"]] 1416 1416 1417 -= Create communication with**DeltaPLC** =1638 += **Delta** = 1418 1418 1419 -== **DVP Ethernet Protocol** ==1640 +== **DVP Ethernet** == 1420 1420 1421 1421 Supoort Series: DELTA DVP20/32/40/60ES200RE/200TE or any DVP models with built-in Ethernet port, DELTA DVPEN01-SL module 1422 1422 ... ... @@ -1481,7 +1481,7 @@ 1481 1481 (% style="text-align:center" %) 1482 1482 [[image:DVPEthernetVNETPortocol.png]] 1483 1483 1484 -== **DVP serial protocol** ==1705 +== **DVP serial** == 1485 1485 1486 1486 Supoort Series: DELTA DVP EH/ES/SS/EX/EH2/SV/SA/SC/SX 1487 1487 ... ... @@ -1517,7 +1517,7 @@ 1517 1517 (% style="text-align:center" %) 1518 1518 [[image:Delta DVP PROTOCOLSerial232.png]] 1519 1519 1520 -== **AS Ethernet Protocol** ==1741 +== **AS Ethernet** == 1521 1521 1522 1522 **1)V-BOX Settings** 1523 1523 ... ... @@ -1562,19 +1562,18 @@ 1562 1562 1563 1563 [[image:image-20220831155157-3.png]] 1564 1564 1565 -= Create communication with**OmronPLC** =1786 += **Omron** = 1566 1566 1567 -== **CP1 Series Protocol** ==1788 +== **CP1 Series** == 1568 1568 1569 -[[ 下载链接>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20ORMON%20CP1%20Series.zip]]1790 +[[Download>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20ORMON%20CP1%20Series.zip]] 1570 1570 1571 -== **CP2M Series Protocol** ==1792 +== **CP2M Series** == 1572 1572 1573 -[[ 下载链接>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20ORMON%20CJ2M.zip]]1794 +[[Download>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20ORMON%20CJ2M.zip]] 1574 1574 1796 +== **EC55 Series ** == 1575 1575 1576 -== **EC55 Series Protocol** == 1577 - 1578 1578 Supported device: EC55 temperature instrument 1579 1579 1580 1580 **1)V-BOX Settings** ... ... @@ -1634,9 +1634,9 @@ 1634 1634 * Please set the communication delay time of 10ms in setting, to avoid that the instrument may not be able to communicate in a short time due to too fast data access and too much connection requests. 1635 1635 * [[image:image-20220831161356-1.png]]Because of the particularity of the instrument, it is necessary to write the value of the address in the menu interface corresponding to the address, and to enter the menu where the address locates, so that the value could be written. 1636 1636 1637 -= Create communication withXinje** PLC**=1857 += Xinje = 1638 1638 1639 -== **XC serial protocol** ==1859 +== **XC serial** == 1640 1640 1641 1641 **1)V-BOX Settings** 1642 1642 ... ... @@ -1678,7 +1678,7 @@ 1678 1678 1679 1679 [[image:image-20220831163441-4.png]] 1680 1680 1681 -== **XD serial protocol** ==1901 +== **XD serial** == 1682 1682 1683 1683 **1)V-BOX Settings** 1684 1684 ... ... @@ -1752,7 +1752,7 @@ 1752 1752 1753 1753 [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/image-20220830160232-3.png?rev=1.1||alt="image-20220830160232-3.png"]] 1754 1754 1755 -= Create communication with**SchneiderPLC** =1975 += **Schneider** = 1756 1756 1757 1757 == **Schneider MODBUS RTU** == 1758 1758 ... ... @@ -1786,9 +1786,9 @@ 1786 1786 1787 1787 [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/image-20220817154212-1.jpeg?width=554&height=315&rev=1.1||alt="image-20220817154212-1.jpeg" height="315" width="554"]] 1788 1788 1789 -= Create communication withInovance** PLC**=2009 += Inovance = 1790 1790 1791 -== **H3U serial protocol** ==2011 +== **H3U serial** == 1792 1792 1793 1793 **1)V-BOX Settings** 1794 1794 ... ... @@ -1838,9 +1838,9 @@ 1838 1838 1839 1839 [[image:image-20220831164731-4.png]] 1840 1840 1841 -= Create communication withPanasonic** PLC**=2061 += Panasonic = 1842 1842 1843 -== **FP serial protocol** ==2063 +== **FP serial** == 1844 1844 1845 1845 **1)V-BOX Settings** 1846 1846 ... ... @@ -1888,9 +1888,9 @@ 1888 1888 1889 1889 [[image:image-20220831165008-1.png]] 1890 1890 1891 -= Create communication withLS** PLC**=2111 += LS = 1892 1892 1893 -== **XBC serial protocol** ==2113 +== **XBC serial** == 1894 1894 1895 1895 **1)V-BOX Settings** 1896 1896 ... ... @@ -1942,7 +1942,7 @@ 1942 1942 1943 1943 [[image:image-20220831170215-2.png]] 1944 1944 1945 -== **XGK FEnet Ethernet protocol** ==2165 +== **XGK FEnet Ethernet** == 1946 1946 1947 1947 Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module 1948 1948 ... ... @@ -1985,8 +1985,76 @@ 1985 1985 1986 1986 [[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"]] 1987 1987 1988 -= Createcommunication with **Modbus **=2208 += INVT = 1989 1989 2210 +**1)V-BOX setting** 2211 + 2212 +|**Item**|**Settings**|**Note** 2213 +|Protocol|INVT_IVC2L| 2214 +|Connection|RS232| 2215 +|Baud rate|19200| 2216 +|Data bit|8| 2217 +|Parity|EVEN| 2218 +|Stop bit|1| 2219 +|PLC station No.|1 2220 + 2221 +**2)Address List** 2222 + 2223 + 2224 +|**Type**|**Device registers**|**Format**|**Range**|**Note** 2225 +|(% colspan="1" rowspan="7" %)Bit|X|XOOO|0~~377| 2226 +|Y|YOOO|0~~377| 2227 +|M|MDDDD|0~~1999| 2228 +|SM|SMDDD|0~~255| 2229 +|S|SDDD|0~~991| 2230 +|T|TDDD|0~~255| 2231 +|C|CDDD|0~~255| 2232 +|(% rowspan="5" %)Word|D|DDDDD|0~~7999| 2233 +|SD|SDDDD|0~~255| 2234 +|Z|ZDD|0~~15| 2235 +|T|TDDD|0~~255| 2236 +|C|CDDD|0~~199| 2237 +|Double word|C|CDDD|200~~255| 2238 + 2239 +**3)Communication Settings** 2240 + 2241 +(% style="text-align:center" %) 2242 +[[image:盒子创建英威腾.png]] 2243 + 2244 +**4)PLC software** 2245 + 2246 +(% style="text-align:center" %) 2247 +[[image:英威腾软件.png]] 2248 + 2249 +**5)PLC setting ** 2250 + 2251 +Open the INVI plc software, create a new project or open a project that has already been created 2252 + 2253 +(% style="text-align:center" %) 2254 +[[image:英威腾创建1.png]] 2255 + 2256 +Configure serial port parameters. 2257 + 2258 +(% style="text-align:center" %) 2259 +[[image:英威腾创建2.png]] 2260 + 2261 +PC connect PLC 2262 + 2263 +(% style="text-align:center" %) 2264 +[[image:英威腾创建3.png]] 2265 + 2266 +Download 2267 + 2268 +(% style="text-align:center" %) 2269 +[[image:英威腾下载.png]] 2270 + 2271 +**6)Cable Wiring** 2272 + 2273 +(% style="text-align:center" %) 2274 +[[image:wire.png]] 2275 + 2276 += **Modbus ** = 2277 + 1990 1990 == **MODBUS RTU Slave (All function)** == 1991 1991 1992 1992 Select the protocol "Modbus RTU Slave (All Fuction)", ... ... @@ -1996,7 +1996,7 @@ 1996 1996 (% style="text-align:center" %) 1997 1997 [[image:1624342015914-382.png||height="486" width="800" class="img-thumbnail"]] 1998 1998 1999 -== ** Communicate withModbus Meter** ==2287 +== **Modbus Meter** == 2000 2000 2001 2001 The following example is using the Linfee meter LNF96EY to demonstrate how to set up the Modbus communication. 2002 2002 ... ... @@ -2054,7 +2054,7 @@ 2054 2054 **✎Note: **We usually use the Data Type 4 for read the Modbus registers(Function Code 03) 2055 2055 {{/info}} 2056 2056 2057 -For example, here we want to read the Phase Voltage Ua (Modbus offset 0006), Mod, so the tag configured like the following screenshot: 2345 +For example, here we want to read the Phase Voltage Ua (Modbus offset 0006), the Modbus register main No. requires input decimal number, and check whether the actual address has one address offset, so the tag configured like the following screenshot: 2058 2058 2059 2059 (% style="text-align:center" %) 2060 2060 [[image:VNETModbusTagSettings.png]] ... ... @@ -2171,7 +2171,7 @@ 2171 2171 2172 2172 [[download link>>url:https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communicate%20with%20VB%20inverter.zip]] 2173 2173 2174 -= **User define protocol** =2462 += **User define** = 2175 2175 2176 2176 More serial port script instruction,please refer manual:[[Lua script function>>doc:V-BOX.V-Net.Manual.04 Lua Script.01 Lua Functions.WebHome]]~-~-->[[3.Serial port operation>>url:http://docs.we-con.com.cn/wiki/vbox/view/HMI/04.Lua%20script%20%20function%20and%20operation/01.Lua%20script%20function/#H3.Serialportoperation]] 2177 2177 ... ... @@ -2189,66 +2189,63 @@ 2189 2189 2190 2190 Script Demo: 2191 2191 2192 -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-- 2193 - 2480 +{{code language="lua"}} 2194 2194 function com.main() 2195 - ~-~-dosomething 2196 - openPlc() 2482 + --dosomething 2483 + openPlc() 2484 +end 2485 + 2486 +function openPlc() 2487 + if obj then 2488 + -- If the serial port opened,then read/write data by timing 2489 + local wri = string.pack(">HHHH",0X0103,0X0200,0X0003,0X0473) 2490 + local arr = reading(wri) 2491 + -- if arr ~=nil then 2492 + if arr[1] ==33 and arr[2] ==v[2][2] and arr[3] ==v[2][3] then 2493 + local A = arr[4]*256 2494 + local B = A+arr[5] 2495 + -- addr_setword(v[1],B) 2496 + end 2497 +-- end 2498 + else 2499 + --judge if there is a serial object, then initialize and open the serial port 2500 + local configs = { 2501 + name = 'COM1', --Select serial port COM1 2502 + mode = 485, --Communication mode RS485 2503 + baud_rate = 9600, --Baud rate 9600 2504 + stop_bit = 1, --stop bit 1 2505 + data_len = 8, --data length 8 2506 + check_bit = 'NONE', --no parity 2507 + } 2508 + obj,err = serial.open(configs) --Open serial port 2509 + if not obj then 2510 + print("serial open :failed", err) -- Open serial port failed 2511 + end 2512 + end 2197 2197 end 2198 - function openPlc() 2199 - if obj then 2200 - ~-~- If the serial port opened,then read/write data by timing 2201 2201 2202 - local wri = string.pack(">HHHH",0X0103,0X0200,0X0003,0X0473) 2203 - local arr = reading(wri) 2204 - ~-~- if arr ~~=nil then 2205 - ~-~- if arr[1] ==33 and arr[2] ==v[2][2] and arr[3] ==v[2][3] then 2206 - ~-~- local A = arr[4]*256 2207 - ~-~- local B = A+arr[5] 2208 - ~-~- addr_setword(v[1],B) 2209 - ~-~- end 2210 - ~-~- end 2211 2211 2212 - lse2213 - ~-~-judge ifthereisa serialobject, then initializeand open theserial port2214 - localconfigs = {2215 - ame = 'COM1', ~-~-Selecterial portCOM12216 - mode= 485, ~-~-CommunicationmodeRS4852217 - baud_rate =600,~-~-Baudrate96002218 - stop_bit=1,-~-stopbit12219 - ata_len= 8, ~-~-datalength82220 - check_bit = 'NONE', ~-~-noparity2221 - 2222 - }2223 - obj,err=serial.open(configs) ~-~-Open serial port2224 - if not obj then2225 - print("serial open :failed", err) ~-~- Openserial port failed2226 - nd2516 +function reading(wri) 2517 + obj:flush() -- Clear serial port 2518 + obj:write(wri)-- Write serial port 2519 + print(string.byte(wri,1,#wri)) 2520 + obj:flush() -- Clear serial port 2521 + local readed =obj:read(9,1000) -- Read 9 bytes, timeout 1 second 2522 + if readed and readed ~= "" then 2523 + -- judge that a non-empty string is read 2524 + print(string.byte(readed,1,#readed)) 2525 + a={string.byte(readed, 1, #readed)} 2526 + if nil ~= a[4] and nil ~= a[5] and nil ~= a[6] and nil ~= a[7] then 2527 + a1=a[4]*256+a[5] 2528 + a2=a[6]*256+a[7] 2529 + addr_setword("@HDW0",a1) 2530 + addr_setword("@HDW1",a2) 2227 2227 end 2228 - end 2229 - 2230 - function reading(wri) 2231 - obj:flush() ~-~- Clear serial port 2232 - obj:write(wri) ~-~- Write serial port 2233 - print(string.byte(wri,1,#wri)) 2234 - obj:flush() ~-~- Clear serial port 2235 - local readed =obj:read(9,1000) ~-~- Read 9 bytes, timeout 1 second 2236 - if readed and readed ~~= "" then 2237 - ~-~- judge that a non-empty string is read 2238 - print(string.byte(readed,1,#readed)) 2239 - a={string.byte(readed, 1, #readed)} 2240 - if nil ~~= a[4] and nil ~~= a[5] and nil ~~= a[6] and nil ~~= a[7] then 2241 - a1=a[4]*256+a[5] 2242 - a2=a[6]*256+a[7] 2243 - addr_setword("@HDW0",a1) 2244 - addr_setword("@HDW1",a2) 2245 - end 2246 - return {string.byte(readed, 1, #readed)} 2247 - elseif readed == nil then 2248 - print("serial read err:", err or "") 2249 - return nil 2250 - end 2532 + return {string.byte(readed, 1, #readed)} 2533 + elseif readed == nil then 2534 + print("serial read err:", err or "") 2251 2251 return nil 2252 - end 2253 - 2254 -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- 2536 + end 2537 + return nil 2538 +end 2539 +{{/code}}
- 1682233464031-639.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +15.9 KB - Content
- CCW.Shell_E5Cwj4tUL3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +27.1 KB - Content
- ControlStarCommunicate.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.0 KB - Content
- ControlStarModbus.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.9 KB - Content
- ControlStarSystemBlock.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +46.3 KB - Content
- Emerson.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.7 KB - Content
- Ethernet.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +45.5 KB - Content
- HollySysRS232.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +10.4 KB - Content
- Hollysys LM Modbus RTU.gif
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.1 KB - Content
- Hollysys485-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.5 KB - Content
- Hollysys485box.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.4 KB - Content
- V-NET_Client setting.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +41.9 KB - Content
- V-NET_Client_ADD.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +51.4 KB - Content
- V-NET_Client_KOR0AHEA4M.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.2 KB - Content
- V-NET_Client_TIiAymnjkx.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.8 KB - Content
- V-NET_Client_TNBuqy7T5r.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.7 KB - Content
- V-NET_Client_communication.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +25.5 KB - Content
- V-NET_Client_iKKKhcgxm1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.9 KB - Content
- V-NET_Client_t2Rg2wpSoY.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +53.7 KB - Content
- conne ab plc.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.1 KB - Content
- export.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +115.2 KB - Content
- export1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +115.2 KB - Content
- plc 软件.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +106.8 KB - Content
- project create.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +65.5 KB - Content
- software.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +25.8 KB - Content
- v-net client vers.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.1 KB - Content
- wire.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +137.2 KB - Content
- 企业微信截图_16889606174191.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +20.7 KB - Content
- 盒子创建英威腾.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +86.5 KB - Content
- 英威腾下载.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +49.0 KB - Content
- 英威腾创建1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.7 KB - Content
- 英威腾创建2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +115.7 KB - Content
- 英威腾创建3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +76.6 KB - Content
- 英威腾软件.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.6 KB - Content