Changes for page Siemens

Last modified by Joe on 2024/08/30 14:46

From version 33.1
edited by Theodore Xu
on 2023/09/12 10:55
Change comment: There is no comment for this version
To version 15.1
edited by Theodore Xu
on 2023/08/25 15:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,122 +1,32 @@
1 -= **Siemens ** =
1 += {{id name="HSiemens"/}}**Siemens ** =
2 2  
3 -== **S7-200 Smart Serial** ==
3 +== **S7-200 Smart Ethernet ** ==
4 4  
5 -**V-BOX setting**
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]]
6 6  
7 -(% style="width:1323.87px" %)
8 -|Protocol|(% style="width:783px" %)Siemens S7-200 CPU22x/Smart PPI
9 -|Connection|(% style="width:783px" %)RS485
10 -|Baud rate|(% style="width:783px" %)9600
11 -|Data bit|(% style="width:783px" %)8
12 -|Parity|(% style="width:783px" %)EVEN
13 -|Stop bit|(% style="width:783px" %)1
14 -|PLC station No.|(% style="width:783px" %)2
7 +**1)PLC software**
15 15  
16 16  (% style="text-align:center" %)
17 -[[image:西门子200串口.png]]
10 +[[image:西门子软件版本.png]]
18 18  
19 -**Address List **
12 +**2)Ethernet Configuration**
20 20  
21 -|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note**
22 -|(% rowspan="9" %)Bit|I|I|I ddddd.o|0.0~~99999.7|
23 -|Q|Q|Q ddddd.o|0.0~~99999.7|
24 -|V|VWbit|VWbit ddddd.o|0.0~~99999.7|
25 -|V|V|V ddddd.o|0.0~~99999.7|
26 -|M|M|M ddddd.o|0.0~~99999.7|
27 -|SM|SM|ddddd.o|0.0~~99999.7|
28 -|S|S|ddddd.o|0.0~~99999.7|Read only
29 -|T|T|ddddd|0~~99999|Timer state, read only
30 -|C|C|ddddd|0~~99999|Counter state, read only
31 -|(% rowspan="12" %)Word|I|IW|IW ddddd|0~~99999|
32 -|Q|QW|QW ddddd|0~~99999|
33 -|AI|AIW|AIW ddddd|0~~99999|
34 -|AQ|VB|VB ddddd|0~~99999|
35 -|V|VW|VW ddddd|0~~99998|(((
36 -VW0=VB (0~~1)
37 -
38 -VW2=VB (2~~3)
39 -
40 -Address value is a multiple of 2
41 -)))
42 -|V|VD|VD ddddd|0~~99998|(((
43 -VD0=VB (0~~3)
44 -
45 -VD2=VB (4~~7)
46 -
47 -Address value is a multiple of 4
48 -)))
49 -|M|MB|MB ddddd|0~~99999|
50 -|M|MW|MW ddddd|0~~99999|(((
51 -MW0=MB(0~~1)
52 -
53 -MW2=MB(2~~3)
54 -
55 -Address value is a multiple of 2
56 -)))
57 -|M|MD|MD ddddd|0~~99999|(((
58 -MD0=MB(0~~3)
59 -
60 -MD4=MB(4~~7)
61 -
62 -Address value is a multiple of 4
63 -)))
64 -|T|TW|TW ddddd|0~~99999|Value of timer
65 -|C|CW|CW ddddd|0~~99999|Value of counter
66 -|W|SW|SW ddddd|0~~99999|
67 -
68 -**PLC setting**
69 -
70 70  (% style="text-align:center" %)
71 -[[image:西门子软件版本.png]]
15 +[[image:以太网通讯配置.png]]
72 72  
73 -(% style="text-align:center" %)
74 -[[image:485通讯配置.png]]
17 +**3)Connect PC software**
75 75  
76 -**Connect and Download**
77 -
78 78  (% style="text-align:center" %)
79 -[[image:以太网 PC和PLC连接.png]]
80 -
81 -(% style="text-align:center" %)
82 82  [[image:以太网下载.png]]
83 83  
84 -**Cable Wiring**
22 +**4)Configure of V-net**
85 85  
86 86  (% style="text-align:center" %)
87 -[[image:485接线.png]]
88 -
89 -== **S7-200 Smart Ethernet ** ==
90 -
91 -**V-BOX setting**
92 -
93 -|**Items**|**Settings**|**Note**
94 -|Protocol|Siemens S7-200 Smart(Ethernet)|
95 -|Connection|Ethernet|
96 -|Port No.|102|
97 -|PLC station No.|2|
98 -
99 -(% style="text-align:center" %)
100 100  [[image:西门子200smart 以太网.png]]
101 101  
102 -**PLC setting**
27 +**5)wiring**
103 103  
104 -(% style="text-align:center" %)
105 -[[image:西门子软件版本.png]]
106 106  
107 -(% style="text-align:center" %)
108 -[[image:以太网通讯配置.png]]
109 -
110 -**Connect and Download**
111 -
112 -(% style="text-align:center" %)
113 -[[image:以太网 PC和PLC连接.png]]
114 -
115 -(% style="text-align:center" %)
116 -[[image:以太网下载.png]]
117 -
118 -**Cable Wiring**
119 -
120 120  V-Box : RJ45 Ethernet interface
121 121  
122 122  PLC : RJ45 Ethernet interface
... ... @@ -124,6 +124,8 @@
124 124  (% style="text-align:center" %)
125 125  [[image:以太网连接.png]]
126 126  
37 +
38 +
127 127  == {{id name="HS7-300Ethernet"/}}**S7-300 Ethernet ** ==
128 128  
129 129  Supported Series: Siemens S7-300 series PLC
... ... @@ -184,7 +184,7 @@
184 184  
185 185  [[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]]
186 186  
187 -== **S7-XXX Ethernet** ==
99 +== {{id name="HS7-XXXEthernetl"/}}**S7-XXX Ethernet l** ==
188 188  
189 189  Supported Series: Siemens S7-400, S7-1200 and S7-1500
190 190  
... ... @@ -364,7 +364,7 @@
364 364  **function** **init**.main()
365 365   addr_setword("@W_0#HSW1200",8192) //~-~- Set the source TSAP address//
366 366   addr_setword("@W_0#HSW1201",4096) //~-~- Set the destination TSAP address//
367 -**end**
279 + **end**
368 368  
369 369  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.
370 370  
485接线.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.AiXia
Size
... ... @@ -1,1 +1,0 @@
1 -242.2 KB
Content
485通讯配置.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.AiXia
Size
... ... @@ -1,1 +1,0 @@
1 -154.4 KB
Content
以太网 PC和PLC连接.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.AiXia
Size
... ... @@ -1,1 +1,0 @@
1 -131.3 KB
Content
西门子200串口.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.AiXia
Size
... ... @@ -1,1 +1,0 @@
1 -64.5 KB
Content