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 17.1
edited by Theodore Xu
on 2023/08/25 15:50
on 2023/08/25 15:50
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,14 +6,9 @@ 6 6 7 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]] 8 8 9 -= **1)V-BOX ** = 9 +(% class="wikigeneratedid" id="H1FF09V-BOX" %) 10 +**1)V-BOX ** 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| 16 - 17 17 (% style="text-align:center" %) 18 18 [[image:西门子200smart 以太网.png]] 19 19 ... ... @@ -43,7 +43,6 @@ 43 43 (% style="text-align:center" %) 44 44 [[image:以太网连接.png]] 45 45 46 - 47 47 48 48 == {{id name="HS7-300Ethernet"/}}**S7-300 Ethernet ** == 49 49 ... ... @@ -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 - 282 +**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