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