Changes for page 1 Communication

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

From version 215.1
edited by Hunter
on 2023/03/18 15:43
Change comment: There is no comment for this version
To version 224.1
edited by Hunter
on 2023/03/23 15:04
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -176,10 +176,8 @@
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 Allen-Bradley(**Rockwell**)** PLC** =
179 179  
180 -
181 -= Create communication with Allen-Bradley(**Rockwell**)** PLC** =
182 -
183 183  == **DF1 Advanced Protocol** ==
184 184  
185 185  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5
... ... @@ -521,9 +521,8 @@
521 521  (((
522 522  The above are all the steps for establishing Ethernet communication between Wecon V-box with CompactLogix L1769 PLC.
523 523  
522 +== **Ethernet DF1 Protocol** ==
524 524  
525 -= **Allen-Bradley Ethernet DF1** =
526 -
527 527  [[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]]
528 528  
529 529  = Create communication with **Crouzet PLC** =
... ... @@ -530,7 +530,56 @@
530 530  
531 531  == **CROUZET M3 (FBD)** ==
532 532  
530 +Support Series: Crouzet Millenium 3 CD12/CB12
533 533  
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 +
534 534  = Create communication with **Siemens PLC** =
535 535  
536 536  == **S7-200 Smart Ethernet Protocol** ==
... ... @@ -1950,6 +1950,66 @@
1950 1950  (% style="text-align:center" %)
1951 1951  [[image:1624342015914-382.png||height="486" width="800" class="img-thumbnail"]]
1952 1952  
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. 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:
2004 +
2005 +(% style="text-align:center" %)
2006 +[[image:LinfeeTerminalDiagram.png]]
2007 +
2008 +2. Check the specific Modbus parameter in the communication menu from LED display.
2009 +
2010 +So from the following pictures, we can know the Meter Address is 85, Baud rate is 9600, CRC None.
2011 +
2012 +{{info}}
2013 +**✎Note: **Meter address usually corresponding to the Modbus Slave Station No. on the Modbus communication.
2014 +{{/info}}
2015 +
2016 +(% style="text-align:center" %)
2017 +[[image:MeterModbusAllView.png]]
2018 +
2019 +(% class="wikigeneratedid" %)
2020 +3. Set up the communication in the Configuration tab.
2021 +
2022 +(% class="wikigeneratedid" %)
2023 +Select the protocol as **ModBus RTU Slave (All Function)**. And set the communication parameters like below.
2024 +
2025 +(% style="text-align:center" %)
2026 +[[image:VNETCommunicationtabmeter.png]]
2027 +
2028 +(% class="wikigeneratedid" %)
2029 +4. Create new real-time monitoring tag accroding to Modbus manual
2030 +
2031 +(% class="wikigeneratedid" %)
2032 +Enter the address we want to read from the meter. The following table is intercept part of the manual for Linfee Modbus manual.
2033 +
2034 +(% class="wikigeneratedid" %)
2035 +**0x03/0x04 command data register address**:
2036 +
2037 +(% style="width:1142.22px" %)
2038 +|(% 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
2039 +|(%%)(% style="display:none" %) (%%) HEX|(% style="width:107px" %)DEC|(%%)(% style="display:none" %) (%%) |(% style="width:100px" %) |(%%)(% style="display:none" %) (%%) |(% style="width:318px" %)
2040 +|(% style="width:107px" %)0x00|(% style="width:100px" %)0|Reserved| | |(% style="width:318px" %)
2041 +|(% style="width:107px" %)0x02|(% style="width:100px" %)2|Reserved| | |(% style="width:318px" %)
2042 +|(% style="width:107px" %)0x04|(% style="width:100px" %)4|Reserved| | |(% style="width:318px" %)
2043 +|(% style="width:107px" %)0x06|(% style="width:100px" %)6|Ua|float|2|(% style="width:318px" %)Phase Voltage data, Unit V
2044 +|(% style="width:107px" %)0x08|(% style="width:100px" %)8|Ub|float|2|(% style="width:318px" %)Phase Voltage data, Unit V
2045 +|(% style="width:107px" %)0x0A|(% style="width:100px" %)10|Uc|float|2|(% style="width:318px" %)Phase Voltage data, Unit V
2046 +|(% style="width:107px" %)0x0C|(% style="width:100px" %)12|Uab|float|2|(% style="width:318px" %)Line Voltage data, Unit V
2047 +|(% style="width:107px" %)0x0E|(% style="width:100px" %)14|Ubc|float|2|(% style="width:318px" %)Line Voltage data, Unit V
2048 +|(% style="width:107px" %)0x10|(% style="width:100px" %)16|Uca|float|2|(% style="width:318px" %)Line Voltage data, Unit V
2049 +|(% style="width:107px" %)0x12|(% style="width:100px" %)18|Ia|float|2|(% style="width:318px" %)Phase Current data, Unit A
2050 +|(% style="width:107px" %)0x14|(% style="width:100px" %)20|Ib|float|2|(% style="width:318px" %)Phase Current data, Unit A
2051 +|(% style="width:107px" %)0x16|(% style="width:100px" %)22|Ic|float|2|(% style="width:318px" %)Phase Current data, Unit A
2052 +
2053 +{{info}}
2054 +**✎Note: **We usually use the Data Type 4 for read the Modbus registers(Function code 03)
2055 +{{/info}}
2056 +
2057 +
2058 +
1953 1953  == **MODBUS RTU Master** ==
1954 1954  
1955 1955  Select the protocol "Modbus RTU Master",
CrouzetRS232 VBox.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +14.9 KB
Content
LinfeeTerminalDiagram.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +8.6 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
VNETCommunicationtabmeter.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +31.0 KB
Content