Changes for page 12 PLC Protocol OLD

Last modified by Mora Zhou on 2024/12/05 14:53

From version 79.1
edited by Ben
on 2022/08/29 14:20
Change comment: There is no comment for this version
To version 45.1
edited by Stone Wu
on 2022/08/22 11:32
Change comment: Upload new image "image-20220819093729-4.png", version 1.1

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Ben
1 +XWiki.Stone
Content
... ... @@ -87,74 +87,19 @@
87 87  
88 88  = Create communication with WECON PLC =
89 89  
90 -== **LX3V Serial Protocol** ==
90 +== HMI settings ==
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 -
147 147  **Download PIStudio Software**
148 148  
149 149  Please visit the link below to get the latest version PIstudio for HMI programming:
150 150  
151 -* [[Download link>>doc:PIStudio.Download.3 Software.WebHome]]
96 +* [[Download>>https://ftp.we-con.com.cn/Download/Software/PIStudio20211210.zip]] or [[Download>>https://drive.google.com/open?id=1Im7YS2rtnRI7yFIHmqHDVPBUyWahqSXN]]
152 152  
153 153  **Create a new HMI project connect with PLC**
154 154  
155 155  Check the link below for the video to show you how to get started with a new project
156 156  
157 -* [[Video>>https://youtu.be/0FpmDZe_8U8]]
102 +* [[Video>>https://drive.google.com/open?id=0B0j9uum1UPXbMENtRlF2VzdQdHc]]
158 158  
159 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 160  
... ... @@ -231,8 +231,7 @@
231 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 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 233  
234 -(% class="wikigeneratedid" id="HPLCsettings" %)
235 -**PLC settings**
179 +== PLC settings ==
236 236  
237 237  **Download PLC Software**
238 238  
... ... @@ -317,285 +317,411 @@
317 317  (% style="text-align:center" %)
318 318  [[image:image-20220819105928-9.png||height="229" width="669"]]
319 319  
320 -== **LX5V Serial Protocol** ==
264 += **Allen-Bradley** =
321 321  
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.
266 +== **FreeTag Ethernet/IP (CompactLogix)** ==
323 323  
324 -**Software configuration of PLC**
268 +Allen-Brandly CompactLogix
325 325  
326 -**1)PLC programming software**
270 +**HMI Settings**
327 327  
328 -[[image:image-20220810164710-1.png]]
272 +(% class="table-bordered" %)
273 +|**Items**|**Settings**|**Note**
274 +|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)|
275 +|Connection|Ethernet|
276 +|Port No.|44818|
329 329  
330 -**2)New PLC project**
278 +**PLC Setting**
331 331  
332 -Click New Project and select the PLC model.
280 +Create new tags
333 333  
334 -[[image:image-20220810172412-1.png]]
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"]]
335 335  
285 +Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])
336 336  
337 -**3)Set Serial port parameters**
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"]]
338 338  
339 -Follow the steps below to configure Serial port parameters
290 +Import labels, please open [Communication] window and click [Import label];
340 340  
341 -Baud rate:115200
292 +Select csv file, all tags will be displayed as belows;
342 342  
343 -Data bit:8
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"]]
344 344  
345 -Stop bit:1
297 +**✎Note:**
346 346  
347 -Parity:No verification
299 +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.
348 348  
349 -[[image:image-20220810165759-3.png]]
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"]]
350 350  
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.
351 351  
352 -**4)Registers list**
306 +**Communication settings in HMI**
353 353  
354 -[[image:image-20220811102219-3.png]]
308 +Enable HMI Ethernet in [Project Settings];
355 355  
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"]]
356 356  
357 -**HMI software configuration**
313 +Set PLC IP in [Device IP] settings;
358 358  
359 -**1)HMI programming software**
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"]]
360 360  
361 - [[image:image-20220810171237-4.png]]
318 +**Cable Wiring**
362 362  
363 -**2)New HMI project**
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"]]
364 364  
365 -Click New Project and select the HMI model.
323 +== **MicroLogix** ==
366 366  
367 -[[image:image-20220810172010-5.png]]
325 +MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
368 368  
369 -**3)Set communication port parameters**
327 +**HMI Settings**
370 370  
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.
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|
372 372  
373 -Baud rate:115200
339 +**Address List**
374 374  
375 -Data bit:8
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
376 376  
377 -Stop bit:1
358 +**Cable Wiring**
378 378  
379 -Parity:No verification
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"]]
380 380  
363 +== **AB PLC address edit** ==
381 381  
382 -[[image:image-20220811104012-1.png]]
365 +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.
383 383  
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).
384 384  
385 -**hardware connection**
372 +**✎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.
386 386  
387 -**1)Hardware wiring diagram**
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
388 388  
389 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
389 += **Barcode Scanner** =
390 390  
391 -[[image:image-20220811103005-4.png]]
391 +Supported: DELI 14880 barcode scanner
392 392  
393 +**HMI Setting**
393 393  
394 -[[image:image-20220811103227-7.png]]
395 +(% class="table-bordered" %)
396 +|**Items**|**Settings**|**Note**
397 +|Protocol|Barcode Scanner|
398 +|Connection|USB|
395 395  
396 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
400 +**Operating Procedures**
397 397  
398 -== **LX5V-N Ethernet protocol** ==
402 +Select [Barcode Scanner];
399 399  
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.
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"]]
401 401  
402 -**Software configuration of PLC**
407 +Set address for receiving;
403 403  
404 -**1)PLC programming software**
409 +Set correct length;
405 405  
406 -[[image:image-20220810164710-1.png]]
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"]]
407 407  
408 -**2)New PLC project**
414 +**Note:**
409 409  
410 -Click New Project and select the PLC model.
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;
411 411  
412 -[[image:image-20220811115454-1.png]]
420 += **Hitachi EHV Series (Ethernet)** =
413 413  
422 +Supported series: Hitachi EHV series
414 414  
415 -**3)Set Ethernet port parameters**
424 +**HMI Settings**
416 416  
417 -Follow the steps below to configure Ethernet parameters
426 +(% class="table-bordered" %)
427 +|**Items**|**Settings**|**Note**
428 +|Protocol|Hitachi EHV series|
429 +|Connection|Ethernet|
430 +|Port No.|3004~~3007|
418 418  
419 -PLC IP address:192.168.39.200
432 +**Address List**
420 420  
421 -default gateway:192.168.39.1
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
422 422  
423 -subnet mask:255.255.255.0
441 +H1: Remote number
424 424  
425 -[[image:image-20220811140530-2.png]]
443 +H2: Unit number
426 426  
445 +H3: Slot number
427 427  
428 -**4)Registers list**
447 +H4: Word number of Module
429 429  
430 -[[image:image-20220811102219-3.png]]
449 +H Sub number of Module
431 431  
451 +For example:X21.3
432 432  
433 -**HMI software configuration**
453 +Slot number 2
434 434  
435 -**1)HMI programming software**
455 +Word number of module is 1
436 436  
437 - [[image:image-20220810171237-4.png]]
457 +Bit number of module is 3
438 438  
439 -**2)New HMI project**
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
440 440  
441 -Click New Project and select the HMI model.
468 +H1: Remote number
442 442  
443 -[[image:image-20220810172010-5.png]]
470 +H2: Unit number
444 444  
445 -**3)Set communication port parameters**
472 +H3: Slot number
446 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.
474 +H4: Word number of module
448 448  
449 -HMI IP address:192.168.39.201
476 +For example:WX21
450 450  
451 -default gateway:192.168.39.1
478 +Word number of module is 1
452 452  
453 -subnet mask:255.255.255.0
480 +Slot number is 2
454 454  
455 -[[image:image-20220811170753-2.png]]
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|
456 456  
457 -Next, click Communication Settings to configure the IP of the HMI communication object.
489 +**Communication settings in HMI**
458 458  
459 -[[image:image-20220811163047-1.png]]
491 +Enable HMI Ethernet in [Project Settings];
460 460  
461 -**hardware connection**
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"]]
462 462  
463 -**1)Hardware wiring diagram**
496 +Set PLC IP in [Device IP] settings;
464 464  
465 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
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"]]
466 466  
467 -[[image:image-20220811170248-1.png]]
501 +**PLC Configuration**
468 468  
469 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
503 +Connect with PLC, select[Online mode];
470 470  
471 -= Create communication with **Rockwell PLC** =
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"]]
472 472  
473 -== **MicroLogix Protocol** ==
508 +Set IP address, it is the same LAN parameters with HMI;
474 474  
475 -MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
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"]]
476 476  
477 -**HMI Settings**
513 +3) Save PLC communication parameter, and restart PLC
478 478  
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|
515 +**PLC Monitor Mode**
488 488  
489 -**Address List**
517 +Connect with PLC and choose to “online” mode
490 490  
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
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"]]
507 507  
508 -**Cable Wiring**
522 +Open I/O monitor sheet1
509 509  
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"]]
510 510  
527 +During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
528 +
511 511  (% style="text-align:center" %)
512 -[[image:12.PLC Protocol_html_58205bdf82c06d4.png||data-xwiki-image-style-alignment="center" height="307" width="500" class="img-thumbnail"]]
530 +[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]
513 513  
514 -== **FreeTag Ethernet/IP (CompactLogix)** ==
532 +Enter the register address, click OK to view the value of the register.
515 515  
516 -Allen-Brandly CompactLogix
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"]]
517 517  
518 -**HMI Settings**
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"]]
519 519  
520 -(% class="table-bordered" %)
521 -|**Items**|**Settings**|**Note**
522 -|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)|
523 -|Connection|Ethernet|
524 -|Port No.|44818|
540 +**✎Note:**
525 525  
526 -**PLC Setting**
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;
527 527  
528 -Create new tags
545 +**Cable Wiring**
529 529  
530 530  (% style="text-align:center" %)
531 -[[image:12.PLC Protocol_html_a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]]
548 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
532 532  
533 -Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])
550 += **IEC60870-5 104 Client** =
534 534  
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"]]
552 +**HMI Setting**
537 537  
538 -Import labels, please open [Communication] window and click [Import label];
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" %)
539 539  
540 -Select csv file, all tags will be displayed as belows;
560 +**Address List**
541 541  
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"]]
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
544 544  
545 -**✎Note:**
587 +**Address Configuration**
546 546  
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.
589 +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.
548 548  
549 549  (% style="text-align:center" %)
550 -[[image:12.PLC Protocol_html_33df1d63ebe53726.png||data-xwiki-image-style-alignment="center" height="206" width="700" class="img-thumbnail"]]
592 +[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]
551 551  
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.
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"]]
553 553  
554 -**Communication settings in HMI**
597 +Extended tag name
555 555  
599 +Address range for the extended tag.
600 +
601 +**Communication Settings**
602 +
556 556  Enable HMI Ethernet in [Project Settings];
557 557  
558 558  (% style="text-align:center" %)
559 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]]
606 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
560 560  
561 561  Set PLC IP in [Device IP] settings;
562 562  
563 563  (% style="text-align:center" %)
564 -[[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]]
611 +[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]]
565 565  
566 566  **Cable Wiring**
567 567  
568 568  (% style="text-align:center" %)
569 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]]
616 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
570 570  
571 -== **AB PLC address edit** ==
618 += **LG XGK FEnet Ethernet** =
572 572  
573 -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.
620 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
574 574  
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).
622 +**HMI Settings**
579 579  
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.
624 +(% class="table-bordered" %)
625 +|**Items**|**Settings**|**Note**
626 +|Protocol|LG XGK FEnet(Ethernet)|
627 +|Connection|Ethernet|
628 +|Port No.|2004|
581 581  
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 -|**PLC word address type**|**Address format**|**Address range**
589 -|S|ddd|S0 ~~ 255
590 -|TS|ffff|TS0 ~~ FFFF
591 -|TP|ffff|TP0 ~~ FFFF
592 -|CS|ffff|CS0 ~~ FFFF
593 -|CP|ffff|CP0 ~~ FFFF
594 -|N|ffff|N0 ~~ FFFF
595 -|F|ffff|F0 ~~ FFFF
630 +**Address List**
596 596  
597 -= =
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
598 598  
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 +
599 599  = **Mitsubishi** =
600 600  
601 601  == **FX1S, 1N, 2N Series** ==
... ... @@ -2369,6 +2369,213 @@
2369 2369  
2370 2370  **✎Note:** COM3 only available in PI8000/PI9000 series.
2371 2371  
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 +
2372 2372  = **Printer** =
2373 2373  
2374 2374  == **TSPL label printer** ==
... ... @@ -2569,282 +2569,3 @@
2569 2569  
2570 2570  (% style="text-align:center" %)
2571 2571  [[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 -= **Hitachi EHV Series (Ethernet)** =
2604 -
2605 -Supported series: Hitachi EHV series
2606 -
2607 -**HMI Settings**
2608 -
2609 -(% class="table-bordered" %)
2610 -|**Items**|**Settings**|**Note**
2611 -|Protocol|Hitachi EHV series|
2612 -|Connection|Ethernet|
2613 -|Port No.|3004~~3007|
2614 -
2615 -**Address List**
2616 -
2617 -(% class="table-bordered" %)
2618 -|**Type**|**Register**|**Range**|**Format**|**Note**
2619 -|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD|
2620 -|M|0 - 7FFF.f (Hex)|M HHHH.h|
2621 -|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)(((
2622 -H1H2H3H4 Module main number
2623 -
2624 -H1: Remote number
2625 -
2626 -H2: Unit number
2627 -
2628 -H3: Slot number
2629 -
2630 -H4: Word number of Module
2631 -
2632 -H Sub number of Module
2633 -
2634 -For example:X21.3
2635 -
2636 -Slot number 2
2637 -
2638 -Word number of module is 1
2639 -
2640 -Bit number of module is 3
2641 -
2642 -Remote number and unit number are 0
2643 -)))
2644 -|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h
2645 -|R|0 – FF.f (Hex)|R HH.h|
2646 -|L|0 - 73FF.f (Hex)|L HHHH.h|
2647 -|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH|
2648 -|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)(((
2649 -H1H2H3H4 Module main number
2650 -
2651 -H1: Remote number
2652 -
2653 -H2: Unit number
2654 -
2655 -H3: Slot number
2656 -
2657 -H4: Word number of module
2658 -
2659 -For example:WX21
2660 -
2661 -Word number of module is 1
2662 -
2663 -Slot number is 2
2664 -
2665 -Remote number and unit number are 0
2666 -)))
2667 -|WY|0 – FFFF (Hex)|WY H1H2H3H4
2668 -|WR|0 – FFFF (Hex)|WR HHHH|
2669 -|WL|0 - 73FF (Hex)|WL HHHH|
2670 -|TC|0 - 2559|TC DDDD|
2671 -
2672 -**Communication settings in HMI**
2673 -
2674 -Enable HMI Ethernet in [Project Settings];
2675 -
2676 -(% style="text-align:center" %)
2677 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2678 -
2679 -Set PLC IP in [Device IP] settings;
2680 -
2681 -(% style="text-align:center" %)
2682 -[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
2683 -
2684 -**PLC Configuration**
2685 -
2686 -Connect with PLC, select[Online mode];
2687 -
2688 -(% style="text-align:center" %)
2689 -[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]]
2690 -
2691 -Set IP address, it is the same LAN parameters with HMI;
2692 -
2693 -(% style="text-align:center" %)
2694 -[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]]
2695 -
2696 -3) Save PLC communication parameter, and restart PLC
2697 -
2698 -**PLC Monitor Mode**
2699 -
2700 -Connect with PLC and choose to “online” mode
2701 -
2702 -(% style="text-align:center" %)
2703 -[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]]
2704 -
2705 -Open I/O monitor sheet1
2706 -
2707 -(% style="text-align:center" %)
2708 -[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]]
2709 -
2710 -During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
2711 -
2712 -(% style="text-align:center" %)
2713 -[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]
2714 -
2715 -Enter the register address, click OK to view the value of the register.
2716 -
2717 -(% style="text-align:center" %)
2718 -[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
2719 -
2720 -(% style="text-align:center" %)
2721 -[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
2722 -
2723 -**✎Note:**
2724 -
2725 -* Both word registers and bit registers support even continuous read/write functions;
2726 -* The range of registers is based on the specific PLC type;
2727 -
2728 -**Cable Wiring**
2729 -
2730 -(% style="text-align:center" %)
2731 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2732 -
2733 -= **IEC60870-5 104 Client** =
2734 -
2735 -**HMI Setting**
2736 -
2737 -(% class="table-bordered" %)
2738 -|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note**
2739 -|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %)
2740 -|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %)
2741 -|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %)
2742 -
2743 -**Address List**
2744 -
2745 -(% class="table-bordered" %)
2746 -|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range**
2747 -|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7
2748 -|(% style="width:461px" %)SCNA|0~~16777215.7
2749 -|(% style="width:461px" %)DPTB|0~~16777215.7
2750 -|(% style="width:461px" %)DCNA|0~~16777215.7
2751 -|(% style="width:461px" %)METF|0~~16777215.7
2752 -|(% style="width:461px" %)SENC|0~~16777215.7
2753 -|(% style="width:461px" %)SENA|0~~16777215.7
2754 -|(% style="width:461px" %)MENA|0~~16777215.7
2755 -|(% style="width:461px" %)METD|0~~16777215.7
2756 -|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215
2757 -|(% style="width:461px" %)SCNA|0~~16777215
2758 -|(% style="width:461px" %)DPTB|0~~16777215
2759 -|(% style="width:461px" %)DCNA|0~~16777215
2760 -|(% style="width:461px" %)SENA|0~~16777215
2761 -|(% style="width:461px" %)MENA|0~~16777215
2762 -|(% style="width:461px" %)METD|0~~16777215
2763 -|(% style="width:461px" %)INRO|0~~16777215
2764 -|(% style="width:461px" %)TIMESYN|0~~16777215
2765 -|(% style="width:461px" %)TIMEZ|0~~16777215
2766 -|(% style="width:461px" %)NTP|0~~16777215
2767 -|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215
2768 -|(% style="width:461px" %)SENC|0~~16777215
2769 -
2770 -**Address Configuration**
2771 -
2772 -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.
2773 -
2774 -(% style="text-align:center" %)
2775 -[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]
2776 -
2777 -(% style="text-align:center" %)
2778 -[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]]
2779 -
2780 -Extended tag name
2781 -
2782 -Address range for the extended tag.
2783 -
2784 -**Communication Settings**
2785 -
2786 -Enable HMI Ethernet in [Project Settings];
2787 -
2788 -(% style="text-align:center" %)
2789 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2790 -
2791 -Set PLC IP in [Device IP] settings;
2792 -
2793 -(% style="text-align:center" %)
2794 -[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]]
2795 -
2796 -**Cable Wiring**
2797 -
2798 -(% style="text-align:center" %)
2799 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2800 -
2801 -= **LG XGK FEnet Ethernet** =
2802 -
2803 -Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2804 -
2805 -**HMI Settings**
2806 -
2807 -(% class="table-bordered" %)
2808 -|**Items**|**Settings**|**Note**
2809 -|Protocol|LG XGK FEnet(Ethernet)|
2810 -|Connection|Ethernet|
2811 -|Port No.|2004|
2812 -
2813 -**Address List**
2814 -
2815 -(% class="table-bordered" %)
2816 -|**Type**|**Register**|**Range**|**Format**|**Note**
2817 -|(% rowspan="14" %)Word|P|0~~2047|P d|
2818 -|M|0~~2047|M d|
2819 -|K|0~~2047|K d|
2820 -|F|0~~2047|F d|
2821 -|T|0~~2047|T d|
2822 -|C|0~~2047|C d|
2823 -|Z|0~~127|Z d|
2824 -|S|0~~127|S d|
2825 -|L|0~~11263|L d|
2826 -|N|0~~21503|N d|
2827 -|D|0~~32767|D d|
2828 -|R|0~~32767|R d|
2829 -|ZR|0~~65535|ZR d|
2830 -|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
2831 -
2832 -**✎Note:**
2833 -
2834 -* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
2835 -* 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;
2836 -* All bit registers are in the form of bits in word, and the range is the same as the word register;
2837 -
2838 -**Communication settings in HMI**
2839 -
2840 -Enable HMI Ethernet in [Project Settings];
2841 -
2842 -(% style="text-align:center" %)
2843 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2844 -
2845 -Set PLC IP in [Device IP] settings;
2846 -
2847 -(% style="text-align:center" %)
2848 -[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
2849 -
2850 -**Cable Wiring**
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-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-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