Wiki source code of Mitsubishi
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.1 | 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**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
21 | |(% rowspan="7" %)Bit|X|X|Xo|0~~303237| | ||
22 | |Y|Y|Y o|0~~303237| | ||
23 | |M|M|M d|0~~99999| | ||
24 | |T|T|T d|0~~99999| | ||
25 | |C|C|C d|0~~99999| | ||
26 | |S|S|S d|0~~99999| | ||
27 | |SM|SM|SM d|8000~~9999| | ||
28 | |(% rowspan="8" %)Word|X|X|Xo|0~~303237| | ||
29 | |Y|Y|Y o|0~~303237| | ||
30 | |M|M|M d|0~~99999| | ||
31 | |T|T|T d|0~~99999| | ||
32 | |C|C|C d|0~~199| | ||
33 | |D|D|D d|0~~7999| | ||
34 | |S|S|S d|0~~99999| | ||
35 | |SD|SD|SD d|8000~~9999| | ||
36 | |||
37 | **Cable Wiring** | ||
38 | |||
39 | * **RS485** | ||
40 | |||
41 | {{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"]] | ||
42 | |||
43 | {{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"]] | ||
44 | |||
45 | * **RS422** | ||
46 | |||
47 | {{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"]] | ||
48 | |||
49 | **✎Note:** COM3 only available in PI8000/PI9000 series. | ||
50 | |||
51 | == {{id name="HFX3U2F3G2F3GASerial"/}}**FX3U/3G/3GA Serial** == | ||
52 | |||
53 | **HMI Settings** | ||
54 | |||
55 | |=**Item**|=**Settings**|=**Note** | ||
56 | |Protocol|Mitsubishi FX3U/3G/3GA| | ||
57 | |Connection|RS422| | ||
58 | |Baud rate|9600~~115200| | ||
59 | |Data bit|7/8| | ||
60 | |Parity|EVEN/Odd/None| | ||
61 | |Stop bit|1/2| | ||
62 | |PLC station No.|1~~255| | ||
63 | |||
64 | **Address List** | ||
65 | |||
66 | |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note** | ||
67 | |(% rowspan="7" %)Bit|X|X|Xo|0~~303237| | ||
68 | |Y|Y|Y o|0~~303237| | ||
69 | |M|M|M d|0~~99999| | ||
70 | |T|T|T d|0~~99999| | ||
71 | |C|C|C d|0~~99999| | ||
72 | |S|S|S d|0~~99999| | ||
73 | |SM|SM|SM d|8000~~9999| | ||
74 | |(% rowspan="8" %)Word|X|X|Xo|0~~303237| | ||
75 | |Y|Y|Y o|0~~303237| | ||
76 | |M|M|M d|0~~99999| | ||
77 | |T|T|T d|0~~99999| | ||
78 | |C|C|C d|0~~199| | ||
79 | |D|D|D d|0~~7999| | ||
80 | |S|S|S d|0~~99999| | ||
81 | |SD|SD|SD d|8000~~9999| | ||
82 | |||
83 | **Configure the communication protocol** | ||
84 | |||
85 | {{id name="Iimage-20220831095222-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_87497ea9be28fa5.png||alt="image-20220831095222-1.png" height="735" width="616"]] | ||
86 | |||
87 | {{id name="Iimage-20220831095743-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_f1214e2436407de.png||alt="image-20220831095743-2.png" height="905" width="1038"]] | ||
88 | |||
89 | **Wiring** | ||
90 | |||
91 | {{id name="Iimage-20220831100314-6.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_feac72c6266d5c9f.png||alt="image-20220831100314-6.png" height="240" width="381"]] | ||
92 | |||
93 | == {{id name="HFXNOPROTOCOL"/}}**FX NOPROTOCOL** == | ||
94 | |||
95 | Mitsubishi FX3G-RS232-BD | ||
96 | |||
97 | **HMI Settings** | ||
98 | |||
99 | |=**Item**|=**Settings**|=**Note** | ||
100 | |Protocol|Mitsubishi FX NOPROTOCOL| | ||
101 | |Connection|RS232| | ||
102 | |Baud rate|9600| | ||
103 | |Data bit|7| | ||
104 | |Parity|EVEN| | ||
105 | |Stop bit|1| | ||
106 | |PLC station No.|0| | ||
107 | |||
108 | **Address List** | ||
109 | |||
110 | |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note** | ||
111 | |(% rowspan="8" %)Bit|X|X|X o|0~~303237| | ||
112 | |Y|Y|Y o|0~~303237| | ||
113 | |M|M|M d|0~~99999| | ||
114 | |T|T|T d|0~~99999| | ||
115 | |C|C|C d|0~~99999| | ||
116 | |S|S|S d|0~~99999| | ||
117 | |SM|SM|SM d|8000~~9999| | ||
118 | |Lamp|Lamp|Lamp d|0~~0| | ||
119 | |(% rowspan="8" %)Word|X|X|X o|0~~303237| | ||
120 | |Y|Y|Y o|0~~303237| | ||
121 | |M|M|M d|0~~99999| | ||
122 | |T|T|T d|0~~99999| | ||
123 | |C|C|C d|0~~199| | ||
124 | |D|D|D d|0~~7999| | ||
125 | |S|S|S d|0~~99999| | ||
126 | |SD|SD|SD d|8000~~9999| | ||
127 | |||
128 | **Configure the communication protocol** | ||
129 | |||
130 | {{id name="I1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_468060edf3e40542.png||alt="1.png" height="706" width="909"]] | ||
131 | |||
132 | {{id name="I2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d58ca6ee4453ebce.png||alt="2.png" height="706" width="909"]] | ||
133 | |||
134 | **Wiring** | ||
135 | |||
136 | {{id name="I3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_1717efe8d969a43c.png||alt="3.png" height="246" width="401"]] | ||
137 | |||
138 | == {{id name="HFX3UEthernet"/}}**FX3U Ethernet** == | ||
139 | |||
140 | Mitsubishi FX3U series PLC | ||
141 | |||
142 | **HMI Settings** | ||
143 | |||
144 | |Items|Settings|Note | ||
145 | |Protocol|Mitsubishi FX3U Ethernet| | ||
146 | |Connection|Ethernet| | ||
147 | |Port No.|5009|Must be the same as the PLC setting | ||
148 | |PLC station No.|0| | ||
149 | |||
150 | **Address List** | ||
151 | |||
152 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
153 | |(% rowspan="7" %)Bit|X|X|X OOO|0~~377| | ||
154 | |Y|Y|Y OOO|0~~377| | ||
155 | |M|M|M DDDD|0~~7679| | ||
156 | |SM|SM|SM DDDD|8000~~8511| | ||
157 | |S|S|S DDDD|0~~4095| | ||
158 | |TS|TS|TS DDD|0~~511| | ||
159 | |CS|CS|CS DDD|0~~255| | ||
160 | |(% rowspan="5" %)Word|CN|CN|CN DDD|0~~199| | ||
161 | |TN|TN|TN DDD|0~~511| | ||
162 | |D|D|D DDDD|0~~7999| | ||
163 | |SD|SD|SD DDDD|8000~~8511| | ||
164 | |R|R|R DDDDD|0~~32767| | ||
165 | |||
166 | **Ethernet Module Settings** | ||
167 | |||
168 | FX3U-ENET-L module configuration | ||
169 | Set up the FX3U-ENET-L Ethernet module settings as follows. | ||
170 | Select the module location, which in this document is Module 0. | ||
171 | |||
172 | {{id name="Iimage-20221115140802-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_949d5d77c1d9cf1e.png||alt="image-20221115140802-1.png" height="573" width="706"]] | ||
173 | |||
174 | Select "Operational setting" to enter the following screen. | ||
175 | |||
176 | The Ethernet module IP is set to 192.168.39.254 in this document, and other options are default. | ||
177 | |||
178 | {{id name="Iimage-20221115142728-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_dfbfdd586c855c47.png||alt="image-20221115142728-4.png" height="573" width="706"]] | ||
179 | |||
180 | Select "Open setting" to enter the setting interface, the settings are as follows. | ||
181 | |||
182 | The third item "Protocol" selects TCP, and "Open system" selects MELSOFT connection, which allows the | ||
183 | |||
184 | Mitsubishi programming software GX works2 to communicate with the FX3U via the Ethernet module. | ||
185 | |||
186 | {{id name="Iimage-20221115142945-5.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7c01ac15090fcc5b.png||alt="image-20221115142945-5.png" height="549" width="706"]] | ||
187 | |||
188 | Click on "transter setup" - "PC side I/F setting", see the following figure. | ||
189 | |||
190 | After setting, the first download must use the programming cable, as shown in the figure; after that, can | ||
191 | |||
192 | use the IP set in the "Ethernet board" to communicate directly with the network cable. | ||
193 | |||
194 | {{id name="Iimage-20221115143341-6.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d6fd9ce3b96f99e2.png||alt="image-20221115143341-6.png" height="426" width="712"]] | ||
195 | |||
196 | Read and write data from the Ethernet module | ||
197 | |||
198 | {{id name="Iimage-20221115143703-7.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_690b3e57b29cfd4b.png||alt="image-20221115143703-7.png" height="549" width="706"]] | ||
199 | |||
200 | Set "Transter setup" to COM communication, and read or write operation as shown below | ||
201 | |||
202 | {{id name="Iimage-20221115143809-8.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_b317253742f7151.png||alt="image-20221115143809-8.png" height="549" width="706"]] | ||
203 | |||
204 | **PLC Settings (GX Works 2)** | ||
205 | |||
206 | Create a blank FX5U project | ||
207 | |||
208 | Find Current Connection in the navigation | ||
209 | |||
210 | {{id name="Iimage-20221115144335-9.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d2a46ba9c005cf38.png||alt="image-20221115144335-9.png" height="422" width="706"]] | ||
211 | |||
212 | Select Connection Channel List | ||
213 | |||
214 | Select Ethernet board communication | ||
215 | |||
216 | {{id name="Iimage-20221115144824-10.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_8f49721a3e5b0ef9.png||alt="image-20221115144824-10.png" height="421" width="705"]] | ||
217 | |||
218 | Select Ethernet Module | ||
219 | Set the IP address of the PLC | ||
220 | |||
221 | {{id name="Iimage-20221115145228-11.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_1e9a9e29a46a1041.png||alt="image-20221115145228-11.png" height="674" width="708"]] | ||
222 | |||
223 | Read or write PLC data, in this document is read | ||
224 | |||
225 | {{id name="Iimage-20221115145553-12.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e3d629103727a423.png||alt="image-20221115145553-12.png" height="424" width="711"]] | ||
226 | |||
227 | {{id name="Iimage-20221115145559-13.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_7f29923ebcb670d1.png||alt="image-20221115145559-13.png" height="424" width="711"]] | ||
228 | |||
229 | **HMI Communication Setting** | ||
230 | |||
231 | {{id name="Iimage-20221115150003-14.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_11364c6da9a4fd72.png||alt="image-20221115150003-14.png" height="425" width="712"]] | ||
232 | |||
233 | {{id name="Iimage-20221115150235-15.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_4c73e8982af3231.png||alt="image-20221115150235-15.png" height="427" width="713"]] | ||
234 | |||
235 | {{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"]] | ||
236 | |||
237 | **HMI Communication Setting** | ||
238 | |||
239 | {{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"]] | ||
240 | |||
241 | {{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"]] | ||
242 | |||
243 | == {{id name="HFX5USerial"/}}**FX5U Serial** == | ||
244 | |||
245 | Mitsubishi FX5U series PLC | ||
246 | |||
247 | **HMI Settings** | ||
248 | |||
249 | |**Item**|**Settings**|**Note** | ||
250 | |Protocol|Mitsubishi FX5U| | ||
251 | |Connection|RS422/RS485| | ||
252 | |Baud rate|9600| | ||
253 | |Data bit|7| | ||
254 | |Parity|Odd| | ||
255 | |Stop bit|1| | ||
256 | |PLC station No.|1~~255|Need to be the same as PLC settings | ||
257 | |||
258 | **Address List** | ||
259 | |||
260 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
261 | |(% rowspan="15" %)Bit|X|X|X o|0~~303237| | ||
262 | |Y|Y|Y o|0~~303237| | ||
263 | |M|M|M d|0~~99999| | ||
264 | |B|B|B h|0~~7FFF| | ||
265 | |F|F|F d|0~~32767| | ||
266 | |SB|SB|SB h|0~~7FFF| | ||
267 | |TS|TS|TS d|0~~1023| | ||
268 | |TC|TC|TC d|0~~1023| | ||
269 | |STS|STS|STS d|0~~1023| | ||
270 | |STC|STC|STS d|0~~1023| | ||
271 | |CS|CS|CS d|0~~1023| | ||
272 | |CC|CC|CC d|0~~1023| | ||
273 | |SM|SM|SM d|0~~9999| | ||
274 | |L|L|L d|0~~32767| | ||
275 | |S|S|S d|0~~4095| | ||
276 | |(% rowspan="9" %)Word|W|W|W h|0~~3FF| | ||
277 | |TN|TN|TN d|0~~1023| | ||
278 | |STN|STN|STN d|0~~1023| | ||
279 | |CN|CN|CN d|0~~1023| | ||
280 | |R|R|R d|0~~32767| | ||
281 | |SW|SW|SW h|0~~7FFF| | ||
282 | |Z|Z|Z d|0~~23| | ||
283 | |D|D|D d|0~~7999| | ||
284 | |SD|SD|SD d|0~~11999| | ||
285 | |||
286 | **PLC Settings (GX Works 3)** | ||
287 | |||
288 | Create a blank FX5U project | ||
289 | |||
290 | Find the 485 serial port module in the system navigation bar and double click to enter the settings. | ||
291 | |||
292 | {{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"]] | ||
293 | |||
294 | Select protocol in the setting item, and set parameters. | ||
295 | |||
296 | {{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"]] | ||
297 | |||
298 | Set station number, and [Message Pattern] (Pattern 1 or Pattern 4) | ||
299 | |||
300 | {{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"]] | ||
301 | |||
302 | Click the [Apply] button to finish the setting. | ||
303 | |||
304 | Click download and select the items as below, then click [execute] to download the configuration to PLC. | ||
305 | |||
306 | {{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"]] | ||
307 | |||
308 | As soon as download is completed, connect PLC with serial port, then configure it in the [Specify Connection Destination Connection]. | ||
309 | |||
310 | Done. | ||
311 | |||
312 | **Cable Wiring** | ||
313 | |||
314 | * **RS485** | ||
315 | |||
316 | {{id name="I12.PLCProtocol_html_d4012bdeb4ce4aae.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ddcfa89a7e788c14.png||alt="12.PLC Protocol_html_d4012bdeb4ce4aae.png" height="244" width="394"]] | ||
317 | |||
318 | {{id name="I12.PLCProtocol_html_4bf57ad8d44eacc4.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_64f32195c6a29424.png||alt="12.PLC Protocol_html_4bf57ad8d44eacc4.png" height="244" width="394"]] | ||
319 | |||
320 | * **RS422** | ||
321 | |||
322 | {{id name="I12.PLCProtocol_html_f8a6bebc5792960d.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e27e979a8eaf8f17.png||alt="12.PLC Protocol_html_f8a6bebc5792960d.png" height="253" width="402"]] | ||
323 | |||
324 | **✎Note:** COM3 only available in PI8000/PI9000 series. | ||
325 | |||
326 | == {{id name="HL02CPUPort"/}}**L02 CPU Port** == | ||
327 | |||
328 | Mitsubishi L02 series CPU built-in serial port. | ||
329 | |||
330 | **HMI Settings** | ||
331 | |||
332 | |=**Item**|=**Settings**|=**Note** | ||
333 | |Protocol|Mitsubishi L02 CPU Port| | ||
334 | |Connection|RS422| | ||
335 | |Baud rate|115200| | ||
336 | |Data bit|8| | ||
337 | |Parity|Odd| | ||
338 | |Stop bit|1| | ||
339 | |PLC station No.|1~~255|Need to be the same as PLC settings | ||
340 | |||
341 | **Address List** | ||
342 | |||
343 | |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note** | ||
344 | |Bit|X|X|X h|0~~FFFF| | ||
345 | |Bit|Y|Y|Y h|0~~FFFF| | ||
346 | |Bit|M|M|M d|0~~9999| | ||
347 | |Bit|L|L|L d|0~~9999| | ||
348 | |Bit|F|F|F d|0~~9999| | ||
349 | |Bit|B|B|B h|0~~FFFF| | ||
350 | |Bit|V|V|V d|0~~2047| | ||
351 | |Bit|TC|TC|TC d|0~~9999| | ||
352 | |Bit|SS|SS|SS d|0~~9999| | ||
353 | |Bit|SC|SC|SC d|0~~9999| | ||
354 | |Bit|CS|CS|CS d|0~~9999| | ||
355 | |Bit|CC|CC|CC d|0~~9999| | ||
356 | |Bit|SB|SB|SB h|0~~FFFF| | ||
357 | |Bit|SM|SM|SM d|0~~2047| | ||
358 | |Bit|STS|STS|STS d|0~~1023| | ||
359 | |Bit|S|S|S d|0~~9999| | ||
360 | |Bit|DX|DX|DX h|0~~FFFF| | ||
361 | |Bit|DY|DY|DY h|0~~FFFF| | ||
362 | |Bit|TS|TS|TS d|0~~9999| | ||
363 | |Bit|Dbit|Dbit|Dbit d.d|0~~99999.0~~15| | ||
364 | |Word|W|W|W h|0~~FFFF| | ||
365 | |Word|TN|TN|TN d|0~~99999| | ||
366 | |Word|SN|SN|SN d|0~~99999| | ||
367 | |Word|CN|CN|CN d|0~~99999| | ||
368 | |Word|R|R|R d|0~~99999| | ||
369 | |Word|SW|SW|SW h|0~~FFFF| | ||
370 | |Word|Z|Z|Z d|0~~99999| | ||
371 | |Word|ZR|ZR|ZR h|0~~FFFF| | ||
372 | |Word|D|D|D d|0~~99999| | ||
373 | |||
374 | **Communication Settings** | ||
375 | |||
376 | {{id name="Iimage-20220831105732-3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_d08c69b880471768.png||alt="image-20220831105732-3.png" height="735" width="616"]] | ||
377 | |||
378 | {{id name="Iimage-20220831110004-5.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c6479028a3958c09.png||alt="image-20220831110004-5.png" height="905" width="1038"]] | ||
379 | |||
380 | **Cable Wiring** | ||
381 | |||
382 | {{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"]] | ||
383 | |||
384 | Pin Definition Diagram | ||
385 | |||
386 | {{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"]] | ||
387 | |||
388 | == {{id name="HL02CPUMELSEC28Ethernet29"/}}**L02 CPU MELSEC(Ethernet)** == | ||
389 | |||
390 | Mitsubishi Q series CPU built-in Ethernet port. | ||
391 | |||
392 | **HMI Settings** | ||
393 | |||
394 | |**Items**|**Settings**|**Note** | ||
395 | |Protocol|MITSUBISHI L02 CPU MELSEC| | ||
396 | |Connection|Ethernet| | ||
397 | |Port No.|1025|Must be the same as the PLC setting | ||
398 | |PLC station No.|0|Must be the same as the PLC setting | ||
399 | |||
400 | **Address List** | ||
401 | |||
402 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
403 | |Bit|X|X|X h|0~~FFFF| | ||
404 | |Bit|Y|Y|Y h|0~~FFFF| | ||
405 | |Bit|M|M|M d|0~~9999| | ||
406 | |Bit|L|L|L d|0~~9999| | ||
407 | |Bit|F|F|F d|0~~9999| | ||
408 | |Bit|B|B|B h|0~~FFFF| | ||
409 | |Bit|V|V|V d|0~~2047| | ||
410 | |Bit|TC|TC|TC d|0~~9999| | ||
411 | |Bit|SS|SS|SS d|0~~9999| | ||
412 | |Bit|SC|SC|SC d|0~~9999| | ||
413 | |Bit|CS|CS|CS d|0~~9999| | ||
414 | |Bit|CC|CC|CC d|0~~9999| | ||
415 | |Bit|SB|SB|SB h|0~~FFFF| | ||
416 | |Bit|SM|SM|SM d|0~~2047| | ||
417 | |Bit|STS|STS|STS d|0~~1023| | ||
418 | |Bit|S|S|S d|0~~9999| | ||
419 | |Bit|DX|DX|DX h|0~~FFFF| | ||
420 | |Bit|DY|DY|DY h|0~~FFFF| | ||
421 | |Bit|TS|TS|TS d|0~~9999| | ||
422 | |Bit|Dbit|Dbit|Dbit d.d|0~~99999.0~~15| | ||
423 | |Word|W|W|W h|0~~FFFF| | ||
424 | |Word|TN|TN|TN d|0~~99999| | ||
425 | |Word|SN|SN|SN d|0~~99999| | ||
426 | |Word|CN|CN|CN d|0~~99999| | ||
427 | |Word|R|R|R d|0~~99999| | ||
428 | |Word|SW|SW|SW h|0~~FFFF| | ||
429 | |Word|Z|Z|Z d|0~~99999| | ||
430 | |Word|ZR|ZR|ZR h|0~~FFFF| | ||
431 | |Word|D|D|D d|0~~99999| | ||
432 | |||
433 | **Communication Settings** | ||
434 | |||
435 | Enable HMI Ethernet in [Project Settings]; | ||
436 | |||
437 | {{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"]] | ||
438 | |||
439 | Set PLC IP in [Device IP] settings; | ||
440 | |||
441 | {{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"]] | ||
442 | |||
443 | **PLC Settings (GX Works2 )** | ||
444 | |||
445 | Create a project | ||
446 | |||
447 | Set PLC IP, subnet mask and gateway; | ||
448 | |||
449 | Select [Binary Code] as communication data code; | ||
450 | |||
451 | {{id name="Iimage-20221108202109-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_8c67f9236cf3c782.png||alt="image-20221108202109-2.png" height="636" width="732"]] | ||
452 | |||
453 | Set PLC port number, for example 1025 | ||
454 | |||
455 | {{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"]] | ||
456 | |||
457 | Save settings; | ||
458 | |||
459 | Download project into PLC device; | ||
460 | |||
461 | Restart PLC device; | ||
462 | |||
463 | **Cable Wiring** | ||
464 | |||
465 | {{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"]] | ||
466 | |||
467 | == {{id name="HQJ71C24NMELSEC"/}}**QJ71C24N MELSEC** == | ||
468 | |||
469 | Mitsubishi QJ71C24N communication module built-in serial port; | ||
470 | |||
471 | **HMI Settings** | ||
472 | |||
473 | |**Items**|**Settings**|**Note** | ||
474 | |Protocol|MITSUBISHI QJ71 MELSEC| | ||
475 | |Connection|422| | ||
476 | |Baud rate|9600| | ||
477 | |Data bit|8| | ||
478 | |Parity|ODD| | ||
479 | |Stop bit|1| | ||
480 | |PLC station No.|1~~255|Need to be the same as PLC settings | ||
481 | |||
482 | **Address List** | ||
483 | |||
484 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
485 | |(% rowspan="19" %)Bit|X|X|X FFFF|0~~1FFF| | ||
486 | |Y|Y|Y FFFF|0~~1FFF| | ||
487 | |M|M|M DDDDD|0~~99999| | ||
488 | |L|L|L DDDD|0~~8191| | ||
489 | |F|F|F DDDD|0~~2047| | ||
490 | |V|V|V DDDD|0~~2047| | ||
491 | |B|B|B FFFF|0~~1FFF| | ||
492 | |TS|TS|TS DDDD|0~~2047| | ||
493 | |TC|TC|TC DDDD|0~~2047| | ||
494 | |SS|SS|SS DDDD|0~~2047| | ||
495 | |SC|SC|SC DDDD|0~~2047| | ||
496 | |CS|CS|CS DDDD|0~~1023| | ||
497 | |CC|CC|CC DDDD|0~~1023| | ||
498 | |SB|SB|SB FFF|0~~7FF| | ||
499 | |S|S|S D|0~~8191| | ||
500 | |DX|DX|DX FFFF|0~~1FFF| | ||
501 | |DY|DY|DY FFFF|0~~1FFF| | ||
502 | |SM_|SM_|SM_ DDDD|8000~~9999| | ||
503 | |SM|SM|SM DDDD|0~~2047| | ||
504 | |(% rowspan="10" %)Word|SD|SD|SD DDDD|0~~2047| | ||
505 | |D|D|D DDDDD|0~~12287| | ||
506 | |W|W|W FFFF|0~~1FFF| | ||
507 | |TN|TN|TN DDDD|0~~2047| | ||
508 | |SN|SN|SN DDDD|0~~2047| | ||
509 | |CN|CN|CN DDDD|0~~1023| | ||
510 | |R|R|R DDDDD|0~~32767| | ||
511 | |SW|SW|SW FFF|0~~7FF| | ||
512 | |Z|Z|Z D|0~~15| | ||
513 | |ZR|ZR|ZR FFFFF|0~~FE7FF| | ||
514 | |||
515 | **Communication Settings** | ||
516 | |||
517 | {{id name="Iimage-20221109135738-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_6513d4083293f50e.png||alt="image-20221109135738-1.png" height="574" width="540"]] | ||
518 | |||
519 | {{id name="Iimage-20221109140016-3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_4856928ac03ccb79.png||alt="image-20221109140016-3.png" height="706" width="909"]] | ||
520 | |||
521 | Pin Definition Diagram | ||
522 | |||
523 | {{id name="Iimage-20221109140406-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_708b4368ae664f84.png||alt="image-20221109140406-4.png" height="247" width="397"]] | ||
524 | |||
525 | == {{id name="HQJ71E71MELSEC"/}}**QJ71E71 MELSEC** == | ||
526 | |||
527 | Mitsubishi QJ71E71 Ethernet communication module; | ||
528 | |||
529 | **HMI Settings** | ||
530 | |||
531 | |**Items**|**Settings**|**Note** | ||
532 | |Protocol|MITSUBISHI QJ71E71 MELSEC| | ||
533 | |Connection|Ethernet| | ||
534 | |Port No.|1025|Must be the same as the PLC setting | ||
535 | |PLC station No.|0|Must be the same as the PLC setting | ||
536 | |||
537 | **Address List** | ||
538 | |||
539 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
540 | |(% rowspan="18" %)Bit|X|X|X h|0~~1FFF| | ||
541 | |Y|Y|Y h|0~~1FFF| | ||
542 | |M|M|M d|0~~99999| | ||
543 | |L|L|L d|0~~8191| | ||
544 | |F|F|F d|0~~2047| | ||
545 | |B|B|B h|0~~1FFF| | ||
546 | |V|V|V d|0~~2047| | ||
547 | |TS|TS|TS d|0~~2047| | ||
548 | |TC|TC|TC d|0~~2047| | ||
549 | |SS|SS|SS d|0~~2047| | ||
550 | |SC|SC|SC d|0~~2047| | ||
551 | |CS|CS|CS d|0~~1023| | ||
552 | |CC|CC|CC d|0~~1023| | ||
553 | |SB|SB|SB h|0~~7FF| | ||
554 | |S|S|S d|0~~8191| | ||
555 | |DX|DX|DX h|0~~1FFF| | ||
556 | |DY|DY|DY h|0~~1FFF| | ||
557 | |SM|SM|SM d|8000~~9999| | ||
558 | |(% rowspan="10" %)Word|SD|SD|SD d|0~~2047| | ||
559 | |D|D|D d|0~~12287| | ||
560 | |W|W|W h|0~~1FFF| | ||
561 | |TN|TN|TN d|0~~2047| | ||
562 | |SN|SN|SN d|0~~2047| | ||
563 | |CN|CN|CN d|0~~1023| | ||
564 | |R|R|R d|0~~32767| | ||
565 | |SW|SW|SW h|0~~7FF| | ||
566 | |Z|Z|Z d|0~~15| | ||
567 | |ZR|ZR|ZR h|0~~FE7FF| | ||
568 | |||
569 | **HMI Communication Settings** | ||
570 | |||
571 | 1) Enable HMI Ethernet in [Project Settings]; | ||
572 | |||
573 | {{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"]] | ||
574 | |||
575 | 2) Set PLC IP in [Device IP] settings | ||
576 | |||
577 | {{id name="Iimage-20221119164628-1.png"/}};[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a672b85489bc3ccf.png||alt="image-20221119164628-1.png" height="502" width="646"]] | ||
578 | |||
579 | **PLC Settings(GX Works2)** | ||
580 | |||
581 | * Click [Ethernet/CC IE/MELSECNET]; | ||
582 | * Please select [Ethernet] as network type; | ||
583 | * Set station I/O number according to situation (For example, 0020 means that the module is connected to PLC CPU in first order); | ||
584 | * Select [Online] as Mode; | ||
585 | * {{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"]] | ||
586 | * Click [Operation setting] to set IP; | ||
587 | * Select [Binary Code] as [Communication Data Code]; | ||
588 | * {{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"]] | ||
589 | * Click [Open setting] | ||
590 | * Set protocol: TCP; | ||
591 | * Set [unpassive] in [Open system]; | ||
592 | * Set [receive] in [Fixed buffer]; | ||
593 | * Set [procedure Exist] in [Fixed buffer communication]; | ||
594 | * Disable [Pairing open]; | ||
595 | * Set [No confirm] in [Existence confirmation]; | ||
596 | * Host station port number: 5009; | ||
597 | * {{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; | ||
598 | * {{id name="Iimage-20221119165342-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_143120787717f1e3.png||alt="image-20221119165342-4.png" height="387" width="620"]] | ||
599 | * Download project into PLC and restart it | ||
600 | |||
601 | **Cable Wiring** | ||
602 | |||
603 | {{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"]] |