Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 21 added, 0 removed)
- image-20220819093729-1.png
- image-20220819093729-10.png
- image-20220819093729-12.png
- image-20220819093729-15.png
- image-20220819093729-17.png
- image-20220819093729-18.png
- image-20220819093729-2.png
- image-20220819093729-3.png
- image-20220819093729-4 (1).png
- image-20220819093729-4.png
- image-20220819093729-5.png
- image-20220819093729-6.jpeg
- image-20220819093729-7.png
- image-20220819093730-19.png
- image-20220819093730-20.png
- image-20220819101447-3.jpeg
- image-20220819105530-1.png
- image-20220819105630-3.png
- image-20220819105644-4.png
- image-20220819105928-9.png
- image-20220820150853-1.png
Details
- Page properties
-
- Content
-
... ... @@ -85,411 +85,517 @@ 85 85 86 86 Click [OK] button to save settings and close the dialog; 87 87 88 -= **Allen-Bradley**=88 += Create communication with WECON PLC = 89 89 90 -== ** FreeTagEthernet/IP (CompactLogix)** ==90 +== **LX3V Serial Protocol** == 91 91 92 - Allen-BrandlyCompactLogix92 +Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 93 93 94 94 **HMI Settings** 95 95 96 96 (% class="table-bordered" %) 97 -|**Items**|**Settings**|**Note** 98 -|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)| 99 -|Connection|Ethernet| 100 -|Port No.|44818| 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| 101 101 102 -** PLC Setting**106 +**Address List** 103 103 104 -Create new tags 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| 105 105 125 +**Cable Wiring** 126 + 127 +* **RS485** 128 + 106 106 (% style="text-align:center" %) 107 -[[image:12.PLC Protocol_html_ a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]]130 +[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 108 108 109 - Exporttags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])132 +* **RS422** 110 110 111 111 (% style="text-align:center" %) 112 -[[image:12.PLC Protocol_html_ 151379170bb8ff3e.png||data-xwiki-image-style-alignment="center" height="352" width="700" class="img-thumbnail"]]135 +[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] 113 113 114 - Importlabels, please open [Communication] window and click [Import label];137 +**✎Note:** 115 115 116 -Select csv file, all tags will be displayed as belows; 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. 117 117 142 +[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 143 + 144 +(% class="wikigeneratedid" id="HHMIsettings" %) 145 +**HMI settings** 146 + 147 +**Download PIStudio Software** 148 + 149 +Please visit the link below to get the latest version PIstudio for HMI programming: 150 + 151 +* [[Download link>>doc:PIStudio.Download.3 Software.WebHome]] 152 + 153 +**Create a new HMI project connect with PLC** 154 + 155 +Check the link below for the video to show you how to get started with a new project 156 + 157 +* [[Video>>https://youtu.be/0FpmDZe_8U8]] 158 + 159 +For more videos, please visit our Youtube channel: [[http:~~/~~/www.youtube.com/user/Wecon2004/videos>>url:http://www.youtube.com/user/Wecon2004/videos]] 160 + 161 +**General** 162 + 163 +HMI could communicate with PLC and support many PLC protocols. It is easy to operate and set communication parameters. This demo shows how to make a communication with PLC device, use WECON LX3V Series PLC as an example. 164 + 165 +**Protocol settings** 166 + 167 +The communication between two devices requires a protocol. The following contents show the steps of protocol settings. 168 + 169 +Please select the protocol, when creating a new project. 170 + 171 +1. Select the COM port for communication; 172 +1. PLC type: It means PLC brand, like WECON; 173 +1. PLC model: It shows the model of PLC, such as LX3V; 174 + 118 118 (% style="text-align:center" %) 119 -[[image: 12.PLC Protocol_html_af192e54dee96f38.png||data-xwiki-image-style-alignment="center" height="586" width="700" class="img-thumbnail"]]176 +[[image:image-20220819093729-1.png]] 120 120 121 - **✎Note:**178 +If you want to change the protocol for existing project, please click [Program] → [Communication] to open the [Communication] windows, shown as the following figure. 122 122 123 -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. 180 +(% style="text-align:center" %) 181 +[[image:image-20220819093729-2.png]] 124 124 183 + 184 +The steps to change the protocol for project are as follows. 185 + 186 +1. Click [Setting] to open the [Communication device] window; 187 +1. Select communication port, such as COM1; 188 +1. Select Serial port for communication, such as RS422; 189 +1. Select device type (device brand), such as WECON; 190 +1. Select the protocol for communication, such as WECON LX3V; 191 + 125 125 (% style="text-align:center" %) 126 -[[image: 12.PLC Protocol_html_33df1d63ebe53726.png||data-xwiki-image-style-alignment="center" height="206" width="700" class="img-thumbnail"]]193 +[[image:image-20220819093729-3.png]] 127 127 128 - The directory of changing system settings: [ControlPanel] -> [Date, Time, Language,and Regional Options] -> [Change the format of numbers, dates, and times]->[Customize]-> [List separator].Pleaseselect[,] and exportCSV file after setting.195 +**Parameter settings** 129 129 130 - **Communicationsettings inHMI**197 +The parameters settings are in [Communication] window, shown as following below. 131 131 132 -Enable HMI Ethernet in [Project Settings]; 199 +1. Click [Setting] to open the [COM port setting] window; 200 +1. Set the parameters such as [connection], [Baud rate] and so on; 133 133 134 134 (% style="text-align:center" %) 135 -[[image: 12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center"height="106" width="400"class="img-thumbnail"]]203 +[[image:image-20220819093729-4.png||height="636" width="818"]] 136 136 137 -Set PLC IP in [Device IP] settings; 205 +(% start="3" %) 206 +1. Click [Setting] to open [Timeout] setting window, you could set the parameters according your requirements, or just use the default value. 138 138 139 139 (% style="text-align:center" %) 140 -[[image: 12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]]209 +[[image:image-20220819093729-5.png]] 141 141 142 -**Ca bleWiring**211 +**Set PLC address in HMI screen** 143 143 213 +1. Place the objects to HMI screen; 214 +1. Double-click the object to open the setting window; 215 +1. Click “Edit” to open the address setting windows; 216 +1. Connection: select the serial port in HMI; 217 +1. Address type: All the PLC address types will be display in this list, such as M; 218 +1. Address No.: Please input the number of this address, such as 0; 219 + 220 +[[image:image-20220819093729-6.jpeg]] 221 + 222 +**Communication cable** 223 + 224 +In order to ensure the stability of communication, please use the twisted-pair communication cable with good grounding. The following figure shows the pin out definition. 225 + 144 144 (% style="text-align:center" %) 145 -[[image: 12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]]227 +[[image:image-20220819093729-7.png]] 146 146 147 - ==**MicroLogix**==229 +**HMI communication PLC use Modbus ** 148 148 149 -MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5 231 +* HMI setting: [[https:~~/~~/docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/>>https://docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/]] 232 +* PLC setting: [[https:~~/~~/docs.we-con.com.cn/bin/view/PLC%20Editor/8.1.%09Communication/>>https://docs.we-con.com.cn/bin/view/PLC%20Editor/8.1.%09Communication/]] 150 150 151 -**HMI Settings** 234 +(% class="wikigeneratedid" id="HPLCsettings" %) 235 +**PLC settings** 152 152 153 -(% class="table-bordered" %) 154 -|**Item**|**Settings**|**Note** 155 -|Protocol|Allen-Bradlley MicroLogix| 156 -|Connection|RS232| 157 -|Baud rate|19200| 158 -|Data bit|8| 159 -|Parity|None| 160 -|Stop bit|1| 161 -|PLC station No.|1| 237 +**Download PLC Software** 162 162 163 - **AddressList**239 +Please visit below link to get the latest version PLC Editor for HMI programming 164 164 165 -(% class="table-bordered" %) 166 -|**Type**|**Device registers**|**Format**|**Range**|**Note** 167 -|(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15| 168 -|O|O d.d|0.0~~255.15| 169 -|B|B nnhh.dd|0.0~~ffff.15|nn: block number (hex) 170 -|S|S d.d|0.0~~255.15| 171 -|N|N nnhh.dd|0.0~~ffff.15|nn: block number (hex) 172 -|(% rowspan="9" %)Word|S|S d|0~~255| 173 -|TS|TS nnhh|0~~ffff|(% rowspan="8" %)nn: block number (hex) 174 -|TP|TP nnhh|0~~ffff 175 -|CS|CS nnhh|0~~ffff 176 -|CP|CP nnhh|0~~ffff 177 -|N|N nnhh|0~~ffff 178 -|C|C nnhh|0~~ffff 179 -|T|T nnhh|0~~ffff 180 -|R|R nnhh|0~~ffff 241 +* LX3V:[[Download link>>doc:PLC Editor.10 Hardware .Software.WebHome]] 242 +* LX5V:[[Download link>>doc:PLC Editor2.Download.03 Software.WebHome]] 181 181 182 -** CableWiring**244 +**Start a new PLC project** 183 183 246 +Start a new PLC project by clicking “New” on the left top corner of screen, select the PLC mode from the drop-down list. 247 + 184 184 (% style="text-align:center" %) 185 -[[image: 12.PLC Protocol_html_58205bdf82c06d4.png||data-xwiki-image-style-alignment="center" height="307" width="500" class="img-thumbnail"]]249 +[[image:image-20220819101447-3.jpeg]] 186 186 187 -== **AB PLC address edit** == 188 188 189 -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. 190 190 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). 253 +**Add a new instruction ** 195 195 196 - **✎Note:**Registeraddress TP,CS, CP, N, F and TS addressedit tarehesame. D indicatesdecimal,and Findicateshexadecimal.Different PLC modelsmaysupport differentregisters.See the followingtable.255 +Double click on the ladder, select the ladder symbol (instruction) from the drop-down list, then enter the address for this symbol. 197 197 198 -|(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 199 -|(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15 200 -|(% style="width:393px" %)O|(% style="width:350px" %)dd.dd|(% style="width:333px" %)O 0.0 ~~ 255.15 201 -|(% style="width:393px" %)B|(% style="width:350px" %)fff.dd|(% style="width:333px" %)B 000.0 ~~ fff.15 202 -|(% style="width:393px" %)S|(% style="width:350px" %)dd.dd|(% style="width:333px" %)S 0.0 ~~ 255.15 203 -|(% style="width:393px" %)N|(% style="width:350px" %)ffff.dd|(% style="width:333px" %)N 000.0 ~~ fff.15 204 -|(% style="width:393px" %)**PLC word address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 205 -|(% style="width:393px" %)S|(% style="width:350px" %)ddd|(% style="width:333px" %)S0 ~~ 255 206 -|(% style="width:393px" %)TS|(% style="width:350px" %)ffff|(% style="width:333px" %)TS0 ~~ FFFF 207 -|(% style="width:393px" %)TP|(% style="width:350px" %)ffff|(% style="width:333px" %)TP0 ~~ FFFF 208 -|(% style="width:393px" %)CS|(% style="width:350px" %)ffff|(% style="width:333px" %)CS0 ~~ FFFF 209 -|(% style="width:393px" %)CP|(% style="width:350px" %)ffff|(% style="width:333px" %)CP0 ~~ FFFF 210 -|(% style="width:393px" %)N|(% style="width:350px" %)ffff|(% style="width:333px" %)N0 ~~ FFFF 211 -|(% style="width:393px" %)F|(% style="width:350px" %)ffff|(% style="width:333px" %)F0 ~~ FFFF 257 +(% style="text-align:center" %) 258 +[[image:image-20220819105530-1.png]] 212 212 213 - =**BarcodeScanner**=260 +You could also select the ladder symbol from the menu bar directly. 214 214 215 - Supported:DELI 14880 barcodescanner262 +[[image:image-20220819093729-11.png]] 216 216 217 - **HMI Setting**264 +[[image:image-20220819093729-12.png]] 218 218 219 -(% class="table-bordered" %) 220 -|**Items**|**Settings**|**Note** 221 -|Protocol|Barcode Scanner| 222 -|Connection|USB| 266 +**Add comment to PLC program** 223 223 224 -**Operating Procedures** 268 +(% style="text-align:center" %) 269 +[[image:image-20220819105630-3.png]] 225 225 226 - Select[BarcodeScanner];271 +**Add the statement to PLC program** 227 227 273 +Add the statement by single click on “Statement”, when finished, single click on “Statement” again to go back to Ladder edit. 274 + 228 228 (% style="text-align:center" %) 229 -[[image: 12.PLC Protocol_html_55a3056357320966.png||data-xwiki-image-style-alignment="center" height="266" width="600" class="img-thumbnail"]]276 +[[image:image-20220819105644-4.png]] 230 230 231 - Set address for receiving;278 +**Compile ** 232 232 233 - Set correct length;280 +You need to compile the PLC program before downloading or running Off-line simulator. The background color will be changed from purple to white when there is no error. 234 234 282 +[[image:image-20220819093729-15.png]] 283 + 284 +**Download setting ** 285 + 286 +Click on “Transfer Setup” to select download mode. 287 + 288 +[[image:image-20220820150853-1.png]]**Download PLC program to PLC** 289 + 290 +Quick select the parameters and main program of PLC program, then download to PLC, “Yes”-”Yes”-”OK” 291 + 292 +[[image:image-20220819093729-17.png]] 293 + 294 +**Upload PLC program from PLC** 295 + 296 +Read the PLC program from PLC to computer. 297 + 298 +[[image:image-20220819093729-18.png]] 299 + 300 +**Device monitor** 301 + 302 +Monitor the value of certain address in PLC, double click “Current value” to change the value in this address. 303 + 304 +[[image:image-20220819093730-19.png]] 305 + 306 +**Online monitor** 307 + 308 +Monitor the each address in PLC by online monitor. Changing the state or value in PLC is also allowd. 309 + 310 +[[image:image-20220819093730-20.png]] 311 + 312 +**Monitor edit** 313 + 314 +In this mode, you could edit the PLC program during PLC is running. 315 + 316 + 235 235 (% style="text-align:center" %) 236 -[[image: 12.PLC Protocol_html_30a4c9e9dd4db40b.png||data-xwiki-image-style-alignment="center"height="701" width="500"class="img-thumbnail"]]318 +[[image:image-20220819105928-9.png||height="229" width="669"]] 237 237 238 -** ✎Note:**320 +== **LX5V Serial Protocol** == 239 239 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; 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. 243 243 244 - =**Hitachi EHV Series(Ethernet)**=324 +**Software configuration of PLC** 245 245 246 - Supported series: HitachiEHVseries326 +**1)PLC programming software** 247 247 248 - **HMI Settings**328 +[[image:image-20220810164710-1.png]] 249 249 250 -(% class="table-bordered" %) 251 -|**Items**|**Settings**|**Note** 252 -|Protocol|Hitachi EHV series| 253 -|Connection|Ethernet| 254 -|Port No.|3004~~3007| 330 +**2)New PLC project** 255 255 256 - **AddressList**332 +Click New Project and select the PLC model. 257 257 258 -(% class="table-bordered" %) 259 -|**Type**|**Register**|**Range**|**Format**|**Note** 260 -|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD| 261 -|M|0 - 7FFF.f (Hex)|M HHHH.h| 262 -|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)((( 263 -H1H2H3H4 Module main number 334 +[[image:image-20220810172412-1.png]] 264 264 265 -H1: Remote number 266 266 267 - H2:Unitnumber337 +**3)Set Serial port parameters** 268 268 269 - H3:Slot number339 +Follow the steps below to configure Serial port parameters 270 270 271 - H4: Wordnumberof Module341 +Baud rate:115200 272 272 273 - HSubnumber of Module343 +Data bit:8 274 274 275 - For example:X21.3345 +Stop bit:1 276 276 277 - Slotnumber2347 +Parity:No verification 278 278 279 - Word number ofmoduleis1349 +[[image:image-20220810165759-3.png]] 280 280 281 -Bit number of module is 3 282 282 283 -Remote number and unit number are 0 284 -))) 285 -|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h 286 -|R|0 – FF.f (Hex)|R HH.h| 287 -|L|0 - 73FF.f (Hex)|L HHHH.h| 288 -|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH| 289 -|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)((( 290 -H1H2H3H4 Module main number 352 +**4)Registers list** 291 291 292 - H1: Remotenumber354 +[[image:image-20220811102219-3.png]] 293 293 294 -H2: Unit number 295 295 296 -H 3:Slot number357 +**HMI software configuration** 297 297 298 -H 4:Word numberofmodule359 +**1)HMI programming software** 299 299 300 - Forexample:WX21361 + [[image:image-20220810171237-4.png]] 301 301 302 - Word numberofmoduleis 1363 +**2)New HMI project** 303 303 304 - Slot numberis2365 +Click New Project and select the HMI model. 305 305 306 -Remote number and unit number are 0 307 -))) 308 -|WY|0 – FFFF (Hex)|WY H1H2H3H4 309 -|WR|0 – FFFF (Hex)|WR HHHH| 310 -|WL|0 - 73FF (Hex)|WL HHHH| 311 -|TC|0 - 2559|TC DDDD| 367 +[[image:image-20220810172010-5.png]] 312 312 313 -** Communicationsettingsin HMI**369 +**3)Set communication port parameters** 314 314 315 - EnableHMIEthernet[ProjectSettings];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. 316 316 317 -(% style="text-align:center" %) 318 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 373 +Baud rate:115200 319 319 320 - SetPLC IPin [Device IP] settings;375 +Data bit:8 321 321 322 -(% style="text-align:center" %) 323 -[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] 377 +Stop bit:1 324 324 325 - **PLC Configuration**379 +Parity:No verification 326 326 327 -Connect with PLC, select[Online mode]; 328 328 329 -(% style="text-align:center" %) 330 -[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]] 382 +[[image:image-20220811104012-1.png]] 331 331 332 -Set IP address, it is the same LAN parameters with HMI; 333 333 334 -(% style="text-align:center" %) 335 -[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]] 385 +**hardware connection** 336 336 337 - 3) SavePLC communicationparameter, and restart PLC387 +**1)Hardware wiring diagram** 338 338 339 - **PLCMonitorMode**389 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 340 340 341 - Connect with PLCand chooseto “online”mode391 +[[image:image-20220811103005-4.png]] 342 342 343 -(% style="text-align:center" %) 344 -[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]] 345 345 346 - Open I/Omonitor sheet1394 +[[image:image-20220811103227-7.png]] 347 347 348 -(% style="text-align:center" %) 349 -[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]] 396 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 350 350 351 - Duringmonitoringbitaddress,1 pts should beselected; during monitoring word address, 16 pts shouldbe selected398 +== **LX5V-N Ethernet protocol** == 352 352 353 -(% style="text-align:center" %) 354 -[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]] 400 +(% id="cke_bm_147709S" style="display:none" %) (%%)This example introduces the establishment of Ethernet communication between Wecon HMI and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring. 355 355 356 - Enter the registeraddress,click OKtoview the valueofthe register.402 +**Software configuration of PLC** 357 357 358 -(% style="text-align:center" %) 359 -[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]] 404 +**1)PLC programming software** 360 360 361 -(% style="text-align:center" %) 362 -[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]] 406 +[[image:image-20220810164710-1.png]] 363 363 364 -** ✎Note:**408 +**2)New PLC project** 365 365 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; 410 +Click New Project and select the PLC model. 368 368 369 - **CableWiring**412 +[[image:image-20220811115454-1.png]] 370 370 371 -(% style="text-align:center" %) 372 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 373 373 374 - =**IEC60870-5104Client**=415 +**3)Set Ethernet port parameters** 375 375 376 - **HMISetting**417 +Follow the steps below to configure Ethernet parameters 377 377 378 -(% class="table-bordered" %) 379 -|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note** 380 -|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %) 381 -|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %) 382 -|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %) 419 +PLC IP address:192.168.39.200 383 383 384 - **AddressList**421 +default gateway:192.168.39.1 385 385 386 -(% class="table-bordered" %) 387 -|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range** 388 -|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7 389 -|(% style="width:461px" %)SCNA|0~~16777215.7 390 -|(% style="width:461px" %)DPTB|0~~16777215.7 391 -|(% style="width:461px" %)DCNA|0~~16777215.7 392 -|(% style="width:461px" %)METF|0~~16777215.7 393 -|(% style="width:461px" %)SENC|0~~16777215.7 394 -|(% style="width:461px" %)SENA|0~~16777215.7 395 -|(% style="width:461px" %)MENA|0~~16777215.7 396 -|(% style="width:461px" %)METD|0~~16777215.7 397 -|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215 398 -|(% style="width:461px" %)SCNA|0~~16777215 399 -|(% style="width:461px" %)DPTB|0~~16777215 400 -|(% style="width:461px" %)DCNA|0~~16777215 401 -|(% style="width:461px" %)SENA|0~~16777215 402 -|(% style="width:461px" %)MENA|0~~16777215 403 -|(% style="width:461px" %)METD|0~~16777215 404 -|(% style="width:461px" %)INRO|0~~16777215 405 -|(% style="width:461px" %)TIMESYN|0~~16777215 406 -|(% style="width:461px" %)TIMEZ|0~~16777215 407 -|(% style="width:461px" %)NTP|0~~16777215 408 -|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215 409 -|(% style="width:461px" %)SENC|0~~16777215 423 +subnet mask:255.255.255.0 410 410 411 - **Address Configuration**425 +[[image:image-20220811140530-2.png]] 412 412 413 -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. 414 414 415 -(% style="text-align:center" %) 416 -[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]] 428 +**4)Registers list** 417 417 418 -(% style="text-align:center" %) 419 -[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]] 430 +[[image:image-20220811102219-3.png]] 420 420 421 -Extended tag name 422 422 423 - Addressrangeforhe extended tag.433 +**HMI software configuration** 424 424 425 -** CommunicationSettings**435 +**1)HMI programming software** 426 426 427 - EnableHMI Ethernet in[Project Settings];437 + [[image:image-20220810171237-4.png]] 428 428 429 -(% style="text-align:center" %) 430 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 439 +**2)New HMI project** 431 431 432 - SetPLCIP in[Device IP]settings;441 +Click New Project and select the HMI model. 433 433 434 -(% style="text-align:center" %) 435 -[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]] 443 +[[image:image-20220810172010-5.png]] 436 436 445 +**3)Set communication port parameters** 446 + 447 +Click the project setting button on the left to configure the IP address of the HMI machine to ensure that the HMI and PLC IP remain in a local area network. 448 + 449 +HMI IP address:192.168.39.201 450 + 451 +default gateway:192.168.39.1 452 + 453 +subnet mask:255.255.255.0 454 + 455 +[[image:image-20220811170753-2.png]] 456 + 457 +Next, click Communication Settings to configure the IP of the HMI communication object. 458 + 459 +[[image:image-20220811163047-1.png]] 460 + 461 +**hardware connection** 462 + 463 +**1)Hardware wiring diagram** 464 + 465 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 466 + 467 +[[image:image-20220811170248-1.png]] 468 + 469 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 470 + 471 += Create communication with **Rockwell PLC** = 472 + 473 +== **MicroLogix Protocol** == 474 + 475 +MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5 476 + 477 +**HMI Settings** 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| 488 + 489 +**Address List** 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 507 + 437 437 **Cable Wiring** 438 438 510 + 439 439 (% style="text-align:center" %) 440 -[[image:12.PLC Protocol_html_2 297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]512 +[[image:12.PLC Protocol_html_58205bdf82c06d4.png||data-xwiki-image-style-alignment="center" height="307" width="500" class="img-thumbnail"]] 441 441 442 -= ** LG XGKFEnetEthernet** =514 +== **FreeTag Ethernet/IP (CompactLogix)** == 443 443 444 - Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernetmodule516 +Allen-Brandly CompactLogix 445 445 446 446 **HMI Settings** 447 447 448 448 (% class="table-bordered" %) 449 449 |**Items**|**Settings**|**Note** 450 -|Protocol| LGXGKFEnet(Ethernet)|522 +|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)| 451 451 |Connection|Ethernet| 452 -|Port No.| 2004|524 +|Port No.|44818| 453 453 454 -** AddressList**526 +**PLC Setting** 455 455 456 -(% class="table-bordered" %) 457 -|**Type**|**Register**|**Range**|**Format**|**Note** 458 -|(% rowspan="14" %)Word|P|0~~2047|P d| 459 -|M|0~~2047|M d| 460 -|K|0~~2047|K d| 461 -|F|0~~2047|F d| 462 -|T|0~~2047|T d| 463 -|C|0~~2047|C d| 464 -|Z|0~~127|Z d| 465 -|S|0~~127|S d| 466 -|L|0~~11263|L d| 467 -|N|0~~21503|N d| 468 -|D|0~~32767|D d| 469 -|R|0~~32767|R d| 470 -|ZR|0~~65535|ZR d| 471 -|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31 528 +Create new tags 472 472 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"]] 532 + 533 +Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments]) 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"]] 537 + 538 +Import labels, please open [Communication] window and click [Import label]; 539 + 540 +Select csv file, all tags will be displayed as belows; 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"]] 544 + 473 473 **✎Note:** 474 474 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; 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. 478 478 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"]] 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. 553 + 479 479 **Communication settings in HMI** 480 480 481 481 Enable HMI Ethernet in [Project Settings]; 482 482 483 483 (% style="text-align:center" %) 484 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="10 7" width="405" class="img-thumbnail"]]559 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]] 485 485 486 486 Set PLC IP in [Device IP] settings; 487 487 488 488 (% style="text-align:center" %) 489 -[[image:12.PLC Protocol_html_ a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]564 +[[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]] 490 490 491 491 **Cable Wiring** 492 492 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"]] 570 + 571 +== **AB PLC address edit** == 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. 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). 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. 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 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %) 589 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %) 590 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %) 591 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %) 592 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %) 593 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %) 594 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %) 595 +|(% style="width:393px" %) |(% style="width:350px" %) |(% style="width:333px" %) 596 + 597 += = 598 + 493 493 = **Mitsubishi** = 494 494 495 495 == **FX1S, 1N, 2N Series** == ... ... @@ -2263,217 +2263,6 @@ 2263 2263 2264 2264 **✎Note:** COM3 only available in PI8000/PI9000 series. 2265 2265 2266 -= **WECON PLC** = 2267 - 2268 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 2269 - 2270 -**HMI Settings** 2271 - 2272 -(% class="table-bordered" %) 2273 -|**Item**|**Settings**|**Note** 2274 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM| 2275 -|Connection|RS422/RS485| 2276 -|Baud rate|9600| 2277 -|Data bit|7| 2278 -|Parity|EVEN| 2279 -|Stop bit|1| 2280 -|PLC station No.|1| 2281 - 2282 -**Address List** 2283 - 2284 -(% class="table-bordered" %) 2285 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** 2286 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237| 2287 -|Y|Y|Y o|0~~303237| 2288 -|M|M|M d|0~~99999| 2289 -|T|T|T d|0~~99999| 2290 -|C|C|C d|0~~99999| 2291 -|S|S|S d|0~~99999| 2292 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237| 2293 -|Y|Y|Y o|0~~303237| 2294 -|M|M|M d|0~~99999| 2295 -|T|T|T d|0~~99999| 2296 -|C|C|C d|0~~199| 2297 -|D|D|D d|0~~7999| 2298 -|S|S|S d|0~~99999| 2299 -|SD|SD|SD d|8000~~9999| 2300 - 2301 -**Cable Wiring** 2302 - 2303 -* **RS485** 2304 - 2305 -(% style="text-align:center" %) 2306 -[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] 2307 - 2308 -(% style="text-align:center" %) 2309 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2310 - 2311 -* **RS422** 2312 - 2313 -(% style="text-align:center" %) 2314 -[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] 2315 - 2316 -**✎Note:** 2317 - 2318 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 2319 -* 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. 2320 - 2321 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 2322 - 2323 - 2324 -== HMI and Wecon LX5V serial communication == 2325 - 2326 -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. 2327 - 2328 -**Software configuration of PLC** 2329 - 2330 -**1)PLC programming software** 2331 - 2332 -[[image:image-20220810164710-1.png]] 2333 - 2334 -**2)New PLC project** 2335 - 2336 -Click New Project and select the PLC model. 2337 - 2338 -[[image:image-20220810172412-1.png]] 2339 - 2340 - 2341 -**3)Set Serial port parameters** 2342 - 2343 -Follow the steps below to configure Serial port parameters 2344 - 2345 -Baud rate:115200 2346 - 2347 -Data bit:8 2348 - 2349 -Stop bit:1 2350 - 2351 -Parity:No verification 2352 - 2353 -[[image:image-20220810165759-3.png]] 2354 - 2355 - 2356 -**4)Registers list** 2357 - 2358 -[[image:image-20220811102219-3.png]] 2359 - 2360 - 2361 -**HMI software configuration** 2362 - 2363 -**1)HMI programming software** 2364 - 2365 - [[image:image-20220810171237-4.png]] 2366 - 2367 -**2)New HMI project** 2368 - 2369 -Click New Project and select the HMI model. 2370 - 2371 -[[image:image-20220810172010-5.png]] 2372 - 2373 -**3)Set communication port parameters** 2374 - 2375 -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. 2376 - 2377 -Baud rate:115200 2378 - 2379 -Data bit:8 2380 - 2381 -Stop bit:1 2382 - 2383 -Parity:No verification 2384 - 2385 - 2386 -[[image:image-20220811104012-1.png]] 2387 - 2388 - 2389 -**hardware connection** 2390 - 2391 -**1)Hardware wiring diagram** 2392 - 2393 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 2394 - 2395 -[[image:image-20220811103005-4.png]] 2396 - 2397 - 2398 -[[image:image-20220811103227-7.png]] 2399 - 2400 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 2401 - 2402 -== HMI and Wecon LX5V-N Ethernet communication == 2403 - 2404 -(% 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. 2405 - 2406 - 2407 -**Software configuration of PLC** 2408 - 2409 -**1)PLC programming software** 2410 - 2411 -[[image:image-20220810164710-1.png]] 2412 - 2413 -**2)New PLC project** 2414 - 2415 -Click New Project and select the PLC model. 2416 - 2417 -[[image:image-20220811115454-1.png]] 2418 - 2419 - 2420 -**3)Set Ethernet port parameters** 2421 - 2422 -Follow the steps below to configure Ethernet parameters 2423 - 2424 -PLC IP address:192.168.39.200 2425 - 2426 -default gateway:192.168.39.1 2427 - 2428 -subnet mask:255.255.255.0 2429 - 2430 -[[image:image-20220811140530-2.png]] 2431 - 2432 - 2433 -**4)Registers list** 2434 - 2435 -[[image:image-20220811102219-3.png]] 2436 - 2437 - 2438 -**HMI software configuration** 2439 - 2440 -**1)HMI programming software** 2441 - 2442 - [[image:image-20220810171237-4.png]] 2443 - 2444 -**2)New HMI project** 2445 - 2446 -Click New Project and select the HMI model. 2447 - 2448 -[[image:image-20220810172010-5.png]] 2449 - 2450 -**3)Set communication port parameters** 2451 - 2452 -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. 2453 - 2454 -HMI IP address:192.168.39.201 2455 - 2456 -default gateway:192.168.39.1 2457 - 2458 -subnet mask:255.255.255.0 2459 - 2460 -[[image:image-20220811170753-2.png]] 2461 - 2462 -Next, click Communication Settings to configure the IP of the HMI communication object. 2463 - 2464 -[[image:image-20220811163047-1.png]] 2465 - 2466 -**hardware connection** 2467 - 2468 -**1)Hardware wiring diagram** 2469 - 2470 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 2471 - 2472 -[[image:image-20220811170248-1.png]] 2473 - 2474 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 2475 - 2476 - 2477 2477 = **Printer** = 2478 2478 2479 2479 == **TSPL label printer** == ... ... @@ -2674,3 +2674,282 @@ 2674 2674 2675 2675 (% style="text-align:center" %) 2676 2676 [[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-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +10.3 KB - Content
- image-20220819093729-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +79.4 KB - Content
- image-20220819093729-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +147.9 KB - Content
- image-20220819093729-15.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +74.6 KB - Content
- image-20220819093729-17.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +115.0 KB - Content
- image-20220819093729-18.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +112.1 KB - Content
- image-20220819093729-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.1 KB - Content
- image-20220819093729-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.2 KB - Content
- image-20220819093729-4 (1).png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.4 KB - Content
- image-20220819093729-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.4 KB - Content
- image-20220819093729-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.6 KB - Content
- image-20220819093729-6.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +100.2 KB - Content
- image-20220819093729-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +46.9 KB - Content
- image-20220819093730-19.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +122.5 KB - Content
- image-20220819093730-20.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +99.6 KB - Content
- image-20220819101447-3.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +56.6 KB - Content
- image-20220819105530-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.0 MB - Content
- image-20220819105630-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.1 MB - Content
- image-20220819105644-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +942.6 KB - Content
- image-20220819105928-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +72.6 KB - Content
- image-20220820150853-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +171.7 KB - Content