Wiki source code of Mitsubishi
Version 44.1 by Theodore Xu on 2023/09/15 10:19
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
39.1 | 1 | == **FX1S,1N,2N Serial ** == |
![]() |
2.1 | 2 | |
3 | Supported Series: Mitsubishi FX1S, FX1N, FX2N series | ||
4 | |||
![]() |
37.1 | 5 | **V-BOX Settings** |
![]() |
2.1 | 6 | |
7 | |**Item**|**Settings**|**Note** | ||
8 | |Protocol|Mitsubishi FX1S/FX1N/FX2N| | ||
9 | |Connection|RS422/RS485/RS232| | ||
10 | |Baud rate|9600~~115200| | ||
11 | |Data bit|7/8| | ||
12 | |Parity|EVEN/Odd/None| | ||
13 | |Stop bit|1/2| | ||
14 | |PLC station No.|1~~255| | ||
15 | |||
![]() |
37.1 | 16 | **Address List** |
![]() |
2.1 | 17 | |
![]() |
37.1 | 18 | |**Type**|**Device registers**|**V-Box registers**|**Format**|**Range**|**Note** |
![]() |
2.1 | 19 | |(% rowspan="7" %)Bit|X|X|Xo|0~~303237| |
20 | |Y|Y|Y o|0~~303237| | ||
21 | |M|M|M d|0~~99999| | ||
22 | |T|T|T d|0~~99999| | ||
23 | |C|C|C d|0~~99999| | ||
24 | |S|S|S d|0~~99999| | ||
25 | |SM|SM|SM d|8000~~9999| | ||
26 | |(% rowspan="8" %)Word|X|X|Xo|0~~303237| | ||
27 | |Y|Y|Y o|0~~303237| | ||
28 | |M|M|M d|0~~99999| | ||
29 | |T|T|T d|0~~99999| | ||
30 | |C|C|C d|0~~199| | ||
31 | |D|D|D d|0~~7999| | ||
32 | |S|S|S d|0~~99999| | ||
33 | |SD|SD|SD d|8000~~9999| | ||
34 | |||
![]() |
37.1 | 35 | **Configure the communication protocol** |
![]() |
2.1 | 36 | |
37 | {{id name="Iimage-20220825102844-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_dc262f14b14cf564.png||alt="image-20220825102844-3.png" height="1011" width="1920"]] | ||
38 | |||
![]() |
37.1 | 39 | **Cable Wiring** |
![]() |
2.1 | 40 | |
![]() |
37.1 | 41 | **RS422** |
![]() |
2.1 | 42 | |
![]() |
37.1 | 43 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_9294a40c62eb99be.png||alt="image-20220825103350-4.png" height="284" width="723"]] |
![]() |
2.1 | 44 | |
![]() |
35.1 | 45 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_860bcf87f6ca7b98.png||alt="image-20220825100845-4.png" height="246" width="419"]] |
![]() |
2.1 | 46 | |
![]() |
40.1 | 47 | == **FX3U,3G,3GA Serial ** == |
![]() |
2.1 | 48 | |
49 | Supported Series: Mitsubishi FX3U, FX3G, FX3GA series | ||
50 | |||
![]() |
38.1 | 51 | **V-BOX Settings** |
![]() |
2.1 | 52 | |
53 | |**Item**|**Settings**|**Note** | ||
54 | |Protocol|Mitsubishi FX3U/3G/3GA| | ||
55 | |Connection|RS422/RS485/RS232| | ||
56 | |Baud rate|9600~~115200| | ||
57 | |Data bit|7/8| | ||
58 | |Parity|EVEN/Odd/None| | ||
59 | |Stop bit|1/2| | ||
60 | |PLC station No.|1~~255| | ||
61 | |||
![]() |
38.1 | 62 | **Address List** |
![]() |
2.1 | 63 | |
64 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
65 | |(% rowspan="7" %)Bit|X|X|Xo|0~~303237| | ||
66 | |Y|Y|Y o|0~~303237| | ||
67 | |M|M|M d|0~~99999| | ||
68 | |T|T|T d|0~~99999| | ||
69 | |C|C|C d|0~~99999| | ||
70 | |S|S|S d|0~~99999| | ||
71 | |SM|SM|SM d|8000~~9999| | ||
72 | |(% rowspan="8" %)Word|X|X|Xo|0~~303237| | ||
73 | |Y|Y|Y o|0~~303237| | ||
74 | |M|M|M d|0~~99999| | ||
75 | |T|T|T d|0~~99999| | ||
76 | |C|C|C d|0~~199| | ||
77 | |D|D|D d|0~~7999| | ||
78 | |S|S|S d|0~~99999| | ||
79 | |SD|SD|SD d|8000~~9999| | ||
80 | |||
![]() |
38.1 | 81 | **Configure the communication protocol** |
![]() |
2.1 | 82 | |
![]() |
38.1 | 83 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_4d2a4921240d23c6.png||alt="image-20220825102649-2.png" height="1009" width="1920"]] |
![]() |
2.1 | 84 | |
![]() |
42.1 | 85 | **PLC Setting** |
![]() |
2.1 | 86 | |
![]() |
42.1 | 87 | Open GX Works2, create a new PLC project or open the project that has been created. |
88 | Create new project: [Project]→[New]→[Series] FXCPU→[Type] FX3G/FX3GC→[OK]. | ||
89 | |||
90 | (% style="text-align:center" %) | ||
91 | [[image:1.2.png]] | ||
92 | |||
93 | PLC Default Parameters: | ||
94 | [Connection type]RS422;[Baud rate]9600, [Data bit]7, [Stop bit]1,[Parity]EVEN; [Station number]0 | ||
95 | Note:The serial port parameters should be set depending on field requirements | ||
96 | |||
97 | PC and PLC connection: | ||
98 | |||
99 | [All connection]→[Connection 1]→[Transfer Setup Connection1]→[Serial USB]→RS-232C: PC and PLC are connected by USB to RS232 adapter,choose corresponding [COM Port]COM 5 →[Transmission speed]9.6Kbps→[setup] →[Parity]EVEN→[Data bits]7→[Stop bits]1→[OK] | ||
100 | |||
101 | (% style="text-align:center" %) | ||
102 | [[image:1.5.1.png]] | ||
103 | |||
104 | Connection test:when connection is OK,the GX Works2 prompts “Successfully connected with the FX3G/FX3GCCPU.” | ||
105 | |||
106 | (% style="text-align:center" %) | ||
107 | [[image:1.5.2.png]] | ||
108 | |||
109 | **Cable Wiring** | ||
110 | |||
![]() |
38.1 | 111 | **RS422** |
![]() |
2.1 | 112 | |
![]() |
38.1 | 113 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_1e904556bb758dfe.png||alt="image-20220825103421-5.png" height="296" width="715"]] |
![]() |
2.1 | 114 | |
![]() |
38.1 | 115 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_860bcf87f6ca7b98.png||alt="image-20220825100845-4.png" height="246" width="419"]] |
![]() |
2.1 | 116 | |
![]() |
43.1 | 117 | == **FX NOPROTOCOL** == |
118 | |||
119 | Mitsubishi FX3G-RS232-BD | ||
120 | |||
121 | **V-Box Settings** | ||
122 | |||
123 | |=**Item**|=**Settings**|=**Note** | ||
124 | |Protocol|Mitsubishi FX NOPROTOCOL| | ||
125 | |Connection|RS232| | ||
126 | |Baud rate|9600| | ||
127 | |Data bit|7| | ||
128 | |Parity|EVEN| | ||
129 | |Stop bit|1| | ||
130 | |PLC station No.|0| | ||
131 | |||
132 | (% style="text-align:center" %) | ||
133 | [[image:三菱 FN盒子通讯配置.png]] | ||
134 | |||
135 | **Address List** | ||
136 | |||
137 | |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note** | ||
138 | |(% rowspan="8" %)Bit|X|X|X o|0~~303237| | ||
139 | |Y|Y|Y o|0~~303237| | ||
140 | |M|M|M d|0~~99999| | ||
141 | |T|T|T d|0~~99999| | ||
142 | |C|C|C d|0~~99999| | ||
143 | |S|S|S d|0~~99999| | ||
144 | |SM|SM|SM d|8000~~9999| | ||
145 | |Lamp|Lamp|Lamp d|0~~0| | ||
146 | |(% rowspan="8" %)Word|X|X|X o|0~~303237| | ||
147 | |Y|Y|Y o|0~~303237| | ||
148 | |M|M|M d|0~~99999| | ||
149 | |T|T|T d|0~~99999| | ||
150 | |C|C|C d|0~~199| | ||
151 | |D|D|D d|0~~7999| | ||
152 | |S|S|S d|0~~99999| | ||
153 | |SD|SD|SD d|8000~~9999| | ||
154 | |||
![]() |
44.1 | 155 | **Wiring** |
![]() |
43.1 | 156 | |
![]() |
44.1 | 157 | [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_1717efe8d969a43c.png]] |
158 | |||
![]() |
41.1 | 159 | == **FX3U Ethernet ** == |
![]() |
2.1 | 160 | |
161 | Supported Modules: FX3U-ENET-ADP, FX3U-ENET-L | ||
162 | |||
![]() |
41.1 | 163 | **V-BOX Settings** |
![]() |
2.1 | 164 | |
165 | |Items|Settings|Note | ||
166 | |Protocol|Mitsubishi FX3U| | ||
167 | |Connection|Ethernet| | ||
168 | |Port No.|5009|Must be the same as the PLC setting | ||
169 | |PLC station No.|0| | ||
170 | |||
![]() |
41.1 | 171 | **Address List** |
![]() |
2.1 | 172 | |
173 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
174 | |(% rowspan="7" %)Bit|X|X|X OOO|0~~377| | ||
175 | |Y|Y|Y OOO|0~~377| | ||
176 | |M|M|M DDDD|0~~7679| | ||
177 | |SM|SM|SM DDDD|8000~~8511| | ||
178 | |S|S|S DDDD|0~~4095| | ||
179 | |TS|TS|TS DDD|0~~511| | ||
180 | |CS|CS|CS DDD|0~~255| | ||
181 | |(% rowspan="5" %)Word|CN|CN|CN DDD|0~~199| | ||
182 | |TN|TN|TN DDD|0~~511| | ||
183 | |D|D|D DDDD|0~~7999| | ||
184 | |SD|SD|SD DDDD|8000~~8511| | ||
185 | |R|R|R DDDDD|0~~32767| | ||
186 | |||
![]() |
41.1 | 187 | **Ethernet Module Settings** |
![]() |
2.1 | 188 | |
189 | FX3U-ENET-L module configuration | ||
190 | Set up the FX3U-ENET-L Ethernet module settings as follows. | ||
191 | Select the module location, which in this document is Module 0. | ||
192 | |||
![]() |
41.1 | 193 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_949d5d77c1d9cf1e.png||alt="image-20221116105850-1.png" height="573" width="706"]] |
![]() |
2.1 | 194 | |
195 | Select "Operational setting" to enter the following screen. | ||
196 | |||
197 | The Ethernet module IP is set to 192.168.39.254 in this document, and other options are default. | ||
198 | |||
![]() |
41.1 | 199 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_dfbfdd586c855c47.png||alt="image-20221116105947-1.png" height="573" width="706"]] |
![]() |
2.1 | 200 | |
201 | Select "Open setting" to enter the setting interface, the settings are as follows. | ||
202 | |||
203 | The third item "Protocol" selects TCP, and "Open system" selects MELSOFT connection, which allows the | ||
204 | |||
205 | Mitsubishi programming software GX works2 to communicate with the FX3U via the Ethernet module. | ||
206 | |||
![]() |
41.1 | 207 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_7c01ac15090fcc5b.png||alt="image-20221116110802-1.png" height="549" width="706"]] |
![]() |
2.1 | 208 | |
209 | Click on "transter setup" - "PC side I/F setting", see the following figure. | ||
210 | |||
211 | After setting, the first download must use the programming cable, as shown in the figure; after that, can | ||
212 | |||
213 | use the IP set in the "Ethernet board" to communicate directly with the network cable. | ||
214 | |||
![]() |
41.1 | 215 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d6fd9ce3b96f99e2.png||alt="image-20221116110832-2.png" height="423" width="708"]] |
![]() |
2.1 | 216 | |
217 | Read and write data from the Ethernet module | ||
218 | |||
![]() |
41.1 | 219 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_690b3e57b29cfd4b.png||alt="image-20221116110907-3.png" height="549" width="706"]] |
![]() |
2.1 | 220 | |
221 | Set "Transter setup" to COM communication, and read or write operation as shown below | ||
222 | |||
![]() |
41.1 | 223 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_b317253742f7151.png||alt="image-20221116110917-4.png" height="549" width="706"]] |
![]() |
2.1 | 224 | |
![]() |
41.1 | 225 | **PLC Settings (GX Works 2)** |
![]() |
2.1 | 226 | |
227 | Create a blank FX5U project | ||
228 | |||
229 | Find Current Connection in the navigation | ||
230 | |||
![]() |
41.1 | 231 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d2a46ba9c005cf38.png||alt="image-20221116111427-1.png" height="421" width="705"]] |
![]() |
2.1 | 232 | |
233 | Select Connection Channel List | ||
234 | |||
235 | Select Ethernet board communication | ||
236 | |||
![]() |
41.1 | 237 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_8f49721a3e5b0ef9.png||alt="image-20221116111451-2.png" height="421" width="705"]] |
![]() |
2.1 | 238 | |
239 | Select Ethernet Module | ||
240 | Set the IP address of the PLC | ||
241 | |||
![]() |
41.1 | 242 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_1e9a9e29a46a1041.png||alt="image-20221116111509-3.png" height="666" width="699"]] |
![]() |
2.1 | 243 | |
244 | Read or write PLC data, in this document is read | ||
245 | |||
246 | {{id name="Iimage-20221116111651-4.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_e3d629103727a423.png||alt="image-20221116111651-4.png" height="416" width="697"]] | ||
247 | |||
![]() |
41.1 | 248 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_7f29923ebcb670d1.png||alt="image-20221116111727-5.png" height="416" width="697"]] |
![]() |
2.1 | 249 | |
![]() |
41.1 | 250 | **Configure the communication protocol** |
![]() |
2.1 | 251 | |
![]() |
41.1 | 252 | [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_b2cdc33b6eb92b67.png||alt="image-20221119101946-2.png" height="395" width="695"]] |
![]() |
2.1 | 253 | |
254 | == {{id name="HFX5USerial"/}}**FX5U Serial ** == | ||
255 | |||
256 | Mitsubishi FX5U series PLC | ||
257 | |||
258 | **1)V-BOX Settings** | ||
259 | |||
260 | |**Item**|**Settings**|**Note** | ||
261 | |Protocol|Mitsubishi FX5U| | ||
262 | |Connection|RS422/RS485| | ||
263 | |Baud rate|9600| | ||
264 | |Data bit|7| | ||
265 | |Parity|Odd| | ||
266 | |Stop bit|1| | ||
267 | |PLC station No.|1~~255|Need to be the same as PLC settings | ||
268 | |||
269 | **2)Address List** | ||
270 | |||
271 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
272 | |(% rowspan="15" %)Bit|X|X|X o|0~~303237| | ||
273 | |Y|Y|Y o|0~~303237| | ||
274 | |M|M|M d|0~~99999| | ||
275 | |B|B|B h|0~~7FFF| | ||
276 | |F|F|F d|0~~32767| | ||
277 | |SB|SB|SB h|0~~7FFF| | ||
278 | |TS|TS|TS d|0~~1023| | ||
279 | |TC|TC|TC d|0~~1023| | ||
280 | |STS|STS|STS d|0~~1023| | ||
281 | |STC|STC|STS d|0~~1023| | ||
282 | |CS|CS|CS d|0~~1023| | ||
283 | |CC|CC|CC d|0~~1023| | ||
284 | |SM|SM|SM d|0~~9999| | ||
285 | |L|L|L d|0~~32767| | ||
286 | |S|S|S d|0~~4095| | ||
287 | |(% rowspan="9" %)Word|W|W|W h|0~~3FF| | ||
288 | |TN|TN|TN d|0~~1023| | ||
289 | |STN|STN|STN d|0~~1023| | ||
290 | |CN|CN|CN d|0~~1023| | ||
291 | |R|R|R d|0~~32767| | ||
292 | |SW|SW|SW h|0~~7FFF| | ||
293 | |Z|Z|Z d|0~~23| | ||
294 | |D|D|D d|0~~7999| | ||
295 | |SD|SD|SD d|0~~11999| | ||
296 | |||
297 | **3)PLC Settings (GX Works 3)** | ||
298 | |||
299 | Create a blank FX5U project | ||
300 | |||
301 | Find the 485 serial port module in the system navigation bar and double click to enter the settings. | ||
302 | |||
303 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_5c9cb13fac1e6c93.png3Fwidth3D20026height3D46226rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_5c9cb13fac1e6c93.png?width=200&height=462&rev=1.1||alt="12.PLC Protocol_html_5c9cb13fac1e6c93.png" height="462" width="200"]] | ||
304 | |||
305 | Select protocol in the setting item, and set parameters. | ||
306 | |||
307 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_de942589ca070228.png3Fwidth3D60026height3D32426rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_de942589ca070228.png?width=600&height=324&rev=1.1||alt="12.PLC Protocol_html_de942589ca070228.png" height="324" width="600"]] | ||
308 | |||
309 | Set station number, and [Message Pattern] (Pattern 1 or Pattern 4) | ||
310 | |||
311 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_387ec7d00b5feb59.png3Fwidth3D60026height3D32326rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_387ec7d00b5feb59.png?width=600&height=323&rev=1.1||alt="12.PLC Protocol_html_387ec7d00b5feb59.png" height="323" width="600"]] | ||
312 | |||
313 | Click the [Apply] button to finish the setting. | ||
314 | |||
315 | Click download and select the items as below, then click [execute] to download the configuration to PLC. | ||
316 | |||
317 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_cdef1c5ec8cc2105.png3Fwidth3D60026height3D43426rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_cdef1c5ec8cc2105.png?width=600&height=434&rev=1.1||alt="12.PLC Protocol_html_cdef1c5ec8cc2105.png" height="434" width="600"]] | ||
318 | |||
319 | As soon as download is completed, connect PLC with serial port, then configure it in the [Specify Connection Destination Connection]. | ||
320 | |||
321 | Done. | ||
322 | |||
323 | **4)Configure the communication protocol** | ||
324 | |||
325 | {{id name="Iimage-20220825104904-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_dbaddd53e9951a17.png||alt="image-20220825104904-1.png" height="1033" width="1920"]] | ||
326 | |||
327 | **5)Cable Wiring** | ||
328 | |||
329 | * **RS422** | ||
330 | |||
331 | {{id name="Iimage-20220825105105-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d022c5ff4cf8c68e.png||alt="image-20220825105105-2.png" height="288" width="711"]] | ||
332 | |||
333 | {{id name="Iimage-20220825105533-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_50e173394c73f154.png||alt="image-20220825105533-3.png" height="246" width="420"]] | ||
334 | |||
![]() |
33.1 | 335 | == **FX5U Ethernet ** == |
![]() |
2.1 | 336 | |
337 | Mitsubishi FX5U series PLC | ||
338 | |||
339 | **1)V-BOX Settings** | ||
340 | |||
341 | |**Items**|**Settings**|**Note** | ||
342 | |Protocol|Mitsubishi FX5U| | ||
343 | |Connection|Ethernet| | ||
344 | |Port No.|5002|Must be the same as the PLC setting | ||
345 | |PLC station No.|0| | ||
346 | |||
347 | **2)Address List** | ||
348 | |||
349 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
350 | |(% rowspan="15" %)Bit|X|X|X o|0~~303237| | ||
351 | |Y|Y|Y o|0~~303237| | ||
352 | |M|M|M d|0~~99999| | ||
353 | |B|B|B h|0~~7FFF| | ||
354 | |F|F|F d|0~~32767| | ||
355 | |SB|SB|SB h|0~~7FFF| | ||
356 | |TS|TS|TS d|0~~1023| | ||
357 | |TC|TC|TC d|0~~1023| | ||
358 | |STS|STS|STS d|0~~1023| | ||
359 | |STC|STC|STS d|0~~1023| | ||
360 | |CS|CS|CS d|0~~1023| | ||
361 | |CC|CC|CC d|0~~1023| | ||
362 | |SM|SM|SM d|0~~9999| | ||
363 | |L|L|L d|0~~32767| | ||
364 | |S|S|S d|0~~4095| | ||
365 | |(% rowspan="9" %)Word|W|W|W h|0~~3FF| | ||
366 | |TN|TN|TN d|0~~1023| | ||
367 | |STN|STN|STN d|0~~1023| | ||
368 | |CN|CN|CN d|0~~1023| | ||
369 | |R|R|R d|0~~32767| | ||
370 | |SW|SW|SW h|0~~7FFF| | ||
371 | |Z|Z|Z d|0~~23| | ||
372 | |D|D|D d|0~~7999| | ||
373 | |SD|SD|SD d|0~~11999| | ||
374 | |||
375 | **3)PLC Settings (GX Works 3)** | ||
376 | |||
377 | Find the [Ethernet port] in the navigation area. | ||
378 | |||
379 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_8e8f85ace087346c.png3Fwidth3D30026height3D59326rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_8e8f85ace087346c.png?width=300&height=593&rev=1.1||alt="12.PLC Protocol_html_8e8f85ace087346c.png" height="593" width="300"]] | ||
380 | |||
381 | Select [Own Node Settings] in the [Setting Item List]; | ||
382 | |||
383 | Set [IP Address], [Subnet Mask], [Default Gateway]; | ||
384 | |||
385 | Click [Detailed Settings] into [Ethernet Configuration (Built-in Ethernet Port)] windows; | ||
386 | |||
387 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_5d98495052c8c10e.png3Fwidth3D60026height3D33926rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_5d98495052c8c10e.png?width=600&height=339&rev=1.1||alt="12.PLC Protocol_html_5d98495052c8c10e.png" height="339" width="600"]] | ||
388 | |||
389 | Select [SLMP Connection Module] and add into host station as below picture shows; | ||
390 | |||
391 | Set Port number as 5002 (this is necessary settings); | ||
392 | |||
393 | Click [Close with Reflecting the Setting] to save and close window; | ||
394 | |||
395 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_14b489fdc6c6589d.png3Fwidth3D60026height3D35026rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_14b489fdc6c6589d.png?width=600&height=350&rev=1.1||alt="12.PLC Protocol_html_14b489fdc6c6589d.png" height="350" width="600"]] | ||
396 | |||
397 | Click [Apply] to completed Etherenet settings; | ||
398 | |||
399 | Switch to the [On line data operation] interface as below, check the item and click [Execute] to download. | ||
400 | |||
401 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_c93025a968a8a9e7.png3Fwidth3D60026height3D43426rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_c93025a968a8a9e7.png?width=600&height=434&rev=1.1||alt="12.PLC Protocol_html_c93025a968a8a9e7.png" height="434" width="600"]] | ||
402 | |||
403 | **4)Configure the communication protocol** | ||
404 | |||
405 | {{id name="Iimage-20220825112403-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_caa9bf4d8cc6de0f.png||alt="图片-20220825112403-1.png" height="1033" width="1920"]] | ||
406 | |||
407 | **5)Cable Wiring** | ||
408 | |||
![]() |
33.1 | 409 | [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]] |
![]() |
2.1 | 410 | |
411 | == {{id name="HL02Serial"/}}**L02 Serial ** == | ||
412 | |||
413 | Mitsubishi L02 series CPU built-in serial port. | ||
414 | |||
415 | **1)V-BOX Settings** | ||
416 | |||
417 | |**Item**|**Settings**|**Note** | ||
418 | |Protocol|Mitsubishi L02| | ||
419 | |Connection|RS422| | ||
420 | |Baud rate|115200| | ||
421 | |Data bit|8| | ||
422 | |Parity|Odd| | ||
423 | |Stop bit|1| | ||
424 | |PLC station No.|1~~255|Need to be the same as PLC settings | ||
425 | |||
426 | **2)Address List** | ||
427 | |||
428 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
429 | |Bit|X|X|X h|0~~FFFF| | ||
430 | |Bit|Y|Y|Y h|0~~FFFF| | ||
431 | |Bit|M|M|M d|0~~9999| | ||
432 | |Bit|L|L|L d|0~~9999| | ||
433 | |Bit|F|F|F d|0~~9999| | ||
434 | |Bit|B|B|B h|0~~FFFF| | ||
435 | |Bit|V|V|V d|0~~2047| | ||
436 | |Bit|TC|TC|TC d|0~~9999| | ||
437 | |Bit|SS|SS|SS d|0~~9999| | ||
438 | |Bit|SC|SC|SC d|0~~9999| | ||
439 | |Bit|CS|CS|CS d|0~~9999| | ||
440 | |Bit|CC|CC|CC d|0~~9999| | ||
441 | |Bit|SB|SB|SB h|0~~FFFF| | ||
442 | |Bit|SM|SM|SM d|0~~2047| | ||
443 | |Bit|STS|STS|STS d|0~~1023| | ||
444 | |Bit|S|S|S d|0~~9999| | ||
445 | |Bit|DX|DX|DX h|0~~FFFF| | ||
446 | |Bit|DY|DY|DY h|0~~FFFF| | ||
447 | |Bit|TS|TS|TS d|0~~9999| | ||
448 | |Bit|Dbit|Dbit|Dbit d.d|0~~99999.0~~15| | ||
449 | |Word|W|W|W h|0~~FFFF| | ||
450 | |Word|TN|TN|TN d|0~~99999| | ||
451 | |Word|SN|SN|SN d|0~~99999| | ||
452 | |Word|CN|CN|CN d|0~~99999| | ||
453 | |Word|R|R|R d|0~~99999| | ||
454 | |Word|SW|SW|SW h|0~~FFFF| | ||
455 | |Word|Z|Z|Z d|0~~99999| | ||
456 | |Word|ZR|ZR|ZR h|0~~FFFF| | ||
457 | |Word|D|D|D d|0~~99999| | ||
458 | |||
459 | **3)Communication Settings** | ||
460 | |||
461 | {{id name="Iimage-20220825160648-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_cfed67f2ecb4ccec.png||alt="image-20220825160648-3.png" height="1009" width="1920"]] | ||
462 | |||
463 | **4)Cable Wiring** | ||
464 | |||
465 | * **RS422** | ||
466 | |||
467 | {{id name="Iimage-20220825161612-8.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_90e38f152d639809.png||alt="image-20220825161612-8.png" height="278" width="612"]] | ||
468 | |||
469 | {{id name="Iimage-20220825160820-4.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d301e675d8224725.png||alt="image-20220825160820-4.png" height="208" width="359"]] | ||
470 | |||
471 | == {{id name="HL02Ethernet"/}}**L02 Ethernet ** == | ||
472 | |||
473 | Mitsubishi L series CPU built-in Ethernet port. | ||
474 | |||
475 | **1)V-BOX Settings** | ||
476 | |||
477 | |**Items**|**Settings**|**Note** | ||
478 | |Protocol|MIT L02 CPU MELSEC| | ||
479 | |Connection|Ethernet| | ||
480 | |Port No.|1025|Must be the same as the PLC setting | ||
481 | |PLC station No.|0|Must be the same as the PLC setting | ||
482 | |||
483 | **2)Address List** | ||
484 | |||
485 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
486 | |Bit|X|X|X h|0~~FFFF| | ||
487 | |Bit|Y|Y|Y h|0~~FFFF| | ||
488 | |Bit|M|M|M d|0~~9999| | ||
489 | |Bit|L|L|L d|0~~9999| | ||
490 | |Bit|F|F|F d|0~~9999| | ||
491 | |Bit|B|B|B h|0~~FFFF| | ||
492 | |Bit|V|V|V d|0~~2047| | ||
493 | |Bit|TC|TC|TC d|0~~9999| | ||
494 | |Bit|SS|SS|SS d|0~~9999| | ||
495 | |Bit|SC|SC|SC d|0~~9999| | ||
496 | |Bit|CS|CS|CS d|0~~9999| | ||
497 | |Bit|CC|CC|CC d|0~~9999| | ||
498 | |Bit|SB|SB|SB h|0~~FFFF| | ||
499 | |Bit|SM|SM|SM d|0~~2047| | ||
500 | |Bit|STS|STS|STS d|0~~1023| | ||
501 | |Bit|S|S|S d|0~~9999| | ||
502 | |Bit|DX|DX|DX h|0~~FFFF| | ||
503 | |Bit|DY|DY|DY h|0~~FFFF| | ||
504 | |Bit|TS|TS|TS d|0~~9999| | ||
505 | |Bit|Dbit|Dbit|Dbit d.d|0~~99999.0~~15| | ||
506 | |Word|W|W|W h|0~~FFFF| | ||
507 | |Word|TN|TN|TN d|0~~99999| | ||
508 | |Word|SN|SN|SN d|0~~99999| | ||
509 | |Word|CN|CN|CN d|0~~99999| | ||
510 | |Word|R|R|R d|0~~99999| | ||
511 | |Word|SW|SW|SW h|0~~FFFF| | ||
512 | |Word|Z|Z|Z d|0~~99999| | ||
513 | |Word|ZR|ZR|ZR h|0~~FFFF| | ||
514 | |Word|D|D|D d|0~~99999| | ||
515 | |||
516 | **3)PLC Settings (GX Works2 )** | ||
517 | |||
518 | Create a project | ||
519 | |||
520 | Set PLC IP, subnet mask and gateway; | ||
521 | |||
522 | Select [Binary Code] as communication data code; | ||
523 | |||
524 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_776e17505f3fc6c0.png3Fwidth3D60026height3D52426rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_776e17505f3fc6c0.png?width=600&height=524&rev=1.1||alt="12.PLC Protocol_html_776e17505f3fc6c0.png" height="524" width="600"]] | ||
525 | |||
526 | Set PLC port number, for example 1025 | ||
527 | |||
528 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_8d0d1a22d388f70b.png3Fwidth3D60026height3D52426rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_8d0d1a22d388f70b.png?width=600&height=524&rev=1.1||alt="12.PLC Protocol_html_8d0d1a22d388f70b.png" height="524" width="600"]] | ||
529 | |||
530 | Save settings; | ||
531 | |||
532 | Download project into PLC device; | ||
533 | |||
534 | Restart PLC device; | ||
535 | |||
536 | **4)Configure the communication protocol** | ||
537 | |||
538 | {{id name="Iimage-20220825142659-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_fafc9b29e20178c0.png||alt="image-20220825142659-1.png" height="1010" width="1920"]] | ||
539 | |||
540 | **5)Cable Wiring** | ||
541 | |||
542 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_2297240b57346b2a.png3Fwidth3D40126height3D17026rev3D1.1-1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]] | ||
543 | |||
544 | == {{id name="HQ12HSerial"/}}**Q12H Serial ** == | ||
545 | |||
546 | This Demo shows V-BOX communicate with Q12H PLC by Q02H serial Protocol | ||
547 | |||
548 | **[[Download link>>url:https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Communication/V-Box%20connect%20PLC%20Q12H.rar]]** | ||
549 | |||
![]() |
32.1 | 550 | == **QJ71E71 Ethernet ** == |
![]() |
2.1 | 551 | |
552 | Mitsubishi QJ71E71 Ethernet communication module; | ||
553 | |||
554 | **1)V-BOX Settings** | ||
555 | |||
556 | |**Items**|**Settings**|**Note** | ||
557 | |Protocol|MIT QJ71E71 MELSEC| | ||
558 | |Connection|Ethernet| | ||
559 | |Port No.|1025|Must be the same as the PLC setting | ||
560 | |PLC station No.|0|Must be the same as the PLC setting | ||
561 | |||
562 | **2)Address List** | ||
563 | |||
564 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
565 | |(% rowspan="18" %)Bit|X|X|X h|0~~1FFF| | ||
566 | |Y|Y|Y h|0~~1FFF| | ||
567 | |M|M|M d|0~~99999| | ||
568 | |L|L|L d|0~~8191| | ||
569 | |F|F|F d|0~~2047| | ||
570 | |B|B|B h|0~~1FFF| | ||
571 | |V|V|V d|0~~2047| | ||
572 | |TS|TS|TS d|0~~2047| | ||
573 | |TC|TC|TC d|0~~2047| | ||
574 | |SS|SS|SS d|0~~2047| | ||
575 | |SC|SC|SC d|0~~2047| | ||
576 | |CS|CS|CS d|0~~1023| | ||
577 | |CC|CC|CC d|0~~1023| | ||
578 | |SB|SB|SB h|0~~7FF| | ||
579 | |S|S|S d|0~~8191| | ||
580 | |DX|DX|DX h|0~~1FFF| | ||
581 | |DY|DY|DY h|0~~1FFF| | ||
582 | |SM|SM|SM d|8000~~9999| | ||
583 | |(% rowspan="10" %)Word|SD|SD|SD d|0~~2047| | ||
584 | |D|D|D d|0~~12287| | ||
585 | |W|W|W h|0~~1FFF| | ||
586 | |TN|TN|TN d|0~~2047| | ||
587 | |SN|SN|SN d|0~~2047| | ||
588 | |CN|CN|CN d|0~~1023| | ||
589 | |R|R|R d|0~~32767| | ||
590 | |SW|SW|SW h|0~~7FF| | ||
591 | |Z|Z|Z d|0~~15| | ||
592 | |ZR|ZR|ZR h|0~~FE7FF| | ||
593 | |||
594 | **3)PLC Settings(GX Works2)** | ||
595 | |||
596 | * Click [Ethernet/CC IE/MELSECNET]; | ||
597 | * Please select [Ethernet] as network type; | ||
598 | * Set station I/O number according to situation (For example, 0020 means that the module is connected to PLC CPU in first order); | ||
599 | * Select [Online] as Mode; | ||
600 | * {{id name="Iimage-20221119171343-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d54f23688c520f78.png||alt="image-20221119171343-2.png" height="341" width="587"]] | ||
601 | * Click [Operation setting] to set IP; | ||
602 | * Select [Binary Code] as [Communication Data Code]; | ||
603 | * {{id name="Iimage-20221119171436-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_ce8e6a671b9508e0.png||alt="image-20221119171436-3.png" height="354" width="588"]] | ||
604 | * Click [Open setting] | ||
605 | * Set protocol: TCP; | ||
606 | * Set [unpassive] in [Open system]; | ||
607 | * Set [receive] in [Fixed buffer]; | ||
608 | * Set [procedure Exist] in [Fixed buffer communication]; | ||
609 | * Disable [Pairing open]; | ||
610 | * Set [No confirm] in [Existence confirmation]; | ||
611 | * Host station port number: 5009; | ||
612 | * Save settings; | ||
613 | * {{id name="Iimage-20221119171611-4.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_1d8e2f4fb7c72471.png||alt="image-20221119171611-4.png" height="354" width="588"]] | ||
614 | * Download project into PLC and restart it | ||
615 | |||
616 | **4)Configure the communication protocol** | ||
617 | |||
618 | {{id name="Iimage-20221119171832-5.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_50990385ef491b9e.png||alt="image-20221119171832-5.png" height="354" width="625"]] | ||
619 | |||
620 | **5)Cable Wiring** | ||
621 | |||
![]() |
34.1 | 622 | [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]] |