Changes for page 1 Communication

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

From version 106.1
edited by Ben
on 2022/08/25 10:23
Change comment: There is no comment for this version
To version 16.1
edited by Ben
on 2022/07/14 16:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,227 +1,71 @@
1 -= (% style="color:inherit; font-family:inherit" %)**WECON PLC**(%%) =
1 += **1 General communication with PLC** =
2 2  
3 -== **LX3V Serial Protocol** ==
3 +== **Modbus RTU** ==
4 4  
5 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
5 +=== **V-BOX as master** ===
6 6  
7 -**1)PLC Settings**
7 +Select the protocol “(% class="mark" %)Modbus RTU Slave(All Fuction)”,
8 8  
9 -|**Item**|**Settings**|**Note**
10 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM|
11 -|Connection|RS422/RS485|
12 -|Baud rate|9600|
13 -|Data bit|7|
14 -|Parity|EVEN|
15 -|Stop bit|1|
16 -|PLC station No.|1|
9 +(% class="mark" %)then set BaudRate,Port,Stop Bit,Data Bit,Parity
17 17  
18 -**2)PLC Address List**
11 +(% style="text-align:center" %)
12 +[[image:1624342015914-382.png||height="486" width="800" class="img-thumbnail"]]
19 19  
20 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
21 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237|
22 -|Y|Y|Y o|0~~303237|
23 -|M|M|M d|0~~99999|
24 -|T|T|T d|0~~99999|
25 -|C|C|C d|0~~99999|
26 -|S|S|S d|0~~99999|
27 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237|
28 -|Y|Y|Y o|0~~303237|
29 -|M|M|M d|0~~99999|
30 -|T|T|T d|0~~99999|
31 -|C|C|C d|0~~199|
32 -|D|D|D d|0~~7999|
33 -|S|S|S d|0~~99999|
34 -|SD|SD|SD d|8000~~9999|
14 +=== **V-BOX as slave** ===
35 35  
36 -**3)Configure the communication protocol**
16 +Select the protocol “(% class="mark" %)**Modbus RTU Master”**,
37 37  
38 -[[image:image-20220824152217-1.png]]
18 +(% class="mark" %)then set BaudRate,Port,Stop Bit,Data Bit,Parity
39 39  
40 -**4)hardware connection**
20 +(% style="text-align:center" %)
21 +[[image:1624348709622-711.png||queryString="width=809&height=493" height="488" width="800" class="img-thumbnail"]]
41 41  
42 -* **RS422**
23 +**Address List**
43 43  
44 - [[image:image-20220824120614-5.png]]
25 +(% class="table-bordered" %)
26 +|**Type**|**Register**|**Function code & Description**
27 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
28 +|06 (write single register: write a binary value to a holding register)
29 +|10 (write values to multiple addresses )
30 +|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
31 +|06 (write single register: write a binary value to a holding register)
32 +|10 (write values to multiple addresses )
33 +|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
34 +|06 (write single register: write a binary value to a holding register)
35 +|10 (write values to multiple addresses )
36 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
37 +|10 (write values to multiple addresses )
38 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
39 +|05 (Force a single coil to force the on/off state of a logic coil)
40 +|0F (Write multiple bits, ie write continuously)
41 +|(% rowspan="3" %)1|02 (Read the input state)
42 +|05 (Force a single coil to force the on/off state of a logic coil)
43 +|0F (Write multiple bits)
44 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
45 +|05 (Force a single coil to force the on/off state of a logic coil)
46 +|0F (Write multiple bits)
47 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
48 +|0F (Write multiple bits)
45 45  
46 -* **RS485**
50 +== **WECON LX3V PLC** ==
47 47  
48 - [[image:image-20220824120524-3.png]]
52 +Select the protocol (% class="mark" %)"WECON LX3V"
49 49  
50 -== **LX5V Serial Protocol** ==
54 +(% class="mark" %)then set BaudRate,Port,Stop Bit,Data Bit,Parity same with PLC.
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 +(% class="mark" %)WECON PLC RS422 port,default communication parameters is 9600,1,7,ZEVEN
53 53  
54 -**Software configuration of PLC**
58 +(% style="text-align:center" %)
59 +[[image:1624348978863-771.png||queryString="width=812&height=494" height="487" width="800" class="img-thumbnail"]]
55 55  
56 -**1)PLC programming software**
61 +== **2 Communication with Allen-Bradley CompactLogix L1769** ==
57 57  
58 -[[image:image-20220824142722-1.png]]
59 -
60 -**2)New PLC project**
61 -
62 -Click New Project and select the PLC model.
63 -
64 -[[image:image-20220822172623-2.png]]
65 -
66 -**3)Set Serial port parameters**
67 -
68 -Follow the steps below to configure Serial port parameters
69 -
70 -Baud rate:115200
71 -
72 -Data bit:8
73 -
74 -Stop bit:1
75 -
76 -Parity:No verification
77 -
78 -[[image:image-20220822172657-3.png]]
79 -
80 -**4)Registers list**
81 -
82 -[[image:image-20220822172730-4.png]]
83 -
84 -**V-BOX software configuration**
85 -
86 -**1)V-BOX programming software**
87 -
88 - [[image:image-20220824104124-1.png]]
89 -
90 -**2)V-NET add device**
91 -
92 -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.
93 -
94 -[[image:image-20220824104909-2.png]]
95 -
96 -**3)Set communication port parameters**
97 -
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.
99 -
100 -Baud rate:115200
101 -
102 -Data bit:8
103 -
104 -Stop bit:1
105 -
106 -Parity:No verification
107 -
108 -[[image:image-20220824142130-1.png]]
109 -
110 -**hardware connection**
111 -
112 -**1)Hardware wiring diagram**
113 -
114 -[[image:image-20220824142546-2.png]]
115 -
116 -[[image:image-20220824142643-3.png]]
117 -
118 -The above are all the steps for establishing serial port communication between V-BOX with LX5V PLC.
119 -
120 -== **LX5V-N Ethernet protocol** ==
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.
123 -
124 -**Software configuration of PLC**
125 -
126 -**1)PLC programming software**
127 -
128 -[[image:image-20220824142722-1.png]]
129 -
130 -**2)New PLC project**
131 -
132 -Click New Project and select the PLC model.
133 -
134 -[[image:image-20220824143613-1.png]]
135 -
136 -**3)Set Ethernet port parameters**
137 -
138 -Follow the steps below to configure Ethernet parameters
139 -
140 -PLC IP address:192.168.39.200
141 -
142 -default gateway:192.168.39.1
143 -
144 -subnet mask:255.255.255.0
145 -
146 -[[image:image-20220824143744-2.png]]
147 -
148 -**4)Registers list**
149 -
150 -[[image:image-20220822172730-4.png]]
151 -
152 -(% id="cke_bm_22473S" style="display:none" %)** **(%%)**V-BOX software configuration**
153 -
154 -**1)V-BOX programming software**
155 -
156 - [[image:image-20220824104124-1.png]]
157 -
158 -**2)V-NET add device**
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.
161 -
162 -[[image:image-20220824104909-2.png]]
163 -
164 -**3)Set communication Protocol**
165 -
166 -Click Communication to configure the LX5V plc protocol and IP address.
167 -
168 -[[image:image-20220824144619-1.png]]
169 -
170 -**hardware connection**
171 -
172 -**1)Hardware wiring diagram**
173 -
174 -[[image:image-20220824151127-2.png]]
175 -
176 -The above are all the steps for establishing ethernet communication between V-BOX with LX5V PLC.
177 -
178 -= **Rockwell PLC** =
179 -
180 -== (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** ==
181 -
182 -MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
183 -
184 -**1)PLC Settings**
185 -
186 -|**Item**|**Settings**|**Note**
187 -|Protocol|Allen-Bradlley DF1 Advanced|
188 -|Connection|RS232|
189 -|Baud rate|19200|
190 -|Data bit|8|
191 -|Parity|None|
192 -|Stop bit|1|
193 -|PLC station No.|1|
194 -
195 -**2)Address List**
196 -
197 -|**Type**|**Device registers**|**Format**|**Range**|**Note**
198 -|(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15|
199 -|O|O d.d|0.0~~255.15|
200 -|B|B nnhh.dd|0.0~~ffff.15|nn: block number (hex)
201 -|S|S d.d|0.0~~255.15|
202 -|N|N nnhh.dd|0.0~~ffff.15|nn: block number (hex)
203 -|(% rowspan="9" %)Word|S|S d|0~~255|
204 -|TS|TS nnhh|0~~ffff|(% rowspan="8" %)nn: block number (hex)
205 -|TP|TP nnhh|0~~ffff
206 -|CS|CS nnhh|0~~ffff
207 -|CP|CP nnhh|0~~ffff
208 -|N|N nnhh|0~~ffff
209 -|C|C nnhh|0~~ffff
210 -|T|T nnhh|0~~ffff
211 -|R|R nnhh|0~~ffff
212 -
213 -**3)Configure the communication protocol**[[image:image-20220824152928-1.png]]
214 -
215 -**4)Configure the communication protocol**
216 -
217 -[[image:image-20220824110724-1.png]]
218 -
219 -== **CompactLogix Protocol** ==
220 -
221 221  (((
222 222  (((
223 -This example introduces the establishment of Ethernet communication between Wecon V-box and CompactLogix L1769. It is introduced through three parts: PLC software configuration, V-box software configuration, and hardware wiring.
65 +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.
224 224  )))
67 +
68 +
225 225  )))
226 226  
227 227  (((
... ... @@ -235,7 +235,7 @@
235 235  **1)PLC programming software**
236 236  )))
237 237  
238 -[[image:image-20220714162600-1.png]]
82 +[[image:image-20220714160120-3.png||height="308" width="255"]]
239 239  
240 240  (% class="wikigeneratedid" id="HNewPLCproject" %)
241 241  (((
... ... @@ -249,13 +249,13 @@
249 249  )))
250 250  
251 251  (((
252 -[[image:image-20220714162617-2.png]]
96 +
253 253  )))
254 254  
255 255  (((
256 -
100 +[[image:image-20220714160335-4.png||height="215" width="398"]]
257 257  
258 -[[image:image-20220714162652-4.png]]
102 +[[image:image-20220714160412-5.png||height="319" width="395"]]
259 259  )))
260 260  
261 261  (((
... ... @@ -297,7 +297,7 @@
297 297  )))
298 298  
299 299  (((
300 -[[image:image-20220714162713-5.png]]
144 +[[image:image-20220714160439-6.png||height="325" width="717"]]
301 301  )))
302 302  
303 303  (((
... ... @@ -317,7 +317,7 @@
317 317  
318 318  (% class="wikigeneratedid" %)
319 319  (((
320 - [[image:image-20220714162725-6.png]]
164 + [[image:image-20220714160541-7.png||height="189" width="314"]]
321 321  )))
322 322  
323 323  (% class="wikigeneratedid" id="HConfiguredevicenetwork" %)
... ... @@ -339,7 +339,7 @@
339 339  
340 340  (((
341 341  (((
342 -[[image:image-20220714162737-7.png]]
186 +[[image:image-20220714160651-8.png||height="389" width="724"]]
343 343  
344 344  
345 345  )))
... ... @@ -355,7 +355,7 @@
355 355  
356 356  (((
357 357  (((
358 -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:image-20220714162752-8.png]]
202 +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:image-20220714160034-2.png||height="394" width="731"]]
359 359  )))
360 360  
361 361  
... ... @@ -371,7 +371,7 @@
371 371  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.
372 372  )))
373 373  
374 -[[image:image-20220714162805-9.png]]
218 +[[image:image-20220714160843-9.png||height="395" width="733"]]
375 375  )))
376 376  
377 377  (((
... ... @@ -378,11 +378,11 @@
378 378  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.
379 379  )))
380 380  
381 -[[image:image-20220824164346-1.png]]
225 +[[image:image-20220714160943-10.png||height="300" width="487"]]
382 382  
383 383  
384 384  (((
385 -After adding the protocol Allen-BradleyMicro850_FreeTag, click[[image:image-20220714143838-2.png]]icon add label.[[image:image-20220714162827-11.png]]
229 +After adding the protocol Allen-BradleyMicro850_FreeTag, click[[image:image-20220714143838-2.png]]icon add label.[[image:image-20220714161120-12.png||height="403" width="740"]]
386 386  )))
387 387  
388 388  (% class="wikigeneratedid" id="HEngineeringproduction" %)
... ... @@ -396,7 +396,7 @@
396 396  According to your own needs, use the V-NET client software to edit the required data monitoring points.
397 397  )))
398 398  
399 -[[image:image-20220714162841-12.png]]
243 +[[image:image-20220714161229-13.png||height="217" width="732"]]
400 400  
401 401  
402 402  (((
... ... @@ -413,452 +413,53 @@
413 413  This example introduces Wecon V-box with Allen-Bradley L1769 PLC to establish communication through Ethernet. The connection diagram is as follows:
414 414  )))
415 415  
416 -[[image:image-20220714162856-13.png]]
260 +[[image:image-20220714161445-14.png]]
417 417  
418 418  (((
419 -The above are all the steps for establishing Ethernet communication between Wecon V-box with CompactLogix L1769 PLC.
420 -
421 -
422 -== **Allen-Bradley Ethernet DF1** ==
423 -
424 -[[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/Allen-Bradley%20Ethernet%20DF1.zip]]
425 -
426 -
427 -= **Siemens PLC** =
428 -
429 -== **S7-200 Smart Ethernet Protocol** ==
430 -
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;
263 +The above are all the steps for establishing Ethernet communication between Wecon V-box with Allen-Bradley L1769 PLC.
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)
267 +== **Siemens S7-1200** ==
471 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 -**4)Cable Wiring**
487 -
488 -[[image:image-20220824161450-2.png]]
489 -)))
490 -)))
491 -
492 -== **S7-1200 Ethernet Protocol** ==
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 Protocol** ==
271 +== **Allen-Bradley Ethernet DF1** ==
497 497  
498 -Supported Series: Siemens S7-400, S7-1200 and S7-1500
273 +[[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/Allen-Bradley%20Ethernet%20DF1.zip]]
499 499  
500 -**1)PLC Setting**
275 +== **Communication with S7-200 Smart** ==
501 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)|
277 +[[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]]
508 508  
509 -Slot from TIA Portal is equal to Device No. of V-net
279 +== **Delta DVP Ethernet** ==
510 510  
511 -Rack from TIA Portal is equal to HMI No. of V-net
281 +[[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/Delta%20DVP%20Ethernet.zip]]
512 512  
513 -[[image:image-20220824162459-3.png]]
283 +== **Delta DVP Serial Protocol** ==
514 514  
515 -[[image:image-20220824163305-2.png]]
516 -
517 -**2)Address List**
518 -
519 -|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note**
520 -|(% rowspan="4" %)Bit|I|I|M d.o|(((
521 -d:0~-~-9999
522 -
523 -o:0-7
524 -)))|
525 -|Q|Q|Q d.o|(((
526 -d:0~-~-9999
527 -
528 -o:0-7
529 -)))|
530 -|M|M|M d.o|(((
531 -d:0~-~-9999
532 -
533 -o:0-7
534 -)))|
535 -|DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|(((
536 -nn:0-9999,
537 -
538 -dddd:0-9999,
539 -
540 -o:0-7
541 -)))|(((
542 -nn:DB No.
543 -
544 -dddd:address value
545 -
546 -o: digit address
547 -)))
548 -|(% rowspan="8" %)Word|M|MB|MB d|d:0-99999|
549 -|M|MW|MW d|d:0-99999|(((
550 -MW0=MB(0~~1)
551 -
552 -MW2=MB(2~~3)
553 -
554 -Address value is a multiple of 2
555 -)))
556 -|M|MD|MD d|d:0-99999|(((
557 -MD0=MB(0~~3)
558 -
559 -MD4=MB(4~~7)
560 -
561 -Address value is a multiple of 4
562 -)))
563 -|I|IW|IW d|d:0-99999|
564 -|Q|QW|QW d|d:0-99999|
565 -|DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|(((
566 -nn:0-9999
567 -
568 -dddd:0-9999
569 -)))|(((
570 -nn:DB No.
571 -
572 -dddd:address value
573 -)))
574 -|DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|(((
575 -nn:0-9999
576 -
577 -dddd:0-9999
578 -)))|(((
579 -nn:DB No.
580 -
581 -dddd:address value
582 -
583 -Address value is a multiple of 2
584 -)))
585 -|DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|(((
586 -nn:0-9999
587 -
588 -dddd:0-9999
589 -)))|(((
590 -nn:DB No.
591 -
592 -dddd:address value
593 -
594 -Address value is a multiple of 4
595 -)))
596 -
597 -**3)Configure the communication protocol**
598 -
599 -[[image:image-20220824163448-3.png]]
600 -
601 -**✎Note:**
602 -
603 -* The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three V-BOX.
604 -* V-BOX 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.
605 -
606 -**4)Cable Wiring**
607 -
608 -[[image:image-20220824162342-2.png]]
609 -
610 -
611 -= **Mitsubishi PLC** =
612 -
613 -== **FX1S,1N,2N Serial Protocol** ==
614 -
615 -Supported Series: Mitsubishi FX1S, FX1N, FX2N series
616 -
617 -**1)V-BOX Settings**
618 -
619 -|**Item**|**Settings**|**Note**
620 -|Protocol|Mitsubishi FX1S/FX1N/FX2N|
621 -|Connection|RS422/RS485/RS232|
622 -|Baud rate|9600~~115200|
623 -|Data bit|7/8|
624 -|Parity|EVEN/Odd/None|
625 -|Stop bit|1/2|
626 -|PLC station No.|1~~255|
627 -
628 -**2)Address List**
629 -
630 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
631 -|(% rowspan="7" %)Bit|X|X|Xo|0~~303237|
632 -|Y|Y|Y o|0~~303237|
633 -|M|M|M d|0~~99999|
634 -|T|T|T d|0~~99999|
635 -|C|C|C d|0~~99999|
636 -|S|S|S d|0~~99999|
637 -|SM|SM|SM d|8000~~9999|
638 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237|
639 -|Y|Y|Y o|0~~303237|
640 -|M|M|M d|0~~99999|
641 -|T|T|T d|0~~99999|
642 -|C|C|C d|0~~199|
643 -|D|D|D d|0~~7999|
644 -|S|S|S d|0~~99999|
645 -|SD|SD|SD d|8000~~9999|
646 -
647 -**3)Configure the communication protocol**
648 -
649 -[[image:image-20220825101714-1.png]]
650 -
651 -**4)Cable Wiring**
652 -
653 -* **RS422**
654 -
655 -[[image:image-20220825100814-3.png]]
656 -
657 -[[image:image-20220825100845-4.png]]
658 -
659 -
660 -== **FX3U,3G,3GA Serial Protocol** ==
661 -
662 -Supported Series: Mitsubishi FX3U, FX3G, FX3GA series
663 -
664 -**1)V-BOX Settings**
665 -
666 -|**Item**|**Settings**|**Note**
667 -|Protocol|Mitsubishi FX3U/3G/3GA|
668 -|Connection|RS422/RS485/RS232|
669 -|Baud rate|9600~~115200|
670 -|Data bit|7/8|
671 -|Parity|EVEN/Odd/None|
672 -|Stop bit|1/2|
673 -|PLC station No.|1~~255|
674 -
675 -**2)Address List**
676 -
677 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
678 -|(% rowspan="7" %)Bit|X|X|Xo|0~~303237|
679 -|Y|Y|Y o|0~~303237|
680 -|M|M|M d|0~~99999|
681 -|T|T|T d|0~~99999|
682 -|C|C|C d|0~~99999|
683 -|S|S|S d|0~~99999|
684 -|SM|SM|SM d|8000~~9999|
685 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237|
686 -|Y|Y|Y o|0~~303237|
687 -|M|M|M d|0~~99999|
688 -|T|T|T d|0~~99999|
689 -|C|C|C d|0~~199|
690 -|D|D|D d|0~~7999|
691 -|S|S|S d|0~~99999|
692 -|SD|SD|SD d|8000~~9999|
693 -
694 -**3)Configure the communication protocol**
695 -
696 -[[image:image-20220825101714-1.png]]
697 -
698 -**4)Cable Wiring**
699 -
700 -* **RS422**
701 -
702 -[[image:image-20220825100814-3.png]]
703 -
704 -[[image:image-20220825100845-4.png]]
705 -
706 -
707 -== **FX5U Serial Protocol** ==
708 -
709 -
710 -== **FX5U Ethernet Protocol** ==
711 -
712 -Mitsubishi FX5U series PLC
713 -
714 -**HMI Settings**
715 -
716 -|**Items**|**Settings**|**Note**
717 -|Protocol|Mitsubishi FX5U|
718 -|Connection|Ethernet|
719 -|Port No.|5002|Must be the same as the PLC setting
720 -|PLC station No.|0|
721 -
722 -**Address List**
723 -
724 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
725 -|(% rowspan="15" %)Bit|X|X|X o|0~~303237|
726 -|Y|Y|Y o|0~~303237|
727 -|M|M|M d|0~~99999|
728 -|B|B|B h|0~~7FFF|
729 -|F|F|F d|0~~32767|
730 -|SB|SB|SB h|0~~7FFF|
731 -|TS|TS|TS d|0~~1023|
732 -|TC|TC|TC d|0~~1023|
733 -|STS|STS|STS d|0~~1023|
734 -|STC|STC|STS d|0~~1023|
735 -|CS|CS|CS d|0~~1023|
736 -|CC|CC|CC d|0~~1023|
737 -|SM|SM|SM d|0~~9999|
738 -|L|L|L d|0~~32767|
739 -|S|S|S d|0~~4095|
740 -|(% rowspan="9" %)Word|W|W|W h|0~~3FF|
741 -|TN|TN|TN d|0~~1023|
742 -|STN|STN|STN d|0~~1023|
743 -|CN|CN|CN d|0~~1023|
744 -|R|R|R d|0~~32767|
745 -|SW|SW|SW h|0~~7FFF|
746 -|Z|Z|Z d|0~~23|
747 -|D|D|D d|0~~7999|
748 -|SD|SD|SD d|0~~11999|
749 -
750 -**PLC Settings (GX Works 3)**
751 -
752 -Find the [Ethernet port] in the navigation area.
753 -
754 -(% style="text-align:center" %)
755 -[[image:12.PLC Protocol_html_8e8f85ace087346c.png||data-xwiki-image-style-alignment="center" height="593" width="300" class="img-thumbnail"]]
756 -
757 -Select [Own Node Settings] in the [Setting Item List];
758 -
759 -Set [IP Address], [Subnet Mask], [Default Gateway];
760 -
761 -Click [Detailed Settings] into [Ethernet Configuration (Built-in Ethernet Port)] windows;
762 -
763 -(% style="text-align:center" %)
764 -[[image:12.PLC Protocol_html_5d98495052c8c10e.png||data-xwiki-image-style-alignment="center" height="339" width="600" class="img-thumbnail"]]
765 -
766 -Select [SLMP Connection Module] and add into host station as below picture shows;
767 -
768 -Set Port number as 5002 (this is necessary settings);
769 -
770 -Click [Close with Reflecting the Setting] to save and close window;
771 -
772 -(% style="text-align:center" %)
773 -[[image:12.PLC Protocol_html_14b489fdc6c6589d.png||data-xwiki-image-style-alignment="center" height="350" width="600" class="img-thumbnail"]]
774 -
775 -Click [Apply] to completed Etherenet settings;
776 -
777 -Switch to the [On line data operation] interface as below, check the item and click [Execute] to download.
778 -
779 -(% style="text-align:center" %)
780 -[[image:12.PLC Protocol_html_c93025a968a8a9e7.png||data-xwiki-image-style-alignment="center" height="434" width="600" class="img-thumbnail"]]
781 -
782 -**Cable Wiring**
783 -
784 -(% style="text-align:center" %)
785 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
786 -
787 -= **Delta PLC** =
788 -
789 -== **DVP Ethernet Protocol** ==
790 -
791 791  [[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/Delta%20DVP%20Ethernet.zip]]
792 792  
793 -== **DVP Serial Protocol** ==
287 +== **Communicate with Mitsubishi FX Series** ==
794 794  
795 -[[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/Delta%20DVP%20Ethernet.zip]]
289 +[[download link>>url: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%20Mitsubishi%20FX%20Series.zip]]
796 796  
797 -= **Omron PLC** =
291 +== **Communicate with VB inverter** ==
798 798  
799 -== **CP1 Series Protocol** ==
293 +[[download link>>url: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%20VB%20inverter.zip]]
800 800  
295 +== **Omron CP1 Series** ==
296 +
801 801  [[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%20ORMON%20CP1%20Series.zip]]
802 802  
803 -== **CJ2M Series Protocol** ==
299 +== **Omron CJ2M** ==
804 804  
805 805  [[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%20ORMON%20CJ2M.zip]]
806 806  
807 -= **Modbus RTU** =
303 += **2 User define protocol** =
808 808  
809 -== **V-BOX as master** ==
305 +More serial port script instruction,please refer manual:[[Lua script function>>doc:V-BOX.V-Net.1\.User Manual.04 Lua Script.01 Lua Functions.WebHome]]~-~-->[[3.Serial port operation>>url:http://docs.we-con.com.cn/wiki/vbox/view/HMI/04.Lua%20script%20%20function%20and%20operation/01.Lua%20script%20function/#H3.Serialportoperation]]
810 810  
811 -Select the protocol “(% class="mark" %)Modbus RTU Slave(All Fuction)”,
812 -
813 -(% class="mark" %)then set BaudRate,Port,Stop Bit,Data Bit,Parity
814 -
815 -(% style="text-align:center" %)
816 -[[image:1624342015914-382.png||height="486" width="800" class="img-thumbnail"]]
817 -
818 -== **V-BOX as slave** ==
819 -
820 -Select the protocol “(% class="mark" %)**Modbus RTU Master”**,
821 -
822 -(% class="mark" %)then set BaudRate,Port,Stop Bit,Data Bit,Parity
823 -
824 -(% style="text-align:center" %)
825 -[[image:1624348709622-711.png||queryString="width=809&height=493" height="488" width="800" class="img-thumbnail"]]
826 -
827 -**Address List**
828 -
829 -(% class="table-bordered" %)
830 -|**Type**|**Register**|**Function code & Description**
831 -|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
832 -|06 (write single register: write a binary value to a holding register)
833 -|10 (write values to multiple addresses )
834 -|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
835 -|06 (write single register: write a binary value to a holding register)
836 -|10 (write values to multiple addresses )
837 -|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
838 -|06 (write single register: write a binary value to a holding register)
839 -|10 (write values to multiple addresses )
840 -|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
841 -|10 (write values to multiple addresses )
842 -|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
843 -|05 (Force a single coil to force the on/off state of a logic coil)
844 -|0F (Write multiple bits, ie write continuously)
845 -|(% rowspan="3" %)1|02 (Read the input state)
846 -|05 (Force a single coil to force the on/off state of a logic coil)
847 -|0F (Write multiple bits)
848 -|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
849 -|05 (Force a single coil to force the on/off state of a logic coil)
850 -|0F (Write multiple bits)
851 -|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
852 -|0F (Write multiple bits)
853 -
854 -== **communicate with VB inverter** ==
855 -
856 -[[download link>>url: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%20VB%20inverter.zip]]
857 -
858 -= **User define protocol** =
859 -
860 -More serial port script instruction,please refer manual:[[Lua script function>>doc:V-BOX.V-Net.Manual.04 Lua Script.01 Lua Functions.WebHome]]~-~-->[[3.Serial port operation>>url:http://docs.we-con.com.cn/wiki/vbox/view/HMI/04.Lua%20script%20%20function%20and%20operation/01.Lua%20script%20function/#H3.Serialportoperation]]
861 -
862 862  == **Read the temperature sensor.** ==
863 863  
864 864  the commond format is as beliow:
image-20220714162600-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -58.8 KB
Content
image-20220714162617-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -1.3 MB
Content
image-20220714162629-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -58.5 KB
Content
image-20220714162652-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -58.5 KB
Content
image-20220714162713-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -104.0 KB
Content
image-20220714162725-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -13.7 KB
Content
image-20220714162737-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -135.2 KB
Content
image-20220714162752-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -135.2 KB
Content
image-20220714162805-9.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -165.9 KB
Content
image-20220714162814-10.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -50.2 KB
Content
image-20220714162827-11.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -94.3 KB
Content
image-20220714162841-12.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -62.5 KB
Content
image-20220714162856-13.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -131.6 KB
Content
image-20220820164423-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -18.4 KB
Content
image-20220822172124-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -38.7 KB
Content
image-20220822172228-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -48.8 KB
Content
image-20220822172553-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -19.9 KB
Content
image-20220822172623-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -111.2 KB
Content
image-20220822172657-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -141.6 KB
Content
image-20220822172730-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -130.7 KB
Content
image-20220824104124-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -14.6 KB
Content
image-20220824104909-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -278.8 KB
Content
image-20220824110724-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -79.1 KB
Content
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
image-20220824163110-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -127.3 KB
Content
image-20220824163305-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -127.5 KB
Content
image-20220824163448-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -42.8 KB
Content
image-20220824164346-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -43.2 KB
Content
image-20220825100807-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -943.0 KB
Content
image-20220825100814-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -943.0 KB
Content
image-20220825100845-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -403.6 KB
Content