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, 4 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.Bob - Content
-
... ... @@ -176,7 +176,7 @@ 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 Allen-Bradley(**Rockwell**)**PLC** =179 += Create communication with **Rockwell PLC** = 180 180 181 181 == **DF1 Advanced Protocol** == 182 182 ... ... @@ -274,12 +274,8 @@ 274 274 (% style="text-align:center" %) 275 275 [[image:ABRS232.gif]] 276 276 277 -(% class="wikigeneratedid" id="HMicroLogixA0Protocol" %) 278 -(% id="cke_bm_5621S" style="display:none" %)** ** 277 +== (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** == 279 279 280 -== **MicroLogix Protocol** == 281 - 282 -(% class="wikigeneratedid" %) 283 283 MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5 284 284 285 285 **1)V-BOX setting** ... ... @@ -519,62 +519,12 @@ 519 519 ((( 520 520 The above are all the steps for establishing Ethernet communication between Wecon V-box with CompactLogix L1769 PLC. 521 521 522 -== **Ethernet DF1 Protocol** == 523 523 519 += **Allen-Bradley Ethernet DF1** = 520 + 524 524 [[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]] 525 525 526 -= Create communication with **Crouzet PLC** = 527 527 528 -== **CROUZET M3 (FBD)** == 529 - 530 -**1)V-BOX setting** 531 - 532 -|=Item|=Recommended |=Note 533 -|=Protocol|CROUZET M3 (FBD)| 534 -|=Connection|RS232| 535 -|=Baud rate|115200| 536 -|=Stop bits|1| 537 -|=Data bits|7| 538 -|=Parity|EVEN| 539 - 540 -**2)Address List** 541 - 542 -|=**Type**|=**Device registers**|=**Format**|=**Range**|=Note 543 -|(% rowspan="4" %)Bit|I|I DD|1~~99|Input 544 -|SLIBit|SLIBit DD.dd|1.0~~24.15|Serial Link Input 545 -|SLOBit|SLOBit DD.dd|25.0~~48.15|Serial Link Output(Read only) 546 -|State|State D|1~~1|PLC state(Read only) 547 -|(% rowspan="5" %)Word|AI|AI DD|1~~99|Analog Input 548 -|SLIn|SLIn DD|1~~24|Serial Link Input 549 -|SLOut|SLOut DD|25~~48|Serial Link Output(Read only) 550 -|Time|Time D|1~~6|((( 551 -Time1: Second 552 - 553 -Time2: Minute 554 - 555 -Time3: Hour 556 - 557 -Time4: Day 558 - 559 -Time5: Month 560 - 561 -Time6: Year 562 -))) 563 -|Order|Order D|1~~1|((( 564 -Running command(Write only) 565 - 566 -~=2: Run mode; =1: Stop mode; 567 -))) 568 - 569 -**3)Cable Wiring** 570 - 571 -(% style="text-align:center" %) 572 -[[image:CrouzetRS232 VBox.png]] 573 - 574 -{{info}} 575 -**✎Note: **As the wiring diagram indicated, this protocol requires the DB9 serial port pin 4. But pin 4 is undefined for all V-Box, so it need the user to solder a Pull-up resistor to make the pin 4 working. As for how to solder the resistor on the motherboard, please contact with Wecon technical support for the details. 576 -{{/info}} 577 - 578 578 = Create communication with **Siemens PLC** = 579 579 580 580 == **S7-200 Smart Ethernet Protocol** == ... ... @@ -791,7 +791,7 @@ 791 791 |14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70 792 792 |15|V|Bit|0-14697|DB1.DBX0.0|0x000000 793 793 794 -**PLC Settings in LOGO Software:** 740 + **PLC Settings in LOGO Software:** 795 795 796 796 Click [Tools]~-~-[Ethernet Connections],shown as below. 797 797 ... ... @@ -798,57 +798,6 @@ 798 798 (% style="text-align:center" %) 799 799 [[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]] 800 800 801 -Set Ethernet connection parameter. IP, Subnet Mask, shown as below. 802 - 803 -(% style="text-align:center" %) 804 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228142937-4.png]] 805 - 806 -**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. 807 - 808 -(% style="text-align:center" %) 809 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143047-5.png]] 810 - 811 - **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. 812 - 813 -(% style="text-align:center" %) 814 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143246-6.png]] 815 - 816 -**V-BOX Communication Settings** 817 - 818 -Set PLC IP in [IP Address] settings; 819 - 820 -(% style="text-align:center" %) 821 -[[image:LldwDGntf4.png]] 822 - 823 -Enable V-BOX Ethernet in [Network]; 824 - 825 -(% style="text-align:center" %) 826 -[[image:WgvjfWbQif.png]] 827 - 828 -TSAP setting 829 - 830 -* The initialization script needs to set the source TSAP address and the target TSAP address, otherwise the communication will not be successful. 831 - 832 -{{code language="LUA"}} 833 -function init.main() 834 -addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address 835 -addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address 836 -end 837 -{{/code}} 838 - 839 -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. 840 - 841 -**✎Note:** 842 - 843 -* **Communication port configuration: ** 844 -** Continuous length needs to be set to 0. 845 -** Integration interval needs to be set to 1. (no change may result in data errors) 846 -** Set Port and Device Station NO. 847 -** Other set as defaulted. 848 -* **Notes on the use of registers:** 849 -** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc. 850 -** 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 ) 851 - 852 852 = Create communication with **Mitsubishi PLC** = 853 853 854 854 == **FX1S,1N,2N Serial Protocol** ==
- 0Il1q9GZgk.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.6 KB - Content
- CrouzetRS232 VBox.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -14.9 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