Changes for page Siemens

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

From version 27.1
edited by Theodore Xu
on 2023/08/28 10:09
Change comment: There is no comment for this version
To version 16.1
edited by Theodore Xu
on 2023/08/25 15:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,125 +1,41 @@
1 -= **Siemens ** =
1 += {{id name="HSiemens"/}}**Siemens ** =
2 2  
3 3  == **S7-200 Smart Serial** ==
4 4  
5 +== **S7-200 Smart Ethernet ** ==
5 5  
6 -**1)V-BOX setting**
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 7  
9 += **1)V-BOX ** =
10 +
8 8  |**Item**|**Settings**|**Note**
9 -|Protocol|Siemens S7-200 CPU22x/Smart PPI|
10 -|Connection|RS485|
11 -|Baud rate|9600|
12 -|Data bit|8|
13 -|Parity|EVEN|
14 -|Stop bit|1|
15 -|PLC station No.|2
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 16  
17 17  (% style="text-align:center" %)
18 -[[image:西门子200串口.png]]
19 -
20 -**2)Address List **
21 -
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 -**2)V-BOX Protocol:**
70 -
71 -**3)PLC software**
72 -
73 -(% style="text-align:center" %)
74 -[[image:西门子软件版本.png]]
75 -
76 -**4)PLC Software Configuration**
77 -
78 -(% style="text-align:center" %)
79 -[[image:485通讯配置.png]]
80 -
81 -**5)Connect and Download**
82 -
83 -(% style="text-align:center" %)
84 -[[image:以太网 PC和PLC连接.png]]
85 -
86 -(% style="text-align:center" %)
87 -[[image:以太网下载.png]]
88 -
89 -**6)wiring**
90 -
91 -(% style="text-align:center" %)
92 -[[image:485接线.png]]
93 -
94 -== **S7-200 Smart Ethernet ** ==
95 -
96 -(% class="wikigeneratedid" id="H1FF09V-BOX" %)
97 -**1)V-BOX Protocol:Siemens S7-200 Smart(Ethernet)**
98 -
99 -(% style="text-align:center" %)
100 100  [[image:西门子200smart 以太网.png]]
101 101  
102 -**2)PLC software**
20 +**1)PLC software**
103 103  
104 104  (% style="text-align:center" %)
105 105  [[image:西门子软件版本.png]]
106 106  
107 -**3PLC Software Configuration**
25 +**2Ethernet Configuration**
108 108  
109 109  (% style="text-align:center" %)
110 110  [[image:以太网通讯配置.png]]
111 111  
112 -**4)Connect and Download**
30 +**3)Connect PC software**
113 113  
114 114  (% style="text-align:center" %)
115 -[[image:以太网 PC和PLC连接.png]]
116 -
117 -
118 -(% style="text-align:center" %)
119 119  [[image:以太网下载.png]]
120 120  
35 +
121 121  **5)wiring**
122 122  
38 +
123 123  V-Box : RJ45 Ethernet interface
124 124  
125 125  PLC : RJ45 Ethernet interface
... ... @@ -127,6 +127,8 @@
127 127  (% style="text-align:center" %)
128 128  [[image:以太网连接.png]]
129 129  
46 +
47 +
130 130  == {{id name="HS7-300Ethernet"/}}**S7-300 Ethernet ** ==
131 131  
132 132  Supported Series: Siemens S7-300 series PLC
... ... @@ -187,7 +187,7 @@
187 187  
188 188  [[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]]
189 189  
190 -== **S7-XXX Ethernet** ==
108 +== {{id name="HS7-XXXEthernetl"/}}**S7-XXX Ethernet l** ==
191 191  
192 192  Supported Series: Siemens S7-400, S7-1200 and S7-1500
193 193  
... ... @@ -367,7 +367,7 @@
367 367  **function** **init**.main()
368 368   addr_setword("@W_0#HSW1200",8192) //~-~- Set the source TSAP address//
369 369   addr_setword("@W_0#HSW1201",4096) //~-~- Set the destination TSAP address//
370 -**end**
288 + **end**
371 371  
372 372  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.
373 373  
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