Changes for page 1 Communication

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

From version 209.1
edited by Bob
on 2023/02/02 13:55
Change comment: There is no comment for this version
To version 205.1
edited by Bob
on 2023/02/02 11:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -737,66 +737,13 @@
737 737  |14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
738 738  |15|V|Bit|0-14697|DB1.DBX0.0|0x000000
739 739  
740 -**PLC Settings in LOGO Software:**
740 + **PLC Settings in LOGO Software:**
741 741  
742 742  Click [Tools]~-~-[Ethernet Connections],shown as below.
743 743  
744 744  (% style="text-align:center" %)
745 -[[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]]
745 +[[image:12.PLC Protocol_html_8b9d2322edf89519.png||data-xwiki-image-style-alignment="center" height="641" width="423" class="img-thumbnail"]]
746 746  
747 -Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
748 -
749 -(% style="text-align:center" %)
750 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228142937-4.png]]
751 -
752 -**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.
753 -
754 -(% style="text-align:center" %)
755 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143047-5.png]]
756 -
757 - **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.
758 -
759 -(% style="text-align:center" %)
760 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143246-6.png]]
761 -
762 -**V-BOX Communication Settings**
763 -
764 -Set PLC IP in [IP Address] settings;
765 -
766 -(% style="text-align:center" %)
767 -[[image:LldwDGntf4.png]]
768 -
769 -Enable V-BOX Ethernet in [Network];
770 -
771 -(% style="text-align:center" %)
772 -[[image:WgvjfWbQif.png]]
773 -
774 -TSAP setting
775 -
776 -* The initialization script needs to set the source TSAP address and the target TSAP address, otherwise the communication will not be successful.
777 -
778 -{{code language="LUA"}}
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
782 -end
783 -{{/code}}
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 -* **Communication port configuration: **
790 -** Continuous length needs to be set to 0.
791 -** Integration interval needs to be set to 1. (no change may result in data errors)
792 -** Set Port and Device Station NO.
793 -** Other set as defaulted.
794 -* **Notes on the use of registers:**
795 -** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc.
796 -** 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 )
797 -
798 -
799 -
800 800  = Create communication with **Mitsubishi PLC** =
801 801  
802 802  == **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
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