Wiki source code of WECON

Version 8.1 by Leo Wei on 2023/08/24 14:11

Show last authors
1 = WECON =
2
3 == {{id name="HLX3VSerial"/}}**LX3V Serial ** ==
4
5 Supported series: Wecon LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
6
7 **1)V-BOX setting**
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 **2)Address List**
19
20 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
21 |(% rowspan="6" %)Bit|X|X|Xo|0~~303237|
22 |Y|Y|Y o|0~~303237|
23 |M|M|M d|0~~99999|
24 |T|T|T d|0~~99999|
25 |C|C|C d|0~~99999|
26 |S|S|S d|0~~99999|
27 |(% rowspan="8" %)Word|X|X|Xo|0~~303237|
28 |Y|Y|Y o|0~~303237|
29 |M|M|M d|0~~99999|
30 |T|T|T d|0~~99999|
31 |C|C|C d|0~~199|
32 |D|D|D d|0~~7999|
33 |S|S|S d|0~~99999|
34 |SD|SD|SD d|8000~~9999|
35
36 **3)Configure the communication protocol**
37
38 {{id name="Iimage-20220824152217-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_96093afacee1e597.png||alt="图片-20220824152217-1.png" height="1009" width="1920"]]
39
40 **4)Cable Wiring**
41
42 * **RS422**
43
44 {{id name="Iimage-20220824120614-5.png"/}} [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_c30060d3e993c4c2.png||alt="image-20220824120614-5.png" height="197" width="360"]]
45
46 * **RS485**
47
48 {{id name="Iimage-20220824120524-3.png"/}} [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_97a300cba250cee3.png||alt="image-20220824120524-3.png" height="207" width="400"]]
49
50 == {{id name="HLX5VA0Serial"/}}**LX5V Serial ** ==
51
52 This example introduces the establishment of serial port communication between V-BOX and LX5V. It is introduced through three parts: PLC software configuration, V-BOX software configuration, and hardware wiring.
53
54 **Software configuration of PLC**
55
56 **1)PLC programming software**
57
58 {{id name="Iimage-20220824142722-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_7599c2849074f02b.png||alt="image-20220824142722-1.png" height="326" width="424"]]
59
60 **2)New PLC project**
61
62 Click New Project and select the PLC model.
63
64 {{id name="Iimage-20220822172623-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_41288d6ab0e1b8b2.png||alt="image-20220822172623-2.png" height="646" width="1203"]]
65
66 **3)Set Serial port parameters**
67
68 Follow the steps below to configure Serial port parameters
69
70 Baud rate:115200
71
72 Data bit:8
73
74 Stop bit:1
75
76 Parity:No verification
77
78 {{id name="Iimage-20220822172657-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_6c30b7a00702b588.png||alt="image-20220822172657-3.png" height="648" width="1206"]]
79
80 **4)Registers list**
81
82 {{id name="Iimage-20220822172730-4.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_ea5d81cedd19868c.png||alt="image-20220822172730-4.png" height="644" width="1197"]]
83
84 **V-BOX software configuration**
85
86 **1)V-BOX programming software**
87
88 {{id name="Iimage-20220824104124-1.png"/}} [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_5f3372d6421c7729.png||alt="image-20220824104124-1.png" height="446" width="732"]]
89
90 **2)V-NET add device**
91
92 Open V-NET client software → add device. As shown in the figure below, click "+" in the order of steps, and the Add Device window will pop up, enter the access key, password and remark, to add the device.
93
94 {{id name="Iimage-20220824104909-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_5ccc2489b6abfb.png||alt="image-20220824104909-2.png" height="1021" width="1895"]]
95
96 **3)Set communication port parameters**
97
98 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.
99
100 Baud rate:115200
101
102 Data bit:8
103
104 Stop bit:1
105
106 Parity:No verification
107
108 {{id name="Iimage-20220824142130-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_81423b8c5e2372d0.png||alt="image-20220824142130-1.png" height="1011" width="1920"]]
109
110 **hardware connection**
111
112 **1)Hardware wiring diagram**
113
114 {{id name="Iimage-20220824142546-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_c263ecbe93db8ca4.png||alt="image-20220824142546-2.png" height="221" width="818"]]
115
116 {{id name="Iimage-20220824142643-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_b00640983fe9076f.png||alt="image-20220824142643-3.png" height="235" width="403"]]
117
118 The above are all the steps for establishing serial port communication between V-BOX with LX5V PLC.
119
120 == {{id name="HLX5V-NEthernet"/}}**LX5V-N Ethernet ** ==
121
122 This example introduces the establishment of Ethernet communication between V-BOX and LX5V-N. It is introduced through three parts: PLC software configuration, V-BOX software configuration, and hardware wiring.
123
124 **Software configuration of PLC**
125
126 **1)PLC programming software**
127
128 {{id name="Iimage-20220824142722-1.png-1"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_7599c2849074f02b.png||alt="image-20220824142722-1.png" height="326" width="424"]]
129
130 **2)New PLC project**
131
132 Click New Project and select the PLC model.
133
134 {{id name="Iimage-20220824143613-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_c2ed710651b46a92.png||alt="image-20220824143613-1.png" height="1028" width="1920"]]
135
136 **3)Set Ethernet port parameters**
137
138 Follow the steps below to configure Ethernet parameters
139
140 PLC IP address:192.168.39.200
141
142 default gateway:192.168.39.1
143
144 subnet mask:255.255.255.0
145
146 {{id name="Iimage-20220824143744-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_60404ed3c7204071.png||alt="image-20220824143744-2.png" height="1031" width="1920"]]
147
148 **4)Registers list**
149
150 {{id name="Iimage-20220822172730-4.png-1"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_ea5d81cedd19868c.png||alt="image-20220822172730-4.png" height="644" width="1197"]]
151
152 {{id name="cke_bm_22473S"/}}** V-BOX software configuration**
153
154 **1)V-BOX programming software**
155
156 {{id name="Iimage-20220824104124-1.png-1"/}} [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_5f3372d6421c7729.png||alt="image-20220824104124-1.png" height="446" width="732"]]
157
158 **2)V-NET add device**
159
160 Open V-NET client software → add device. As shown in the figure below, click "+" in the order of steps, and the Add Device window will pop up, enter the access key, password and remark, to add the device.
161
162 {{id name="Iimage-20220824104909-2.png-1"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_5ccc2489b6abfb.png||alt="image-20220824104909-2.png" height="1021" width="1895"]]
163
164 **3)Set communication Protocol**
165
166 Click Communication to configure the LX5V plc protocol and IP address.
167
168 {{id name="Iimage-20220824144619-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_839390ad71e3603a.png||alt="image-20220824144619-1.png" height="1009" width="1920"]]
169
170 **hardware connection**
171
172 **1)Hardware wiring diagram**
173
174 {{id name="Iimage-20220824151127-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_6322371917d6fb55.png||alt="image-20220824151127-2.png" height="269" width="662"]]
175
176 The above are all the steps for establishing ethernet communication between V-BOX with LX5V PLC.