Changes for page 1 Communication

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

From version 65.1
edited by Ben
on 2022/08/24 11:58
Change comment: There is no comment for this version
To version 93.1
edited by Ben
on 2022/08/24 16:26
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,33 +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 -* **RS485**
38 +[[image:image-20220824152217-1.png]]
39 39  
40 - [[image:image-20220822172124-1.png]]
40 +**4)hardware connection**
41 41  
42 42  * **RS422**
43 43  
44 - [[image:image-20220822172228-2.png]]
44 + [[image:image-20220824120614-5.png]]
45 45  
46 +* **RS485**
46 46  
47 -**✎Note:**
48 + [[image:image-20220824120524-3.png]]
48 48  
49 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) .
50 -* If PLC <= 20 points,such as LX3V-1208/LX3V-0806 PLC,PLC RS485A and RS485B mean PLC COM2 RS485+ and RS485- .PLC COM2 can support modbus. Please refer to PLC COM2 setting manual.
51 -
52 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]]
53 -
54 54  == **LX5V Serial Protocol** ==
55 55  
56 -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.
57 57  
58 58  **Software configuration of PLC**
59 59  
60 60  **1)PLC programming software**
61 61  
62 -[[image:image-20220822172553-1.png]]
58 +[[image:image-20220824142722-1.png]]
63 63  
64 64  **2)New PLC project**
65 65  
... ... @@ -97,7 +97,6 @@
97 97  
98 98  [[image:image-20220824104909-2.png]]
99 99  
100 -
101 101  **3)Set communication port parameters**
102 102  
103 103  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.
... ... @@ -110,38 +110,33 @@
110 110  
111 111  Parity:No verification
112 112  
113 -[[image:image-20220811104012-1.png]]
108 +[[image:image-20220824142130-1.png]]
114 114  
115 -
116 116  **hardware connection**
117 117  
118 118  **1)Hardware wiring diagram**
119 119  
120 -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]]
121 121  
116 +[[image:image-20220824142643-3.png]]
122 122  
118 +The above are all the steps for establishing serial port communication between V-BOX with LX5V PLC.
123 123  
124 -[[image:image-20220811103005-4.png]]
125 -
126 -[[image:image-20220811103227-7.png]]
127 -
128 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
129 -
130 130  == **LX5V-N Ethernet protocol** ==
131 131  
132 - 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.
133 133  
134 134  **Software configuration of PLC**
135 135  
136 136  **1)PLC programming software**
137 137  
138 -[[image:image-20220810164710-1.png]]
128 +[[image:image-20220824142722-1.png]]
139 139  
140 140  **2)New PLC project**
141 141  
142 142  Click New Project and select the PLC model.
143 143  
144 -[[image:image-20220811115454-1.png]]
134 +[[image:image-20220824143613-1.png]]
145 145  
146 146  **3)Set Ethernet port parameters**
147 147  
... ... @@ -153,53 +153,38 @@
153 153  
154 154  subnet mask:255.255.255.0
155 155  
156 -[[image:image-20220811140530-2.png]]
146 +[[image:image-20220824143744-2.png]]
157 157  
158 158  **4)Registers list**
159 159  
160 -[[image:image-20220811102219-3.png]]
150 +[[image:image-20220822172730-4.png]]
161 161  
162 -**HMI software configuration**
152 +(% id="cke_bm_22473S" style="display:none" %)** **(%%)**V-BOX software configuration**
163 163  
164 -**1)HMI programming software**
154 +**1)V-BOX programming software**
165 165  
166 - [[image:image-20220810171237-4.png]]
156 + [[image:image-20220824104124-1.png]]
167 167  
168 -**2)New HMI project**
158 +**2)V-NET add device**
169 169  
170 -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.
171 171  
172 -[[image:image-20220810172010-5.png]]
162 +[[image:image-20220824104909-2.png]]
173 173  
174 -**3)Set communication port parameters**
164 +**3)Set communication Protocol**
175 175  
176 -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.
177 177  
178 -HMI IP address:192.168.39.201
168 +[[image:image-20220824144619-1.png]]
179 179  
180 -default gateway:192.168.39.1
181 -
182 -subnet mask:255.255.255.0
183 -
184 -[[image:image-20220811170753-2.png]]
185 -
186 -Next, click Communication Settings to configure the IP of the HMI communication object.
187 -
188 -[[image:image-20220811163047-1.png]]
189 -
190 190  **hardware connection**
191 191  
192 192  **1)Hardware wiring diagram**
193 193  
194 -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]]
195 195  
196 -[[image:image-20220811170248-1.png]]
176 +The above are all the steps for establishing ethernet communication between V-BOX with LX5V PLC.
197 197  
198 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
199 -
200 -(% style="text-align:center" %)
201 -[[image:1624348978863-771.png||queryString="width=812&height=494" height="487" width="800" class="img-thumbnail"]]
202 -
203 203  = **Rockwell PLC** =
204 204  
205 205  == (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** ==
... ... @@ -206,10 +206,10 @@
206 206  
207 207  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
208 208  
209 -**HMI Settings**
184 +**1)PLC Settings**
210 210  
211 211  |**Item**|**Settings**|**Note**
212 -|Protocol|Allen-Bradlley MicroLogix|
187 +|Protocol|Allen-Bradlley DF1 Advanced|
213 213  |Connection|RS232|
214 214  |Baud rate|19200|
215 215  |Data bit|8|
... ... @@ -217,7 +217,7 @@
217 217  |Stop bit|1|
218 218  |PLC station No.|1|
219 219  
220 -**Address List**
195 +**2)Address List**
221 221  
222 222  |**Type**|**Device registers**|**Format**|**Range**|**Note**
223 223  |(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15|
... ... @@ -235,12 +235,12 @@
235 235  |T|T nnhh|0~~ffff
236 236  |R|R nnhh|0~~ffff
237 237  
238 -**Cable Wiring**
213 +**3)Configure the communication protocol**[[image:image-20220824152928-1.png]]
239 239  
215 +**4)Configure the communication protocol**
216 +
240 240  [[image:image-20220824110724-1.png]]
241 241  
242 -
243 -
244 244  == **CompactLogix Protocol** ==
245 245  
246 246  (((
... ... @@ -454,13 +454,190 @@
454 454  == **S7-200 Smart Ethernet Protocol** ==
455 455  
456 456  [[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;
457 457  )))
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
458 458  )))
467 +|MD|MD ddddd|0~~99999|(((
468 +MD0=MB(0~~3)
459 459  
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 +
460 460  == **S7-1200 Ethernet Protocol** ==
461 461  
462 462  [[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]]
463 463  
496 +== **S7-XXX Ethernet Protocol** ==
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 +[[image:image-20220824162459-3.png]]
514 +
515 +**Address List**
516 +
517 +|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note**
518 +|(% rowspan="4" %)Bit|I|I|M d.o|(((
519 +d:0~-~-9999
520 +
521 +o:0-7
522 +)))|
523 +|Q|Q|Q d.o|(((
524 +d:0~-~-9999
525 +
526 +o:0-7
527 +)))|
528 +|M|M|M d.o|(((
529 +d:0~-~-9999
530 +
531 +o:0-7
532 +)))|
533 +|DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|(((
534 +nn:0-9999,
535 +
536 +dddd:0-9999,
537 +
538 +o:0-7
539 +)))|(((
540 +nn:DB No.
541 +
542 +dddd:address value
543 +
544 +o: digit address
545 +)))
546 +|(% rowspan="8" %)Word|M|MB|MB d|d:0-99999|
547 +|M|MW|MW d|d:0-99999|(((
548 +MW0=MB(0~~1)
549 +
550 +MW2=MB(2~~3)
551 +
552 +Address value is a multiple of 2
553 +)))
554 +|M|MD|MD d|d:0-99999|(((
555 +MD0=MB(0~~3)
556 +
557 +MD4=MB(4~~7)
558 +
559 +Address value is a multiple of 4
560 +)))
561 +|I|IW|IW d|d:0-99999|
562 +|Q|QW|QW d|d:0-99999|
563 +|DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|(((
564 +nn:0-9999
565 +
566 +dddd:0-9999
567 +)))|(((
568 +nn:DB No.
569 +
570 +dddd:address value
571 +)))
572 +|DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|(((
573 +nn:0-9999
574 +
575 +dddd:0-9999
576 +)))|(((
577 +nn:DB No.
578 +
579 +dddd:address value
580 +
581 +Address value is a multiple of 2
582 +)))
583 +|DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|(((
584 +nn:0-9999
585 +
586 +dddd:0-9999
587 +)))|(((
588 +nn:DB No.
589 +
590 +dddd:address value
591 +
592 +Address value is a multiple of 4
593 +)))
594 +
595 +**Communication Settings**
596 +
597 +Enable HMI Ethernet in [Project Settings];
598 +
599 +(% style="text-align:center" %)
600 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-rounded img-thumbnail"]]
601 +
602 +Set PLC IP in [Device IP] settings;
603 +
604 +(% style="text-align:center" %)
605 +[[image:12.PLC Protocol_html_f7b3eb9abda33833.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
606 +
607 +**✎Note:**
608 +
609 +* The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens.
610 +* 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.
611 +
612 +**Cable Wiring**
613 +
614 +[[image:image-20220824162342-2.png]]
615 +
464 464  = **Mitsubishi PLC** =
465 465  
466 466  == **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
image-20220824162339-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +107.1 KB
Content
image-20220824162342-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +107.1 KB
Content
image-20220824162459-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +32.6 KB
Content