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, 0 added, 26 removed)
- S7-XXXCommunication Settings.png
- S7-XXXCommunication SettingsPI.png
- 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
-
- Content
-
... ... @@ -85,391 +85,6 @@ 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 -(% class="wikigeneratedid" id="HHMIsettings" %) 145 -**HMI settings** 146 - 147 -**Download PIStudio Software** 148 - 149 -Please visit the link below to get the latest version PIstudio for HMI programming: 150 - 151 -* [[Download link>>doc:PIStudio.Download.3 Software.WebHome]] 152 - 153 -**Create a new HMI project connect with PLC** 154 - 155 -Check the link below for the video to show you how to get started with a new project 156 - 157 -* [[Video>>https://youtu.be/0FpmDZe_8U8]] 158 - 159 -For more videos, please visit our Youtube channel: [[http:~~/~~/www.youtube.com/user/Wecon2004/videos>>url:http://www.youtube.com/user/Wecon2004/videos]] 160 - 161 -**General** 162 - 163 -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. 164 - 165 -**Protocol settings** 166 - 167 -The communication between two devices requires a protocol. The following contents show the steps of protocol settings. 168 - 169 -Please select the protocol, when creating a new project. 170 - 171 -1. Select the COM port for communication; 172 -1. PLC type: It means PLC brand, like WECON; 173 -1. PLC model: It shows the model of PLC, such as LX3V; 174 - 175 -(% style="text-align:center" %) 176 -[[image:image-20220819093729-1.png]] 177 - 178 -If you want to change the protocol for existing project, please click [Program] → [Communication] to open the [Communication] windows, shown as the following figure. 179 - 180 -(% style="text-align:center" %) 181 -[[image:image-20220819093729-2.png]] 182 - 183 - 184 -The steps to change the protocol for project are as follows. 185 - 186 -1. Click [Setting] to open the [Communication device] window; 187 -1. Select communication port, such as COM1; 188 -1. Select Serial port for communication, such as RS422; 189 -1. Select device type (device brand), such as WECON; 190 -1. Select the protocol for communication, such as WECON LX3V; 191 - 192 -(% style="text-align:center" %) 193 -[[image:image-20220819093729-3.png]] 194 - 195 -**Parameter settings** 196 - 197 -The parameters settings are in [Communication] window, shown as following below. 198 - 199 -1. Click [Setting] to open the [COM port setting] window; 200 -1. Set the parameters such as [connection], [Baud rate] and so on; 201 - 202 -(% style="text-align:center" %) 203 -[[image:image-20220819093729-4.png||height="636" width="818"]] 204 - 205 -(% start="3" %) 206 -1. Click [Setting] to open [Timeout] setting window, you could set the parameters according your requirements, or just use the default value. 207 - 208 -(% style="text-align:center" %) 209 -[[image:image-20220819093729-5.png]] 210 - 211 -**Set PLC address in HMI screen** 212 - 213 -1. Place the objects to HMI screen; 214 -1. Double-click the object to open the setting window; 215 -1. Click “Edit” to open the address setting windows; 216 -1. Connection: select the serial port in HMI; 217 -1. Address type: All the PLC address types will be display in this list, such as M; 218 -1. Address No.: Please input the number of this address, such as 0; 219 - 220 -[[image:image-20220819093729-6.jpeg]] 221 - 222 -**Communication cable** 223 - 224 -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. 225 - 226 -(% style="text-align:center" %) 227 -[[image:image-20220819093729-7.png]] 228 - 229 -**HMI communication PLC use Modbus ** 230 - 231 -* 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/]] 232 -* 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/]] 233 - 234 -== PLC settings == 235 - 236 -**Download PLC Software** 237 - 238 -Please visit below link to get the latest version PLC Editor for HMI programming 239 - 240 -* LX3V:[[Download link>>doc:PLC Editor.10 Hardware .Software.WebHome]] 241 -* LX5V:[[Download link>>doc:PLC Editor2.Download.03 Software.WebHome]] 242 - 243 -**Start a new PLC project** 244 - 245 -Start a new PLC project by clicking “New” on the left top corner of screen, select the PLC mode from the drop-down list. 246 - 247 -(% style="text-align:center" %) 248 -[[image:image-20220819101447-3.jpeg]] 249 - 250 - 251 - 252 -**Add a new instruction ** 253 - 254 -Double click on the ladder, select the ladder symbol (instruction) from the drop-down list, then enter the address for this symbol. 255 - 256 -(% style="text-align:center" %) 257 -[[image:image-20220819105530-1.png]] 258 - 259 -You could also select the ladder symbol from the menu bar directly. 260 - 261 -[[image:image-20220819093729-11.png]] 262 - 263 -[[image:image-20220819093729-12.png]] 264 - 265 -**Add comment to PLC program** 266 - 267 -(% style="text-align:center" %) 268 -[[image:image-20220819105630-3.png]] 269 - 270 -**Add the statement to PLC program** 271 - 272 -Add the statement by single click on “Statement”, when finished, single click on “Statement” again to go back to Ladder edit. 273 - 274 -(% style="text-align:center" %) 275 -[[image:image-20220819105644-4.png]] 276 - 277 -**Compile ** 278 - 279 -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. 280 - 281 -[[image:image-20220819093729-15.png]] 282 - 283 -**Download setting ** 284 - 285 -Click on “Transfer Setup” to select download mode. 286 - 287 -[[image:image-20220820150853-1.png]]**Download PLC program to PLC** 288 - 289 -Quick select the parameters and main program of PLC program, then download to PLC, “Yes”-”Yes”-”OK” 290 - 291 -[[image:image-20220819093729-17.png]] 292 - 293 -**Upload PLC program from PLC** 294 - 295 -Read the PLC program from PLC to computer. 296 - 297 -[[image:image-20220819093729-18.png]] 298 - 299 -**Device monitor** 300 - 301 -Monitor the value of certain address in PLC, double click “Current value” to change the value in this address. 302 - 303 -[[image:image-20220819093730-19.png]] 304 - 305 -**Online monitor** 306 - 307 -Monitor the each address in PLC by online monitor. Changing the state or value in PLC is also allowd. 308 - 309 -[[image:image-20220819093730-20.png]] 310 - 311 -**Monitor edit** 312 - 313 -In this mode, you could edit the PLC program during PLC is running. 314 - 315 - 316 -(% style="text-align:center" %) 317 -[[image:image-20220819105928-9.png||height="229" width="669"]] 318 - 319 -== **LX5V Serial Protocol** == 320 - 321 -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. 322 - 323 -**Software configuration of PLC** 324 - 325 -**1)PLC programming software** 326 - 327 -[[image:image-20220810164710-1.png]] 328 - 329 -**2)New PLC project** 330 - 331 -Click New Project and select the PLC model. 332 - 333 -[[image:image-20220810172412-1.png]] 334 - 335 - 336 -**3)Set Serial port parameters** 337 - 338 -Follow the steps below to configure Serial port parameters 339 - 340 -Baud rate:115200 341 - 342 -Data bit:8 343 - 344 -Stop bit:1 345 - 346 -Parity:No verification 347 - 348 -[[image:image-20220810165759-3.png]] 349 - 350 - 351 -**4)Registers list** 352 - 353 -[[image:image-20220811102219-3.png]] 354 - 355 - 356 -**HMI software configuration** 357 - 358 -**1)HMI programming software** 359 - 360 - [[image:image-20220810171237-4.png]] 361 - 362 -**2)New HMI project** 363 - 364 -Click New Project and select the HMI model. 365 - 366 -[[image:image-20220810172010-5.png]] 367 - 368 -**3)Set communication port parameters** 369 - 370 -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. 371 - 372 -Baud rate:115200 373 - 374 -Data bit:8 375 - 376 -Stop bit:1 377 - 378 -Parity:No verification 379 - 380 - 381 -[[image:image-20220811104012-1.png]] 382 - 383 - 384 -**hardware connection** 385 - 386 -**1)Hardware wiring diagram** 387 - 388 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 389 - 390 -[[image:image-20220811103005-4.png]] 391 - 392 - 393 -[[image:image-20220811103227-7.png]] 394 - 395 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 396 - 397 -== **LX5V-N Ethernet protocol** == 398 - 399 -(% 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. 400 - 401 - 402 -**Software configuration of PLC** 403 - 404 -**1)PLC programming software** 405 - 406 -[[image:image-20220810164710-1.png]] 407 - 408 -**2)New PLC project** 409 - 410 -Click New Project and select the PLC model. 411 - 412 -[[image:image-20220811115454-1.png]] 413 - 414 - 415 -**3)Set Ethernet port parameters** 416 - 417 -Follow the steps below to configure Ethernet parameters 418 - 419 -PLC IP address:192.168.39.200 420 - 421 -default gateway:192.168.39.1 422 - 423 -subnet mask:255.255.255.0 424 - 425 -[[image:image-20220811140530-2.png]] 426 - 427 - 428 -**4)Registers list** 429 - 430 -[[image:image-20220811102219-3.png]] 431 - 432 - 433 -**HMI software configuration** 434 - 435 -**1)HMI programming software** 436 - 437 - [[image:image-20220810171237-4.png]] 438 - 439 -**2)New HMI project** 440 - 441 -Click New Project and select the HMI model. 442 - 443 -[[image:image-20220810172010-5.png]] 444 - 445 -**3)Set communication port parameters** 446 - 447 -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. 448 - 449 -HMI IP address:192.168.39.201 450 - 451 -default gateway:192.168.39.1 452 - 453 -subnet mask:255.255.255.0 454 - 455 -[[image:image-20220811170753-2.png]] 456 - 457 -Next, click Communication Settings to configure the IP of the HMI communication object. 458 - 459 -[[image:image-20220811163047-1.png]] 460 - 461 -**hardware connection** 462 - 463 -**1)Hardware wiring diagram** 464 - 465 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 466 - 467 -[[image:image-20220811170248-1.png]] 468 - 469 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 470 - 471 -= = 472 - 473 473 = **Allen-Bradley** = 474 474 475 475 == **FreeTag Ethernet/IP (CompactLogix)** == ... ... @@ -578,7 +578,7 @@ 578 578 * **Word address S:** The word address ranges from 0 to 255 (decimal). 579 579 * **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). 580 580 581 -**✎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. 196 +**✎Note: **Register address TP, CS, CP, N, F and TS address edit tare he same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table. 582 582 583 583 |(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 584 584 |(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15 ... ... @@ -2281,7 +2281,7 @@ 2281 2281 2282 2282 == **LOGO Ethernet** == 2283 2283 2284 -Supported Series: Siemens Logo 0BA0 series1899 +Supported Series: Siemens Logo 2285 2285 2286 2286 **HMI Settings** 2287 2287 ... ... @@ -2344,8 +2344,9 @@ 2344 2344 Set PLC IP in [Device IP] settings; 2345 2345 2346 2346 (% style="text-align:center" %) 2347 -[[image: SiemensLOGODeviceIP.png]]1962 +[[image:12.PLC Protocol_html_573fc64ad393cd4f.png||data-xwiki-image-style-alignment="center" height="655" width="379" class="img-thumbnail"]] 2348 2348 1964 + 2349 2349 Enable HMI Ethernet in [Project Settings]; 2350 2350 2351 2351 (% style="text-align:center" %) ... ... @@ -2377,28 +2377,17 @@ 2377 2377 2378 2378 == **S7-XXX Ethernet** == 2379 2379 2380 -Supported Series: Siemens S7- 400, S7-1200 and S7-15001996 +Supported Series: Siemens S7-1200 and S7-1500 2381 2381 2382 2382 **HMI Setting** 2383 2383 2384 -(% class="table-bordered" style="width:823px" %) 2385 -|=**Items**|=(% style="width: 437px;" %)**Settings**|=(% style="width: 201px;" %)**Note** 2386 -|Protocol|(% style="width:437px" %)Siemens S7-XXX|(% style="width:201px" %) 2387 -|Connection|(% style="width:437px" %)Ethernet|(% style="width:201px" %) 2388 -|Port No.|(% style="width:437px" %)102|(% style="width:201px" %) 2389 -|Device No.|(% style="width:437px" %)Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)|(% style="width:201px" %) 2390 -|HMI No.|(% style="width:437px" %)Rack (Default as 0)|(% style="width:201px" %) 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)| 2391 2391 2392 -Slot from TIA Portal is equal to Device No. of PIStudio 2393 - 2394 -Rack from TIA Portal is equal to HMI No. of PIStudio 2395 - 2396 -(% style="text-align:center" %) 2397 -[[image:S7-XXXCommunication Settings.png]] 2398 - 2399 -(% style="text-align:center" %) 2400 -[[image:S7-XXXCommunication SettingsPIStudio.png||alt="S7-XXXCommunication SettingsPI.png"]] 2401 - 2402 2402 **Address List** 2403 2403 2404 2404 (% class="table-bordered" %) ... ... @@ -2648,8 +2648,63 @@ 2648 2648 2649 2649 **✎Note:** COM3 only available in PI8000/PI9000 series. 2650 2650 2651 -= = 2256 += **WECON PLC** = 2652 2652 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 + 2653 2653 = **Printer** = 2654 2654 2655 2655 == **TSPL label printer** == ... ... @@ -2818,35 +2818,155 @@ 2818 2818 **✎Note:** COM3 only available in PI8000/PI9000 series. 2819 2819 2820 2820 2821 -= ** SchneiderMODBUSRTU** =2481 +== **1. HMI and Wecon LX5V serial communication** == 2822 2822 2823 - **HMISetting**2483 +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. 2824 2824 2825 -|=**Parameters**|=**Recommended**|=**Notes** 2826 -|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU| 2827 -|Connection|RS485| 2828 -|**Baud rate**|19200| 2829 -|**Data bit**|8| 2830 -|**Parity**|Even| 2831 -|**Stop bit**|1| 2832 -|**PLC station No.**|1| 2833 2833 2834 -** PLCSetting**2486 +**Software configuration of PLC** 2835 2835 2836 - |=(%scope="row" %)**Communicationmode**|Modbus RTU protocol2488 +**1)PLC programming software** 2837 2837 2838 - **DeviceAddress**2490 +[[image:image-20220810164710-1.png]] 2839 2839 2840 -|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo** 2841 -|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only) 2842 -|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils 2843 -|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal) 2844 -|W|MW|DDDDDD|0 ~~ 999999|Output register 2845 -|DW|MD|DDDDDD|0 ~~ 999999|Output register 2492 +**2)New PLC project** 2846 2846 2847 - **WiringDiagram**2494 +Click New Project and select the PLC model. 2848 2848 2849 - **RS-485 2W **(RJ45 Connector): The followingis theview fromthe soldering point ofaconnector.2496 +[[image:image-20220810172412-1.png]] 2850 2850 2851 -(% style="text-align:center" %) 2852 -[[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]] 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 +== **2. HMI and Wecon LX5V-N Ethernet communication** == 2561 + 2562 +(% 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. 2563 + 2564 + 2565 +**Software configuration of PLC** 2566 + 2567 +**1)PLC programming software** 2568 + 2569 +[[image:image-20220810164710-1.png]] 2570 + 2571 +**2)New PLC project** 2572 + 2573 +Click New Project and select the PLC model. 2574 + 2575 +[[image:image-20220811115454-1.png]] 2576 + 2577 + 2578 +**3)Set Ethernet port parameters** 2579 + 2580 +Follow the steps below to configure Ethernet parameters 2581 + 2582 +PLC IP address:192.168.39.200 2583 + 2584 +default gateway:192.168.39.1 2585 + 2586 +subnet mask:255.255.255.0 2587 + 2588 +[[image:image-20220811140530-2.png]] 2589 + 2590 + 2591 +**4)Registers list** 2592 + 2593 +[[image:image-20220811102219-3.png]] 2594 + 2595 + 2596 +**HMI software configuration** 2597 + 2598 +**1)HMI programming software** 2599 + 2600 + [[image:image-20220810171237-4.png]] 2601 + 2602 +**2)New HMI project** 2603 + 2604 +Click New Project and select the HMI model. 2605 + 2606 +[[image:image-20220810172010-5.png]] 2607 + 2608 +**3)Set communication port parameters** 2609 + 2610 +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. 2611 + 2612 +HMI IP address:192.168.39.201 2613 + 2614 +default gateway:192.168.39.1 2615 + 2616 +subnet mask:255.255.255.0 2617 + 2618 +[[image:image-20220811170753-2.png]] 2619 + 2620 +Next, click Communication Settings to configure the IP of the HMI communication object. 2621 + 2622 +[[image:image-20220811163047-1.png]] 2623 + 2624 +**hardware connection** 2625 + 2626 +**1)Hardware wiring diagram** 2627 + 2628 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 2629 + 2630 +[[image:image-20220811170248-1.png]] 2631 + 2632 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
- S7-XXXCommunication Settings.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -32.6 KB - Content
- S7-XXXCommunication SettingsPI.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.6 KB - Content
- S7-XXXCommunication SettingsPIStudio.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.9 KB - Content
- SiemensLOGODeviceIP.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.9 KB - Content
- image-20220817154212-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -51.8 KB - Content
- image-20220819093729-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -10.3 KB - Content
- image-20220819093729-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -79.4 KB - Content
- image-20220819093729-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -147.9 KB - Content
- image-20220819093729-15.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -74.6 KB - Content
- image-20220819093729-17.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -115.0 KB - Content
- image-20220819093729-18.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -112.1 KB - Content
- image-20220819093729-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -34.1 KB - Content
- image-20220819093729-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -44.2 KB - Content
- image-20220819093729-4 (1).png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -82.4 KB - Content
- image-20220819093729-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -82.4 KB - Content
- image-20220819093729-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.6 KB - Content
- image-20220819093729-6.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -100.2 KB - Content
- image-20220819093729-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -46.9 KB - Content
- image-20220819093730-19.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -122.5 KB - Content
- image-20220819093730-20.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -99.6 KB - Content
- image-20220819101447-3.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -56.6 KB - Content
- image-20220819105530-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.0 MB - Content
- image-20220819105630-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.1 MB - Content
- image-20220819105644-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -942.6 KB - Content
- image-20220819105928-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -72.6 KB - Content
- image-20220820150853-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -171.7 KB - Content