From version 13.1
edited by Leo Wei
on 2023/08/24 14:11
on 2023/08/24 14:11
Change comment:
There is no comment for this version
To version 26.1
edited by Theodore Xu
on 2023/08/28 10:06
on 2023/08/28 10:06
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 9 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.AiXia - Content
-
... ... @@ -1,9 +1,120 @@ 1 -= {{id name="HSiemens"/}}**Siemens ** =1 += **Siemens ** = 2 2 3 -== {{id name="HS7-200SmartA0Ethernet"/}}**S7-200 SmartEthernet** ==3 +== **S7-200 Smart Serial** == 4 4 5 - [[downloadlink>>url:https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20S7-200%20Smart.zip]]5 +**1)Address List ** 6 6 7 +|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** 8 +|(% rowspan="9" %)Bit|I|I|I ddddd.o|0.0~~99999.7| 9 +|Q|Q|Q ddddd.o|0.0~~99999.7| 10 +|V|VWbit|VWbit ddddd.o|0.0~~99999.7| 11 +|V|V|V ddddd.o|0.0~~99999.7| 12 +|M|M|M ddddd.o|0.0~~99999.7| 13 +|SM|SM|ddddd.o|0.0~~99999.7| 14 +|S|S|ddddd.o|0.0~~99999.7|Read only 15 +|T|T|ddddd|0~~99999|Timer state, read only 16 +|C|C|ddddd|0~~99999|Counter state, read only 17 +|(% rowspan="12" %)Word|I|IW|IW ddddd|0~~99999| 18 +|Q|QW|QW ddddd|0~~99999| 19 +|AI|AIW|AIW ddddd|0~~99999| 20 +|AQ|VB|VB ddddd|0~~99999| 21 +|V|VW|VW ddddd|0~~99998|((( 22 +VW0=VB (0~~1) 23 + 24 +VW2=VB (2~~3) 25 + 26 +Address value is a multiple of 2 27 +))) 28 +|V|VD|VD ddddd|0~~99998|((( 29 +VD0=VB (0~~3) 30 + 31 +VD2=VB (4~~7) 32 + 33 +Address value is a multiple of 4 34 +))) 35 +|M|MB|MB ddddd|0~~99999| 36 +|M|MW|MW ddddd|0~~99999|((( 37 +MW0=MB(0~~1) 38 + 39 +MW2=MB(2~~3) 40 + 41 +Address value is a multiple of 2 42 +))) 43 +|M|MD|MD ddddd|0~~99999|((( 44 +MD0=MB(0~~3) 45 + 46 +MD4=MB(4~~7) 47 + 48 +Address value is a multiple of 4 49 +))) 50 +|T|TW|TW ddddd|0~~99999|Value of timer 51 +|C|CW|CW ddddd|0~~99999|Value of counter 52 +|W|SW|SW ddddd|0~~99999| 53 + 54 +**2)V-BOX Protocol:Siemens S7-200 CPU22x/Smart PPI** 55 + 56 +(% style="text-align:center" %) 57 +[[image:西门子200串口.png]] 58 + 59 +**3)PLC software** 60 + 61 +(% style="text-align:center" %) 62 +[[image:西门子软件版本.png]] 63 + 64 +**4)PLC Software Configuration** 65 + 66 +(% style="text-align:center" %) 67 +[[image:485通讯配置.png]] 68 + 69 +**5)Connect and Download** 70 + 71 +(% style="text-align:center" %) 72 +[[image:以太网 PC和PLC连接.png]] 73 + 74 +(% style="text-align:center" %) 75 +[[image:以太网下载.png]] 76 + 77 +**6)wiring** 78 + 79 +(% style="text-align:center" %) 80 +[[image:485接线.png]] 81 + 82 +== **S7-200 Smart Ethernet ** == 83 + 84 +(% class="wikigeneratedid" id="H1FF09V-BOX" %) 85 +**1)V-BOX Protocol:Siemens S7-200 Smart(Ethernet)** 86 + 87 +(% style="text-align:center" %) 88 +[[image:西门子200smart 以太网.png]] 89 + 90 +**2)PLC software** 91 + 92 +(% style="text-align:center" %) 93 +[[image:西门子软件版本.png]] 94 + 95 +**3)PLC Software Configuration** 96 + 97 +(% style="text-align:center" %) 98 +[[image:以太网通讯配置.png]] 99 + 100 +**4)Connect and Download** 101 + 102 +(% style="text-align:center" %) 103 +[[image:以太网 PC和PLC连接.png]] 104 + 105 + 106 +(% style="text-align:center" %) 107 +[[image:以太网下载.png]] 108 + 109 +**5)wiring** 110 + 111 +V-Box : RJ45 Ethernet interface 112 + 113 +PLC : RJ45 Ethernet interface 114 + 115 +(% style="text-align:center" %) 116 +[[image:以太网连接.png]] 117 + 7 7 == {{id name="HS7-300Ethernet"/}}**S7-300 Ethernet ** == 8 8 9 9 Supported Series: Siemens S7-300 series PLC ... ... @@ -64,7 +64,7 @@ 64 64 65 65 [[download link>>url:https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communicate%20with%20S7-1200%20via%20Ehernet.zip]] 66 66 67 -== {{id name="HS7-XXXEthernetl"/}}**S7-XXX Ethernetl** ==178 +== **S7-XXX Ethernet** == 68 68 69 69 Supported Series: Siemens S7-400, S7-1200 and S7-1500 70 70 ... ... @@ -244,7 +244,7 @@ 244 244 **function** **init**.main() 245 245 addr_setword("@W_0#HSW1200",8192) //~-~- Set the source TSAP address// 246 246 addr_setword("@W_0#HSW1201",4096) //~-~- Set the destination TSAP address// 247 - 358 +**end** 248 248 249 249 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. 250 250
- 485接线.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +242.2 KB - Content
- 485通讯配置.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +154.4 KB - Content
- 以太网 PC和PLC连接.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +131.3 KB - Content
- 以太网下载.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +102.2 KB - Content
- 以太网连接.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +257.6 KB - Content
- 以太网通讯配置.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +132.2 KB - Content
- 西门子200smart 以太网.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +61.6 KB - Content
- 西门子200串口.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.5 KB - Content
- 西门子软件版本.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +146.3 KB - Content