Changes for page 12 PLC Protocol OLD

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

From version 33.1
edited by Stone Wu
on 2022/08/17 15:58
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
... ... @@ -1896,7 +1896,7 @@
1896 1896  
1897 1897  == **LOGO Ethernet** ==
1898 1898  
1899 -Supported Series: Siemens Logo 0BA0 series
1899 +Supported Series: Siemens Logo
1900 1900  
1901 1901  **HMI Settings**
1902 1902  
... ... @@ -1959,8 +1959,9 @@
1959 1959  Set PLC IP in [Device IP] settings;
1960 1960  
1961 1961  (% style="text-align:center" %)
1962 -[[image:SiemensLOGODeviceIP.png]]
1962 +[[image:12.PLC Protocol_html_573fc64ad393cd4f.png||data-xwiki-image-style-alignment="center" height="655" width="379" class="img-thumbnail"]]
1963 1963  
1964 +
1964 1964  Enable HMI Ethernet in [Project Settings];
1965 1965  
1966 1966  (% style="text-align:center" %)
... ... @@ -1992,28 +1992,17 @@
1992 1992  
1993 1993  == **S7-XXX Ethernet** ==
1994 1994  
1995 -Supported Series: Siemens S7-400, S7-1200 and S7-1500
1996 +Supported Series: Siemens S7-1200 and S7-1500
1996 1996  
1997 1997  **HMI Setting**
1998 1998  
1999 -(% class="table-bordered" style="width:823px" %)
2000 -|=**Items**|=(% style="width: 437px;" %)**Settings**|=(% style="width: 201px;" %)**Note**
2001 -|Protocol|(% style="width:437px" %)Siemens S7-XXX|(% style="width:201px" %)
2002 -|Connection|(% style="width:437px" %)Ethernet|(% style="width:201px" %)
2003 -|Port No.|(% style="width:437px" %)102|(% style="width:201px" %)
2004 -|Device No.|(% style="width:437px" %)Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)|(% style="width:201px" %)
2005 -|HMI No.|(% style="width:437px" %)Rack (Default as 0)|(% style="width:201px" %)
2000 +(% class="table-bordered" %)
2001 +|**Items**|**Settings**|**Note**
2002 +|Protocol|Siemens S7-XXX|
2003 +|Connection|Ethernet|
2004 +|Port No.|102|
2005 +|PLC station No.|1 (for S7-1500)/ 2 (for S7-1200)|
2006 2006  
2007 -Slot from TIA Portal is equal to Device No. of PIStudio
2008 -
2009 -Rack from TIA Portal is equal to HMI No. of PIStudio
2010 -
2011 -(% style="text-align:center" %)
2012 -[[image:S7-XXXCommunication Settings.png]]
2013 -
2014 -(% style="text-align:center" %)
2015 -[[image:S7-XXXCommunication SettingsPIStudio.png||alt="S7-XXXCommunication SettingsPI.png"]]
2016 -
2017 2017  **Address List**
2018 2018  
2019 2019  (% class="table-bordered" %)
... ... @@ -2487,187 +2487,86 @@
2487 2487  
2488 2488  **✎Note:** COM3 only available in PI8000/PI9000 series.
2489 2489  
2490 -== HMI and Wecon LX5V serial communication ==
2491 2491  
2492 -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.
2481 +== **2 Communication with Allen-Bradley CompactLogix L1769** ==
2493 2493  
2494 -**Software configuration of PLC**
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.
2495 2495  
2496 -**1)PLC programming software**
2497 2497  
2498 -[[image:image-20220810164710-1.png]]
2499 -
2500 -**2)New PLC project**
2501 -
2502 -Click New Project and select the PLC model.
2503 -
2504 -[[image:image-20220810172412-1.png]]
2505 -
2506 -
2507 -**3)Set Serial port parameters**
2508 -
2509 -Follow the steps below to configure Serial port parameters
2510 -
2511 -Baud rate:115200
2512 -
2513 -Data bit:8
2514 -
2515 -Stop bit:1
2516 -
2517 -Parity:No verification
2518 -
2519 -[[image:image-20220810165759-3.png]]
2520 -
2521 -
2522 -**4)Registers list**
2523 -
2524 -[[image:image-20220811102219-3.png]]
2525 -
2526 -
2527 -**HMI software configuration**
2528 -
2529 -**1)HMI programming software**
2530 -
2531 - [[image:image-20220810171237-4.png]]
2532 -
2533 -**2)New HMI project**
2534 -
2535 -Click New Project and select the HMI model.
2536 -
2537 -[[image:image-20220810172010-5.png]]
2538 -
2539 -**3)Set communication port parameters**
2540 -
2541 -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.
2542 -
2543 -Baud rate:115200
2544 -
2545 -Data bit:8
2546 -
2547 -Stop bit:1
2548 -
2549 -Parity:No verification
2550 -
2551 -
2552 -[[image:image-20220811104012-1.png]]
2553 -
2554 -
2555 -**hardware connection**
2556 -
2557 -**1)Hardware wiring diagram**
2558 -
2559 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
2560 -
2561 -[[image:image-20220811103005-4.png]]
2562 -
2563 -
2564 -[[image:image-20220811103227-7.png]]
2565 -
2566 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
2567 -
2568 -== HMI and Wecon LX5V-N Ethernet communication ==
2569 -
2570 -(% 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.
2571 -
2572 -
2573 2573  **Software configuration of PLC**
2574 2574  
2575 2575  **1)PLC programming software**
2576 2576  
2577 -[[image:image-20220810164710-1.png]]
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"]]
2578 2578  
2579 2579  **2)New PLC project**
2580 2580  
2581 2581  Click New Project and select the PLC model.
2582 2582  
2583 -[[image:image-20220811115454-1.png]]
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"]]
2584 2584  
2585 2585  
2586 -**3)Set Ethernet port parameters**
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"]]
2587 2587  
2501 +**3)Set Ethernet parameters**
2502 +
2588 2588  Follow the steps below to configure Ethernet parameters
2589 2589  
2590 -PLC IP address:192.168.39.200
2505 +PLC IP address:192.168.40.101
2591 2591  
2592 -default gateway:192.168.39.1
2507 +default gateway:192.168.40.1
2593 2593  
2594 2594  subnet mask:255.255.255.0
2595 2595  
2596 -[[image:image-20220811140530-2.png]]
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"]]
2597 2597  
2598 2598  
2599 -**4)Registers list**
2514 +**V-box software configuration**
2600 2600  
2601 -[[image:image-20220811102219-3.png]]
2516 +**1)V-box programming software**
2602 2602  
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"]]
2603 2603  
2604 -**HMI software configuration**
2520 +**2)Configure device network**
2605 2605  
2606 -**1)HMI programming software**
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.
2607 2607  
2608 - [[image:image-20220810171237-4.png]]
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
2609 2609  
2610 -**2)New HMI project**
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"]]
2611 2611  
2612 -Click New Project and select the HMI model.
2613 2613  
2614 -[[image:image-20220810172010-5.png]]
2529 +**3)V-net add device**
2615 2615  
2616 -**3)Set communication port parameters**
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"]]
2617 2617  
2618 -Click the project setting button on the left to configure the IP address of the HMI machine to ensure that the HMI and PLC IP remain in a local area network.
2619 2619  
2620 -HMI IP address:192.168.39.201
2534 +**4)Set communication port parameters**
2621 2621  
2622 -default gateway:192.168.39.1
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.
2623 2623  
2624 -subnet mask:255.255.255.0
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"]]
2625 2625  
2626 -[[image:image-20220811170753-2.png]]
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.
2627 2627  
2628 -Next, click Communication Settings to configure the IP of the HMI communication object.
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"]]
2629 2629  
2630 -[[image:image-20220811163047-1.png]]
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"]]
2631 2631  
2632 -**hardware connection**
2546 +**5)Engineering production**
2633 2633  
2634 -**1)Hardware wiring diagram**
2548 +According to your own needs, use the V-NET client software to edit the required data monitoring points.
2635 2635  
2636 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
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"]]
2637 2637  
2638 -[[image:image-20220811170248-1.png]]
2552 +**hardware connection**
2639 2639  
2640 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
2554 +**1)Hardware wiring diagram**
2641 2641  
2642 -= **Schneider MODBUS RTU** =
2556 +This example introduces Wecon V-box with Allen-Bradley L1769 PLC to establish communication through Ethernet. The connection diagram is as follows:
2643 2643  
2644 -**HMI Setting**
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"]]
2645 2645  
2646 -|=**Parameters**|=**Recommended**|=**Notes**
2647 -|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU|
2648 -|Connection|RS485|
2649 -|**Baud rate**|19200|
2650 -|**Data bit**|8|
2651 -|**Parity**|Even|
2652 -|**Stop bit**|1|
2653 -|**PLC station No.**|1|
2560 +The above are all the steps for establishing Ethernet communication between Wecon V-box with Allen-Bradley L1769 PLC.
2654 2654  
2655 -**PLC Setting**
2656 -
2657 -|=(% scope="row" %)**Communication mode**|Modbus RTU protocol
2658 -
2659 -**Device Address**
2660 -
2661 -|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo**
2662 -|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only)
2663 -|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils
2664 -|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal)
2665 -|W|MW|DDDDDD|0 ~~ 999999|Output register
2666 -|DW|MD|DDDDDD|0 ~~ 999999|Output register
2667 -
2668 -**Wiring Diagram**
2669 -
2670 -**RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector.
2671 -
2672 -(% style="text-align:center" %)
2673 -[[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]]
2562 +
S7-XXXCommunication Settings.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Hunter
Size
... ... @@ -1,1 +1,0 @@
1 -32.6 KB
Content
S7-XXXCommunication SettingsPI.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Hunter
Size
... ... @@ -1,1 +1,0 @@
1 -24.6 KB
Content
S7-XXXCommunication SettingsPIStudio.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Hunter
Size
... ... @@ -1,1 +1,0 @@
1 -24.9 KB
Content
SiemensLOGODeviceIP.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Hunter
Size
... ... @@ -1,1 +1,0 @@
1 -24.9 KB
Content
image-20220810164710-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -7.3 KB
Content
image-20220810165247-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -131.7 KB
Content
image-20220810165759-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -127.8 KB
Content
image-20220810171237-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -12.2 KB
Content
image-20220810172010-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -350.7 KB
Content
image-20220810172412-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -165.3 KB
Content
image-20220811102219-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -49.8 KB
Content
image-20220811103005-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -72.7 KB
Content
image-20220811103131-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -256.1 KB
Content
image-20220811103200-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -17.6 KB
Content
image-20220811103227-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -16.0 KB
Content
image-20220811104012-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -113.6 KB
Content
image-20220811115454-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -204.7 KB
Content
image-20220811140308-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -122.3 KB
Content
image-20220811140530-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -126.0 KB
Content
image-20220811163047-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -165.7 KB
Content
image-20220811163943-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -153.6 KB
Content
image-20220811170248-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -91.7 KB
Content
image-20220811170753-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -154.4 KB
Content
image-20220817154212-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -51.8 KB
Content