Changes for page 1 Communication

Last modified by xingzhi lin on 2025/08/01 15:25

From version 191.2
edited by Hunter
on 2022/12/01 11:13
Change comment: There is no comment for this version
To version 259.1
edited by Theodore Xu
on 2023/08/23 19:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Hunter
1 +XWiki.AiXia
Content
... ... @@ -1,6 +1,6 @@
1 -= Create communication with WECON PLC =
1 += WECON =
2 2  
3 -== **LX3V Serial Protocol** ==
3 +== **LX3V Serial ** ==
4 4  
5 5  Supported series: Wecon LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
6 6  
... ... @@ -48,7 +48,7 @@
48 48  
49 49   [[image:image-20220824120524-3.png]]
50 50  
51 -== **LX5V Serial Protocol** ==
51 +== **LX5V Serial ** ==
52 52  
53 53  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.
54 54  
... ... @@ -118,7 +118,7 @@
118 118  
119 119  The above are all the steps for establishing serial port communication between V-BOX with LX5V PLC.
120 120  
121 -== **LX5V-N Ethernet protocol** ==
121 +== **LX5V-N Ethernet ** ==
122 122  
123 123  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.
124 124  
... ... @@ -176,16 +176,116 @@
176 176  
177 177  The above are all the steps for establishing ethernet communication between V-BOX with LX5V PLC.
178 178  
179 -= Create communication with **Rockwell PLC** =
179 += Allen-Bradley(**Rockwell**) =
180 180  
181 -== (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** ==
181 +== **DF1 Advanced  Serial** ==
182 182  
183 +MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5
184 +
185 +**1) V-Box Settings**
186 +
187 +|=Item|=Recommended |=Note
188 +|=Protocol|Allen Bradley DF1 Advanced|
189 +|=Connection|RS232|
190 +|=Baud rate|19200|
191 +|=Stop bits|1|
192 +|=Data bits|8|
193 +|=Parity|None|
194 +|=PLC Station No.|1|
195 +|=HMI Station No.|0|
196 +
197 +**2) Address List**
198 +
199 +|=**Type**|=**Device registers**|=**Format**|=**Range**|=Note
200 +|(% colspan="1" rowspan="7" %)Bit|I1|I1ddd.dd|0.0~~255.15|Only able to communicate with file number I1
201 +|O0|O0ddd.dd|0.0~~255.15|Only able to communicate with file number O0
202 +|S2|S2ddd.dd|0.0~~255.15|Only able to communicate with file number S2
203 +|B3|B3ddd.dd|0.0~~255.15|Only able to communicate with file number B3
204 +|BN|BNddddd.dd|0.0~~99255.15|(((
205 +Bit data file B0~~B99
206 +
207 +First two digits is for file number
208 +
209 +For example, BN13001.00 represents file number B13, address 001, the 0th bit.
210 +)))
211 +|N7|N7ddd.dd|0.0~~255.15|Only able to communicate with file number N7
212 +|NN|NNddddd.dd|0.0~~99255.15|(((
213 +Integer data file bit format N0~~N99
214 +
215 +First two digits is for file number
216 +
217 +For example, NN13001.00 represents file number N13, address 001, the 0th bit.
218 +)))
219 +|(% rowspan="11" %)Word|S2|S2ddd|0~~255|Only able to communicate with file number S2
220 +|T4S|T4Sddd|0~~255|Only able to communicate with file number T4 (Timer Preset Value)
221 +|T4P|T4Pddd|0~~255|Only able to communicate with file number T4 (Timer Accumulator Value)
222 +|TNS|TNSddddd|0~~99255|(((
223 +Timer Preset Value
224 +
225 +First two digits is for file number
226 +
227 +For example, TNS99255 represents file number T99, address 255.
228 +)))
229 +|TNP|TNPddddd|0~~99255|(((
230 +Timer Accumulator Value
231 +
232 +First two digits is for file number
233 +
234 +For example, TNP99255 represents file number T99, address 255.
235 +)))
236 +|C5S|C5Sddd|0~~255|Only able to communicate with file number C5 (Counter Preset Value)
237 +|C5P|C5Pddd|0~~255|Only able to communicate with file number C5 (Counter Accumulator Value)
238 +|CNS|CNSddddd|0~~99255|(((
239 +Counter Preset Value
240 +
241 +First two digits is for file number
242 +
243 +For example, CNS99255 represents file number C99, address 255.
244 +)))
245 +|CNP|CNPddddd|0~~99255|(((
246 +Counter Accumulator Value
247 +
248 +First two digits is for file number
249 +
250 +For example, CNP99255 represents file number C99, address 255.
251 +)))
252 +|N7|N7ddd|0~~255|Only able to communicate with file number N7
253 +|NN|NNddd|0~~99255|(((
254 +Integer data file
255 +
256 +First two digits is for file number
257 +
258 +For example, NN99255 represents file number N99, address 255.
259 +)))
260 +|(% colspan="1" rowspan="3" %)Double Word|F8|F8ddd|0~~255|(((
261 +Only able to communicate with file number N7
262 +)))
263 +|FN|FNddddd|0~~99255|(((
264 +Floating point data file
265 +
266 +First two digits is for file number
267 +
268 +For example, FN99255 represents file number F99, address 255.
269 +)))
270 +|LN|LNddddd|0~~99255|Long
271 +
272 +**3) Cable Wiring**
273 +
274 +(% style="text-align:center" %)
275 +[[image:ABRS232.gif]]
276 +
277 +(% class="wikigeneratedid" id="HMicroLogixA0Protocol" %)
278 +(% id="cke_bm_5621S" style="display:none" %)** **
279 +
280 +== **MicroLogix Serial** ==
281 +
282 +(% class="wikigeneratedid" %)
183 183  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
184 184  
185 185  **1)V-BOX setting**
186 186  
187 187  |**Item**|**Settings**|**Note**
188 -|Protocol|Allen-Bradlley DF1 Advanced|
288 +|Protocol|Allen-Bradley DF1 Advanced|
189 189  |Connection|RS232|
190 190  |Baud rate|19200|
191 191  |Data bit|8|
... ... @@ -217,7 +217,7 @@
217 217  
218 218  [[image:image-20220824110724-1.png]]
219 219  
220 -== **Micro850_FreeTag Protocol** ==
320 +== **Micro850_FreeTag Ethernet** ==
221 221  
222 222  (((
223 223  (((
... ... @@ -420,20 +420,293 @@
420 420  The above are all the steps for establishing Ethernet communication between Wecon V-box with CompactLogix L1769 PLC.
421 421  
422 422  
423 -= **Allen-Bradley Ethernet DF1** =
523 +== **Micro850_FreeTag Ethernet(new)** ==
424 424  
525 +This example introduces the establishment of Ethernet communication between Wecon V-box and 2080-LC50-48QWB,Micro850. It is introduced through three parts: PLC software configuration, V-box software configuration.
526 +
527 +(% class="wikigeneratedid" id="HSoftwareconfigurationofPLC" %)
528 +(((
529 +**Software configuration of PLC**
530 +)))
531 +
532 +(% class="wikigeneratedid" id="HPLCprogrammingsoftware" %)
533 +(((
534 +**1)PLC programming software:Connected Components Workbench™**
535 +
536 +(% style="text-align:center" %)
537 +[[image:software.png]]
538 +
539 +**2)New PLC project**
540 +
541 +Click New Project and select the PLC model.
542 +
543 +(% style="text-align:center" %)
544 +[[image:project create.png]]
545 +
546 +**3)Set Ethernet parameters**
547 +
548 +Follow the steps below to configure Ethernet parameters
549 +
550 +PLC IP address:192.168.39.56
551 +
552 +default gateway:192.168.39.1
553 +
554 +subnet mask:255.255.255.0
555 +
556 +(% style="text-align:center" %)
557 +[[image:Ethernet.png]]
558 +
559 +**4)connect PLC**
560 +
561 +**When downloading the setting, need to change the status of the PLC to PRG**
562 +
563 +(% style="text-align:center" %)
564 +[[image:conne ab plc.png]]
565 +
566 +**V-box software configuration**
567 +
568 +**1)V-box programming software**
569 +
570 +(% style="text-align:center" %)
571 +[[image:v-net client vers.png]]
572 +
573 +**2)Set communication port parameters**
574 +
575 +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.
576 +
577 +(% style="text-align:center" %)
578 +[[image:V-NET_Client_t2Rg2wpSoY.png]]
579 +
580 +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.
581 +
582 +(% style="text-align:center" %)
583 +[[image:V-NET_Client_communication.png]]
584 +
585 +Export variables from PLC, select CSV file, comma delimited.(% id="cke_bm_1950S" style="display:none" %)
586 +
587 +(% style="text-align:center" %)
588 +[[image:export1.png]]
589 +
590 +(% style="text-align:center" %)
591 +[[image:CCW.Shell_E5Cwj4tUL3.png]]
592 +
593 +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.
594 +
595 +(% style="text-align:center" %)
596 +[[image:V-NET_Client_TNBuqy7T5r.png]]
597 +
598 +**3)Engineering production**
599 +
600 +According to your own needs, use the V-NET client software to edit the required data monitoring points.
601 +
602 +(% style="text-align:center" %)
603 +[[image:V-NET_Client_KOR0AHEA4M.png]]
604 +
605 +
606 +)))
607 +
608 +== **Ethernet DF1** ==
609 +
425 425  [[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]]
426 426  
612 += **Crouzet PLC** =
427 427  
428 -= Create communication with **Siemens PLC** =
614 +== **CROUZET M3 (FBD) Serial** ==
429 429  
430 -== **S7-200 Smart Ethernet Protocol** ==
616 +Support Series: Crouzet Millenium 3 CD12/CB12
431 431  
432 -[[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]]
618 +**1)V-BOX setting**
433 433  
620 +|=Item|=Recommended |=Note
621 +|=Protocol|CROUZET M3 (FBD)|
622 +|=Connection|RS232|
623 +|=Baud rate|115200|
624 +|=Stop bits|1|
625 +|=Data bits|7|
626 +|=Parity|EVEN|
434 434  
435 -== **S7-300 Ethernet Protocol** ==
628 +**2)Address List**
436 436  
630 +|=**Type**|=**Device registers**|=**Format**|=**Range**|=Note
631 +|(% rowspan="4" %)Bit|I|I DD|1~~99|Input
632 +|SLIBit|SLIBit DD.dd|1.0~~24.15|Serial Link Input
633 +|SLOBit|SLOBit DD.dd|25.0~~48.15|Serial Link Output(Read only)
634 +|State|State D|1~~1|PLC state(Read only)
635 +|(% rowspan="5" %)Word|AI|AI DD|1~~99|Analog Input
636 +|SLIn|SLIn DD|1~~24|Serial Link Input
637 +|SLOut|SLOut DD|25~~48|Serial Link Output(Read only)
638 +|Time|Time D|1~~6|(((
639 +Time1: Second
640 +
641 +Time2: Minute
642 +
643 +Time3: Hour
644 +
645 +Time4: Day
646 +
647 +Time5: Month
648 +
649 +Time6: Year
650 +)))
651 +|Order|Order D|1~~1|(((
652 +Running command(Write only)
653 +
654 +~=2: Run mode; =1: Stop mode;
655 +)))
656 +
657 +**3)Cable Wiring**
658 +
659 +(% style="text-align:center" %)
660 +[[image:CrouzetRS232 VBox.png]]
661 +
662 +{{info}}
663 +**✎Note: **As the wiring diagram indicated, this protocol requires the DB9 serial port pin 4. But pin 4 is undefined for all V-Box, so it need the user to solder a Pull-up resistor to make the pin 4 working. As for how to solder the resistor on the motherboard, please contact with Wecon technical support for the details.
664 +{{/info}}
665 +
666 += EMERSON =
667 +
668 += **RTU Slave ** =
669 +
670 +Supported series: EC10 series
671 +
672 +**1)V-BOX setting**
673 +
674 +|**Items**|**Settings**|**Note**
675 +|Protocol|Emerson 984 RTU Slave MODBUS|
676 +|Connection|RS485|
677 +|Baud rate|19200|
678 +|Data bit|8|
679 +|Parity|EVEN|
680 +|Stop bit|1|
681 +|Device station No.|1|Need to be same as the PLC setting
682 +
683 +(% class="wikigeneratedid" %)
684 +**2)PLC Setting**
685 +
686 +(% class="wikigeneratedid" %)
687 +Remember to use the Control Star to enable the Modbus RTU communication for port 1 in system block before dowload into PLC.
688 +
689 +(% style="text-align:center" %)
690 +[[image:ControlStarSystemBlock.png]]
691 +
692 +(% style="text-align:center" %)
693 +[[image:ControlStarCommunicate.png]]
694 +
695 +(% style="text-align:center" %)
696 +[[image:ControlStarModbus.png]]
697 +
698 +(% class="wikigeneratedid" %)
699 +**3)Address List**
700 +
701 +|**Type**|**Device registers**|**Format**|**Range**|**Note**
702 +|(% colspan="1" rowspan="12" %)Bit|Y|YOOO|0~~377|
703 +|X|XOOO|0~~377|
704 +|M0|M0DDDD|0~~2047|
705 +|M1|M1DDDDD|2048~~10239|
706 +|SM0|SM0DDD|0~~255|
707 +|SM1|SM1DDD|256~~511|
708 +|S0|S0DDDD|0~~1023|
709 +|S1|S1DDDD|1024~~4095|
710 +|T0|T0DDD|0~~255|
711 +|T1|T1DDD|256~~511|
712 +|C0|C0DDD|0~~255|
713 +|C1|C1DDD|256~~306|
714 +|(% colspan="1" rowspan="7" %)Word|D|DDDDD|0~~7999|
715 +|Z|ZDD|0~~15|
716 +|TW0|TW0DDD|0~~255|
717 +|TW1|TW1DDD|256~~511|
718 +|SD0|SD0DDD|0~~255|
719 +|SD1|SD1DDD|256~~511|
720 +|CW|CWDDD|0~~306|
721 +|(% colspan="1" rowspan="2" %)Double Word|CW0|CW0DDD|200~~255|
722 +|CW1|CW1DDDDD|256~~99999|
723 +
724 +**4) Cable Wiring**
725 +
726 +(% style="text-align:center" %)
727 +[[image:Emerson.png]]
728 +
729 += HollySys PLC =
730 +
731 +== **LK Modbus RTU ** ==
732 +
733 +Supported Series: HollySys LK series PLC
734 +
735 +**1)V-BOX setting**
736 +
737 +|**Items**|**Settings**|**Note**
738 +|Protocol|HollySys LK Modbus RTU|
739 +|Connection|RS485|
740 +|Baud rate|38400|
741 +|Data bit|8|
742 +|Parity|None|
743 +|Stop bit|1|
744 +|Device station No.|1|
745 +
746 +**2)Address List**
747 +
748 +|=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note**
749 +|Bit|QX|QXDDDDD.dd|0~~65535.15|
750 +|Bit|IX|IXDDDDD.dd|0~~65535.15|
751 +|Bit|MX|MXDDDDD.dd|0~~65535.15|
752 +|Word|QW|QWDDDDD|0~~99999|
753 +|Word|IW|IWDDDDD|0~~99999|
754 +|Word|MW|MWDDDDD|0~~99999|
755 +|Word|MD|MDDDDDD|0~~99999|
756 +
757 +**3)Cable Wiring**
758 +
759 +(% style="text-align:center" %)
760 +[[image:Hollysys485-2.png]]
761 +
762 +== **LM Modbus RTU** ==
763 +
764 +(% class="wikigeneratedid" %)
765 +Supported Series: HollySys LM3109/LM3107 PLC
766 +
767 +(% class="wikigeneratedid" %)
768 +**1)V-BOX setting**
769 +
770 +|(% style="width:208px" %)**Items**|(% style="width:310px" %)**Settings**|(% style="width:365px" %)**Optional**|(% style="width:152px" %)**Note**
771 +|(% style="width:208px" %)Protocol|(% style="width:310px" %)HollySys LM Modbus RTU|(% style="width:365px" %)HollySys LM Modbus RTU|(% style="width:152px" %)
772 +|(% style="width:208px" %)Connection|(% style="width:310px" %)RS232|(% style="width:365px" %)RS485|(% style="width:152px" %)
773 +|(% style="width:208px" %)Baud rate|(% style="width:310px" %)38400|(% style="width:365px" %)38400|(% style="width:152px" %)
774 +|(% style="width:208px" %)Data bit|(% style="width:310px" %)8|(% style="width:365px" %)8|(% style="width:152px" %)
775 +|(% style="width:208px" %)Parity|(% style="width:310px" %)None|(% style="width:365px" %)None|(% style="width:152px" %)
776 +|(% style="width:208px" %)Stop bit|(% style="width:310px" %)1|(% style="width:365px" %)1|(% style="width:152px" %)
777 +|(% style="width:208px" %)Device station No.|(% style="width:310px" %)1|(% style="width:365px" %)1|(% style="width:152px" %)
778 +
779 +**2)Address List**
780 +
781 +|=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note**
782 +|Bit|QX|QXDDDDD.o|0~~99999.7|
783 +|Bit|IX|IXDDDDD.o|0~~99999.7|
784 +|Bit|MX|MXDDDDD.o|0~~99999.7|
785 +|Word|QW|QWDDDDD|0~~99999|
786 +|Word|IW|IWDDDDD|0~~99999|
787 +|Word|MW|MWDDDDD|0~~99999|
788 +|Word|MD|MDDDDDD|0~~99999|
789 +
790 +**Cable Wiring**
791 +
792 +RS232
793 +
794 +(% style="text-align:center" %)
795 +[[image:HollySysRS232.png]]
796 +
797 +RS485
798 +
799 +(% style="text-align:center" %)
800 +[[image:Hollysys LM Modbus RTU.gif]]
801 +
802 += **Siemens ** =
803 +
804 +== **S7-200 Smart Ethernet ** ==
805 +
806 +[[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]]
807 +
808 +== **S7-300 Ethernet ** ==
809 +
437 437  Supported Series: Siemens S7-300 series PLC
438 438  
439 439  **1)V-BOX setting**
... ... @@ -490,11 +490,11 @@
490 490  )))
491 491  )))
492 492  
493 -== **S7-1200 Ethernet Protocol** ==
866 +== **S7-1200 Ethernet ** ==
494 494  
495 495  [[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]]
496 496  
497 -== **S7-XXX Ethernet Protocol** ==
870 +== **S7-XXX Ethernet l** ==
498 498  
499 499  Supported Series: Siemens S7-400, S7-1200 and S7-1500
500 500  
... ... @@ -608,10 +608,101 @@
608 608  
609 609  [[image:image-20220824162342-2.png]]
610 610  
611 -= Create communication with **Mitsubishi PLC** =
984 +== **LOGO Ethernet ** ==
612 612  
613 -== **FX1S,1N,2N Serial Protocol** ==
986 +Supported Series: Siemens Logo 0BA0, 0BA1 series
614 614  
988 +**V-BOX Settings**
989 +
990 +
991 +|**Items**|**Settings**|**Note**
992 +|Protocol|Siemens LOGO|
993 +|Connection|Ethernet|
994 +|Port No.|102|
995 +|PLC station No.|2|
996 +
997 +**Address List**
998 +
999 +
1000 +|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address**
1001 +|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0
1002 +|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000
1003 +|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000
1004 +|4|VW|Word|0-1468|DB1.DBX0.0|0x000000
1005 +|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0
1006 +|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770
1007 +|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0
1008 +|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180
1009 +|9|AI|Word|1-16|DB1.DBX1032.0|0x002040
1010 +|10|I|Bit|1-64|DB1.DBX1024.0|0x002000
1011 +|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140
1012 +|12|M|Bit|1-112|DB1.DBX1104.0|0x002280
1013 +|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0
1014 +|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
1015 +|15|V|Bit|0-14697|DB1.DBX0.0|0x000000
1016 +
1017 +**PLC Settings in LOGO Software:**
1018 +
1019 +Click [Tools]~-~-[Ethernet Connections],shown as below.
1020 +
1021 +(% style="text-align:center" %)
1022 +[[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]]
1023 +
1024 +Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
1025 +
1026 +(% style="text-align:center" %)
1027 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228142937-4.png]]
1028 +
1029 +**TSAP set**:The value set by local TSAP is the remote TSAP set in HMI. PLC's remote TSAP is the opposite,shown as below.
1030 +
1031 +(% style="text-align:center" %)
1032 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143047-5.png]]
1033 +
1034 + **Download Project**: Click "Address book" to add the IP address to be downloaded (fi."Detect" to check whether the IP address can be detected. Then click “ok”, and the system will prompt that PLC will be "STOP" mode. Click “YES” to start download.
1035 +
1036 +(% style="text-align:center" %)
1037 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143246-6.png]]
1038 +
1039 +**V-BOX Communication Settings**
1040 +
1041 +Set PLC IP in [IP Address] settings;
1042 +
1043 +(% style="text-align:center" %)
1044 +[[image:LldwDGntf4.png]]
1045 +
1046 +Enable V-BOX Ethernet in [Network];
1047 +
1048 +(% style="text-align:center" %)
1049 +[[image:WgvjfWbQif.png]]
1050 +
1051 +TSAP setting
1052 +
1053 +* The initialization script needs to set the source TSAP address and the target TSAP address, otherwise the communication will not be successful.
1054 +
1055 +{{code language="LUA"}}
1056 +function init.main()
1057 +addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address
1058 +addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address
1059 +end
1060 +{{/code}}
1061 +
1062 +Note: The name of the test script is init, 8192 and 4096 are the data used for the test, there is no HSW address in the register option, but you can directly set the value of the corresponding address through the code.
1063 +
1064 +**✎Note:**
1065 +
1066 +* **Communication port configuration: **
1067 +** Continuous length needs to be set to 0.
1068 +** Integration interval needs to be set to 1. (no change may result in data errors)
1069 +** Set Port and Device Station NO.
1070 +** Other set as defaulted.
1071 +* **Notes on the use of registers:**
1072 +** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc.
1073 +** Register VW: Use only registers thay are multiples of 2, such as 0, 2, 4 etc. (Using an odd-length register may result in data errors, such as 2 3 4 )
1074 +
1075 += **Mitsubishi ** =
1076 +
1077 +== **FX1S,1N,2N Serial ** ==
1078 +
615 615  Supported Series: Mitsubishi FX1S, FX1N, FX2N series
616 616  
617 617  **1)V-BOX Settings**
... ... @@ -657,7 +657,7 @@
657 657  [[image:image-20220825100845-4.png]]
658 658  
659 659  
660 -== **FX3U,3G,3GA Serial Protocol** ==
1124 +== **FX3U,3G,3GA Serial ** ==
661 661  
662 662  Supported Series: Mitsubishi FX3U, FX3G, FX3GA series
663 663  
... ... @@ -704,7 +704,7 @@
704 704  [[image:image-20220825100845-4.png]]
705 705  
706 706  
707 -== **FX3U Ethernet Protocol** ==
1171 +== **FX3U Ethernet ** ==
708 708  
709 709  Supported Modules: FX3U-ENET-ADP, FX3U-ENET-L
710 710  
... ... @@ -799,7 +799,7 @@
799 799  
800 800  [[image:image-20221119101946-2.png||height="395" width="695"]]
801 801  
802 -== **FX5U Serial Protocol** ==
1266 +== **FX5U Serial ** ==
803 803  
804 804  Mitsubishi FX5U series PLC
805 805  
... ... @@ -881,7 +881,7 @@
881 881  
882 882  [[image:image-20220825105533-3.png]]
883 883  
884 -== **FX5U Ethernet Protocol** ==
1348 +== **FX5U Ethernet ** ==
885 885  
886 886  Mitsubishi FX5U series PLC
887 887  
... ... @@ -957,7 +957,7 @@
957 957  
958 958  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
959 959  
960 -== **L02 Serial Protocol** ==
1424 +== **L02 Serial ** ==
961 961  
962 962  Mitsubishi L02 series CPU built-in serial port.
963 963  
... ... @@ -1017,7 +1017,7 @@
1017 1017  
1018 1018  [[image:image-20220825160820-4.png]]
1019 1019  
1020 -== **L02 Ethernet Protocol** ==
1484 +== **L02 Ethernet ** ==
1021 1021  
1022 1022  Mitsubishi L series CPU built-in Ethernet port.
1023 1023  
... ... @@ -1090,13 +1090,13 @@
1090 1090  
1091 1091  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
1092 1092  
1093 -== **Q12H Serial Protocol** ==
1557 +== **Q12H Serial ** ==
1094 1094  
1095 1095  This Demo shows V-BOX communicate with Q12H PLC by Q02H serial Protocol
1096 1096  
1097 1097  [[**Download link**>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Communication/V-Box%20connect%20PLC%20Q12H.rar]]
1098 1098  
1099 -== **QJ71E71 Ethernet Protocol** ==
1563 +== **QJ71E71 Ethernet ** ==
1100 1100  
1101 1101  Mitsubishi QJ71E71 Ethernet communication module;
1102 1102  
... ... @@ -1171,11 +1171,11 @@
1171 1171  
1172 1172  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.PLC Protocol_html_2297240b57346b2a.png"]]
1173 1173  
1174 -= Create communication with **Delta PLC** =
1638 += **Delta** =
1175 1175  
1176 -== **DVP Ethernet Protocol** ==
1640 +== **DVP Ethernet** ==
1177 1177  
1178 -Supoort Series: DELTA DVP20/32/40/60ES200RE/200TE, DELTA DVPEN01-SL
1642 +Supoort Series: DELTA DVP20/32/40/60ES200RE/200TE or any DVP models with built-in Ethernet port, DELTA DVPEN01-SL module
1179 1179  
1180 1180  **1)V-BOX Settings**
1181 1181  
... ... @@ -1184,17 +1184,101 @@
1184 1184  |Connection|Ethernet|
1185 1185  |Port No.|502|
1186 1186  |Device No.|1|
1187 -|HMI No.|0|
1651 +|VBox Device No.|0|
1188 1188  
1189 -== **DVP serial protocol** ==
1653 +**2)Address List **
1190 1190  
1191 -[[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]]
1655 +|=**Type**|=(% style="width: 191px;" %)**Device registers**|=(% style="width: 217px;" %)**VBox registers**|=(% style="width: 168px;" %)**Format**|=(% style="width: 225px;" %)**Range**|=**Note**
1656 +|Bit|(% style="width:191px" %)X|(% style="width:217px" %)X|(% style="width:168px" %)X OOO|(% style="width:225px" %)0~~377|
1657 +|Bit|(% style="width:191px" %)Y|(% style="width:217px" %)Y|(% style="width:168px" %)Y OOO|(% style="width:225px" %)0~~377|
1658 +|Bit|(% style="width:191px" %)M0|(% style="width:217px" %)M0|(% style="width:168px" %)M0DDDD|(% style="width:225px" %)0~~1535|
1659 +|Bit|(% style="width:191px" %)M1|(% style="width:217px" %)M1|(% style="width:168px" %)M1DDDD|(% style="width:225px" %)1536~~4096|
1660 +|Bit|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDD|(% style="width:225px" %)0~~255|
1661 +|Bit|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~255|
1662 +|Bit|(% style="width:191px" %)S|(% style="width:217px" %)S|(% style="width:168px" %)SDDDD|(% style="width:225px" %)0~~1023|
1663 +|Word|(% style="width:191px" %)D0|(% style="width:217px" %)D0|(% style="width:168px" %)D0DDDD|(% style="width:225px" %)0~~4095|
1664 +|Word|(% style="width:191px" %)D1|(% style="width:217px" %)D1|(% style="width:168px" %)D1DDDD|(% style="width:225px" %)4096~~11999|
1665 +|Word|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDD|(% style="width:225px" %)0~~255|
1666 +|Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~199|
1667 +|Double Word|(% style="width:191px" %)HC|(% style="width:217px" %)HC|(% style="width:168px" %)HCDDD|(% style="width:225px" %)200~~255|
1192 1192  
1193 -== **AS Ethernet Protocol** ==
1669 +**3) PLC Setting:**
1194 1194  
1671 +~1. Create new project in Delta WPL Soft, and click Setting to open the communication settings:
1672 +
1673 +(% style="text-align:center" %)
1674 +[[image:DVPEthernetWPLSoft2.png]]
1675 +
1676 +2. Set up the communication type and PLC IP:
1677 +
1678 +(% style="text-align:center" %)
1679 +[[image:DVPEthernetSetup.png]]
1680 +
1681 +(% class="wikigeneratedid" %)
1682 +3. Click OK and save the settings. Then click Communication on toolbar, then click Transfer Setup to open new window:
1683 +
1684 +(% style="text-align:center" %)
1685 +[[image:DVPEthernetTransfer.png]]
1686 +
1687 +(% class="wikigeneratedid" %)
1688 +4. Select Communication Mode as PC => PLC to download or select PC <=PLC to upload:
1689 +
1690 +(% style="text-align:center" %)
1691 +[[image:DVPEthernetPLCtoPC.png]]
1692 +
1693 +5. Click Auto-Search Ethernet Module to find the PLC on the same LAN network:
1694 +
1695 +(% style="text-align:center" %)
1696 +[[image:DVPEthernetAutoSearch.png]]
1697 +
1698 +**4) V-BOX Setting:**
1699 +
1700 +Set the same IP address according to the setting from WPL Soft:
1701 +
1702 +(% style="text-align:center" %)
1703 +[[image:DVPEthernetVNETPortocol.png]]
1704 +
1705 +== **DVP serial** ==
1706 +
1707 +Supoort Series: DELTA DVP EH/ES/SS/EX/EH2/SV/SA/SC/SX
1708 +
1195 1195  **1)V-BOX Settings**
1196 1196  
1197 1197  |=**Items**|=**Settings**|=**Note**
1712 +|Protocol|DELTA DVP PROTOCOL|
1713 +|Connection|RS232|
1714 +|Baud Rate|9600|
1715 +|Stop Bit|1|
1716 +|Data Bit|7|
1717 +|Parity|EVEN|
1718 +|Device No.|1|
1719 +
1720 +(% class="wikigeneratedid" %)
1721 +**2)Address List**
1722 +
1723 +|=**Type**|=(% style="width: 191px;" %)**Device registers**|=(% style="width: 217px;" %)**VBox registers**|=(% style="width: 168px;" %)**Format**|=(% style="width: 225px;" %)**Range**|=**Note**
1724 +|Bit|(% style="width:191px" %)X|(% style="width:217px" %)X|(% style="width:168px" %)X OOOOOO|(% style="width:225px" %)0~~303237|
1725 +|Bit|(% style="width:191px" %)Y|(% style="width:217px" %)Y|(% style="width:168px" %)Y OOOOOO|(% style="width:225px" %)0~~303237|
1726 +|Bit|(% style="width:191px" %)M|(% style="width:217px" %)M|(% style="width:168px" %)MDDDDD|(% style="width:225px" %)0~~99999|
1727 +|Bit|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDDDD|(% style="width:225px" %)0~~99999|
1728 +|Bit|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDDDD|(% style="width:225px" %)0~~99999|
1729 +|Bit|(% style="width:191px" %)S|(% style="width:217px" %)S|(% style="width:168px" %)SDDDDD|(% style="width:225px" %)0~~99999|
1730 +|Word|(% style="width:191px" %)D|(% style="width:217px" %)D|(% style="width:168px" %)D DDDDD|(% style="width:225px" %)0~~99999|
1731 +|Word|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDDDD|(% style="width:225px" %)0~~99999|
1732 +|Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~199|
1733 +|Double Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDDDD|(% style="width:225px" %)200~~99999|
1734 +
1735 +(% class="wikigeneratedid" %)
1736 +**3)Wiring Diagram**
1737 +
1738 +(% style="text-align:center" %)
1739 +[[image:Delta DVP PROTOCOLSerial232.png]]
1740 +
1741 +== **AS Ethernet** ==
1742 +
1743 +**1)V-BOX Settings**
1744 +
1745 +|=**Items**|=**Settings**|=**Note**
1198 1198  |Protocol|DELTA AS300 MODBUS TCP|
1199 1199  |Connection|Ethernet|
1200 1200  |Port No.|502|
... ... @@ -1223,7 +1223,6 @@
1223 1223  
1224 1224  **3)Configure the communication protocol**
1225 1225  
1226 -
1227 1227  [[image:image-20220831160010-4.png]]
1228 1228  
1229 1229  **4)Cable Wiring**
... ... @@ -1236,19 +1236,18 @@
1236 1236  
1237 1237  [[image:image-20220831155157-3.png]]
1238 1238  
1239 -= Create communication with **Omron PLC** =
1786 += **Omron** =
1240 1240  
1241 -== **CP1 Series Protocol ** ==
1788 +== **CP1 Series** ==
1242 1242  
1243 -[[下载链接>>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]]
1790 +[[Download>>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]]
1244 1244  
1245 -== **CP2M Series Protocol** ==
1792 +== **CP2M Series** ==
1246 1246  
1247 -[[下载链接>>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]]
1794 +[[Download>>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]]
1248 1248  
1796 +== **EC55 Series ** ==
1249 1249  
1250 -== **EC55 Series Protocol** ==
1251 -
1252 1252  Supported device: EC55 temperature instrument
1253 1253  
1254 1254  **1)V-BOX Settings**
... ... @@ -1308,9 +1308,9 @@
1308 1308  * Please set the communication delay time of 10ms in setting, to avoid that the instrument may not be able to communicate in a short time due to too fast data access and too much connection requests.
1309 1309  * [[image:image-20220831161356-1.png]]Because of the particularity of the instrument, it is necessary to write the value of the address in the menu interface corresponding to the address, and to enter the menu where the address locates, so that the value could be written.
1310 1310  
1311 -= Create communication with Xinje** PLC** =
1857 += Xinje =
1312 1312  
1313 -== **XC serial protocol** ==
1859 +== **XC serial** ==
1314 1314  
1315 1315  **1)V-BOX Settings**
1316 1316  
... ... @@ -1352,7 +1352,7 @@
1352 1352  
1353 1353  [[image:image-20220831163441-4.png]]
1354 1354  
1355 -== **XD serial protocol** ==
1901 +== **XD serial** ==
1356 1356  
1357 1357  **1)V-BOX Settings**
1358 1358  
... ... @@ -1426,7 +1426,7 @@
1426 1426  
1427 1427  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/image-20220830160232-3.png?rev=1.1||alt="image-20220830160232-3.png"]]
1428 1428  
1429 -= Create communication with **Schneider PLC** =
1975 += **Schneider** =
1430 1430  
1431 1431  == **Schneider MODBUS RTU** ==
1432 1432  
... ... @@ -1460,9 +1460,9 @@
1460 1460  
1461 1461  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/image-20220817154212-1.jpeg?width=554&height=315&rev=1.1||alt="image-20220817154212-1.jpeg" height="315" width="554"]]
1462 1462  
1463 -= Create communication with Inovance** PLC** =
2009 += Inovance =
1464 1464  
1465 -== **H3U serial protocol** ==
2011 +== **H3U serial** ==
1466 1466  
1467 1467  **1)V-BOX Settings**
1468 1468  
... ... @@ -1512,9 +1512,9 @@
1512 1512  
1513 1513  [[image:image-20220831164731-4.png]]
1514 1514  
1515 -= Create communication with Panasonic** PLC** =
2061 += Panasonic =
1516 1516  
1517 -== **FP serial protocol** ==
2063 +== **FP serial** ==
1518 1518  
1519 1519  **1)V-BOX Settings**
1520 1520  
... ... @@ -1562,9 +1562,9 @@
1562 1562  
1563 1563  [[image:image-20220831165008-1.png]]
1564 1564  
1565 -= Create communication with LS** PLC** =
2111 += LS =
1566 1566  
1567 -== **XBC serial protocol** ==
2113 +== **XBC serial** ==
1568 1568  
1569 1569  **1)V-BOX Settings**
1570 1570  
... ... @@ -1616,7 +1616,7 @@
1616 1616  
1617 1617  [[image:image-20220831170215-2.png]]
1618 1618  
1619 -== **XGK FEnet Ethernet protocol** ==
2165 +== **XGK FEnet Ethernet** ==
1620 1620  
1621 1621  Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
1622 1622  
... ... @@ -1659,8 +1659,76 @@
1659 1659  
1660 1660  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
1661 1661  
1662 -= Create communication with **Modbus ** =
2208 += INVT =
1663 1663  
2210 +**1)V-BOX setting**
2211 +
2212 +|**Item**|**Settings**|**Note**
2213 +|Protocol|INVT_IVC2L|
2214 +|Connection|RS232|
2215 +|Baud rate|19200|
2216 +|Data bit|8|
2217 +|Parity|EVEN|
2218 +|Stop bit|1|
2219 +|PLC station No.|1
2220 +
2221 +**2)Address List**
2222 +
2223 +
2224 +|**Type**|**Device registers**|**Format**|**Range**|**Note**
2225 +|(% colspan="1" rowspan="7" %)Bit|X|XOOO|0~~377|
2226 +|Y|YOOO|0~~377|
2227 +|M|MDDDD|0~~1999|
2228 +|SM|SMDDD|0~~255|
2229 +|S|SDDD|0~~991|
2230 +|T|TDDD|0~~255|
2231 +|C|CDDD|0~~255|
2232 +|(% rowspan="5" %)Word|D|DDDDD|0~~7999|
2233 +|SD|SDDDD|0~~255|
2234 +|Z|ZDD|0~~15|
2235 +|T|TDDD|0~~255|
2236 +|C|CDDD|0~~199|
2237 +|Double word|C|CDDD|200~~255|
2238 +
2239 +**3)Communication Settings**
2240 +
2241 +(% style="text-align:center" %)
2242 +[[image:盒子创建英威腾.png]]
2243 +
2244 +**4)PLC software**
2245 +
2246 +(% style="text-align:center" %)
2247 +[[image:英威腾软件.png]]
2248 +
2249 +**5)PLC setting **
2250 +
2251 +Open the INVI plc software, create a new project or open a project that has already been created
2252 +
2253 +(% style="text-align:center" %)
2254 +[[image:英威腾创建1.png]]
2255 +
2256 +Configure serial port parameters.
2257 +
2258 +(% style="text-align:center" %)
2259 +[[image:英威腾创建2.png]]
2260 +
2261 +PC connect PLC
2262 +
2263 +(% style="text-align:center" %)
2264 +[[image:英威腾创建3.png]]
2265 +
2266 +Download
2267 +
2268 +(% style="text-align:center" %)
2269 +[[image:英威腾下载.png]]
2270 +
2271 +**6)Cable Wiring**
2272 +
2273 +(% style="text-align:center" %)
2274 +[[image:wire.png]]
2275 +
2276 += **Modbus ** =
2277 +
1664 1664  == **MODBUS RTU Slave (All function)** ==
1665 1665  
1666 1666  Select the protocol "Modbus RTU Slave (All Fuction)",
... ... @@ -1670,6 +1670,86 @@
1670 1670  (% style="text-align:center" %)
1671 1671  [[image:1624342015914-382.png||height="486" width="800" class="img-thumbnail"]]
1672 1672  
2287 +== **Modbus Meter** ==
2288 +
2289 +The following example is using the Linfee meter LNF96EY to demonstrate how to set up the Modbus communication.
2290 +
2291 +~1. Wiring the RS485 cable first. Because the pin 58 is A, the pin 59 is B for meter. Here we use the COM1 to connect. So the diagram like follows:
2292 +
2293 +(% style="text-align:center" %)
2294 +[[image:LinfeeTerminalDiagram.png]]
2295 +
2296 +2. Check the specific Modbus parameter in the communication menu from LED display.
2297 +
2298 +So from the following pictures, we can know the Meter Address is 85, Baud rate is 9600, CRC None.
2299 +
2300 +{{info}}
2301 +**✎Note: **Meter address usually corresponding to the Modbus Slave Station No. on the Modbus communication.
2302 +{{/info}}
2303 +
2304 +(% style="text-align:center" %)
2305 +[[image:MeterModbusAllView.png]]
2306 +
2307 +(% class="wikigeneratedid" %)
2308 +3. Set up the communication in the Configuration tab.
2309 +
2310 +(% class="wikigeneratedid" %)
2311 +Select the protocol as **ModBus RTU Slave (All Function)**. And set the communication parameters like below.
2312 +
2313 +(% style="text-align:center" %)
2314 +[[image:VNETCommunicationtabmeter.png]]
2315 +
2316 +(% class="wikigeneratedid" %)
2317 +4. Create new real-time monitoring tag accroding to Modbus manual
2318 +
2319 +(% class="wikigeneratedid" %)
2320 +Enter the address we want to read from the meter. The following table is intercept part of the manual for Linfee Modbus manual.
2321 +
2322 +(% class="wikigeneratedid" %)
2323 +**0x03/0x04 command data register address**:
2324 +
2325 +(% style="width:1142.22px" %)
2326 +|(% style="display:none" %) |=(% colspan="2" rowspan="1" style="width: 165px;" %)Address(% style="display:none" %) |=Description|=Data Format|=(% style="width: 254px;" %)Data Length(Word)|=(% style="width: 282px;" %)Remark
2327 +|(%%)(% style="display:none" %) (%%) HEX|(% style="width:107px" %)DEC|(%%)(% style="display:none" %) (%%) |(% style="width:100px" %) |(%%)(% style="display:none" %) (%%) |(% style="width:318px" %)
2328 +|(% style="width:107px" %)0x00|(% style="width:100px" %)0|Reserved| | |(% style="width:318px" %)
2329 +|(% style="width:107px" %)0x02|(% style="width:100px" %)2|Reserved| | |(% style="width:318px" %)
2330 +|(% style="width:107px" %)0x04|(% style="width:100px" %)4|Reserved| | |(% style="width:318px" %)
2331 +|(% style="width:107px" %)0x06|(% style="width:100px" %)6|Ua|float|2|(% style="width:318px" %)Phase Voltage data, Unit V
2332 +|(% style="width:107px" %)0x08|(% style="width:100px" %)8|Ub|float|2|(% style="width:318px" %)Phase Voltage data, Unit V
2333 +|(% style="width:107px" %)0x0A|(% style="width:100px" %)10|Uc|float|2|(% style="width:318px" %)Phase Voltage data, Unit V
2334 +|(% style="width:107px" %)0x0C|(% style="width:100px" %)12|Uab|float|2|(% style="width:318px" %)Line Voltage data, Unit V
2335 +|(% style="width:107px" %)0x0E|(% style="width:100px" %)14|Ubc|float|2|(% style="width:318px" %)Line Voltage data, Unit V
2336 +|(% style="width:107px" %)0x10|(% style="width:100px" %)16|Uca|float|2|(% style="width:318px" %)Line Voltage data, Unit V
2337 +|(% style="width:107px" %)0x12|(% style="width:100px" %)18|Ia|float|2|(% style="width:318px" %)Phase Current data, Unit A
2338 +|(% style="width:107px" %)0x14|(% style="width:100px" %)20|Ib|float|2|(% style="width:318px" %)Phase Current data, Unit A
2339 +|(% style="width:107px" %)0x16|(% style="width:100px" %)22|Ic|float|2|(% style="width:318px" %)Phase Current data, Unit A
2340 +
2341 +{{info}}
2342 +**✎Note: **We usually use the Data Type 4 for read the Modbus registers(Function Code 03)
2343 +{{/info}}
2344 +
2345 +For example, here we want to read the Phase Voltage Ua (Modbus offset 0006), the Modbus register main No. requires input decimal number, and check whether the actual address has one address offset, so the tag configured like the following screenshot:
2346 +
2347 +(% style="text-align:center" %)
2348 +[[image:VNETModbusTagSettings.png]]
2349 +
2350 +(% style="text-align:center" %)
2351 +[[image:VNETModbusTagByteSettings.png]]
2352 +
2353 +{{info}}
2354 +**✎Note: **If the read value is incorrect, please check whether need to change the Byte order.
2355 +{{/info}}
2356 +
2357 +Set the Modbus Slave Station No.
2358 +
2359 +(% style="text-align:center" %)
2360 +[[image:ModbusStationSettings.png]]
2361 +
2362 +If the communication is setup successfully, the tag will show green light.
2363 +
2364 +(% style="text-align:center" %)
2365 +[[image:Monitoringtaggreenlight.png]]
2366 +
1673 1673  == **MODBUS RTU Master** ==
1674 1674  
1675 1675  Select the protocol "Modbus RTU Master",
... ... @@ -1682,8 +1682,8 @@
1682 1682  **address list**
1683 1683  
1684 1684  (% class="table-bordered" %)
1685 -|**type**|**register**|**Function code and description**
1686 -|(% rowspan="11" %)|(% rowspan="3" %)3|04 (Read Input Registers: Read the current binary value in one or more input registers)
2379 +|=(% scope="row" %)**Type**|=**Data Type**|=**Function code and description**
2380 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (Read Input Registers: Read the current binary value in one or more input registers)
1687 1687  |06 (write single register: write a binary value to a holding register)
1688 1688  |10 (write values to multiple addresses )
1689 1689  |(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
... ... @@ -1722,7 +1722,7 @@
1722 1722  
1723 1723  **2)Address List**
1724 1724  
1725 -|**Type**|**Register**|**Function code & Description**
2419 +|=**Type**|=**Data Type**|=**Function code & Description**
1726 1726  |(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
1727 1727  |06 (write single register: write a binary value to a holding register)
1728 1728  |10 (write values to multiple addresses )
... ... @@ -1765,7 +1765,7 @@
1765 1765  
1766 1766  [[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]]
1767 1767  
1768 -= **User define protocol** =
2462 += **User define** =
1769 1769  
1770 1770  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]]
1771 1771  
0Il1q9GZgk.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bob
Size
... ... @@ -1,0 +1,1 @@
1 +24.6 KB
Content
1679563870401-671.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +39.3 KB
Content
1682233464031-639.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +15.9 KB
Content
AB.gif
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +7.3 KB
Content
ABRS232.gif
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +7.3 KB
Content
CCW.Shell_E5Cwj4tUL3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +27.1 KB
Content
ControlStarCommunicate.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +26.0 KB
Content
ControlStarModbus.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +24.9 KB
Content
ControlStarSystemBlock.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +46.3 KB
Content
CrouzetRS232 VBox.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +14.9 KB
Content
DVPEthernetAutoSearch.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +43.6 KB
Content
DVPEthernetPLCtoPC.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +8.9 KB
Content
DVPEthernetSetup.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +19.9 KB
Content
DVPEthernetTransfer.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +59.9 KB
Content
DVPEthernetVNETPortocol.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +21.4 KB
Content
DVPEthernetWPLSoft.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +97.5 KB
Content
DVPEthernetWPLSoft2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +45.2 KB
Content
Delta DVP PROTOCOLSerial232.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +10.7 KB
Content
Emerson.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +13.7 KB
Content
Ethernet.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +45.5 KB
Content
HollySysRS232.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +10.4 KB
Content
Hollysys LM Modbus RTU.gif
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +7.1 KB
Content
Hollysys485-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +13.5 KB
Content
Hollysys485box.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +13.4 KB
Content
LinfeeTerminalDiagram.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +8.6 KB
Content
LldwDGntf4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bob
Size
... ... @@ -1,0 +1,1 @@
1 +24.3 KB
Content
MeterModbusAddr.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +562.5 KB
Content
MeterModbusAllView.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +1.6 MB
Content
MeterModbusBaud.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +444.0 KB
Content
MeterModbusPara.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +532.0 KB
Content
ModbusStationSettings.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +35.8 KB
Content
Monitoringtaggreenlight.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +7.5 KB
Content
V-NET_Client setting.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +41.9 KB
Content
V-NET_Client_ADD.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +51.4 KB
Content
V-NET_Client_KOR0AHEA4M.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +14.2 KB
Content
V-NET_Client_TIiAymnjkx.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +12.8 KB
Content
V-NET_Client_TNBuqy7T5r.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +26.7 KB
Content
V-NET_Client_communication.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +25.5 KB
Content
V-NET_Client_iKKKhcgxm1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +35.9 KB
Content
V-NET_Client_t2Rg2wpSoY.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +53.7 KB
Content
VNETCommunicationtabmeter.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +31.0 KB
Content
VNETModbusTagByteSettings.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +31.2 KB
Content
VNETModbusTagSettings.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +35.7 KB
Content
WgvjfWbQif.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bob
Size
... ... @@ -1,0 +1,1 @@
1 +36.3 KB
Content
conne ab plc.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +43.1 KB
Content
export.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +115.2 KB
Content
export1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +115.2 KB
Content
plc 软件.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +106.8 KB
Content
project create.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +65.5 KB
Content
software.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +25.8 KB
Content
v-net client vers.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +13.1 KB
Content
wire.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +137.2 KB
Content
企业微信截图_16889606174191.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +20.7 KB
Content
盒子创建英威腾.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +86.5 KB
Content
英威腾下载.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +49.0 KB
Content
英威腾创建1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +36.7 KB
Content
英威腾创建2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +115.7 KB
Content
英威腾创建3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +76.6 KB
Content
英威腾软件.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +52.6 KB
Content