Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.1 | 1 | = {{id name="HWECON"/}}WECON = |
2 | |||
3 | == {{id name="HLX3Series"/}}**LX3 Series** == | ||
4 | |||
5 | Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM | ||
6 | |||
7 | **HMI Settings** | ||
8 | |||
9 | |=**Item**|=**Settings**|=**Note** | ||
10 | |=Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM| | ||
11 | |=Connection|RS422/RS485| | ||
12 | |=Baud rate|9600| | ||
13 | |=Data bit|7| | ||
14 | |=Parity|EVEN| | ||
15 | |=Stop bit|1| | ||
16 | |=PLC station No.|1| | ||
17 | |||
18 | **Address List** | ||
19 | |||
![]() |
56.1 | 20 | |=(% style="width: 181px;" %)**Type**|=(% style="width: 348px;" %)**Device registers**|=(% style="width: 431px;" %)**HMI registers**|=(% style="width: 321px;" %)**Range**|=(% style="width: 321px;" %)Note |
21 | |=(% colspan="1" rowspan="8" style="width: 181px;" %)Bit|(% style="width:348px" %)X|(% style="width:431px" %)X OOOOOO|(% style="width:321px" %)0~~303237|(% style="width:321px" %) | ||
22 | |(% style="width:348px" %)Y|(% style="width:431px" %)Y OOOOOO|(% style="width:321px" %)0~~303237|(% style="width:321px" %) | ||
23 | |(% style="width:348px" %)M|(% style="width:431px" %)M DDDDD|(% style="width:321px" %)0~~99999|(% style="width:321px" %) | ||
24 | |(% style="width:348px" %)T|(% style="width:431px" %)T DDDDD|(% style="width:321px" %)0~~99999|(% style="width:321px" %) | ||
25 | |(% style="width:348px" %)C|(% style="width:431px" %)C DDDDD|(% style="width:321px" %)0~~99999|(% style="width:321px" %) | ||
26 | |(% style="width:348px" %)SM|(% style="width:431px" %)SM DDDD|(% style="width:321px" %)8000~~9999|(% style="width:321px" %) | ||
27 | |(% style="width:348px" %)S|(% style="width:431px" %)S DDDDD|(% style="width:321px" %)0~~99999|(% style="width:321px" %) | ||
![]() |
57.1 | 28 | |(% style="width:348px" %)Lamp|(% style="width:431px" %)Lamp D|(% style="width:321px" %)0~~0|(% style="width:321px" %)Communication indicator |
![]() |
56.1 | 29 | |=(% colspan="1" rowspan="10" style="width: 181px;" %)Word|(% style="width:348px" %)X|(% style="width:431px" %)X OOOOOO|(% style="width:321px" %)0~~303237|(% style="width:321px" %) |
30 | |(% style="width:348px" %)Y|(% style="width:431px" %)Y OOOOOO|(% style="width:321px" %)0~~303237|(% style="width:321px" %) | ||
31 | |(% style="width:348px" %)M|(% style="width:431px" %)M DDDDD|(% style="width:321px" %)0~~99999|(% style="width:321px" %) | ||
32 | |(% style="width:348px" %)T|(% style="width:431px" %)T DDDDD|(% style="width:321px" %)0~~99999|(% style="width:321px" %) | ||
33 | |(% style="width:348px" %)C|(% style="width:431px" %)C DDD|(% style="width:321px" %)0~~199|(% style="width:321px" %) | ||
34 | |(% style="width:348px" %)D|(% style="width:431px" %)D DDDD|(% style="width:321px" %)0~~7999|(% style="width:321px" %) | ||
35 | |(% style="width:348px" %)S|(% style="width:431px" %)S DDDDD|(% style="width:321px" %)0~~99999|(% style="width:321px" %) | ||
36 | |(% style="width:348px" %)SD|(% style="width:431px" %)SD DDDD|(% style="width:321px" %)8000~~9999|(% style="width:321px" %) | ||
37 | |(% style="width:348px" %)CMOD|(% style="width:431px" %)CMOD D|(% style="width:321px" %)0~~1|(% style="width:321px" %) | ||
38 | |(% style="width:348px" %)CMSI|(% style="width:431px" %)CMSI D|(% style="width:321px" %)0~~1|(% style="width:321px" %) | ||
![]() |
57.1 | 39 | |=(% colspan="1" style="width: 181px;" %)Double Word|(% style="width:348px" %)CH|(% style="width:431px" %)CH DDD|(% style="width:321px" %)200~~255|(% style="width:321px" %)C200~~234: 32-bit Counter |
40 | C235~~255: High Speed Counter | ||
![]() |
2.1 | 41 | |
42 | **Cable Wiring** | ||
43 | |||
44 | * **RS485** | ||
45 | |||
46 | {{id name="I12.PLCProtocol_html_1897d92be6948d58.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c6d16b5adff76549.png||alt="12.PLC Protocol_html_1897d92be6948d58.png" height="223" width="393"]] | ||
47 | |||
48 | * **RS422** | ||
49 | |||
50 | {{id name="I12.PLCProtocol_html_5c7fca9a70da2ee8.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_59ce051d2c5e70e0.png||alt="12.PLC Protocol_html_5c7fca9a70da2ee8.png" height="247" width="389"]] | ||
51 | |||
52 | **✎Note:** | ||
53 | |||
54 | * HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . | ||
55 | * 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. | ||
56 | |||
57 | [[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] | ||
58 | |||
![]() |
38.3 | 59 | **{{id name="HHMIsettings"/}}HMI settings** |
![]() |
2.1 | 60 | |
61 | **Download PIStudio Software** | ||
62 | |||
63 | Please visit the link below to get the latest version PIstudio for HMI programming: | ||
64 | |||
65 | * [[Download link>>url:https://docs.we-con.com.cn/bin/view/PIStudio/Download/3%20Software/]] | ||
66 | |||
67 | **Create a new HMI project connect with PLC** | ||
68 | |||
69 | Check the link below for the video to show you how to get started with a new project | ||
70 | |||
71 | * [[Video>>url:https://youtu.be/0FpmDZe_8U8]] | ||
72 | |||
73 | For more videos, please visit our Youtube channel: [[http:~~/~~/www.youtube.com/user/Wecon2004/videos>>url:http://www.youtube.com/user/Wecon2004/videos]] | ||
74 | |||
75 | **General** | ||
76 | |||
77 | 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. | ||
78 | |||
79 | **Protocol settings** | ||
80 | |||
81 | The communication between two devices requires a protocol. The following contents show the steps of protocol settings. | ||
82 | |||
83 | Please select the protocol, when creating a new project. | ||
84 | |||
85 | 1. Select the COM port for communication; | ||
86 | 1. PLC type: It means PLC brand, like WECON; | ||
87 | 1. PLC model: It shows the model of PLC, such as LX3V; | ||
88 | |||
89 | {{id name="Iimage-20220819093729-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_271ccf1461ff2285.png||alt="image-20220819093729-1.png" height="236" width="464"]] | ||
90 | |||
91 | If you want to change the protocol for existing project, please click [Program] → [Communication] to open the [Communication] windows, shown as the following figure. | ||
92 | |||
93 | {{id name="Iimage-20220819093729-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_9089051384ca99de.png||alt="image-20220819093729-2.png" height="138" width="702"]] | ||
94 | |||
95 | The steps to change the protocol for project are as follows. | ||
96 | |||
97 | 1. Click [Setting] to open the [Communication device] window; | ||
98 | 1. Select communication port, such as COM1; | ||
99 | 1. Select Serial port for communication, such as RS422; | ||
100 | 1. Select device type (device brand), such as WECON; | ||
101 | 1. Select the protocol for communication, such as WECON LX3V; | ||
102 | |||
103 | {{id name="Iimage-20220819093729-3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_33df6370c17ebfa9.png||alt="image-20220819093729-3.png" height="674" width="875"]] | ||
104 | |||
105 | **Parameter settings** | ||
106 | |||
107 | The parameters settings are in [Communication] window, shown as following below. | ||
108 | |||
109 | 1. Click [Setting] to open the [COM port setting] window; | ||
110 | 1. Set the parameters such as [connection], [Baud rate] and so on; | ||
111 | |||
112 | {{id name="Iimage-20220819093729-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_891cd58628495097.png||alt="image-20220819093729-4.png" height="636" width="818"]] | ||
113 | |||
114 | 1. Click [Setting] to open [Timeout] setting window, you could set the parameters according your requirements, or just use the default value. | ||
115 | |||
116 | {{id name="Iimage-20220819093729-5.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_b80c1a7329ce3f5f.png||alt="image-20220819093729-5.png" height="296" width="349"]] | ||
117 | |||
118 | **Set PLC address in HMI screen** | ||
119 | |||
120 | 1. Place the objects to HMI screen; | ||
121 | 1. Double-click the object to open the setting window; | ||
122 | 1. Click “Edit” to open the address setting windows; | ||
123 | 1. Connection: select the serial port in HMI; | ||
124 | 1. Address type: All the PLC address types will be display in this list, such as M; | ||
125 | 1. Address No.: Please input the number of this address, such as 0; | ||
126 | |||
127 | {{id name="Iimage-20220819093729-6.jpeg"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c233137c112020bf.jpg||alt="image-20220819093729-6.jpeg" height="817" width="1593"]] | ||
128 | |||
129 | **HMI Compilation Download** | ||
130 | |||
131 | {{id name="Iimage-20220902171247-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_49085bc4fc23af93.png||alt="image-20220902171247-1.png" height="1078" width="1262"]] | ||
132 | |||
133 | **Communication cable** | ||
134 | |||
135 | 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. | ||
136 | |||
137 | {{id name="Iimage-20220819093729-7.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e18a02a8b5c24f4a.png||alt="image-20220819093729-7.png" height="256" width="414"]] | ||
138 | |||
139 | **HMI communication PLC use Modbus ** | ||
140 | |||
141 | * HMI setting: [[https:~~/~~/docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/>>url:https://docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/]] | ||
142 | * PLC setting: [[https:~~/~~/docs.we-con.com.cn/bin/view/PLC%20Editor/8.1.%09Communication/>>url:https://docs.we-con.com.cn/bin/view/PLC%20Editor/8.1.%09Communication/]] | ||
143 | |||
![]() |
38.3 | 144 | **{{id name="HPLCsettings"/}}PLC settings** |
![]() |
2.1 | 145 | |
146 | **Download PLC Software** | ||
147 | |||
148 | Please visit below link to get the latest version PLC Editor for HMI programming | ||
149 | |||
150 | * LX3V:[[Download link>>url:https://docs.we-con.com.cn/bin/view/PLC%20Editor/10%20Hardware%20/Software/]] | ||
151 | * LX5V:[[Download link>>url:https://docs.we-con.com.cn/bin/view/PLC%20Editor2/Download/03%20Software/]] | ||
152 | |||
153 | **Start a new PLC project** | ||
154 | |||
155 | Start a new PLC project by clicking “New” on the left top corner of screen, select the PLC mode from the drop-down list. | ||
156 | |||
157 | {{id name="Iimage-20220819101447-3.jpeg"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d5d194db9d1d33d0.jpg||alt="image-20220819101447-3.jpeg" height="411" width="726"]] | ||
158 | |||
159 | **Add a new instruction ** | ||
160 | |||
161 | Double click on the ladder, select the ladder symbol (instruction) from the drop-down list, then enter the address for this symbol. | ||
162 | |||
163 | {{id name="Iimage-20220819105530-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_6e59dd6d3eba4d.png||alt="image-20220819105530-1.png" height="387" width="698"]] | ||
164 | |||
165 | You could also select the ladder symbol from the menu bar directly. | ||
166 | |||
167 | {{id name="Iimage-20220819093729-12.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_db5a3ad72966c00e.png||alt="image-20220819093729-12.png" height="1040" width="1920"]] | ||
168 | |||
169 | **Add comment to PLC program** | ||
170 | |||
171 | {{id name="Iimage-20220819105630-3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_50fcec6a5d6ac220.png||alt="image-20220819105630-3.png" height="413" width="698"]] | ||
172 | |||
173 | **Add the statement to PLC program** | ||
174 | |||
175 | Add the statement by single click on “Statement”, when finished, single click on “Statement” again to go back to Ladder edit. | ||
176 | |||
177 | {{id name="Iimage-20220819105644-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d44e5ea0b00e2e14.png||alt="image-20220819105644-4.png" height="345" width="698"]] | ||
178 | |||
179 | **Compile ** | ||
180 | |||
181 | 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. | ||
182 | |||
183 | {{id name="Iimage-20220819093729-15.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e2d51171f234946a.png||alt="image-20220819093729-15.png" height="356" width="1912"]] | ||
184 | |||
185 | **Download setting ** | ||
186 | |||
187 | Click on “Transfer Setup” to select download mode. | ||
188 | |||
189 | {{id name="Iimage-20220820150853-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_98b1686a16c575ea.png||alt="image-20220820150853-1.png" height="713" width="1509"]] **Download PLC program to PLC** | ||
190 | |||
191 | Quick select the parameters and main program of PLC program, then download to PLC, “Yes”-”Yes”-”OK” | ||
192 | |||
193 | {{id name="Iimage-20220819093729-17.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_575b66f5b3d8cac5.png||alt="image-20220819093729-17.png" height="808" width="1920"]] | ||
194 | |||
195 | **Upload PLC program from PLC** | ||
196 | |||
197 | Read the PLC program from PLC to computer. | ||
198 | |||
199 | {{id name="Iimage-20220819093729-18.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_66ea9f304121cf6d.png||alt="image-20220819093729-18.png" height="762" width="1920"]] | ||
200 | |||
201 | **Device monitor** | ||
202 | |||
203 | Monitor the value of certain address in PLC, double click “Current value” to change the value in this address. | ||
204 | |||
205 | {{id name="Iimage-20220819093730-19.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ee6125099c14cb2b.png||alt="image-20220819093730-19.png" height="781" width="1920"]] | ||
206 | |||
207 | **Online monitor** | ||
208 | |||
209 | Monitor the each address in PLC by online monitor. Changing the state or value in PLC is also allowd. | ||
210 | |||
211 | {{id name="Iimage-20220819093730-20.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_21923412853b2626.png||alt="image-20220819093730-20.png" height="564" width="1607"]] | ||
212 | |||
213 | **Monitor edit** | ||
214 | |||
215 | In this mode, you could edit the PLC program during PLC is running. | ||
216 | |||
217 | {{id name="Iimage-20220819105928-9.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_9c0519bed3567723.png||alt="image-20220819105928-9.png" height="229" width="669"]] | ||
218 | |||
219 | == {{id name="HLX5VA0Series"/}}**LX5V Series** == | ||
220 | |||
221 | This example introduces the establishment of serial port communication between Wecon HMI and LX5V, including three parts: PLC software configuration, HMI software configuration, and hardware wiring. | ||
222 | |||
223 | **Software configuration of PLC** | ||
224 | |||
225 | PLC programming software | ||
226 | |||
227 | {{id name="Iimage-20220810164710-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7599c2849074f02b.png||alt="image-20220810164710-1.png" height="326" width="424"]] | ||
228 | |||
229 | **New PLC project** | ||
230 | |||
231 | Click "New Project" and select the PLC model. | ||
232 | |||
233 | {{id name="Iimage-20220810172412-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d6bc182897bb2201.png||alt="image-20220810172412-1.png" height="898" width="1672"]] | ||
234 | |||
235 | |||
236 | |||
237 | **HMI software configuration** | ||
238 | |||
239 | HMI programming software | ||
240 | |||
241 | {{id name="Iimage-20220810171237-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d127b46be5bf7497.png||alt="image-20220810171237-4.png" height="419" width="673"]] | ||
242 | |||
243 | **New HMI project** | ||
244 | |||
245 | Click New Project and select the HMI model. | ||
246 | |||
247 | {{id name="Iimage-20220810172010-5.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e73d0d6216dbf983.png||alt="image-20220810172010-5.png" height="912" width="1697"]] | ||
248 | |||
249 | Set communication port parameters | ||
250 | |||
251 | 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. | ||
252 | |||
253 | * Baud rate:115200 | ||
254 | * Data bit:8 | ||
255 | * Stop bit:1 | ||
256 | * Parity:No verification | ||
257 | |||
258 | {{id name="Iimage-20220811104012-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_dac87f79e1471c71.png||alt="image-20220811104012-1.png" height="965" width="1383"]] | ||
259 | |||
260 | **hardware connection** | ||
261 | |||
262 | Hardware wiring diagram | ||
263 | |||
264 | This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: | ||
265 | |||
266 | {{id name="Iimage-20220811103005-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_dab0150e5cf17042.png||alt="image-20220811103005-4.png" height="150" width="681"]] | ||
267 | |||
268 | {{id name="Iimage-20220811103227-7.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d72bd5e65a0f052c.png||alt="image-20220811103227-7.png" height="209" width="342"]] | ||
269 | |||
270 | The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. | ||
271 | |||
272 | == {{id name="HLX5V-NEthernet"/}}**LX5V-N Ethernet** == | ||
273 | |||
274 | {{id name="cke_bm_147709S"/}} This example introduces the establishment of Ethernet communication between Wecon HMI and LX5V, including three parts: PLC software configuration, HMI software configuration, and hardware wiring. | ||
275 | |||
276 | **Software configuration of PLC** | ||
277 | |||
278 | **PLC programming software** | ||
279 | |||
280 | {{id name="Iimage-20220810164710-1.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7599c2849074f02b.png||alt="image-20220810164710-1.png" height="326" width="424"]] | ||
281 | |||
282 | **New PLC project** | ||
283 | |||
284 | Click New Project and select the PLC model. | ||
285 | |||
286 | {{id name="Iimage-20220811115454-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ff2c1cc959b53fdd.png||alt="image-20220811115454-1.png" height="930" width="1699"]] | ||
287 | |||
288 | **Set Ethernet port parameters** | ||
289 | |||
290 | Follow the steps below to configure Ethernet parameters | ||
291 | |||
292 | * PLC IP address:192.168.39.200 | ||
293 | * default gateway:192.168.39.1 | ||
294 | * subnet mask:255.255.255.0 | ||
295 | |||
296 | {{id name="Iimage-20220811140530-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_60404ed3c7204071.png||alt="image-20220811140530-2.png" height="1031" width="1920"]] | ||
297 | |||
298 | **Registers list** | ||
299 | |||
300 | {{id name="Iimage-20220811102219-3.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_eb0d8d9280761af1.png||alt="image-20220811102219-3.png" height="658" width="1226"]] | ||
301 | |||
302 | **HMI software configuration** | ||
303 | |||
304 | HMI programming software | ||
305 | |||
306 | {{id name="Iimage-20220810171237-4.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d127b46be5bf7497.png||alt="image-20220810171237-4.png" height="419" width="673"]] | ||
307 | |||
308 | **New HMI project** | ||
309 | |||
310 | Click New Project and select the HMI model. | ||
311 | |||
312 | {{id name="Iimage-20220810172010-5.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e73d0d6216dbf983.png||alt="image-20220810172010-5.png" height="912" width="1697"]] | ||
313 | |||
314 | **Set communication port parameters** | ||
315 | |||
316 | 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. | ||
317 | |||
318 | * HMI IP address:192.168.39.201 | ||
319 | * Default gateway:192.168.39.1 | ||
320 | * Subnet mask:255.255.255.0 | ||
321 | |||
322 | {{id name="Iimage-20220811170753-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_94717717b08e9074.png||alt="image-20220811170753-2.png" height="1008" width="1920"]] | ||
323 | |||
324 | Next, click Communication Settings to configure the IP of the HMI communication object. | ||
325 | |||
326 | {{id name="Iimage-20220811163047-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_291564bcc9db7b1b.png||alt="image-20220811163047-1.png" height="1030" width="1920"]] | ||
327 | |||
328 | **Hardware connection** | ||
329 | |||
330 | This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: | ||
331 | |||
332 | {{id name="Iimage-20220811170248-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_dcab5cd2ecf22982.png||alt="image-20220811170248-1.png" height="199" width="779"]] | ||
333 | |||
334 | The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. | ||
![]() |
38.3 | 335 | |
![]() |
42.1 | 336 | == **LX6V Ethernet** == |
337 | |||
![]() |
45.1 | 338 | **HMI Setting** |
339 | |||
340 | |=**Items**|=**Settings** | ||
![]() |
49.1 | 341 | |Protocol|WECON LX6V EtherNet/IP |
![]() |
45.1 | 342 | |Connection|Ethernet |
![]() |
46.1 | 343 | |Port No.|33818 |
344 | |Device No.|1 | ||
![]() |
45.1 | 345 | |HMI No.|0 |
346 | |||
![]() |
51.1 | 347 | **Support Variable Type** |
![]() |
47.1 | 348 | |
349 | |=Data Type|=PIStudio Data Format | ||
350 | |=BOOL|Bit | ||
351 | |=BYTE|16-bit Unsigned/Binary/BCD/Hex | ||
352 | |=WORD|16-bit Unsigned/Binary/BCD/Hex | ||
353 | |=DWORD|32-bit Unsigned/Binary/BCD/Hex | ||
354 | |=LWORD|64-bit Signed/Binary/BCD/Hex | ||
355 | |=SINT|16-bit Signed/Binary/BCD/Hex | ||
356 | |=USINT|16-bit Unsigned/Binary/BCD/Hex | ||
357 | |=INT|16-bit Signed/Binary/BCD/Hex | ||
358 | |=UINT|16-bit Unsigned/Binary/BCD/Hex | ||
359 | |=DINT|32-bit Signed/Binary/BCD/Hex | ||
360 | |=UDINT|32-bit Unsigned/Binary/BCD/Hex | ||
361 | |=LINT|64-bit Signed/Binary/BCD/Hex | ||
362 | |=REAL|32-bit Float | ||
363 | |=LREAL|64-bit Float | ||
364 | |||
![]() |
43.1 | 365 | **PLC Setting** |
![]() |
42.1 | 366 | |
367 | PLC programmer software | ||
368 | |||
369 | (% style="text-align:center" %) | ||
370 | [[image:1726822663840-435.png]] | ||
371 | |||
372 | Create and Export the Freetags | ||
373 | |||
![]() |
43.1 | 374 | **①**[Program]→[Global variable]→[GVL]→Create the Freetags you need,notice the Category and Type of data |
375 | |||
376 | (% class="box infomessage" %) | ||
377 | ((( | ||
378 | **✎**Note: Only global variables can be exported normally | ||
379 | ))) | ||
380 | |||
381 | (% style="text-align:center" %) | ||
![]() |
52.1 | 382 | [[image:图片2.png]] |
![]() |
43.1 | 383 | |
![]() |
48.1 | 384 | **②**[File]→[Export label] |
![]() |
43.1 | 385 | |
386 | (% style="text-align:center" %) | ||
![]() |
52.1 | 387 | [[image:图片3.png]] |
![]() |
43.1 | 388 | |
![]() |
48.1 | 389 | **③**Set the Name and Type→[Save]→[OK] |
![]() |
43.1 | 390 | |
391 | (% style="text-align:center" %) | ||
![]() |
52.1 | 392 | [[image:图片4.png]] |
![]() |
43.1 | 393 | |
394 | **HMI Setting ** | ||
![]() |
47.1 | 395 | |
![]() |
50.1 | 396 | Tags import |
![]() |
47.1 | 397 | |
398 | [Labels manage]→[Import Tags From File]→Choose the .CSV file you need→[Open]→[Save]→[OK] | ||
399 | |||
400 | (% style="text-align:center" %) | ||
![]() |
52.1 | 401 | [[image:图片1.png]] |