Changes for page 1 Communication

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

From version 210.1
edited by Hunter
on 2023/02/04 11:13
Change comment: There is no comment for this version
To version 204.1
edited by Bob
on 2023/02/02 11:19
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**
... ... @@ -711,96 +711,6 @@
711 711  
712 712  == **LOGO Ethernet Protocol** ==
713 713  
714 -Supported Series: Siemens Logo 0BA0, 0BA1 series
715 -
716 -**V-BOX Settings**
717 -
718 -
719 -|**Items**|**Settings**|**Note**
720 -|Protocol|Siemens LOGO|
721 -|Connection|Ethernet|
722 -|Port No.|102|
723 -|PLC station No.|2|
724 -
725 -**Address List**
726 -
727 -
728 -|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address**
729 -|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0
730 -|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000
731 -|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000
732 -|4|VW|Word|0-1468|DB1.DBX0.0|0x000000
733 -|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0
734 -|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770
735 -|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0
736 -|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180
737 -|9|AI|Word|1-16|DB1.DBX1032.0|0x002040
738 -|10|I|Bit|1-64|DB1.DBX1024.0|0x002000
739 -|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140
740 -|12|M|Bit|1-112|DB1.DBX1104.0|0x002280
741 -|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0
742 -|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
743 -|15|V|Bit|0-14697|DB1.DBX0.0|0x000000
744 -
745 -**PLC Settings in LOGO Software:**
746 -
747 -Click [Tools]~-~-[Ethernet Connections],shown as below.
748 -
749 -(% style="text-align:center" %)
750 -[[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]]
751 -
752 -Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
753 -
754 -(% style="text-align:center" %)
755 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228142937-4.png]]
756 -
757 -**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.
758 -
759 -(% style="text-align:center" %)
760 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143047-5.png]]
761 -
762 - **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.
763 -
764 -(% style="text-align:center" %)
765 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143246-6.png]]
766 -
767 -**V-BOX Communication Settings**
768 -
769 -Set PLC IP in [IP Address] settings;
770 -
771 -(% style="text-align:center" %)
772 -[[image:LldwDGntf4.png]]
773 -
774 -Enable V-BOX Ethernet in [Network];
775 -
776 -(% style="text-align:center" %)
777 -[[image:WgvjfWbQif.png]]
778 -
779 -TSAP setting
780 -
781 -* The initialization script needs to set the source TSAP address and the target TSAP address, otherwise the communication will not be successful.
782 -
783 -{{code language="LUA"}}
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
787 -end
788 -{{/code}}
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 -
804 804  = Create communication with **Mitsubishi PLC** =
805 805  
806 806  == **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