Wiki source code of Mitsubishi

Version 70.1 by Jett on 2024/07/24 10:31

Show last authors
1 = {{id name="HMitsubishi"/}}**Mitsubishi** =
2
3 == {{id name="HFX1S2C1N2C2NSeries"/}}**FX2N Series** ==
4
5 Supported Series: Mitsubishi FX2N series
6
7 **HMI Settings**
8
9 |**Item**|**Settings**|**Note**
10 |Protocol|Mitsubishi FX2N|
11 |Connection|RS422/RS485/RS232|
12 |Baud rate|9600~~115200|
13 |Data bit|7/8|
14 |Parity|EVEN/Odd/None|
15 |Stop bit|1/2|
16 |PLC station No.|0~~255|
17
18 **Address List**
19
20 |**Type**|(% style="width:297px" %)**Device registers**|(% style="width:221px" %)**Format**|(% style="width:237px" %)**Range**|(% style="width:176px" %)**Note**
21 |(% colspan="1" rowspan="8" %)Bit|(% style="width:297px" %)X|(% style="width:221px" %)Xo|(% style="width:237px" %)0~~303237|(% style="width:176px" %)
22 |(% style="width:297px" %)Y|(% style="width:221px" %)Y o|(% style="width:237px" %)0~~303237|(% style="width:176px" %)
23 |(% style="width:297px" %)M|(% style="width:221px" %)M d|(% style="width:237px" %)0~~99999|(% style="width:176px" %)
24 |(% style="width:297px" %)T|(% style="width:221px" %)T d|(% style="width:237px" %)0~~99999|(% style="width:176px" %)
25 |(% style="width:297px" %)C|(% style="width:221px" %)C d|(% style="width:237px" %)0~~99999|(% style="width:176px" %)
26 |(% style="width:297px" %)S|(% style="width:221px" %)S d|(% style="width:237px" %)0~~99999|(% style="width:176px" %)
27 |(% style="width:297px" %)SM|(% style="width:221px" %)SM d|(% style="width:237px" %)8000~~9999|(% style="width:176px" %)
28 |(% style="width:297px" %)Lamp|(% style="width:221px" %)Lamp d|(% style="width:237px" %)0~~0|(% style="width:176px" %)
29 |(% colspan="1" rowspan="9" %)Word|(% style="width:297px" %)X|(% style="width:221px" %)Xo|(% style="width:237px" %)0~~303237|(% style="width:176px" %)
30 |(% style="width:297px" %)Y|(% style="width:221px" %)Y o|(% style="width:237px" %)0~~303237|(% style="width:176px" %)
31 |(% style="width:297px" %)M|(% style="width:221px" %)M d|(% style="width:237px" %)0~~99999|(% style="width:176px" %)
32 |(% style="width:297px" %)T|(% style="width:221px" %)T d|(% style="width:237px" %)0~~99999|(% style="width:176px" %)
33 |(% style="width:297px" %)C|(% style="width:221px" %)C d|(% style="width:237px" %)0~~199|(% style="width:176px" %)
34 |(% style="width:297px" %)D|(% style="width:221px" %)D d|(% style="width:237px" %)0~~7999|(% style="width:176px" %)
35 |(% style="width:297px" %)S|(% style="width:221px" %)S d|(% style="width:237px" %)0~~99999|(% style="width:176px" %)
36 |(% style="width:297px" %)SD|(% style="width:221px" %)SD d|(% style="width:237px" %)8000~~9999|(% style="width:176px" %)
37 |(% style="width:297px" %)CH|(% style="width:221px" %)CH d|(% style="width:237px" %)200~~255|(% style="width:176px" %)
38
39 **PLC Setting:**
40
41 ①PLC Default Parameters:
42 [Connection type]RS422;[Baud rate]9600, [Data bit]7, [Stop bit]1,[Parity]EVEN; [Station number]0
43 Note:The serial port parameters should be set depending on field requirements
44
45 ②PC and PLC connection:
46
47 [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 6 →[Transmission speed]9.6Kbps→[setup] →[Parity]EVEN→[Data bits]7→[Stop bits]1→[OK]
48
49 (% style="text-align:center" %)
50 [[image:1.5.1.png]]
51
52 Connection test:when connection is OK,the GX Works2 prompts “Successfully connected with the FX2N/FX2NCCPU.”
53
54 (% style="text-align:center" %)
55 [[image:1.5.2.png]]
56
57 **Cable Wiring**
58
59 * **RS485**
60
61 {{id name="I12.PLCProtocol_html_d4012bdeb4ce4aae.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ddcfa89a7e788c14.png||alt="12.PLC Protocol_html_d4012bdeb4ce4aae.png" height="244" width="394"]]
62
63 {{id name="I12.PLCProtocol_html_4bf57ad8d44eacc4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_64f32195c6a29424.png||alt="12.PLC Protocol_html_4bf57ad8d44eacc4.png" height="244" width="394"]]
64
65 * **RS422**
66
67 {{id name="I12.PLCProtocol_html_f8a6bebc5792960d.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e27e979a8eaf8f17.png||alt="12.PLC Protocol_html_f8a6bebc5792960d.png" height="253" width="402"]]
68
69 **✎Note:** COM3 only available in PI8000/PI9000 series.
70
71 == {{id name="HFX3U2F3G2F3GASerial"/}}**FX3U/3G/3GA Serial** ==
72
73 **HMI Settings**
74
75 |=**Item**|=**Settings**|=**Note**
76 |Protocol|Mitsubishi FX3U/3G/3GA|
77 |Connection|RS422|
78 |Baud rate|9600~~115200|
79 |Data bit|7/8|
80 |Parity|EVEN/Odd/None|
81 |Stop bit|1/2|
82 |PLC station No.|1~~255|
83
84 **Address List**
85
86 |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note**
87 |(% rowspan="7" %)Bit|X|X|Xo|0~~303237|
88 |Y|Y|Y o|0~~303237|
89 |M|M|M d|0~~99999|
90 |T|T|T d|0~~99999|
91 |C|C|C d|0~~99999|
92 |S|S|S d|0~~99999|
93 |SM|SM|SM d|8000~~9999|
94 |(% rowspan="8" %)Word|X|X|Xo|0~~303237|
95 |Y|Y|Y o|0~~303237|
96 |M|M|M d|0~~99999|
97 |T|T|T d|0~~99999|
98 |C|C|C d|0~~199|
99 |D|D|D d|0~~7999|
100 |S|S|S d|0~~99999|
101 |SD|SD|SD d|8000~~9999|
102
103 **Configure the communication protocol**
104
105 {{id name="Iimage-20220831095222-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_87497ea9be28fa5.png||alt="image-20220831095222-1.png" height="735" width="616"]]
106
107 {{id name="Iimage-20220831095743-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_f1214e2436407de.png||alt="image-20220831095743-2.png" height="905" width="1038"]]
108
109 **PLC Setting:**
110
111 ①Open GX Works2, create a new PLC project or open the project that has been created.
112 Create new project: [Project]→[New]→[Series] FXCPU→[Type] FX3G/FX3GC→[OK].
113
114 (% style="text-align:center" %)
115 [[image:1.2.png]]
116
117 ②PLC Default Parameters:
118 [Connection type]RS422;[Baud rate]9600, [Data bit]7, [Stop bit]1,[Parity]EVEN; [Station number]0
119 Note:The serial port parameters should be set depending on field requirements
120
121 ③PC and PLC connection:
122
123 [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]
124
125 (% style="text-align:center" %)
126 [[image:1.5.1.png]]
127
128 Connection test:when connection is OK,the GX Works2 prompts “Successfully connected with the FX3G/FX3GCCPU.”
129
130 (% style="text-align:center" %)
131 [[image:1.5.2.png]]
132
133 **Wiring**
134
135 {{id name="Iimage-20220831100314-6.png"/}}
136
137 (% style="text-align:center" %)
138 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_feac72c6266d5c9f.png||alt="image-20220831100314-6.png" height="240" width="381"]]
139
140 == {{id name="HFXNOPROTOCOL"/}}**FX NOPROTOCOL** ==
141
142 Mitsubishi FX3G-RS232-BD
143
144 **HMI Settings**
145
146 |=**Item**|=**Settings**|=**Note**
147 |Protocol|Mitsubishi FX NOPROTOCOL|
148 |Connection|RS232|
149 |Baud rate|9600|
150 |Data bit|7|
151 |Parity|EVEN|
152 |Stop bit|1|
153 |PLC station No.|0|
154
155 **Address List**
156
157 |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note**
158 |(% rowspan="8" %)Bit|X|X|X o|0~~303237|
159 |Y|Y|Y o|0~~303237|
160 |M|M|M d|0~~99999|
161 |T|T|T d|0~~99999|
162 |C|C|C d|0~~99999|
163 |S|S|S d|0~~99999|
164 |SM|SM|SM d|8000~~9999|
165 |Lamp|Lamp|Lamp d|0~~0|
166 |(% rowspan="8" %)Word|X|X|X o|0~~303237|
167 |Y|Y|Y o|0~~303237|
168 |M|M|M d|0~~99999|
169 |T|T|T d|0~~99999|
170 |C|C|C d|0~~199|
171 |D|D|D d|0~~7999|
172 |S|S|S d|0~~99999|
173 |SD|SD|SD d|8000~~9999|
174
175 **Configure the communication protocol**
176
177 {{id name="I1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_468060edf3e40542.png||alt="1.png" height="706" width="909"]]
178
179 {{id name="I2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d58ca6ee4453ebce.png||alt="2.png" height="706" width="909"]]
180
181 **Wiring**
182
183 {{id name="I3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_1717efe8d969a43c.png||alt="3.png" height="246" width="401"]]
184
185 == {{id name="HFX3UEthernet"/}}**FX3U Ethernet** ==
186
187 Mitsubishi FX3U series PLC
188
189 **HMI Settings**
190
191 |Items|Settings|Note
192 |Protocol|Mitsubishi FX3U Ethernet|
193 |Connection|Ethernet|
194 |Port No.|5009|Must be the same as the PLC setting
195 |PLC station No.|0|
196
197 **Address List**
198
199 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
200 |(% rowspan="7" %)Bit|X|X|X OOO|0~~377|
201 |Y|Y|Y OOO|0~~377|
202 |M|M|M DDDD|0~~7679|
203 |SM|SM|SM DDDD|8000~~8511|
204 |S|S|S DDDD|0~~4095|
205 |TS|TS|TS DDD|0~~511|
206 |CS|CS|CS DDD|0~~255|
207 |(% rowspan="5" %)Word|CN|CN|CN DDD|0~~199|
208 |TN|TN|TN DDD|0~~511|
209 |D|D|D DDDD|0~~7999|
210 |SD|SD|SD DDDD|8000~~8511|
211 |R|R|R DDDDD|0~~32767|
212
213 **Ethernet Module Settings**
214
215 FX3U-ENET-L module configuration
216 Set up the FX3U-ENET-L Ethernet module settings as follows.
217 Select the module location, which in this document is Module 0.
218
219 {{id name="Iimage-20221115140802-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_949d5d77c1d9cf1e.png||alt="image-20221115140802-1.png" height="573" width="706"]]
220
221 Select "Operational setting" to enter the following screen.
222
223 The Ethernet module IP is set to 192.168.39.254 in this document, and other options are default.
224
225 {{id name="Iimage-20221115142728-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_dfbfdd586c855c47.png||alt="image-20221115142728-4.png" height="573" width="706"]]
226
227 Select "Open setting" to enter the setting interface, the settings are as follows.
228
229 The third item "Protocol" selects TCP, and "Open system" selects MELSOFT connection, which allows the
230
231 Mitsubishi programming software GX works2 to communicate with the FX3U via the Ethernet module.
232
233 {{id name="Iimage-20221115142945-5.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7c01ac15090fcc5b.png||alt="image-20221115142945-5.png" height="549" width="706"]]
234
235 Click on "transter setup" - "PC side I/F setting", see the following figure.
236
237 After setting, the first download must use the programming cable, as shown in the figure; after that, can
238
239 use the IP set in the "Ethernet board" to communicate directly with the network cable.
240
241 {{id name="Iimage-20221115143341-6.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d6fd9ce3b96f99e2.png||alt="image-20221115143341-6.png" height="426" width="712"]]
242
243 Read and write data from the Ethernet module
244
245 {{id name="Iimage-20221115143703-7.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_690b3e57b29cfd4b.png||alt="image-20221115143703-7.png" height="549" width="706"]]
246
247 Set "Transter setup" to COM communication, and read or write operation as shown below
248
249 {{id name="Iimage-20221115143809-8.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_b317253742f7151.png||alt="image-20221115143809-8.png" height="549" width="706"]]
250
251 **PLC Settings (GX Works 2)**
252
253 Create a blank FX5U project
254
255 Find Current Connection in the navigation
256
257 {{id name="Iimage-20221115144335-9.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d2a46ba9c005cf38.png||alt="image-20221115144335-9.png" height="422" width="706"]]
258
259 Select Connection Channel List
260
261 Select Ethernet board communication
262
263 {{id name="Iimage-20221115144824-10.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_8f49721a3e5b0ef9.png||alt="image-20221115144824-10.png" height="421" width="705"]]
264
265 Select Ethernet Module
266 Set the IP address of the PLC
267
268 {{id name="Iimage-20221115145228-11.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_1e9a9e29a46a1041.png||alt="image-20221115145228-11.png" height="674" width="708"]]
269
270 Read or write PLC data, in this document is read
271
272 {{id name="Iimage-20221115145553-12.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e3d629103727a423.png||alt="image-20221115145553-12.png" height="424" width="711"]]
273
274 {{id name="Iimage-20221115145559-13.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7f29923ebcb670d1.png||alt="image-20221115145559-13.png" height="424" width="711"]]
275
276 **HMI Communication Setting**
277
278 {{id name="Iimage-20221115150003-14.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_11364c6da9a4fd72.png||alt="image-20221115150003-14.png" height="425" width="712"]]
279
280 {{id name="Iimage-20221115150235-15.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_4c73e8982af3231.png||alt="image-20221115150235-15.png" height="427" width="713"]]
281
282 {{id name="Iimage-20221115145559-13.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7f29923ebcb670d1.png||alt="image-20221115145559-13.png" height="424" width="711"]]
283
284 **HMI Communication Setting**
285
286 {{id name="Iimage-20221115150003-14.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_11364c6da9a4fd72.png||alt="image-20221115150003-14.png" height="425" width="712"]]
287
288 {{id name="Iimage-20221115150235-15.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_4c73e8982af3231.png||alt="image-20221115150235-15.png" height="427" width="713"]]
289
290 == {{id name="HFX5USerial"/}}**FX5U Serial** ==
291
292 Mitsubishi FX5U series PLC
293
294 **HMI Settings**
295
296 |**Item**|**Settings**|**Note**
297 |Protocol|Mitsubishi FX5U|
298 |Connection|RS422/RS485|
299 |Baud rate|9600|
300 |Data bit|7|
301 |Parity|Odd|
302 |Stop bit|1|
303 |PLC station No.|0~~255|Need to be the same as PLC settings
304
305 **Address List**
306
307 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
308 |(% rowspan="15" %)Bit|X|X|X o|0~~1777|
309 |Y|Y|Y o|0~~1777|
310 |M|M|M d|0~~32767|
311 |B|B|B h|0~~7FFF|
312 |F|F|F d|0~~32767|
313 |SB|SB|SB h|0~~7FFF|
314 |TS|TS|TS d|0~~1023|
315 |TC|TC|TC d|0~~1023|
316 |STS|STS|STS d|0~~1023|
317 |STC|STC|STS d|0~~1023|
318 |CS|CS|CS d|0~~1023|
319 |CC|CC|CC d|0~~1023|
320 |SM|SM|SM d|0~~9999|
321 |L|L|L d|0~~32767|
322 |S|S|S d|0~~4095|
323 |(% rowspan="9" %)Word|W|W|W h|0~~3FF|
324 |TN|TN|TN d|0~~1023|
325 |STN|STN|STN d|0~~1023|
326 |CN|CN|CN d|0~~1023|
327 |R|R|R d|0~~32767|
328 |SW|SW|SW h|0~~7FFF|
329 |Z|Z|Z d|0~~23|
330 |D|D|D d|0~~7999|
331 |SD|SD|SD d|0~~11999|
332
333 **PLC Settings (GX Works 3)**
334
335 Create a blank FX5U project
336
337 Find the 485 serial port module in the system navigation bar and double click to enter the settings.
338
339 {{id name="I12.PLCProtocol_html_5c9cb13fac1e6c93.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a2437897f85ae78.png||alt="12.PLC Protocol_html_5c9cb13fac1e6c93.png" height="462" width="200"]]
340
341 Select protocol in the setting item, and set parameters.
342
343 {{id name="I12.PLCProtocol_html_de942589ca070228.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e13b2569bc879dc9.png||alt="12.PLC Protocol_html_de942589ca070228.png" height="324" width="600"]]
344
345 Set station number, and [Message Pattern] (Pattern 1 or Pattern 4)
346
347 {{id name="I12.PLCProtocol_html_387ec7d00b5feb59.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7a585c2e05785534.png||alt="12.PLC Protocol_html_387ec7d00b5feb59.png" height="323" width="600"]]
348
349 Click the [Apply] button to finish the setting.
350
351 Click download and select the items as below, then click [execute] to download the configuration to PLC.
352
353 {{id name="I12.PLCProtocol_html_cdef1c5ec8cc2105.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_24ac3c2c904fdd5a.png||alt="12.PLC Protocol_html_cdef1c5ec8cc2105.png" height="434" width="600"]]
354
355 As soon as download is completed, connect PLC with serial port, then configure it in the [Specify Connection Destination Connection].
356
357 Done.
358
359 **Cable Wiring**
360
361 * **RS485**
362
363 {{id name="I12.PLCProtocol_html_d4012bdeb4ce4aae.png-1"/}}
364
365 (% style="text-align:center" %)
366 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ddcfa89a7e788c14.png||alt="12.PLC Protocol_html_d4012bdeb4ce4aae.png" height="244" width="394"]]
367
368 {{id name="I12.PLCProtocol_html_4bf57ad8d44eacc4.png-1"/}}
369
370 (% style="text-align:center" %)
371 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_64f32195c6a29424.png||alt="12.PLC Protocol_html_4bf57ad8d44eacc4.png" height="244" width="394"]]
372
373 * **RS422**
374
375 {{id name="I12.PLCProtocol_html_f8a6bebc5792960d.png-1"/}}
376
377 (% style="text-align:center" %)
378 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e27e979a8eaf8f17.png||alt="12.PLC Protocol_html_f8a6bebc5792960d.png" height="253" width="402"]]
379
380 (% style="text-align:center" %)
381 [[image:422.bmp||alt="RS422.png"]]
382
383 **✎Note:** COM3 only available in PI8000/PI9000 series.
384
385 == **FX5U Ethernet** ==
386
387 Mitsubishi FX5U series PLC
388
389 **HMI Settings**
390
391 |**Items**|**Settings**|**Note**
392 |Protocol|MITSUBISHI FX5U Ethernet|
393 |Connection|Ethernet|
394 |Port No.|5002|Must be the same as the PLC setting
395 |PLC station No.|0|Must be the same as the PLC setting
396
397 **Address List**
398
399 |**Type**|**Device registers**|**Format**|**Range**|**Note**
400 |(% rowspan="15" %)Bit|X|X o|0~~1777|
401 |Y|Y o|0~~1777|
402 |M|M d|0~~32767|
403 |B|B h|0~~7FFF|
404 |F|F d|0~~32767|
405 |SB|SB h|0~~7FFF|
406 |TS|TS d|0~~1023|
407 |TC|TC d|0~~1023|
408 |STS|STS d|0~~1023|
409 |STC|STS d|0~~1023|
410 |CS|CS d|0~~1023|
411 |CC|CC d|0~~1023|
412 |SM|SM d|0~~9999|
413 |L|L d|0~~32767|
414 |S|S d|0~~4095|
415 |(% rowspan="9" %)Word|W|W h|0~~3FF|
416 |TN|TN d|0~~1023|
417 |STN|STN d|0~~1023|
418 |CN|CN d|0~~1023|
419 |R|R d|0~~32767|
420 |SW|SW h|0~~7FFF|
421 |Z|Z d|0~~23|
422 |D|D d|0~~7999|
423 |SD|SD d|0~~11999|
424
425 **PLC Settings (GX Works 3)**
426
427 PLC Default Parameters:
428 ①[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.
429
430 (% style="text-align:center" %)
431 [[image:1.3.1.png]]
432
433 ②[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]
434
435 (% style="text-align:center" %)
436 [[image:1.3.2.png]]
437
438 Note:The serial port parameters should be set depending on field requirements
439
440 **Cable Wiring**
441
442 (% style="text-align:center" %)
443 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png]]
444
445 == {{id name="HL02CPUPort"/}}**L02 CPU Port** ==
446
447 Mitsubishi L02 series CPU built-in serial port.
448
449 **HMI Settings**
450
451 |=**Item**|=**Settings**|=**Note**
452 |Protocol|Mitsubishi L02 CPU Port|
453 |Connection|RS422|
454 |Baud rate|115200|
455 |Data bit|8|
456 |Parity|Odd|
457 |Stop bit|1|
458 |PLC station No.|1~~255|Need to be the same as PLC settings
459
460 **Address List**
461
462 |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note**
463 |Bit|X|X|X h|0~~FFFF|
464 |Bit|Y|Y|Y h|0~~FFFF|
465 |Bit|M|M|M d|0~~9999|
466 |Bit|L|L|L d|0~~9999|
467 |Bit|F|F|F d|0~~9999|
468 |Bit|B|B|B h|0~~FFFF|
469 |Bit|V|V|V d|0~~2047|
470 |Bit|TC|TC|TC d|0~~9999|
471 |Bit|SS|SS|SS d|0~~9999|
472 |Bit|SC|SC|SC d|0~~9999|
473 |Bit|CS|CS|CS d|0~~9999|
474 |Bit|CC|CC|CC d|0~~9999|
475 |Bit|SB|SB|SB h|0~~FFFF|
476 |Bit|SM|SM|SM d|0~~2047|
477 |Bit|STS|STS|STS d|0~~1023|
478 |Bit|S|S|S d|0~~9999|
479 |Bit|DX|DX|DX h|0~~FFFF|
480 |Bit|DY|DY|DY h|0~~FFFF|
481 |Bit|TS|TS|TS d|0~~9999|
482 |Bit|Dbit|Dbit|Dbit d.d|0~~99999.0~~15|
483 |Word|W|W|W h|0~~FFFF|
484 |Word|TN|TN|TN d|0~~99999|
485 |Word|SN|SN|SN d|0~~99999|
486 |Word|CN|CN|CN d|0~~99999|
487 |Word|R|R|R d|0~~99999|
488 |Word|SW|SW|SW h|0~~FFFF|
489 |Word|Z|Z|Z d|0~~99999|
490 |Word|ZR|ZR|ZR h|0~~FFFF|
491 |Word|D|D|D d|0~~99999|
492
493 **Communication Settings**
494
495 {{id name="Iimage-20220831105732-3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d08c69b880471768.png||alt="image-20220831105732-3.png" height="735" width="616"]]
496
497 {{id name="Iimage-20220831110004-5.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c6479028a3958c09.png||alt="image-20220831110004-5.png" height="905" width="1038"]]
498
499 **Cable Wiring**
500
501 {{id name="Iimage-20220831105542-2.png"/}}{{id name="Iimage-20220831105529-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_183dee3a2f9d5a5a.png||alt="image-20220831105542-2.png" height="172" width="226"]] [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_679c6b6b2dc84d90.png||alt="image-20220831105529-1.png" height="228" width="492"]]
502
503 Pin Definition Diagram
504
505 {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FV-BOX2FV-Net2FTraining2F12520Communication2FWebHome2Fimage-20220825160820-4.png3Frev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/V-BOX/V-Net/Training/1%20Communication/WebHome/image-20220825160820-4.png?rev=1.1||alt="image-20220825160820-4.png" height="38" width="76"]]
506
507 == {{id name="HL02CPUMELSEC28Ethernet29"/}}**L02 CPU MELSEC(Ethernet)** ==
508
509 Mitsubishi Q series CPU built-in Ethernet port.
510
511 **HMI Settings**
512
513 |**Items**|**Settings**|**Note**
514 |Protocol|MITSUBISHI L02 CPU MELSEC|
515 |Connection|Ethernet|
516 |Port No.|1025|Must be the same as the PLC setting
517 |PLC station No.|0|Must be the same as the PLC setting
518
519 **Address List**
520
521 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
522 |Bit|X|X|X h|0~~FFFF|
523 |Bit|Y|Y|Y h|0~~FFFF|
524 |Bit|M|M|M d|0~~9999|
525 |Bit|L|L|L d|0~~9999|
526 |Bit|F|F|F d|0~~9999|
527 |Bit|B|B|B h|0~~FFFF|
528 |Bit|V|V|V d|0~~2047|
529 |Bit|TC|TC|TC d|0~~9999|
530 |Bit|SS|SS|SS d|0~~9999|
531 |Bit|SC|SC|SC d|0~~9999|
532 |Bit|CS|CS|CS d|0~~9999|
533 |Bit|CC|CC|CC d|0~~9999|
534 |Bit|SB|SB|SB h|0~~FFFF|
535 |Bit|SM|SM|SM d|0~~2047|
536 |Bit|STS|STS|STS d|0~~1023|
537 |Bit|S|S|S d|0~~9999|
538 |Bit|DX|DX|DX h|0~~FFFF|
539 |Bit|DY|DY|DY h|0~~FFFF|
540 |Bit|TS|TS|TS d|0~~9999|
541 |Bit|Dbit|Dbit|Dbit d.d|0~~99999.0~~15|
542 |Word|W|W|W h|0~~FFFF|
543 |Word|TN|TN|TN d|0~~99999|
544 |Word|SN|SN|SN d|0~~99999|
545 |Word|CN|CN|CN d|0~~99999|
546 |Word|R|R|R d|0~~99999|
547 |Word|SW|SW|SW h|0~~FFFF|
548 |Word|Z|Z|Z d|0~~99999|
549 |Word|ZR|ZR|ZR h|0~~FFFF|
550 |Word|D|D|D d|0~~99999|
551
552 **Communication Settings**
553
554 Enable HMI Ethernet in [Project Settings];
555
556 {{id name="I12.PLCProtocol_html_43b671f18153910d.png-1"/}} [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a98ee09dac36eba3.png||alt="12.PLC Protocol_html_43b671f18153910d.png" height="107" width="405"]]
557
558 Set PLC IP in [Device IP] settings;
559
560 {{id name="I12.PLCProtocol_html_38189fae42f6caa7.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_376def31824aaed1.png||alt="12.PLC Protocol_html_38189fae42f6caa7.png" height="206" width="600"]]
561
562 **PLC Settings (GX Works2 )**
563
564 Create a project
565
566 Set PLC IP, subnet mask and gateway;
567
568 Select [Binary Code] as communication data code;
569
570 {{id name="Iimage-20221108202109-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_8c67f9236cf3c782.png||alt="image-20221108202109-2.png" height="636" width="732"]]
571
572 Set PLC port number, for example 1025
573
574 {{id name="I12.PLCProtocol_html_8d0d1a22d388f70b.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_4fafc6de7980df7a.png||alt="12.PLC Protocol_html_8d0d1a22d388f70b.png" height="524" width="600"]]
575
576 Save settings;
577
578 Download project into PLC device;
579
580 Restart PLC device;
581
582 **Cable Wiring**
583
584 {{id name="I12.PLCProtocol_html_2297240b57346b2a.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
585
586 == {{id name="HQJ71C24NMELSEC"/}}**QJ71C24N MELSEC** ==
587
588 Mitsubishi QJ71C24N communication module built-in serial port;
589
590 **HMI Settings**
591
592 |**Items**|**Settings**|**Note**
593 |Protocol|MITSUBISHI QJ71 MELSEC|
594 |Connection|422|
595 |Baud rate|9600|
596 |Data bit|8|
597 |Parity|ODD|
598 |Stop bit|1|
599 |PLC station No.|1~~255|Need to be the same as PLC settings
600
601 **Address List**
602
603 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
604 |(% rowspan="19" %)Bit|X|X|X FFFF|0~~1FFF|
605 |Y|Y|Y FFFF|0~~1FFF|
606 |M|M|M DDDDD|0~~99999|
607 |L|L|L DDDD|0~~8191|
608 |F|F|F DDDD|0~~2047|
609 |V|V|V DDDD|0~~2047|
610 |B|B|B FFFF|0~~1FFF|
611 |TS|TS|TS DDDD|0~~2047|
612 |TC|TC|TC DDDD|0~~2047|
613 |SS|SS|SS DDDD|0~~2047|
614 |SC|SC|SC DDDD|0~~2047|
615 |CS|CS|CS DDDD|0~~1023|
616 |CC|CC|CC DDDD|0~~1023|
617 |SB|SB|SB FFF|0~~7FF|
618 |S|S|S D|0~~8191|
619 |DX|DX|DX FFFF|0~~1FFF|
620 |DY|DY|DY FFFF|0~~1FFF|
621 |SM_|SM_|SM_ DDDD|8000~~9999|
622 |SM|SM|SM DDDD|0~~2047|
623 |(% rowspan="10" %)Word|SD|SD|SD DDDD|0~~2047|
624 |D|D|D DDDDD|0~~12287|
625 |W|W|W FFFF|0~~1FFF|
626 |TN|TN|TN DDDD|0~~2047|
627 |SN|SN|SN DDDD|0~~2047|
628 |CN|CN|CN DDDD|0~~1023|
629 |R|R|R DDDDD|0~~32767|
630 |SW|SW|SW FFF|0~~7FF|
631 |Z|Z|Z D|0~~15|
632 |ZR|ZR|ZR FFFFF|0~~FE7FF|
633
634 **Communication Settings**
635
636 {{id name="Iimage-20221109135738-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_6513d4083293f50e.png||alt="image-20221109135738-1.png" height="574" width="540"]]
637
638 {{id name="Iimage-20221109140016-3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_4856928ac03ccb79.png||alt="image-20221109140016-3.png" height="706" width="909"]]
639
640 Pin Definition Diagram
641
642 {{id name="Iimage-20221109140406-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_708b4368ae664f84.png||alt="image-20221109140406-4.png" height="247" width="397"]]
643
644 == {{id name="HQJ71E71MELSEC"/}}**QJ71E71 MELSEC** ==
645
646 Mitsubishi QJ71E71 Ethernet communication module;
647
648 **HMI Settings**
649
650 |**Items**|**Settings**|**Note**
651 |Protocol|MITSUBISHI QJ71E71 MELSEC|
652 |Connection|Ethernet|
653 |Port No.|1025|Must be the same as the PLC setting
654 |PLC station No.|0|Must be the same as the PLC setting
655
656 **Address List**
657
658 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
659 |(% rowspan="18" %)Bit|X|X|X h|0~~1FFF|
660 |Y|Y|Y h|0~~1FFF|
661 |M|M|M d|0~~99999|
662 |L|L|L d|0~~8191|
663 |F|F|F d|0~~2047|
664 |B|B|B h|0~~1FFF|
665 |V|V|V d|0~~2047|
666 |TS|TS|TS d|0~~2047|
667 |TC|TC|TC d|0~~2047|
668 |SS|SS|SS d|0~~2047|
669 |SC|SC|SC d|0~~2047|
670 |CS|CS|CS d|0~~1023|
671 |CC|CC|CC d|0~~1023|
672 |SB|SB|SB h|0~~7FF|
673 |S|S|S d|0~~8191|
674 |DX|DX|DX h|0~~1FFF|
675 |DY|DY|DY h|0~~1FFF|
676 |SM|SM|SM d|8000~~9999|
677 |(% rowspan="10" %)Word|SD|SD|SD d|0~~2047|
678 |D|D|D d|0~~12287|
679 |W|W|W h|0~~1FFF|
680 |TN|TN|TN d|0~~2047|
681 |SN|SN|SN d|0~~2047|
682 |CN|CN|CN d|0~~1023|
683 |R|R|R d|0~~32767|
684 |SW|SW|SW h|0~~7FF|
685 |Z|Z|Z d|0~~15|
686 |ZR|ZR|ZR h|0~~FE7FF|
687
688 **HMI Communication Settings**
689
690 1) Enable HMI Ethernet in [Project Settings];
691
692 {{id name="I12.PLCProtocol_html_43b671f18153910d.png-2"/}} [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a98ee09dac36eba3.png||alt="12.PLC Protocol_html_43b671f18153910d.png" height="107" width="405"]]
693
694 2) Set PLC IP in [Device IP] settings
695
696 {{id name="Iimage-20221119164628-1.png"/}};[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a672b85489bc3ccf.png||alt="image-20221119164628-1.png" height="502" width="646"]]
697
698 **PLC Settings(GX Works2)**
699
700 * Click [Ethernet/CC IE/MELSECNET];
701 * Please select [Ethernet] as network type;
702 * Set station I/O number according to situation (For example, 0020 means that the module is connected to PLC CPU in first order);
703 * Select [Online] as Mode;
704 * {{id name="Iimage-20221119164958-2.png"/}}{{id name="I12.PLCProtocol_html_acd084d845da380e.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_5299cbf3c8268344.png||alt="image-20221119164958-2.png" height="356" width="611"]] [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_cca6d562ae3a78f7.png||alt="12.PLC Protocol_html_acd084d845da380e.png" height="300" width="554"]]
705 * Click [Operation setting] to set IP;
706 * Select [Binary Code] as [Communication Data Code];
707 * {{id name="Iimage-20221119165129-3.png"/}}{{id name="I12.PLCProtocol_html_a972e671d2bb9150.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ad7bac4c325df08d.png||alt="image-20221119165129-3.png" height="381" width="611"]] [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_bbfa45d44f415527.png||alt="12.PLC Protocol_html_a972e671d2bb9150.png" height="304" width="553"]]
708 * Click [Open setting]
709 * Set protocol: TCP;
710 * Set [unpassive] in [Open system];
711 * Set [receive] in [Fixed buffer];
712 * Set [procedure Exist] in [Fixed buffer communication];
713 * Disable [Pairing open];
714 * Set [No confirm] in [Existence confirmation];
715 * Host station port number: 5009;
716 * {{id name="I12.PLCProtocol_html_f2c432006cdd2f9.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_9abc6f2f8ad89136.png||alt="12.PLC Protocol_html_f2c432006cdd2f9.png" height="220" width="553"]] Save settings;
717 * {{id name="Iimage-20221119165342-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_143120787717f1e3.png||alt="image-20221119165342-4.png" height="387" width="620"]]
718 * Download project into PLC and restart it
719
720 **Cable Wiring**
721
722 {{id name="I12.PLCProtocol_html_2297240b57346b2a.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
723
724 == (% id="cke_bm_142452S" style="display:none" %) {{id name="HQJ71C24NMELSEC"/}}{{id name="HQJ71E71MELSEC"/}}(%%)**Q00 series CPU** ==
725
726 Mitsubishi Q00 series CPU communication module built-in serial port;
727
728 **HMI Settings**
729
730 |**Items**|**Settings**|**Note**
731 |Protocol|MITSUBISHI Q00H CPU Port|
732 |Connection|232|
733 |Baud rate|9600|
734 |Data bit|8|
735 |Parity|ODD|
736 |Stop bit|1|
737 |PLC station No.|1~~255|Need to be the same as PLC settings
738
739 **Address List**
740
741
742 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
743 |(% rowspan="18" %)Bit|X|X|X h|0~~ffff|
744 |Y|Y|Y h|0~~ffff|
745 |M|M|M d|0~~9999|
746 |L|L|L d|0~~9999|
747 |F|F|F d|0~~9999|
748 |B|B|B h|0~~ffff|
749 |Dbit|Dbit|Dbit d.h|(((
750 d:0~~65535
751
752 h:0~~15
753 )))|
754 |TS|TS|TS d|0~~9999|
755 |TC|TC|TC d|0~~9999|
756 |SS|SS|SS d|0~~9999|
757 |SC|SC|SC d|0~~9999|
758 |CS|CS|CS d|0~~9999|
759 |CC|CC|CC d|0~~9999|
760 |SB|SB|SB h|0~~ffff|
761 |S|S|S d|0~~9999|
762 |DX|DX|DX h|0~~ffff|
763 |DY|DY|DY h|0~~ffff|
764 |SM|SM|SM d|0~~2047|
765 |(% rowspan="10" %)Word
766 |D|D|D d|0~~99999|
767 |W|W|W h|0~~ffff|
768 |TN|TN|TN d|0~~99999|
769 |SN|SN|SN d|0~~99999|
770 |CN|CN|CN d|0~~99999|
771 |R|R|R d|0~~99999|
772 |SW|SW|SW h|0~~ffff|
773 |Z|Z|Z d|0~~99999|
774 |ZR|ZR|ZR h|0~~ffff|
775
776 **Communication Settings**
777
778 (% style="text-align:center" %)
779 [[image:1721788015672-937.png]]
780
781
782 (% style="text-align:center" %)
783 [[image:1721788027418-255.png]]
784
785 **PLC Settings(GX Works2)**
786
787 Open[PLC Parameter],click [Serial Communication] then Check [Use Serial Communication] is uncheck.
788
789 (% class="box infomessage" %)
790 (((
791 **✎**Note: If you check the[Use Serial Communication] the communication method will be the same as QJ71
792 )))
793
794 (% style="text-align:center" %)
795 [[image:1721788146564-781.png]]
796
797 **Cable Wiring**
798
799 (% style="text-align:center" %)
800 [[image:1721788185633-200.png]]