From version 18.1
edited by Theodore Xu
on 2023/08/25 15:51
on 2023/08/25 15:51
Change comment:
There is no comment for this version
To 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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,23 +6,28 @@ 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 -(% class="wikigeneratedid" id="H1FF09V-BOX" %) 10 -**1)V-BOX ** 9 += **1)V-BOX ** = 11 11 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 + 12 12 (% style="text-align:center" %) 13 13 [[image:西门子200smart 以太网.png]] 14 14 15 -** 2)PLC software**20 +**1)PLC software** 16 16 17 17 (% style="text-align:center" %) 18 18 [[image:西门子软件版本.png]] 19 19 20 -** 3)Ethernet Configuration**25 +**2)Ethernet Configuration** 21 21 22 22 (% style="text-align:center" %) 23 23 [[image:以太网通讯配置.png]] 24 24 25 -** 4)Connect PC software**30 +**3)Connect PC software** 26 26 27 27 (% style="text-align:center" %) 28 28 [[image:以太网下载.png]] ... ... @@ -30,6 +30,7 @@ 30 30 31 31 **5)wiring** 32 32 38 + 33 33 V-Box : RJ45 Ethernet interface 34 34 35 35 PLC : RJ45 Ethernet interface ... ... @@ -37,6 +37,8 @@ 37 37 (% style="text-align:center" %) 38 38 [[image:以太网连接.png]] 39 39 46 + 47 + 40 40 == {{id name="HS7-300Ethernet"/}}**S7-300 Ethernet ** == 41 41 42 42 Supported Series: Siemens S7-300 series PLC ... ... @@ -277,7 +277,7 @@ 277 277 **function** **init**.main() 278 278 addr_setword("@W_0#HSW1200",8192) //~-~- Set the source TSAP address// 279 279 addr_setword("@W_0#HSW1201",4096) //~-~- Set the destination TSAP address// 280 -**end** 288 + **end** 281 281 282 282 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. 283 283