Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 28 added, 0 removed)
- S7-XXXCommunication Settings.png
- S7-XXXCommunication SettingsPI.png
- S7-XXXCommunication SettingsPIStudio.png
- SiemensLOGODeviceIP.png
- image-20220811170248-1.png
- image-20220811170753-2.png
- image-20220817154212-1.jpeg
- image-20220819093729-1.png
- image-20220819093729-10.png
- image-20220819093729-12.png
- image-20220819093729-15.png
- image-20220819093729-17.png
- image-20220819093729-18.png
- image-20220819093729-2.png
- image-20220819093729-3.png
- image-20220819093729-4 (1).png
- image-20220819093729-4.png
- image-20220819093729-5.png
- image-20220819093729-6.jpeg
- image-20220819093729-7.png
- image-20220819093730-19.png
- image-20220819093730-20.png
- image-20220819101447-3.jpeg
- image-20220819105530-1.png
- image-20220819105630-3.png
- image-20220819105644-4.png
- image-20220819105928-9.png
- image-20220820150853-1.png
Details
- Page properties
-
- Content
-
... ... @@ -85,6 +85,393 @@ 85 85 86 86 Click [OK] button to save settings and close the dialog; 87 87 88 += Create communication with WECON PLC = 89 + 90 + 91 +Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 92 + 93 +**HMI Settings** 94 + 95 +(% class="table-bordered" %) 96 +|**Item**|**Settings**|**Note** 97 +|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM| 98 +|Connection|RS422/RS485| 99 +|Baud rate|9600| 100 +|Data bit|7| 101 +|Parity|EVEN| 102 +|Stop bit|1| 103 +|PLC station No.|1| 104 + 105 +**Address List** 106 + 107 +(% class="table-bordered" %) 108 +|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** 109 +|(% rowspan="6" %)Bit|X|X|Xo|0~~303237| 110 +|Y|Y|Y o|0~~303237| 111 +|M|M|M d|0~~99999| 112 +|T|T|T d|0~~99999| 113 +|C|C|C d|0~~99999| 114 +|S|S|S d|0~~99999| 115 +|(% rowspan="8" %)Word|X|X|Xo|0~~303237| 116 +|Y|Y|Y o|0~~303237| 117 +|M|M|M d|0~~99999| 118 +|T|T|T d|0~~99999| 119 +|C|C|C d|0~~199| 120 +|D|D|D d|0~~7999| 121 +|S|S|S d|0~~99999| 122 +|SD|SD|SD d|8000~~9999| 123 + 124 +**Cable Wiring** 125 + 126 +* **RS485** 127 + 128 +(% style="text-align:center" %) 129 +[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 130 + 131 +* **RS422** 132 + 133 +(% style="text-align:center" %) 134 +[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] 135 + 136 +**✎Note:** 137 + 138 +* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 139 +* If PLC <= 20 points,such as LX3V-1208/LX3V-0806 PLC,PLC RS485A and RS485B mean PLC COM2 RS485+ and RS485- .PLC COM2 can support modbus. Please refer to PLC COM2 setting manual. 140 + 141 +[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 142 + 143 +== HMI settings == 144 + 145 +**Download PIStudio Software** 146 + 147 +Please visit the link below to get the latest version PIstudio for HMI programming: 148 + 149 +* [[Download link>>doc:PIStudio.Download.3 Software.WebHome]] 150 + 151 +**Create a new HMI project connect with PLC** 152 + 153 +Check the link below for the video to show you how to get started with a new project 154 + 155 +* [[Video>>https://youtu.be/0FpmDZe_8U8]] 156 + 157 +For more videos, please visit our Youtube channel: [[http:~~/~~/www.youtube.com/user/Wecon2004/videos>>url:http://www.youtube.com/user/Wecon2004/videos]] 158 + 159 +**General** 160 + 161 +HMI could communicate with PLC and support many PLC protocols. It is easy to operate and set communication parameters. This demo shows how to make a communication with PLC device, use WECON LX3V Series PLC as an example. 162 + 163 +**Protocol settings** 164 + 165 +The communication between two devices requires a protocol. The following contents show the steps of protocol settings. 166 + 167 +Please select the protocol, when creating a new project. 168 + 169 +1. Select the COM port for communication; 170 +1. PLC type: It means PLC brand, like WECON; 171 +1. PLC model: It shows the model of PLC, such as LX3V; 172 + 173 +(% style="text-align:center" %) 174 +[[image:image-20220819093729-1.png]] 175 + 176 +If you want to change the protocol for existing project, please click [Program] → [Communication] to open the [Communication] windows, shown as the following figure. 177 + 178 +(% style="text-align:center" %) 179 +[[image:image-20220819093729-2.png]] 180 + 181 + 182 +The steps to change the protocol for project are as follows. 183 + 184 +1. Click [Setting] to open the [Communication device] window; 185 +1. Select communication port, such as COM1; 186 +1. Select Serial port for communication, such as RS422; 187 +1. Select device type (device brand), such as WECON; 188 +1. Select the protocol for communication, such as WECON LX3V; 189 + 190 +(% style="text-align:center" %) 191 +[[image:image-20220819093729-3.png]] 192 + 193 +**Parameter settings** 194 + 195 +The parameters settings are in [Communication] window, shown as following below. 196 + 197 +1. Click [Setting] to open the [COM port setting] window; 198 +1. Set the parameters such as [connection], [Baud rate] and so on; 199 + 200 +(% style="text-align:center" %) 201 +[[image:image-20220819093729-4.png||height="636" width="818"]] 202 + 203 +(% start="3" %) 204 +1. Click [Setting] to open [Timeout] setting window, you could set the parameters according your requirements, or just use the default value. 205 + 206 +(% style="text-align:center" %) 207 +[[image:image-20220819093729-5.png]] 208 + 209 +**Set PLC address in HMI screen** 210 + 211 +1. Place the objects to HMI screen; 212 +1. Double-click the object to open the setting window; 213 +1. Click “Edit” to open the address setting windows; 214 +1. Connection: select the serial port in HMI; 215 +1. Address type: All the PLC address types will be display in this list, such as M; 216 +1. Address No.: Please input the number of this address, such as 0; 217 + 218 +[[image:image-20220819093729-6.jpeg]] 219 + 220 +**Communication cable** 221 + 222 +In order to ensure the stability of communication, please use the twisted-pair communication cable with good grounding. The following figure shows the pin out definition. 223 + 224 +(% style="text-align:center" %) 225 +[[image:image-20220819093729-7.png]] 226 + 227 +**HMI communication PLC use Modbus ** 228 + 229 +* HMI setting: [[https:~~/~~/docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/>>https://docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/]] 230 +* PLC setting: [[https:~~/~~/docs.we-con.com.cn/bin/view/PLC%20Editor/8.1.%09Communication/>>https://docs.we-con.com.cn/bin/view/PLC%20Editor/8.1.%09Communication/]] 231 + 232 +== PLC settings == 233 + 234 +**Download PLC Software** 235 + 236 +Please visit below link to get the latest version PLC Editor for HMI programming 237 + 238 +* LX3V:[[Download link>>doc:PLC Editor.10 Hardware .Software.WebHome]] 239 +* LX5V:[[Download link>>doc:PLC Editor2.Download.03 Software.WebHome]] 240 + 241 +**Start a new PLC project** 242 + 243 +Start a new PLC project by clicking “New” on the left top corner of screen, select the PLC mode from the drop-down list. 244 + 245 +(% style="text-align:center" %) 246 +[[image:image-20220819101447-3.jpeg]] 247 + 248 + 249 + 250 +**Add a new instruction ** 251 + 252 +Double click on the ladder, select the ladder symbol (instruction) from the drop-down list, then enter the address for this symbol. 253 + 254 +(% style="text-align:center" %) 255 +[[image:image-20220819105530-1.png]] 256 + 257 +You could also select the ladder symbol from the menu bar directly. 258 + 259 +[[image:image-20220819093729-11.png]] 260 + 261 +[[image:image-20220819093729-12.png]] 262 + 263 +**Add comment to PLC program** 264 + 265 +(% style="text-align:center" %) 266 +[[image:image-20220819105630-3.png]] 267 + 268 +**Add the statement to PLC program** 269 + 270 +Add the statement by single click on “Statement”, when finished, single click on “Statement” again to go back to Ladder edit. 271 + 272 +(% style="text-align:center" %) 273 +[[image:image-20220819105644-4.png]] 274 + 275 +**Compile ** 276 + 277 +You need to compile the PLC program before downloading or running Off-line simulator. The background color will be changed from purple to white when there is no error. 278 + 279 +[[image:image-20220819093729-15.png]] 280 + 281 +**Download setting ** 282 + 283 +Click on “Transfer Setup” to select download mode. 284 + 285 +[[image:image-20220820150853-1.png]]**Download PLC program to PLC** 286 + 287 +Quick select the parameters and main program of PLC program, then download to PLC, “Yes”-”Yes”-”OK” 288 + 289 +[[image:image-20220819093729-17.png]] 290 + 291 +**Upload PLC program from PLC** 292 + 293 +Read the PLC program from PLC to computer. 294 + 295 +[[image:image-20220819093729-18.png]] 296 + 297 +**Device monitor** 298 + 299 +Monitor the value of certain address in PLC, double click “Current value” to change the value in this address. 300 + 301 +[[image:image-20220819093730-19.png]] 302 + 303 +**Online monitor** 304 + 305 +Monitor the each address in PLC by online monitor. Changing the state or value in PLC is also allowd. 306 + 307 +[[image:image-20220819093730-20.png]] 308 + 309 +**Monitor edit** 310 + 311 +In this mode, you could edit the PLC program during PLC is running. 312 + 313 + 314 +(% style="text-align:center" %) 315 +[[image:image-20220819105928-9.png||height="229" width="669"]] 316 + 317 += **WECON PLC** = 318 + 319 + 320 + 321 +== **HMI and Wecon LX5V serial communication** == 322 + 323 +This example introduces the establishment of serial port communication between Wecon HMI and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring. 324 + 325 +**Software configuration of PLC** 326 + 327 +**1)PLC programming software** 328 + 329 +[[image:image-20220810164710-1.png]] 330 + 331 +**2)New PLC project** 332 + 333 +Click New Project and select the PLC model. 334 + 335 +[[image:image-20220810172412-1.png]] 336 + 337 + 338 +**3)Set Serial port parameters** 339 + 340 +Follow the steps below to configure Serial port parameters 341 + 342 +Baud rate:115200 343 + 344 +Data bit:8 345 + 346 +Stop bit:1 347 + 348 +Parity:No verification 349 + 350 +[[image:image-20220810165759-3.png]] 351 + 352 + 353 +**4)Registers list** 354 + 355 +[[image:image-20220811102219-3.png]] 356 + 357 + 358 +**HMI software configuration** 359 + 360 +**1)HMI programming software** 361 + 362 + [[image:image-20220810171237-4.png]] 363 + 364 +**2)New HMI project** 365 + 366 +Click New Project and select the HMI model. 367 + 368 +[[image:image-20220810172010-5.png]] 369 + 370 +**3)Set communication port parameters** 371 + 372 +Click the communication configuration button on the left to find the communication protocol with LX5V. After selecting the protocol, configure the communication parameters of the COM port. 373 + 374 +Baud rate:115200 375 + 376 +Data bit:8 377 + 378 +Stop bit:1 379 + 380 +Parity:No verification 381 + 382 + 383 +[[image:image-20220811104012-1.png]] 384 + 385 + 386 +**hardware connection** 387 + 388 +**1)Hardware wiring diagram** 389 + 390 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 391 + 392 +[[image:image-20220811103005-4.png]] 393 + 394 + 395 +[[image:image-20220811103227-7.png]] 396 + 397 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 398 + 399 +== **HMI and Wecon LX5V-N Ethernet communication** == 400 + 401 +(% id="cke_bm_147709S" style="display:none" %) (%%)This example introduces the establishment of Ethernet communication between Wecon HMI and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring. 402 + 403 + 404 +**Software configuration of PLC** 405 + 406 +**1)PLC programming software** 407 + 408 +[[image:image-20220810164710-1.png]] 409 + 410 +**2)New PLC project** 411 + 412 +Click New Project and select the PLC model. 413 + 414 +[[image:image-20220811115454-1.png]] 415 + 416 + 417 +**3)Set Ethernet port parameters** 418 + 419 +Follow the steps below to configure Ethernet parameters 420 + 421 +PLC IP address:192.168.39.200 422 + 423 +default gateway:192.168.39.1 424 + 425 +subnet mask:255.255.255.0 426 + 427 +[[image:image-20220811140530-2.png]] 428 + 429 + 430 +**4)Registers list** 431 + 432 +[[image:image-20220811102219-3.png]] 433 + 434 + 435 +**HMI software configuration** 436 + 437 +**1)HMI programming software** 438 + 439 + [[image:image-20220810171237-4.png]] 440 + 441 +**2)New HMI project** 442 + 443 +Click New Project and select the HMI model. 444 + 445 +[[image:image-20220810172010-5.png]] 446 + 447 +**3)Set communication port parameters** 448 + 449 +Click the project setting button on the left to configure the IP address of the HMI machine to ensure that the HMI and PLC IP remain in a local area network. 450 + 451 +HMI IP address:192.168.39.201 452 + 453 +default gateway:192.168.39.1 454 + 455 +subnet mask:255.255.255.0 456 + 457 +[[image:image-20220811170753-2.png]] 458 + 459 +Next, click Communication Settings to configure the IP of the HMI communication object. 460 + 461 +[[image:image-20220811163047-1.png]] 462 + 463 +**hardware connection** 464 + 465 +**1)Hardware wiring diagram** 466 + 467 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 468 + 469 +[[image:image-20220811170248-1.png]] 470 + 471 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 472 + 473 += = 474 + 88 88 = **Allen-Bradley** = 89 89 90 90 == **FreeTag Ethernet/IP (CompactLogix)** == ... ... @@ -193,7 +193,7 @@ 193 193 * **Word address S:** The word address ranges from 0 to 255 (decimal). 194 194 * **Word address TS:** The address ranges from 000.0 to ffff. The first and second f from left to right represents the block number (hexadecimal); The third and fourth f from left to right represent the word address (hexadecimal). 195 195 196 -**✎Note: **Register address TP, CS, CP, N, F and TS address edit tarehesame. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table.583 +**✎Note: **Register address TP, CS, CP, N, F and TS address edit are same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table. 197 197 198 198 |(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 199 199 |(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15 ... ... @@ -1896,7 +1896,7 @@ 1896 1896 1897 1897 == **LOGO Ethernet** == 1898 1898 1899 -Supported Series: Siemens Logo 2286 +Supported Series: Siemens Logo 0BA0 series 1900 1900 1901 1901 **HMI Settings** 1902 1902 ... ... @@ -1959,9 +1959,8 @@ 1959 1959 Set PLC IP in [Device IP] settings; 1960 1960 1961 1961 (% style="text-align:center" %) 1962 -[[image: 12.PLC Protocol_html_573fc64ad393cd4f.png||data-xwiki-image-style-alignment="center" height="655" width="379" class="img-thumbnail"]]2349 +[[image:SiemensLOGODeviceIP.png]] 1963 1963 1964 - 1965 1965 Enable HMI Ethernet in [Project Settings]; 1966 1966 1967 1967 (% style="text-align:center" %) ... ... @@ -1993,17 +1993,28 @@ 1993 1993 1994 1994 == **S7-XXX Ethernet** == 1995 1995 1996 -Supported Series: Siemens S7-1200 and S7-1500 2382 +Supported Series: Siemens S7-400, S7-1200 and S7-1500 1997 1997 1998 1998 **HMI Setting** 1999 1999 2000 -(% class="table-bordered" %) 2001 -|**Items**|**Settings**|**Note** 2002 -|Protocol|Siemens S7-XXX| 2003 -|Connection|Ethernet| 2004 -|Port No.|102| 2005 -|PLC station No.|1 (for S7-1500)/ 2 (for S7-1200)| 2386 +(% class="table-bordered" style="width:823px" %) 2387 +|=**Items**|=(% style="width: 437px;" %)**Settings**|=(% style="width: 201px;" %)**Note** 2388 +|Protocol|(% style="width:437px" %)Siemens S7-XXX|(% style="width:201px" %) 2389 +|Connection|(% style="width:437px" %)Ethernet|(% style="width:201px" %) 2390 +|Port No.|(% style="width:437px" %)102|(% style="width:201px" %) 2391 +|Device No.|(% style="width:437px" %)Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)|(% style="width:201px" %) 2392 +|HMI No.|(% style="width:437px" %)Rack (Default as 0)|(% style="width:201px" %) 2006 2006 2394 +Slot from TIA Portal is equal to Device No. of PIStudio 2395 + 2396 +Rack from TIA Portal is equal to HMI No. of PIStudio 2397 + 2398 +(% style="text-align:center" %) 2399 +[[image:S7-XXXCommunication Settings.png]] 2400 + 2401 +(% style="text-align:center" %) 2402 +[[image:S7-XXXCommunication SettingsPIStudio.png||alt="S7-XXXCommunication SettingsPI.png"]] 2403 + 2007 2007 **Address List** 2008 2008 2009 2009 (% class="table-bordered" %) ... ... @@ -2253,63 +2253,8 @@ 2253 2253 2254 2254 **✎Note:** COM3 only available in PI8000/PI9000 series. 2255 2255 2256 -= **WECONPLC**=2653 += = 2257 2257 2258 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 2259 - 2260 -**HMI Settings** 2261 - 2262 -(% class="table-bordered" %) 2263 -|**Item**|**Settings**|**Note** 2264 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM| 2265 -|Connection|RS422/RS485| 2266 -|Baud rate|9600| 2267 -|Data bit|7| 2268 -|Parity|EVEN| 2269 -|Stop bit|1| 2270 -|PLC station No.|1| 2271 - 2272 -**Address List** 2273 - 2274 -(% class="table-bordered" %) 2275 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** 2276 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237| 2277 -|Y|Y|Y o|0~~303237| 2278 -|M|M|M d|0~~99999| 2279 -|T|T|T d|0~~99999| 2280 -|C|C|C d|0~~99999| 2281 -|S|S|S d|0~~99999| 2282 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237| 2283 -|Y|Y|Y o|0~~303237| 2284 -|M|M|M d|0~~99999| 2285 -|T|T|T d|0~~99999| 2286 -|C|C|C d|0~~199| 2287 -|D|D|D d|0~~7999| 2288 -|S|S|S d|0~~99999| 2289 -|SD|SD|SD d|8000~~9999| 2290 - 2291 -**Cable Wiring** 2292 - 2293 -* **RS485** 2294 - 2295 -(% style="text-align:center" %) 2296 -[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] 2297 - 2298 -(% style="text-align:center" %) 2299 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2300 - 2301 -* **RS422** 2302 - 2303 -(% style="text-align:center" %) 2304 -[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] 2305 - 2306 -**✎Note:** 2307 - 2308 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 2309 -* If PLC <= 20 points,such as LX3V-1208/LX3V-0806 PLC,PLC RS485A and RS485B mean PLC COM2 RS485+ and RS485- .PLC COM2 can support modbus. Please refer to PLC COM2 setting manual. 2310 - 2311 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 2312 - 2313 2313 = **Printer** = 2314 2314 2315 2315 == **TSPL label printer** == ... ... @@ -2478,158 +2478,35 @@ 2478 2478 **✎Note:** COM3 only available in PI8000/PI9000 series. 2479 2479 2480 2480 2481 -= =**1 HMI and WeconLX5V serialcommunication** ==2823 += **Schneider MODBUS RTU** = 2482 2482 2483 - This example introduces the establishment of serial port communication between WeconHMIand LX5V. It is introducedthroughthree parts: PLC software configuration, HMI software configuration, and hardware wiring.2825 +**HMI Setting** 2484 2484 2827 +|=**Parameters**|=**Recommended**|=**Notes** 2828 +|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU| 2829 +|Connection|RS485| 2830 +|**Baud rate**|19200| 2831 +|**Data bit**|8| 2832 +|**Parity**|Even| 2833 +|**Stop bit**|1| 2834 +|**PLC station No.**|1| 2485 2485 2486 -**S oftwareconfigurationof PLC**2836 +**PLC Setting** 2487 2487 2488 - **1)PLCprogrammingsoftware**2838 +|=(% scope="row" %)**Communication mode**|Modbus RTU protocol 2489 2489 2490 - [[image:image-20220810164710-1.png]]2840 +**Device Address** 2491 2491 2492 -**2)New PLC project** 2842 +|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo** 2843 +|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only) 2844 +|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils 2845 +|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal) 2846 +|W|MW|DDDDDD|0 ~~ 999999|Output register 2847 +|DW|MD|DDDDDD|0 ~~ 999999|Output register 2493 2493 2494 - Click New Project andselect the PLCmodel.2849 +**Wiring Diagram** 2495 2495 2496 - [[image:image-20220810172412-1.png]]2851 +**RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector. 2497 2497 2498 - 2499 -**3)Set Serial port parameters** 2500 - 2501 -Follow the steps below to configure Serial port parameters 2502 - 2503 -Baud rate:115200 2504 - 2505 -Data bit:8 2506 - 2507 -Stop bit:1 2508 - 2509 -Parity:No verification 2510 - 2511 -[[image:image-20220810165759-3.png]] 2512 - 2513 - 2514 -**4)Registers list** 2515 - 2516 -[[image:image-20220811102219-3.png]] 2517 - 2518 - 2519 -**HMI software configuration** 2520 - 2521 -**1)HMI programming software** 2522 - 2523 - [[image:image-20220810171237-4.png]] 2524 - 2525 -**2)New HMI project** 2526 - 2527 -Click New Project and select the HMI model. 2528 - 2529 -[[image:image-20220810172010-5.png]] 2530 - 2531 -**3)Set communication port parameters** 2532 - 2533 -Click the communication configuration button on the left to find the communication protocol with LX5V. After selecting the protocol, configure the communication parameters of the COM port. 2534 - 2535 -Baud rate:115200 2536 - 2537 -Data bit:8 2538 - 2539 -Stop bit:1 2540 - 2541 -Parity:No verification 2542 - 2543 - 2544 -[[image:image-20220811104012-1.png]] 2545 - 2546 - 2547 -**hardware connection** 2548 - 2549 -**1)Hardware wiring diagram** 2550 - 2551 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 2552 - 2553 -[[image:image-20220811103005-4.png]] 2554 - 2555 - 2556 -[[image:image-20220811103227-7.png]] 2557 - 2558 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 2559 - 2560 - 2561 -== **2. HMI and Wecon LX5V-N Ethernet communication** == 2562 - 2563 -(% id="cke_bm_147709S" style="display:none" %) (%%)This example introduces the establishment of Ethernet communication between Wecon HMI and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring. 2564 - 2565 - 2566 -**Software configuration of PLC** 2567 - 2568 -**1)PLC programming software** 2569 - 2570 -[[image:image-20220810164710-1.png]] 2571 - 2572 -**2)New PLC project** 2573 - 2574 -Click New Project and select the PLC model. 2575 - 2576 -[[image:image-20220811115454-1.png]] 2577 - 2578 - 2579 -**3)Set Ethernet port parameters** 2580 - 2581 -Follow the steps below to configure Ethernet parameters 2582 - 2583 -PLC IP address:192.168.39.200 2584 - 2585 -default gateway:192.168.39.1 2586 - 2587 -subnet mask:255.255.255.0 2588 - 2589 -[[image:image-20220811140530-2.png]] 2590 - 2591 - 2592 -**4)Registers list** 2593 - 2594 -[[image:image-20220811102219-3.png]] 2595 - 2596 - 2597 -**HMI software configuration** 2598 - 2599 -**1)HMI programming software** 2600 - 2601 - [[image:image-20220810171237-4.png]] 2602 - 2603 -**2)New HMI project** 2604 - 2605 -Click New Project and select the HMI model. 2606 - 2607 -[[image:image-20220810172010-5.png]] 2608 - 2609 -**3)Set communication port parameters** 2610 - 2611 -Click the project setting button on the left to configure the IP address of the HMI machine, and maintain a local area network with the PLC IP. 2612 - 2613 -PLC IP address:192.168.39.201 2614 - 2615 -default gateway:192.168.39.1 2616 - 2617 -subnet mask:255.255.255.0 2618 - 2619 -[[image:image-20220811163943-2.png]] 2620 - 2621 -Next, click Communication Settings to configure the IP of the HMI communication object. 2622 - 2623 - 2624 -[[image:image-20220811163047-1.png]] 2625 - 2626 -**hardware connection** 2627 - 2628 -**1)Hardware wiring diagram** 2629 - 2630 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 2631 - 2632 - 2633 - 2634 - 2635 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 2853 +(% style="text-align:center" %) 2854 +[[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]]
- S7-XXXCommunication Settings.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +32.6 KB - Content
- S7-XXXCommunication SettingsPI.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.6 KB - Content
- S7-XXXCommunication SettingsPIStudio.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.9 KB - Content
- SiemensLOGODeviceIP.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.9 KB - Content
- image-20220811170248-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Ben - Size
-
... ... @@ -1,0 +1,1 @@ 1 +91.7 KB - Content
- image-20220811170753-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Ben - Size
-
... ... @@ -1,0 +1,1 @@ 1 +154.4 KB - Content
- image-20220817154212-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +51.8 KB - Content
- image-20220819093729-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +10.3 KB - Content
- image-20220819093729-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +79.4 KB - Content
- image-20220819093729-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +147.9 KB - Content
- image-20220819093729-15.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +74.6 KB - Content
- image-20220819093729-17.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +115.0 KB - Content
- image-20220819093729-18.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +112.1 KB - Content
- image-20220819093729-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.1 KB - Content
- image-20220819093729-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.2 KB - Content
- image-20220819093729-4 (1).png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.4 KB - Content
- image-20220819093729-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.4 KB - Content
- image-20220819093729-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.6 KB - Content
- image-20220819093729-6.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +100.2 KB - Content
- image-20220819093729-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +46.9 KB - Content
- image-20220819093730-19.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +122.5 KB - Content
- image-20220819093730-20.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +99.6 KB - Content
- image-20220819101447-3.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +56.6 KB - Content
- image-20220819105530-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.0 MB - Content
- image-20220819105630-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.1 MB - Content
- image-20220819105644-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +942.6 KB - Content
- image-20220819105928-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +72.6 KB - Content
- image-20220820150853-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +171.7 KB - Content