Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 23 added, 0 removed)
- SiemensLOGODeviceIP.png
- image-20220817154212-1.jpeg
- image-20220819093729-1.png
- image-20220819093729-10.png
- image-20220819093729-12.png
- image-20220819093729-15.png
- image-20220819093729-17.png
- image-20220819093729-18.png
- image-20220819093729-2.png
- image-20220819093729-3.png
- image-20220819093729-4 (1).png
- image-20220819093729-4.png
- image-20220819093729-5.png
- image-20220819093729-6.jpeg
- image-20220819093729-7.png
- image-20220819093730-19.png
- image-20220819093730-20.png
- image-20220819101447-3.jpeg
- image-20220819105530-1.png
- image-20220819105630-3.png
- image-20220819105644-4.png
- image-20220819105928-9.png
- image-20220820150853-1.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.Ben - 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" %)**PLC word address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range** 589 +|(% style="width:393px" %)S|(% style="width:350px" %)ddd|(% style="width:333px" %)S0 ~~ 255 590 +|(% style="width:393px" %)TS|(% style="width:350px" %)ffff|(% style="width:333px" %)TS0 ~~ FFFF 591 +|(% style="width:393px" %)TP|(% style="width:350px" %)ffff|(% style="width:333px" %)TP0 ~~ FFFF 592 +|(% style="width:393px" %)CS|(% style="width:350px" %)ffff|(% style="width:333px" %)CS0 ~~ FFFF 593 +|(% style="width:393px" %)CP|(% style="width:350px" %)ffff|(% style="width:333px" %)CP0 ~~ FFFF 594 +|(% style="width:393px" %)N|(% style="width:350px" %)ffff|(% style="width:333px" %)N0 ~~ FFFF 595 +|(% style="width:393px" %)F|(% style="width:350px" %)ffff|(% style="width:333px" %)F0 ~~ FFFF 596 + 597 += = 598 + 493 493 = **Mitsubishi** = 494 494 495 495 == **FX1S, 1N, 2N Series** == ... ... @@ -1896,7 +1896,7 @@ 1896 1896 1897 1897 == **LOGO Ethernet** == 1898 1898 1899 -Supported Series: Siemens Logo 2005 +Supported Series: Siemens Logo 0BA0 series 1900 1900 1901 1901 **HMI Settings** 1902 1902 ... ... @@ -1959,9 +1959,8 @@ 1959 1959 Set PLC IP in [Device IP] settings; 1960 1960 1961 1961 (% style="text-align:center" %) 1962 -[[image: 12.PLC Protocol_html_573fc64ad393cd4f.png||data-xwiki-image-style-alignment="center" height="655" width="379" class="img-thumbnail"]]2068 +[[image:SiemensLOGODeviceIP.png]] 1963 1963 1964 - 1965 1965 Enable HMI Ethernet in [Project Settings]; 1966 1966 1967 1967 (% style="text-align:center" %) ... ... @@ -2264,63 +2264,6 @@ 2264 2264 2265 2265 **✎Note:** COM3 only available in PI8000/PI9000 series. 2266 2266 2267 -= **WECON PLC** = 2268 - 2269 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 2270 - 2271 -**HMI Settings** 2272 - 2273 -(% class="table-bordered" %) 2274 -|**Item**|**Settings**|**Note** 2275 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM| 2276 -|Connection|RS422/RS485| 2277 -|Baud rate|9600| 2278 -|Data bit|7| 2279 -|Parity|EVEN| 2280 -|Stop bit|1| 2281 -|PLC station No.|1| 2282 - 2283 -**Address List** 2284 - 2285 -(% class="table-bordered" %) 2286 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** 2287 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237| 2288 -|Y|Y|Y o|0~~303237| 2289 -|M|M|M d|0~~99999| 2290 -|T|T|T d|0~~99999| 2291 -|C|C|C d|0~~99999| 2292 -|S|S|S d|0~~99999| 2293 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237| 2294 -|Y|Y|Y o|0~~303237| 2295 -|M|M|M d|0~~99999| 2296 -|T|T|T d|0~~99999| 2297 -|C|C|C d|0~~199| 2298 -|D|D|D d|0~~7999| 2299 -|S|S|S d|0~~99999| 2300 -|SD|SD|SD d|8000~~9999| 2301 - 2302 -**Cable Wiring** 2303 - 2304 -* **RS485** 2305 - 2306 -(% style="text-align:center" %) 2307 -[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] 2308 - 2309 -(% style="text-align:center" %) 2310 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2311 - 2312 -* **RS422** 2313 - 2314 -(% style="text-align:center" %) 2315 -[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] 2316 - 2317 -**✎Note:** 2318 - 2319 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 2320 -* 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. 2321 - 2322 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 2323 - 2324 2324 = **Printer** = 2325 2325 2326 2326 == **TSPL label printer** == ... ... @@ -2489,155 +2489,315 @@ 2489 2489 **✎Note:** COM3 only available in PI8000/PI9000 series. 2490 2490 2491 2491 2492 -= =**1. HMI and WeconLX5V serialcommunication** ==2540 += **Schneider MODBUS RTU** = 2493 2493 2494 - This example introduces the establishment of serial port communication between WeconHMIand LX5V. It is introducedthroughthree parts: PLC software configuration, HMI software configuration, and hardware wiring.2542 +**HMI Setting** 2495 2495 2544 +|=**Parameters**|=**Recommended**|=**Notes** 2545 +|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU| 2546 +|Connection|RS485| 2547 +|**Baud rate**|19200| 2548 +|**Data bit**|8| 2549 +|**Parity**|Even| 2550 +|**Stop bit**|1| 2551 +|**PLC station No.**|1| 2496 2496 2497 -**S oftwareconfigurationof PLC**2553 +**PLC Setting** 2498 2498 2499 - **1)PLCprogrammingsoftware**2555 +|=(% scope="row" %)**Communication mode**|Modbus RTU protocol 2500 2500 2501 - [[image:image-20220810164710-1.png]]2557 +**Device Address** 2502 2502 2503 -**2)New PLC project** 2559 +|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo** 2560 +|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only) 2561 +|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils 2562 +|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal) 2563 +|W|MW|DDDDDD|0 ~~ 999999|Output register 2564 +|DW|MD|DDDDDD|0 ~~ 999999|Output register 2504 2504 2505 - Click New Project andselect the PLCmodel.2566 +**Wiring Diagram** 2506 2506 2507 - [[image:image-20220810172412-1.png]]2568 +**RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector. 2508 2508 2570 +(% style="text-align:center" %) 2571 +[[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]] 2509 2509 2510 -** 3)SetSerial port parameters**2573 += **Barcode Scanner** = 2511 2511 2512 - FollowthestepsbelowtoconfigureSerial port parameters2575 +Supported: DELI 14880 barcode scanner 2513 2513 2514 - Baudrate:1152002577 +**HMI Setting** 2515 2515 2516 -Data bit:8 2579 +|**Items**|**Settings**|**Note** 2580 +|Protocol|Barcode Scanner| 2581 +|Connection|USB| 2517 2517 2518 - Stopbit:12583 +**Operating Procedures** 2519 2519 2520 - Parity:Noverification2585 +Select [Barcode Scanner]; 2521 2521 2522 -[[image:image-20220810165759-3.png]] 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"]] 2523 2523 2590 +Set address for receiving; 2524 2524 2525 - **4)Registerslist**2592 +Set correct length; 2526 2526 2527 -[[image:image-20220811102219-3.png]] 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"]] 2528 2528 2597 +**✎Note:** 2529 2529 2530 -**HMI software configuration** 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; 2531 2531 2532 -**1)HMI programming software** 2533 2533 2534 - [[image:image-20220810171237-4.png]]2604 += **Hitachi EHV Series (Ethernet)** = 2535 2535 2536 - **2)NewHMIproject**2606 +Supported series: Hitachi EHV series 2537 2537 2538 - Click New Project and select theHMImodel.2608 +**HMI Settings** 2539 2539 2540 -[[image:image-20220810172010-5.png]] 2610 +(% class="table-bordered" %) 2611 +|**Items**|**Settings**|**Note** 2612 +|Protocol|Hitachi EHV series| 2613 +|Connection|Ethernet| 2614 +|Port No.|3004~~3007| 2541 2541 2542 -** 3)Setcommunication port parameters**2616 +**Address List** 2543 2543 2544 -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. 2618 +(% class="table-bordered" %) 2619 +|**Type**|**Register**|**Range**|**Format**|**Note** 2620 +|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD| 2621 +|M|0 - 7FFF.f (Hex)|M HHHH.h| 2622 +|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)((( 2623 +H1H2H3H4 Module main number 2545 2545 2546 - Baudrate:1152002625 +H1: Remote number 2547 2547 2548 - Databit:82627 +H2: Unit number 2549 2549 2550 -S topbit:12629 +H3: Slot number 2551 2551 2552 - Parity:Noverification2631 +H4: Word number of Module 2553 2553 2633 +H Sub number of Module 2554 2554 2555 - [[image:image-20220811104012-1.png]]2635 +For example:X21.3 2556 2556 2637 +Slot number 2 2557 2557 2558 - **hardwareconnection**2639 +Word number of module is 1 2559 2559 2560 - **1)Hardwarewiringdiagram**2641 +Bit number of module is 3 2561 2561 2562 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 2643 +Remote number and unit number are 0 2644 +))) 2645 +|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h 2646 +|R|0 – FF.f (Hex)|R HH.h| 2647 +|L|0 - 73FF.f (Hex)|L HHHH.h| 2648 +|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH| 2649 +|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)((( 2650 +H1H2H3H4 Module main number 2563 2563 2564 - [[image:image-20220811103005-4.png]]2652 +H1: Remote number 2565 2565 2654 +H2: Unit number 2566 2566 2567 - [[image:image-20220811103227-7.png]]2656 +H3: Slot number 2568 2568 2569 - Theabove areall the steps for establishing serialportcommunication between Wecon HMI with LX5V PLC.2658 +H4: Word number of module 2570 2570 2571 - == **2. HMI and Wecon LX5V-N Ethernetcommunication** ==2660 +For example:WX21 2572 2572 2573 - (% id="cke_bm_147709S"style="display:none" %) (%%)This exampleintroducesthe establishmentofEthernet communication between Wecon HMI andLX5V. It is introducedthrough three parts: PLC software configuration, HMIsoftwareconfiguration, and hardware wiring.2662 +Word number of module is 1 2574 2574 2664 +Slot number is 2 2575 2575 2576 -**Software configuration of PLC** 2666 +Remote number and unit number are 0 2667 +))) 2668 +|WY|0 – FFFF (Hex)|WY H1H2H3H4 2669 +|WR|0 – FFFF (Hex)|WR HHHH| 2670 +|WL|0 - 73FF (Hex)|WL HHHH| 2671 +|TC|0 - 2559|TC DDDD| 2577 2577 2578 -** 1)PLCprogrammingsoftware**2673 +**Communication settings in HMI** 2579 2579 2580 - [[image:image-20220810164710-1.png]]2675 +Enable HMI Ethernet in [Project Settings]; 2581 2581 2582 -**2)New PLC project** 2677 +(% style="text-align:center" %) 2678 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2583 2583 2584 - Click NewProjectandselect the PLCmodel.2680 +Set PLC IP in [Device IP] settings; 2585 2585 2586 -[[image:image-20220811115454-1.png]] 2682 +(% style="text-align:center" %) 2683 +[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] 2587 2587 2685 +**PLC Configuration** 2588 2588 2589 - **3)SetEthernetport parameters**2687 +Connect with PLC, select[Online mode]; 2590 2590 2591 -Follow the steps below to configure Ethernet parameters 2689 +(% style="text-align:center" %) 2690 +[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]] 2592 2592 2593 - PLCIP address:192.168.39.2002692 +Set IP address, it is the same LAN parameters with HMI; 2594 2594 2595 -default gateway:192.168.39.1 2694 +(% style="text-align:center" %) 2695 +[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]] 2596 2596 2597 - subnet mask:255.255.255.02697 +3) Save PLC communication parameter, and restart PLC 2598 2598 2599 - [[image:image-20220811140530-2.png]]2699 +**PLC Monitor Mode** 2600 2600 2701 +Connect with PLC and choose to “online” mode 2601 2601 2602 -**4)Registers list** 2703 +(% style="text-align:center" %) 2704 +[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]] 2603 2603 2604 - [[image:image-20220811102219-3.png]]2706 +Open I/O monitor sheet1 2605 2605 2708 +(% style="text-align:center" %) 2709 +[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]] 2606 2606 2607 - **HMIsoftware configuration**2711 +During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected 2608 2608 2609 -**1)HMI programming software** 2713 +(% style="text-align:center" %) 2714 +[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]] 2610 2610 2611 - [[image:image-20220810171237-4.png]]2716 +Enter the register address, click OK to view the value of the register. 2612 2612 2613 -**2)New HMI project** 2718 +(% style="text-align:center" %) 2719 +[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]] 2614 2614 2615 -Click New Project and select the HMI model. 2721 +(% style="text-align:center" %) 2722 +[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]] 2616 2616 2617 - [[image:image-20220810172010-5.png]]2724 +**✎Note:** 2618 2618 2619 -**3)Set communication port parameters** 2726 +* Both word registers and bit registers support even continuous read/write functions; 2727 +* The range of registers is based on the specific PLC type; 2620 2620 2621 -C lick the project settingbutton on theleftto configure the IP address of the HMI machine to ensure that the HMI and PLC IP remain in a local area network.2729 +**Cable Wiring** 2622 2622 2623 -HMI IP address:192.168.39.201 2731 +(% style="text-align:center" %) 2732 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2624 2624 2625 - defaultgateway:192.168.39.12734 += **IEC60870-5 104 Client** = 2626 2626 2627 - subnetmask:255.255.255.02736 +**HMI Setting** 2628 2628 2629 -[[image:image-20220811170753-2.png]] 2738 +(% class="table-bordered" %) 2739 +|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note** 2740 +|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %) 2741 +|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %) 2742 +|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %) 2630 2630 2631 - Next,click Communication Settingso configure the IP of the HMI communication object.2744 +**Address List** 2632 2632 2633 -[[image:image-20220811163047-1.png]] 2746 +(% class="table-bordered" %) 2747 +|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range** 2748 +|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7 2749 +|(% style="width:461px" %)SCNA|0~~16777215.7 2750 +|(% style="width:461px" %)DPTB|0~~16777215.7 2751 +|(% style="width:461px" %)DCNA|0~~16777215.7 2752 +|(% style="width:461px" %)METF|0~~16777215.7 2753 +|(% style="width:461px" %)SENC|0~~16777215.7 2754 +|(% style="width:461px" %)SENA|0~~16777215.7 2755 +|(% style="width:461px" %)MENA|0~~16777215.7 2756 +|(% style="width:461px" %)METD|0~~16777215.7 2757 +|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215 2758 +|(% style="width:461px" %)SCNA|0~~16777215 2759 +|(% style="width:461px" %)DPTB|0~~16777215 2760 +|(% style="width:461px" %)DCNA|0~~16777215 2761 +|(% style="width:461px" %)SENA|0~~16777215 2762 +|(% style="width:461px" %)MENA|0~~16777215 2763 +|(% style="width:461px" %)METD|0~~16777215 2764 +|(% style="width:461px" %)INRO|0~~16777215 2765 +|(% style="width:461px" %)TIMESYN|0~~16777215 2766 +|(% style="width:461px" %)TIMEZ|0~~16777215 2767 +|(% style="width:461px" %)NTP|0~~16777215 2768 +|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215 2769 +|(% style="width:461px" %)SENC|0~~16777215 2634 2634 2635 -** hardwareconnection**2771 +**Address Configuration** 2636 2636 2637 - **1)Hardware wiringdiagram**2773 +The address registers of the IEC60870-5-104 protocol are SPTB, SCNA, DPTB, DCNA, METF, and SENC. The protocol needs to be added with an extension tag "ASDU", which could only be added in the [Address Identification Library], other places are not editable, that is, the read address in the object or script is not editable. 2638 2638 2639 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 2775 +(% style="text-align:center" %) 2776 +[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]] 2640 2640 2641 -[[image:image-20220811170248-1.png]] 2778 +(% style="text-align:center" %) 2779 +[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]] 2642 2642 2643 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 2781 +Extended tag name 2782 + 2783 +Address range for the extended tag. 2784 + 2785 +**Communication Settings** 2786 + 2787 +Enable HMI Ethernet in [Project Settings]; 2788 + 2789 +(% style="text-align:center" %) 2790 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2791 + 2792 +Set PLC IP in [Device IP] settings; 2793 + 2794 +(% style="text-align:center" %) 2795 +[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]] 2796 + 2797 +**Cable Wiring** 2798 + 2799 +(% style="text-align:center" %) 2800 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2801 + 2802 += **LG XGK FEnet Ethernet** = 2803 + 2804 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module 2805 + 2806 +**HMI Settings** 2807 + 2808 +(% class="table-bordered" %) 2809 +|**Items**|**Settings**|**Note** 2810 +|Protocol|LG XGK FEnet(Ethernet)| 2811 +|Connection|Ethernet| 2812 +|Port No.|2004| 2813 + 2814 +**Address List** 2815 + 2816 +(% class="table-bordered" %) 2817 +|**Type**|**Register**|**Range**|**Format**|**Note** 2818 +|(% rowspan="14" %)Word|P|0~~2047|P d| 2819 +|M|0~~2047|M d| 2820 +|K|0~~2047|K d| 2821 +|F|0~~2047|F d| 2822 +|T|0~~2047|T d| 2823 +|C|0~~2047|C d| 2824 +|Z|0~~127|Z d| 2825 +|S|0~~127|S d| 2826 +|L|0~~11263|L d| 2827 +|N|0~~21503|N d| 2828 +|D|0~~32767|D d| 2829 +|R|0~~32767|R d| 2830 +|ZR|0~~65535|ZR d| 2831 +|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31 2832 + 2833 +**✎Note:** 2834 + 2835 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC; 2836 +* The [UxDD] register, defined in the PLC is Ux.dd, x represents the block, and dd represents 0-31 of each block. There are 64 blocks in the PLC; 2837 +* All bit registers are in the form of bits in word, and the range is the same as the word register; 2838 + 2839 +**Communication settings in HMI** 2840 + 2841 +Enable HMI Ethernet in [Project Settings]; 2842 + 2843 +(% style="text-align:center" %) 2844 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2845 + 2846 +Set PLC IP in [Device IP] settings; 2847 + 2848 +(% style="text-align:center" %) 2849 +[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]] 2850 + 2851 +**Cable Wiring**
- SiemensLOGODeviceIP.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.9 KB - Content
- image-20220817154212-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +51.8 KB - Content
- 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