Changes for page 1 Communication
Last modified by Hunter on 2024/07/01 10:54
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 13 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.Bob - Content
-
... ... @@ -178,115 +178,14 @@ 178 178 179 179 = Create communication with **Rockwell PLC** = 180 180 181 -== **DF1AdvancedProtocol** ==181 +== (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** == 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 -(% class="wikigeneratedid" %) 281 -== **MicroLogix Protocol** == 282 - 283 -(% class="wikigeneratedid" %) 284 284 MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5 285 285 286 286 **1)V-BOX setting** 287 287 288 288 |**Item**|**Settings**|**Note** 289 -|Protocol|Allen-Bradley DF1 Advanced| 188 +|Protocol|Allen-Bradlley DF1 Advanced| 290 290 |Connection|RS232| 291 291 |Baud rate|19200| 292 292 |Data bit|8| ... ... @@ -709,97 +709,6 @@ 709 709 710 710 [[image:image-20220824162342-2.png]] 711 711 712 -== **LOGO Ethernet Protocol** == 713 - 714 -Supported Series: Siemens Logo 0BA0, 0BA1 series 715 - 716 -**V-BOX Settings** 717 - 718 - 719 -|**Items**|**Settings**|**Note** 720 -|Protocol|Siemens LOGO| 721 -|Connection|Ethernet| 722 -|Port No.|102| 723 -|PLC station No.|2| 724 - 725 -**Address List** 726 - 727 - 728 -|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address** 729 -|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0 730 -|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000 731 -|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000 732 -|4|VW|Word|0-1468|DB1.DBX0.0|0x000000 733 -|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0 734 -|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770 735 -|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0 736 -|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180 737 -|9|AI|Word|1-16|DB1.DBX1032.0|0x002040 738 -|10|I|Bit|1-64|DB1.DBX1024.0|0x002000 739 -|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140 740 -|12|M|Bit|1-112|DB1.DBX1104.0|0x002280 741 -|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0 742 -|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70 743 -|15|V|Bit|0-14697|DB1.DBX0.0|0x000000 744 - 745 -**PLC Settings in LOGO Software:** 746 - 747 -Click [Tools]~-~-[Ethernet Connections],shown as below. 748 - 749 -(% style="text-align:center" %) 750 -[[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]] 751 - 752 -Set Ethernet connection parameter. IP, Subnet Mask, shown as below. 753 - 754 -(% style="text-align:center" %) 755 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228142937-4.png]] 756 - 757 -**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. 758 - 759 -(% style="text-align:center" %) 760 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143047-5.png]] 761 - 762 - **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. 763 - 764 -(% style="text-align:center" %) 765 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143246-6.png]] 766 - 767 -**V-BOX Communication Settings** 768 - 769 -Set PLC IP in [IP Address] settings; 770 - 771 -(% style="text-align:center" %) 772 -[[image:LldwDGntf4.png]] 773 - 774 -Enable V-BOX Ethernet in [Network]; 775 - 776 -(% style="text-align:center" %) 777 -[[image:WgvjfWbQif.png]] 778 - 779 -TSAP setting 780 - 781 -* The initialization script needs to set the source TSAP address and the target TSAP address, otherwise the communication will not be successful. 782 - 783 -{{code language="LUA"}} 784 -function init.main() 785 -addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address 786 -addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address 787 -end 788 -{{/code}} 789 - 790 -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. 791 - 792 -**✎Note:** 793 - 794 -* **Communication port configuration: ** 795 -** Continuous length needs to be set to 0. 796 -** Integration interval needs to be set to 1. (no change may result in data errors) 797 -** Set Port and Device Station NO. 798 -** Other set as defaulted. 799 -* **Notes on the use of registers:** 800 -** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc. 801 -** 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 ) 802 - 803 803 = Create communication with **Mitsubishi PLC** = 804 804 805 805 == **FX1S,1N,2N Serial Protocol** == ... ... @@ -1282,9 +1282,10 @@ 1282 1282 1283 1283 [[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"]] 1284 1284 1093 +(% class="wikigeneratedid" %) 1285 1285 == **Q12H Serial Protocol** == 1286 1286 1287 -This Demoshows V-BOX communicate with Q12H PLC by Q02HserialProtocol1096 +**This demo is ** 1288 1288 1289 1289 [[**Download link**>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Communication/V-Box%20connect%20PLC%20Q12H.rar]] 1290 1290 ... ... @@ -1367,105 +1367,12 @@ 1367 1367 1368 1368 == **DVP Ethernet Protocol** == 1369 1369 1370 - SupoortSeries:ELTA DVP20/32/40/60ES200RE/200TE or anyDVPmodels with built-inEthernetort, DELTA DVPEN01-SL module1179 +[[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]] 1371 1371 1372 -**1)V-BOX Settings** 1373 - 1374 -|=**Items**|=**Settings**|=**Note** 1375 -|Protocol|DELTA DVP MODBUS TCP| 1376 -|Connection|Ethernet| 1377 -|Port No.|502| 1378 -|Device No.|1| 1379 -|VBox Device No.|0| 1380 - 1381 -**2)Address List ** 1382 - 1383 -|=**Type**|=(% style="width: 191px;" %)**Device registers**|=(% style="width: 217px;" %)**VBox registers**|=(% style="width: 168px;" %)**Format**|=(% style="width: 225px;" %)**Range**|=**Note** 1384 -|Bit|(% style="width:191px" %)X|(% style="width:217px" %)X|(% style="width:168px" %)X OOO|(% style="width:225px" %)0~~377| 1385 -|Bit|(% style="width:191px" %)Y|(% style="width:217px" %)Y|(% style="width:168px" %)Y OOO|(% style="width:225px" %)0~~377| 1386 -|Bit|(% style="width:191px" %)M0|(% style="width:217px" %)M0|(% style="width:168px" %)M0DDDD|(% style="width:225px" %)0~~1535| 1387 -|Bit|(% style="width:191px" %)M1|(% style="width:217px" %)M1|(% style="width:168px" %)M1DDDD|(% style="width:225px" %)1536~~4096| 1388 -|Bit|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDD|(% style="width:225px" %)0~~255| 1389 -|Bit|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~255| 1390 -|Bit|(% style="width:191px" %)S|(% style="width:217px" %)S|(% style="width:168px" %)SDDDD|(% style="width:225px" %)0~~1023| 1391 -|Word|(% style="width:191px" %)D0|(% style="width:217px" %)D0|(% style="width:168px" %)D0DDDD|(% style="width:225px" %)0~~4095| 1392 -|Word|(% style="width:191px" %)D1|(% style="width:217px" %)D1|(% style="width:168px" %)D1DDDD|(% style="width:225px" %)4096~~11999| 1393 -|Word|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDD|(% style="width:225px" %)0~~255| 1394 -|Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~199| 1395 -|Double Word|(% style="width:191px" %)HC|(% style="width:217px" %)HC|(% style="width:168px" %)HCDDD|(% style="width:225px" %)200~~255| 1396 - 1397 -**3) PLC Setting:** 1398 - 1399 -~1. Create new project in Delta WPL Soft, and click Setting to open the communication settings: 1400 - 1401 -(% style="text-align:center" %) 1402 -[[image:DVPEthernetWPLSoft2.png]] 1403 - 1404 -2. Set up the communication type and PLC IP: 1405 - 1406 -(% style="text-align:center" %) 1407 -[[image:DVPEthernetSetup.png]] 1408 - 1409 -(% class="wikigeneratedid" %) 1410 -3. Click OK and save the settings. Then click Communication on toolbar, then click Transfer Setup to open new window: 1411 - 1412 -(% style="text-align:center" %) 1413 -[[image:DVPEthernetTransfer.png]] 1414 - 1415 -(% class="wikigeneratedid" %) 1416 -4. Select Communication Mode as PC => PLC to download or select PC <=PLC to upload: 1417 - 1418 -(% style="text-align:center" %) 1419 -[[image:DVPEthernetPLCtoPC.png]] 1420 - 1421 -5. Click Auto-Search Ethernet Module to find the PLC on the same LAN network: 1422 - 1423 -(% style="text-align:center" %) 1424 -[[image:DVPEthernetAutoSearch.png]] 1425 - 1426 -**4) V-BOX Setting:** 1427 - 1428 -Set the same IP address according to the setting from WPL Soft: 1429 - 1430 -(% style="text-align:center" %) 1431 -[[image:DVPEthernetVNETPortocol.png]] 1432 - 1433 1433 == **DVP serial protocol** == 1434 1434 1435 - SupoortSeries:DELTA DVP EH/ES/SS/EX/EH2/SV/SA/SC/SX1183 +[[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]] 1436 1436 1437 -**1)V-BOX Settings** 1438 - 1439 -|=**Items**|=**Settings**|=**Note** 1440 -|Protocol|DELTA DVP PROTOCOL| 1441 -|Connection|RS232| 1442 -|Baud Rate|9600| 1443 -|Stop Bit|1| 1444 -|Data Bit|7| 1445 -|Parity|EVEN| 1446 -|Device No.|1| 1447 - 1448 -(% class="wikigeneratedid" %) 1449 -**2)Address List** 1450 - 1451 -|=**Type**|=(% style="width: 191px;" %)**Device registers**|=(% style="width: 217px;" %)**VBox registers**|=(% style="width: 168px;" %)**Format**|=(% style="width: 225px;" %)**Range**|=**Note** 1452 -|Bit|(% style="width:191px" %)X|(% style="width:217px" %)X|(% style="width:168px" %)X OOOOOO|(% style="width:225px" %)0~~303237| 1453 -|Bit|(% style="width:191px" %)Y|(% style="width:217px" %)Y|(% style="width:168px" %)Y OOOOOO|(% style="width:225px" %)0~~303237| 1454 -|Bit|(% style="width:191px" %)M|(% style="width:217px" %)M|(% style="width:168px" %)MDDDDD|(% style="width:225px" %)0~~99999| 1455 -|Bit|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDDDD|(% style="width:225px" %)0~~99999| 1456 -|Bit|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDDDD|(% style="width:225px" %)0~~99999| 1457 -|Bit|(% style="width:191px" %)S|(% style="width:217px" %)S|(% style="width:168px" %)SDDDDD|(% style="width:225px" %)0~~99999| 1458 -|Word|(% style="width:191px" %)D|(% style="width:217px" %)D|(% style="width:168px" %)D DDDDD|(% style="width:225px" %)0~~99999| 1459 -|Word|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDDDD|(% style="width:225px" %)0~~99999| 1460 -|Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~199| 1461 -|Double Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDDDD|(% style="width:225px" %)200~~99999| 1462 - 1463 -(% class="wikigeneratedid" %) 1464 -**3)Wiring Diagram** 1465 - 1466 -(% style="text-align:center" %) 1467 -[[image:Delta DVP PROTOCOLSerial232.png]] 1468 - 1469 1469 == **AS Ethernet Protocol** == 1470 1470 1471 1471 **1)V-BOX Settings** ... ... @@ -1499,6 +1499,7 @@ 1499 1499 1500 1500 **3)Configure the communication protocol** 1501 1501 1218 + 1502 1502 [[image:image-20220831160010-4.png]] 1503 1503 1504 1504 **4)Cable Wiring** ... ... @@ -1631,7 +1631,7 @@ 1631 1631 1632 1632 **1)V-BOX Settings** 1633 1633 1634 -Supported Series: Xinjie XD/XE Series PLC 1351 +Supported Series: Delta Xinjie XD/XE Series PLC 1635 1635 1636 1636 |**Item**|**Settings**|**Note** 1637 1637 |Protocol|XINJE XD/XC MODBUS| ... ... @@ -1701,6 +1701,7 @@ 1701 1701 1702 1702 [[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"]] 1703 1703 1421 + 1704 1704 = Create communication with **Schneider PLC** = 1705 1705 1706 1706 == **Schneider MODBUS RTU** == ... ... @@ -1957,8 +1957,8 @@ 1957 1957 **address list** 1958 1958 1959 1959 (% class="table-bordered" %) 1960 -| =(% scope="row" %)**Type**|=**Data Type**|=**Function code and description**1961 -|(% rowspan="11" %) Word|(% rowspan="3" %)3|04 (Read Input Registers: Read the current binary value in one or more input registers)1678 +|**type**|**register**|**Function code and description** 1679 +|(% rowspan="11" %)词|(% rowspan="3" %)3|04 (Read Input Registers: Read the current binary value in one or more input registers) 1962 1962 |06 (write single register: write a binary value to a holding register) 1963 1963 |10 (write values to multiple addresses ) 1964 1964 |(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers) ... ... @@ -1997,7 +1997,7 @@ 1997 1997 1998 1998 **2)Address List** 1999 1999 2000 -| =**Type**|=**Data Type**|=**Function code & Description**1718 +|**Type**|**Register**|**Function code & Description** 2001 2001 |(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers) 2002 2002 |06 (write single register: write a binary value to a holding register) 2003 2003 |10 (write values to multiple addresses )
- 0Il1q9GZgk.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.6 KB - Content
- AB.gif
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.3 KB - Content
- ABRS232.gif
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.3 KB - Content
- DVPEthernetAutoSearch.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -43.6 KB - Content
- DVPEthernetPLCtoPC.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -8.9 KB - Content
- DVPEthernetSetup.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -19.9 KB - Content
- DVPEthernetTransfer.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.9 KB - Content
- DVPEthernetVNETPortocol.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -21.4 KB - Content
- DVPEthernetWPLSoft.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -97.5 KB - Content
- DVPEthernetWPLSoft2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -45.2 KB - Content
- Delta DVP PROTOCOLSerial232.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -10.7 KB - Content
- LldwDGntf4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.3 KB - Content
- WgvjfWbQif.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -36.3 KB - Content