Changes for page 1 Communication
Last modified by Hunter on 2024/07/01 10:54
From version 220.5
edited by Hunter
on 2023/03/23 12:35
on 2023/03/23 12:35
Change comment:
There is no comment for this version
To version 230.1
edited by Theodore Xu
on 2023/04/23 15:41
on 2023/04/23 15:41
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 22 added, 0 removed)
- 1679563870401-671.png
- 1682233464031-639.png
- CCW.Shell_E5Cwj4tUL3.png
- Ethernet.png
- ModbusStationSettings.png
- Monitoringtaggreenlight.png
- V-NET_Client setting.png
- V-NET_Client_ADD.png
- V-NET_Client_KOR0AHEA4M.png
- V-NET_Client_TIiAymnjkx.png
- V-NET_Client_communication.png
- V-NET_Client_iKKKhcgxm1.png
- V-NET_Client_t2Rg2wpSoY.png
- VNETCommunicationtabmeter.png
- VNETModbusTagByteSettings.png
- VNETModbusTagSettings.png
- conne ab plc.png
- export.png
- export1.png
- project create.png
- software.png
- v-net client vers.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.AiXia - Content
-
... ... @@ -519,6 +519,88 @@ 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 + 523 +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. 524 + 525 +(% class="wikigeneratedid" id="HSoftwareconfigurationofPLC" %) 526 +((( 527 +**Software configuration of PLC** 528 +))) 529 + 530 +(% class="wikigeneratedid" id="HPLCprogrammingsoftware" %) 531 +((( 532 +**1)PLC programming software:Connected Components Workbench™** 533 + 534 +(% style="text-align:center" %) 535 +[[image:software.png]] 536 + 537 +**2)New PLC project** 538 + 539 +Click New Project and select the PLC model. 540 + 541 +(% style="text-align:center" %) 542 +[[image:project create.png]] 543 + 544 +**3)Set Ethernet parameters** 545 + 546 +Follow the steps below to configure Ethernet parameters 547 + 548 +PLC IP address:192.168.39.56 549 + 550 +default gateway:192.168.39.1 551 + 552 +subnet mask:255.255.255.0 553 + 554 +(% style="text-align:center" %) 555 +[[image:Ethernet.png]] 556 + 557 +**4)connect PLC** 558 + 559 +**When downloading the setting, need to change the status of the PLC to PRG** 560 + 561 +(% style="text-align:center" %) 562 +[[image:conne ab plc.png]] 563 + 564 +**V-box software configuration** 565 + 566 +**1)V-box programming software** 567 + 568 +(% style="text-align:center" %) 569 +[[image:v-net client vers.png]] 570 + 571 +**2)Set communication port parameters** 572 + 573 +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. 574 + 575 +(% style="text-align:center" %) 576 +[[image:V-NET_Client_t2Rg2wpSoY.png]] 577 + 578 +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. 579 + 580 +(% style="text-align:center" %) 581 +[[image:V-NET_Client_communication.png]] 582 + 583 +Export variables from PLC, select CSV file, comma delimited. 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. 584 + 585 +(% style="text-align:center" %) 586 +[[image:export1.png]] 587 + 588 +(% style="text-align:center" %) 589 +[[image:CCW.Shell_E5Cwj4tUL3.png]] 590 + 591 +(% style="text-align:center" %) 592 +[[image:V-NET_Client_iKKKhcgxm1.png]] 593 + 594 +**3)Engineering production** 595 + 596 +According to your own needs, use the V-NET client software to edit the required data monitoring points. 597 + 598 +(% style="text-align:center" %) 599 +[[image:V-NET_Client_KOR0AHEA4M.png]] 600 + 601 + 602 +))) 603 + 522 522 == **Ethernet DF1 Protocol** == 523 523 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]] ... ... @@ -2020,11 +2020,62 @@ 2020 2020 3. Set up the communication in the Configuration tab. 2021 2021 2022 2022 (% class="wikigeneratedid" %) 2023 -Select the protocol as ModBus RTU Slave (All Function). 2105 +Select the protocol as **ModBus RTU Slave (All Function)**. And set the communication parameters like below. 2024 2024 2025 2025 (% style="text-align:center" %) 2026 -[[image:VNET ModbusConfigurationMeter.png]]2108 +[[image:VNETCommunicationtabmeter.png]] 2027 2027 2110 +(% class="wikigeneratedid" %) 2111 +4. Create new real-time monitoring tag accroding to Modbus manual 2112 + 2113 +(% class="wikigeneratedid" %) 2114 +Enter the address we want to read from the meter. The following table is intercept part of the manual for Linfee Modbus manual. 2115 + 2116 +(% class="wikigeneratedid" %) 2117 +**0x03/0x04 command data register address**: 2118 + 2119 +(% style="width:1142.22px" %) 2120 +|(% style="display:none" %) |=(% colspan="2" rowspan="1" style="width: 165px;" %)Address(% style="display:none" %) |=Description|=Data Format|=(% style="width: 254px;" %)Data Length(Word)|=(% style="width: 282px;" %)Remark 2121 +|(%%)(% style="display:none" %) (%%) HEX|(% style="width:107px" %)DEC|(%%)(% style="display:none" %) (%%) |(% style="width:100px" %) |(%%)(% style="display:none" %) (%%) |(% style="width:318px" %) 2122 +|(% style="width:107px" %)0x00|(% style="width:100px" %)0|Reserved| | |(% style="width:318px" %) 2123 +|(% style="width:107px" %)0x02|(% style="width:100px" %)2|Reserved| | |(% style="width:318px" %) 2124 +|(% style="width:107px" %)0x04|(% style="width:100px" %)4|Reserved| | |(% style="width:318px" %) 2125 +|(% style="width:107px" %)0x06|(% style="width:100px" %)6|Ua|float|2|(% style="width:318px" %)Phase Voltage data, Unit V 2126 +|(% style="width:107px" %)0x08|(% style="width:100px" %)8|Ub|float|2|(% style="width:318px" %)Phase Voltage data, Unit V 2127 +|(% style="width:107px" %)0x0A|(% style="width:100px" %)10|Uc|float|2|(% style="width:318px" %)Phase Voltage data, Unit V 2128 +|(% style="width:107px" %)0x0C|(% style="width:100px" %)12|Uab|float|2|(% style="width:318px" %)Line Voltage data, Unit V 2129 +|(% style="width:107px" %)0x0E|(% style="width:100px" %)14|Ubc|float|2|(% style="width:318px" %)Line Voltage data, Unit V 2130 +|(% style="width:107px" %)0x10|(% style="width:100px" %)16|Uca|float|2|(% style="width:318px" %)Line Voltage data, Unit V 2131 +|(% style="width:107px" %)0x12|(% style="width:100px" %)18|Ia|float|2|(% style="width:318px" %)Phase Current data, Unit A 2132 +|(% style="width:107px" %)0x14|(% style="width:100px" %)20|Ib|float|2|(% style="width:318px" %)Phase Current data, Unit A 2133 +|(% style="width:107px" %)0x16|(% style="width:100px" %)22|Ic|float|2|(% style="width:318px" %)Phase Current data, Unit A 2134 + 2135 +{{info}} 2136 +**✎Note: **We usually use the Data Type 4 for read the Modbus registers(Function Code 03) 2137 +{{/info}} 2138 + 2139 +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: 2140 + 2141 +(% style="text-align:center" %) 2142 +[[image:VNETModbusTagSettings.png]] 2143 + 2144 +(% style="text-align:center" %) 2145 +[[image:VNETModbusTagByteSettings.png]] 2146 + 2147 +{{info}} 2148 +**✎Note: **If the read value is incorrect, please check whether need to change the Byte order. 2149 +{{/info}} 2150 + 2151 +Set the Modbus Slave Station No. 2152 + 2153 +(% style="text-align:center" %) 2154 +[[image:ModbusStationSettings.png]] 2155 + 2156 +If the communication is setup successfully, the tag will show green light. 2157 + 2158 +(% style="text-align:center" %) 2159 +[[image:Monitoringtaggreenlight.png]] 2160 + 2028 2028 == **MODBUS RTU Master** == 2029 2029 2030 2030 Select the protocol "Modbus RTU Master",
- 1679563870401-671.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.3 KB - Content
- 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
- Ethernet.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +45.5 KB - Content
- ModbusStationSettings.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.8 KB - Content
- Monitoringtaggreenlight.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.5 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_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
- VNETCommunicationtabmeter.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +31.0 KB - Content
- VNETModbusTagByteSettings.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +31.2 KB - Content
- VNETModbusTagSettings.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.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
- 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