Wiki source code of Mitsubishi

Version 56.1 by Theodore Xu on 2023/09/15 11:12

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