Changes for page 1 Communication

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

From version 211.1
edited by Hunter
on 2023/02/04 11:14
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
... ... @@ -274,13 +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 -(% class="wikigeneratedid" %)
281 -== **MicroLogix Protocol** ==
282 -
283 -(% class="wikigeneratedid" %)
284 284  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
285 285  
286 286  **1)V-BOX setting**
... ... @@ -782,24 +782,13 @@
782 782  
783 783  {{code language="LUA"}}
784 784  function init.main()
785 -addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address
786 -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 +
787 787  end
788 788  {{/code}}
789 789  
790 -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.
791 -
792 -**✎Note:**
793 -
794 -* **Communication port configuration: **
795 -** Continuous length needs to be set to 0.
796 -** Integration interval needs to be set to 1. (no change may result in data errors)
797 -** Set Port and Device Station NO.
798 -** Other set as defaulted.
799 -* **Notes on the use of registers:**
800 -** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc.
801 -** 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 )
802 -
803 803  = Create communication with **Mitsubishi PLC** =
804 804  
805 805  == **FX1S,1N,2N Serial Protocol** ==