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, 28 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,392 +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 -== HMI settings == 91 - 92 -**Download PIStudio Software** 93 - 94 -Please visit the link below to get the latest version PIstudio for HMI programming: 95 - 96 -* [[Download link>>doc:PIStudio.Download.3 Software.WebHome]] 97 - 98 -**Create a new HMI project connect with PLC** 99 - 100 -Check the link below for the video to show you how to get started with a new project 101 - 102 -* [[Video>>https://youtu.be/0FpmDZe_8U8]] 103 - 104 -For more videos, please visit our Youtube channel: [[http:~~/~~/www.youtube.com/user/Wecon2004/videos>>url:http://www.youtube.com/user/Wecon2004/videos]] 105 - 106 -**General** 107 - 108 -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. 109 - 110 -**Protocol settings** 111 - 112 -The communication between two devices requires a protocol. The following contents show the steps of protocol settings. 113 - 114 -Please select the protocol, when creating a new project. 115 - 116 -1. Select the COM port for communication; 117 -1. PLC type: It means PLC brand, like WECON; 118 -1. PLC model: It shows the model of PLC, such as LX3V; 119 - 120 -(% style="text-align:center" %) 121 -[[image:image-20220819093729-1.png]] 122 - 123 -If you want to change the protocol for existing project, please click [Program] → [Communication] to open the [Communication] windows, shown as the following figure. 124 - 125 -(% style="text-align:center" %) 126 -[[image:image-20220819093729-2.png]] 127 - 128 - 129 -The steps to change the protocol for project are as follows. 130 - 131 -1. Click [Setting] to open the [Communication device] window; 132 -1. Select communication port, such as COM1; 133 -1. Select Serial port for communication, such as RS422; 134 -1. Select device type (device brand), such as WECON; 135 -1. Select the protocol for communication, such as WECON LX3V; 136 - 137 -(% style="text-align:center" %) 138 -[[image:image-20220819093729-3.png]] 139 - 140 -**Parameter settings** 141 - 142 -The parameters settings are in [Communication] window, shown as following below. 143 - 144 -1. Click [Setting] to open the [COM port setting] window; 145 -1. Set the parameters such as [connection], [Baud rate] and so on; 146 - 147 -(% style="text-align:center" %) 148 -[[image:image-20220819093729-4.png||height="636" width="818"]] 149 - 150 -(% start="3" %) 151 -1. Click [Setting] to open [Timeout] setting window, you could set the parameters according your requirements, or just use the default value. 152 - 153 -(% style="text-align:center" %) 154 -[[image:image-20220819093729-5.png]] 155 - 156 -**Set PLC address in HMI screen** 157 - 158 -1. Place the objects to HMI screen; 159 -1. Double-click the object to open the setting window; 160 -1. Click “Edit” to open the address setting windows; 161 -1. Connection: select the serial port in HMI; 162 -1. Address type: All the PLC address types will be display in this list, such as M; 163 -1. Address No.: Please input the number of this address, such as 0; 164 - 165 -[[image:image-20220819093729-6.jpeg]] 166 - 167 -**Communication cable** 168 - 169 -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. 170 - 171 -(% style="text-align:center" %) 172 -[[image:image-20220819093729-7.png]] 173 - 174 -**HMI communication PLC use Modbus ** 175 - 176 -* 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/]] 177 -* 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/]] 178 - 179 -== PLC settings == 180 - 181 -**Download PLC Software** 182 - 183 -Please visit below link to get the latest version PLC Editor for HMI programming 184 - 185 -* LX3V:[[Download link>>doc:PLC Editor.10 Hardware .Software.WebHome]] 186 -* LX5V:[[Download link>>doc:PLC Editor2.Download.03 Software.WebHome]] 187 - 188 -**Start a new PLC project** 189 - 190 -Start a new PLC project by clicking “New” on the left top corner of screen, select the PLC mode from the drop-down list. 191 - 192 -(% style="text-align:center" %) 193 -[[image:image-20220819101447-3.jpeg]] 194 - 195 - 196 - 197 -**Add a new instruction ** 198 - 199 -Double click on the ladder, select the ladder symbol (instruction) from the drop-down list, then enter the address for this symbol. 200 - 201 -(% style="text-align:center" %) 202 -[[image:image-20220819105530-1.png]] 203 - 204 -You could also select the ladder symbol from the menu bar directly. 205 - 206 -[[image:image-20220819093729-11.png]] 207 - 208 -[[image:image-20220819093729-12.png]] 209 - 210 -**Add comment to PLC program** 211 - 212 -(% style="text-align:center" %) 213 -[[image:image-20220819105630-3.png]] 214 - 215 -**Add the statement to PLC program** 216 - 217 -Add the statement by single click on “Statement”, when finished, single click on “Statement” again to go back to Ladder edit. 218 - 219 -(% style="text-align:center" %) 220 -[[image:image-20220819105644-4.png]] 221 - 222 -**Compile ** 223 - 224 -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. 225 - 226 -[[image:image-20220819093729-15.png]] 227 - 228 -**Download setting ** 229 - 230 -Click on “Transfer Setup” to select download mode. 231 - 232 -[[image:image-20220820150853-1.png]]**Download PLC program to PLC** 233 - 234 -Quick select the parameters and main program of PLC program, then download to PLC, “Yes”-”Yes”-”OK” 235 - 236 -[[image:image-20220819093729-17.png]] 237 - 238 -**Upload PLC program from PLC** 239 - 240 -Read the PLC program from PLC to computer. 241 - 242 -[[image:image-20220819093729-18.png]] 243 - 244 -**Device monitor** 245 - 246 -Monitor the value of certain address in PLC, double click “Current value” to change the value in this address. 247 - 248 -[[image:image-20220819093730-19.png]] 249 - 250 -**Online monitor** 251 - 252 -Monitor the each address in PLC by online monitor. Changing the state or value in PLC is also allowd. 253 - 254 -[[image:image-20220819093730-20.png]] 255 - 256 -**Monitor edit** 257 - 258 -In this mode, you could edit the PLC program during PLC is running. 259 - 260 - 261 -(% style="text-align:center" %) 262 -[[image:image-20220819105928-9.png||height="229" width="669"]] 263 - 264 -= **WECON PLC** = 265 - 266 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 267 - 268 -**HMI Settings** 269 - 270 -(% class="table-bordered" %) 271 -|**Item**|**Settings**|**Note** 272 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM| 273 -|Connection|RS422/RS485| 274 -|Baud rate|9600| 275 -|Data bit|7| 276 -|Parity|EVEN| 277 -|Stop bit|1| 278 -|PLC station No.|1| 279 - 280 -**Address List** 281 - 282 -(% class="table-bordered" %) 283 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** 284 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237| 285 -|Y|Y|Y o|0~~303237| 286 -|M|M|M d|0~~99999| 287 -|T|T|T d|0~~99999| 288 -|C|C|C d|0~~99999| 289 -|S|S|S d|0~~99999| 290 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237| 291 -|Y|Y|Y o|0~~303237| 292 -|M|M|M d|0~~99999| 293 -|T|T|T d|0~~99999| 294 -|C|C|C d|0~~199| 295 -|D|D|D d|0~~7999| 296 -|S|S|S d|0~~99999| 297 -|SD|SD|SD d|8000~~9999| 298 - 299 -**Cable Wiring** 300 - 301 -* **RS485** 302 - 303 -(% style="text-align:center" %) 304 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 305 - 306 -* **RS422** 307 - 308 -(% style="text-align:center" %) 309 -[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] 310 - 311 -**✎Note:** 312 - 313 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 314 -* 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. 315 - 316 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 317 - 318 - 319 -== **HMI and Wecon LX5V serial communication** == 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 -== **HMI and Wecon LX5V-N Ethernet communication** == 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 -(% class="wikigeneratedid" %) 472 -= = 473 - 474 474 = **Allen-Bradley** = 475 475 476 476 == **FreeTag Ethernet/IP (CompactLogix)** == ... ... @@ -579,7 +579,7 @@ 579 579 * **Word address S:** The word address ranges from 0 to 255 (decimal). 580 580 * **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). 581 581 582 -**✎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. 583 583 584 584 |(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 585 585 |(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15 ... ... @@ -2282,7 +2282,7 @@ 2282 2282 2283 2283 == **LOGO Ethernet** == 2284 2284 2285 -Supported Series: Siemens Logo 0BA0 series1899 +Supported Series: Siemens Logo 2286 2286 2287 2287 **HMI Settings** 2288 2288 ... ... @@ -2345,8 +2345,9 @@ 2345 2345 Set PLC IP in [Device IP] settings; 2346 2346 2347 2347 (% style="text-align:center" %) 2348 -[[image: SiemensLOGODeviceIP.png]]1962 +[[image:12.PLC Protocol_html_573fc64ad393cd4f.png||data-xwiki-image-style-alignment="center" height="655" width="379" class="img-thumbnail"]] 2349 2349 1964 + 2350 2350 Enable HMI Ethernet in [Project Settings]; 2351 2351 2352 2352 (% style="text-align:center" %) ... ... @@ -2378,28 +2378,17 @@ 2378 2378 2379 2379 == **S7-XXX Ethernet** == 2380 2380 2381 -Supported Series: Siemens S7- 400, S7-1200 and S7-15001996 +Supported Series: Siemens S7-1200 and S7-1500 2382 2382 2383 2383 **HMI Setting** 2384 2384 2385 -(% class="table-bordered" style="width:823px" %) 2386 -|=**Items**|=(% style="width: 437px;" %)**Settings**|=(% style="width: 201px;" %)**Note** 2387 -|Protocol|(% style="width:437px" %)Siemens S7-XXX|(% style="width:201px" %) 2388 -|Connection|(% style="width:437px" %)Ethernet|(% style="width:201px" %) 2389 -|Port No.|(% style="width:437px" %)102|(% style="width:201px" %) 2390 -|Device No.|(% style="width:437px" %)Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)|(% style="width:201px" %) 2391 -|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)| 2392 2392 2393 -Slot from TIA Portal is equal to Device No. of PIStudio 2394 - 2395 -Rack from TIA Portal is equal to HMI No. of PIStudio 2396 - 2397 -(% style="text-align:center" %) 2398 -[[image:S7-XXXCommunication Settings.png]] 2399 - 2400 -(% style="text-align:center" %) 2401 -[[image:S7-XXXCommunication SettingsPIStudio.png||alt="S7-XXXCommunication SettingsPI.png"]] 2402 - 2403 2403 **Address List** 2404 2404 2405 2405 (% class="table-bordered" %) ... ... @@ -2649,8 +2649,63 @@ 2649 2649 2650 2650 **✎Note:** COM3 only available in PI8000/PI9000 series. 2651 2651 2652 -= = 2256 += **WECON PLC** = 2653 2653 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 + 2654 2654 = **Printer** = 2655 2655 2656 2656 == **TSPL label printer** == ... ... @@ -2819,35 +2819,158 @@ 2819 2819 **✎Note:** COM3 only available in PI8000/PI9000 series. 2820 2820 2821 2821 2822 -= ** SchneiderMODBUSRTU** =2481 +== **1 HMI and Wecon LX5V serial communication** == 2823 2823 2824 - **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. 2825 2825 2826 -|=**Parameters**|=**Recommended**|=**Notes** 2827 -|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU| 2828 -|Connection|RS485| 2829 -|**Baud rate**|19200| 2830 -|**Data bit**|8| 2831 -|**Parity**|Even| 2832 -|**Stop bit**|1| 2833 -|**PLC station No.**|1| 2834 2834 2835 -** PLCSetting**2486 +**Software configuration of PLC** 2836 2836 2837 - |=(%scope="row" %)**Communicationmode**|Modbus RTU protocol2488 +**1)PLC programming software** 2838 2838 2839 - **DeviceAddress**2490 +[[image:image-20220810164710-1.png]] 2840 2840 2841 -|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo** 2842 -|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only) 2843 -|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils 2844 -|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal) 2845 -|W|MW|DDDDDD|0 ~~ 999999|Output register 2846 -|DW|MD|DDDDDD|0 ~~ 999999|Output register 2492 +**2)New PLC project** 2847 2847 2848 - **WiringDiagram**2494 +Click New Project and select the PLC model. 2849 2849 2850 - **RS-485 2W **(RJ45 Connector): The followingis theview fromthe soldering point ofaconnector.2496 +[[image:image-20220810172412-1.png]] 2851 2851 2852 -(% style="text-align:center" %) 2853 -[[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 + 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.
- 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-20220811170248-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Ben - Size
-
... ... @@ -1,1 +1,0 @@ 1 -91.7 KB - Content
- image-20220811170753-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Ben - Size
-
... ... @@ -1,1 +1,0 @@ 1 -154.4 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