Changes for page 1 Communication

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

From version 92.1
edited by Ben
on 2022/08/24 16:25
Change comment: There is no comment for this version
To version 65.1
edited by Ben
on 2022/08/24 11:58
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 -**1)PLC Settings**
7 +**HMI 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 -**2)PLC Address List**
18 +**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,29 +33,33 @@
33 33  |S|S|S d|0~~99999|
34 34  |SD|SD|SD d|8000~~9999|
35 35  
36 -**3)Configure the communication protocol**
36 +**Cable Wiring**
37 37  
38 -[[image:image-20220824152217-1.png]]
38 +* **RS485**
39 39  
40 -**4)hardware connection**
40 + [[image:image-20220822172124-1.png]]
41 41  
42 42  * **RS422**
43 43  
44 - [[image:image-20220824120614-5.png]]
44 + [[image:image-20220822172228-2.png]]
45 45  
46 -* **RS485**
47 47  
48 - [[image:image-20220824120524-3.png]]
47 +**✎Note:**
49 49  
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 +
50 50  == **LX5V Serial Protocol** ==
51 51  
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.
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.
53 53  
54 54  **Software configuration of PLC**
55 55  
56 56  **1)PLC programming software**
57 57  
58 -[[image:image-20220824142722-1.png]]
62 +[[image:image-20220822172553-1.png]]
59 59  
60 60  **2)New PLC project**
61 61  
... ... @@ -93,6 +93,7 @@
93 93  
94 94  [[image:image-20220824104909-2.png]]
95 95  
100 +
96 96  **3)Set communication port parameters**
97 97  
98 98  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.
... ... @@ -105,33 +105,38 @@
105 105  
106 106  Parity:No verification
107 107  
108 -[[image:image-20220824142130-1.png]]
113 +[[image:image-20220811104012-1.png]]
109 109  
115 +
110 110  **hardware connection**
111 111  
112 112  **1)Hardware wiring diagram**
113 113  
114 -[[image:image-20220824142546-2.png]]
120 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
115 115  
116 -[[image:image-20220824142643-3.png]]
117 117  
118 -The above are all the steps for establishing serial port communication between V-BOX with LX5V PLC.
119 119  
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 +
120 120  == **LX5V-N Ethernet protocol** ==
121 121  
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.
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.
123 123  
124 124  **Software configuration of PLC**
125 125  
126 126  **1)PLC programming software**
127 127  
128 -[[image:image-20220824142722-1.png]]
138 +[[image:image-20220810164710-1.png]]
129 129  
130 130  **2)New PLC project**
131 131  
132 132  Click New Project and select the PLC model.
133 133  
134 -[[image:image-20220824143613-1.png]]
144 +[[image:image-20220811115454-1.png]]
135 135  
136 136  **3)Set Ethernet port parameters**
137 137  
... ... @@ -143,38 +143,53 @@
143 143  
144 144  subnet mask:255.255.255.0
145 145  
146 -[[image:image-20220824143744-2.png]]
156 +[[image:image-20220811140530-2.png]]
147 147  
148 148  **4)Registers list**
149 149  
150 -[[image:image-20220822172730-4.png]]
160 +[[image:image-20220811102219-3.png]]
151 151  
152 -(% id="cke_bm_22473S" style="display:none" %)** **(%%)**V-BOX software configuration**
162 +**HMI software configuration**
153 153  
154 -**1)V-BOX programming software**
164 +**1)HMI programming software**
155 155  
156 - [[image:image-20220824104124-1.png]]
166 + [[image:image-20220810171237-4.png]]
157 157  
158 -**2)V-NET add device**
168 +**2)New HMI project**
159 159  
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.
170 +Click New Project and select the HMI model.
161 161  
162 -[[image:image-20220824104909-2.png]]
172 +[[image:image-20220810172010-5.png]]
163 163  
164 -**3)Set communication Protocol**
174 +**3)Set communication port parameters**
165 165  
166 -Click Communication to configure the LX5V plc protocol and IP address.
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.
167 167  
168 -[[image:image-20220824144619-1.png]]
178 +HMI IP address:192.168.39.201
169 169  
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 +
170 170  **hardware connection**
171 171  
172 172  **1)Hardware wiring diagram**
173 173  
174 -[[image:image-20220824151127-2.png]]
194 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
175 175  
176 -The above are all the steps for establishing ethernet communication between V-BOX with LX5V PLC.
196 +[[image:image-20220811170248-1.png]]
177 177  
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 +
178 178  = **Rockwell PLC** =
179 179  
180 180  == (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** ==
... ... @@ -181,10 +181,10 @@
181 181  
182 182  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
183 183  
184 -**1)PLC Settings**
209 +**HMI Settings**
185 185  
186 186  |**Item**|**Settings**|**Note**
187 -|Protocol|Allen-Bradlley DF1 Advanced|
212 +|Protocol|Allen-Bradlley MicroLogix|
188 188  |Connection|RS232|
189 189  |Baud rate|19200|
190 190  |Data bit|8|
... ... @@ -192,7 +192,7 @@
192 192  |Stop bit|1|
193 193  |PLC station No.|1|
194 194  
195 -**2)Address List**
220 +**Address List**
196 196  
197 197  |**Type**|**Device registers**|**Format**|**Range**|**Note**
198 198  |(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15|
... ... @@ -210,12 +210,12 @@
210 210  |T|T nnhh|0~~ffff
211 211  |R|R nnhh|0~~ffff
212 212  
213 -**3)Configure the communication protocol**[[image:image-20220824152928-1.png]]
238 +**Cable Wiring**
214 214  
215 -**4)Configure the communication protocol**
216 -
217 217  [[image:image-20220824110724-1.png]]
218 218  
242 +
243 +
219 219  == **CompactLogix Protocol** ==
220 220  
221 221  (((
... ... @@ -429,190 +429,13 @@
429 429  == **S7-200 Smart Ethernet Protocol** ==
430 430  
431 431  [[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;
456 456  )))
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
466 466  )))
467 -|MD|MD ddddd|0~~99999|(((
468 -MD0=MB(0~~3)
469 469  
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 -
492 492  == **S7-1200 Ethernet Protocol** ==
493 493  
494 494  [[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]]
495 495  
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 -[[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 -
616 616  = **Mitsubishi PLC** =
617 617  
618 618  == **Mitsubishi FX Series Protocol** ==
image-20220824120406-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -31.9 KB
Content
image-20220824120507-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -10.3 KB
Content
image-20220824120524-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -23.4 KB
Content
image-20220824120547-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -49.2 KB
Content
image-20220824120614-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -30.9 KB
Content
image-20220824142130-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -122.2 KB
Content
image-20220824142546-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -111.2 KB
Content
image-20220824142643-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -38.3 KB
Content
image-20220824142722-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -7.3 KB
Content
image-20220824143613-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -206.2 KB
Content
image-20220824143744-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -126.0 KB
Content
image-20220824144619-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -126.2 KB
Content
image-20220824151127-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -85.5 KB
Content
image-20220824152217-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -123.6 KB
Content
image-20220824152928-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -137.8 KB
Content
image-20220824161345-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -126.0 KB
Content
image-20220824161450-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -107.1 KB
Content
image-20220824162339-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -107.1 KB
Content
image-20220824162342-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -107.1 KB
Content
image-20220824162459-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -32.6 KB
Content