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