Changes for page 1 Communication

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

From version 207.1
edited by Bob
on 2023/02/02 11:57
Change comment: There is no comment for this version
To version 218.1
edited by Hunter
on 2023/03/18 15:58
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,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 **Rockwell PLC** =
179 += Create communication with Allen-Bradley(**Rockwell**)** PLC** =
180 180  
181 181  == **DF1 Advanced Protocol** ==
182 182  
... ... @@ -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** ==
277 +(% class="wikigeneratedid" id="HMicroLogixA0Protocol" %)
278 +(% id="cke_bm_5621S" style="display:none" %)** **
278 278  
280 +== **MicroLogix Protocol** ==
281 +
282 +(% 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**
... ... @@ -515,12 +515,58 @@
515 515  (((
516 516  The above are all the steps for establishing Ethernet communication between Wecon V-box with CompactLogix L1769 PLC.
517 517  
522 +== **Ethernet DF1 Protocol** ==
518 518  
519 -= **Allen-Bradley Ethernet DF1** =
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  
526 += Create communication with **Crouzet PLC** =
523 523  
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 +
524 524  = Create communication with **Siemens PLC** =
525 525  
526 526  == **S7-200 Smart Ethernet Protocol** ==
... ... @@ -777,13 +777,24 @@
777 777  
778 778  {{code language="LUA"}}
779 779  function init.main()
780 -    addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address
781 -
782 -    addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address
783 -
830 +addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address
831 +addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address
784 784  end
785 785  {{/code}}
786 786  
835 +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.
836 +
837 +**✎Note:**
838 +
839 +* **Communication port configuration: **
840 +** Continuous length needs to be set to 0.
841 +** Integration interval needs to be set to 1. (no change may result in data errors)
842 +** Set Port and Device Station NO.
843 +** Other set as defaulted.
844 +* **Notes on the use of registers:**
845 +** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc.
846 +** 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 )
847 +
787 787  = Create communication with **Mitsubishi PLC** =
788 788  
789 789  == **FX1S,1N,2N Serial Protocol** ==
CrouzetRS232 VBox.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +14.9 KB
Content