From version 16.1
edited by Theodore Xu
on 2023/08/25 15:46
on 2023/08/25 15:46
Change comment:
There is no comment for this version
To version 36.1
edited by Theodore Xu
on 2023/09/12 10:56
on 2023/09/12 10:56
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,41 +1,123 @@ 1 -= {{id name="HSiemens"/}}**Siemens ** =1 += **Siemens ** = 2 2 3 3 == **S7-200 Smart Serial** == 4 4 5 - ==**S7-200SmartEthernet**==5 +**V-BOX setting** 6 6 7 -[[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/Communication%20with%20S7-200%20Smart.zip]] 7 +(% style="width:1323.87px" %) 8 +|**Items**|**Settings** 9 +|Protocol|(% style="width:783px" %)Siemens S7-200 CPU22x/Smart PPI 10 +|Connection|(% style="width:783px" %)RS485 11 +|Baud rate|(% style="width:783px" %)9600 12 +|Data bit|(% style="width:783px" %)8 13 +|Parity|(% style="width:783px" %)EVEN 14 +|Stop bit|(% style="width:783px" %)1 15 +|PLC station No.|(% style="width:783px" %)2 8 8 9 -= **1)V-BOX ** = 17 +(% style="text-align:center" %) 18 +[[image:西门子200串口.png]] 10 10 11 -|**Item**|**Settings**|**Note** 12 -|Protocol|Siemens S7-200 Smart(Ethemet)| 13 -|Connection|Ethernet| 14 -|Port No.|5002|Must be the same as the PLC setting 15 -|PLC station No.|0| 20 +**Address List ** 16 16 22 +|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note** 23 +|(% rowspan="9" %)Bit|I|I|I ddddd.o|0.0~~99999.7| 24 +|Q|Q|Q ddddd.o|0.0~~99999.7| 25 +|V|VWbit|VWbit ddddd.o|0.0~~99999.7| 26 +|V|V|V ddddd.o|0.0~~99999.7| 27 +|M|M|M ddddd.o|0.0~~99999.7| 28 +|SM|SM|ddddd.o|0.0~~99999.7| 29 +|S|S|ddddd.o|0.0~~99999.7|Read only 30 +|T|T|ddddd|0~~99999|Timer state, read only 31 +|C|C|ddddd|0~~99999|Counter state, read only 32 +|(% rowspan="12" %)Word|I|IW|IW ddddd|0~~99999| 33 +|Q|QW|QW ddddd|0~~99999| 34 +|AI|AIW|AIW ddddd|0~~99999| 35 +|AQ|VB|VB ddddd|0~~99999| 36 +|V|VW|VW ddddd|0~~99998|((( 37 +VW0=VB (0~~1) 38 + 39 +VW2=VB (2~~3) 40 + 41 +Address value is a multiple of 2 42 +))) 43 +|V|VD|VD ddddd|0~~99998|((( 44 +VD0=VB (0~~3) 45 + 46 +VD2=VB (4~~7) 47 + 48 +Address value is a multiple of 4 49 +))) 50 +|M|MB|MB ddddd|0~~99999| 51 +|M|MW|MW ddddd|0~~99999|((( 52 +MW0=MB(0~~1) 53 + 54 +MW2=MB(2~~3) 55 + 56 +Address value is a multiple of 2 57 +))) 58 +|M|MD|MD ddddd|0~~99999|((( 59 +MD0=MB(0~~3) 60 + 61 +MD4=MB(4~~7) 62 + 63 +Address value is a multiple of 4 64 +))) 65 +|T|TW|TW ddddd|0~~99999|Value of timer 66 +|C|CW|CW ddddd|0~~99999|Value of counter 67 +|W|SW|SW ddddd|0~~99999| 68 + 69 +**PLC setting** 70 + 17 17 (% style="text-align:center" %) 72 +[[image:西门子软件版本.png]] 73 + 74 +(% style="text-align:center" %) 75 +[[image:485通讯配置.png]] 76 + 77 +**Connect and Download** 78 + 79 +(% style="text-align:center" %) 80 +[[image:以太网 PC和PLC连接.png]] 81 + 82 +(% style="text-align:center" %) 83 +[[image:以太网下载.png]] 84 + 85 +**Cable Wiring** 86 + 87 +(% style="text-align:center" %) 88 +[[image:485接线.png]] 89 + 90 +== **S7-200 Smart Ethernet ** == 91 + 92 +**V-BOX setting** 93 + 94 +|**Items**|**Settings** 95 +|Protocol|Siemens S7-200 Smart(Ethernet) 96 +|Connection|Ethernet 97 +|Port No.|102 98 +|PLC station No.|2 99 + 100 +(% style="text-align:center" %) 18 18 [[image:西门子200smart 以太网.png]] 19 19 20 -** 1)PLC software**103 +**PLC setting** 21 21 22 22 (% style="text-align:center" %) 23 23 [[image:西门子软件版本.png]] 24 24 25 -**2)Ethernet Configuration** 26 - 27 27 (% style="text-align:center" %) 28 28 [[image:以太网通讯配置.png]] 29 29 30 -** 3)ConnectPCsoftware**111 +**Connect and Download** 31 31 32 32 (% style="text-align:center" %) 114 +[[image:以太网 PC和PLC连接.png]] 115 + 116 +(% style="text-align:center" %) 33 33 [[image:以太网下载.png]] 34 34 119 +**Cable Wiring** 35 35 36 -**5)wiring** 37 - 38 - 39 39 V-Box : RJ45 Ethernet interface 40 40 41 41 PLC : RJ45 Ethernet interface ... ... @@ -43,8 +43,6 @@ 43 43 (% style="text-align:center" %) 44 44 [[image:以太网连接.png]] 45 45 46 - 47 - 48 48 == {{id name="HS7-300Ethernet"/}}**S7-300 Ethernet ** == 49 49 50 50 Supported Series: Siemens S7-300 series PLC ... ... @@ -105,7 +105,7 @@ 105 105 106 106 [[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]] 107 107 108 -== {{id name="HS7-XXXEthernetl"/}}**S7-XXX Ethernetl** ==188 +== **S7-XXX Ethernet** == 109 109 110 110 Supported Series: Siemens S7-400, S7-1200 and S7-1500 111 111 ... ... @@ -285,7 +285,7 @@ 285 285 **function** **init**.main() 286 286 addr_setword("@W_0#HSW1200",8192) //~-~- Set the source TSAP address// 287 287 addr_setword("@W_0#HSW1201",4096) //~-~- Set the destination TSAP address// 288 - 368 +**end** 289 289 290 290 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. 291 291
- 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
- 西门子200串口.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AiXia - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.5 KB - Content