Changes for page 1 Communication

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

From version 205.1
edited by Bob
on 2023/02/02 11:23
Change comment: There is no comment for this version
To version 220.2
edited by Hunter
on 2023/03/23 11:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bob
1 +XWiki.Hunter
Content
... ... @@ -176,7 +176,7 @@
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 += Create communication with Allen-Bradley(**Rockwell**)** PLC** =
180 180  
181 181  == **DF1 Advanced Protocol** ==
182 182  
... ... @@ -274,8 +274,12 @@
274 274  (% style="text-align:center" %)
275 275  [[image:ABRS232.gif]]
276 276  
277 -== (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** ==
277 +(% class="wikigeneratedid" id="HMicroLogixA0Protocol" %)
278 +(% id="cke_bm_5621S" style="display:none" %)** **
278 278  
280 +== **MicroLogix Protocol** ==
281 +
282 +(% class="wikigeneratedid" %)
279 279  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
280 280  
281 281  **1)V-BOX setting**
... ... @@ -515,12 +515,64 @@
515 515  (((
516 516  The above are all the steps for establishing Ethernet communication between Wecon V-box with CompactLogix L1769 PLC.
517 517  
522 +== **Ethernet DF1 Protocol** ==
518 518  
519 -= **Allen-Bradley Ethernet DF1** =
520 -
521 521  [[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]]
522 522  
526 += Create communication with **Crouzet PLC** =
523 523  
528 +== **CROUZET M3 (FBD)** ==
529 +
530 +Support Series: Crouzet Millenium 3 CD12/CB12
531 +
532 +**1)V-BOX setting**
533 +
534 +|=Item|=Recommended |=Note
535 +|=Protocol|CROUZET M3 (FBD)|
536 +|=Connection|RS232|
537 +|=Baud rate|115200|
538 +|=Stop bits|1|
539 +|=Data bits|7|
540 +|=Parity|EVEN|
541 +
542 +**2)Address List**
543 +
544 +|=**Type**|=**Device registers**|=**Format**|=**Range**|=Note
545 +|(% rowspan="4" %)Bit|I|I DD|1~~99|Input
546 +|SLIBit|SLIBit DD.dd|1.0~~24.15|Serial Link Input
547 +|SLOBit|SLOBit DD.dd|25.0~~48.15|Serial Link Output(Read only)
548 +|State|State D|1~~1|PLC state(Read only)
549 +|(% rowspan="5" %)Word|AI|AI DD|1~~99|Analog Input
550 +|SLIn|SLIn DD|1~~24|Serial Link Input
551 +|SLOut|SLOut DD|25~~48|Serial Link Output(Read only)
552 +|Time|Time D|1~~6|(((
553 +Time1: Second
554 +
555 +Time2: Minute
556 +
557 +Time3: Hour
558 +
559 +Time4: Day
560 +
561 +Time5: Month
562 +
563 +Time6: Year
564 +)))
565 +|Order|Order D|1~~1|(((
566 +Running command(Write only)
567 +
568 +~=2: Run mode; =1: Stop mode;
569 +)))
570 +
571 +**3)Cable Wiring**
572 +
573 +(% style="text-align:center" %)
574 +[[image:CrouzetRS232 VBox.png]]
575 +
576 +{{info}}
577 +**✎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.
578 +{{/info}}
579 +
524 524  = Create communication with **Siemens PLC** =
525 525  
526 526  == **S7-200 Smart Ethernet Protocol** ==
... ... @@ -737,13 +737,64 @@
737 737  |14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
738 738  |15|V|Bit|0-14697|DB1.DBX0.0|0x000000
739 739  
740 - **PLC Settings in LOGO Software:**
796 +**PLC Settings in LOGO Software:**
741 741  
742 742  Click [Tools]~-~-[Ethernet Connections],shown as below.
743 743  
744 744  (% style="text-align:center" %)
745 -[[image:12.PLC Protocol_html_8b9d2322edf89519.png||data-xwiki-image-style-alignment="center" height="641" width="423" class="img-thumbnail"]]
801 +[[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]]
746 746  
803 +Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
804 +
805 +(% style="text-align:center" %)
806 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228142937-4.png]]
807 +
808 +**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.
809 +
810 +(% style="text-align:center" %)
811 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143047-5.png]]
812 +
813 + **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.
814 +
815 +(% style="text-align:center" %)
816 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143246-6.png]]
817 +
818 +**V-BOX Communication Settings**
819 +
820 +Set PLC IP in [IP Address] settings;
821 +
822 +(% style="text-align:center" %)
823 +[[image:LldwDGntf4.png]]
824 +
825 +Enable V-BOX Ethernet in [Network];
826 +
827 +(% style="text-align:center" %)
828 +[[image:WgvjfWbQif.png]]
829 +
830 +TSAP setting
831 +
832 +* The initialization script needs to set the source TSAP address and the target TSAP address, otherwise the communication will not be successful.
833 +
834 +{{code language="LUA"}}
835 +function init.main()
836 +addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address
837 +addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address
838 +end
839 +{{/code}}
840 +
841 +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.
842 +
843 +**✎Note:**
844 +
845 +* **Communication port configuration: **
846 +** Continuous length needs to be set to 0.
847 +** Integration interval needs to be set to 1. (no change may result in data errors)
848 +** Set Port and Device Station NO.
849 +** Other set as defaulted.
850 +* **Notes on the use of registers:**
851 +** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc.
852 +** 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 )
853 +
747 747  = Create communication with **Mitsubishi PLC** =
748 748  
749 749  == **FX1S,1N,2N Serial Protocol** ==
... ... @@ -1889,6 +1889,17 @@
1889 1889  (% style="text-align:center" %)
1890 1890  [[image:1624342015914-382.png||height="486" width="800" class="img-thumbnail"]]
1891 1891  
1999 +== **Communicate with Modbus Meter** ==
2000 +
2001 +The following example is using the Linfee meter LNF96EY to demonstrate how to set up the Modbus communication.
2002 +
2003 +~1. Check the specific Modbus parameter in the communication menu from LED display.
2004 +
2005 +So from the following pictures,
2006 +
2007 +(% style="text-align:center" %)
2008 +[[image:MeterModbusAllView.png]]
2009 +
1892 1892  == **MODBUS RTU Master** ==
1893 1893  
1894 1894  Select the protocol "Modbus RTU Master",
0Il1q9GZgk.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bob
Size
... ... @@ -1,0 +1,1 @@
1 +24.6 KB
Content
CrouzetRS232 VBox.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +14.9 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
WgvjfWbQif.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bob
Size
... ... @@ -1,0 +1,1 @@
1 +36.3 KB
Content