Changes for page 1 Communication

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

From version 191.3
edited by Hunter
on 2022/12/01 11:22
Change comment: There is no comment for this version
To version 212.1
edited by Hunter
on 2023/02/04 11:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -176,16 +176,124 @@
176 176  
177 177  The above are all the steps for establishing ethernet communication between V-BOX with LX5V PLC.
178 178  
179 +(% class="wikigeneratedid" %)
180 += Create communication with ABB PLC =
181 +
182 +== **AC500 Protocol** ==
183 +
184 +Support Series: ABB AC500
185 +
186 +
179 179  = Create communication with **Rockwell PLC** =
180 180  
181 -== (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** ==
189 +== **DF1 Advanced Protocol** ==
182 182  
191 +MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5
192 +
193 +**1) V-Box Settings**
194 +
195 +|=Item|=Recommended |=Note
196 +|=Protocol|Allen Bradley DF1 Advanced|
197 +|=Connection|RS232|
198 +|=Baud rate|19200|
199 +|=Stop bits|1|
200 +|=Data bits|8|
201 +|=Parity|None|
202 +|=PLC Station No.|1|
203 +|=HMI Station No.|0|
204 +
205 +**2) Address List**
206 +
207 +|=**Type**|=**Device registers**|=**Format**|=**Range**|=Note
208 +|(% colspan="1" rowspan="7" %)Bit|I1|I1ddd.dd|0.0~~255.15|Only able to communicate with file number I1
209 +|O0|O0ddd.dd|0.0~~255.15|Only able to communicate with file number O0
210 +|S2|S2ddd.dd|0.0~~255.15|Only able to communicate with file number S2
211 +|B3|B3ddd.dd|0.0~~255.15|Only able to communicate with file number B3
212 +|BN|BNddddd.dd|0.0~~99255.15|(((
213 +Bit data file B0~~B99
214 +
215 +First two digits is for file number
216 +
217 +For example, BN13001.00 represents file number B13, address 001, the 0th bit.
218 +)))
219 +|N7|N7ddd.dd|0.0~~255.15|Only able to communicate with file number N7
220 +|NN|NNddddd.dd|0.0~~99255.15|(((
221 +Integer data file bit format N0~~N99
222 +
223 +First two digits is for file number
224 +
225 +For example, NN13001.00 represents file number N13, address 001, the 0th bit.
226 +)))
227 +|(% rowspan="11" %)Word|S2|S2ddd|0~~255|Only able to communicate with file number S2
228 +|T4S|T4Sddd|0~~255|Only able to communicate with file number T4 (Timer Preset Value)
229 +|T4P|T4Pddd|0~~255|Only able to communicate with file number T4 (Timer Accumulator Value)
230 +|TNS|TNSddddd|0~~99255|(((
231 +Timer Preset Value
232 +
233 +First two digits is for file number
234 +
235 +For example, TNS99255 represents file number T99, address 255.
236 +)))
237 +|TNP|TNPddddd|0~~99255|(((
238 +Timer Accumulator Value
239 +
240 +First two digits is for file number
241 +
242 +For example, TNP99255 represents file number T99, address 255.
243 +)))
244 +|C5S|C5Sddd|0~~255|Only able to communicate with file number C5 (Counter Preset Value)
245 +|C5P|C5Pddd|0~~255|Only able to communicate with file number C5 (Counter Accumulator Value)
246 +|CNS|CNSddddd|0~~99255|(((
247 +Counter Preset Value
248 +
249 +First two digits is for file number
250 +
251 +For example, CNS99255 represents file number C99, address 255.
252 +)))
253 +|CNP|CNPddddd|0~~99255|(((
254 +Counter Accumulator Value
255 +
256 +First two digits is for file number
257 +
258 +For example, CNP99255 represents file number C99, address 255.
259 +)))
260 +|N7|N7ddd|0~~255|Only able to communicate with file number N7
261 +|NN|NNddd|0~~99255|(((
262 +Integer data file
263 +
264 +First two digits is for file number
265 +
266 +For example, NN99255 represents file number N99, address 255.
267 +)))
268 +|(% colspan="1" rowspan="3" %)Double Word|F8|F8ddd|0~~255|(((
269 +Only able to communicate with file number N7
270 +)))
271 +|FN|FNddddd|0~~99255|(((
272 +Floating point data file
273 +
274 +First two digits is for file number
275 +
276 +For example, FN99255 represents file number F99, address 255.
277 +)))
278 +|LN|LNddddd|0~~99255|Long
279 +
280 +**3) Cable Wiring**
281 +
282 +(% style="text-align:center" %)
283 +[[image:ABRS232.gif]]
284 +
285 +(% class="wikigeneratedid" id="HMicroLogixA0Protocol" %)
286 +(% id="cke_bm_5621S" style="display:none" %)** **
287 +
288 +== **MicroLogix Protocol** ==
289 +
290 +(% 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|
296 +|Protocol|Allen-Bradley DF1 Advanced|
189 189  |Connection|RS232|
190 190  |Baud rate|19200|
191 191  |Data bit|8|
... ... @@ -608,6 +608,97 @@
608 608  
609 609  [[image:image-20220824162342-2.png]]
610 610  
719 +== **LOGO Ethernet Protocol** ==
720 +
721 +Supported Series: Siemens Logo 0BA0, 0BA1 series
722 +
723 +**V-BOX Settings**
724 +
725 +
726 +|**Items**|**Settings**|**Note**
727 +|Protocol|Siemens LOGO|
728 +|Connection|Ethernet|
729 +|Port No.|102|
730 +|PLC station No.|2|
731 +
732 +**Address List**
733 +
734 +
735 +|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address**
736 +|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0
737 +|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000
738 +|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000
739 +|4|VW|Word|0-1468|DB1.DBX0.0|0x000000
740 +|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0
741 +|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770
742 +|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0
743 +|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180
744 +|9|AI|Word|1-16|DB1.DBX1032.0|0x002040
745 +|10|I|Bit|1-64|DB1.DBX1024.0|0x002000
746 +|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140
747 +|12|M|Bit|1-112|DB1.DBX1104.0|0x002280
748 +|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0
749 +|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
750 +|15|V|Bit|0-14697|DB1.DBX0.0|0x000000
751 +
752 +**PLC Settings in LOGO Software:**
753 +
754 +Click [Tools]~-~-[Ethernet Connections],shown as below.
755 +
756 +(% style="text-align:center" %)
757 +[[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]]
758 +
759 +Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
760 +
761 +(% style="text-align:center" %)
762 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228142937-4.png]]
763 +
764 +**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.
765 +
766 +(% style="text-align:center" %)
767 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143047-5.png]]
768 +
769 + **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.
770 +
771 +(% style="text-align:center" %)
772 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143246-6.png]]
773 +
774 +**V-BOX Communication Settings**
775 +
776 +Set PLC IP in [IP Address] settings;
777 +
778 +(% style="text-align:center" %)
779 +[[image:LldwDGntf4.png]]
780 +
781 +Enable V-BOX Ethernet in [Network];
782 +
783 +(% style="text-align:center" %)
784 +[[image:WgvjfWbQif.png]]
785 +
786 +TSAP setting
787 +
788 +* The initialization script needs to set the source TSAP address and the target TSAP address, otherwise the communication will not be successful.
789 +
790 +{{code language="LUA"}}
791 +function init.main()
792 +addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address
793 +addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address
794 +end
795 +{{/code}}
796 +
797 +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.
798 +
799 +**✎Note:**
800 +
801 +* **Communication port configuration: **
802 +** Continuous length needs to be set to 0.
803 +** Integration interval needs to be set to 1. (no change may result in data errors)
804 +** Set Port and Device Station NO.
805 +** Other set as defaulted.
806 +* **Notes on the use of registers:**
807 +** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc.
808 +** 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 )
809 +
611 611  = Create communication with **Mitsubishi PLC** =
612 612  
613 613  == **FX1S,1N,2N Serial Protocol** ==
... ... @@ -1175,7 +1175,7 @@
1175 1175  
1176 1176  == **DVP Ethernet Protocol** ==
1177 1177  
1178 -Supoort Series: DELTA DVP20/32/40/60ES200RE/200TE, DELTA DVPEN01-SL
1377 +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  
... ... @@ -1188,14 +1188,92 @@
1188 1188  
1189 1189  **2)Address List **
1190 1190  
1191 -|=**Type**|=**Device registers**|=**VBox registers**|=**Format**|=**Range**|=**Note**
1192 -|Bit|X|X|X OOO|0~~377|
1193 -|Bit|Y|Y|Y OOO|0~~377|
1390 +|=**Type**|=(% style="width: 191px;" %)**Device registers**|=(% style="width: 217px;" %)**VBox registers**|=(% style="width: 168px;" %)**Format**|=(% style="width: 225px;" %)**Range**|=**Note**
1391 +|Bit|(% style="width:191px" %)X|(% style="width:217px" %)X|(% style="width:168px" %)X OOO|(% style="width:225px" %)0~~377|
1392 +|Bit|(% style="width:191px" %)Y|(% style="width:217px" %)Y|(% style="width:168px" %)Y OOO|(% style="width:225px" %)0~~377|
1393 +|Bit|(% style="width:191px" %)M0|(% style="width:217px" %)M0|(% style="width:168px" %)M0DDDD|(% style="width:225px" %)0~~1535|
1394 +|Bit|(% style="width:191px" %)M1|(% style="width:217px" %)M1|(% style="width:168px" %)M1DDDD|(% style="width:225px" %)1536~~4096|
1395 +|Bit|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDD|(% style="width:225px" %)0~~255|
1396 +|Bit|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~255|
1397 +|Bit|(% style="width:191px" %)S|(% style="width:217px" %)S|(% style="width:168px" %)SDDDD|(% style="width:225px" %)0~~1023|
1398 +|Word|(% style="width:191px" %)D0|(% style="width:217px" %)D0|(% style="width:168px" %)D0DDDD|(% style="width:225px" %)0~~4095|
1399 +|Word|(% style="width:191px" %)D1|(% style="width:217px" %)D1|(% style="width:168px" %)D1DDDD|(% style="width:225px" %)4096~~11999|
1400 +|Word|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDD|(% style="width:225px" %)0~~255|
1401 +|Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~199|
1402 +|Double Word|(% style="width:191px" %)HC|(% style="width:217px" %)HC|(% style="width:168px" %)HCDDD|(% style="width:225px" %)200~~255|
1194 1194  
1404 +**3) PLC Setting:**
1405 +
1406 +~1. Create new project in Delta WPL Soft, and click Setting to open the communication settings:
1407 +
1408 +(% style="text-align:center" %)
1409 +[[image:DVPEthernetWPLSoft2.png]]
1410 +
1411 +2. Set up the communication type and PLC IP:
1412 +
1413 +(% style="text-align:center" %)
1414 +[[image:DVPEthernetSetup.png]]
1415 +
1416 +(% class="wikigeneratedid" %)
1417 +3. Click OK and save the settings. Then click Communication on toolbar, then click Transfer Setup to open new window:
1418 +
1419 +(% style="text-align:center" %)
1420 +[[image:DVPEthernetTransfer.png]]
1421 +
1422 +(% class="wikigeneratedid" %)
1423 +4. Select Communication Mode as PC => PLC to download or select PC <=PLC to upload:
1424 +
1425 +(% style="text-align:center" %)
1426 +[[image:DVPEthernetPLCtoPC.png]]
1427 +
1428 +5. Click Auto-Search Ethernet Module to find the PLC on the same LAN network:
1429 +
1430 +(% style="text-align:center" %)
1431 +[[image:DVPEthernetAutoSearch.png]]
1432 +
1433 +**4) V-BOX Setting:**
1434 +
1435 +Set the same IP address according to the setting from WPL Soft:
1436 +
1437 +(% style="text-align:center" %)
1438 +[[image:DVPEthernetVNETPortocol.png]]
1439 +
1195 1195  == **DVP serial protocol** ==
1196 1196  
1197 -[[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]]
1442 +Supoort Series: DELTA DVP EH/ES/SS/EX/EH2/SV/SA/SC/SX
1198 1198  
1444 +**1)V-BOX Settings**
1445 +
1446 +|=**Items**|=**Settings**|=**Note**
1447 +|Protocol|DELTA DVP PROTOCOL|
1448 +|Connection|RS232|
1449 +|Baud Rate|9600|
1450 +|Stop Bit|1|
1451 +|Data Bit|7|
1452 +|Parity|EVEN|
1453 +|Device No.|1|
1454 +
1455 +(% class="wikigeneratedid" %)
1456 +**2)Address List**
1457 +
1458 +|=**Type**|=(% style="width: 191px;" %)**Device registers**|=(% style="width: 217px;" %)**VBox registers**|=(% style="width: 168px;" %)**Format**|=(% style="width: 225px;" %)**Range**|=**Note**
1459 +|Bit|(% style="width:191px" %)X|(% style="width:217px" %)X|(% style="width:168px" %)X OOOOOO|(% style="width:225px" %)0~~303237|
1460 +|Bit|(% style="width:191px" %)Y|(% style="width:217px" %)Y|(% style="width:168px" %)Y OOOOOO|(% style="width:225px" %)0~~303237|
1461 +|Bit|(% style="width:191px" %)M|(% style="width:217px" %)M|(% style="width:168px" %)MDDDDD|(% style="width:225px" %)0~~99999|
1462 +|Bit|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDDDD|(% style="width:225px" %)0~~99999|
1463 +|Bit|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDDDD|(% style="width:225px" %)0~~99999|
1464 +|Bit|(% style="width:191px" %)S|(% style="width:217px" %)S|(% style="width:168px" %)SDDDDD|(% style="width:225px" %)0~~99999|
1465 +|Word|(% style="width:191px" %)D|(% style="width:217px" %)D|(% style="width:168px" %)D DDDDD|(% style="width:225px" %)0~~99999|
1466 +|Word|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDDDD|(% style="width:225px" %)0~~99999|
1467 +|Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~199|
1468 +|Double Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDDDD|(% style="width:225px" %)200~~99999|
1469 +
1470 +(% class="wikigeneratedid" %)
1471 +**3)Wiring Diagram**
1472 +
1473 +(% style="text-align:center" %)
1474 +[[image:Delta DVP PROTOCOLSerial232.png]]
1475 +
1199 1199  == **AS Ethernet Protocol** ==
1200 1200  
1201 1201  **1)V-BOX Settings**
... ... @@ -1229,7 +1229,6 @@
1229 1229  
1230 1230  **3)Configure the communication protocol**
1231 1231  
1232 -
1233 1233  [[image:image-20220831160010-4.png]]
1234 1234  
1235 1235  **4)Cable Wiring**
... ... @@ -1688,8 +1688,8 @@
1688 1688  **address list**
1689 1689  
1690 1690  (% class="table-bordered" %)
1691 -|**type**|**register**|**Function code and description**
1692 -|(% rowspan="11" %)|(% rowspan="3" %)3|04 (Read Input Registers: Read the current binary value in one or more input registers)
1967 +|=(% scope="row" %)**Type**|=**Data Type**|=**Function code and description**
1968 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (Read Input Registers: Read the current binary value in one or more input registers)
1693 1693  |06 (write single register: write a binary value to a holding register)
1694 1694  |10 (write values to multiple addresses )
1695 1695  |(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
... ... @@ -1728,7 +1728,7 @@
1728 1728  
1729 1729  **2)Address List**
1730 1730  
1731 -|**Type**|**Register**|**Function code & Description**
2007 +|=**Type**|=**Data Type**|=**Function code & Description**
1732 1732  |(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
1733 1733  |06 (write single register: write a binary value to a holding register)
1734 1734  |10 (write values to multiple addresses )
0Il1q9GZgk.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bob
Size
... ... @@ -1,0 +1,1 @@
1 +24.6 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
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
LldwDGntf4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bob
Size
... ... @@ -1,0 +1,1 @@
1 +24.3 KB
Content
WgvjfWbQif.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bob
Size
... ... @@ -1,0 +1,1 @@
1 +36.3 KB
Content