Changes for page 1 Communication

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

From version 206.1
edited by Bob
on 2023/02/02 11:24
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
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bob
1 +XWiki.Hunter
Content
... ... @@ -176,6 +176,14 @@
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 181  == **DF1 Advanced Protocol** ==
... ... @@ -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** ==
285 +(% class="wikigeneratedid" id="HMicroLogixA0Protocol" %)
286 +(% id="cke_bm_5621S" style="display:none" %)** **
278 278  
288 +== **MicroLogix Protocol** ==
289 +
290 +(% 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**
... ... @@ -737,7 +737,7 @@
737 737  |14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
738 738  |15|V|Bit|0-14697|DB1.DBX0.0|0x000000
739 739  
740 - **PLC Settings in LOGO Software:**
752 +**PLC Settings in LOGO Software:**
741 741  
742 742  Click [Tools]~-~-[Ethernet Connections],shown as below.
743 743  
... ... @@ -744,6 +744,57 @@
744 744  (% style="text-align:center" %)
745 745  [[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]]
746 746  
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 +
747 747  = Create communication with **Mitsubishi PLC** =
748 748  
749 749  == **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