Changes for page 1 Communication

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

From version 208.1
edited by Bob
on 2023/02/02 12:00
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
Content
... ... @@ -777,17 +777,13 @@
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 -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 +
782 782  end
783 783  {{/code}}
784 784  
785 -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.
786 -
787 -**✎Note:**
788 -
789 -*
790 -
791 791  = Create communication with **Mitsubishi PLC** =
792 792  
793 793  == **FX1S,1N,2N Serial Protocol** ==