Wiki source code of Mitsubishi

Version 58.1 by Devin Chen on 2023/09/15 15:20

Show last authors
1 = {{id name="HMitsubishi"/}}**Mitsubishi** =
2
3 == {{id name="HFX1S2C1N2C2NSeries"/}}**FX1S, 1N, 2N Series** ==
4
5 Supported Series: Mitsubishi FX1S, FX1N, FX2N series
6
7 **HMI Settings**
8
9 |**Item**|**Settings**|**Note**
10 |Protocol|Mitsubishi FX1S/FX1N/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.|1~~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 |(% rowspan="8" %)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
38 **PLC Setting:**
39
40 ①PLC Default Parameters:
41 [Connection type]RS422;[Baud rate]9600, [Data bit]7, [Stop bit]1,[Parity]EVEN; [Station number]0
42 Note:The serial port parameters should be set depending on field requirements
43
44 ②PC and PLC connection:
45
46 [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]
47
48 (% style="text-align:center" %)
49 [[image:1.5.1.png]]
50
51 Connection test:when connection is OK,the GX Works2 prompts “Successfully connected with the FX2N/FX2NCCPU.”
52
53 (% style="text-align:center" %)
54 [[image:1.5.2.png]]
55
56 **Cable Wiring**
57
58 * **RS485**
59
60 {{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"]]
61
62 {{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"]]
63
64 * **RS422**
65
66 {{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"]]
67
68 **✎Note:** COM3 only available in PI8000/PI9000 series.
69
70 == {{id name="HFX3U2F3G2F3GASerial"/}}**FX3U/3G/3GA Serial** ==
71
72 **HMI Settings**
73
74 |=**Item**|=**Settings**|=**Note**
75 |Protocol|Mitsubishi FX3U/3G/3GA|
76 |Connection|RS422|
77 |Baud rate|9600~~115200|
78 |Data bit|7/8|
79 |Parity|EVEN/Odd/None|
80 |Stop bit|1/2|
81 |PLC station No.|1~~255|
82
83 **Address List**
84
85 |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note**
86 |(% rowspan="7" %)Bit|X|X|Xo|0~~303237|
87 |Y|Y|Y o|0~~303237|
88 |M|M|M d|0~~99999|
89 |T|T|T d|0~~99999|
90 |C|C|C d|0~~99999|
91 |S|S|S d|0~~99999|
92 |SM|SM|SM d|8000~~9999|
93 |(% rowspan="8" %)Word|X|X|Xo|0~~303237|
94 |Y|Y|Y o|0~~303237|
95 |M|M|M d|0~~99999|
96 |T|T|T d|0~~99999|
97 |C|C|C d|0~~199|
98 |D|D|D d|0~~7999|
99 |S|S|S d|0~~99999|
100 |SD|SD|SD d|8000~~9999|
101
102 **Configure the communication protocol**
103
104 {{id name="Iimage-20220831095222-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_87497ea9be28fa5.png||alt="image-20220831095222-1.png" height="735" width="616"]]
105
106 {{id name="Iimage-20220831095743-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_f1214e2436407de.png||alt="image-20220831095743-2.png" height="905" width="1038"]]
107
108 **PLC Setting:**
109
110 ①Open GX Works2, create a new PLC project or open the project that has been created.
111 Create new project: [Project]→[New]→[Series] FXCPU→[Type] FX3G/FX3GC→[OK].
112
113 (% style="text-align:center" %)
114 [[image:1.2.png]]
115
116 ②PLC Default Parameters:
117 [Connection type]RS422;[Baud rate]9600, [Data bit]7, [Stop bit]1,[Parity]EVEN; [Station number]0
118 Note:The serial port parameters should be set depending on field requirements
119
120 ③PC and PLC connection:
121
122 [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]
123
124 (% style="text-align:center" %)
125 [[image:1.5.1.png]]
126
127 Connection test:when connection is OK,the GX Works2 prompts “Successfully connected with the FX3G/FX3GCCPU.”
128
129 (% style="text-align:center" %)
130 [[image:1.5.2.png]]
131
132 **Wiring**
133
134 {{id name="Iimage-20220831100314-6.png"/}}
135
136 (% style="text-align:center" %)
137 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_feac72c6266d5c9f.png||alt="image-20220831100314-6.png" height="240" width="381"]]
138
139 == {{id name="HFXNOPROTOCOL"/}}**FX NOPROTOCOL** ==
140
141 Mitsubishi FX3G-RS232-BD
142
143 **HMI Settings**
144
145 |=**Item**|=**Settings**|=**Note**
146 |Protocol|Mitsubishi FX NOPROTOCOL|
147 |Connection|RS232|
148 |Baud rate|9600|
149 |Data bit|7|
150 |Parity|EVEN|
151 |Stop bit|1|
152 |PLC station No.|0|
153
154 **Address List**
155
156 |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note**
157 |(% rowspan="8" %)Bit|X|X|X o|0~~303237|
158 |Y|Y|Y o|0~~303237|
159 |M|M|M d|0~~99999|
160 |T|T|T d|0~~99999|
161 |C|C|C d|0~~99999|
162 |S|S|S d|0~~99999|
163 |SM|SM|SM d|8000~~9999|
164 |Lamp|Lamp|Lamp d|0~~0|
165 |(% rowspan="8" %)Word|X|X|X o|0~~303237|
166 |Y|Y|Y o|0~~303237|
167 |M|M|M d|0~~99999|
168 |T|T|T d|0~~99999|
169 |C|C|C d|0~~199|
170 |D|D|D d|0~~7999|
171 |S|S|S d|0~~99999|
172 |SD|SD|SD d|8000~~9999|
173
174 **Configure the communication protocol**
175
176 {{id name="I1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_468060edf3e40542.png||alt="1.png" height="706" width="909"]]
177
178 {{id name="I2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d58ca6ee4453ebce.png||alt="2.png" height="706" width="909"]]
179
180 **Wiring**
181
182 {{id name="I3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_1717efe8d969a43c.png||alt="3.png" height="246" width="401"]]
183
184 == {{id name="HFX3UEthernet"/}}**FX3U Ethernet** ==
185
186 Mitsubishi FX3U series PLC
187
188 **HMI Settings**
189
190 |Items|Settings|Note
191 |Protocol|Mitsubishi FX3U Ethernet|
192 |Connection|Ethernet|
193 |Port No.|5009|Must be the same as the PLC setting
194 |PLC station No.|0|
195
196 **Address List**
197
198 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
199 |(% rowspan="7" %)Bit|X|X|X OOO|0~~377|
200 |Y|Y|Y OOO|0~~377|
201 |M|M|M DDDD|0~~7679|
202 |SM|SM|SM DDDD|8000~~8511|
203 |S|S|S DDDD|0~~4095|
204 |TS|TS|TS DDD|0~~511|
205 |CS|CS|CS DDD|0~~255|
206 |(% rowspan="5" %)Word|CN|CN|CN DDD|0~~199|
207 |TN|TN|TN DDD|0~~511|
208 |D|D|D DDDD|0~~7999|
209 |SD|SD|SD DDDD|8000~~8511|
210 |R|R|R DDDDD|0~~32767|
211
212 **Ethernet Module Settings**
213
214 FX3U-ENET-L module configuration
215 Set up the FX3U-ENET-L Ethernet module settings as follows.
216 Select the module location, which in this document is Module 0.
217
218 {{id name="Iimage-20221115140802-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_949d5d77c1d9cf1e.png||alt="image-20221115140802-1.png" height="573" width="706"]]
219
220 Select "Operational setting" to enter the following screen.
221
222 The Ethernet module IP is set to 192.168.39.254 in this document, and other options are default.
223
224 {{id name="Iimage-20221115142728-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_dfbfdd586c855c47.png||alt="image-20221115142728-4.png" height="573" width="706"]]
225
226 Select "Open setting" to enter the setting interface, the settings are as follows.
227
228 The third item "Protocol" selects TCP, and "Open system" selects MELSOFT connection, which allows the
229
230 Mitsubishi programming software GX works2 to communicate with the FX3U via the Ethernet module.
231
232 {{id name="Iimage-20221115142945-5.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7c01ac15090fcc5b.png||alt="image-20221115142945-5.png" height="549" width="706"]]
233
234 Click on "transter setup" - "PC side I/F setting", see the following figure.
235
236 After setting, the first download must use the programming cable, as shown in the figure; after that, can
237
238 use the IP set in the "Ethernet board" to communicate directly with the network cable.
239
240 {{id name="Iimage-20221115143341-6.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d6fd9ce3b96f99e2.png||alt="image-20221115143341-6.png" height="426" width="712"]]
241
242 Read and write data from the Ethernet module
243
244 {{id name="Iimage-20221115143703-7.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_690b3e57b29cfd4b.png||alt="image-20221115143703-7.png" height="549" width="706"]]
245
246 Set "Transter setup" to COM communication, and read or write operation as shown below
247
248 {{id name="Iimage-20221115143809-8.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_b317253742f7151.png||alt="image-20221115143809-8.png" height="549" width="706"]]
249
250 **PLC Settings (GX Works 2)**
251
252 Create a blank FX5U project
253
254 Find Current Connection in the navigation
255
256 {{id name="Iimage-20221115144335-9.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d2a46ba9c005cf38.png||alt="image-20221115144335-9.png" height="422" width="706"]]
257
258 Select Connection Channel List
259
260 Select Ethernet board communication
261
262 {{id name="Iimage-20221115144824-10.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_8f49721a3e5b0ef9.png||alt="image-20221115144824-10.png" height="421" width="705"]]
263
264 Select Ethernet Module
265 Set the IP address of the PLC
266
267 {{id name="Iimage-20221115145228-11.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_1e9a9e29a46a1041.png||alt="image-20221115145228-11.png" height="674" width="708"]]
268
269 Read or write PLC data, in this document is read
270
271 {{id name="Iimage-20221115145553-12.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e3d629103727a423.png||alt="image-20221115145553-12.png" height="424" width="711"]]
272
273 {{id name="Iimage-20221115145559-13.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7f29923ebcb670d1.png||alt="image-20221115145559-13.png" height="424" width="711"]]
274
275 **HMI Communication Setting**
276
277 {{id name="Iimage-20221115150003-14.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_11364c6da9a4fd72.png||alt="image-20221115150003-14.png" height="425" width="712"]]
278
279 {{id name="Iimage-20221115150235-15.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_4c73e8982af3231.png||alt="image-20221115150235-15.png" height="427" width="713"]]
280
281 {{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"]]
282
283 **HMI Communication Setting**
284
285 {{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"]]
286
287 {{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"]]
288
289 == {{id name="HFX5USerial"/}}**FX5U Serial** ==
290
291 Mitsubishi FX5U series PLC
292
293 **HMI Settings**
294
295 |**Item**|**Settings**|**Note**
296 |Protocol|Mitsubishi FX5U|
297 |Connection|RS422/RS485|
298 |Baud rate|9600|
299 |Data bit|7|
300 |Parity|Odd|
301 |Stop bit|1|
302 |PLC station No.|0~~255|Need to be the same as PLC settings
303
304 **Address List**
305
306 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
307 |(% rowspan="15" %)Bit|X|X|X o|0~~1777|
308 |Y|Y|Y o|0~~1777|
309 |M|M|M d|0~~32767|
310 |B|B|B h|0~~7FFF|
311 |F|F|F d|0~~32767|
312 |SB|SB|SB h|0~~7FFF|
313 |TS|TS|TS d|0~~1023|
314 |TC|TC|TC d|0~~1023|
315 |STS|STS|STS d|0~~1023|
316 |STC|STC|STS d|0~~1023|
317 |CS|CS|CS d|0~~1023|
318 |CC|CC|CC d|0~~1023|
319 |SM|SM|SM d|0~~9999|
320 |L|L|L d|0~~32767|
321 |S|S|S d|0~~4095|
322 |(% rowspan="9" %)Word|W|W|W h|0~~3FF|
323 |TN|TN|TN d|0~~1023|
324 |STN|STN|STN d|0~~1023|
325 |CN|CN|CN d|0~~1023|
326 |R|R|R d|0~~32767|
327 |SW|SW|SW h|0~~7FFF|
328 |Z|Z|Z d|0~~23|
329 |D|D|D d|0~~7999|
330 |SD|SD|SD d|0~~11999|
331
332 **PLC Settings (GX Works 3)**
333
334 Create a blank FX5U project
335
336 Find the 485 serial port module in the system navigation bar and double click to enter the settings.
337
338 {{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"]]
339
340 Select protocol in the setting item, and set parameters.
341
342 {{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"]]
343
344 Set station number, and [Message Pattern] (Pattern 1 or Pattern 4)
345
346 {{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"]]
347
348 Click the [Apply] button to finish the setting.
349
350 Click download and select the items as below, then click [execute] to download the configuration to PLC.
351
352 {{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"]]
353
354 As soon as download is completed, connect PLC with serial port, then configure it in the [Specify Connection Destination Connection].
355
356 Done.
357
358 **Cable Wiring**
359
360 * **RS485**
361
362 {{id name="I12.PLCProtocol_html_d4012bdeb4ce4aae.png-1"/}}
363
364 (% style="text-align:center" %)
365 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ddcfa89a7e788c14.png||alt="12.PLC Protocol_html_d4012bdeb4ce4aae.png" height="244" width="394"]]
366
367 {{id name="I12.PLCProtocol_html_4bf57ad8d44eacc4.png-1"/}}
368
369 (% style="text-align:center" %)
370 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_64f32195c6a29424.png||alt="12.PLC Protocol_html_4bf57ad8d44eacc4.png" height="244" width="394"]]
371
372 * **RS422**
373
374 {{id name="I12.PLCProtocol_html_f8a6bebc5792960d.png-1"/}}
375
376 (% style="text-align:center" %)
377 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e27e979a8eaf8f17.png||alt="12.PLC Protocol_html_f8a6bebc5792960d.png" height="253" width="402"]]
378
379 (% style="text-align:center" %)
380 [[image:422.bmp||alt="RS422.png"]]
381
382 **✎Note:** COM3 only available in PI8000/PI9000 series.
383
384 == (% id="cke_bm_41057S" style="display:none" %) {{id name="HFX5USerial"/}}(%%)**FX5U Ethernet** ==
385
386 Mitsubishi FX5U series PLC
387
388 **HMI Settings**
389
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**|**HMI registers**|**Format**|**Range**|**Note**
400 |(% rowspan="15" %)Bit|X|X|X o|0~~1777|
401 |Y|Y|Y o|0~~1777|
402 |M|M|M d|0~~32767|
403 |B|B|B h|0~~7FFF|
404 |F|F|F d|0~~32767|
405 |SB|SB|SB h|0~~7FFF|
406 |TS|TS|TS d|0~~1023|
407 |TC|TC|TC d|0~~1023|
408 |STS|STS|STS d|0~~1023|
409 |STC|STC|STS d|0~~1023|
410 |CS|CS|CS d|0~~1023|
411 |CC|CC|CC d|0~~1023|
412 |SM|SM|SM d|0~~9999|
413 |L|L|L d|0~~32767|
414 |S|S|S d|0~~4095|
415 |(% rowspan="9" %)Word|W|W|W h|0~~3FF|
416 |TN|TN|TN d|0~~1023|
417 |STN|STN|STN d|0~~1023|
418 |CN|CN|CN d|0~~1023|
419 |R|R|R d|0~~32767|
420 |SW|SW|SW h|0~~7FFF|
421 |Z|Z|Z d|0~~23|
422 |D|D|D d|0~~7999|
423 |SD|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"]]