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, 13 added, 0 removed)
- image-20220819093729-12.png
- image-20220819093729-15.png
- image-20220819093729-17.png
- image-20220819093729-18.png
- image-20220819093729-6.jpeg
- image-20220819093729-7.png
- image-20220819093730-19.png
- image-20220819093730-20.png
- 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. Stone1 +XWiki.Ben - Content
-
... ... @@ -87,19 +87,74 @@ 87 87 88 88 = Create communication with WECON PLC = 89 89 90 -== HMIsettings==90 +== **LX3V Serial Protocol** == 91 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 + 92 92 **Download PIStudio Software** 93 93 94 94 Please visit the link below to get the latest version PIstudio for HMI programming: 95 95 96 -* [[Download>> https://ftp.we-con.com.cn/Download/Software/PIStudio20211210.zip]] or [[Download>>https://drive.google.com/open?id=1Im7YS2rtnRI7yFIHmqHDVPBUyWahqSXN]]151 +* [[Download link>>doc:PIStudio.Download.3 Software.WebHome]] 97 97 98 98 **Create a new HMI project connect with PLC** 99 99 100 100 Check the link below for the video to show you how to get started with a new project 101 101 102 -* [[Video>>https:// drive.google.com/open?id=0B0j9uum1UPXbMENtRlF2VzdQdHc]]157 +* [[Video>>https://youtu.be/0FpmDZe_8U8]] 103 103 104 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 105 ... ... @@ -176,7 +176,8 @@ 176 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 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 178 179 -== PLC settings == 234 +(% class="wikigeneratedid" id="HPLCsettings" %) 235 +**PLC settings** 180 180 181 181 **Download PLC Software** 182 182 ... ... @@ -261,411 +261,285 @@ 261 261 (% style="text-align:center" %) 262 262 [[image:image-20220819105928-9.png||height="229" width="669"]] 263 263 264 -= ** Allen-Bradley** =320 +== **LX5V Serial Protocol** == 265 265 266 - ==**FreeTagEthernet/IP(CompactLogix)**==322 +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. 267 267 268 - Allen-BrandlyCompactLogix324 +**Software configuration of PLC** 269 269 270 -** HMISettings**326 +**1)PLC programming software** 271 271 272 -(% class="table-bordered" %) 273 -|**Items**|**Settings**|**Note** 274 -|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)| 275 -|Connection|Ethernet| 276 -|Port No.|44818| 328 +[[image:image-20220810164710-1.png]] 277 277 278 -**PLC Setting**330 +**2)New PLC project** 279 279 280 -Cre atenewtags332 +Click New Project and select the PLC model. 281 281 282 -(% style="text-align:center" %) 283 -[[image:12.PLC Protocol_html_a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]] 334 +[[image:image-20220810172412-1.png]] 284 284 285 -Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments]) 286 286 287 -(% style="text-align:center" %) 288 -[[image:12.PLC Protocol_html_151379170bb8ff3e.png||data-xwiki-image-style-alignment="center" height="352" width="700" class="img-thumbnail"]] 337 +**3)Set Serial port parameters** 289 289 290 - Importlabels,pleaseopen[Communication] windowand click [Importlabel];339 +Follow the steps below to configure Serial port parameters 291 291 292 - Select csv file,all tags will bedisplayedas belows;341 +Baud rate:115200 293 293 294 -(% style="text-align:center" %) 295 -[[image:12.PLC Protocol_html_af192e54dee96f38.png||data-xwiki-image-style-alignment="center" height="586" width="700" class="img-thumbnail"]] 343 +Data bit:8 296 296 297 - **✎Note:**345 +Stop bit:1 298 298 299 - Because in different region,the separation symbolis different, we suggest you check this before you want toimport your tags. To opencsv fileastext format.347 +Parity:No verification 300 300 301 -(% style="text-align:center" %) 302 -[[image:12.PLC Protocol_html_33df1d63ebe53726.png||data-xwiki-image-style-alignment="center" height="206" width="700" class="img-thumbnail"]] 349 +[[image:image-20220810165759-3.png]] 303 303 304 -The directory of changing system settings: [Control Panel] -> [Date, Time, Language,and Regional Options] -> [Change the format of numbers, dates, and times]->[Customize]-> [List separator]. Please select [,] and export CSV file after setting. 305 305 306 -** Communicationsettings in HMI**352 +**4)Registers list** 307 307 308 - EnableHMI Ethernetin [Project Settings];354 +[[image:image-20220811102219-3.png]] 309 309 310 -(% style="text-align:center" %) 311 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]] 312 312 313 - Set PLCIPin [Device IP]settings;357 +**HMI software configuration** 314 314 315 -(% style="text-align:center" %) 316 -[[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]] 359 +**1)HMI programming software** 317 317 318 - **CableWiring**361 + [[image:image-20220810171237-4.png]] 319 319 320 -(% style="text-align:center" %) 321 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]] 363 +**2)New HMI project** 322 322 323 - == **MicroLogix**==365 +Click New Project and select the HMI model. 324 324 325 - MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5367 +[[image:image-20220810172010-5.png]] 326 326 327 -** HMISettings**369 +**3)Set communication port parameters** 328 328 329 -(% class="table-bordered" %) 330 -|**Item**|**Settings**|**Note** 331 -|Protocol|Allen-Bradlley MicroLogix| 332 -|Connection|RS232| 333 -|Baud rate|19200| 334 -|Data bit|8| 335 -|Parity|None| 336 -|Stop bit|1| 337 -|PLC station No.|1| 371 +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. 338 338 339 - **AddressList**373 +Baud rate:115200 340 340 341 -(% class="table-bordered" %) 342 -|**Type**|**Device registers**|**Format**|**Range**|**Note** 343 -|(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15| 344 -|O|O d.d|0.0~~255.15| 345 -|B|B nnhh.dd|0.0~~ffff.15|nn: block number (hex) 346 -|S|S d.d|0.0~~255.15| 347 -|N|N nnhh.dd|0.0~~ffff.15|nn: block number (hex) 348 -|(% rowspan="9" %)Word|S|S d|0~~255| 349 -|TS|TS nnhh|0~~ffff|(% rowspan="8" %)nn: block number (hex) 350 -|TP|TP nnhh|0~~ffff 351 -|CS|CS nnhh|0~~ffff 352 -|CP|CP nnhh|0~~ffff 353 -|N|N nnhh|0~~ffff 354 -|C|C nnhh|0~~ffff 355 -|T|T nnhh|0~~ffff 356 -|R|R nnhh|0~~ffff 375 +Data bit:8 357 357 358 - **CableWiring**377 +Stop bit:1 359 359 360 -(% style="text-align:center" %) 361 -[[image:12.PLC Protocol_html_58205bdf82c06d4.png||data-xwiki-image-style-alignment="center" height="307" width="500" class="img-thumbnail"]] 379 +Parity:No verification 362 362 363 -== **AB PLC address edit** == 364 364 365 - The operational address is determined by the connection of Allen-Bradley PLC to HMI. For extensionmodules or other special conditions, refer to allen-Bradley PLC instruction manual. The followingis anexample of allen-bradley MicroLogix1200.382 +[[image:image-20220811104012-1.png]] 366 366 367 -* **Bit address I:** The address ranges from 0.0 to 255.15. The value of the data before the decimal point ranges from 0 to 255 (decimal). The value from 0 to 15 after the decimal point is the sub address (decimal). 368 -* **Bit address B:** The address ranges from 000.0 to fff.15. The first f from left to right represents the block number (hexadecimal); The second and third f from left to right represent the word address (hexadecimal). The value 0 to 15 after the decimal point reprensents the sub address (decimal). 369 -* **Word address S:** The word address ranges from 0 to 255 (decimal). 370 -* **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). 371 371 372 -** ✎Note: **Registeraddress TP, CS, CP, N, F andTSaddressedit tare he same. D indicates decimal, and F indicates hexadecimal. DifferentPLC models may support different registers. See the following table.385 +**hardware connection** 373 373 374 -|(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 375 -|(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15 376 -|(% style="width:393px" %)O|(% style="width:350px" %)dd.dd|(% style="width:333px" %)O 0.0 ~~ 255.15 377 -|(% style="width:393px" %)B|(% style="width:350px" %)fff.dd|(% style="width:333px" %)B 000.0 ~~ fff.15 378 -|(% style="width:393px" %)S|(% style="width:350px" %)dd.dd|(% style="width:333px" %)S 0.0 ~~ 255.15 379 -|(% style="width:393px" %)N|(% style="width:350px" %)ffff.dd|(% style="width:333px" %)N 000.0 ~~ fff.15 380 -|(% style="width:393px" %)**PLC word address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 381 -|(% style="width:393px" %)S|(% style="width:350px" %)ddd|(% style="width:333px" %)S0 ~~ 255 382 -|(% style="width:393px" %)TS|(% style="width:350px" %)ffff|(% style="width:333px" %)TS0 ~~ FFFF 383 -|(% style="width:393px" %)TP|(% style="width:350px" %)ffff|(% style="width:333px" %)TP0 ~~ FFFF 384 -|(% style="width:393px" %)CS|(% style="width:350px" %)ffff|(% style="width:333px" %)CS0 ~~ FFFF 385 -|(% style="width:393px" %)CP|(% style="width:350px" %)ffff|(% style="width:333px" %)CP0 ~~ FFFF 386 -|(% style="width:393px" %)N|(% style="width:350px" %)ffff|(% style="width:333px" %)N0 ~~ FFFF 387 -|(% style="width:393px" %)F|(% style="width:350px" %)ffff|(% style="width:333px" %)F0 ~~ FFFF 387 +**1)Hardware wiring diagram** 388 388 389 - =**BarcodeScanner**=389 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 390 390 391 - Supported:DELI 14880 barcodescanner391 +[[image:image-20220811103005-4.png]] 392 392 393 -**HMI Setting** 394 394 395 -(% class="table-bordered" %) 396 -|**Items**|**Settings**|**Note** 397 -|Protocol|Barcode Scanner| 398 -|Connection|USB| 394 +[[image:image-20220811103227-7.png]] 399 399 400 - **OperatingProcedures**396 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 401 401 402 - Select[BarcodeScanner];398 +== **LX5V-N Ethernet protocol** == 403 403 404 -(% style="text-align:center" %) 405 -[[image:12.PLC Protocol_html_55a3056357320966.png||data-xwiki-image-style-alignment="center" height="266" width="600" class="img-thumbnail"]] 400 +(% 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. 406 406 407 -S etddressforreceiving;402 +**Software configuration of PLC** 408 408 409 - Setcorrect length;404 +**1)PLC programming software** 410 410 411 -(% style="text-align:center" %) 412 -[[image:12.PLC Protocol_html_30a4c9e9dd4db40b.png||data-xwiki-image-style-alignment="center" height="701" width="500" class="img-thumbnail"]] 406 +[[image:image-20220810164710-1.png]] 413 413 414 -** ✎Note:**408 +**2)New PLC project** 415 415 416 -* The protocol uploads the information acquired by the USB scanner to the HMI; 417 -* The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object; 418 -* Recommended model: DELI 14880 barcode scanner; 410 +Click New Project and select the PLC model. 419 419 420 - = **Hitachi EHV Series (Ethernet)** =412 +[[image:image-20220811115454-1.png]] 421 421 422 -Supported series: Hitachi EHV series 423 423 424 -** HMISettings**415 +**3)Set Ethernet port parameters** 425 425 426 -(% class="table-bordered" %) 427 -|**Items**|**Settings**|**Note** 428 -|Protocol|Hitachi EHV series| 429 -|Connection|Ethernet| 430 -|Port No.|3004~~3007| 417 +Follow the steps below to configure Ethernet parameters 431 431 432 - **AddressList**419 +PLC IP address:192.168.39.200 433 433 434 -(% class="table-bordered" %) 435 -|**Type**|**Register**|**Range**|**Format**|**Note** 436 -|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD| 437 -|M|0 - 7FFF.f (Hex)|M HHHH.h| 438 -|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)((( 439 -H1H2H3H4 Module main number 421 +default gateway:192.168.39.1 440 440 441 - H1: Remotenumber423 +subnet mask:255.255.255.0 442 442 443 - H2:Unit number425 +[[image:image-20220811140530-2.png]] 444 444 445 -H3: Slot number 446 446 447 - H4: Word numberof Module428 +**4)Registers list** 448 448 449 - H Sub number of Module430 +[[image:image-20220811102219-3.png]] 450 450 451 -For example:X21.3 452 452 453 - Slot number2433 +**HMI software configuration** 454 454 455 - Word numberofmoduleis 1435 +**1)HMI programming software** 456 456 457 - Bitnumber ofmoduleis3437 + [[image:image-20220810171237-4.png]] 458 458 459 -Remote number and unit number are 0 460 -))) 461 -|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h 462 -|R|0 – FF.f (Hex)|R HH.h| 463 -|L|0 - 73FF.f (Hex)|L HHHH.h| 464 -|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH| 465 -|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)((( 466 -H1H2H3H4 Module main number 439 +**2)New HMI project** 467 467 468 - H1:Remote number441 +Click New Project and select the HMI model. 469 469 470 - H2:Unit number443 +[[image:image-20220810172010-5.png]] 471 471 472 - H3:Slotnumber445 +**3)Set communication port parameters** 473 473 474 - H4:Wordnumber of module447 +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. 475 475 476 - Forexample:WX21449 +HMI IP address:192.168.39.201 477 477 478 - Wordnumber ofmoduleis1451 +default gateway:192.168.39.1 479 479 480 - Slot numberis453 +subnet mask:255.255.255.0 481 481 482 -Remote number and unit number are 0 483 -))) 484 -|WY|0 – FFFF (Hex)|WY H1H2H3H4 485 -|WR|0 – FFFF (Hex)|WR HHHH| 486 -|WL|0 - 73FF (Hex)|WL HHHH| 487 -|TC|0 - 2559|TC DDDD| 455 +[[image:image-20220811170753-2.png]] 488 488 489 - **Communicationsettingsin HMI**457 +Next, click Communication Settings to configure the IP of the HMI communication object. 490 490 491 - EnableHMI Ethernetin [Project Settings];459 +[[image:image-20220811163047-1.png]] 492 492 493 -(% style="text-align:center" %) 494 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 461 +**hardware connection** 495 495 496 - SetPLC IPin[Device IP] settings;463 +**1)Hardware wiring diagram** 497 497 498 -(% style="text-align:center" %) 499 -[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] 465 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 500 500 501 - **PLC Configuration**467 +[[image:image-20220811170248-1.png]] 502 502 503 - ConnectwithPLC,select[Online mode];469 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 504 504 505 -(% style="text-align:center" %) 506 -[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]] 471 += Create communication with **Rockwell PLC** = 507 507 508 - SetIP address,it is the sameLAN parameterswith HMI;473 +== **MicroLogix Protocol** == 509 509 510 -(% style="text-align:center" %) 511 -[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]] 475 +MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5 512 512 513 - 3)SavePLC communicationparameter, and restart PLC477 +**HMI Settings** 514 514 515 -**PLC Monitor Mode** 479 +(% class="table-bordered" %) 480 +|**Item**|**Settings**|**Note** 481 +|Protocol|Allen-Bradlley MicroLogix| 482 +|Connection|RS232| 483 +|Baud rate|19200| 484 +|Data bit|8| 485 +|Parity|None| 486 +|Stop bit|1| 487 +|PLC station No.|1| 516 516 517 - Connectwith PLC and chooseto “online” mode489 +**Address List** 518 518 519 -(% style="text-align:center" %) 520 -[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]] 491 +(% class="table-bordered" %) 492 +|**Type**|**Device registers**|**Format**|**Range**|**Note** 493 +|(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15| 494 +|O|O d.d|0.0~~255.15| 495 +|B|B nnhh.dd|0.0~~ffff.15|nn: block number (hex) 496 +|S|S d.d|0.0~~255.15| 497 +|N|N nnhh.dd|0.0~~ffff.15|nn: block number (hex) 498 +|(% rowspan="9" %)Word|S|S d|0~~255| 499 +|TS|TS nnhh|0~~ffff|(% rowspan="8" %)nn: block number (hex) 500 +|TP|TP nnhh|0~~ffff 501 +|CS|CS nnhh|0~~ffff 502 +|CP|CP nnhh|0~~ffff 503 +|N|N nnhh|0~~ffff 504 +|C|C nnhh|0~~ffff 505 +|T|T nnhh|0~~ffff 506 +|R|R nnhh|0~~ffff 521 521 522 - OpenI/O monitorsheet1508 +**Cable Wiring** 523 523 524 -(% style="text-align:center" %) 525 -[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]] 526 526 527 -During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected 528 - 529 529 (% style="text-align:center" %) 530 -[[image:12.PLC Protocol_html_ 774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]512 +[[image:12.PLC Protocol_html_58205bdf82c06d4.png||data-xwiki-image-style-alignment="center" height="307" width="500" class="img-thumbnail"]] 531 531 532 - Entertheregisteraddress,click OKto view thevalue ofthe register.514 +== **FreeTag Ethernet/IP (CompactLogix)** == 533 533 534 -(% style="text-align:center" %) 535 -[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]] 516 +Allen-Brandly CompactLogix 536 536 537 -(% style="text-align:center" %) 538 -[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]] 518 +**HMI Settings** 539 539 540 -**✎Note:** 520 +(% class="table-bordered" %) 521 +|**Items**|**Settings**|**Note** 522 +|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)| 523 +|Connection|Ethernet| 524 +|Port No.|44818| 541 541 542 -* Both word registers and bit registers support even continuous read/write functions; 543 -* The range of registers is based on the specific PLC type; 526 +**PLC Setting** 544 544 545 - **CableWiring**528 +Create new tags 546 546 547 547 (% style="text-align:center" %) 548 -[[image:12.PLC Protocol_html_ 2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]531 +[[image:12.PLC Protocol_html_a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]] 549 549 550 - = **IEC60870-5104Client** =533 +Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments]) 551 551 552 -**HMI Setting** 535 +(% style="text-align:center" %) 536 +[[image:12.PLC Protocol_html_151379170bb8ff3e.png||data-xwiki-image-style-alignment="center" height="352" width="700" class="img-thumbnail"]] 553 553 554 -(% class="table-bordered" %) 555 -|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note** 556 -|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %) 557 -|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %) 558 -|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %) 538 +Import labels, please open [Communication] window and click [Import label]; 559 559 560 - **AddressList**540 +Select csv file, all tags will be displayed as belows; 561 561 562 -(% class="table-bordered" %) 563 -|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range** 564 -|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7 565 -|(% style="width:461px" %)SCNA|0~~16777215.7 566 -|(% style="width:461px" %)DPTB|0~~16777215.7 567 -|(% style="width:461px" %)DCNA|0~~16777215.7 568 -|(% style="width:461px" %)METF|0~~16777215.7 569 -|(% style="width:461px" %)SENC|0~~16777215.7 570 -|(% style="width:461px" %)SENA|0~~16777215.7 571 -|(% style="width:461px" %)MENA|0~~16777215.7 572 -|(% style="width:461px" %)METD|0~~16777215.7 573 -|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215 574 -|(% style="width:461px" %)SCNA|0~~16777215 575 -|(% style="width:461px" %)DPTB|0~~16777215 576 -|(% style="width:461px" %)DCNA|0~~16777215 577 -|(% style="width:461px" %)SENA|0~~16777215 578 -|(% style="width:461px" %)MENA|0~~16777215 579 -|(% style="width:461px" %)METD|0~~16777215 580 -|(% style="width:461px" %)INRO|0~~16777215 581 -|(% style="width:461px" %)TIMESYN|0~~16777215 582 -|(% style="width:461px" %)TIMEZ|0~~16777215 583 -|(% style="width:461px" %)NTP|0~~16777215 584 -|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215 585 -|(% style="width:461px" %)SENC|0~~16777215 542 +(% style="text-align:center" %) 543 +[[image:12.PLC Protocol_html_af192e54dee96f38.png||data-xwiki-image-style-alignment="center" height="586" width="700" class="img-thumbnail"]] 586 586 587 -** Address Configuration**545 +**✎Note:** 588 588 589 - ThedressregistersoftheIEC60870-5-104protocolare SPTB, SCNA, DPTB, DCNA, METF,andSENC. The protocolneedsto be added with anextensiontag "ASDU", whichcouldonlybeadded inthe [AddressIdentification Library],otherplaces arenoteditable,thatis,thereadaddressintheobjector scriptisnotditable.547 +Because in different region, the separation symbol is different, we suggest you check this before you want to import your tags. To open csv file as text format. 590 590 591 591 (% style="text-align:center" %) 592 -[[image:12.PLC Protocol_html_ ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]550 +[[image:12.PLC Protocol_html_33df1d63ebe53726.png||data-xwiki-image-style-alignment="center" height="206" width="700" class="img-thumbnail"]] 593 593 594 -(% style="text-align:center" %) 595 -[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]] 552 +The directory of changing system settings: [Control Panel] -> [Date, Time, Language,and Regional Options] -> [Change the format of numbers, dates, and times]->[Customize]-> [List separator]. Please select [,] and export CSV file after setting. 596 596 597 - Extendedtag name554 +**Communication settings in HMI** 598 598 599 -Address range for the extended tag. 600 - 601 -**Communication Settings** 602 - 603 603 Enable HMI Ethernet in [Project Settings]; 604 604 605 605 (% style="text-align:center" %) 606 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="10 7" width="405" class="img-thumbnail"]]559 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]] 607 607 608 608 Set PLC IP in [Device IP] settings; 609 609 610 610 (% style="text-align:center" %) 611 -[[image:12.PLC Protocol_html_ f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]]564 +[[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]] 612 612 613 613 **Cable Wiring** 614 614 615 615 (% style="text-align:center" %) 616 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="40 1" class="img-thumbnail"]]569 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]] 617 617 618 -= **L GXGK FEnetEthernet** =571 +== **AB PLC address edit** == 619 619 620 - SupportedSeries:LSXGTseriesXGKCPU withXGL-EFMTEthernet module573 +The operational address is determined by the connection of Allen-Bradley PLC to HMI. For extension modules or other special conditions, refer to allen-Bradley PLC instruction manual. The following is an example of allen-bradley MicroLogix1200. 621 621 622 -**HMI Settings** 575 +* **Bit address I:** The address ranges from 0.0 to 255.15. The value of the data before the decimal point ranges from 0 to 255 (decimal). The value from 0 to 15 after the decimal point is the sub address (decimal). 576 +* **Bit address B:** The address ranges from 000.0 to fff.15. The first f from left to right represents the block number (hexadecimal); The second and third f from left to right represent the word address (hexadecimal). The value 0 to 15 after the decimal point reprensents the sub address (decimal). 577 +* **Word address S:** The word address ranges from 0 to 255 (decimal). 578 +* **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). 623 623 624 -(% class="table-bordered" %) 625 -|**Items**|**Settings**|**Note** 626 -|Protocol|LG XGK FEnet(Ethernet)| 627 -|Connection|Ethernet| 628 -|Port No.|2004| 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. 629 629 630 -**Address List** 582 +|(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 583 +|(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15 584 +|(% style="width:393px" %)O|(% style="width:350px" %)dd.dd|(% style="width:333px" %)O 0.0 ~~ 255.15 585 +|(% style="width:393px" %)B|(% style="width:350px" %)fff.dd|(% style="width:333px" %)B 000.0 ~~ fff.15 586 +|(% style="width:393px" %)S|(% style="width:350px" %)dd.dd|(% style="width:333px" %)S 0.0 ~~ 255.15 587 +|(% style="width:393px" %)N|(% style="width:350px" %)ffff.dd|(% style="width:333px" %)N 000.0 ~~ fff.15 588 +|(% style="width:393px" %)**PLC word address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 589 +|(% style="width:393px" %)S|(% style="width:350px" %)ddd|(% style="width:333px" %)S0 ~~ 255 590 +|(% style="width:393px" %)TS|(% style="width:350px" %)ffff|(% style="width:333px" %)TS0 ~~ FFFF 591 +|(% style="width:393px" %)TP|(% style="width:350px" %)ffff|(% style="width:333px" %)TP0 ~~ FFFF 592 +|(% style="width:393px" %)CS|(% style="width:350px" %)ffff|(% style="width:333px" %)CS0 ~~ FFFF 593 +|(% style="width:393px" %)CP|(% style="width:350px" %)ffff|(% style="width:333px" %)CP0 ~~ FFFF 594 +|(% style="width:393px" %)N|(% style="width:350px" %)ffff|(% style="width:333px" %)N0 ~~ FFFF 595 +|(% style="width:393px" %)F|(% style="width:350px" %)ffff|(% style="width:333px" %)F0 ~~ FFFF 631 631 632 -(% class="table-bordered" %) 633 -|**Type**|**Register**|**Range**|**Format**|**Note** 634 -|(% rowspan="14" %)Word|P|0~~2047|P d| 635 -|M|0~~2047|M d| 636 -|K|0~~2047|K d| 637 -|F|0~~2047|F d| 638 -|T|0~~2047|T d| 639 -|C|0~~2047|C d| 640 -|Z|0~~127|Z d| 641 -|S|0~~127|S d| 642 -|L|0~~11263|L d| 643 -|N|0~~21503|N d| 644 -|D|0~~32767|D d| 645 -|R|0~~32767|R d| 646 -|ZR|0~~65535|ZR d| 647 -|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31 597 += = 648 648 649 -**✎Note:** 650 - 651 -* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC; 652 -* The [UxDD] register, defined in the PLC is Ux.dd, x represents the block, and dd represents 0-31 of each block. There are 64 blocks in the PLC; 653 -* All bit registers are in the form of bits in word, and the range is the same as the word register; 654 - 655 -**Communication settings in HMI** 656 - 657 -Enable HMI Ethernet in [Project Settings]; 658 - 659 -(% style="text-align:center" %) 660 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 661 - 662 -Set PLC IP in [Device IP] settings; 663 - 664 -(% style="text-align:center" %) 665 -[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]] 666 - 667 -**Cable Wiring** 668 - 669 669 = **Mitsubishi** = 670 670 671 671 == **FX1S, 1N, 2N Series** == ... ... @@ -2439,213 +2439,6 @@ 2439 2439 2440 2440 **✎Note:** COM3 only available in PI8000/PI9000 series. 2441 2441 2442 -= **WECON PLC** = 2443 - 2444 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 2445 - 2446 -**HMI Settings** 2447 - 2448 -(% class="table-bordered" %) 2449 -|**Item**|**Settings**|**Note** 2450 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM| 2451 -|Connection|RS422/RS485| 2452 -|Baud rate|9600| 2453 -|Data bit|7| 2454 -|Parity|EVEN| 2455 -|Stop bit|1| 2456 -|PLC station No.|1| 2457 - 2458 -**Address List** 2459 - 2460 -(% class="table-bordered" %) 2461 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** 2462 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237| 2463 -|Y|Y|Y o|0~~303237| 2464 -|M|M|M d|0~~99999| 2465 -|T|T|T d|0~~99999| 2466 -|C|C|C d|0~~99999| 2467 -|S|S|S d|0~~99999| 2468 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237| 2469 -|Y|Y|Y o|0~~303237| 2470 -|M|M|M d|0~~99999| 2471 -|T|T|T d|0~~99999| 2472 -|C|C|C d|0~~199| 2473 -|D|D|D d|0~~7999| 2474 -|S|S|S d|0~~99999| 2475 -|SD|SD|SD d|8000~~9999| 2476 - 2477 -**Cable Wiring** 2478 - 2479 -* **RS485** 2480 - 2481 -(% style="text-align:center" %) 2482 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2483 - 2484 -* **RS422** 2485 - 2486 -(% style="text-align:center" %) 2487 -[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] 2488 - 2489 -**✎Note:** 2490 - 2491 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 2492 -* 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. 2493 - 2494 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 2495 - 2496 - 2497 -== **HMI and Wecon LX5V serial communication** == 2498 - 2499 -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. 2500 - 2501 -**Software configuration of PLC** 2502 - 2503 -**1)PLC programming software** 2504 - 2505 -[[image:image-20220810164710-1.png]] 2506 - 2507 -**2)New PLC project** 2508 - 2509 -Click New Project and select the PLC model. 2510 - 2511 -[[image:image-20220810172412-1.png]] 2512 - 2513 - 2514 -**3)Set Serial port parameters** 2515 - 2516 -Follow the steps below to configure Serial port parameters 2517 - 2518 -Baud rate:115200 2519 - 2520 -Data bit:8 2521 - 2522 -Stop bit:1 2523 - 2524 -Parity:No verification 2525 - 2526 -[[image:image-20220810165759-3.png]] 2527 - 2528 - 2529 -**4)Registers list** 2530 - 2531 -[[image:image-20220811102219-3.png]] 2532 - 2533 - 2534 -**HMI software configuration** 2535 - 2536 -**1)HMI programming software** 2537 - 2538 - [[image:image-20220810171237-4.png]] 2539 - 2540 -**2)New HMI project** 2541 - 2542 -Click New Project and select the HMI model. 2543 - 2544 -[[image:image-20220810172010-5.png]] 2545 - 2546 -**3)Set communication port parameters** 2547 - 2548 -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. 2549 - 2550 -Baud rate:115200 2551 - 2552 -Data bit:8 2553 - 2554 -Stop bit:1 2555 - 2556 -Parity:No verification 2557 - 2558 - 2559 -[[image:image-20220811104012-1.png]] 2560 - 2561 - 2562 -**hardware connection** 2563 - 2564 -**1)Hardware wiring diagram** 2565 - 2566 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 2567 - 2568 -[[image:image-20220811103005-4.png]] 2569 - 2570 - 2571 -[[image:image-20220811103227-7.png]] 2572 - 2573 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 2574 - 2575 -== **HMI and Wecon LX5V-N Ethernet communication** == 2576 - 2577 -(% 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. 2578 - 2579 - 2580 -**Software configuration of PLC** 2581 - 2582 -**1)PLC programming software** 2583 - 2584 -[[image:image-20220810164710-1.png]] 2585 - 2586 -**2)New PLC project** 2587 - 2588 -Click New Project and select the PLC model. 2589 - 2590 -[[image:image-20220811115454-1.png]] 2591 - 2592 - 2593 -**3)Set Ethernet port parameters** 2594 - 2595 -Follow the steps below to configure Ethernet parameters 2596 - 2597 -PLC IP address:192.168.39.200 2598 - 2599 -default gateway:192.168.39.1 2600 - 2601 -subnet mask:255.255.255.0 2602 - 2603 -[[image:image-20220811140530-2.png]] 2604 - 2605 - 2606 -**4)Registers list** 2607 - 2608 -[[image:image-20220811102219-3.png]] 2609 - 2610 - 2611 -**HMI software configuration** 2612 - 2613 -**1)HMI programming software** 2614 - 2615 - [[image:image-20220810171237-4.png]] 2616 - 2617 -**2)New HMI project** 2618 - 2619 -Click New Project and select the HMI model. 2620 - 2621 -[[image:image-20220810172010-5.png]] 2622 - 2623 -**3)Set communication port parameters** 2624 - 2625 -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. 2626 - 2627 -HMI IP address:192.168.39.201 2628 - 2629 -default gateway:192.168.39.1 2630 - 2631 -subnet mask:255.255.255.0 2632 - 2633 -[[image:image-20220811170753-2.png]] 2634 - 2635 -Next, click Communication Settings to configure the IP of the HMI communication object. 2636 - 2637 -[[image:image-20220811163047-1.png]] 2638 - 2639 -**hardware connection** 2640 - 2641 -**1)Hardware wiring diagram** 2642 - 2643 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 2644 - 2645 -[[image:image-20220811170248-1.png]] 2646 - 2647 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 2648 - 2649 2649 = **Printer** = 2650 2650 2651 2651 == **TSPL label printer** == ... ... @@ -2846,3 +2846,283 @@ 2846 2846 2847 2847 (% style="text-align:center" %) 2848 2848 [[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]] 2572 + 2573 += **Barcode Scanner** = 2574 + 2575 +Supported: DELI 14880 barcode scanner 2576 + 2577 +**HMI Setting** 2578 + 2579 +|**Items**|**Settings**|**Note** 2580 +|Protocol|Barcode Scanner| 2581 +|Connection|USB| 2582 + 2583 +**Operating Procedures** 2584 + 2585 +Select [Barcode Scanner]; 2586 + 2587 +(% style="text-align:center" %) 2588 +[[image:12.PLC Protocol_html_55a3056357320966.png||data-xwiki-image-style-alignment="center" height="266" width="600" class="img-thumbnail"]] 2589 + 2590 +Set address for receiving; 2591 + 2592 +Set correct length; 2593 + 2594 +(% style="text-align:center" %) 2595 +[[image:12.PLC Protocol_html_30a4c9e9dd4db40b.png||data-xwiki-image-style-alignment="center" height="701" width="500" class="img-thumbnail"]] 2596 + 2597 +**✎Note:** 2598 + 2599 +* The protocol uploads the information acquired by the USB scanner to the HMI; 2600 +* The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object; 2601 +* Recommended model: DELI 14880 barcode scanner; 2602 + 2603 + 2604 += **Hitachi EHV Series (Ethernet)** = 2605 + 2606 +Supported series: Hitachi EHV series 2607 + 2608 +**HMI Settings** 2609 + 2610 +(% class="table-bordered" %) 2611 +|**Items**|**Settings**|**Note** 2612 +|Protocol|Hitachi EHV series| 2613 +|Connection|Ethernet| 2614 +|Port No.|3004~~3007| 2615 + 2616 +**Address List** 2617 + 2618 +(% class="table-bordered" %) 2619 +|**Type**|**Register**|**Range**|**Format**|**Note** 2620 +|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD| 2621 +|M|0 - 7FFF.f (Hex)|M HHHH.h| 2622 +|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)((( 2623 +H1H2H3H4 Module main number 2624 + 2625 +H1: Remote number 2626 + 2627 +H2: Unit number 2628 + 2629 +H3: Slot number 2630 + 2631 +H4: Word number of Module 2632 + 2633 +H Sub number of Module 2634 + 2635 +For example:X21.3 2636 + 2637 +Slot number 2 2638 + 2639 +Word number of module is 1 2640 + 2641 +Bit number of module is 3 2642 + 2643 +Remote number and unit number are 0 2644 +))) 2645 +|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h 2646 +|R|0 – FF.f (Hex)|R HH.h| 2647 +|L|0 - 73FF.f (Hex)|L HHHH.h| 2648 +|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH| 2649 +|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)((( 2650 +H1H2H3H4 Module main number 2651 + 2652 +H1: Remote number 2653 + 2654 +H2: Unit number 2655 + 2656 +H3: Slot number 2657 + 2658 +H4: Word number of module 2659 + 2660 +For example:WX21 2661 + 2662 +Word number of module is 1 2663 + 2664 +Slot number is 2 2665 + 2666 +Remote number and unit number are 0 2667 +))) 2668 +|WY|0 – FFFF (Hex)|WY H1H2H3H4 2669 +|WR|0 – FFFF (Hex)|WR HHHH| 2670 +|WL|0 - 73FF (Hex)|WL HHHH| 2671 +|TC|0 - 2559|TC DDDD| 2672 + 2673 +**Communication settings in HMI** 2674 + 2675 +Enable HMI Ethernet in [Project Settings]; 2676 + 2677 +(% style="text-align:center" %) 2678 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2679 + 2680 +Set PLC IP in [Device IP] settings; 2681 + 2682 +(% style="text-align:center" %) 2683 +[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] 2684 + 2685 +**PLC Configuration** 2686 + 2687 +Connect with PLC, select[Online mode]; 2688 + 2689 +(% style="text-align:center" %) 2690 +[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]] 2691 + 2692 +Set IP address, it is the same LAN parameters with HMI; 2693 + 2694 +(% style="text-align:center" %) 2695 +[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]] 2696 + 2697 +3) Save PLC communication parameter, and restart PLC 2698 + 2699 +**PLC Monitor Mode** 2700 + 2701 +Connect with PLC and choose to “online” mode 2702 + 2703 +(% style="text-align:center" %) 2704 +[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]] 2705 + 2706 +Open I/O monitor sheet1 2707 + 2708 +(% style="text-align:center" %) 2709 +[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]] 2710 + 2711 +During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected 2712 + 2713 +(% style="text-align:center" %) 2714 +[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]] 2715 + 2716 +Enter the register address, click OK to view the value of the register. 2717 + 2718 +(% style="text-align:center" %) 2719 +[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]] 2720 + 2721 +(% style="text-align:center" %) 2722 +[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]] 2723 + 2724 +**✎Note:** 2725 + 2726 +* Both word registers and bit registers support even continuous read/write functions; 2727 +* The range of registers is based on the specific PLC type; 2728 + 2729 +**Cable Wiring** 2730 + 2731 +(% style="text-align:center" %) 2732 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2733 + 2734 += **IEC60870-5 104 Client** = 2735 + 2736 +**HMI Setting** 2737 + 2738 +(% class="table-bordered" %) 2739 +|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note** 2740 +|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %) 2741 +|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %) 2742 +|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %) 2743 + 2744 +**Address List** 2745 + 2746 +(% class="table-bordered" %) 2747 +|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range** 2748 +|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7 2749 +|(% style="width:461px" %)SCNA|0~~16777215.7 2750 +|(% style="width:461px" %)DPTB|0~~16777215.7 2751 +|(% style="width:461px" %)DCNA|0~~16777215.7 2752 +|(% style="width:461px" %)METF|0~~16777215.7 2753 +|(% style="width:461px" %)SENC|0~~16777215.7 2754 +|(% style="width:461px" %)SENA|0~~16777215.7 2755 +|(% style="width:461px" %)MENA|0~~16777215.7 2756 +|(% style="width:461px" %)METD|0~~16777215.7 2757 +|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215 2758 +|(% style="width:461px" %)SCNA|0~~16777215 2759 +|(% style="width:461px" %)DPTB|0~~16777215 2760 +|(% style="width:461px" %)DCNA|0~~16777215 2761 +|(% style="width:461px" %)SENA|0~~16777215 2762 +|(% style="width:461px" %)MENA|0~~16777215 2763 +|(% style="width:461px" %)METD|0~~16777215 2764 +|(% style="width:461px" %)INRO|0~~16777215 2765 +|(% style="width:461px" %)TIMESYN|0~~16777215 2766 +|(% style="width:461px" %)TIMEZ|0~~16777215 2767 +|(% style="width:461px" %)NTP|0~~16777215 2768 +|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215 2769 +|(% style="width:461px" %)SENC|0~~16777215 2770 + 2771 +**Address Configuration** 2772 + 2773 +The address registers of the IEC60870-5-104 protocol are SPTB, SCNA, DPTB, DCNA, METF, and SENC. The protocol needs to be added with an extension tag "ASDU", which could only be added in the [Address Identification Library], other places are not editable, that is, the read address in the object or script is not editable. 2774 + 2775 +(% style="text-align:center" %) 2776 +[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]] 2777 + 2778 +(% style="text-align:center" %) 2779 +[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]] 2780 + 2781 +Extended tag name 2782 + 2783 +Address range for the extended tag. 2784 + 2785 +**Communication Settings** 2786 + 2787 +Enable HMI Ethernet in [Project Settings]; 2788 + 2789 +(% style="text-align:center" %) 2790 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2791 + 2792 +Set PLC IP in [Device IP] settings; 2793 + 2794 +(% style="text-align:center" %) 2795 +[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]] 2796 + 2797 +**Cable Wiring** 2798 + 2799 +(% style="text-align:center" %) 2800 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2801 + 2802 += **LG XGK FEnet Ethernet** = 2803 + 2804 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module 2805 + 2806 +**HMI Settings** 2807 + 2808 +(% class="table-bordered" %) 2809 +|**Items**|**Settings**|**Note** 2810 +|Protocol|LG XGK FEnet(Ethernet)| 2811 +|Connection|Ethernet| 2812 +|Port No.|2004| 2813 + 2814 +**Address List** 2815 + 2816 +(% class="table-bordered" %) 2817 +|**Type**|**Register**|**Range**|**Format**|**Note** 2818 +|(% rowspan="14" %)Word|P|0~~2047|P d| 2819 +|M|0~~2047|M d| 2820 +|K|0~~2047|K d| 2821 +|F|0~~2047|F d| 2822 +|T|0~~2047|T d| 2823 +|C|0~~2047|C d| 2824 +|Z|0~~127|Z d| 2825 +|S|0~~127|S d| 2826 +|L|0~~11263|L d| 2827 +|N|0~~21503|N d| 2828 +|D|0~~32767|D d| 2829 +|R|0~~32767|R d| 2830 +|ZR|0~~65535|ZR d| 2831 +|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31 2832 + 2833 +**✎Note:** 2834 + 2835 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC; 2836 +* The [UxDD] register, defined in the PLC is Ux.dd, x represents the block, and dd represents 0-31 of each block. There are 64 blocks in the PLC; 2837 +* All bit registers are in the form of bits in word, and the range is the same as the word register; 2838 + 2839 +**Communication settings in HMI** 2840 + 2841 +Enable HMI Ethernet in [Project Settings]; 2842 + 2843 +(% style="text-align:center" %) 2844 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2845 + 2846 +Set PLC IP in [Device IP] settings; 2847 + 2848 +(% style="text-align:center" %) 2849 +[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]] 2850 + 2851 +**Cable Wiring**
- 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-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-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