Wiki source code of Mitsubishi

Version 75.2 by Theodore Xu on 2023/09/15 18:15

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