Changes for page 1 Communication

Last modified by Hunter on 2024/07/01 10:54

From version 67.1
edited by Ben
on 2022/08/24 12:00
Change comment: There is no comment for this version
To version 91.1
edited by Ben
on 2022/08/24 16:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,7 @@
4 4  
5 5  Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
6 6  
7 -**HMI Settings**
7 +**1)PLC Settings**
8 8  
9 9  |**Item**|**Settings**|**Note**
10 10  |Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM|
... ... @@ -15,7 +15,7 @@
15 15  |Stop bit|1|
16 16  |PLC station No.|1|
17 17  
18 -**Address List**
18 +**2)PLC Address List**
19 19  
20 20  |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
21 21  |(% rowspan="6" %)Bit|X|X|Xo|0~~303237|
... ... @@ -33,21 +33,29 @@
33 33  |S|S|S d|0~~99999|
34 34  |SD|SD|SD d|8000~~9999|
35 35  
36 -**Cable Wiring**
36 +**3)Configure the communication protocol**
37 37  
38 +[[image:image-20220824152217-1.png]]
39 +
40 +**4)hardware connection**
41 +
38 38  * **RS422**
39 39  
40 - [[image:image-20220822172228-2.png]]
44 + [[image:image-20220824120614-5.png]]
41 41  
46 +* **RS485**
47 +
48 + [[image:image-20220824120524-3.png]]
49 +
42 42  == **LX5V Serial Protocol** ==
43 43  
44 -This example introduces the establishment of serial port communication between Wecon V-BOX and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring.
52 +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.
45 45  
46 46  **Software configuration of PLC**
47 47  
48 48  **1)PLC programming software**
49 49  
50 -[[image:image-20220822172553-1.png]]
58 +[[image:image-20220824142722-1.png]]
51 51  
52 52  **2)New PLC project**
53 53  
... ... @@ -85,7 +85,6 @@
85 85  
86 86  [[image:image-20220824104909-2.png]]
87 87  
88 -
89 89  **3)Set communication port parameters**
90 90  
91 91  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.
... ... @@ -98,38 +98,33 @@
98 98  
99 99  Parity:No verification
100 100  
101 -[[image:image-20220811104012-1.png]]
108 +[[image:image-20220824142130-1.png]]
102 102  
103 -
104 104  **hardware connection**
105 105  
106 106  **1)Hardware wiring diagram**
107 107  
108 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
114 +[[image:image-20220824142546-2.png]]
109 109  
116 +[[image:image-20220824142643-3.png]]
110 110  
118 +The above are all the steps for establishing serial port communication between V-BOX with LX5V PLC.
111 111  
112 -[[image:image-20220811103005-4.png]]
113 -
114 -[[image:image-20220811103227-7.png]]
115 -
116 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
117 -
118 118  == **LX5V-N Ethernet protocol** ==
119 119  
120 - 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.
122 +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.
121 121  
122 122  **Software configuration of PLC**
123 123  
124 124  **1)PLC programming software**
125 125  
126 -[[image:image-20220810164710-1.png]]
128 +[[image:image-20220824142722-1.png]]
127 127  
128 128  **2)New PLC project**
129 129  
130 130  Click New Project and select the PLC model.
131 131  
132 -[[image:image-20220811115454-1.png]]
134 +[[image:image-20220824143613-1.png]]
133 133  
134 134  **3)Set Ethernet port parameters**
135 135  
... ... @@ -141,53 +141,38 @@
141 141  
142 142  subnet mask:255.255.255.0
143 143  
144 -[[image:image-20220811140530-2.png]]
146 +[[image:image-20220824143744-2.png]]
145 145  
146 146  **4)Registers list**
147 147  
148 -[[image:image-20220811102219-3.png]]
150 +[[image:image-20220822172730-4.png]]
149 149  
150 -**HMI software configuration**
152 +(% id="cke_bm_22473S" style="display:none" %)** **(%%)**V-BOX software configuration**
151 151  
152 -**1)HMI programming software**
154 +**1)V-BOX programming software**
153 153  
154 - [[image:image-20220810171237-4.png]]
156 + [[image:image-20220824104124-1.png]]
155 155  
156 -**2)New HMI project**
158 +**2)V-NET add device**
157 157  
158 -Click New Project and select the HMI model.
160 +Open V-NET 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 access key, password and remark, to add the device.
159 159  
160 -[[image:image-20220810172010-5.png]]
162 +[[image:image-20220824104909-2.png]]
161 161  
162 -**3)Set communication port parameters**
164 +**3)Set communication Protocol**
163 163  
164 -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.
166 +Click Communication to configure the LX5V plc protocol and IP address.
165 165  
166 -HMI IP address:192.168.39.201
168 +[[image:image-20220824144619-1.png]]
167 167  
168 -default gateway:192.168.39.1
169 -
170 -subnet mask:255.255.255.0
171 -
172 -[[image:image-20220811170753-2.png]]
173 -
174 -Next, click Communication Settings to configure the IP of the HMI communication object.
175 -
176 -[[image:image-20220811163047-1.png]]
177 -
178 178  **hardware connection**
179 179  
180 180  **1)Hardware wiring diagram**
181 181  
182 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
174 +[[image:image-20220824151127-2.png]]
183 183  
184 -[[image:image-20220811170248-1.png]]
176 +The above are all the steps for establishing ethernet communication between V-BOX with LX5V PLC.
185 185  
186 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
187 -
188 -(% style="text-align:center" %)
189 -[[image:1624348978863-771.png||queryString="width=812&height=494" height="487" width="800" class="img-thumbnail"]]
190 -
191 191  = **Rockwell PLC** =
192 192  
193 193  == (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** ==
... ... @@ -194,10 +194,10 @@
194 194  
195 195  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
196 196  
197 -**HMI Settings**
184 +**1)PLC Settings**
198 198  
199 199  |**Item**|**Settings**|**Note**
200 -|Protocol|Allen-Bradlley MicroLogix|
187 +|Protocol|Allen-Bradlley DF1 Advanced|
201 201  |Connection|RS232|
202 202  |Baud rate|19200|
203 203  |Data bit|8|
... ... @@ -205,7 +205,7 @@
205 205  |Stop bit|1|
206 206  |PLC station No.|1|
207 207  
208 -**Address List**
195 +**2)Address List**
209 209  
210 210  |**Type**|**Device registers**|**Format**|**Range**|**Note**
211 211  |(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15|
... ... @@ -223,12 +223,12 @@
223 223  |T|T nnhh|0~~ffff
224 224  |R|R nnhh|0~~ffff
225 225  
226 -**Cable Wiring**
213 +**3)Configure the communication protocol**[[image:image-20220824152928-1.png]]
227 227  
215 +**4)Configure the communication protocol**
216 +
228 228  [[image:image-20220824110724-1.png]]
229 229  
230 -
231 -
232 232  == **CompactLogix Protocol** ==
233 233  
234 234  (((
... ... @@ -442,13 +442,195 @@
442 442  == **S7-200 Smart Ethernet Protocol** ==
443 443  
444 444  [[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]]
432 +
433 +
434 +== ** S7-300 Ethernet Protocol** ==
435 +
436 +Supported Series: Siemens S7-300 series PLC
437 +
438 +**1)PLC Setting**
439 +
440 +|**Items**|**Settings**|**Note**
441 +|Protocol|Simens S7-300 Ethernet|
442 +|Connection|Ethernet|
443 +|Port No.|102|
444 +|PLC station No.|2|Need to be same as the PLC setting
445 +
446 +**2)Address List**
447 +
448 +|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note**
449 +|(% rowspan="4" %)Bit|I|I|I ddddd.o|0.0~~99999.7|
450 +|Q|Q|Q ddddd.o|0.0~~99999.7|
451 +|M|M|M ddddd.o|0.0~~99999.7|
452 +|DB0.DB~~DB99.DB|DBxDBD|DBxDB nndddd.o|0.0~~99999999.7|(((
453 +nn: block number;
454 +
455 +dddd: address;
445 445  )))
457 +|(% rowspan="8" %)Word|I|IW|IW ddddd|0~~99999|
458 +|Q|QW|QW ddddd|0~~99999|
459 +|(% rowspan="3" %)M|MB|MB ddddd|0~~99999|
460 +|MW|MW ddddd|0~~99999|(((
461 +MW0=MB(0~~1)
462 +
463 +MW2=MB(2~~3)
464 +
465 +Address value is a multiple of 2
446 446  )))
467 +|MD|MD ddddd|0~~99999|(((
468 +MD0=MB(0~~3)
447 447  
470 +MD4=MB(4~~7)
471 +
472 +Address value is a multiple of 4
473 +)))
474 +|(% rowspan="3" %)DB0.DB~~DB99.DB|DBxDBB|DBxDBB nndddd|0~~99999999|(% rowspan="3" %)(((
475 +nn: block number;
476 +
477 +dddd: address
478 +)))
479 +|DBxDBW|DBxDBW nndddd|0~~99999999
480 +|DBxDBD|DBxDBD nndddd|0~~99999999
481 +
482 +**3)Configure the communication protocol**
483 +
484 +[[image:image-20220824161345-1.png]]
485 +
486 +**Cable Wiring**
487 +
488 +[[image:image-20220824161450-2.png]]
489 +)))
490 +)))
491 +
448 448  == **S7-1200 Ethernet Protocol** ==
449 449  
450 450  [[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]]
451 451  
496 +== ** S7-XXX Ethernet** ==
497 +
498 +Supported Series: Siemens S7-400, S7-1200 and S7-1500
499 +
500 +**HMI Setting**
501 +
502 +|=**Items**|=**Settings**|=**Note**
503 +|Protocol|Siemens S7-XXX|
504 +|Connection|Ethernet|
505 +|Port No.|102|
506 +|Device No.|Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)|
507 +|HMI No.|Rack (Default as 0)|
508 +
509 +Slot from TIA Portal is equal to Device No. of PIStudio
510 +
511 +Rack from TIA Portal is equal to HMI No. of PIStudio
512 +
513 +(% style="text-align:center" %)
514 +[[image:S7-XXXCommunication Settings.png]]
515 +
516 +(% style="text-align:center" %)
517 +[[image:S7-XXXCommunication SettingsPIStudio.png||alt="S7-XXXCommunication SettingsPI.png"]]
518 +
519 +**Address List**
520 +
521 +|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note**
522 +|(% rowspan="4" %)Bit|I|I|M d.o|(((
523 +d:0~-~-9999
524 +
525 +o:0-7
526 +)))|
527 +|Q|Q|Q d.o|(((
528 +d:0~-~-9999
529 +
530 +o:0-7
531 +)))|
532 +|M|M|M d.o|(((
533 +d:0~-~-9999
534 +
535 +o:0-7
536 +)))|
537 +|DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|(((
538 +nn:0-9999,
539 +
540 +dddd:0-9999,
541 +
542 +o:0-7
543 +)))|(((
544 +nn:DB No.
545 +
546 +dddd:address value
547 +
548 +o: digit address
549 +)))
550 +|(% rowspan="8" %)Word|M|MB|MB d|d:0-99999|
551 +|M|MW|MW d|d:0-99999|(((
552 +MW0=MB(0~~1)
553 +
554 +MW2=MB(2~~3)
555 +
556 +Address value is a multiple of 2
557 +)))
558 +|M|MD|MD d|d:0-99999|(((
559 +MD0=MB(0~~3)
560 +
561 +MD4=MB(4~~7)
562 +
563 +Address value is a multiple of 4
564 +)))
565 +|I|IW|IW d|d:0-99999|
566 +|Q|QW|QW d|d:0-99999|
567 +|DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|(((
568 +nn:0-9999
569 +
570 +dddd:0-9999
571 +)))|(((
572 +nn:DB No.
573 +
574 +dddd:address value
575 +)))
576 +|DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|(((
577 +nn:0-9999
578 +
579 +dddd:0-9999
580 +)))|(((
581 +nn:DB No.
582 +
583 +dddd:address value
584 +
585 +Address value is a multiple of 2
586 +)))
587 +|DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|(((
588 +nn:0-9999
589 +
590 +dddd:0-9999
591 +)))|(((
592 +nn:DB No.
593 +
594 +dddd:address value
595 +
596 +Address value is a multiple of 4
597 +)))
598 +
599 +**Communication Settings**
600 +
601 +Enable HMI Ethernet in [Project Settings];
602 +
603 +(% style="text-align:center" %)
604 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-rounded img-thumbnail"]]
605 +
606 +Set PLC IP in [Device IP] settings;
607 +
608 +(% style="text-align:center" %)
609 +[[image:12.PLC Protocol_html_f7b3eb9abda33833.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
610 +
611 +**✎Note:**
612 +
613 +* The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens.
614 +* HMI access PLC, use S7 protocol, access PLC TSAP 02.01 (s7-1200 PROFINET interface only supports three connections, the default support), detailed reference to the system manual of S7-1200.
615 +
616 +**Cable Wiring**
617 +
618 +{{id name="OLE_LINK8"/}}
619 +
620 +
452 452  = **Mitsubishi PLC** =
453 453  
454 454  == **Mitsubishi FX Series Protocol** ==
image-20220824120406-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +31.9 KB
Content
image-20220824120507-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +10.3 KB
Content
image-20220824120524-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +23.4 KB
Content
image-20220824120547-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +49.2 KB
Content
image-20220824120614-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +30.9 KB
Content
image-20220824142130-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +122.2 KB
Content
image-20220824142546-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +111.2 KB
Content
image-20220824142643-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +38.3 KB
Content
image-20220824142722-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +7.3 KB
Content
image-20220824143613-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +206.2 KB
Content
image-20220824143744-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +126.0 KB
Content
image-20220824144619-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +126.2 KB
Content
image-20220824151127-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +85.5 KB
Content
image-20220824152217-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +123.6 KB
Content
image-20220824152928-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +137.8 KB
Content
image-20220824161345-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +126.0 KB
Content
image-20220824161450-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +107.1 KB
Content