Wiki source code of Mitsubishi

Version 64.1 by Theodore Xu on 2023/09/15 18:13

Hide last authors
Hunter 2.1 1 = {{id name="HMitsubishi"/}}**Mitsubishi** =
2
Devin Chen 61.1 3 == {{id name="HFX1S2C1N2C2NSeries"/}}**FX2N Series** ==
Hunter 2.1 4
Devin Chen 62.1 5 Supported Series: Mitsubishi FX2N series
Hunter 2.1 6
7 **HMI Settings**
8
9 |**Item**|**Settings**|**Note**
Devin Chen 61.1 10 |Protocol|Mitsubishi FX2N|
Hunter 2.1 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|
Devin Chen 59.1 16 |PLC station No.|0~~255|
Hunter 2.1 17
18 **Address List**
19
Devin Chen 58.1 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" %)
Devin Chen 60.1 29 |(% colspan="1" rowspan="9" %)Word|(% style="width:297px" %)X|(% style="width:221px" %)Xo|(% style="width:237px" %)0~~303237|(% style="width:176px" %)
Devin Chen 58.1 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" %)
Devin Chen 60.1 37 |(% style="width:297px" %)CH|(% style="width:221px" %)CH d|(% style="width:237px" %)200~~255|(% style="width:176px" %)
Hunter 2.1 38
Devin Chen 58.1 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
Hunter 2.1 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
Devin Chen 48.1 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
Hunter 2.1 133 **Wiring**
134
Devin Chen 50.1 135 {{id name="Iimage-20220831100314-6.png"/}}
Hunter 2.1 136
Devin Chen 50.1 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
Hunter 2.1 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|
Devin Chen 51.1 303 |PLC station No.|0~~255|Need to be the same as PLC settings
Hunter 2.1 304
305 **Address List**
306
307 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
Devin Chen 54.1 308 |(% rowspan="15" %)Bit|X|X|X o|0~~1777|
309 |Y|Y|Y o|0~~1777|
310 |M|M|M d|0~~32767|
Hunter 2.1 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
Devin Chen 52.1 363 {{id name="I12.PLCProtocol_html_d4012bdeb4ce4aae.png-1"/}}
Hunter 2.1 364
Devin Chen 52.1 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"]]
Hunter 2.1 367
Devin Chen 52.1 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
Hunter 2.1 373 * **RS422**
374
Devin Chen 52.1 375 {{id name="I12.PLCProtocol_html_f8a6bebc5792960d.png-1"/}}
Hunter 2.1 376
Devin Chen 52.1 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" %)
Devin Chen 53.1 381 [[image:422.bmp||alt="RS422.png"]]
Devin Chen 52.1 382
Hunter 2.1 383 **✎Note:** COM3 only available in PI8000/PI9000 series.
384
Theodore Xu 64.1 385 = (% id="cke_bm_41057S" style="display:none" %) {{id name="HFX5USerial"/}}(%%)**FX5U Ethernet** =
Devin Chen 55.1 386
387 Mitsubishi FX5U series PLC
388
389 **HMI Settings**
390
Devin Chen 56.1 391
392 |**Items**|**Settings**|**Note**
393 |Protocol|MITSUBISHI FX5U Ethernet|
394 |Connection|Ethernet|
395 |Port No.|5002|Must be the same as the PLC setting
396 |PLC station No.|0|Must be the same as the PLC setting
397
Devin Chen 57.1 398 **Address List**
399
Theodore Xu 63.1 400 |**Type**|**Device registers**|**Format**|**Range**|**Note**
401 |(% rowspan="15" %)Bit|X|X o|0~~1777|
402 |Y|Y o|0~~1777|
403 |M|M d|0~~32767|
404 |B|B h|0~~7FFF|
405 |F|F d|0~~32767|
406 |SB|SB h|0~~7FFF|
407 |TS|TS d|0~~1023|
408 |TC|TC d|0~~1023|
409 |STS|STS d|0~~1023|
410 |STC|STS d|0~~1023|
411 |CS|CS d|0~~1023|
412 |CC|CC d|0~~1023|
413 |SM|SM d|0~~9999|
414 |L|L d|0~~32767|
415 |S|S d|0~~4095|
416 |(% rowspan="9" %)Word|W|W h|0~~3FF|
417 |TN|TN d|0~~1023|
418 |STN|STN d|0~~1023|
419 |CN|CN d|0~~1023|
420 |R|R d|0~~32767|
421 |SW|SW h|0~~7FFF|
422 |Z|Z d|0~~23|
423 |D|D d|0~~7999|
424 |SD|SD d|0~~11999|
Devin Chen 57.1 425
426 **PLC Settings (GX Works 3)**
427
428 PLC Default Parameters:
429 ①[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.
430
431 (% style="text-align:center" %)
432 [[image:1.3.1.png]]
433
434 ②[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]
435
436 (% style="text-align:center" %)
437 [[image:1.3.2.png]]
438
439 Note:The serial port parameters should be set depending on field requirements
440
441 **Cable Wiring**
442
443 (% style="text-align:center" %)
444 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png]]
445
Hunter 2.1 446 == {{id name="HL02CPUPort"/}}**L02 CPU Port** ==
447
448 Mitsubishi L02 series CPU built-in serial port.
449
450 **HMI Settings**
451
452 |=**Item**|=**Settings**|=**Note**
453 |Protocol|Mitsubishi L02 CPU Port|
454 |Connection|RS422|
455 |Baud rate|115200|
456 |Data bit|8|
457 |Parity|Odd|
458 |Stop bit|1|
459 |PLC station No.|1~~255|Need to be the same as PLC settings
460
461 **Address List**
462
463 |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note**
464 |Bit|X|X|X h|0~~FFFF|
465 |Bit|Y|Y|Y h|0~~FFFF|
466 |Bit|M|M|M d|0~~9999|
467 |Bit|L|L|L d|0~~9999|
468 |Bit|F|F|F d|0~~9999|
469 |Bit|B|B|B h|0~~FFFF|
470 |Bit|V|V|V d|0~~2047|
471 |Bit|TC|TC|TC d|0~~9999|
472 |Bit|SS|SS|SS d|0~~9999|
473 |Bit|SC|SC|SC d|0~~9999|
474 |Bit|CS|CS|CS d|0~~9999|
475 |Bit|CC|CC|CC d|0~~9999|
476 |Bit|SB|SB|SB h|0~~FFFF|
477 |Bit|SM|SM|SM d|0~~2047|
478 |Bit|STS|STS|STS d|0~~1023|
479 |Bit|S|S|S d|0~~9999|
480 |Bit|DX|DX|DX h|0~~FFFF|
481 |Bit|DY|DY|DY h|0~~FFFF|
482 |Bit|TS|TS|TS d|0~~9999|
483 |Bit|Dbit|Dbit|Dbit d.d|0~~99999.0~~15|
484 |Word|W|W|W h|0~~FFFF|
485 |Word|TN|TN|TN d|0~~99999|
486 |Word|SN|SN|SN d|0~~99999|
487 |Word|CN|CN|CN d|0~~99999|
488 |Word|R|R|R d|0~~99999|
489 |Word|SW|SW|SW h|0~~FFFF|
490 |Word|Z|Z|Z d|0~~99999|
491 |Word|ZR|ZR|ZR h|0~~FFFF|
492 |Word|D|D|D d|0~~99999|
493
494 **Communication Settings**
495
496 {{id name="Iimage-20220831105732-3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d08c69b880471768.png||alt="image-20220831105732-3.png" height="735" width="616"]]
497
498 {{id name="Iimage-20220831110004-5.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c6479028a3958c09.png||alt="image-20220831110004-5.png" height="905" width="1038"]]
499
500 **Cable Wiring**
501
502 {{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"]]
503
504 Pin Definition Diagram
505
506 {{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"]]
507
508 == {{id name="HL02CPUMELSEC28Ethernet29"/}}**L02 CPU MELSEC(Ethernet)** ==
509
510 Mitsubishi Q series CPU built-in Ethernet port.
511
512 **HMI Settings**
513
514 |**Items**|**Settings**|**Note**
515 |Protocol|MITSUBISHI L02 CPU MELSEC|
516 |Connection|Ethernet|
517 |Port No.|1025|Must be the same as the PLC setting
518 |PLC station No.|0|Must be the same as the PLC setting
519
520 **Address List**
521
522 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
523 |Bit|X|X|X h|0~~FFFF|
524 |Bit|Y|Y|Y h|0~~FFFF|
525 |Bit|M|M|M d|0~~9999|
526 |Bit|L|L|L d|0~~9999|
527 |Bit|F|F|F d|0~~9999|
528 |Bit|B|B|B h|0~~FFFF|
529 |Bit|V|V|V d|0~~2047|
530 |Bit|TC|TC|TC d|0~~9999|
531 |Bit|SS|SS|SS d|0~~9999|
532 |Bit|SC|SC|SC d|0~~9999|
533 |Bit|CS|CS|CS d|0~~9999|
534 |Bit|CC|CC|CC d|0~~9999|
535 |Bit|SB|SB|SB h|0~~FFFF|
536 |Bit|SM|SM|SM d|0~~2047|
537 |Bit|STS|STS|STS d|0~~1023|
538 |Bit|S|S|S d|0~~9999|
539 |Bit|DX|DX|DX h|0~~FFFF|
540 |Bit|DY|DY|DY h|0~~FFFF|
541 |Bit|TS|TS|TS d|0~~9999|
542 |Bit|Dbit|Dbit|Dbit d.d|0~~99999.0~~15|
543 |Word|W|W|W h|0~~FFFF|
544 |Word|TN|TN|TN d|0~~99999|
545 |Word|SN|SN|SN d|0~~99999|
546 |Word|CN|CN|CN d|0~~99999|
547 |Word|R|R|R d|0~~99999|
548 |Word|SW|SW|SW h|0~~FFFF|
549 |Word|Z|Z|Z d|0~~99999|
550 |Word|ZR|ZR|ZR h|0~~FFFF|
551 |Word|D|D|D d|0~~99999|
552
553 **Communication Settings**
554
555 Enable HMI Ethernet in [Project Settings];
556
557 {{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"]]
558
559 Set PLC IP in [Device IP] settings;
560
561 {{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"]]
562
563 **PLC Settings (GX Works2 )**
564
565 Create a project
566
567 Set PLC IP, subnet mask and gateway;
568
569 Select [Binary Code] as communication data code;
570
571 {{id name="Iimage-20221108202109-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_8c67f9236cf3c782.png||alt="image-20221108202109-2.png" height="636" width="732"]]
572
573 Set PLC port number, for example 1025
574
575 {{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"]]
576
577 Save settings;
578
579 Download project into PLC device;
580
581 Restart PLC device;
582
583 **Cable Wiring**
584
585 {{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"]]
586
587 == {{id name="HQJ71C24NMELSEC"/}}**QJ71C24N MELSEC** ==
588
589 Mitsubishi QJ71C24N communication module built-in serial port;
590
591 **HMI Settings**
592
593 |**Items**|**Settings**|**Note**
594 |Protocol|MITSUBISHI QJ71 MELSEC|
595 |Connection|422|
596 |Baud rate|9600|
597 |Data bit|8|
598 |Parity|ODD|
599 |Stop bit|1|
600 |PLC station No.|1~~255|Need to be the same as PLC settings
601
602 **Address List**
603
604 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
605 |(% rowspan="19" %)Bit|X|X|X FFFF|0~~1FFF|
606 |Y|Y|Y FFFF|0~~1FFF|
607 |M|M|M DDDDD|0~~99999|
608 |L|L|L DDDD|0~~8191|
609 |F|F|F DDDD|0~~2047|
610 |V|V|V DDDD|0~~2047|
611 |B|B|B FFFF|0~~1FFF|
612 |TS|TS|TS DDDD|0~~2047|
613 |TC|TC|TC DDDD|0~~2047|
614 |SS|SS|SS DDDD|0~~2047|
615 |SC|SC|SC DDDD|0~~2047|
616 |CS|CS|CS DDDD|0~~1023|
617 |CC|CC|CC DDDD|0~~1023|
618 |SB|SB|SB FFF|0~~7FF|
619 |S|S|S D|0~~8191|
620 |DX|DX|DX FFFF|0~~1FFF|
621 |DY|DY|DY FFFF|0~~1FFF|
622 |SM_|SM_|SM_ DDDD|8000~~9999|
623 |SM|SM|SM DDDD|0~~2047|
624 |(% rowspan="10" %)Word|SD|SD|SD DDDD|0~~2047|
625 |D|D|D DDDDD|0~~12287|
626 |W|W|W FFFF|0~~1FFF|
627 |TN|TN|TN DDDD|0~~2047|
628 |SN|SN|SN DDDD|0~~2047|
629 |CN|CN|CN DDDD|0~~1023|
630 |R|R|R DDDDD|0~~32767|
631 |SW|SW|SW FFF|0~~7FF|
632 |Z|Z|Z D|0~~15|
633 |ZR|ZR|ZR FFFFF|0~~FE7FF|
634
635 **Communication Settings**
636
637 {{id name="Iimage-20221109135738-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_6513d4083293f50e.png||alt="image-20221109135738-1.png" height="574" width="540"]]
638
639 {{id name="Iimage-20221109140016-3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_4856928ac03ccb79.png||alt="image-20221109140016-3.png" height="706" width="909"]]
640
641 Pin Definition Diagram
642
643 {{id name="Iimage-20221109140406-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_708b4368ae664f84.png||alt="image-20221109140406-4.png" height="247" width="397"]]
644
645 == {{id name="HQJ71E71MELSEC"/}}**QJ71E71 MELSEC** ==
646
647 Mitsubishi QJ71E71 Ethernet communication module;
648
649 **HMI Settings**
650
651 |**Items**|**Settings**|**Note**
652 |Protocol|MITSUBISHI QJ71E71 MELSEC|
653 |Connection|Ethernet|
654 |Port No.|1025|Must be the same as the PLC setting
655 |PLC station No.|0|Must be the same as the PLC setting
656
657 **Address List**
658
659 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
660 |(% rowspan="18" %)Bit|X|X|X h|0~~1FFF|
661 |Y|Y|Y h|0~~1FFF|
662 |M|M|M d|0~~99999|
663 |L|L|L d|0~~8191|
664 |F|F|F d|0~~2047|
665 |B|B|B h|0~~1FFF|
666 |V|V|V d|0~~2047|
667 |TS|TS|TS d|0~~2047|
668 |TC|TC|TC d|0~~2047|
669 |SS|SS|SS d|0~~2047|
670 |SC|SC|SC d|0~~2047|
671 |CS|CS|CS d|0~~1023|
672 |CC|CC|CC d|0~~1023|
673 |SB|SB|SB h|0~~7FF|
674 |S|S|S d|0~~8191|
675 |DX|DX|DX h|0~~1FFF|
676 |DY|DY|DY h|0~~1FFF|
677 |SM|SM|SM d|8000~~9999|
678 |(% rowspan="10" %)Word|SD|SD|SD d|0~~2047|
679 |D|D|D d|0~~12287|
680 |W|W|W h|0~~1FFF|
681 |TN|TN|TN d|0~~2047|
682 |SN|SN|SN d|0~~2047|
683 |CN|CN|CN d|0~~1023|
684 |R|R|R d|0~~32767|
685 |SW|SW|SW h|0~~7FF|
686 |Z|Z|Z d|0~~15|
687 |ZR|ZR|ZR h|0~~FE7FF|
688
689 **HMI Communication Settings**
690
691 1) Enable HMI Ethernet in [Project Settings];
692
693 {{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"]]
694
695 2) Set PLC IP in [Device IP] settings
696
697 {{id name="Iimage-20221119164628-1.png"/}};[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a672b85489bc3ccf.png||alt="image-20221119164628-1.png" height="502" width="646"]]
698
699 **PLC Settings(GX Works2)**
700
701 * Click [Ethernet/CC IE/MELSECNET];
702 * Please select [Ethernet] as network type;
703 * Set station I/O number according to situation (For example, 0020 means that the module is connected to PLC CPU in first order);
704 * Select [Online] as Mode;
705 * {{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"]]
706 * Click [Operation setting] to set IP;
707 * Select [Binary Code] as [Communication Data Code];
708 * {{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"]]
709 * Click [Open setting]
710 * Set protocol: TCP;
711 * Set [unpassive] in [Open system];
712 * Set [receive] in [Fixed buffer];
713 * Set [procedure Exist] in [Fixed buffer communication];
714 * Disable [Pairing open];
715 * Set [No confirm] in [Existence confirmation];
716 * Host station port number: 5009;
717 * {{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;
718 * {{id name="Iimage-20221119165342-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_143120787717f1e3.png||alt="image-20221119165342-4.png" height="387" width="620"]]
719 * Download project into PLC and restart it
720
721 **Cable Wiring**
722
723 {{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"]]