Changes for page 1 Communication

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

From version 187.1
edited by Bob
on 2022/11/28 11:25
Change comment: There is no comment for this version
To version 215.1
edited by Hunter
on 2023/03/18 15:43
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,16 +176,118 @@
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** =
180 180  
181 -== (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** ==
182 182  
181 += Create communication with Allen-Bradley(**Rockwell**)** PLC** =
182 +
183 +== **DF1 Advanced Protocol** ==
184 +
185 +MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5
186 +
187 +**1) V-Box Settings**
188 +
189 +|=Item|=Recommended |=Note
190 +|=Protocol|Allen Bradley DF1 Advanced|
191 +|=Connection|RS232|
192 +|=Baud rate|19200|
193 +|=Stop bits|1|
194 +|=Data bits|8|
195 +|=Parity|None|
196 +|=PLC Station No.|1|
197 +|=HMI Station No.|0|
198 +
199 +**2) Address List**
200 +
201 +|=**Type**|=**Device registers**|=**Format**|=**Range**|=Note
202 +|(% colspan="1" rowspan="7" %)Bit|I1|I1ddd.dd|0.0~~255.15|Only able to communicate with file number I1
203 +|O0|O0ddd.dd|0.0~~255.15|Only able to communicate with file number O0
204 +|S2|S2ddd.dd|0.0~~255.15|Only able to communicate with file number S2
205 +|B3|B3ddd.dd|0.0~~255.15|Only able to communicate with file number B3
206 +|BN|BNddddd.dd|0.0~~99255.15|(((
207 +Bit data file B0~~B99
208 +
209 +First two digits is for file number
210 +
211 +For example, BN13001.00 represents file number B13, address 001, the 0th bit.
212 +)))
213 +|N7|N7ddd.dd|0.0~~255.15|Only able to communicate with file number N7
214 +|NN|NNddddd.dd|0.0~~99255.15|(((
215 +Integer data file bit format N0~~N99
216 +
217 +First two digits is for file number
218 +
219 +For example, NN13001.00 represents file number N13, address 001, the 0th bit.
220 +)))
221 +|(% rowspan="11" %)Word|S2|S2ddd|0~~255|Only able to communicate with file number S2
222 +|T4S|T4Sddd|0~~255|Only able to communicate with file number T4 (Timer Preset Value)
223 +|T4P|T4Pddd|0~~255|Only able to communicate with file number T4 (Timer Accumulator Value)
224 +|TNS|TNSddddd|0~~99255|(((
225 +Timer Preset Value
226 +
227 +First two digits is for file number
228 +
229 +For example, TNS99255 represents file number T99, address 255.
230 +)))
231 +|TNP|TNPddddd|0~~99255|(((
232 +Timer Accumulator Value
233 +
234 +First two digits is for file number
235 +
236 +For example, TNP99255 represents file number T99, address 255.
237 +)))
238 +|C5S|C5Sddd|0~~255|Only able to communicate with file number C5 (Counter Preset Value)
239 +|C5P|C5Pddd|0~~255|Only able to communicate with file number C5 (Counter Accumulator Value)
240 +|CNS|CNSddddd|0~~99255|(((
241 +Counter Preset Value
242 +
243 +First two digits is for file number
244 +
245 +For example, CNS99255 represents file number C99, address 255.
246 +)))
247 +|CNP|CNPddddd|0~~99255|(((
248 +Counter Accumulator Value
249 +
250 +First two digits is for file number
251 +
252 +For example, CNP99255 represents file number C99, address 255.
253 +)))
254 +|N7|N7ddd|0~~255|Only able to communicate with file number N7
255 +|NN|NNddd|0~~99255|(((
256 +Integer data file
257 +
258 +First two digits is for file number
259 +
260 +For example, NN99255 represents file number N99, address 255.
261 +)))
262 +|(% colspan="1" rowspan="3" %)Double Word|F8|F8ddd|0~~255|(((
263 +Only able to communicate with file number N7
264 +)))
265 +|FN|FNddddd|0~~99255|(((
266 +Floating point data file
267 +
268 +First two digits is for file number
269 +
270 +For example, FN99255 represents file number F99, address 255.
271 +)))
272 +|LN|LNddddd|0~~99255|Long
273 +
274 +**3) Cable Wiring**
275 +
276 +(% style="text-align:center" %)
277 +[[image:ABRS232.gif]]
278 +
279 +(% class="wikigeneratedid" id="HMicroLogixA0Protocol" %)
280 +(% id="cke_bm_5621S" style="display:none" %)** **
281 +
282 +== **MicroLogix Protocol** ==
283 +
284 +(% 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|
290 +|Protocol|Allen-Bradley DF1 Advanced|
189 189  |Connection|RS232|
190 190  |Baud rate|19200|
191 191  |Data bit|8|
... ... @@ -424,7 +424,11 @@
424 424  
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  
529 += Create communication with **Crouzet PLC** =
427 427  
531 +== **CROUZET M3 (FBD)** ==
532 +
533 +
428 428  = Create communication with **Siemens PLC** =
429 429  
430 430  == **S7-200 Smart Ethernet Protocol** ==
... ... @@ -608,6 +608,97 @@
608 608  
609 609  [[image:image-20220824162342-2.png]]
610 610  
717 +== **LOGO Ethernet Protocol** ==
718 +
719 +Supported Series: Siemens Logo 0BA0, 0BA1 series
720 +
721 +**V-BOX Settings**
722 +
723 +
724 +|**Items**|**Settings**|**Note**
725 +|Protocol|Siemens LOGO|
726 +|Connection|Ethernet|
727 +|Port No.|102|
728 +|PLC station No.|2|
729 +
730 +**Address List**
731 +
732 +
733 +|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address**
734 +|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0
735 +|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000
736 +|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000
737 +|4|VW|Word|0-1468|DB1.DBX0.0|0x000000
738 +|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0
739 +|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770
740 +|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0
741 +|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180
742 +|9|AI|Word|1-16|DB1.DBX1032.0|0x002040
743 +|10|I|Bit|1-64|DB1.DBX1024.0|0x002000
744 +|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140
745 +|12|M|Bit|1-112|DB1.DBX1104.0|0x002280
746 +|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0
747 +|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
748 +|15|V|Bit|0-14697|DB1.DBX0.0|0x000000
749 +
750 +**PLC Settings in LOGO Software:**
751 +
752 +Click [Tools]~-~-[Ethernet Connections],shown as below.
753 +
754 +(% style="text-align:center" %)
755 +[[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]]
756 +
757 +Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
758 +
759 +(% style="text-align:center" %)
760 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228142937-4.png]]
761 +
762 +**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.
763 +
764 +(% style="text-align:center" %)
765 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143047-5.png]]
766 +
767 + **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.
768 +
769 +(% style="text-align:center" %)
770 +[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143246-6.png]]
771 +
772 +**V-BOX Communication Settings**
773 +
774 +Set PLC IP in [IP Address] settings;
775 +
776 +(% style="text-align:center" %)
777 +[[image:LldwDGntf4.png]]
778 +
779 +Enable V-BOX Ethernet in [Network];
780 +
781 +(% style="text-align:center" %)
782 +[[image:WgvjfWbQif.png]]
783 +
784 +TSAP setting
785 +
786 +* The initialization script needs to set the source TSAP address and the target TSAP address, otherwise the communication will not be successful.
787 +
788 +{{code language="LUA"}}
789 +function init.main()
790 +addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address
791 +addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address
792 +end
793 +{{/code}}
794 +
795 +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.
796 +
797 +**✎Note:**
798 +
799 +* **Communication port configuration: **
800 +** Continuous length needs to be set to 0.
801 +** Integration interval needs to be set to 1. (no change may result in data errors)
802 +** Set Port and Device Station NO.
803 +** Other set as defaulted.
804 +* **Notes on the use of registers:**
805 +** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc.
806 +** 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 )
807 +
611 611  = Create communication with **Mitsubishi PLC** =
612 612  
613 613  == **FX1S,1N,2N Serial Protocol** ==
... ... @@ -1090,6 +1090,12 @@
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  
1290 +== **Q12H Serial Protocol** ==
1291 +
1292 +This Demo shows V-BOX communicate with Q12H PLC by Q02H serial Protocol
1293 +
1294 +[[**Download link**>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Communication/V-Box%20connect%20PLC%20Q12H.rar]]
1295 +
1093 1093  == **QJ71E71 Ethernet Protocol** ==
1094 1094  
1095 1095  Mitsubishi QJ71E71 Ethernet communication module;
... ... @@ -1169,12 +1169,105 @@
1169 1169  
1170 1170  == **DVP Ethernet Protocol** ==
1171 1171  
1172 -[[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]]
1375 +Supoort Series: DELTA DVP20/32/40/60ES200RE/200TE or any DVP models with built-in Ethernet port, DELTA DVPEN01-SL module
1173 1173  
1377 +**1)V-BOX Settings**
1378 +
1379 +|=**Items**|=**Settings**|=**Note**
1380 +|Protocol|DELTA DVP MODBUS TCP|
1381 +|Connection|Ethernet|
1382 +|Port No.|502|
1383 +|Device No.|1|
1384 +|VBox Device No.|0|
1385 +
1386 +**2)Address List **
1387 +
1388 +|=**Type**|=(% style="width: 191px;" %)**Device registers**|=(% style="width: 217px;" %)**VBox registers**|=(% style="width: 168px;" %)**Format**|=(% style="width: 225px;" %)**Range**|=**Note**
1389 +|Bit|(% style="width:191px" %)X|(% style="width:217px" %)X|(% style="width:168px" %)X OOO|(% style="width:225px" %)0~~377|
1390 +|Bit|(% style="width:191px" %)Y|(% style="width:217px" %)Y|(% style="width:168px" %)Y OOO|(% style="width:225px" %)0~~377|
1391 +|Bit|(% style="width:191px" %)M0|(% style="width:217px" %)M0|(% style="width:168px" %)M0DDDD|(% style="width:225px" %)0~~1535|
1392 +|Bit|(% style="width:191px" %)M1|(% style="width:217px" %)M1|(% style="width:168px" %)M1DDDD|(% style="width:225px" %)1536~~4096|
1393 +|Bit|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDD|(% style="width:225px" %)0~~255|
1394 +|Bit|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~255|
1395 +|Bit|(% style="width:191px" %)S|(% style="width:217px" %)S|(% style="width:168px" %)SDDDD|(% style="width:225px" %)0~~1023|
1396 +|Word|(% style="width:191px" %)D0|(% style="width:217px" %)D0|(% style="width:168px" %)D0DDDD|(% style="width:225px" %)0~~4095|
1397 +|Word|(% style="width:191px" %)D1|(% style="width:217px" %)D1|(% style="width:168px" %)D1DDDD|(% style="width:225px" %)4096~~11999|
1398 +|Word|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDD|(% style="width:225px" %)0~~255|
1399 +|Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~199|
1400 +|Double Word|(% style="width:191px" %)HC|(% style="width:217px" %)HC|(% style="width:168px" %)HCDDD|(% style="width:225px" %)200~~255|
1401 +
1402 +**3) PLC Setting:**
1403 +
1404 +~1. Create new project in Delta WPL Soft, and click Setting to open the communication settings:
1405 +
1406 +(% style="text-align:center" %)
1407 +[[image:DVPEthernetWPLSoft2.png]]
1408 +
1409 +2. Set up the communication type and PLC IP:
1410 +
1411 +(% style="text-align:center" %)
1412 +[[image:DVPEthernetSetup.png]]
1413 +
1414 +(% class="wikigeneratedid" %)
1415 +3. Click OK and save the settings. Then click Communication on toolbar, then click Transfer Setup to open new window:
1416 +
1417 +(% style="text-align:center" %)
1418 +[[image:DVPEthernetTransfer.png]]
1419 +
1420 +(% class="wikigeneratedid" %)
1421 +4. Select Communication Mode as PC => PLC to download or select PC <=PLC to upload:
1422 +
1423 +(% style="text-align:center" %)
1424 +[[image:DVPEthernetPLCtoPC.png]]
1425 +
1426 +5. Click Auto-Search Ethernet Module to find the PLC on the same LAN network:
1427 +
1428 +(% style="text-align:center" %)
1429 +[[image:DVPEthernetAutoSearch.png]]
1430 +
1431 +**4) V-BOX Setting:**
1432 +
1433 +Set the same IP address according to the setting from WPL Soft:
1434 +
1435 +(% style="text-align:center" %)
1436 +[[image:DVPEthernetVNETPortocol.png]]
1437 +
1174 1174  == **DVP serial protocol** ==
1175 1175  
1176 -[[下载链接>>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]]
1440 +Supoort Series: DELTA DVP EH/ES/SS/EX/EH2/SV/SA/SC/SX
1177 1177  
1442 +**1)V-BOX Settings**
1443 +
1444 +|=**Items**|=**Settings**|=**Note**
1445 +|Protocol|DELTA DVP PROTOCOL|
1446 +|Connection|RS232|
1447 +|Baud Rate|9600|
1448 +|Stop Bit|1|
1449 +|Data Bit|7|
1450 +|Parity|EVEN|
1451 +|Device No.|1|
1452 +
1453 +(% class="wikigeneratedid" %)
1454 +**2)Address List**
1455 +
1456 +|=**Type**|=(% style="width: 191px;" %)**Device registers**|=(% style="width: 217px;" %)**VBox registers**|=(% style="width: 168px;" %)**Format**|=(% style="width: 225px;" %)**Range**|=**Note**
1457 +|Bit|(% style="width:191px" %)X|(% style="width:217px" %)X|(% style="width:168px" %)X OOOOOO|(% style="width:225px" %)0~~303237|
1458 +|Bit|(% style="width:191px" %)Y|(% style="width:217px" %)Y|(% style="width:168px" %)Y OOOOOO|(% style="width:225px" %)0~~303237|
1459 +|Bit|(% style="width:191px" %)M|(% style="width:217px" %)M|(% style="width:168px" %)MDDDDD|(% style="width:225px" %)0~~99999|
1460 +|Bit|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDDDD|(% style="width:225px" %)0~~99999|
1461 +|Bit|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDDDD|(% style="width:225px" %)0~~99999|
1462 +|Bit|(% style="width:191px" %)S|(% style="width:217px" %)S|(% style="width:168px" %)SDDDDD|(% style="width:225px" %)0~~99999|
1463 +|Word|(% style="width:191px" %)D|(% style="width:217px" %)D|(% style="width:168px" %)D DDDDD|(% style="width:225px" %)0~~99999|
1464 +|Word|(% style="width:191px" %)T|(% style="width:217px" %)T|(% style="width:168px" %)TDDDDD|(% style="width:225px" %)0~~99999|
1465 +|Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDD|(% style="width:225px" %)0~~199|
1466 +|Double Word|(% style="width:191px" %)C|(% style="width:217px" %)C|(% style="width:168px" %)CDDDDD|(% style="width:225px" %)200~~99999|
1467 +
1468 +(% class="wikigeneratedid" %)
1469 +**3)Wiring Diagram**
1470 +
1471 +(% style="text-align:center" %)
1472 +[[image:Delta DVP PROTOCOLSerial232.png]]
1473 +
1178 1178  == **AS Ethernet Protocol** ==
1179 1179  
1180 1180  **1)V-BOX Settings**
... ... @@ -1208,7 +1208,6 @@
1208 1208  
1209 1209  **3)Configure the communication protocol**
1210 1210  
1211 -
1212 1212  [[image:image-20220831160010-4.png]]
1213 1213  
1214 1214  **4)Cable Wiring**
... ... @@ -1341,7 +1341,7 @@
1341 1341  
1342 1342  **1)V-BOX Settings**
1343 1343  
1344 -Supported Series: Delta Xinjie XD/XE Series PLC
1639 +Supported Series: Xinjie XD/XE Series PLC
1345 1345  
1346 1346  |**Item**|**Settings**|**Note**
1347 1347  |Protocol|XINJE XD/XC MODBUS|
... ... @@ -1411,7 +1411,6 @@
1411 1411  
1412 1412  [[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"]]
1413 1413  
1414 -
1415 1415  = Create communication with **Schneider PLC** =
1416 1416  
1417 1417  == **Schneider MODBUS RTU** ==
... ... @@ -1668,8 +1668,8 @@
1668 1668  **address list**
1669 1669  
1670 1670  (% class="table-bordered" %)
1671 -|**type**|**register**|**Function code and description**
1672 -|(% rowspan="11" %)|(% rowspan="3" %)3|04 (Read Input Registers: Read the current binary value in one or more input registers)
1965 +|=(% scope="row" %)**Type**|=**Data Type**|=**Function code and description**
1966 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (Read Input Registers: Read the current binary value in one or more input registers)
1673 1673  |06 (write single register: write a binary value to a holding register)
1674 1674  |10 (write values to multiple addresses )
1675 1675  |(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
... ... @@ -1708,7 +1708,7 @@
1708 1708  
1709 1709  **2)Address List**
1710 1710  
1711 -|**Type**|**Register**|**Function code & Description**
2005 +|=**Type**|=**Data Type**|=**Function code & Description**
1712 1712  |(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
1713 1713  |06 (write single register: write a binary value to a holding register)
1714 1714  |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