Changes for page 1 Communication
Last modified by Hunter on 2024/07/01 10:54
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -176,8 +176,10 @@ 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 180 + 181 += Create communication with Allen-Bradley(**Rockwell**)** PLC** = 182 + 181 181 == **DF1 Advanced Protocol** == 182 182 183 183 MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5 ... ... @@ -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** == 279 +(% class="wikigeneratedid" id="HMicroLogixA0Protocol" %) 280 +(% id="cke_bm_5621S" style="display:none" %)** ** 278 278 282 +== **MicroLogix Protocol** == 283 + 284 +(% 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** ... ... @@ -520,7 +520,11 @@ 520 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 529 += Create communication with **Crouzet PLC** = 523 523 531 +== **CROUZET M3 (FBD)** == 532 + 533 + 524 524 = Create communication with **Siemens PLC** = 525 525 526 526 == **S7-200 Smart Ethernet Protocol** == ... ... @@ -704,6 +704,97 @@ 704 704 705 705 [[image:image-20220824162342-2.png]] 706 706 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 + 707 707 = Create communication with **Mitsubishi PLC** = 708 708 709 709 == **FX1S,1N,2N Serial Protocol** ==
- 0Il1q9GZgk.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bob - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.6 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