Changes for page 12 PLC Protocol OLD

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

From version 36.1
edited by Ben
on 2022/08/19 11:23
Change comment: There is no comment for this version
To version 77.1
edited by Ben
on 2022/08/29 14:19
Change comment: There is no comment for this version

Summary

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 -== **FreeTag Ethernet/IP (CompactLogix)** ==
90 +== **LX3V Serial Protocol** ==
91 91  
92 -Allen-Brandly CompactLogix
92 +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 -Export tags 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 -Import labels, 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: [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.
195 +**Parameter settings**
129 129  
130 -**Communication settings in HMI**
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 -**Cable Wiring**
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 -**Address List**
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 -**Cable Wiring**
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: **Register address TP, CS, CP, N, F and TS address edit tare he same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table.
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 -= **Barcode Scanner** =
260 +You could also select the ladder symbol from the menu bar directly.
214 214  
215 -Supported: DELI 14880 barcode scanner
262 +[[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 [Barcode Scanner];
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: Hitachi EHV series
326 +**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 -**Address List**
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: Unit number
337 +**3)Set Serial port parameters**
268 268  
269 -H3: Slot number
339 +Follow the steps below to configure Serial port parameters
270 270  
271 -H4: Word number of Module
341 +Baud rate:115200
272 272  
273 -H Sub number of Module
343 +Data bit:8
274 274  
275 -For example:X21.3
345 +Stop bit:1
276 276  
277 -Slot number 2
347 +Parity:No verification
278 278  
279 -Word number of module is 1
349 +[[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: Remote number
354 +[[image:image-20220811102219-3.png]]
293 293  
294 -H2: Unit number
295 295  
296 -H3: Slot number
357 +**HMI software configuration**
297 297  
298 -H4: Word number of module
359 +**1)HMI programming software**
299 299  
300 -For example:WX21
361 + [[image:image-20220810171237-4.png]]
301 301  
302 -Word number of module is 1
363 +**2)New HMI project**
303 303  
304 -Slot number is 2
365 +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 -**Communication settings in HMI**
369 +**3)Set communication port parameters**
314 314  
315 -Enable HMI Ethernet in [Project Settings];
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 -Set PLC IP in [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) Save PLC communication parameter, and restart PLC
387 +**1)Hardware wiring diagram**
338 338  
339 -**PLC Monitor Mode**
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 PLC and choose to “online” mode
391 +[[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/O monitor sheet1
394 +[[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 -During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
398 +== **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 register address, click OK to view the value of the 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 -**Cable Wiring**
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-5 104 Client** =
415 +**3)Set Ethernet port parameters**
375 375  
376 -**HMI Setting**
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 -**Address List**
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 -Address range for the extended tag.
433 +**HMI software configuration**
424 424  
425 -**Communication Settings**
435 +**1)HMI programming software**
426 426  
427 -Enable HMI 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 -Set PLC IP 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_2297240b57346b2a.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 XGK FEnet Ethernet** =
514 +== **FreeTag Ethernet/IP (CompactLogix)** ==
443 443  
444 -Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
516 +Allen-Brandly CompactLogix
445 445  
446 446  **HMI Settings**
447 447  
448 448  (% class="table-bordered" %)
449 449  |**Items**|**Settings**|**Note**
450 -|Protocol|LG XGK FEnet(Ethernet)|
522 +|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)|
451 451  |Connection|Ethernet|
452 -|Port No.|2004|
524 +|Port No.|44818|
453 453  
454 -**Address List**
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="107" 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** ==
... ... @@ -2263,216 +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 2476  = **Printer** =
2477 2477  
2478 2478  == **TSPL label printer** ==
... ... @@ -2673,3 +2673,283 @@
2673 2673  
2674 2674  (% style="text-align:center" %)
2675 2675  [[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]]
2572 +
2573 += **Barcode Scanner** =
2574 +
2575 +Supported: DELI 14880 barcode scanner
2576 +
2577 +**HMI Setting**
2578 +
2579 +|**Items**|**Settings**|**Note**
2580 +|Protocol|Barcode Scanner|
2581 +|Connection|USB|
2582 +
2583 +**Operating Procedures**
2584 +
2585 +Select [Barcode Scanner];
2586 +
2587 +(% style="text-align:center" %)
2588 +[[image:12.PLC Protocol_html_55a3056357320966.png||data-xwiki-image-style-alignment="center" height="266" width="600" class="img-thumbnail"]]
2589 +
2590 +Set address for receiving;
2591 +
2592 +Set correct length;
2593 +
2594 +(% style="text-align:center" %)
2595 +[[image:12.PLC Protocol_html_30a4c9e9dd4db40b.png||data-xwiki-image-style-alignment="center" height="701" width="500" class="img-thumbnail"]]
2596 +
2597 +**✎Note:**
2598 +
2599 +* The protocol uploads the information acquired by the USB scanner to the HMI;
2600 +* The acquired information is displayed in string mode, so it is necessary to use [characters input/display] object;
2601 +* Recommended model: DELI 14880 barcode scanner;
2602 +
2603 +
2604 += **Hitachi EHV Series (Ethernet)** =
2605 +
2606 +Supported series: Hitachi EHV series
2607 +
2608 +**HMI Settings**
2609 +
2610 +(% class="table-bordered" %)
2611 +|**Items**|**Settings**|**Note**
2612 +|Protocol|Hitachi EHV series|
2613 +|Connection|Ethernet|
2614 +|Port No.|3004~~3007|
2615 +
2616 +**Address List**
2617 +
2618 +(% class="table-bordered" %)
2619 +|**Type**|**Register**|**Range**|**Format**|**Note**
2620 +|(% rowspan="6" %)Bit|T|0 - 2545|T DDDD|
2621 +|M|0 - 7FFF.f (Hex)|M HHHH.h|
2622 +|X|0 – FFFF.f (Hex)|X H1H2H3H4.h|(% rowspan="2" %)(((
2623 +H1H2H3H4 Module main number
2624 +
2625 +H1: Remote number
2626 +
2627 +H2: Unit number
2628 +
2629 +H3: Slot number
2630 +
2631 +H4: Word number of Module
2632 +
2633 +H Sub number of Module
2634 +
2635 +For example:X21.3
2636 +
2637 +Slot number 2
2638 +
2639 +Word number of module is 1
2640 +
2641 +Bit number of module is 3
2642 +
2643 +Remote number and unit number are 0
2644 +)))
2645 +|Y|0 – FFFF.f (Hex)|Y H1H2H3H4.h
2646 +|R|0 – FF.f (Hex)|R HH.h|
2647 +|L|0 - 73FF.f (Hex)|L HHHH.h|
2648 +|(% rowspan="6" %)Word|WM|0 - 7FFF (Hex)|WM HHHH|
2649 +|WX|0 – FFFF (Hex)|WX H1H2H3H4|(% rowspan="2" %)(((
2650 +H1H2H3H4 Module main number
2651 +
2652 +H1: Remote number
2653 +
2654 +H2: Unit number
2655 +
2656 +H3: Slot number
2657 +
2658 +H4: Word number of module
2659 +
2660 +For example:WX21
2661 +
2662 +Word number of module is 1
2663 +
2664 +Slot number is 2
2665 +
2666 +Remote number and unit number are 0
2667 +)))
2668 +|WY|0 – FFFF (Hex)|WY H1H2H3H4
2669 +|WR|0 – FFFF (Hex)|WR HHHH|
2670 +|WL|0 - 73FF (Hex)|WL HHHH|
2671 +|TC|0 - 2559|TC DDDD|
2672 +
2673 +**Communication settings in HMI**
2674 +
2675 +Enable HMI Ethernet in [Project Settings];
2676 +
2677 +(% style="text-align:center" %)
2678 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2679 +
2680 +Set PLC IP in [Device IP] settings;
2681 +
2682 +(% style="text-align:center" %)
2683 +[[image:12.PLC Protocol_html_d825387f5bde6cdd.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
2684 +
2685 +**PLC Configuration**
2686 +
2687 +Connect with PLC, select[Online mode];
2688 +
2689 +(% style="text-align:center" %)
2690 +[[image:12.PLC Protocol_html_8430dda44e5c199c.png||data-xwiki-image-style-alignment="center" height="420" width="600" class="img-thumbnail"]]
2691 +
2692 +Set IP address, it is the same LAN parameters with HMI;
2693 +
2694 +(% style="text-align:center" %)
2695 +[[image:12.PLC Protocol_html_1d8a634f64e25fc3.png||data-xwiki-image-style-alignment="center" height="252" width="347" class="img-thumbnail"]]
2696 +
2697 +3) Save PLC communication parameter, and restart PLC
2698 +
2699 +**PLC Monitor Mode**
2700 +
2701 +Connect with PLC and choose to “online” mode
2702 +
2703 +(% style="text-align:center" %)
2704 +[[image:12.PLC Protocol_html_cdac598e770e3b67.png||data-xwiki-image-style-alignment="center" height="193" width="553" class="img-thumbnail"]]
2705 +
2706 +Open I/O monitor sheet1
2707 +
2708 +(% style="text-align:center" %)
2709 +[[image:12.PLC Protocol_html_68eb3518e5f80892.png||data-xwiki-image-style-alignment="center" height="369" width="559" class="img-thumbnail"]]
2710 +
2711 +During monitoring bit address,1 pts should be selected; during monitoring word address, 16 pts should be selected
2712 +
2713 +(% style="text-align:center" %)
2714 +[[image:12.PLC Protocol_html_774652d8daf548d4.png||data-xwiki-image-style-alignment="center" height="118" width="102" class="img-thumbnail"]]
2715 +
2716 +Enter the register address, click OK to view the value of the register.
2717 +
2718 +(% style="text-align:center" %)
2719 +[[image:12.PLC Protocol_html_bba169c300c92051.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
2720 +
2721 +(% style="text-align:center" %)
2722 +[[image:12.PLC Protocol_html_d3b23bb9e81921a3.png||data-xwiki-image-style-alignment="center" height="404" width="600" class="img-thumbnail"]]
2723 +
2724 +**✎Note:**
2725 +
2726 +* Both word registers and bit registers support even continuous read/write functions;
2727 +* The range of registers is based on the specific PLC type;
2728 +
2729 +**Cable Wiring**
2730 +
2731 +(% style="text-align:center" %)
2732 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2733 +
2734 += **IEC60870-5 104 Client** =
2735 +
2736 +**HMI Setting**
2737 +
2738 +(% class="table-bordered" %)
2739 +|**Items**|(% style="width:725px" %)**Settings**|(% style="width:309px" %)**Note**
2740 +|Protocol|(% style="width:725px" %)IEC60870-5 104 Client|(% style="width:309px" %)
2741 +|Connection|(% style="width:725px" %)Ethernet|(% style="width:309px" %)
2742 +|Port No.|(% style="width:725px" %)2404|(% style="width:309px" %)
2743 +
2744 +**Address List**
2745 +
2746 +(% class="table-bordered" %)
2747 +|(% style="width:460px" %)**Type**|(% style="width:461px" %)**Register**|**Range**
2748 +|(% rowspan="9" style="width:460px" %)Bit|(% style="width:461px" %)SPTB|0~~16777215.7
2749 +|(% style="width:461px" %)SCNA|0~~16777215.7
2750 +|(% style="width:461px" %)DPTB|0~~16777215.7
2751 +|(% style="width:461px" %)DCNA|0~~16777215.7
2752 +|(% style="width:461px" %)METF|0~~16777215.7
2753 +|(% style="width:461px" %)SENC|0~~16777215.7
2754 +|(% style="width:461px" %)SENA|0~~16777215.7
2755 +|(% style="width:461px" %)MENA|0~~16777215.7
2756 +|(% style="width:461px" %)METD|0~~16777215.7
2757 +|(% rowspan="11" style="width:460px" %)Word|(% style="width:461px" %)SPTB|0~~16777215
2758 +|(% style="width:461px" %)SCNA|0~~16777215
2759 +|(% style="width:461px" %)DPTB|0~~16777215
2760 +|(% style="width:461px" %)DCNA|0~~16777215
2761 +|(% style="width:461px" %)SENA|0~~16777215
2762 +|(% style="width:461px" %)MENA|0~~16777215
2763 +|(% style="width:461px" %)METD|0~~16777215
2764 +|(% style="width:461px" %)INRO|0~~16777215
2765 +|(% style="width:461px" %)TIMESYN|0~~16777215
2766 +|(% style="width:461px" %)TIMEZ|0~~16777215
2767 +|(% style="width:461px" %)NTP|0~~16777215
2768 +|(% rowspan="2" style="width:460px" %)Double word|(% style="width:461px" %)METF|0~~16777215
2769 +|(% style="width:461px" %)SENC|0~~16777215
2770 +
2771 +**Address Configuration**
2772 +
2773 +The address registers of the IEC60870-5-104 protocol are SPTB, SCNA, DPTB, DCNA, METF, and SENC. The protocol needs to be added with an extension tag "ASDU", which could only be added in the [Address Identification Library], other places are not editable, that is, the read address in the object or script is not editable.
2774 +
2775 +(% style="text-align:center" %)
2776 +[[image:12.PLC Protocol_html_ba78d143bf457ead.png||data-xwiki-image-style-alignment="center" height="369" width="600" class="img-thumbnail"]]
2777 +
2778 +(% style="text-align:center" %)
2779 +[[image:12.PLC Protocol_html_23533fd5bb81f4ab.png||data-xwiki-image-style-alignment="center" height="389" width="600" class="img-thumbnail"]]
2780 +
2781 +Extended tag name
2782 +
2783 +Address range for the extended tag.
2784 +
2785 +**Communication Settings**
2786 +
2787 +Enable HMI Ethernet in [Project Settings];
2788 +
2789 +(% style="text-align:center" %)
2790 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2791 +
2792 +Set PLC IP in [Device IP] settings;
2793 +
2794 +(% style="text-align:center" %)
2795 +[[image:12.PLC Protocol_html_f848736ec68b125.png||data-xwiki-image-style-alignment="center" height="191" width="554" class="img-thumbnail"]]
2796 +
2797 +**Cable Wiring**
2798 +
2799 +(% style="text-align:center" %)
2800 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2801 +
2802 += **LG XGK FEnet Ethernet** =
2803 +
2804 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2805 +
2806 +**HMI Settings**
2807 +
2808 +(% class="table-bordered" %)
2809 +|**Items**|**Settings**|**Note**
2810 +|Protocol|LG XGK FEnet(Ethernet)|
2811 +|Connection|Ethernet|
2812 +|Port No.|2004|
2813 +
2814 +**Address List**
2815 +
2816 +(% class="table-bordered" %)
2817 +|**Type**|**Register**|**Range**|**Format**|**Note**
2818 +|(% rowspan="14" %)Word|P|0~~2047|P d|
2819 +|M|0~~2047|M d|
2820 +|K|0~~2047|K d|
2821 +|F|0~~2047|F d|
2822 +|T|0~~2047|T d|
2823 +|C|0~~2047|C d|
2824 +|Z|0~~127|Z d|
2825 +|S|0~~127|S d|
2826 +|L|0~~11263|L d|
2827 +|N|0~~21503|N d|
2828 +|D|0~~32767|D d|
2829 +|R|0~~32767|R d|
2830 +|ZR|0~~65535|ZR d|
2831 +|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
2832 +
2833 +**✎Note:**
2834 +
2835 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
2836 +* The [UxDD] register, defined in the PLC is Ux.dd, x represents the block, and dd represents 0-31 of each block. There are 64 blocks in the PLC;
2837 +* All bit registers are in the form of bits in word, and the range is the same as the word register;
2838 +
2839 +**Communication settings in HMI**
2840 +
2841 +Enable HMI Ethernet in [Project Settings];
2842 +
2843 +(% style="text-align:center" %)
2844 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2845 +
2846 +Set PLC IP in [Device IP] settings;
2847 +
2848 +(% style="text-align:center" %)
2849 +[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
2850 +
2851 +**Cable Wiring**
image-20220819093729-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