Changes for page 12 PLC Protocol OLD

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

From version 9.1
edited by Stone Wu
on 2022/08/05 11:45
Change comment: There is no comment for this version
To version 10.1
edited by Ben
on 2022/08/10 16:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Stone
1 +XWiki.Ben
Content
... ... @@ -873,7 +873,7 @@
873 873  * Disable [Pairing open];
874 874  * Set [No confirm] in [Existence confirmation];
875 875  * Host station port number: 1025;
876 -* (% id="cke_bm_8547S" style="display:none" %) [[image:12.PLC Protocol_html_f2c432006cdd2f9.png||height="220" width="553"]](%%)Save settings;
876 +* (% id="cke_bm_8547S" style="display:none" %)[[image:12.PLC Protocol_html_f2c432006cdd2f9.png||height="220" width="553"]](%%)Save settings;
877 877  * Download project into PLC and restart it
878 878  
879 879  **Cable Wiring**
... ... @@ -1155,7 +1155,7 @@
1155 1155  * Because of the mechanism problem, this protocol could not support CompoWay/F function that is read-write function of variables in protocol document.
1156 1156  * When using double-word address, set the data format to 32 bits, otherwise the read/write function is unable.
1157 1157  * 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.
1158 -* (% id="cke_bm_8690S" style="display:none" %) [[image:12.PLC Protocol_html_d428cad280fdefb3.png||height="276" width="347"]](%%)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.
1158 +* (% id="cke_bm_8690S" style="display:none" %)[[image:12.PLC Protocol_html_d428cad280fdefb3.png||height="276" width="347"]](%%)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.
1159 1159  
1160 1160  == EtherNet/IP NX series ==
1161 1161  
... ... @@ -1852,7 +1852,6 @@
1852 1852  
1853 1853  * Please uncheck [Symbolic access only] option;
1854 1854  
1855 -
1856 1856  (% style="text-align:center" %)
1857 1857  [[image:12.PLC Protocol_html_643144c591994418.png||data-xwiki-image-style-alignment="center" height="546" width="550" class="img-thumbnail"]]
1858 1858  
... ... @@ -2477,3 +2477,87 @@
2477 2477  [[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]]
2478 2478  
2479 2479  **✎Note:** COM3 only available in PI8000/PI9000 series.
2479 +
2480 +
2481 +== **2 Communication with Allen-Bradley CompactLogix L1769** ==
2482 +
2483 +This example introduces the establishment of Ethernet communication between Wecon V-box and Allen-Bradley L1769. It is introduced through three parts: PLC software configuration, V-box software configuration, and hardware wiring.
2484 +
2485 +
2486 +**Software configuration of PLC**
2487 +
2488 +**1)PLC programming software**
2489 +
2490 +[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162600-1.png?rev=1.1||alt="image-20220714162600-1.png"]]
2491 +
2492 +**2)New PLC project**
2493 +
2494 +Click New Project and select the PLC model.
2495 +
2496 +[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162617-2.png?rev=1.1||alt="image-20220714162617-2.png"]]
2497 +
2498 +
2499 +[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162652-4.png?rev=1.1||alt="image-20220714162652-4.png"]]
2500 +
2501 +**3)Set Ethernet parameters**
2502 +
2503 +Follow the steps below to configure Ethernet parameters
2504 +
2505 +PLC IP address:192.168.40.101
2506 +
2507 +default gateway:192.168.40.1
2508 +
2509 +subnet mask:255.255.255.0
2510 +
2511 +[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162713-5.png?rev=1.1||alt="image-20220714162713-5.png"]]
2512 +
2513 +
2514 +**V-box software configuration**
2515 +
2516 +**1)V-box programming software**
2517 +
2518 + [[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162725-6.png?rev=1.1||alt="image-20220714162725-6.png"]]
2519 +
2520 +**2)Configure device network**
2521 +
2522 +Click the Configuration Download button[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714115308-8.png?width=15&height=22&rev=1.1||alt="image-20220714115308-8.png"]], It is used to configure the device network, update the device time, obtain the device machine code, check the device network, etc.
2523 +
2524 +In the example below, the IP address of V-Box is configured as 192.168.40.66, and the networking method is 4G connection
2525 +
2526 +[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162737-7.png?rev=1.1||alt="image-20220714162737-7.png"]]
2527 +
2528 +
2529 +**3)V-net add device**
2530 +
2531 +Open VNET client software → add device. As shown in the figure below, click "+" in the order of steps, and the Add Device window will pop up, enter the device machine code/product code, device password, and device alias to add the device.   [[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162752-8.png?rev=1.1||alt="image-20220714162752-8.png"]]
2532 +
2533 +
2534 +**4)Set communication port parameters**
2535 +
2536 +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.
2537 +
2538 +[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162805-9.png?rev=1.1||alt="image-20220714162805-9.png"]]
2539 +
2540 +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.
2541 +
2542 +[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162814-10.png?rev=1.1||alt="image-20220714162814-10.png"]]
2543 +
2544 +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.​​​​​​​[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162827-11.png?rev=1.1||alt="image-20220714162827-11.png"]]
2545 +
2546 +**5)Engineering production**
2547 +
2548 +According to your own needs, use the V-NET client software to edit the required data monitoring points.
2549 +
2550 +[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162841-12.png?rev=1.1||alt="image-20220714162841-12.png"]]
2551 +
2552 +**hardware connection**
2553 +
2554 +**1)Hardware wiring diagram**
2555 +
2556 +This example introduces Wecon V-box with Allen-Bradley L1769 PLC to establish communication through Ethernet. The connection diagram is as follows:
2557 +
2558 +[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220714162856-13.png?rev=1.1||alt="image-20220714162856-13.png"]]
2559 +
2560 +The above are all the steps for establishing Ethernet communication between Wecon V-box with Allen-Bradley L1769 PLC.
2561 +
2562 +