Wiki source code of Mitsubishi

Version 35.1 by Theodore Xu on 2023/09/15 09:32

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