Wiki source code of Mitsubishi

Version 77.1 by Theodore Xu on 2023/09/16 10:01

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