Wiki source code of Mitsubishi
Version 34.1 by Theodore Xu on 2023/08/26 09:40
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.1 | 1 | = {{id name="HMitsubishi"/}}**Mitsubishi ** = |
2 | |||
3 | == {{id name="HFX1SFF0C1NFF0C2NSerial"/}}**FX1S,1N,2N Serial ** == | ||
4 | |||
5 | Supported Series: Mitsubishi FX1S, FX1N, FX2N series | ||
6 | |||
7 | **1)V-BOX 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 | **2)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 | **3)Configure the communication protocol** | ||
38 | |||
39 | {{id name="Iimage-20220825102844-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_dc262f14b14cf564.png||alt="image-20220825102844-3.png" height="1011" width="1920"]] | ||
40 | |||
41 | **4)Cable Wiring** | ||
42 | |||
43 | * **RS422** | ||
44 | |||
45 | {{id name="Iimage-20220825103350-4.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_9294a40c62eb99be.png||alt="image-20220825103350-4.png" height="284" width="723"]] | ||
46 | |||
47 | {{id name="Iimage-20220825100845-4.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_860bcf87f6ca7b98.png||alt="image-20220825100845-4.png" height="246" width="419"]] | ||
48 | |||
49 | == {{id name="HFX3UFF0C3GFF0C3GASerial"/}}**FX3U,3G,3GA Serial ** == | ||
50 | |||
51 | Supported Series: Mitsubishi FX3U, FX3G, FX3GA series | ||
52 | |||
53 | **1)V-BOX Settings** | ||
54 | |||
55 | |**Item**|**Settings**|**Note** | ||
56 | |Protocol|Mitsubishi FX3U/3G/3GA| | ||
57 | |Connection|RS422/RS485/RS232| | ||
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 | **2)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 | **3)Configure the communication protocol** | ||
84 | |||
85 | {{id name="Iimage-20220825102649-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_4d2a4921240d23c6.png||alt="image-20220825102649-2.png" height="1009" width="1920"]] | ||
86 | |||
87 | **4)Cable Wiring** | ||
88 | |||
89 | * **RS422** | ||
90 | |||
91 | {{id name="Iimage-20220825103421-5.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_1e904556bb758dfe.png||alt="image-20220825103421-5.png" height="296" width="715"]] | ||
92 | |||
93 | {{id name="Iimage-20220825100845-4.png-1"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_860bcf87f6ca7b98.png||alt="image-20220825100845-4.png" height="246" width="419"]] | ||
94 | |||
95 | == {{id name="HFX3UEthernet"/}}**FX3U Ethernet ** == | ||
96 | |||
97 | Supported Modules: FX3U-ENET-ADP, FX3U-ENET-L | ||
98 | |||
99 | **1)V-BOX Settings** | ||
100 | |||
101 | |Items|Settings|Note | ||
102 | |Protocol|Mitsubishi FX3U| | ||
103 | |Connection|Ethernet| | ||
104 | |Port No.|5009|Must be the same as the PLC setting | ||
105 | |PLC station No.|0| | ||
106 | |||
107 | **2)Address List** | ||
108 | |||
109 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
110 | |(% rowspan="7" %)Bit|X|X|X OOO|0~~377| | ||
111 | |Y|Y|Y OOO|0~~377| | ||
112 | |M|M|M DDDD|0~~7679| | ||
113 | |SM|SM|SM DDDD|8000~~8511| | ||
114 | |S|S|S DDDD|0~~4095| | ||
115 | |TS|TS|TS DDD|0~~511| | ||
116 | |CS|CS|CS DDD|0~~255| | ||
117 | |(% rowspan="5" %)Word|CN|CN|CN DDD|0~~199| | ||
118 | |TN|TN|TN DDD|0~~511| | ||
119 | |D|D|D DDDD|0~~7999| | ||
120 | |SD|SD|SD DDDD|8000~~8511| | ||
121 | |R|R|R DDDDD|0~~32767| | ||
122 | |||
123 | **3)Ethernet Module Settings** | ||
124 | |||
125 | FX3U-ENET-L module configuration | ||
126 | Set up the FX3U-ENET-L Ethernet module settings as follows. | ||
127 | Select the module location, which in this document is Module 0. | ||
128 | |||
129 | {{id name="Iimage-20221116105850-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_949d5d77c1d9cf1e.png||alt="image-20221116105850-1.png" height="573" width="706"]] | ||
130 | |||
131 | Select "Operational setting" to enter the following screen. | ||
132 | |||
133 | The Ethernet module IP is set to 192.168.39.254 in this document, and other options are default. | ||
134 | |||
135 | {{id name="Iimage-20221116105947-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_dfbfdd586c855c47.png||alt="image-20221116105947-1.png" height="573" width="706"]] | ||
136 | |||
137 | Select "Open setting" to enter the setting interface, the settings are as follows. | ||
138 | |||
139 | The third item "Protocol" selects TCP, and "Open system" selects MELSOFT connection, which allows the | ||
140 | |||
141 | Mitsubishi programming software GX works2 to communicate with the FX3U via the Ethernet module. | ||
142 | |||
143 | {{id name="Iimage-20221116110802-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_7c01ac15090fcc5b.png||alt="image-20221116110802-1.png" height="549" width="706"]] | ||
144 | |||
145 | Click on "transter setup" - "PC side I/F setting", see the following figure. | ||
146 | |||
147 | After setting, the first download must use the programming cable, as shown in the figure; after that, can | ||
148 | |||
149 | use the IP set in the "Ethernet board" to communicate directly with the network cable. | ||
150 | |||
151 | {{id name="Iimage-20221116110832-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d6fd9ce3b96f99e2.png||alt="image-20221116110832-2.png" height="423" width="708"]] | ||
152 | |||
153 | Read and write data from the Ethernet module | ||
154 | |||
155 | {{id name="Iimage-20221116110907-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_690b3e57b29cfd4b.png||alt="image-20221116110907-3.png" height="549" width="706"]] | ||
156 | |||
157 | Set "Transter setup" to COM communication, and read or write operation as shown below | ||
158 | |||
159 | {{id name="Iimage-20221116110917-4.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_b317253742f7151.png||alt="image-20221116110917-4.png" height="549" width="706"]] | ||
160 | |||
161 | **4)PLC Settings (GX Works 2)** | ||
162 | |||
163 | Create a blank FX5U project | ||
164 | |||
165 | Find Current Connection in the navigation | ||
166 | |||
167 | {{id name="Iimage-20221116111427-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d2a46ba9c005cf38.png||alt="image-20221116111427-1.png" height="421" width="705"]] | ||
168 | |||
169 | Select Connection Channel List | ||
170 | |||
171 | Select Ethernet board communication | ||
172 | |||
173 | {{id name="Iimage-20221116111451-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_8f49721a3e5b0ef9.png||alt="image-20221116111451-2.png" height="421" width="705"]] | ||
174 | |||
175 | Select Ethernet Module | ||
176 | Set the IP address of the PLC | ||
177 | |||
178 | {{id name="Iimage-20221116111509-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_1e9a9e29a46a1041.png||alt="image-20221116111509-3.png" height="666" width="699"]] | ||
179 | |||
180 | Read or write PLC data, in this document is read | ||
181 | |||
182 | {{id name="Iimage-20221116111651-4.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_e3d629103727a423.png||alt="image-20221116111651-4.png" height="416" width="697"]] | ||
183 | |||
184 | {{id name="Iimage-20221116111727-5.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_7f29923ebcb670d1.png||alt="image-20221116111727-5.png" height="416" width="697"]] | ||
185 | |||
186 | **4)Configure the communication protocol** | ||
187 | |||
188 | {{id name="Iimage-20221119101946-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_b2cdc33b6eb92b67.png||alt="image-20221119101946-2.png" height="395" width="695"]] | ||
189 | |||
190 | == {{id name="HFX5USerial"/}}**FX5U Serial ** == | ||
191 | |||
192 | Mitsubishi FX5U series PLC | ||
193 | |||
194 | **1)V-BOX Settings** | ||
195 | |||
196 | |**Item**|**Settings**|**Note** | ||
197 | |Protocol|Mitsubishi FX5U| | ||
198 | |Connection|RS422/RS485| | ||
199 | |Baud rate|9600| | ||
200 | |Data bit|7| | ||
201 | |Parity|Odd| | ||
202 | |Stop bit|1| | ||
203 | |PLC station No.|1~~255|Need to be the same as PLC settings | ||
204 | |||
205 | **2)Address List** | ||
206 | |||
207 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
208 | |(% rowspan="15" %)Bit|X|X|X o|0~~303237| | ||
209 | |Y|Y|Y o|0~~303237| | ||
210 | |M|M|M d|0~~99999| | ||
211 | |B|B|B h|0~~7FFF| | ||
212 | |F|F|F d|0~~32767| | ||
213 | |SB|SB|SB h|0~~7FFF| | ||
214 | |TS|TS|TS d|0~~1023| | ||
215 | |TC|TC|TC d|0~~1023| | ||
216 | |STS|STS|STS d|0~~1023| | ||
217 | |STC|STC|STS d|0~~1023| | ||
218 | |CS|CS|CS d|0~~1023| | ||
219 | |CC|CC|CC d|0~~1023| | ||
220 | |SM|SM|SM d|0~~9999| | ||
221 | |L|L|L d|0~~32767| | ||
222 | |S|S|S d|0~~4095| | ||
223 | |(% rowspan="9" %)Word|W|W|W h|0~~3FF| | ||
224 | |TN|TN|TN d|0~~1023| | ||
225 | |STN|STN|STN d|0~~1023| | ||
226 | |CN|CN|CN d|0~~1023| | ||
227 | |R|R|R d|0~~32767| | ||
228 | |SW|SW|SW h|0~~7FFF| | ||
229 | |Z|Z|Z d|0~~23| | ||
230 | |D|D|D d|0~~7999| | ||
231 | |SD|SD|SD d|0~~11999| | ||
232 | |||
233 | **3)PLC Settings (GX Works 3)** | ||
234 | |||
235 | Create a blank FX5U project | ||
236 | |||
237 | Find the 485 serial port module in the system navigation bar and double click to enter the settings. | ||
238 | |||
239 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_5c9cb13fac1e6c93.png3Fwidth3D20026height3D46226rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_5c9cb13fac1e6c93.png?width=200&height=462&rev=1.1||alt="12.PLC Protocol_html_5c9cb13fac1e6c93.png" height="462" width="200"]] | ||
240 | |||
241 | Select protocol in the setting item, and set parameters. | ||
242 | |||
243 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_de942589ca070228.png3Fwidth3D60026height3D32426rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_de942589ca070228.png?width=600&height=324&rev=1.1||alt="12.PLC Protocol_html_de942589ca070228.png" height="324" width="600"]] | ||
244 | |||
245 | Set station number, and [Message Pattern] (Pattern 1 or Pattern 4) | ||
246 | |||
247 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_387ec7d00b5feb59.png3Fwidth3D60026height3D32326rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_387ec7d00b5feb59.png?width=600&height=323&rev=1.1||alt="12.PLC Protocol_html_387ec7d00b5feb59.png" height="323" width="600"]] | ||
248 | |||
249 | Click the [Apply] button to finish the setting. | ||
250 | |||
251 | Click download and select the items as below, then click [execute] to download the configuration to PLC. | ||
252 | |||
253 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_cdef1c5ec8cc2105.png3Fwidth3D60026height3D43426rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_cdef1c5ec8cc2105.png?width=600&height=434&rev=1.1||alt="12.PLC Protocol_html_cdef1c5ec8cc2105.png" height="434" width="600"]] | ||
254 | |||
255 | As soon as download is completed, connect PLC with serial port, then configure it in the [Specify Connection Destination Connection]. | ||
256 | |||
257 | Done. | ||
258 | |||
259 | **4)Configure the communication protocol** | ||
260 | |||
261 | {{id name="Iimage-20220825104904-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_dbaddd53e9951a17.png||alt="image-20220825104904-1.png" height="1033" width="1920"]] | ||
262 | |||
263 | **5)Cable Wiring** | ||
264 | |||
265 | * **RS422** | ||
266 | |||
267 | {{id name="Iimage-20220825105105-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d022c5ff4cf8c68e.png||alt="image-20220825105105-2.png" height="288" width="711"]] | ||
268 | |||
269 | {{id name="Iimage-20220825105533-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_50e173394c73f154.png||alt="image-20220825105533-3.png" height="246" width="420"]] | ||
270 | |||
![]() |
33.1 | 271 | == **FX5U Ethernet ** == |
![]() |
2.1 | 272 | |
273 | Mitsubishi FX5U series PLC | ||
274 | |||
275 | **1)V-BOX Settings** | ||
276 | |||
277 | |**Items**|**Settings**|**Note** | ||
278 | |Protocol|Mitsubishi FX5U| | ||
279 | |Connection|Ethernet| | ||
280 | |Port No.|5002|Must be the same as the PLC setting | ||
281 | |PLC station No.|0| | ||
282 | |||
283 | **2)Address List** | ||
284 | |||
285 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
286 | |(% rowspan="15" %)Bit|X|X|X o|0~~303237| | ||
287 | |Y|Y|Y o|0~~303237| | ||
288 | |M|M|M d|0~~99999| | ||
289 | |B|B|B h|0~~7FFF| | ||
290 | |F|F|F d|0~~32767| | ||
291 | |SB|SB|SB h|0~~7FFF| | ||
292 | |TS|TS|TS d|0~~1023| | ||
293 | |TC|TC|TC d|0~~1023| | ||
294 | |STS|STS|STS d|0~~1023| | ||
295 | |STC|STC|STS d|0~~1023| | ||
296 | |CS|CS|CS d|0~~1023| | ||
297 | |CC|CC|CC d|0~~1023| | ||
298 | |SM|SM|SM d|0~~9999| | ||
299 | |L|L|L d|0~~32767| | ||
300 | |S|S|S d|0~~4095| | ||
301 | |(% rowspan="9" %)Word|W|W|W h|0~~3FF| | ||
302 | |TN|TN|TN d|0~~1023| | ||
303 | |STN|STN|STN d|0~~1023| | ||
304 | |CN|CN|CN d|0~~1023| | ||
305 | |R|R|R d|0~~32767| | ||
306 | |SW|SW|SW h|0~~7FFF| | ||
307 | |Z|Z|Z d|0~~23| | ||
308 | |D|D|D d|0~~7999| | ||
309 | |SD|SD|SD d|0~~11999| | ||
310 | |||
311 | **3)PLC Settings (GX Works 3)** | ||
312 | |||
313 | Find the [Ethernet port] in the navigation area. | ||
314 | |||
315 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_8e8f85ace087346c.png3Fwidth3D30026height3D59326rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_8e8f85ace087346c.png?width=300&height=593&rev=1.1||alt="12.PLC Protocol_html_8e8f85ace087346c.png" height="593" width="300"]] | ||
316 | |||
317 | Select [Own Node Settings] in the [Setting Item List]; | ||
318 | |||
319 | Set [IP Address], [Subnet Mask], [Default Gateway]; | ||
320 | |||
321 | Click [Detailed Settings] into [Ethernet Configuration (Built-in Ethernet Port)] windows; | ||
322 | |||
323 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_5d98495052c8c10e.png3Fwidth3D60026height3D33926rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_5d98495052c8c10e.png?width=600&height=339&rev=1.1||alt="12.PLC Protocol_html_5d98495052c8c10e.png" height="339" width="600"]] | ||
324 | |||
325 | Select [SLMP Connection Module] and add into host station as below picture shows; | ||
326 | |||
327 | Set Port number as 5002 (this is necessary settings); | ||
328 | |||
329 | Click [Close with Reflecting the Setting] to save and close window; | ||
330 | |||
331 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_14b489fdc6c6589d.png3Fwidth3D60026height3D35026rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_14b489fdc6c6589d.png?width=600&height=350&rev=1.1||alt="12.PLC Protocol_html_14b489fdc6c6589d.png" height="350" width="600"]] | ||
332 | |||
333 | Click [Apply] to completed Etherenet settings; | ||
334 | |||
335 | Switch to the [On line data operation] interface as below, check the item and click [Execute] to download. | ||
336 | |||
337 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_c93025a968a8a9e7.png3Fwidth3D60026height3D43426rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_c93025a968a8a9e7.png?width=600&height=434&rev=1.1||alt="12.PLC Protocol_html_c93025a968a8a9e7.png" height="434" width="600"]] | ||
338 | |||
339 | **4)Configure the communication protocol** | ||
340 | |||
341 | {{id name="Iimage-20220825112403-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_caa9bf4d8cc6de0f.png||alt="图片-20220825112403-1.png" height="1033" width="1920"]] | ||
342 | |||
343 | **5)Cable Wiring** | ||
344 | |||
![]() |
33.1 | 345 | [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]] |
![]() |
2.1 | 346 | |
347 | == {{id name="HL02Serial"/}}**L02 Serial ** == | ||
348 | |||
349 | Mitsubishi L02 series CPU built-in serial port. | ||
350 | |||
351 | **1)V-BOX Settings** | ||
352 | |||
353 | |**Item**|**Settings**|**Note** | ||
354 | |Protocol|Mitsubishi L02| | ||
355 | |Connection|RS422| | ||
356 | |Baud rate|115200| | ||
357 | |Data bit|8| | ||
358 | |Parity|Odd| | ||
359 | |Stop bit|1| | ||
360 | |PLC station No.|1~~255|Need to be the same as PLC settings | ||
361 | |||
362 | **2)Address List** | ||
363 | |||
364 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
365 | |Bit|X|X|X h|0~~FFFF| | ||
366 | |Bit|Y|Y|Y h|0~~FFFF| | ||
367 | |Bit|M|M|M d|0~~9999| | ||
368 | |Bit|L|L|L d|0~~9999| | ||
369 | |Bit|F|F|F d|0~~9999| | ||
370 | |Bit|B|B|B h|0~~FFFF| | ||
371 | |Bit|V|V|V d|0~~2047| | ||
372 | |Bit|TC|TC|TC d|0~~9999| | ||
373 | |Bit|SS|SS|SS d|0~~9999| | ||
374 | |Bit|SC|SC|SC d|0~~9999| | ||
375 | |Bit|CS|CS|CS d|0~~9999| | ||
376 | |Bit|CC|CC|CC d|0~~9999| | ||
377 | |Bit|SB|SB|SB h|0~~FFFF| | ||
378 | |Bit|SM|SM|SM d|0~~2047| | ||
379 | |Bit|STS|STS|STS d|0~~1023| | ||
380 | |Bit|S|S|S d|0~~9999| | ||
381 | |Bit|DX|DX|DX h|0~~FFFF| | ||
382 | |Bit|DY|DY|DY h|0~~FFFF| | ||
383 | |Bit|TS|TS|TS d|0~~9999| | ||
384 | |Bit|Dbit|Dbit|Dbit d.d|0~~99999.0~~15| | ||
385 | |Word|W|W|W h|0~~FFFF| | ||
386 | |Word|TN|TN|TN d|0~~99999| | ||
387 | |Word|SN|SN|SN d|0~~99999| | ||
388 | |Word|CN|CN|CN d|0~~99999| | ||
389 | |Word|R|R|R d|0~~99999| | ||
390 | |Word|SW|SW|SW h|0~~FFFF| | ||
391 | |Word|Z|Z|Z d|0~~99999| | ||
392 | |Word|ZR|ZR|ZR h|0~~FFFF| | ||
393 | |Word|D|D|D d|0~~99999| | ||
394 | |||
395 | **3)Communication Settings** | ||
396 | |||
397 | {{id name="Iimage-20220825160648-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_cfed67f2ecb4ccec.png||alt="image-20220825160648-3.png" height="1009" width="1920"]] | ||
398 | |||
399 | **4)Cable Wiring** | ||
400 | |||
401 | * **RS422** | ||
402 | |||
403 | {{id name="Iimage-20220825161612-8.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_90e38f152d639809.png||alt="image-20220825161612-8.png" height="278" width="612"]] | ||
404 | |||
405 | {{id name="Iimage-20220825160820-4.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d301e675d8224725.png||alt="image-20220825160820-4.png" height="208" width="359"]] | ||
406 | |||
407 | == {{id name="HL02Ethernet"/}}**L02 Ethernet ** == | ||
408 | |||
409 | Mitsubishi L series CPU built-in Ethernet port. | ||
410 | |||
411 | **1)V-BOX Settings** | ||
412 | |||
413 | |**Items**|**Settings**|**Note** | ||
414 | |Protocol|MIT L02 CPU MELSEC| | ||
415 | |Connection|Ethernet| | ||
416 | |Port No.|1025|Must be the same as the PLC setting | ||
417 | |PLC station No.|0|Must be the same as the PLC setting | ||
418 | |||
419 | **2)Address List** | ||
420 | |||
421 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
422 | |Bit|X|X|X h|0~~FFFF| | ||
423 | |Bit|Y|Y|Y h|0~~FFFF| | ||
424 | |Bit|M|M|M d|0~~9999| | ||
425 | |Bit|L|L|L d|0~~9999| | ||
426 | |Bit|F|F|F d|0~~9999| | ||
427 | |Bit|B|B|B h|0~~FFFF| | ||
428 | |Bit|V|V|V d|0~~2047| | ||
429 | |Bit|TC|TC|TC d|0~~9999| | ||
430 | |Bit|SS|SS|SS d|0~~9999| | ||
431 | |Bit|SC|SC|SC d|0~~9999| | ||
432 | |Bit|CS|CS|CS d|0~~9999| | ||
433 | |Bit|CC|CC|CC d|0~~9999| | ||
434 | |Bit|SB|SB|SB h|0~~FFFF| | ||
435 | |Bit|SM|SM|SM d|0~~2047| | ||
436 | |Bit|STS|STS|STS d|0~~1023| | ||
437 | |Bit|S|S|S d|0~~9999| | ||
438 | |Bit|DX|DX|DX h|0~~FFFF| | ||
439 | |Bit|DY|DY|DY h|0~~FFFF| | ||
440 | |Bit|TS|TS|TS d|0~~9999| | ||
441 | |Bit|Dbit|Dbit|Dbit d.d|0~~99999.0~~15| | ||
442 | |Word|W|W|W h|0~~FFFF| | ||
443 | |Word|TN|TN|TN d|0~~99999| | ||
444 | |Word|SN|SN|SN d|0~~99999| | ||
445 | |Word|CN|CN|CN d|0~~99999| | ||
446 | |Word|R|R|R d|0~~99999| | ||
447 | |Word|SW|SW|SW h|0~~FFFF| | ||
448 | |Word|Z|Z|Z d|0~~99999| | ||
449 | |Word|ZR|ZR|ZR h|0~~FFFF| | ||
450 | |Word|D|D|D d|0~~99999| | ||
451 | |||
452 | **3)PLC Settings (GX Works2 )** | ||
453 | |||
454 | Create a project | ||
455 | |||
456 | Set PLC IP, subnet mask and gateway; | ||
457 | |||
458 | Select [Binary Code] as communication data code; | ||
459 | |||
460 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_776e17505f3fc6c0.png3Fwidth3D60026height3D52426rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_776e17505f3fc6c0.png?width=600&height=524&rev=1.1||alt="12.PLC Protocol_html_776e17505f3fc6c0.png" height="524" width="600"]] | ||
461 | |||
462 | Set PLC port number, for example 1025 | ||
463 | |||
464 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_8d0d1a22d388f70b.png3Fwidth3D60026height3D52426rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_8d0d1a22d388f70b.png?width=600&height=524&rev=1.1||alt="12.PLC Protocol_html_8d0d1a22d388f70b.png" height="524" width="600"]] | ||
465 | |||
466 | Save settings; | ||
467 | |||
468 | Download project into PLC device; | ||
469 | |||
470 | Restart PLC device; | ||
471 | |||
472 | **4)Configure the communication protocol** | ||
473 | |||
474 | {{id name="Iimage-20220825142659-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_fafc9b29e20178c0.png||alt="image-20220825142659-1.png" height="1010" width="1920"]] | ||
475 | |||
476 | **5)Cable Wiring** | ||
477 | |||
478 | {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_2297240b57346b2a.png3Fwidth3D40126height3D17026rev3D1.1-1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]] | ||
479 | |||
480 | == {{id name="HQ12HSerial"/}}**Q12H Serial ** == | ||
481 | |||
482 | This Demo shows V-BOX communicate with Q12H PLC by Q02H serial Protocol | ||
483 | |||
484 | **[[Download link>>url:https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Communication/V-Box%20connect%20PLC%20Q12H.rar]]** | ||
485 | |||
![]() |
32.1 | 486 | == **QJ71E71 Ethernet ** == |
![]() |
2.1 | 487 | |
488 | Mitsubishi QJ71E71 Ethernet communication module; | ||
489 | |||
490 | **1)V-BOX Settings** | ||
491 | |||
492 | |**Items**|**Settings**|**Note** | ||
493 | |Protocol|MIT QJ71E71 MELSEC| | ||
494 | |Connection|Ethernet| | ||
495 | |Port No.|1025|Must be the same as the PLC setting | ||
496 | |PLC station No.|0|Must be the same as the PLC setting | ||
497 | |||
498 | **2)Address List** | ||
499 | |||
500 | |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** | ||
501 | |(% rowspan="18" %)Bit|X|X|X h|0~~1FFF| | ||
502 | |Y|Y|Y h|0~~1FFF| | ||
503 | |M|M|M d|0~~99999| | ||
504 | |L|L|L d|0~~8191| | ||
505 | |F|F|F d|0~~2047| | ||
506 | |B|B|B h|0~~1FFF| | ||
507 | |V|V|V d|0~~2047| | ||
508 | |TS|TS|TS d|0~~2047| | ||
509 | |TC|TC|TC d|0~~2047| | ||
510 | |SS|SS|SS d|0~~2047| | ||
511 | |SC|SC|SC d|0~~2047| | ||
512 | |CS|CS|CS d|0~~1023| | ||
513 | |CC|CC|CC d|0~~1023| | ||
514 | |SB|SB|SB h|0~~7FF| | ||
515 | |S|S|S d|0~~8191| | ||
516 | |DX|DX|DX h|0~~1FFF| | ||
517 | |DY|DY|DY h|0~~1FFF| | ||
518 | |SM|SM|SM d|8000~~9999| | ||
519 | |(% rowspan="10" %)Word|SD|SD|SD d|0~~2047| | ||
520 | |D|D|D d|0~~12287| | ||
521 | |W|W|W h|0~~1FFF| | ||
522 | |TN|TN|TN d|0~~2047| | ||
523 | |SN|SN|SN d|0~~2047| | ||
524 | |CN|CN|CN d|0~~1023| | ||
525 | |R|R|R d|0~~32767| | ||
526 | |SW|SW|SW h|0~~7FF| | ||
527 | |Z|Z|Z d|0~~15| | ||
528 | |ZR|ZR|ZR h|0~~FE7FF| | ||
529 | |||
530 | **3)PLC Settings(GX Works2)** | ||
531 | |||
532 | * Click [Ethernet/CC IE/MELSECNET]; | ||
533 | * Please select [Ethernet] as network type; | ||
534 | * Set station I/O number according to situation (For example, 0020 means that the module is connected to PLC CPU in first order); | ||
535 | * Select [Online] as Mode; | ||
536 | * {{id name="Iimage-20221119171343-2.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d54f23688c520f78.png||alt="image-20221119171343-2.png" height="341" width="587"]] | ||
537 | * Click [Operation setting] to set IP; | ||
538 | * Select [Binary Code] as [Communication Data Code]; | ||
539 | * {{id name="Iimage-20221119171436-3.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_ce8e6a671b9508e0.png||alt="image-20221119171436-3.png" height="354" width="588"]] | ||
540 | * Click [Open setting] | ||
541 | * Set protocol: TCP; | ||
542 | * Set [unpassive] in [Open system]; | ||
543 | * Set [receive] in [Fixed buffer]; | ||
544 | * Set [procedure Exist] in [Fixed buffer communication]; | ||
545 | * Disable [Pairing open]; | ||
546 | * Set [No confirm] in [Existence confirmation]; | ||
547 | * Host station port number: 5009; | ||
548 | * Save settings; | ||
549 | * {{id name="Iimage-20221119171611-4.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_1d8e2f4fb7c72471.png||alt="image-20221119171611-4.png" height="354" width="588"]] | ||
550 | * Download project into PLC and restart it | ||
551 | |||
552 | **4)Configure the communication protocol** | ||
553 | |||
554 | {{id name="Iimage-20221119171832-5.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_50990385ef491b9e.png||alt="image-20221119171832-5.png" height="354" width="625"]] | ||
555 | |||
556 | **5)Cable Wiring** | ||
557 | |||
![]() |
34.1 | 558 | [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]] |