Wiki source code of Mitsubishi

Version 59.1 by Theodore Xu on 2023/09/15 11:25

Show last authors
1 == **FX3U,3G,3GA Serial ** ==
2
3 Supported Series: Mitsubishi FX3U, FX3G, FX3GA series
4
5 **V-BOX Settings**
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
16 (% style="text-align:center" %)
17 [[image:三菱 FX3U 串口协议配置.png]]
18
19 **Address List**
20
21 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
22 |(% rowspan="7" %)Bit|X|X|Xo|0~~303237|
23 |Y|Y|Y o|0~~303237|
24 |M|M|M d|0~~99999|
25 |T|T|T d|0~~99999|
26 |C|C|C d|0~~99999|
27 |S|S|S d|0~~99999|
28 |SM|SM|SM d|8000~~9999|
29 |(% rowspan="8" %)Word|X|X|Xo|0~~303237|
30 |Y|Y|Y o|0~~303237|
31 |M|M|M d|0~~99999|
32 |T|T|T d|0~~99999|
33 |C|C|C d|0~~199|
34 |D|D|D d|0~~7999|
35 |S|S|S d|0~~99999|
36 |SD|SD|SD d|8000~~9999|
37
38 **PLC Setting**
39
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
64 **RS422**
65
66 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_1e904556bb758dfe.png||alt="image-20220825103421-5.png" height="296" width="715"]]
67
68 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_860bcf87f6ca7b98.png||alt="image-20220825100845-4.png" height="246" width="419"]]
69
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
90 |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note**
91 |(% rowspan="8" %)Bit|X|X|X o|0~~303237|
92 |Y|Y|Y o|0~~303237|
93 |M|M|M d|0~~99999|
94 |T|T|T d|0~~99999|
95 |C|C|C d|0~~99999|
96 |S|S|S d|0~~99999|
97 |SM|SM|SM d|8000~~9999|
98 |Lamp|Lamp|Lamp d|0~~0|
99 |(% rowspan="8" %)Word|X|X|X o|0~~303237|
100 |Y|Y|Y o|0~~303237|
101 |M|M|M d|0~~99999|
102 |T|T|T d|0~~99999|
103 |C|C|C d|0~~199|
104 |D|D|D d|0~~7999|
105 |S|S|S d|0~~99999|
106 |SD|SD|SD d|8000~~9999|
107
108 **Cable Wiring**
109
110 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_1717efe8d969a43c.png]]
111
112 == **FX3U Ethernet ** ==
113
114 Supported Modules: FX3U-ENET-ADP, FX3U-ENET-L
115
116 **V-BOX Settings**
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
124 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_b2cdc33b6eb92b67.png||alt="image-20221119101946-2.png" height="395" width="695"]]
125
126 **Address List**
127
128 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
129 |(% rowspan="7" %)Bit|X|X|X OOO|0~~377|
130 |Y|Y|Y OOO|0~~377|
131 |M|M|M DDDD|0~~7679|
132 |SM|SM|SM DDDD|8000~~8511|
133 |S|S|S DDDD|0~~4095|
134 |TS|TS|TS DDD|0~~511|
135 |CS|CS|CS DDD|0~~255|
136 |(% rowspan="5" %)Word|CN|CN|CN DDD|0~~199|
137 |TN|TN|TN DDD|0~~511|
138 |D|D|D DDDD|0~~7999|
139 |SD|SD|SD DDDD|8000~~8511|
140 |R|R|R DDDDD|0~~32767|
141
142 **Ethernet Module Settings**
143
144 FX3U-ENET-L module configuration
145 Set up the FX3U-ENET-L Ethernet module settings as follows.
146 Select the module location, which in this document is Module 0.
147
148 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_949d5d77c1d9cf1e.png||alt="image-20221116105850-1.png" height="573" width="706"]]
149
150 Select "Operational setting" to enter the following screen.
151
152 The Ethernet module IP is set to 192.168.39.254 in this document, and other options are default.
153
154 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_dfbfdd586c855c47.png||alt="image-20221116105947-1.png" height="573" width="706"]]
155
156 Select "Open setting" to enter the setting interface, the settings are as follows.
157
158 The third item "Protocol" selects TCP, and "Open system" selects MELSOFT connection, which allows the
159
160 Mitsubishi programming software GX works2 to communicate with the FX3U via the Ethernet module.
161
162 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_7c01ac15090fcc5b.png||alt="image-20221116110802-1.png" height="549" width="706"]]
163
164 Click on "transter setup" - "PC side I/F setting", see the following figure.
165
166 After setting, the first download must use the programming cable, as shown in the figure; after that, can
167
168 use the IP set in the "Ethernet board" to communicate directly with the network cable.
169
170 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d6fd9ce3b96f99e2.png||alt="image-20221116110832-2.png" height="423" width="708"]]
171
172 Read and write data from the Ethernet module
173
174 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_690b3e57b29cfd4b.png||alt="image-20221116110907-3.png" height="549" width="706"]]
175
176 Set "Transter setup" to COM communication, and read or write operation as shown below
177
178 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_b317253742f7151.png||alt="image-20221116110917-4.png" height="549" width="706"]]
179
180 **PLC Settings (GX Works 2)**
181
182 Create a blank FX5U project
183
184 Find Current Connection in the navigation
185
186 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d2a46ba9c005cf38.png||alt="image-20221116111427-1.png" height="421" width="705"]]
187
188 Select Connection Channel List
189
190 Select Ethernet board communication
191
192 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_8f49721a3e5b0ef9.png||alt="image-20221116111451-2.png" height="421" width="705"]]
193
194 Select Ethernet Module
195 Set the IP address of the PLC
196
197 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_1e9a9e29a46a1041.png||alt="image-20221116111509-3.png" height="666" width="699"]]
198
199 Read or write PLC data, in this document is read
200
201 {{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"]]
202
203 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_7f29923ebcb670d1.png||alt="image-20221116111727-5.png" height="416" width="697"]]
204
205 == **FX5U Serial ** ==
206
207 Mitsubishi FX5U series PLC
208
209 **V-BOX Settings**
210
211 |**Item**|**Settings**|**Note**
212 |Protocol|Mitsubishi FX5U|
213 |Connection|RS422/RS485|
214 |Baud rate|9600|
215 |Data bit|7|
216 |Parity|Odd|
217 |Stop bit|1|
218 |PLC station No.|1~~255|Need to be the same as PLC settings
219
220 (% style="text-align:center" %)
221 [[image:三菱 FX5U 串口协议配置.png]]
222
223 **Address List**
224
225 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
226 |(% rowspan="15" %)Bit|X|X|X o|0~~303237|
227 |Y|Y|Y o|0~~303237|
228 |M|M|M d|0~~99999|
229 |B|B|B h|0~~7FFF|
230 |F|F|F d|0~~32767|
231 |SB|SB|SB h|0~~7FFF|
232 |TS|TS|TS d|0~~1023|
233 |TC|TC|TC d|0~~1023|
234 |STS|STS|STS d|0~~1023|
235 |STC|STC|STS d|0~~1023|
236 |CS|CS|CS d|0~~1023|
237 |CC|CC|CC d|0~~1023|
238 |SM|SM|SM d|0~~9999|
239 |L|L|L d|0~~32767|
240 |S|S|S d|0~~4095|
241 |(% rowspan="9" %)Word|W|W|W h|0~~3FF|
242 |TN|TN|TN d|0~~1023|
243 |STN|STN|STN d|0~~1023|
244 |CN|CN|CN d|0~~1023|
245 |R|R|R d|0~~32767|
246 |SW|SW|SW h|0~~7FFF|
247 |Z|Z|Z d|0~~23|
248 |D|D|D d|0~~7999|
249 |SD|SD|SD d|0~~11999|
250
251 **PLC Settings (GX Works 3)**
252
253 Create a blank FX5U project
254
255 Find the 485 serial port module in the system navigation bar and double click to enter the settings.
256
257 [[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"]]
258
259 Select protocol in the setting item, and set parameters.
260
261 [[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"]]
262
263 Set station number, and [Message Pattern] (Pattern 1 or Pattern 4)
264
265 [[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"]]
266
267 Click the [Apply] button to finish the setting.
268
269 Click download and select the items as below, then click [execute] to download the configuration to PLC.
270
271 [[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"]]
272
273 As soon as download is completed, connect PLC with serial port, then configure it in the [Specify Connection Destination Connection].
274
275 Done.
276
277 **Cable Wiring**
278
279 **RS422**
280
281 {{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"]]
282
283 {{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"]]
284
285 == **FX5U Ethernet ** ==
286
287 Mitsubishi FX5U series PLC
288
289 **V-BOX Settings**
290
291 |**Items**|**Settings**|**Note**
292 |Protocol|Mitsubishi FX5U|
293 |Connection|Ethernet|
294 |Port No.|5002|Must be the same as the PLC setting
295 |PLC station No.|0|
296
297 (% style="text-align:center" %)
298 [[image:三菱 FX5U 以太网协议配置.png]]
299
300 **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 **PLC Settings (GX Works 3)**
329
330 Find the [Ethernet port] in the navigation area.
331
332 [[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 [[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 [[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 [[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
357 **Cable Wiring**
358
359 [[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"]]
360
361 == **L02 Serial ** ==
362
363 Mitsubishi L02 series CPU built-in serial port.
364
365 **V-BOX Settings**
366
367 |**Item**|**Settings**|**Note**
368 |Protocol|Mitsubishi L02|
369 |Connection|RS422|
370 |Baud rate|115200|
371 |Data bit|8|
372 |Parity|Odd|
373 |Stop bit|1|
374 |PLC station No.|1~~255|Need to be the same as PLC settings
375
376 (% style="text-align:center" %)
377 [[image:三菱 L02串口协议配置.png]]
378
379 **Address List**
380
381 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
382 |(% colspan="1" rowspan="20" %)Bit
383 |X|X|X h|0~~FFFF|
384 |Y|Y|Y h|0~~FFFF|
385 |M|M|M d|0~~9999|
386 |L|L|L d|0~~9999|
387 |F|F|F d|0~~9999|
388 |B|B|B h|0~~FFFF|
389 |V|V|V d|0~~2047|
390 |TC|TC|TC d|0~~9999|
391 |SS|SS|SS d|0~~9999|
392 |SC|SC|SC d|0~~9999|
393 |CS|CS|CS d|0~~9999|
394 |CC|CC|CC d|0~~9999|
395 |SB|SB|SB h|0~~FFFF|
396 |SM|SM|SM d|0~~2047|
397 |STS|STS|STS d|0~~1023|
398 |S|S|S d|0~~9999|
399 |DX|DX|DX h|0~~FFFF|
400 |DY|DY|DY h|0~~FFFF|
401 |TS|TS|TS d|0~~9999|
402 |Dbit|Dbit|Dbit d.d|0~~99999.0~~15|
403 |(% colspan="1" rowspan="9" %)Word
404 |W|W|W h|0~~FFFF|
405 |TN|TN|TN d|0~~99999|
406 |SN|SN|SN d|0~~99999|
407 |CN|CN|CN d|0~~99999|
408 |R|R|R d|0~~99999|
409 |SW|SW|SW h|0~~FFFF|
410 |Z|Z|Z d|0~~99999|
411 |ZR|ZR|ZR h|0~~FFFF|
412 |D|D|D d|0~~99999|
413
414 **Cable Wiring**
415
416 **RS422**
417
418 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_90e38f152d639809.png||alt="image-20220825161612-8.png" height="278" width="612"]]
419
420 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d301e675d8224725.png||alt="image-20220825160820-4.png" height="208" width="359"]]
421
422 == **L02 Ethernet ** ==
423
424 Mitsubishi L series CPU built-in Ethernet port.
425
426 **V-BOX Settings**
427
428 |**Items**|**Settings**|**Note**
429 |Protocol|MIT L02 CPU MELSEC|
430 |Connection|Ethernet|
431 |Port No.|1025|Must be the same as the PLC setting
432 |PLC station No.|0|Must be the same as the PLC setting
433
434 (% style="text-align:center" %)
435 [[image:三菱 L02以太网协议配置1.png]]
436
437 **PLC Settings (GX Works2 )**
438
439 Create a project
440
441 Set PLC IP, subnet mask and gateway;
442
443 Select [Binary Code] as communication data code;
444
445 [[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"]]
446
447 Set PLC port number, for example 1025
448
449 [[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"]]
450
451 Save settings;
452
453 Download project into PLC device;
454
455 Restart PLC device;
456
457 **Cable Wiring**
458
459 [[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"]]
460
461 == {{id name="HQ12HSerial"/}}**Q12H Serial ** ==
462
463 This Demo shows V-BOX communicate with Q12H PLC by Q02H serial Protocol
464
465 **[[Download link>>url:https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Communication/V-Box%20connect%20PLC%20Q12H.rar]]**
466
467 == **QJ71E71 Ethernet ** ==
468
469 Mitsubishi QJ71E71 Ethernet communication module;
470
471 **V-BOX Settings**
472
473 |**Items**|**Settings**|**Note**
474 |Protocol|MIT QJ71E71 MELSEC|
475 |Connection|Ethernet|
476 |Port No.|1025|Must be the same as the PLC setting
477 |PLC station No.|0|Must be the same as the PLC setting
478
479 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_50990385ef491b9e.png||alt="image-20221119171832-5.png" height="354" width="625"]]
480
481 **Address List**
482
483 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
484 |(% rowspan="18" %)Bit|X|X|X h|0~~1FFF|
485 |Y|Y|Y h|0~~1FFF|
486 |M|M|M d|0~~99999|
487 |L|L|L d|0~~8191|
488 |F|F|F d|0~~2047|
489 |B|B|B h|0~~1FFF|
490 |V|V|V d|0~~2047|
491 |TS|TS|TS d|0~~2047|
492 |TC|TC|TC d|0~~2047|
493 |SS|SS|SS d|0~~2047|
494 |SC|SC|SC d|0~~2047|
495 |CS|CS|CS d|0~~1023|
496 |CC|CC|CC d|0~~1023|
497 |SB|SB|SB h|0~~7FF|
498 |S|S|S d|0~~8191|
499 |DX|DX|DX h|0~~1FFF|
500 |DY|DY|DY h|0~~1FFF|
501 |SM|SM|SM d|8000~~9999|
502 |(% rowspan="10" %)Word|SD|SD|SD d|0~~2047|
503 |D|D|D d|0~~12287|
504 |W|W|W h|0~~1FFF|
505 |TN|TN|TN d|0~~2047|
506 |SN|SN|SN d|0~~2047|
507 |CN|CN|CN d|0~~1023|
508 |R|R|R d|0~~32767|
509 |SW|SW|SW h|0~~7FF|
510 |Z|Z|Z d|0~~15|
511 |ZR|ZR|ZR h|0~~FE7FF|
512
513 **PLC Settings(GX Works2)**
514
515 * Click [Ethernet/CC IE/MELSECNET];
516 * Please select [Ethernet] as network type;
517 * Set station I/O number according to situation (For example, 0020 means that the module is connected to PLC CPU in first order);
518 * Select [Online] as Mode;
519 * [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d54f23688c520f78.png||alt="image-20221119171343-2.png" height="341" width="587"]]
520 * Click [Operation setting] to set IP;
521 * Select [Binary Code] as [Communication Data Code];
522 * [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_ce8e6a671b9508e0.png||alt="image-20221119171436-3.png" height="354" width="588"]]
523 * Click [Open setting]
524 * Set protocol: TCP;
525 * Set [unpassive] in [Open system];
526 * Set [receive] in [Fixed buffer];
527 * Set [procedure Exist] in [Fixed buffer communication];
528 * Disable [Pairing open];
529 * Set [No confirm] in [Existence confirmation];
530 * Host station port number: 5009;
531 * Save settings;
532 * {{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"]]
533 * Download project into PLC and restart it
534
535 **Cable Wiring**
536
537 [[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"]]