Changes for page 12 PLC Protocol OLD

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

From version 10.1
edited by Ben
on 2022/08/10 16:44
Change comment: There is no comment for this version
To version 15.1
edited by Ben
on 2022/08/11 11:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2478,9 +2478,9 @@
2478 2478  **✎Note:** COM3 only available in PI8000/PI9000 series.
2479 2479  
2480 2480  
2481 -== **2 Communication with Allen-Bradley CompactLogix L1769** ==
2481 +== **1 HMI and Wecon LX5V serial communication** ==
2482 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.
2483 +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.
2484 2484  
2485 2485  
2486 2486  **Software configuration of PLC**
... ... @@ -2487,21 +2487,99 @@
2487 2487  
2488 2488  **1)PLC programming software**
2489 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"]]
2490 +[[image:image-20220810164710-1.png]]
2491 2491  
2492 2492  **2)New PLC project**
2493 2493  
2494 2494  Click New Project and select the PLC model.
2495 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"]]
2496 +[[image:image-20220810172412-1.png]]
2497 2497  
2498 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"]]
2499 +**3)Set Serial port parameters**
2500 2500  
2501 -**3)Set Ethernet parameters**
2501 +Follow the steps below to configure Serial port parameters
2502 2502  
2503 -Follow the steps below to configure Ethernet parameters
2503 +Baud rate:115200
2504 2504  
2505 +Data bit:8
2506 +
2507 +Stop bit:1
2508 +
2509 +Parity:No verification
2510 +
2511 +[[image:image-20220810165759-3.png]]
2512 +
2513 +
2514 +**4)Registers list**
2515 +
2516 +[[image:image-20220811102219-3.png]]
2517 +
2518 +
2519 +**HMI software configuration**
2520 +
2521 +**1)HMI programming software**
2522 +
2523 + [[image:image-20220810171237-4.png]]
2524 +
2525 +**2)New HMI project**
2526 +
2527 +Click New Project and select the HMI model.
2528 +
2529 +[[image:image-20220810172010-5.png]]
2530 +
2531 +**3)Set communication port parameters**
2532 +
2533 +Click the communication configuration button on the left to find the communication protocol with LX5V. After selecting the protocol, configure the communication parameters of the COM port.
2534 +
2535 +Baud rate:115200
2536 +
2537 +Data bit:8
2538 +
2539 +Stop bit:1
2540 +
2541 +Parity:No verification
2542 +
2543 +
2544 +[[image:image-20220811104012-1.png]]
2545 +
2546 +
2547 +**hardware connection**
2548 +
2549 +**1)Hardware wiring diagram**
2550 +
2551 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
2552 +
2553 +[[image:image-20220811103005-4.png]]
2554 +
2555 +
2556 +[[image:image-20220811103227-7.png]]
2557 +
2558 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
2559 +
2560 +
2561 +== **2 HMI and Wecon LX5V-N Ethernet communication** ==
2562 +
2563 +(% 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.
2564 +
2565 +
2566 +**Software configuration of PLC**
2567 +
2568 +**1)PLC programming software**
2569 +
2570 +[[image:image-20220810164710-1.png]]
2571 +
2572 +**2)New PLC project**
2573 +
2574 +Click New Project and select the PLC model.
2575 +
2576 +[[image:image-20220811115454-1.png]]
2577 +
2578 +
2579 +**3)Set Ethernet port parameters**
2580 +
2581 +Follow the steps below to configure Serial port parameters
2582 +
2505 2505  PLC IP address:192.168.40.101
2506 2506  
2507 2507  default gateway:192.168.40.1
... ... @@ -2508,55 +2508,51 @@
2508 2508  
2509 2509  subnet mask:255.255.255.0
2510 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"]]
2589 +[[image:image-20220810165759-3.png]]
2512 2512  
2513 2513  
2514 -**V-box software configuration**
2592 +**4)Registers list**
2515 2515  
2516 -**1)V-box programming software**
2594 +[[image:image-20220811102219-3.png]]
2517 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 2519  
2520 -**2)Configure device network**
2597 +**HMI software configuration**
2521 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.
2599 +**1)HMI programming software**
2523 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
2601 + [[image:image-20220810171237-4.png]]
2525 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"]]
2603 +**2)New HMI project**
2527 2527  
2605 +Click New Project and select the HMI model.
2528 2528  
2529 -**3)V-net add device**
2607 +[[image:image-20220810172010-5.png]]
2530 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"]]
2609 +**3)Set communication port parameters**
2532 2532  
2611 +Click the communication configuration button on the left to find the communication protocol with LX5V. After selecting the protocol, configure the communication parameters of the COM port.
2533 2533  
2534 -**4)Set communication port parameters**
2613 +Baud rate:115200
2535 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.
2615 +Data bit:8
2537 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"]]
2617 +Stop bit1
2539 2539  
2540 -The communication poris 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.
2619 +Parity:No verification
2541 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 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"]]
2622 +[[image:image-20220811104012-1.png]]
2545 2545  
2546 -**5)Engineering production**
2547 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 2552  **hardware connection**
2553 2553  
2554 2554  **1)Hardware wiring diagram**
2555 2555  
2556 -This example introduces Wecon V-box with Allen-Bradley L1769 PLC to establish communication through Ethernet. The connection diagram is as follows:
2629 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
2557 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"]]
2631 +[[image:image-20220811103005-4.png]]
2559 2559  
2560 -The above are all the steps for establishing Ethernet communication between Wecon V-box with Allen-Bradley L1769 PLC.
2561 2561  
2562 -
2634 +[[image:image-20220811103227-7.png]]
2635 +
2636 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
image-20220810164710-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +7.3 KB
Content
image-20220810165247-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +131.7 KB
Content
image-20220810165759-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +127.8 KB
Content
image-20220810171237-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +12.2 KB
Content
image-20220810172010-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +350.7 KB
Content
image-20220810172412-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +165.3 KB
Content
image-20220811102219-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +49.8 KB
Content
image-20220811103005-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +72.7 KB
Content
image-20220811103131-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +256.1 KB
Content
image-20220811103200-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +17.6 KB
Content
image-20220811103227-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +16.0 KB
Content
image-20220811104012-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +113.6 KB
Content
image-20220811115454-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +204.7 KB
Content