Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
From version 5.1
edited by Joey123
on 2022/07/09 14:31
on 2022/07/09 14:31
Change comment:
Replaced user [xwiki:XWiki.Joey] in fields [author, contentAuthor] to user [xwiki:XWiki.Joey123]
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -PIStudio. 1 User Manual.WebHome1 +PIStudio.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Joey1231 +XWiki.Stone - Content
-
... ... @@ -18,7 +18,7 @@ 18 18 19 19 User need to select controller protocol and set communication parameters in HMI project. Please note to set same communication parameter between controller and HMI project. After finishing project, user could download HMI project into HMI and connect HMI with controller by Cable Wiring. Thena simple automation system would be established. 20 20 21 -= ** Protocol Selection &CommunicationParameters** =21 += **Communication Settings** = 22 22 23 23 For example, controller is WECON LX3V series PLC and HMI is PI8070. Please set communication protocol, and set communication parameters in the [Communication]. 24 24 ... ... @@ -29,32 +29,26 @@ 29 29 (% style="text-align:center" %) 30 30 [[image:Communication Timout settings.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]] 31 31 32 -Wait Timeout(ms): The time HMI waits for a response from the PLC. 32 +* Wait Timeout(ms): The time HMI waits for a response from the PLC. 33 +* Receive Timeout(ms): The longest waiting interval between the HMI receiving two characters. 34 +* Retry Count: The number of retries when there is no response in the communication between HMI and PLC. 35 +* Retry Timeout(s): The PLC will not be accessed during the Retry Timeout period when there is no response in the communication between HMI and PLC. 36 +* Delay Time(ms): The speed at which the HMI communicates with the device. 37 +* Continuous Length: Default value 0 means the maximum length specified by each protocol. Addresses dealt by Maximum Span settings, its read length for single time, if the Continouous Length is 1, which means it will read/write the every register one by one. If the length of Maximum Span is greater than or equal to the Continuous Length, the continuous read/write will be performed in groups according to Continuous Length. 38 +* Maximum Span: Set the interval for reading PLC addresses. If there exists two same register type addresses, their interval is less than the set value of Maximum Span, then they will be integrated into a continuous address, otherwise it will be divide into two independent addresses. 33 33 34 -Receive Timeout(ms): The longest waiting interval between the HMI receiving two characters. 35 - 36 -Retry Count: The number of retries when there is no response in the communication between HMI and PLC. 37 - 38 -Retry Timeout(s): The PLC will not be accessed during the Retry Timeout period when there is no response in the communication between HMI and PLC. 39 - 40 -Delay Time(ms): The speed at which the HMI communicates with the device. 41 - 42 -Continuous Length: Default value 0 means the maximum length specified by each protocol. Addresses dealt by Maximum Span settings, its read length for single time, if the Continouous Length is 1, which means it will read/write the every register one by one. If the length of Maximum Span is greater than or equal to the Continuous Length, the continuous read/write will be performed in groups according to Continuous Length. 43 - 44 -Maximum Span: Set the interval for reading PLC addresses. If there exists two same register type addresses, their interval is less than the set value of Maximum Span, then they will be integrated into a continuous address, otherwise it will be divide into two independent addresses. 45 - 46 46 **Operating Procedure** 47 47 48 - 1)After creating the [Quick_Start] project,select the [Project]->[Communication].42 +After creating the [Quick_Start] project,select the [Project]->[Communication]. 49 49 50 50 (% style="text-align:center" %) 51 51 [[image:12.PLC Protocol_html_39c0d342e4b1dd27.png||data-xwiki-image-style-alignment="center" height="128" width="294" class="img-thumbnail"]] 52 52 53 - 2)Click “Setting” to open protocol setting windows.47 +Click “Setting” to open protocol setting windows. 54 54 55 55 (% id="cke_bm_5533S" style="display:none" %) [[image:12.PLC Protocol_html_7b55815442c5544a.png||height="450" width="537"]] 56 56 57 - 3)Select communication protocol, users could select serial port, Ethernet port, CAN port or USB.51 +Select communication protocol, users could select serial port, Ethernet port, CAN port or USB. 58 58 59 59 * Serial port: 60 60 ... ... @@ -75,7 +75,7 @@ 75 75 76 76 (% id="cke_bm_5554S" style="display:none" %) [[image:12.PLC Protocol_html_a3105a98b48fb9b7.png||height="242" width="500"]] 77 77 78 - 4)About parameters for communication, PLC default communication parameters have been written to PIStudio, the user can adjust them according to the actual situation.72 +About parameters for communication, PLC default communication parameters have been written to PIStudio, the user can adjust them according to the actual situation. 79 79 80 80 * Serial port: 81 81 ... ... @@ -89,7 +89,7 @@ 89 89 (% style="text-align:center" %) 90 90 [[image:12.PLC Protocol_html_eebfc6b1337ea860.png||data-xwiki-image-style-alignment="center" height="207" width="600" class="img-thumbnail"]] 91 91 92 - 5)Click [OK] button to save settings and close the dialog;86 +Click [OK] button to save settings and close the dialog; 93 93 94 94 = **Allen-Bradley** = 95 95 ... ... @@ -107,19 +107,19 @@ 107 107 108 108 **PLC Setting** 109 109 110 - 1)Create new tags104 +Create new tags 111 111 112 112 (% style="text-align:center" %) 113 113 [[image:12.PLC Protocol_html_a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]] 114 114 115 - 2)Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])109 +Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments]) 116 116 117 117 (% style="text-align:center" %) 118 118 [[image:12.PLC Protocol_html_151379170bb8ff3e.png||data-xwiki-image-style-alignment="center" height="352" width="700" class="img-thumbnail"]] 119 119 120 - 3)Import labels, please open [Communication] window and click [Import label];114 +Import labels, please open [Communication] window and click [Import label]; 121 121 122 - 4)Select csv file, all tags will be displayed as belows;116 +Select csv file, all tags will be displayed as belows; 123 123 124 124 (% style="text-align:center" %) 125 125 [[image:12.PLC Protocol_html_af192e54dee96f38.png||data-xwiki-image-style-alignment="center" height="586" width="700" class="img-thumbnail"]] ... ... @@ -135,12 +135,12 @@ 135 135 136 136 **Communication settings in HMI** 137 137 138 - 1)Enable HMI Ethernet in [Project Settings];132 +Enable HMI Ethernet in [Project Settings]; 139 139 140 140 (% style="text-align:center" %) 141 141 [[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]] 142 142 143 - 2)Set PLC IP in [Device IP] settings;137 +Set PLC IP in [Device IP] settings; 144 144 145 145 (% style="text-align:center" %) 146 146 [[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]] ... ... @@ -194,17 +194,13 @@ 194 194 195 195 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. 196 196 197 -**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). 191 +* **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). 192 +* **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). 193 +* **Word address S:** The word address ranges from 0 to 255 (decimal). 194 +* **Word address TS:** The address ranges from 000.0 to ffff. The first and second f from left to right represents the block number (hexadecimal); The third and fourth f from left to right represent the word address (hexadecimal). 198 198 199 -**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). 200 - 201 -**Word address S:** The word address ranges from 0 to 255 (decimal). 202 - 203 -**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). 204 - 205 205 **✎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. 206 206 207 - 208 208 |(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 209 209 |(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15 210 210 |(% style="width:393px" %)O|(% style="width:350px" %)dd.dd|(% style="width:333px" %)O 0.0 ~~ 255.15 ... ... @@ -233,14 +233,14 @@ 233 233 234 234 **Operating Procedures** 235 235 236 - 1)Select [Barcode Scanner];226 +Select [Barcode Scanner]; 237 237 238 238 (% style="text-align:center" %) 239 239 [[image:12.PLC Protocol_html_55a3056357320966.png||data-xwiki-image-style-alignment="center" height="266" width="600" class="img-thumbnail"]] 240 240 241 - 2)Set address for receiving;231 +Set address for receiving; 242 242 243 - 3)Set correct length;233 +Set correct length; 244 244 245 245 (% style="text-align:center" %) 246 246 [[image:12.PLC Protocol_html_30a4c9e9dd4db40b.png||data-xwiki-image-style-alignment="center" height="701" width="500" class="img-thumbnail"]] ... ... @@ -247,12 +247,10 @@ 247 247 248 248 **✎Note:** 249 249 250 -1) The protocol uploads the information acquired by the USB scanner to the HMI; 240 +* The protocol uploads the information acquired by the USB scanner to the HMI; 241 +* The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object; 242 +* Recommended model: DELI 14880 barcode scanner; 251 251 252 -2) The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object; 253 - 254 -3) Recommended model: DELI 14880 barcode scanner; 255 - 256 256 = **Hitachi EHV Series (Ethernet)** = 257 257 258 258 Supported series: Hitachi EHV series ... ... @@ -324,12 +324,12 @@ 324 324 325 325 **Communication settings in HMI** 326 326 327 - 1)Enable HMI Ethernet in [Project Settings];315 +Enable HMI Ethernet in [Project Settings]; 328 328 329 329 (% style="text-align:center" %) 330 330 [[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 331 331 332 - 2)Set PLC IP in [Device IP] settings;320 +Set PLC IP in [Device IP] settings; 333 333 334 334 (% style="text-align:center" %) 335 335 [[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] ... ... @@ -336,12 +336,12 @@ 336 336 337 337 **PLC Configuration** 338 338 339 - 1)Connect with PLC, select[Online mode];327 +Connect with PLC, select[Online mode]; 340 340 341 341 (% style="text-align:center" %) 342 342 [[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]] 343 343 344 - 2)Set IP address, it is the same LAN parameters with HMI;332 +Set IP address, it is the same LAN parameters with HMI; 345 345 346 346 (% style="text-align:center" %) 347 347 [[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]] ... ... @@ -350,22 +350,22 @@ 350 350 351 351 **PLC Monitor Mode** 352 352 353 - 1)Connect with PLC and choose to “online” mode341 +Connect with PLC and choose to “online” mode 354 354 355 355 (% style="text-align:center" %) 356 356 [[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]] 357 357 358 - 2)Open I/O monitor sheet1346 +Open I/O monitor sheet1 359 359 360 360 (% style="text-align:center" %) 361 361 [[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]] 362 362 363 - 3)During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected351 +During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected 364 364 365 365 (% style="text-align:center" %) 366 366 [[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]] 367 367 368 - 4)Enter the register address, click OK to view the value of the register.356 +Enter the register address, click OK to view the value of the register. 369 369 370 370 (% style="text-align:center" %) 371 371 [[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]] ... ... @@ -375,10 +375,9 @@ 375 375 376 376 **✎Note:** 377 377 378 -1) Both word registers and bit registers support even continuous read/write functions; 366 +* Both word registers and bit registers support even continuous read/write functions; 367 +* The range of registers is based on the specific PLC type; 379 379 380 -2) The range of registers is based on the specific PLC type; 381 - 382 382 **Cable Wiring** 383 383 384 384 (% style="text-align:center" %) ... ... @@ -431,18 +431,18 @@ 431 431 (% style="text-align:center" %) 432 432 [[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]] 433 433 434 - 1)Extended tag name421 +Extended tag name 435 435 436 - 2)Address range for the extended tag.423 +Address range for the extended tag. 437 437 438 438 **Communication Settings** 439 439 440 - 1)Enable HMI Ethernet in [Project Settings];427 +Enable HMI Ethernet in [Project Settings]; 441 441 442 442 (% style="text-align:center" %) 443 443 [[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 444 444 445 - 2)Set PLC IP in [Device IP] settings;432 +Set PLC IP in [Device IP] settings; 446 446 447 447 (% style="text-align:center" %) 448 448 [[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]] ... ... @@ -485,20 +485,18 @@ 485 485 486 486 **✎Note:** 487 487 488 -1) In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC; 475 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC; 476 +* 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; 477 +* All bit registers are in the form of bits in word, and the range is the same as the word register; 489 489 490 -2) 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; 491 - 492 -3) All bit registers are in the form of bits in word, and the range is the same as the word register; 493 - 494 494 **Communication settings in HMI** 495 495 496 - 1)Enable HMI Ethernet in [Project Settings];481 +Enable HMI Ethernet in [Project Settings]; 497 497 498 498 (% style="text-align:center" %) 499 499 [[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 500 500 501 - 2)Set PLC IP in [Device IP] settings;486 +Set PLC IP in [Device IP] settings; 502 502 503 503 (% style="text-align:center" %) 504 504 [[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]] ... ... @@ -545,7 +545,7 @@ 545 545 546 546 **Cable Wiring** 547 547 548 -* *1)RS485**533 +* **RS485** 549 549 550 550 (% style="text-align:center" %) 551 551 [[image:12.PLC Protocol_html_d4012bdeb4ce4aae.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] ... ... @@ -553,15 +553,13 @@ 553 553 (% style="text-align:center" %) 554 554 [[image:12.PLC Protocol_html_4bf57ad8d44eacc4.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 555 555 556 -** 2)RS422**541 +* **RS422** 557 557 558 558 (% style="text-align:center" %) 559 559 [[image:12.PLC Protocol_html_f8a6bebc5792960d.png||data-xwiki-image-style-alignment="center" height="253" width="402" class="img-thumbnail"]] 560 560 561 -**✎Note:** 546 +**✎Note:** COM3 only available in PI8000/PI9000 series. 562 562 563 -COM3 only available in PI8000/PI9000 series. 564 - 565 565 == **FX5U Ethernet** == 566 566 567 567 Mitsubishi FX5U series PLC ... ... @@ -606,32 +606,32 @@ 606 606 607 607 **PLC Settings (GX Works 3)** 608 608 609 - 1)Find the [Ethernet port] in the navigation area.592 +Find the [Ethernet port] in the navigation area. 610 610 611 611 (% style="text-align:center" %) 612 612 [[image:12.PLC Protocol_html_8e8f85ace087346c.png||data-xwiki-image-style-alignment="center" height="593" width="300" class="img-thumbnail"]] 613 613 614 - 2)Select [Own Node Settings] in the [Setting Item List];597 +Select [Own Node Settings] in the [Setting Item List]; 615 615 616 - 3)Set [IP Address], [Subnet Mask], [Default Gateway];599 +Set [IP Address], [Subnet Mask], [Default Gateway]; 617 617 618 - 4)Click [Detailed Settings] into [Ethernet Configuration (Built-in Ethernet Port)] windows;601 +Click [Detailed Settings] into [Ethernet Configuration (Built-in Ethernet Port)] windows; 619 619 620 620 (% style="text-align:center" %) 621 621 [[image:12.PLC Protocol_html_5d98495052c8c10e.png||data-xwiki-image-style-alignment="center" height="339" width="600" class="img-thumbnail"]] 622 622 623 - 5)Select [SLMP Connection Module] and add into host station as below picture shows;606 +Select [SLMP Connection Module] and add into host station as below picture shows; 624 624 625 - 6)Set Port number as 5002 (this is necessary settings);608 +Set Port number as 5002 (this is necessary settings); 626 626 627 - 7)Click [Close with Reflecting the Setting] to save and close window;610 +Click [Close with Reflecting the Setting] to save and close window; 628 628 629 629 (% style="text-align:center" %) 630 630 [[image:12.PLC Protocol_html_14b489fdc6c6589d.png||data-xwiki-image-style-alignment="center" height="350" width="600" class="img-thumbnail"]] 631 631 632 - 8)Click [Apply] to completed Etherenet settings;615 +Click [Apply] to completed Etherenet settings; 633 633 634 - 9)Switch to the [On line data operation] interface as below, check the item and click [Execute] to download.617 +Switch to the [On line data operation] interface as below, check the item and click [Execute] to download. 635 635 636 636 (% style="text-align:center" %) 637 637 [[image:12.PLC Protocol_html_c93025a968a8a9e7.png||data-xwiki-image-style-alignment="center" height="434" width="600" class="img-thumbnail"]] ... ... @@ -688,37 +688,37 @@ 688 688 689 689 **PLC Settings (GX Works 3)** 690 690 691 - 1)Create a blank FX5U project674 +Create a blank FX5U project 692 692 693 - 2)Find the 485 serial port module in the system navigation bar and double click to enter the settings.676 +Find the 485 serial port module in the system navigation bar and double click to enter the settings. 694 694 695 695 (% style="text-align:center" %) 696 696 [[image:12.PLC Protocol_html_5c9cb13fac1e6c93.png||data-xwiki-image-style-alignment="center" height="462" width="200" class="img-thumbnail"]] 697 697 698 - 3)Select protocol in the setting item, and set parameters.681 +Select protocol in the setting item, and set parameters. 699 699 700 700 (% style="text-align:center" %) 701 701 [[image:12.PLC Protocol_html_de942589ca070228.png||data-xwiki-image-style-alignment="center" height="324" width="600" class="img-thumbnail"]] 702 702 703 - 4)Set station number, and [Message Pattern] (Pattern 1 or Pattern 4)686 +Set station number, and [Message Pattern] (Pattern 1 or Pattern 4) 704 704 705 705 (% style="text-align:center" %) 706 706 [[image:12.PLC Protocol_html_387ec7d00b5feb59.png||data-xwiki-image-style-alignment="center" height="323" width="600" class="img-thumbnail"]] 707 707 708 - 5)Click the [Apply] button to finish the setting.691 +Click the [Apply] button to finish the setting. 709 709 710 - 6)Click download and select the items as below, then click [execute] to download the configuration to PLC.693 +Click download and select the items as below, then click [execute] to download the configuration to PLC. 711 711 712 712 (% style="text-align:center" %) 713 713 [[image:12.PLC Protocol_html_cdef1c5ec8cc2105.png||data-xwiki-image-style-alignment="center" height="434" width="600" class="img-thumbnail"]] 714 714 715 - 7)As soon as download is completed, connect PLC with serial port, then configure it in the [Specify Connection Destination Connection].698 + As soon as download is completed, connect PLC with serial port, then configure it in the [Specify Connection Destination Connection]. 716 716 717 - 8)Done.700 +Done. 718 718 719 719 **Cable Wiring** 720 720 721 -* *1)RS485**704 +* **RS485** 722 722 723 723 (% style="text-align:center" %) 724 724 [[image:12.PLC Protocol_html_d4012bdeb4ce4aae.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] ... ... @@ -726,15 +726,13 @@ 726 726 (% style="text-align:center" %) 727 727 [[image:12.PLC Protocol_html_4bf57ad8d44eacc4.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 728 728 729 -* *2)RS422**712 +* **RS422** 730 730 731 731 (% style="text-align:center" %) 732 732 [[image:12.PLC Protocol_html_f8a6bebc5792960d.png||data-xwiki-image-style-alignment="center" height="253" width="402" class="img-thumbnail"]] 733 733 734 -**✎Note:** 717 +**✎Note:** COM3 only available in PI8000/PI9000 series. 735 735 736 -COM3 only available in PI8000/PI9000 series. 737 - 738 738 == **L02 MELSEC (Ethernet)** == 739 739 740 740 Mitsubishi Q series CPU built-in Ethernet port. ... ... @@ -784,11 +784,11 @@ 784 784 785 785 **Communication Settings** 786 786 787 - 1)Enable HMI Ethernet in [Project Settings];768 +Enable HMI Ethernet in [Project Settings]; 788 788 789 789 (% id="cke_bm_7504S" style="display:none" %) [[image:12.PLC Protocol_html_43b671f18153910d.png||height="107" width="405"]] 790 790 791 - 2)Set PLC IP in [Device IP] settings;772 +Set PLC IP in [Device IP] settings; 792 792 793 793 (% style="text-align:center" %) 794 794 [[image:12.PLC Protocol_html_38189fae42f6caa7.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]] ... ... @@ -795,25 +795,25 @@ 795 795 796 796 **PLC Settings (GX Works2 )** 797 797 798 - 1)Create a project779 +Create a project 799 799 800 - 2)Set PLC IP, subnet mask and gateway;781 +Set PLC IP, subnet mask and gateway; 801 801 802 - 3)Select [Binary Code] as communication data code;783 +Select [Binary Code] as communication data code; 803 803 804 804 (% style="text-align:center" %) 805 805 [[image:12.PLC Protocol_html_776e17505f3fc6c0.png||data-xwiki-image-style-alignment="center" height="524" width="600" class="img-thumbnail"]] 806 806 807 - 4)Set PLC port number, for example 1025788 +Set PLC port number, for example 1025 808 808 809 809 (% style="text-align:center" %) 810 810 [[image:12.PLC Protocol_html_8d0d1a22d388f70b.png||data-xwiki-image-style-alignment="center" height="524" width="600" class="img-thumbnail"]] 811 811 812 - 5)Save settings;793 +Save settings; 813 813 814 - 6)Download project into PLC device;795 +Download project into PLC device; 815 815 816 - 7)Restart PLC device;797 +Restart PLC device; 817 817 818 818 **Cable Wiring** 819 819 ... ... @@ -879,42 +879,22 @@ 879 879 880 880 **PLC Settings(GX Works2)** 881 881 882 -1) Click [Ethernet/CC IE/MELSECNET]; 863 +* Click [Ethernet/CC IE/MELSECNET]; 864 +* Please select [Ethernet] as network type; 865 +* Set station I/O number according to situation (For example, 0000 means that the module is connected to PLC CPU in first order); 866 +* Select [Online] as Mode;(% id="cke_bm_8449S" style="display:none" %) [[image:12.PLC Protocol_html_acd084d845da380e.png||height="300" width="554"]] 867 +* Click [Operation setting] to set IP; 868 +* Select [Binary Code] as [Communication Data Code];(% id="cke_bm_8474S" style="display:none" %) [[image:12.PLC Protocol_html_a972e671d2bb9150.png||height="304" width="553"]] 869 +* Set protocol: TCP; 870 +* Set [unpassive] in [Open system]; 871 +* Set [receive] in [Fixed buffer]; 872 +* Set [procedure Exist] in [Fixed buffer communication]; 873 +* Disable [Pairing open]; 874 +* Set [No confirm] in [Existence confirmation]; 875 +* Host station port number: 1025; 876 +* (% id="cke_bm_8547S" style="display:none" %) [[image:12.PLC Protocol_html_f2c432006cdd2f9.png||height="220" width="553"]](%%)Save settings; 877 +* Download project into PLC and restart it 883 883 884 -2) Please select [Ethernet] as network type; 885 - 886 -3) Set station I/O number according to situation (For example, 0000 means that the module is connected to PLC CPU in first order); 887 - 888 -4) Select [Online] as Mode; 889 - 890 -(% id="cke_bm_8449S" style="display:none" %) [[image:12.PLC Protocol_html_acd084d845da380e.png||height="300" width="554"]] 891 - 892 -5) Click [Operation setting] to set IP; 893 - 894 -6) Select [Binary Code] as [Communication Data Code]; 895 - 896 -(% id="cke_bm_8474S" style="display:none" %) [[image:12.PLC Protocol_html_a972e671d2bb9150.png||height="304" width="553"]] 897 - 898 -7) Set protocol: TCP; 899 - 900 -8) Set [unpassive] in [Open system]; 901 - 902 -9) Set [receive] in [Fixed buffer]; 903 - 904 -10) Set [procedure Exist] in [Fixed buffer communication]; 905 - 906 -11) Disable [Pairing open]; 907 - 908 -12) Set [No confirm] in [Existence confirmation]; 909 - 910 -13) Host station port number: 1025; 911 - 912 -(% id="cke_bm_8547S" style="display:none" %) [[image:12.PLC Protocol_html_f2c432006cdd2f9.png||height="220" width="553"]] 913 - 914 -14) Save settings; 915 - 916 -15) Download project into PLC and restart it 917 - 918 918 **Cable Wiring** 919 919 920 920 (% style="text-align:center" %) ... ... @@ -960,7 +960,7 @@ 960 960 961 961 **Cable Wiring** 962 962 963 -* *1)RS485**924 +* **RS485** 964 964 965 965 (% style="text-align:center" %) 966 966 [[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] ... ... @@ -968,17 +968,15 @@ 968 968 (% style="text-align:center" %) 969 969 [[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 970 970 971 -* *2)RS232**932 +* **RS232** 972 972 973 973 (% style="text-align:center" %) 974 974 [[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]] 975 975 976 -**✎Note:** 937 +**✎Note:** COM3 only available in PI8000/PI9000 series. 977 977 978 - COM3onlyavailableinPI8000/PI9000series.939 +== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** == 979 979 980 -== **{{id name="_Toc30118"/}}MODBUS RTU Slave (All function)/(All function OneBaseAddress)** == 981 - 982 982 Supported Series: MODBUS RTU CONTROLLER 983 983 984 984 HMI works as MODBUS MASTER connecting with SLAVE. ... ... @@ -1037,10 +1037,9 @@ 1037 1037 1038 1038 **✎Note:** 1039 1039 1040 -Modbus can also support getting bit from the word, which could access the address such as 100.1 and other formats. 999 +* Modbus can also support getting bit from the word, which could access the address such as 100.1 and other formats. 1000 +* The function codes sent out are the same as those that read and write words. 1041 1041 1042 -The function codes sent out are the same as those that read and write words. 1043 - 1044 1044 **Station number for more than one slaves** 1045 1045 1046 1046 If there are more than one slaves connected to HMI, please set slave station number during editing address, as below shows. ... ... @@ -1050,7 +1050,7 @@ 1050 1050 1051 1051 **Cable Wiring** 1052 1052 1053 -* *1)RS485**1011 +* **RS485** 1054 1054 1055 1055 (% style="text-align:center" %) 1056 1056 [[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] ... ... @@ -1058,17 +1058,15 @@ 1058 1058 (% style="text-align:center" %) 1059 1059 [[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 1060 1060 1061 -* *2)RS232**1019 +* **RS232** 1062 1062 1063 1063 (% style="text-align:center" %) 1064 1064 [[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]] 1065 1065 1066 -**✎Note:** 1024 +**✎Note:** COM3 only available in PI8000/PI9000 series. 1067 1067 1068 - COM3onlyavailableinPI8000/PI9000 series.1026 +== **MODBUS TCP Slave (All function)** == 1069 1069 1070 -== **{{id name="_Toc16172"/}}MODBUS TCP Slave (All function)** == 1071 - 1072 1072 Supported series: MODBUS TCP controller 1073 1073 1074 1074 HMI works as MODBUS TCP MASTER connecting with TCP SLAVE ... ... @@ -1121,12 +1121,12 @@ 1121 1121 1122 1122 **Communication Settings** 1123 1123 1124 - 1)Enable HMI Ethernet in [Project Settings];1080 +Enable HMI Ethernet in [Project Settings]; 1125 1125 1126 1126 (% style="text-align:center" %) 1127 1127 [[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 1128 1128 1129 - 2)Set PLC IP in [Device IP] settings;1085 +Set PLC IP in [Device IP] settings; 1130 1130 1131 1131 (% style="text-align:center" %) 1132 1132 [[image:12.PLC Protocol_html_4bd3cc8348adecf8.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] ... ... @@ -1167,7 +1167,7 @@ 1167 1167 1168 1168 **Device Settings** 1169 1169 1170 - 1)Omron E5CC PLC configuration1126 +Omron E5CC PLC configuration 1171 1171 1172 1172 After entering the Communication Settings menu, please set the parameters to the default values for the following table. Press the cycle key of the instrument to enter the next setting. 1173 1173 ... ... @@ -1174,15 +1174,13 @@ 1174 1174 (% style="text-align:center" %) 1175 1175 [[image:12.PLC Protocol_html_3d95e093792ba98a.png||data-xwiki-image-style-alignment="center" height="229" width="550" class="img-thumbnail"]] 1176 1176 1177 - 2)According to PLC configuration and communication port configuration information of the HMI, provide the corresponding steps and configuration screenshots. This configuration needs to communicate properly with the above PLC configuration. The project settings are as follows1133 +According to PLC configuration and communication port configuration information of the HMI, provide the corresponding steps and configuration screenshots. This configuration needs to communicate properly with the above PLC configuration. The project settings are as follows 1178 1178 1179 1179 (% style="text-align:center" %) 1180 1180 [[image:12.PLC Protocol_html_be583aa69dd6cf4c.png||data-xwiki-image-style-alignment="center" height="242" width="550" class="img-thumbnail"]] 1181 1181 1182 -**✎Note:** 1138 +**✎Note:** The communication settings for HMI should be consistent with this setting. 1183 1183 1184 -The communication settings for HMI should be consistent with this setting. 1185 - 1186 1186 **Cable Wiring** 1187 1187 1188 1188 (% style="text-align:center" %) ... ... @@ -1193,28 +1193,18 @@ 1193 1193 1194 1194 **✎Note:** 1195 1195 1196 -1) COM3 only available in PI8000/PI9000 series. 1150 +* COM3 only available in PI8000/PI9000 series. 1151 +* CA address could not support continuous writing function; 1152 +* Because of CP address intrinsic property: read control intrinsic property, so please place the character input part in use. Set address with CP0 and character length 10, used to display controller type. And place a number input part, set address with CP5 (cache size). Do not place other CP type address without CP0 in screen, otherwise CP type address is invalid 1153 +* When set value into read & write address, it is necessary to switch the temperature instrument meter to the corresponding interface according to the menu of the instrument where the address locates, so that the value could be written, otherwise, the value could not be written; When the communication write setting of the instrument is turned off, the writing function is invalid. Writing function could be opened by using the 00 address of the CA register, which write 01 value. 1154 +* When continuous writing of a value to a read-write address, please make sure all continuous writing address could be written. Otherwise, if one of these addresses could not be written, then all continuous writing commands will fail. 1155 +* Because of the mechanism problem, this protocol could not support CompoWay/F function that is read-write function of variables in protocol document. 1156 +* When using double-word address, set the data format to 32 bits, otherwise the read/write function is unable. 1157 +* Please set the communication delay time of 10ms in setting, to avoid that the instrument may not be able to communicate in a short time due to too fast data access and too much connection requests. 1158 +* (% id="cke_bm_8690S" style="display:none" %) [[image:12.PLC Protocol_html_d428cad280fdefb3.png||height="276" width="347"]](%%)Because of the particularity of the instrument, it is necessary to write the value of the address in the menu interface corresponding to the address, and to enter the menu where the address locates, so that the value could be written. 1197 1197 1198 - 2)CA address could not support continuouswriting function;1160 +== EtherNet/IP NX series == 1199 1199 1200 -3) Because of CP address intrinsic property: read control intrinsic property, so please place the character input part in use. Set address with CP0 and character length 10, used to display controller type. And place a number input part, set address with CP5 (cache size). Do not place other CP type address without CP0 in screen, otherwise CP type address is invalid 1201 - 1202 -4) When set value into read & write address, it is necessary to switch the temperature instrument meter to the corresponding interface according to the menu of the instrument where the address locates, so that the value could be written, otherwise, the value could not be written; When the communication write setting of the instrument is turned off, the writing function is invalid. Writing function could be opened by using the 00 address of the CA register, which write 01 value. 1203 - 1204 -5) When continuous writing of a value to a read-write address, please make sure all continuous writing address could be written. Otherwise, if one of these addresses could not be written, then all continuous writing commands will fail. 1205 - 1206 -6) Because of the mechanism problem, this protocol could not support CompoWay/F function that is read-write function of variables in protocol document. 1207 - 1208 -7) When using double-word address, set the data format to 32 bits, otherwise the read/write function is unable. 1209 - 1210 -8) Please set the communication delay time of 10ms in setting, to avoid that the instrument may not be able to communicate in a short time due to too fast data access and too much connection requests. 1211 - 1212 -(% id="cke_bm_8690S" style="display:none" %) [[image:12.PLC Protocol_html_d428cad280fdefb3.png||height="276" width="347"]] 1213 - 1214 -9) Because of the particularity of the instrument, it is necessary to write the value of the address in the menu interface corresponding to the address, and to enter the menu where the address locates, so that the value could be written. 1215 - 1216 -== **{{id name="_Toc5393"/}}EtherNet/IP NX series** == 1217 - 1218 1218 Supported series: Omron NX/NJ series 1219 1219 1220 1220 **HMI Setting** ... ... @@ -1237,24 +1237,24 @@ 1237 1237 1238 1238 **Export labels from Sysmac Studio** 1239 1239 1240 - 1)Launch Sysmac Studio, under Global Variables create the address labels, and thenselect [Tools] -> [Export Global Variables];1184 +Launch Sysmac Studio, under Global Variables create the address labels, and thenselect [Tools] -> [Export Global Variables]; 1241 1241 1242 1242 (% style="text-align:center" %) 1243 1243 [[image:12.PLC Protocol_html_26f91dee66c723e9.png||data-xwiki-image-style-alignment="center" height="276" width="600" class="img-thumbnail"]] 1244 1244 1245 - 2)Launch PIStudio, in [Communication] Settings add Omron NX Ethernet/IP protocol;1189 +Launch PIStudio, in [Communication] Settings add Omron NX Ethernet/IP protocol; 1246 1246 1247 - 3)Click [Label manage];1191 +Click [Label manage]; 1248 1248 1249 1249 (% style="text-align:center" %) 1250 1250 [[image:12.PLC Protocol_html_cd38d2d0c5187f6b.png||data-xwiki-image-style-alignment="center" height="276" width="600" class="img-thumbnail"]] 1251 1251 1252 - 4)Click [Import labels] and then select the file exported in step 1;1196 +Click [Import labels] and then select the file exported in step 1; 1253 1253 1254 1254 (% style="text-align:center" %) 1255 1255 [[image:12.PLC Protocol_html_52bd5da678bef9b4.png||data-xwiki-image-style-alignment="center" height="403" width="600" class="img-thumbnail"]] 1256 1256 1257 - 5)The Import Status field shows the result, click [OK] to finish importing address labels;1201 +The Import Status field shows the result, click [OK] to finish importing address labels; 1258 1258 1259 1259 (% style="text-align:center" %) 1260 1260 [[image:12.PLC Protocol_html_7f0465a589b98912.png||data-xwiki-image-style-alignment="center" height="291" width="600" class="img-thumbnail"]] ... ... @@ -1261,12 +1261,12 @@ 1261 1261 1262 1262 **Communication Settings** 1263 1263 1264 - 1)Enable HMI Ethernet in [Project Settings];1208 +Enable HMI Ethernet in [Project Settings]; 1265 1265 1266 1266 (% style="text-align:center" %) 1267 1267 [[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 1268 1268 1269 - 2)Set PLC IP in [Device IP] settings;1213 +Set PLC IP in [Device IP] settings; 1270 1270 1271 1271 (% style="text-align:center" %) 1272 1272 [[image:12.PLC Protocol_html_437cb087b36b5784.png||data-xwiki-image-style-alignment="center" height="330" width="600" class="img-thumbnail"]] ... ... @@ -1296,12 +1296,12 @@ 1296 1296 1297 1297 **CAN frame setting in HMI** 1298 1298 1299 - 1)Click [OpenCAN setting] button in communication setting window;1243 +Click [OpenCAN setting] button in communication setting window; 1300 1300 1301 1301 (% style="text-align:center" %) 1302 1302 [[image:12.PLC Protocol_html_e866b9e56e19785d.png||data-xwiki-image-style-alignment="center" height="503" width="600" class="img-thumbnail"]] 1303 1303 1304 - 2)Click [Add] to create a new frame;1248 +Click [Add] to create a new frame; 1305 1305 1306 1306 (% style="text-align:center" %) 1307 1307 [[image:12.PLC Protocol_html_3a6f4e2141763c8f.png||data-xwiki-image-style-alignment="center" height="315" width="600" class="img-thumbnail"]] ... ... @@ -1318,19 +1318,19 @@ 1318 1318 |8|Browse|Displays configuration files in XML format in IE 1319 1319 |9|OK|Complete the configuration of the frame and exit 1320 1320 1321 - 3)Set CANBUS frame in setting windows1265 +Set CANBUS frame in setting windows 1322 1322 1323 1323 (% style="text-align:center" %) 1324 1324 [[image:12.PLC Protocol_html_7c83130820321ef.png||data-xwiki-image-style-alignment="center" height="507" width="600" class="img-thumbnail"]] 1325 1325 1326 1326 (% class="table-bordered" %) 1327 -|**No**|**Items**|**Description** 1328 -|1|ID|Set the ID of a can frame in hexadecimal format; 1329 -|2|ID assign|split the ID by PF, PS, and SA; 1330 -|3|Frame type|Select Standard frame or Extended Frame; 1331 -|4|Frame format|Select between data frame and remote Frame; 1332 -|5|Data|Set the data part of CAN frame, with two Numbers representing a hexadecimal number and Spaces spaced; Maximum support of 8 bytes is defined according to CAN message; 1333 -|6|Use address|((( 1271 +|**No**|(% style="width:185px" %)**Items**|(% style="width:854px" %)**Description** 1272 +|1|(% style="width:185px" %)ID|(% style="width:854px" %)Set the ID of a can frame in hexadecimal format; 1273 +|2|(% style="width:185px" %)ID assign|(% style="width:854px" %)split the ID by PF, PS, and SA; 1274 +|3|(% style="width:185px" %)Frame type|(% style="width:854px" %)Select Standard frame or Extended Frame; 1275 +|4|(% style="width:185px" %)Frame format|(% style="width:854px" %)Select between data frame and remote Frame; 1276 +|5|(% style="width:185px" %)Data|(% style="width:854px" %)Set the data part of CAN frame, with two Numbers representing a hexadecimal number and Spaces spaced; Maximum support of 8 bytes is defined according to CAN message; 1277 +|6|(% style="width:185px" %)Use address|(% style="width:854px" %)((( 1334 1334 Set the register address related to the CAN frame, which corresponds to the register address set on the main state one by one. The data obtained from the address is assigned continuously; 1335 1335 1336 1336 **Edit:** Set a bit or word address by its format; ... ... @@ -1337,46 +1337,46 @@ 1337 1337 1338 1338 **Option: **Set address options related to frame, enter “register address option” interface, specifically browse the following “register address option” interface; 1339 1339 ))) 1340 -|(% rowspan="8" %)7|(% rowspan="8" %)Data interactive configuration|There are two interactive modes of the touch screen. One is that the touch screen actively sends frames, and the device receives and processes and feeds back. The other, on the contrary, passively receives frames from the device for processing and feedback; 1341 -|Send after receiving: if this item is selected, the interaction of the touch screen will act as a passive party, and the touch screen will receive the CAN frame first and send feedback. Unchecked items interact in the opposite way; 1342 -|Feedback mode: feedback mode includes no response, confirm response and data response; 1343 -|No response: the device or touch screen will not receive feedback; 1344 -|Confirm response: the device or the touch screen will receive feedback with confirmation, which could be used to compare the data parts. If this function is used, the 20 addresses before and after this address should not be used. All addresses of cata10-cata30 could not be used with the reply confirmation function of cata20; 1345 -|Data response: the device or touch screen will receive feedback with data, and the data to be separated from the feedback frame should be set to store in the register address; 1346 -|response ID: if the address wants to receive data on a frame with a different ID, set this, check "different from sender", and enter a different ID in the following input box. Without this setting, the screen will receive and process a frame with the same ID as the sender; 1347 -|Response timeout: sets whether the response frame timeout; 1348 -|(% rowspan="3" %)8|(% rowspan="3" %)Control address|If ticked, enable sending when the value of the corresponding control bit number (address) is non-0. 1349 -|Control bit: CtrlBit register range 0~~255, if the control bit is ON, can instruction will run normally. Otherwise, it doesn't run; 1350 -|Manually send: a manually send tick indicates only one send; 1351 -|9|Flag configuration|Communication control for each frame. Display OFF when communication is normal, and ON when communication is abnormal; 1352 -|10|Note|Fill the text to explain the meaning of the frame; 1353 -|11|Data assign|Preview the display in this table based on the address and the corresponding number of digits; 1354 -|12|Current operation display|Display the description of current operation; 1355 -|13|Add|Add a new frame; 1356 -|14|Save frame|Save the configured frame format; 1357 -|15|Cancel|Cancel the frame configuration; 1284 +|(% rowspan="8" %)7|(% rowspan="8" style="width:185px" %)Data interactive configuration|(% style="width:854px" %)There are two interactive modes of the touch screen. One is that the touch screen actively sends frames, and the device receives and processes and feeds back. The other, on the contrary, passively receives frames from the device for processing and feedback; 1285 +|(% style="width:854px" %)Send after receiving: if this item is selected, the interaction of the touch screen will act as a passive party, and the touch screen will receive the CAN frame first and send feedback. Unchecked items interact in the opposite way; 1286 +|(% style="width:854px" %)Feedback mode: feedback mode includes no response, confirm response and data response; 1287 +|(% style="width:854px" %)No response: the device or touch screen will not receive feedback; 1288 +|(% style="width:854px" %)Confirm response: the device or the touch screen will receive feedback with confirmation, which could be used to compare the data parts. If this function is used, the 20 addresses before and after this address should not be used. All addresses of cata10-cata30 could not be used with the reply confirmation function of cata20; 1289 +|(% style="width:854px" %)Data response: the device or touch screen will receive feedback with data, and the data to be separated from the feedback frame should be set to store in the register address; 1290 +|(% style="width:854px" %)response ID: if the address wants to receive data on a frame with a different ID, set this, check "different from sender", and enter a different ID in the following input box. Without this setting, the screen will receive and process a frame with the same ID as the sender; 1291 +|(% style="width:854px" %)Response timeout: sets whether the response frame timeout; 1292 +|(% rowspan="3" %)8|(% rowspan="3" style="width:185px" %)Control address|(% style="width:854px" %)If ticked, enable sending when the value of the corresponding control bit number (address) is non-0. 1293 +|(% style="width:854px" %)Control bit: CtrlBit register range 0~~255, if the control bit is ON, can instruction will run normally. Otherwise, it doesn't run; 1294 +|(% style="width:854px" %)Manually send: a manually send tick indicates only one send; 1295 +|9|(% style="width:185px" %)Flag configuration|(% style="width:854px" %)Communication control for each frame. Display OFF when communication is normal, and ON when communication is abnormal; 1296 +|10|(% style="width:185px" %)Note|(% style="width:854px" %)Fill the text to explain the meaning of the frame; 1297 +|11|(% style="width:185px" %)Data assign|(% style="width:854px" %)Preview the display in this table based on the address and the corresponding number of digits; 1298 +|12|(% style="width:185px" %)Current operation display|(% style="width:854px" %)Display the description of current operation; 1299 +|13|(% style="width:185px" %)Add|(% style="width:854px" %)Add a new frame; 1300 +|14|(% style="width:185px" %)Save frame|(% style="width:854px" %)Save the configured frame format; 1301 +|15|(% style="width:185px" %)Cancel|(% style="width:854px" %)Cancel the frame configuration; 1358 1358 1359 - 4)Set CAN address (Read or write operation);1303 +Set CAN address (Read or write operation); 1360 1360 1361 1361 (% style="text-align:center" %) 1362 1362 [[image:12.PLC Protocol_html_7e9f9b25eb6ae8ce.png||data-xwiki-image-style-alignment="center" height="446" width="600" class="img-thumbnail"]] 1363 1363 1364 1364 (% class="table-bordered" %) 1365 -|**No.**|**Item**|**Description** 1366 -|1|Current address|Displays the register type and register address set by the user in the data access interface 1367 -|(% rowspan="3" %)2|(% rowspan="3" %)Trigger|Two operations, "read" and "write," are based on on-screen registers 1368 -|If "read" is selected, the register address is reading device data in a manner of sending frames set by the user in a loop. 1369 -|If "write" is selected, the screen data of the register address will be written into the device. The writing mode is that the user makes a write operation on the screen, which will trigger the sending of a frame set by the user. 1370 -|(% rowspan="5" %)3|(% rowspan="3" %)Data operation|The read and write operations in the trigger conditions are set accordingly. 1371 -|If the trigger condition is a read operation, this section needs to set the position and length of the data to be obtained at the current address in the frame. 1372 -|If the trigger condition is a writing operation, there are two situations:((( 1309 +|**No.**|(% style="width:207px" %)**Item**|(% style="width:829px" %)**Description** 1310 +|1|(% style="width:207px" %)Current address|(% style="width:829px" %)Displays the register type and register address set by the user in the data access interface 1311 +|(% rowspan="3" %)2|(% rowspan="3" style="width:207px" %)Trigger|(% style="width:829px" %)Two operations, "read" and "write," are based on on-screen registers 1312 +|(% style="width:829px" %)If "read" is selected, the register address is reading device data in a manner of sending frames set by the user in a loop. 1313 +|(% style="width:829px" %)If "write" is selected, the screen data of the register address will be written into the device. The writing mode is that the user makes a write operation on the screen, which will trigger the sending of a frame set by the user. 1314 +|(% rowspan="5" %)3|(% rowspan="3" style="width:207px" %)Data operation|(% style="width:829px" %)The read and write operations in the trigger conditions are set accordingly. 1315 +|(% style="width:829px" %)If the trigger condition is a read operation, this section needs to set the position and length of the data to be obtained at the current address in the frame. 1316 +|(% style="width:829px" %)If the trigger condition is a writing operation, there are two situations:((( 1373 1373 * If the "add writing data to the frame" option is not selected, the frame set by the user will be sent directly when the user writes on the screen. 1374 1374 * Select the "add the written data to the frame" option, and when the user writes on the screen, the program will insert the data in the frame set by the user and send the written data to the frame set by the user according to the data insertion position and length set by the user. 1375 1375 ))) 1376 -|(% rowspan="2" %)Position and length input format|If the register type is a bit address, the decimal point is required to represent the bits in the byte. For example, 1.1 represents the first bit of the first byte of 8 bytes in the data frame, and the length is in bits, and so on. 1377 -|If the register type is word address, the integer only needs to represent the byte, such as 1, which represents the first byte of 8-byte data in the data frame, and the unit of length is byte, and so on. 1378 -|4|Add|Add current configuration 1379 -|5|Close|Close the configuration window to exit 1320 +|(% rowspan="2" style="width:207px" %)Position and length input format|(% style="width:829px" %)If the register type is a bit address, the decimal point is required to represent the bits in the byte. For example, 1.1 represents the first bit of the first byte of 8 bytes in the data frame, and the length is in bits, and so on. 1321 +|(% style="width:829px" %)If the register type is word address, the integer only needs to represent the byte, such as 1, which represents the first byte of 8-byte data in the data frame, and the unit of length is byte, and so on. 1322 +|4|(% style="width:207px" %)Add|(% style="width:829px" %)Add current configuration 1323 +|5|(% style="width:207px" %)Close|(% style="width:829px" %)Close the configuration window to exit 1380 1380 1381 1381 **Multiple Packages Settings** 1382 1382 ... ... @@ -1383,15 +1383,15 @@ 1383 1383 (% style="text-align:center" %) 1384 1384 [[image:12.PLC Protocol_html_107e0f6b1a90afff.png||data-xwiki-image-style-alignment="center" height="341" width="600" class="img-thumbnail"]] 1385 1385 1386 - 1)Check [Multiple packages supported] to open [Multiple package data] window, as below show.1330 +Check [Multiple packages supported] to open [Multiple package data] window, as below show. 1387 1387 1388 - 2)Select Multiple package type1332 +Select Multiple package type 1389 1389 1390 1390 * Not Multiple packages 1391 1391 * J1939 Multiple packages 1392 1392 * Customized Multiple packages 1393 1393 1394 - 3)Click [Edit Receive data] for [Receive] settings1338 +Click [Edit Receive data] for [Receive] settings 1395 1395 1396 1396 * Start code+ Total length (J1939) 1397 1397 ... ... @@ -1421,7 +1421,7 @@ 1421 1421 1422 1422 As set above, It is received by the HMI, when the first frame starts with 0X57 0X1B, and the sum of the data lengths of multiple frames is equal to 79 bytes. 1423 1423 1424 - 4)Click [Edit Send data] for [Send] setting1368 +Click [Edit Send data] for [Send] setting 1425 1425 1426 1426 * J1939 1427 1427 ... ... @@ -1446,12 +1446,10 @@ 1446 1446 (% style="text-align:center" %) 1447 1447 [[image:12.PLC Protocol_html_fccede84efcbdc22.png||data-xwiki-image-style-alignment="center" height="111" width="391" class="img-thumbnail"]] 1448 1448 1449 -**✎Note:** 1393 +**✎Note:** The address interval between each frame need to be more than a word address; 1450 1450 1451 - Theaddressinterval between each frame need to be more than a word address;1395 += **SHIMADEN** = 1452 1452 1453 -= **{{id name="_Toc24639"/}}SHIMADEN** = 1454 - 1455 1455 == **FP23** == 1456 1456 1457 1457 Supported series: SHIMADEN FP23 series ... ... @@ -1486,22 +1486,17 @@ 1486 1486 1487 1487 **✎Note:** 1488 1488 1489 -1) The upper 2 bits of the address of the HMI register are taken as the sub address, and the real address is the last four bits (for example, if the address is 100256, then 10 is the sub address as 1, and 0256 is the real address); 1431 +* The upper 2 bits of the address of the HMI register are taken as the sub address, and the real address is the last four bits (for example, if the address is 100256, then 10 is the sub address as 1, and 0256 is the real address); 1432 +* The address range in the table is only divided by the start and end addresses, and some of the addresses in the range have no corresponding address in FP23; 1433 +* The Ctrl register is used to store the control group number and BCC check mode. 1490 1490 1491 -2) The address range in the table is only divided by the start and end addresses, and some of the addresses in the range have no corresponding address in FP23; 1492 - 1493 -3) The Ctrl register is used to store the control group number and BCC check mode. 1494 - 1495 1495 **Ctrl Register Description** 1496 1496 1497 -1) The Ctrl register is a special register that does not communicate with the temperature controller. User needs to assign value in the screen according to the settings as in the temperature controller. 1437 +* The Ctrl register is a special register that does not communicate with the temperature controller. User needs to assign value in the screen according to the settings as in the temperature controller. 1438 +* Ctrl0 indicates the setting of the control character, the valid values are 1, 2, 3 respectively, and the corresponding control group is: STX_ETX_CR , STX_ETX_CR LF and @_:_CR . 1439 +* Ctrl1 indicates the BCC block check mode. The valid value range is 1-4. The corresponding check mode is: 1.ADD, 2.ADD_two's cmp, 3.XOR, 4.None; 1440 +* Ctrl3 reserved 1498 1498 1499 -2) Ctrl0 indicates the setting of the control character, the valid values are 1, 2, 3 respectively, and the corresponding control group is: STX_ETX_CR , STX_ETX_CR LF and @_:_CR . 1500 - 1501 -3) Ctrl1 indicates the BCC block check mode. The valid value range is 1-4. The corresponding check mode is: 1.ADD, 2.ADD_two's cmp, 3.XOR, 4.None; 1502 - 1503 -4) Ctrl3 reserved 1504 - 1505 1505 **✎Note:** 1506 1506 1507 1507 After reloading the HMI project or restarting the HMI, HMI will reset the value of ctrl0 and ctrl1 as 1, so user need to set these two values to make it the same as it in the temperature controller, then communication will be normal. ... ... @@ -1514,10 +1514,8 @@ 1514 1514 (% style="text-align:center" %) 1515 1515 [[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 1516 1516 1517 -**✎Note:** 1454 +**✎Note:** COM3 only available in PI8000/PI9000 series. 1518 1518 1519 -COM3 only available in PI8000/PI9000 series. 1520 - 1521 1521 == **{{id name="_Toc23422"/}}SR90** == 1522 1522 1523 1523 Supported series: SHIMADEN SR90 series ... ... @@ -1546,22 +1546,17 @@ 1546 1546 1547 1547 **✎Note:** 1548 1548 1549 -1) The upper 2 bits of the address of HMIs are taken as the sub address, and the real address is the last four bits (for example, if the address is 100256, then 10 is the sub address as 1, and 0256 is the real address); 1484 +* The upper 2 bits of the address of HMIs are taken as the sub address, and the real address is the last four bits (for example, if the address is 100256, then 10 is the sub address as 1, and 0256 is the real address); 1485 +* The address range in the table is only divided by the start and end addresses, and some of the addresses in the range have no corresponding address in SR90; 1486 +* The Ctrl register is used to store the control group number and BCC check mode. See how to use it below; 1550 1550 1551 -2) The address range in the table is only divided by the start and end addresses, and some of the addresses in the range have no corresponding address in SR90; 1552 - 1553 -3) The Ctrl register is used to store the control group number and BCC check mode. See how to use it below; 1554 - 1555 1555 **Ctrl Register Description** 1556 1556 1557 -1) The Ctrl register is a special register that does not communicate with the temperature controller. User needs to assign value in the screen according to the settings as in the temperature controller. 1490 +* The Ctrl register is a special register that does not communicate with the temperature controller. User needs to assign value in the screen according to the settings as in the temperature controller. 1491 +* Ctrl0 indicates the setting of the control character, the valid values are 1, 2, 3 respectively, and the corresponding control group is: STX_ETX_CR , STX_ETX_CR LF and @_:_CR . 1492 +* Ctrl1 indicates the BCC block check mode. The valid value range is 1-4. The corresponding check mode is: 1.ADD, 2.ADD_two's cmp, 3.XOR, 4.None; 1493 +* Ctrl3 reserved 1558 1558 1559 -2) Ctrl0 indicates the setting of the control character, the valid values are 1, 2, 3 respectively, and the corresponding control group is: STX_ETX_CR , STX_ETX_CR LF and @_:_CR . 1560 - 1561 -3) Ctrl1 indicates the BCC block check mode. The valid value range is 1-4. The corresponding check mode is: 1.ADD, 2.ADD_two's cmp, 3.XOR, 4.None; 1562 - 1563 -4) Ctrl3 reserved 1564 - 1565 1565 **✎Note:** 1566 1566 1567 1567 After reloading the HMI project or restarting the HMI, HMI will reset the value of ctrl0 and ctrl1 as 1, so user need to set these two values to make it the same as it in the temperature controller, then communication will be normal. ... ... @@ -1574,10 +1574,8 @@ 1574 1574 (% style="text-align:center" %) 1575 1575 [[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 1576 1576 1577 -**✎Note:** 1507 +**✎Note:** COM3 only available in PI8000/PI9000 series. 1578 1578 1579 -COM3 only available in PI8000/PI9000 series. 1580 - 1581 1581 == **{{id name="_Toc22635"/}}MR13 series(standard protocol)** == 1582 1582 1583 1583 Supported series: SHIMADEN MR13 series ... ... @@ -1613,22 +1613,17 @@ 1613 1613 1614 1614 **✎Note:** 1615 1615 1616 -1) The upper 2 bits of the address of the HMI register are taken as the sub address, and the real address is the last four bits (for example, if the address is 100256, then 10 is the sub address as 1, and 0256 is the real address); 1544 +* The upper 2 bits of the address of the HMI register are taken as the sub address, and the real address is the last four bits (for example, if the address is 100256, then 10 is the sub address as 1, and 0256 is the real address); 1545 +* The address range in the table is only divided by the start and end addresses, and some of the addresses in the range have no corresponding address in MR13; 1546 +* The Ctrl register is used to store the control group number and BCC check mode. 1617 1617 1618 -2) The address range in the table is only divided by the start and end addresses, and some of the addresses in the range have no corresponding address in MR13; 1619 - 1620 -3) The Ctrl register is used to store the control group number and BCC check mode. 1621 - 1622 1622 **Ctrl Register Description** 1623 1623 1624 -1) The Ctrl register is a special register that does not communicate with the temperature controller. User needs to assign value in the screen according to the settings as in the temperature controller. 1550 +* The Ctrl register is a special register that does not communicate with the temperature controller. User needs to assign value in the screen according to the settings as in the temperature controller. 1551 +* Ctrl0 indicates the setting of the control character, the valid values are 1, 2, 3 respectively, and the corresponding control group is: STX_ETX_CR, STX_ETX_CR LF and @_:_CR . 1552 +* Ctrl1 indicates the BCC block check mode. The valid value range is 1-4. The corresponding check mode is: 1.ADD, 2.ADD_two's cmp, 3.XOR, 4.None; 1553 +* Ctrl3 reserved 1625 1625 1626 -2) Ctrl0 indicates the setting of the control character, the valid values are 1, 2, 3 respectively, and the corresponding control group is: STX_ETX_CR, STX_ETX_CR LF and @_:_CR . 1627 - 1628 -3) Ctrl1 indicates the BCC block check mode. The valid value range is 1-4. The corresponding check mode is: 1.ADD, 2.ADD_two's cmp, 3.XOR, 4.None; 1629 - 1630 -4) Ctrl3 reserved 1631 - 1632 1632 **✎Note:** 1633 1633 1634 1634 After reloading project or restarting the HMI, HMI will reset the value of ctrl0 and ctrl1 as 1, so user need to set these two values to make it the same as it in the temperature controller, then communication will be normal. ... ... @@ -1641,10 +1641,8 @@ 1641 1641 (% style="text-align:center" %) 1642 1642 [[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 1643 1643 1644 -**✎Note:** 1567 +**✎Note:** COM3 only available in PI8000/PI9000 series. 1645 1645 1646 -{{id name="_Toc15768"/}}COM3 only available in PI8000/PI9000 series. 1647 - 1648 1648 = **Siemens** = 1649 1649 1650 1650 == **S7-200 Smart Ethernet** == ... ... @@ -1714,12 +1714,12 @@ 1714 1714 1715 1715 **Communication Settings** 1716 1716 1717 - 1)Enable HMI Ethernet in [Project Settings];1638 +Enable HMI Ethernet in [Project Settings]; 1718 1718 1719 1719 (% style="text-align:center" %) 1720 1720 [[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 1721 1721 1722 - 2)Set PLC IP in [Device IP] settings;1643 +Set PLC IP in [Device IP] settings; 1723 1723 1724 1724 (% style="text-align:center" %) 1725 1725 [[image:12.PLC Protocol_html_70b0c4c2ee21b10d.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]] ... ... @@ -1790,12 +1790,12 @@ 1790 1790 1791 1791 **Communication Settings** 1792 1792 1793 - 1)Enable HMI Ethernet in [Project Settings];1714 +Enable HMI Ethernet in [Project Settings]; 1794 1794 1795 1795 (% style="text-align:center" %) 1796 1796 [[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 1797 1797 1798 - 2)Set PLC IP in [Device IP] settings;1719 +Set PLC IP in [Device IP] settings; 1799 1799 1800 1800 (% style="text-align:center" %) 1801 1801 [[image:12.PLC Protocol_html_910b1a0aa9e2201c.png||data-xwiki-image-style-alignment="center" height="188" width="554" class="img-thumbnail"]] ... ... @@ -1910,12 +1910,12 @@ 1910 1910 1911 1911 **Communication Settings** 1912 1912 1913 - 1)Enable HMI Ethernet in [Project Settings];1834 +Enable HMI Ethernet in [Project Settings]; 1914 1914 1915 1915 (% style="text-align:center" %) 1916 1916 [[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 1917 1917 1918 - 2)Set PLC IP in [Device IP] settings;1839 +Set PLC IP in [Device IP] settings; 1919 1919 1920 1920 (% style="text-align:center" %) 1921 1921 [[image:12.PLC Protocol_html_f7b3eb9abda33833.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] ... ... @@ -1922,59 +1922,53 @@ 1922 1922 1923 1923 **✎Note:** 1924 1924 1925 -1) The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. 1846 +* The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. 1847 +* HMI access PLC, use S7 protocol, access PLC TSAP 02.01 (s7-1200 PROFINET interface only supports three connections, the default support), detailed reference to the system manual of S7-1200. 1926 1926 1927 -2) HMI access PLC, use S7 protocol, access PLC TSAP 02.01 (s7-1200 PROFINET interface only supports three connections, the default support), detailed reference to the system manual of S7-1200. 1928 - 1929 1929 **PLC Settings** 1930 1930 1931 - 1)Add BD1851 +Add BD 1932 1932 1933 -Please uncheck [Symbolic access only] option; 1853 +* Please uncheck [Symbolic access only] option; 1934 1934 1935 1935 1936 1936 (% style="text-align:center" %) 1937 1937 [[image:12.PLC Protocol_html_643144c591994418.png||data-xwiki-image-style-alignment="center" height="546" width="550" class="img-thumbnail"]] 1938 1938 1939 - 2)Address settings, using BD2 as example.1859 +Address settings, using BD2 as example. 1940 1940 1941 -DB×DBB2xxxx, DB×DBW2xxxx, DB×DBD2xxxx for accessing data of DB2 in B1. 1861 +* DB×DBB2xxxx, DB×DBW2xxxx, DB×DBD2xxxx for accessing data of DB2 in B1. 1862 +* 2 represent DB block number 1863 +* xxxx represent address 1942 1942 1943 -2 represent DB block number 1944 - 1945 -xxxx represent address 1946 - 1947 1947 **Such as:** 1948 1948 1949 -DBxDBB20000 = DB2.DBB0 1867 +* DBxDBB20000 = DB2.DBB0 1868 +* DBxDBW20004 = DB2.DBW4 1950 1950 1951 -DBxDBW20004 = DB2.DBW4 1952 - 1953 1953 (% style="text-align:center" %) 1954 1954 [[image:12.PLC Protocol_html_87ceaea84d552e62.png||data-xwiki-image-style-alignment="center" height="245" width="537" class="img-thumbnail"]] 1955 1955 1956 1956 **How to connect with S7-1200 Firmware V4.0** 1957 1957 1958 - 1)PLC configuration1875 +PLC configuration 1959 1959 1960 -a) Double click [device configuration] in Siemens via software 1877 +* Double click [device configuration] in Siemens via software 1878 +* Double click [protection] to enter protection configuration screen 1961 1961 1962 -b) Double click [protection] to enter protection configuration screen 1963 - 1964 1964 (% style="text-align:center" %) 1965 1965 [[image:12.PLC Protocol_html_9779940d38da8e07.png||data-xwiki-image-style-alignment="center" height="426" width="341" class="img-thumbnail"]] 1966 1966 1967 - c)Check [Permit access with PUT / GET communication from remote partner (PLC, HMI, OPC, ...)]1883 +* Check [Permit access with PUT / GET communication from remote partner (PLC, HMI, OPC, ...)] 1968 1968 1969 1969 (% style="text-align:center" %) 1970 1970 [[image:12.PLC Protocol_html_d2c667b02f9720b1.png||data-xwiki-image-style-alignment="center" height="296" width="554" class="img-thumbnail"]] 1971 1971 1972 - 2)DB settings1888 +DB settings 1973 1973 1974 -Right click [DB], select [properties] 1890 +* Right click [DB], select [properties] 1891 +* Uncheck [optimized block access] 1975 1975 1976 -Uncheck [optimized block access] 1977 - 1978 1978 **Cable Wiring** 1979 1979 1980 1980 (% style="text-align:center" %) ... ... @@ -2015,22 +2015,22 @@ 2015 2015 2016 2016 **PLC Settings in LOGO Software:** 2017 2017 2018 - 1)Click [Tools]~-~-[Ethernet Connections],shown as below.1933 +Click [Tools]~-~-[Ethernet Connections],shown as below. 2019 2019 2020 2020 (% style="text-align:center" %) 2021 2021 [[image:12.PLC Protocol_html_8b9d2322edf89519.png||data-xwiki-image-style-alignment="center" height="641" width="423" class="img-thumbnail"]] 2022 2022 2023 - 2)Set Ethernet connection parameter. IP, Subnet Mask, shown as below.1938 +Set Ethernet connection parameter. IP, Subnet Mask, shown as below. 2024 2024 2025 2025 (% style="text-align:center" %) 2026 2026 [[image:12.PLC Protocol_html_6c4dd041b26cd8a1.png||data-xwiki-image-style-alignment="center" height="481" width="363" class="img-thumbnail"]] 2027 2027 2028 - 3)**TSAP set**:The value set by local TSAP is the remote TSAP set in HMI. PLC's remote TSAP is the opposite,shown as below.1943 +**TSAP set**:The value set by local TSAP is the remote TSAP set in HMI. PLC's remote TSAP is the opposite,shown as below. 2029 2029 2030 2030 (% style="text-align:center" %) 2031 2031 [[image:12.PLC Protocol_html_7af2611d3790a77d.png||data-xwiki-image-style-alignment="center" height="359" width="426" class="img-thumbnail"]] 2032 2032 2033 - 4)**Download Project**: Click "Address book" to add the IP address to be downloaded (fi."Detect" to check whether the IP address can be detected. Then click “ok”, and the system will prompt that PLC will be "STOP" mode. Click “YES” to start download.1948 +**Download Project**: Click "Address book" to add the IP address to be downloaded (fi."Detect" to check whether the IP address can be detected. Then click “ok”, and the system will prompt that PLC will be "STOP" mode. Click “YES” to start download. 2034 2034 2035 2035 (% style="text-align:center" %) 2036 2036 [[image:12.PLC Protocol_html_3243e4cd600595cc.png||data-xwiki-image-style-alignment="center" height="368" width="554" class="img-thumbnail"]] ... ... @@ -2042,41 +2042,36 @@ 2042 2042 2043 2043 **HMI Communication Settings** 2044 2044 2045 - 1)Set PLC IP in [Device IP] settings;1960 +Set PLC IP in [Device IP] settings; 2046 2046 2047 2047 (% style="text-align:center" %) 2048 2048 [[image:12.PLC Protocol_html_573fc64ad393cd4f.png||data-xwiki-image-style-alignment="center" height="655" width="379" class="img-thumbnail"]] 2049 2049 2050 2050 2051 - 2)Enable HMI Ethernet in [Project Settings];1966 +Enable HMI Ethernet in [Project Settings]; 2052 2052 2053 2053 (% style="text-align:center" %) 2054 2054 [[image:12.PLC Protocol_html_95917a3d92068467.png||data-xwiki-image-style-alignment="center" height="311" width="553" class="img-thumbnail"]] 2055 2055 2056 - 3)TSAP setting1971 +TSAP setting 2057 2057 2058 -Regarding the setting of PLC TSAP, HMI provides system special address for setting, it is recommended to run in HMI script initialization, write PLC TSAP to corresponding system special register. 1973 +* Regarding the setting of PLC TSAP, HMI provides system special address for setting, it is recommended to run in HMI script initialization, write PLC TSAP to corresponding system special register. 1974 +* HSW10118 = local TSAP of HMI, this is remote TSAP of PLC. 1975 +* HSW10119 = Remote TSAP of HMI, this is local TSAP of PLC. 2059 2059 2060 -HSW10118 = local TSAP of HMI, this is remote TSAP of PLC. 2061 - 2062 -HSW10119 = Remote TSAP of HMI, this is local TSAP of PLC. 2063 - 2064 2064 **✎Note:** 2065 2065 2066 - 1)The data of TSAP is hexadecimal format. For example: the remote TSAP configured in the PLC is set to 20.00, then HSW10118 should be set to 0x2000, that is, HSW10118 = 8192.1979 +* The data of TSAP is hexadecimal format. For example: the remote TSAP configured in the PLC is set to 20.00, then HSW10118 should be set to 0x2000, that is, HSW10118 = 8192. 2067 2067 2068 2068 (% style="text-align:center" %) 2069 2069 [[image:12.PLC Protocol_html_5c6374b21f46e01e.png||data-xwiki-image-style-alignment="center" height="139" width="498" class="img-thumbnail"]] 2070 2070 2071 2071 2072 -2) AI word address and Ibit address are read-only and cannot be written on HMI. 1985 +* AI word address and Ibit address are read-only and cannot be written on HMI. 1986 +* VW address should be even number.such as VW0, VW2, VW4... 1987 +* VD address it takes two VW addresses.such as VD0,VD4,VD8... 1988 +* Written value of RTC cannot exceed 255. 2073 2073 2074 -3) VW address should be even number.such as VW0, VW2, VW4... 2075 - 2076 -4) VD address it takes two VW addresses.such as VD0,VD4,VD8... 2077 - 2078 -5) Written value of RTC cannot exceed 255. 2079 - 2080 2080 **Cable Wiring** 2081 2081 2082 2082 (% style="text-align:center" %) ... ... @@ -2178,12 +2178,12 @@ 2178 2178 2179 2179 **Communication Settings** 2180 2180 2181 - 1)Enable HMI Ethernet in [Project Settings];2091 +Enable HMI Ethernet in [Project Settings]; 2182 2182 2183 2183 (% style="text-align:center" %) 2184 2184 [[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-rounded img-thumbnail"]] 2185 2185 2186 - 2)Set PLC IP in [Device IP] settings;2096 +Set PLC IP in [Device IP] settings; 2187 2187 2188 2188 (% style="text-align:center" %) 2189 2189 [[image:12.PLC Protocol_html_f7b3eb9abda33833.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] ... ... @@ -2190,10 +2190,9 @@ 2190 2190 2191 2191 **✎Note:** 2192 2192 2193 -1) The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. 2103 +* The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens. 2104 +* HMI access PLC, use S7 protocol, access PLC TSAP 02.01 (s7-1200 PROFINET interface only supports three connections, the default support), detailed reference to the system manual of S7-1200. 2194 2194 2195 -2) HMI access PLC, use S7 protocol, access PLC TSAP 02.01 (s7-1200 PROFINET interface only supports three connections, the default support), detailed reference to the system manual of S7-1200. 2196 - 2197 2197 **Cable Wiring** 2198 2198 2199 2199 {{id name="OLE_LINK8"/}} ... ... @@ -2218,14 +2218,14 @@ 2218 2218 2219 2219 **Operating Procedures** 2220 2220 2221 - 1)Select [User defined protocol];2130 +Select [User defined protocol]; 2222 2222 2223 - 2)Click [User defined protocol] button to open setting window as below;2132 +Click [User defined protocol] button to open setting window as below; 2224 2224 2225 2225 (% style="text-align:center" %) 2226 2226 [[image:12.PLC Protocol_html_5ca13817ac812cf0.png||data-xwiki-image-style-alignment="center" height="367" width="437" class="img-thumbnail"]] 2227 2227 2228 - 3)Configure user defined command;2137 +Configure user defined command; 2229 2229 2230 2230 (% style="text-align:center" %) 2231 2231 [[image:12.PLC Protocol_html_11441e69f21e243d.png||data-xwiki-image-style-alignment="center" height="525" width="553" class="img-thumbnail"]] ... ... @@ -2261,26 +2261,26 @@ 2261 2261 2262 2262 **Operating Procedures** 2263 2263 2264 - 1)Click [Add] to create a new command, as below shows;2173 +Click [Add] to create a new command, as below shows; 2265 2265 2266 2266 (% style="text-align:center" %) 2267 2267 [[image:12.PLC Protocol_html_463f2cd3a8c338fc.png||data-xwiki-image-style-alignment="center" height="116" width="88" class="img-thumbnail"]] 2268 2268 2269 - 2)Select mode, [Read] or [Write], and then select Format, there are two options [Hex] and [ASCII]. As below shows;2178 +Select mode, [Read] or [Write], and then select Format, there are two options [Hex] and [ASCII]. As below shows; 2270 2270 2271 2271 (% style="text-align:center" %) 2272 2272 [[image:12.PLC Protocol_html_a48eba3aa30b612d.png||data-xwiki-image-style-alignment="center" height="80" width="121" class="img-thumbnail"]] 2273 2273 2274 - 3)Other settings: [No receiving] means HMI only sends command, and it would not process the reply command which from device. [Send after receiving] means HMI will be receiving the command which from device firstly, and then sending the command to device. From example, when HMI receiving [00 FF 00] firstly and then send command, as below shows2183 +Other settings: [No receiving] means HMI only sends command, and it would not process the reply command which from device. [Send after receiving] means HMI will be receiving the command which from device firstly, and then sending the command to device. From example, when HMI receiving [00 FF 00] firstly and then send command, as below shows 2275 2275 2276 2276 (% style="text-align:center" %) 2277 2277 [[image:12.PLC Protocol_html_b36d990e126365d.png||data-xwiki-image-style-alignment="center" height="77" width="179" class="img-thumbnail"]] 2278 2278 2279 - 4)Check [Manually send], and then please set the address for trigging, the setting range is 1~~10, and please put Bit switch in project screen for it, and [OneCtrlBit] register is for [Manually send].2188 +Check [Manually send], and then please set the address for trigging, the setting range is 1~~10, and please put Bit switch in project screen for it, and [OneCtrlBit] register is for [Manually send]. 2280 2280 2281 - 5)Instruction edit, when the data format is HEX, please use two numbers to represent one 16-bit number. ASCII format using characters to input;2190 +Instruction edit, when the data format is HEX, please use two numbers to represent one 16-bit number. ASCII format using characters to input; 2282 2282 2283 - 6)Check settings;2192 +Check settings; 2284 2284 2285 2285 (% style="text-align:center" %) 2286 2286 [[image:12.PLC Protocol_html_5ac7075d9e8dad8d.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] ... ... @@ -2293,7 +2293,7 @@ 2293 2293 |(% rowspan="2" %)3|(% rowspan="2" %)Add control character|Start position: select the start position of the data which need to check. 2294 2294 |Length: The data length need to be checked. 2295 2295 2296 - 7)Object settings;2205 +Object settings; 2297 2297 2298 2298 (% style="text-align:center" %) 2299 2299 [[image:12.PLC Protocol_html_1e776a838316fb5.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] ... ... @@ -2305,7 +2305,7 @@ 2305 2305 |Note: description to object; 2306 2306 |2|Byte order|The numerical display order; 2307 2307 2308 - 8)Data length settings;2217 +Data length settings; 2309 2309 2310 2310 (% style="text-align:center" %) 2311 2311 [[image:12.PLC Protocol_html_6959664a46b03b69.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] ... ... @@ -2317,7 +2317,7 @@ 2317 2317 |(% rowspan="2" %)2|(% rowspan="2" %)Write data|Position: the start position of the write data. 2318 2318 |Length: the write data length. 2319 2319 2320 - 9)Instruction length settings2229 +Instruction length settings 2321 2321 2322 2322 (% style="text-align:center" %) 2323 2323 [[image:12.PLC Protocol_html_7e0d8613c5e12f7b.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] ... ... @@ -2330,7 +2330,7 @@ 2330 2330 2331 2331 **Cable Wiring** 2332 2332 2333 -** 1)RS485**2242 +* **RS485** 2334 2334 2335 2335 (% style="text-align:center" %) 2336 2336 [[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] ... ... @@ -2338,17 +2338,15 @@ 2338 2338 (% style="text-align:center" %) 2339 2339 [[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2340 2340 2341 -** 2)RS232**2250 +* **RS232** 2342 2342 2343 2343 (% style="text-align:center" %) 2344 2344 [[image:12.PLC Protocol_html_5de71638aab8e40d.png||data-xwiki-image-style-alignment="center" height="205" width="385" class="img-thumbnail"]] 2345 2345 2346 -**✎Note:** 2255 +**✎Note:** COM3 only available in PI8000/PI9000 series. 2347 2347 2348 -CO M3only available inPI8000/PI9000series.2257 += **WECON PLC** = 2349 2349 2350 -= **{{id name="_Toc23479"/}}WECON PLC LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM** = 2351 - 2352 2352 Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 2353 2353 2354 2354 **HMI Settings** ... ... @@ -2384,7 +2384,7 @@ 2384 2384 2385 2385 **Cable Wiring** 2386 2386 2387 -** 1)RS485**2294 +* **RS485** 2388 2388 2389 2389 (% style="text-align:center" %) 2390 2390 [[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] ... ... @@ -2392,7 +2392,7 @@ 2392 2392 (% style="text-align:center" %) 2393 2393 [[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2394 2394 2395 -** 2)RS422**2302 +* **RS422** 2396 2396 2397 2397 (% style="text-align:center" %) 2398 2398 [[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] ... ... @@ -2399,10 +2399,9 @@ 2399 2399 2400 2400 **✎Note:** 2401 2401 2402 -~1. HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 2309 +* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 2310 +* 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. 2403 2403 2404 -2. 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. 2405 - 2406 2406 [[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 2407 2407 2408 2408 = **Printer** = ... ... @@ -2409,28 +2409,27 @@ 2409 2409 2410 2410 == **TSPL label printer** == 2411 2411 2412 -**I . Introduction**2318 +**Introduction** 2413 2413 2414 2414 TSPL label printer protocol supports following models. 2415 2415 2416 -SPRT TL21: [[https:~~/~~/www.sprinter.com.cn/show-60-62-1.html>>https://www.sprinter.com.cn/show-60-62-1.html]] 2322 +* SPRT TL21: [[https:~~/~~/www.sprinter.com.cn/show-60-62-1.html>>https://www.sprinter.com.cn/show-60-62-1.html]] 2323 +* DL-888D: [[https:~~/~~/www.deliworld.com/product/detail/7624>>https://www.deliworld.com/product/detail/7624]] 2417 2417 2418 - DL-888D: [[https:~~/~~/www.deliworld.com/product/detail/7624>>https://www.deliworld.com/product/detail/7624]]2325 +**Setting Step** 2419 2419 2420 - **II.SettingStep**2327 +Select the protocol 2421 2421 2422 - 1)Select the protocol2329 +* Create a new project, select the TSPL label printer protocol as shown below. 2423 2423 2424 -Create a new project, select the TSPL label printer protocol as shown below. 2425 - 2426 2426 (% style="text-align:center" %) 2427 2427 [[image:12.PLC Protocol_html_a2bec264816230db.png||data-xwiki-image-style-alignment="center" height="331" width="495" class="img-thumbnail"]] 2428 2428 2429 - 2)Set parameters2334 +Set parameters 2430 2430 2431 -The connection between the TSPL label printer and the HMI is via the USB-A interface, no need to configure serial port parameters. 2336 +* The connection between the TSPL label printer and the HMI is via the USB-A interface, no need to configure serial port parameters. 2432 2432 2433 - 3)Printer register2338 +Printer register 2434 2434 2435 2435 (% class="table-bordered" %) 2436 2436 |**Register**|**System**|**Range**|**Function** ... ... @@ -2442,18 +2442,13 @@ 2442 2442 |TSPL_PN|decimal|0 - 0|Trigger printing 2443 2443 |TSPL_PS|decimal|0 - 0|Print status 2444 2444 2445 -1.Set paper size: 2350 +* Set paper size: 2351 +** TSPL_SP0: width of paper, unit: mm. 2352 +** TSPL_SP1: height of paper, unit: mm. 2353 +* Print text: 2354 +** TSPL_PT can print up to 20 texts. TSPL_PT0-TSPL_PT99 is the first text; TSPL_PT100-TSPL_PT199 is the second text; … TSPL_PT1000-TSPL_PT1999 is the 20th text. 2355 +** Detailed parameter settings of each text is shown as below table. For example, first text,TSPL_PT0-TSPL_PT99. 2446 2446 2447 -TSPL_SP0: width of paper, unit: mm. 2448 - 2449 - TSPL_SP1: height of paper, unit: mm. 2450 - 2451 -2.Print text: 2452 - 2453 -TSPL_PT can print up to 20 texts. TSPL_PT0-TSPL_PT99 is the first text; TSPL_PT100-TSPL_PT199 is the second text; … TSPL_PT1000-TSPL_PT1999 is the 20th text. 2454 - 2455 -Detailed parameter settings of each text is shown as below table.for example,first text,TSPL_PT0-TSPL_PT99. 2456 - 2457 2457 (% class="table-bordered" %) 2458 2458 |**Register**|**Function**|**Description** 2459 2459 |TSPL_PT0|X coordinate|Unit: dot ... ... @@ -2472,12 +2472,11 @@ 2472 2472 2473 2473 By analogy, we can know the text information configuration of the 2nd to 20th QR codes 2474 2474 2475 - 3.Print QR code:2375 +Print QR code: 2476 2476 2477 -TSPL_PQ can print up to 10 QR codes. TSPL_PQ0-TSPL_PQ99 is the first QR code; TSPL_PQ100-TSPL_PQ199 is the second QR code; ...., TSPL_PQ900-TSPL_PQ999 is the tenth QR code. 2377 +* TSPL_PQ can print up to 10 QR codes. TSPL_PQ0-TSPL_PQ99 is the first QR code; TSPL_PQ100-TSPL_PQ199 is the second QR code; ...., TSPL_PQ900-TSPL_PQ999 is the tenth QR code. 2378 +* Specific parameter description of each item: for example, the first QR code, TSPL_PQ0-TSPL_PQ99: 2478 2478 2479 -Specific parameter description of each item: for example, the first QR code, TSPL_PQ0-TSPL_PQ99: 2480 - 2481 2481 (% class="table-bordered" %) 2482 2482 |**Register**|**Function**|**Description** 2483 2483 |TSPL_PQ0|X coordinate|Unit: dot ... ... @@ -2494,14 +2494,13 @@ 2494 2494 |TSPL_PQ3|Size|Range: 0-5 2495 2495 |TSPL_PQ4 - TSPL_PQ99|QR code content|Use character input device to configure 2496 2496 2497 -By analogy, we can know the text information configuration of the 2nd to 20th QR codes. 2396 +* By analogy, we can know the text information configuration of the 2nd to 20th QR codes. 2498 2498 2499 - 4.Print bar code:2398 +Print bar code: 2500 2500 2501 -TSPL_PB can print up to 10 barcodes. TSPL_PB0-TSPL_PB99 is the first bar code; TSPL_PB100-TSPL_PB199 is the second bar code; ..., TSPL_PB900-TSPL_PB999 is the tenth bar code. 2400 +* TSPL_PB can print up to 10 barcodes. TSPL_PB0-TSPL_PB99 is the first bar code; TSPL_PB100-TSPL_PB199 is the second bar code; ..., TSPL_PB900-TSPL_PB999 is the tenth bar code. 2401 +* Specific parameter description of each item: for example, the first barcode, TSPL_PB0-TSPL_PB99: 2502 2502 2503 -Specific parameter description of each item: for example, the first barcode, TSPL_PB0-TSPL_PB99: 2504 - 2505 2505 (% class="table-bordered" %) 2506 2506 |**Register**|**Function**|**Description** 2507 2507 |TSPL_PB0|X coordinate|Unit: dot ... ... @@ -2521,30 +2521,28 @@ 2521 2521 2522 2522 By analogy, we can know the text information configuration of the 2nd to 20th bar codes. 2523 2523 2524 - 5.Print offset:2422 +Print offset: 2525 2525 2526 - TSPL_PR0: X coordinate offset, unit: mm; 2424 +* TSPL_PR0: X coordinate offset, unit: mm; 2425 +* TSPL_PR1: Y coordinate offset, unit: mm. 2527 2527 2528 - SPL_PR1: Y coordinateoffset, unit:mm.2427 +Trigger printing: 2529 2529 2530 - 6.Trigger printing:2429 +* TSPL_PN0 = 1: trigger the printer to start printing. 2531 2531 2532 - TSPL_PN0 = 1: triggerthe printertostartprinting.2431 +Printing status: 2533 2533 2534 -7.Printing status: 2433 +* TSPL_PS0 = 1: The printing is normal. 2434 +* TSPL_PS0 = 1: The printing is abnormal. 2535 2535 2536 - TSPL_PS0 = 1: The printingis normal.2436 +Print picture 2537 2537 2538 - TSPL_PS0 = 1: The printing is abnormal.2438 +* For the function of printing pictures, please refer to the configuration of [Printer object]. 2539 2539 2540 - 4)Printpicture2440 +Conversion between dot and mm 2541 2541 2542 - Forthefunction of printingpictures, please refer to the configurationof[Printer object].2442 +* Dot is the meaning of pixels. For the conversion between dot and mm, please refer to the printer manual or consult the customer service of the corresponding printer manufacturer. For example, SPRT TL21: 8 dots / mm, that is, 1mm = 8 dot. 2543 2543 2544 -5)Conversion between dot and mm 2545 - 2546 -Dot is the meaning of pixels. For the conversion between dot and mm, please refer to the printer manual or consult the customer service of the corresponding printer manufacturer. For example, SPRT TL21: 8 dots / mm, that is, 1mm = 8 dot. 2547 - 2548 2548 == **EpsonTM series** == 2549 2549 2550 2550 **HMI Settings** ... ... @@ -2580,6 +2580,4 @@ 2580 2580 (% style="text-align:center" %) 2581 2581 [[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2582 2582 2583 -**✎Note:** 2584 - 2585 -COM3 only available in PI8000/PI9000 series. 2479 +**✎Note:** COM3 only available in PI8000/PI9000 series.