Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 24 added, 0 removed)
- S7-XXXCommunication SettingsPIStudio.png
- SiemensLOGODeviceIP.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
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.Ben - Content
-
... ... @@ -85,6 +85,390 @@ 85 85 86 86 Click [OK] button to save settings and close the dialog; 87 87 88 += Create communication with WECON PLC = 89 + 90 +== **LX3V Serial Protocol** == 91 + 92 +Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 93 + 94 +**HMI Settings** 95 + 96 +(% class="table-bordered" %) 97 +|**Item**|**Settings**|**Note** 98 +|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM| 99 +|Connection|RS422/RS485| 100 +|Baud rate|9600| 101 +|Data bit|7| 102 +|Parity|EVEN| 103 +|Stop bit|1| 104 +|PLC station No.|1| 105 + 106 +**Address List** 107 + 108 +(% class="table-bordered" %) 109 +|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** 110 +|(% rowspan="6" %)Bit|X|X|Xo|0~~303237| 111 +|Y|Y|Y o|0~~303237| 112 +|M|M|M d|0~~99999| 113 +|T|T|T d|0~~99999| 114 +|C|C|C d|0~~99999| 115 +|S|S|S d|0~~99999| 116 +|(% rowspan="8" %)Word|X|X|Xo|0~~303237| 117 +|Y|Y|Y o|0~~303237| 118 +|M|M|M d|0~~99999| 119 +|T|T|T d|0~~99999| 120 +|C|C|C d|0~~199| 121 +|D|D|D d|0~~7999| 122 +|S|S|S d|0~~99999| 123 +|SD|SD|SD d|8000~~9999| 124 + 125 +**Cable Wiring** 126 + 127 +* **RS485** 128 + 129 +(% style="text-align:center" %) 130 +[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 131 + 132 +* **RS422** 133 + 134 +(% style="text-align:center" %) 135 +[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] 136 + 137 +**✎Note:** 138 + 139 +* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 140 +* 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. 141 + 142 +[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 143 + 144 +== HMI settings == 145 + 146 +**Download PIStudio Software** 147 + 148 +Please visit the link below to get the latest version PIstudio for HMI programming: 149 + 150 +* [[Download link>>doc:PIStudio.Download.3 Software.WebHome]] 151 + 152 +**Create a new HMI project connect with PLC** 153 + 154 +Check the link below for the video to show you how to get started with a new project 155 + 156 +* [[Video>>https://youtu.be/0FpmDZe_8U8]] 157 + 158 +For more videos, please visit our Youtube channel: [[http:~~/~~/www.youtube.com/user/Wecon2004/videos>>url:http://www.youtube.com/user/Wecon2004/videos]] 159 + 160 +**General** 161 + 162 +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. 163 + 164 +**Protocol settings** 165 + 166 +The communication between two devices requires a protocol. The following contents show the steps of protocol settings. 167 + 168 +Please select the protocol, when creating a new project. 169 + 170 +1. Select the COM port for communication; 171 +1. PLC type: It means PLC brand, like WECON; 172 +1. PLC model: It shows the model of PLC, such as LX3V; 173 + 174 +(% style="text-align:center" %) 175 +[[image:image-20220819093729-1.png]] 176 + 177 +If you want to change the protocol for existing project, please click [Program] → [Communication] to open the [Communication] windows, shown as the following figure. 178 + 179 +(% style="text-align:center" %) 180 +[[image:image-20220819093729-2.png]] 181 + 182 + 183 +The steps to change the protocol for project are as follows. 184 + 185 +1. Click [Setting] to open the [Communication device] window; 186 +1. Select communication port, such as COM1; 187 +1. Select Serial port for communication, such as RS422; 188 +1. Select device type (device brand), such as WECON; 189 +1. Select the protocol for communication, such as WECON LX3V; 190 + 191 +(% style="text-align:center" %) 192 +[[image:image-20220819093729-3.png]] 193 + 194 +**Parameter settings** 195 + 196 +The parameters settings are in [Communication] window, shown as following below. 197 + 198 +1. Click [Setting] to open the [COM port setting] window; 199 +1. Set the parameters such as [connection], [Baud rate] and so on; 200 + 201 +(% style="text-align:center" %) 202 +[[image:image-20220819093729-4.png||height="636" width="818"]] 203 + 204 +(% start="3" %) 205 +1. Click [Setting] to open [Timeout] setting window, you could set the parameters according your requirements, or just use the default value. 206 + 207 +(% style="text-align:center" %) 208 +[[image:image-20220819093729-5.png]] 209 + 210 +**Set PLC address in HMI screen** 211 + 212 +1. Place the objects to HMI screen; 213 +1. Double-click the object to open the setting window; 214 +1. Click “Edit” to open the address setting windows; 215 +1. Connection: select the serial port in HMI; 216 +1. Address type: All the PLC address types will be display in this list, such as M; 217 +1. Address No.: Please input the number of this address, such as 0; 218 + 219 +[[image:image-20220819093729-6.jpeg]] 220 + 221 +**Communication cable** 222 + 223 +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. 224 + 225 +(% style="text-align:center" %) 226 +[[image:image-20220819093729-7.png]] 227 + 228 +**HMI communication PLC use Modbus ** 229 + 230 +* 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/]] 231 +* 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/]] 232 + 233 +== PLC settings == 234 + 235 +**Download PLC Software** 236 + 237 +Please visit below link to get the latest version PLC Editor for HMI programming 238 + 239 +* LX3V:[[Download link>>doc:PLC Editor.10 Hardware .Software.WebHome]] 240 +* LX5V:[[Download link>>doc:PLC Editor2.Download.03 Software.WebHome]] 241 + 242 +**Start a new PLC project** 243 + 244 +Start a new PLC project by clicking “New” on the left top corner of screen, select the PLC mode from the drop-down list. 245 + 246 +(% style="text-align:center" %) 247 +[[image:image-20220819101447-3.jpeg]] 248 + 249 + 250 + 251 +**Add a new instruction ** 252 + 253 +Double click on the ladder, select the ladder symbol (instruction) from the drop-down list, then enter the address for this symbol. 254 + 255 +(% style="text-align:center" %) 256 +[[image:image-20220819105530-1.png]] 257 + 258 +You could also select the ladder symbol from the menu bar directly. 259 + 260 +[[image:image-20220819093729-11.png]] 261 + 262 +[[image:image-20220819093729-12.png]] 263 + 264 +**Add comment to PLC program** 265 + 266 +(% style="text-align:center" %) 267 +[[image:image-20220819105630-3.png]] 268 + 269 +**Add the statement to PLC program** 270 + 271 +Add the statement by single click on “Statement”, when finished, single click on “Statement” again to go back to Ladder edit. 272 + 273 +(% style="text-align:center" %) 274 +[[image:image-20220819105644-4.png]] 275 + 276 +**Compile ** 277 + 278 +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. 279 + 280 +[[image:image-20220819093729-15.png]] 281 + 282 +**Download setting ** 283 + 284 +Click on “Transfer Setup” to select download mode. 285 + 286 +[[image:image-20220820150853-1.png]]**Download PLC program to PLC** 287 + 288 +Quick select the parameters and main program of PLC program, then download to PLC, “Yes”-”Yes”-”OK” 289 + 290 +[[image:image-20220819093729-17.png]] 291 + 292 +**Upload PLC program from PLC** 293 + 294 +Read the PLC program from PLC to computer. 295 + 296 +[[image:image-20220819093729-18.png]] 297 + 298 +**Device monitor** 299 + 300 +Monitor the value of certain address in PLC, double click “Current value” to change the value in this address. 301 + 302 +[[image:image-20220819093730-19.png]] 303 + 304 +**Online monitor** 305 + 306 +Monitor the each address in PLC by online monitor. Changing the state or value in PLC is also allowd. 307 + 308 +[[image:image-20220819093730-20.png]] 309 + 310 +**Monitor edit** 311 + 312 +In this mode, you could edit the PLC program during PLC is running. 313 + 314 + 315 +(% style="text-align:center" %) 316 +[[image:image-20220819105928-9.png||height="229" width="669"]] 317 + 318 +== **LX5V Serial Protocol** == 319 + 320 +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. 321 + 322 +**Software configuration of PLC** 323 + 324 +**1)PLC programming software** 325 + 326 +[[image:image-20220810164710-1.png]] 327 + 328 +**2)New PLC project** 329 + 330 +Click New Project and select the PLC model. 331 + 332 +[[image:image-20220810172412-1.png]] 333 + 334 + 335 +**3)Set Serial port parameters** 336 + 337 +Follow the steps below to configure Serial port parameters 338 + 339 +Baud rate:115200 340 + 341 +Data bit:8 342 + 343 +Stop bit:1 344 + 345 +Parity:No verification 346 + 347 +[[image:image-20220810165759-3.png]] 348 + 349 + 350 +**4)Registers list** 351 + 352 +[[image:image-20220811102219-3.png]] 353 + 354 + 355 +**HMI software configuration** 356 + 357 +**1)HMI programming software** 358 + 359 + [[image:image-20220810171237-4.png]] 360 + 361 +**2)New HMI project** 362 + 363 +Click New Project and select the HMI model. 364 + 365 +[[image:image-20220810172010-5.png]] 366 + 367 +**3)Set communication port parameters** 368 + 369 +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. 370 + 371 +Baud rate:115200 372 + 373 +Data bit:8 374 + 375 +Stop bit:1 376 + 377 +Parity:No verification 378 + 379 + 380 +[[image:image-20220811104012-1.png]] 381 + 382 + 383 +**hardware connection** 384 + 385 +**1)Hardware wiring diagram** 386 + 387 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 388 + 389 +[[image:image-20220811103005-4.png]] 390 + 391 + 392 +[[image:image-20220811103227-7.png]] 393 + 394 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 395 + 396 +== **LX5V-N Ethernet protocol** == 397 + 398 +(% 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. 399 + 400 + 401 +**Software configuration of PLC** 402 + 403 +**1)PLC programming software** 404 + 405 +[[image:image-20220810164710-1.png]] 406 + 407 +**2)New PLC project** 408 + 409 +Click New Project and select the PLC model. 410 + 411 +[[image:image-20220811115454-1.png]] 412 + 413 + 414 +**3)Set Ethernet port parameters** 415 + 416 +Follow the steps below to configure Ethernet parameters 417 + 418 +PLC IP address:192.168.39.200 419 + 420 +default gateway:192.168.39.1 421 + 422 +subnet mask:255.255.255.0 423 + 424 +[[image:image-20220811140530-2.png]] 425 + 426 + 427 +**4)Registers list** 428 + 429 +[[image:image-20220811102219-3.png]] 430 + 431 + 432 +**HMI software configuration** 433 + 434 +**1)HMI programming software** 435 + 436 + [[image:image-20220810171237-4.png]] 437 + 438 +**2)New HMI project** 439 + 440 +Click New Project and select the HMI model. 441 + 442 +[[image:image-20220810172010-5.png]] 443 + 444 +**3)Set communication port parameters** 445 + 446 +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. 447 + 448 +HMI IP address:192.168.39.201 449 + 450 +default gateway:192.168.39.1 451 + 452 +subnet mask:255.255.255.0 453 + 454 +[[image:image-20220811170753-2.png]] 455 + 456 +Next, click Communication Settings to configure the IP of the HMI communication object. 457 + 458 +[[image:image-20220811163047-1.png]] 459 + 460 +**hardware connection** 461 + 462 +**1)Hardware wiring diagram** 463 + 464 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 465 + 466 +[[image:image-20220811170248-1.png]] 467 + 468 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 469 + 470 += = 471 + 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.580 +**✎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 2283 +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"]]2346 +[[image:SiemensLOGODeviceIP.png]] 1963 1963 1964 - 1965 1965 Enable HMI Ethernet in [Project Settings]; 1966 1966 1967 1967 (% style="text-align:center" %) ... ... @@ -2013,7 +2013,7 @@ 2013 2013 [[image:S7-XXXCommunication Settings.png]] 2014 2014 2015 2015 (% style="text-align:center" %) 2016 -[[image:S7-XXXCommunication SettingsPI.png]] 2399 +[[image:S7-XXXCommunication SettingsPIStudio.png||alt="S7-XXXCommunication SettingsPI.png"]] 2017 2017 2018 2018 **Address List** 2019 2019 ... ... @@ -2264,63 +2264,8 @@ 2264 2264 2265 2265 **✎Note:** COM3 only available in PI8000/PI9000 series. 2266 2266 2267 -= **WECONPLC**=2650 += = 2268 2268 2269 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 2270 - 2271 -**HMI Settings** 2272 - 2273 -(% class="table-bordered" %) 2274 -|**Item**|**Settings**|**Note** 2275 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM| 2276 -|Connection|RS422/RS485| 2277 -|Baud rate|9600| 2278 -|Data bit|7| 2279 -|Parity|EVEN| 2280 -|Stop bit|1| 2281 -|PLC station No.|1| 2282 - 2283 -**Address List** 2284 - 2285 -(% class="table-bordered" %) 2286 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** 2287 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237| 2288 -|Y|Y|Y o|0~~303237| 2289 -|M|M|M d|0~~99999| 2290 -|T|T|T d|0~~99999| 2291 -|C|C|C d|0~~99999| 2292 -|S|S|S d|0~~99999| 2293 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237| 2294 -|Y|Y|Y o|0~~303237| 2295 -|M|M|M d|0~~99999| 2296 -|T|T|T d|0~~99999| 2297 -|C|C|C d|0~~199| 2298 -|D|D|D d|0~~7999| 2299 -|S|S|S d|0~~99999| 2300 -|SD|SD|SD d|8000~~9999| 2301 - 2302 -**Cable Wiring** 2303 - 2304 -* **RS485** 2305 - 2306 -(% style="text-align:center" %) 2307 -[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] 2308 - 2309 -(% style="text-align:center" %) 2310 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2311 - 2312 -* **RS422** 2313 - 2314 -(% style="text-align:center" %) 2315 -[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] 2316 - 2317 -**✎Note:** 2318 - 2319 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 2320 -* 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. 2321 - 2322 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 2323 - 2324 2324 = **Printer** = 2325 2325 2326 2326 == **TSPL label printer** == ... ... @@ -2489,155 +2489,35 @@ 2489 2489 **✎Note:** COM3 only available in PI8000/PI9000 series. 2490 2490 2491 2491 2492 -= =**1. HMI and WeconLX5V serialcommunication** ==2820 += **Schneider MODBUS RTU** = 2493 2493 2494 - 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.2822 +**HMI Setting** 2495 2495 2824 +|=**Parameters**|=**Recommended**|=**Notes** 2825 +|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU| 2826 +|Connection|RS485| 2827 +|**Baud rate**|19200| 2828 +|**Data bit**|8| 2829 +|**Parity**|Even| 2830 +|**Stop bit**|1| 2831 +|**PLC station No.**|1| 2496 2496 2497 -**S oftwareconfigurationof PLC**2833 +**PLC Setting** 2498 2498 2499 - **1)PLCprogrammingsoftware**2835 +|=(% scope="row" %)**Communication mode**|Modbus RTU protocol 2500 2500 2501 - [[image:image-20220810164710-1.png]]2837 +**Device Address** 2502 2502 2503 -**2)New PLC project** 2839 +|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo** 2840 +|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only) 2841 +|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils 2842 +|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal) 2843 +|W|MW|DDDDDD|0 ~~ 999999|Output register 2844 +|DW|MD|DDDDDD|0 ~~ 999999|Output register 2504 2504 2505 - Click New Project andselect the PLCmodel.2846 +**Wiring Diagram** 2506 2506 2507 - [[image:image-20220810172412-1.png]]2848 +**RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector. 2508 2508 2509 - 2510 -**3)Set Serial port parameters** 2511 - 2512 -Follow the steps below to configure Serial port parameters 2513 - 2514 -Baud rate:115200 2515 - 2516 -Data bit:8 2517 - 2518 -Stop bit:1 2519 - 2520 -Parity:No verification 2521 - 2522 -[[image:image-20220810165759-3.png]] 2523 - 2524 - 2525 -**4)Registers list** 2526 - 2527 -[[image:image-20220811102219-3.png]] 2528 - 2529 - 2530 -**HMI software configuration** 2531 - 2532 -**1)HMI programming software** 2533 - 2534 - [[image:image-20220810171237-4.png]] 2535 - 2536 -**2)New HMI project** 2537 - 2538 -Click New Project and select the HMI model. 2539 - 2540 -[[image:image-20220810172010-5.png]] 2541 - 2542 -**3)Set communication port parameters** 2543 - 2544 -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. 2545 - 2546 -Baud rate:115200 2547 - 2548 -Data bit:8 2549 - 2550 -Stop bit:1 2551 - 2552 -Parity:No verification 2553 - 2554 - 2555 -[[image:image-20220811104012-1.png]] 2556 - 2557 - 2558 -**hardware connection** 2559 - 2560 -**1)Hardware wiring diagram** 2561 - 2562 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 2563 - 2564 -[[image:image-20220811103005-4.png]] 2565 - 2566 - 2567 -[[image:image-20220811103227-7.png]] 2568 - 2569 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 2570 - 2571 -== **2. HMI and Wecon LX5V-N Ethernet communication** == 2572 - 2573 -(% 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. 2574 - 2575 - 2576 -**Software configuration of PLC** 2577 - 2578 -**1)PLC programming software** 2579 - 2580 -[[image:image-20220810164710-1.png]] 2581 - 2582 -**2)New PLC project** 2583 - 2584 -Click New Project and select the PLC model. 2585 - 2586 -[[image:image-20220811115454-1.png]] 2587 - 2588 - 2589 -**3)Set Ethernet port parameters** 2590 - 2591 -Follow the steps below to configure Ethernet parameters 2592 - 2593 -PLC IP address:192.168.39.200 2594 - 2595 -default gateway:192.168.39.1 2596 - 2597 -subnet mask:255.255.255.0 2598 - 2599 -[[image:image-20220811140530-2.png]] 2600 - 2601 - 2602 -**4)Registers list** 2603 - 2604 -[[image:image-20220811102219-3.png]] 2605 - 2606 - 2607 -**HMI software configuration** 2608 - 2609 -**1)HMI programming software** 2610 - 2611 - [[image:image-20220810171237-4.png]] 2612 - 2613 -**2)New HMI project** 2614 - 2615 -Click New Project and select the HMI model. 2616 - 2617 -[[image:image-20220810172010-5.png]] 2618 - 2619 -**3)Set communication port parameters** 2620 - 2621 -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. 2622 - 2623 -HMI IP address:192.168.39.201 2624 - 2625 -default gateway:192.168.39.1 2626 - 2627 -subnet mask:255.255.255.0 2628 - 2629 -[[image:image-20220811170753-2.png]] 2630 - 2631 -Next, click Communication Settings to configure the IP of the HMI communication object. 2632 - 2633 -[[image:image-20220811163047-1.png]] 2634 - 2635 -**hardware connection** 2636 - 2637 -**1)Hardware wiring diagram** 2638 - 2639 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 2640 - 2641 -[[image:image-20220811170248-1.png]] 2642 - 2643 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 2850 +(% style="text-align:center" %) 2851 +[[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]]
- 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-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