... |
... |
@@ -1,9 +1,71 @@ |
1 |
1 |
= {{id name="HSiemens"/}}**Siemens ** = |
2 |
2 |
|
3 |
|
-== {{id name="HS7-200SmartA0Ethernet"/}}**S7-200 Smart Ethernet ** == |
|
3 |
+== **S7-200 Smart Serial** == |
4 |
4 |
|
5 |
|
-[[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]] |
|
5 |
+**1)V-BOX Protocol:Siemens S7-200 CPU22x/Smart PPI** |
6 |
6 |
|
|
7 |
+(% style="text-align:center" %) |
|
8 |
+[[image:西门子200串口.png]] |
|
9 |
+ |
|
10 |
+**2)PLC software** |
|
11 |
+ |
|
12 |
+(% style="text-align:center" %) |
|
13 |
+[[image:西门子软件版本.png]] |
|
14 |
+ |
|
15 |
+**3)PLC Software Configuration** |
|
16 |
+ |
|
17 |
+(% style="text-align:center" %) |
|
18 |
+[[image:485通讯配置.png]] |
|
19 |
+ |
|
20 |
+**4)Connect and Download** |
|
21 |
+ |
|
22 |
+(% style="text-align:center" %) |
|
23 |
+[[image:以太网 PC和PLC连接.png]] |
|
24 |
+ |
|
25 |
+(% style="text-align:center" %) |
|
26 |
+[[image:以太网下载.png]] |
|
27 |
+ |
|
28 |
+**5)wiring** |
|
29 |
+ |
|
30 |
+(% style="text-align:center" %) |
|
31 |
+[[image:485接线.png]] |
|
32 |
+ |
|
33 |
+== **S7-200 Smart Ethernet ** == |
|
34 |
+ |
|
35 |
+(% class="wikigeneratedid" id="H1FF09V-BOX" %) |
|
36 |
+**1)V-BOX Protocol:Siemens S7-200 Smart(Ethernet)** |
|
37 |
+ |
|
38 |
+(% style="text-align:center" %) |
|
39 |
+[[image:西门子200smart 以太网.png]] |
|
40 |
+ |
|
41 |
+**2)PLC software** |
|
42 |
+ |
|
43 |
+(% style="text-align:center" %) |
|
44 |
+[[image:西门子软件版本.png]] |
|
45 |
+ |
|
46 |
+**3)PLC Software Configuration** |
|
47 |
+ |
|
48 |
+(% style="text-align:center" %) |
|
49 |
+[[image:以太网通讯配置.png]] |
|
50 |
+ |
|
51 |
+**4)Connect and Download** |
|
52 |
+ |
|
53 |
+(% style="text-align:center" %) |
|
54 |
+[[image:以太网 PC和PLC连接.png]] |
|
55 |
+ |
|
56 |
+ |
|
57 |
+(% style="text-align:center" %) |
|
58 |
+[[image:以太网下载.png]] |
|
59 |
+ |
|
60 |
+**5)wiring** |
|
61 |
+ |
|
62 |
+V-Box : RJ45 Ethernet interface |
|
63 |
+ |
|
64 |
+PLC : RJ45 Ethernet interface |
|
65 |
+ |
|
66 |
+(% style="text-align:center" %) |
|
67 |
+[[image:以太网连接.png]] |
|
68 |
+ |
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 Ethernet l** == |
|
129 |
+== **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 |
|
- **end** |
|
309 |
+**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 |
|