Changes for page 1 Communication

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

From version 214.1
edited by Hunter
on 2023/02/04 11:33
Change comment: There is no comment for this version
To version 207.1
edited by Bob
on 2023/02/02 11:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Hunter
1 +XWiki.Bob
Content
... ... @@ -176,8 +176,6 @@
176 176  
177 177  The above are all the steps for establishing ethernet communication between V-BOX with LX5V PLC.
178 178  
179 -
180 -
181 181  = Create communication with **Rockwell PLC** =
182 182  
183 183  == **DF1 Advanced Protocol** ==
... ... @@ -276,12 +276,8 @@
276 276  (% style="text-align:center" %)
277 277  [[image:ABRS232.gif]]
278 278  
279 -(% class="wikigeneratedid" id="HMicroLogixA0Protocol" %)
280 -(% id="cke_bm_5621S" style="display:none" %)** **
277 +== (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** ==
281 281  
282 -== **MicroLogix Protocol** ==
283 -
284 -(% class="wikigeneratedid" %)
285 285  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
286 286  
287 287  **1)V-BOX setting**
... ... @@ -783,24 +783,13 @@
783 783  
784 784  {{code language="LUA"}}
785 785  function init.main()
786 -addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address
787 -addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address
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 +
788 788  end
789 789  {{/code}}
790 790  
791 -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.
792 -
793 -**✎Note:**
794 -
795 -* **Communication port configuration: **
796 -** Continuous length needs to be set to 0.
797 -** Integration interval needs to be set to 1. (no change may result in data errors)
798 -** Set Port and Device Station NO.
799 -** Other set as defaulted.
800 -* **Notes on the use of registers:**
801 -** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc.
802 -** 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 )
803 -
804 804  = Create communication with **Mitsubishi PLC** =
805 805  
806 806  == **FX1S,1N,2N Serial Protocol** ==