Wiki source code of 1.8 Remote download

Version 6.1 by Theodore Xu on 2024/04/02 11:43

Show last authors
1 The function of pass-through allows applications on the computer to remotely pass-through the device, download projects, etc., via the V-BOX or ig HMI.
2
3 (% style="text-align:center" %)
4 [[image:9-1.png||class="img-thumbnail"]]
5
6 = **PLC Download** =
7
8 Through the V-NET PC software, remotely pass-through the V-BOX or ig HMI (the PLC remote download procedure is the same)  to directly control the PLC devices, including upload, download, and monitor PLC programs.
9
10 == **COM Port** ==
11
12 Click the setting button [[image:穿透穿透图标.png||alt="3.png"]] of the V-NET Client to create the Pass-through configuration used for PLC downloads. Before use, please make sure that V-BOX communicates normally with PLC, and configure the same Pass-through according to the communication protocol.
13
14 (% style="text-align:center" %)
15 [[image:串口穿透设置2.png]]
16
17
18 This COM port is the same virtual serial port as the device manager. as shown below.
19
20 (% style="text-align:center" %)
21 [[image:虚拟串口.png]]
22
23 (% style="text-align:center" %)
24 [[image:虚拟串口修改.png]]
25
26 (% style="text-align:center" %)
27 [[image:1712028598316.jpg]]
28
29 == **Remote download configuration** ==
30
31 When operating pass-through, V-BOX and IG screen should be connected to the network, and ensure normal communication with PLC.
32
33 If the virtual serial port is set successfully, the system automatically updates the enabled virtual serial port. Fill in the device information, choose COM1 or COM2 as the communication port. When the information filled in is the same as the PLC, Click the button [[image:9.4.png]]
34
35 If the pass-through succeeds, the current status changes to **"running"**, and all the filling information becomes gray and could not be filled, and only the function button **"stop"** is left indicating that the pass-through is successful.
36
37 (% style="text-align:center" %)
38 [[image:9-4.png||height="475" width="505" class="img-thumbnail"]]
39
40 (% style="text-align:center" %)
41 [[image:9-4 2.png||height="583" width="504" class="img-thumbnail"]]
42
43 The descriptions of the remote download page are as follows.
44
45 1. **Status. **Display the statuses of the device, including ready to pass-through, pass-through is in progress.
46 1. **Edit. **Users could add and save different pass-through parameters configurations.
47 1. **Name. **Set the name of the saved record.
48 1. **Communication port. **The communication ports of V-BOX and the device to pass-through
49 1. **Virtual port. **The virtual serial port is generated by the PC. After successful penetration, the PLC software connects to the virtual serial port, and then the PLC could be monitored, uploaded/downloaded, etc.
50 1. **Connection ways **include RS232, RS422, RS485, and Ethernet.
51 1. **Baud rate. **Select the baud rate corresponding to the configuration of the communication port on the device.
52 1. **Stop bit. **Select the communication parameters corresponding to the communication port configuration of the device.
53 1. **parity. **Select the communication parameters corresponding to the communication port configuration of the device.
54 1. **Update. **Update or save the setting records.
55 1. **Start pass-through. **Click "Start pass-through" and the current state changes to "Stop". At this time, PLC software could be used for remote monitoring, uploading/downloading programs, and other operations.
56 1. **Delete. **To delete the saved settings.
57 1. **Stop. **To stop pass-through.
58
59 == **Transport Settings** ==
60
61 Here is the example of LX3VE. Click **[[here>>https://www.we-con.com.cn/en/service.html]]** to download the PLC programming software of Wecon "**Wecon PLC Editor".**
62
63 Open the PLC programming software of Wecon "**Wecon PLC Editor"**, click"Transfer setup"-"Serial connection" to select the virtual serial port set in **[[9.1.1 The COM port>>http://docs.we-con.com.cn/wiki/vbox/view/1.User%20Manual/01%20V-NET%20Web%20User%20Manual/09%20Remote%20download/#H9.1.1TheCOMport]],** select "Connection test" and the communication with the device is successful. As shown below.
64
65 (% style="text-align:center" %)
66 [[image:9-5.png||class="img-thumbnail"]]
67
68 == **PLC upload** ==
69
70 (1) Select "**Read from PLC**"-"**Parameter+program**", click "**Execute**" to upload the program of PLC to the PC. As shown below.
71
72 (% style="text-align:center" %)
73 [[image:9-6.png||class="img-thumbnail"]]
74
75 (2) During uploading PLC program, it would prompt **"Parameter/program already exists. Do you want to cover it?"**, select **"Yes"**. If upload successfully, it would prompt **"Read from PLC(Complete) ". **As shown below.
76
77 (% style="text-align:center" %)
78 [[image:9-7 3.png||class="img-thumbnail"]]
79
80 == **PLC download** ==
81
82 (1) Select **"Write to PLC"-"Parameter+program"**, click **"Execute" **to download the program to the PLC. As shown below.
83
84 (% style="text-align:center" %)
85 [[image:9-8.png||class="img-thumbnail"]]
86
87 (2) During downloading the program, it would prompt **"After stop remotely, continue to execute?"**, select **"Yes"**. If upload successfully, it would prompt **"Write to PLC(Complete) "**. As shown below.
88
89 (% style="text-align:center" %)
90 [[image:9-9.png||class="img-thumbnail"]]
91
92 == **Monitor mode** ==
93
94 Open the PLC software on PC, and open a PLC program or an uploaded program, select **"Monitor mode" **to monitor the status of the ladder diagram. As shown below.
95
96 (% style="text-align:center" %)
97 [[image:9-10.png||class="img-thumbnail"]]
98
99 == **Stop pass-through** ==
100
101 If the operation of PLC is complete, the connection between PC and PLC software should be terminated first, and the V-BOX would restart automatically. As shown below.
102
103 (% style="text-align:center" %)
104 [[image:9-4 2.png||class="img-thumbnail"]]
105
106 = **HMI download** =
107
108 == **Download configuration** ==
109
110 Users could click [[here>>https://www.we-con.com.cn/en/service.html]] to download the software **"PIStudio". **If the account is logged in for the first time, users need to click the Settings button [[image:3.png]] on the upper right corner of the software to configure the virtual serial port parameters. The COM port used during pass-through is a virtual serial port.  After setting successfully once, there is no need to repeat this step again.
111
112 (% style="text-align:center" %)
113 [[image:9-12.png||class="img-thumbnail"]]
114
115 == **HMI download** ==
116
117 During the pass-through, the HMI should be online. When the status is ready, and the download configuration is complete, click the button [[image:9-13 1.png]]
118
119 (% style="text-align:center" %)
120 [[image:9-13.png||class="img-thumbnail"]]
121
122 (% class="wikigeneratedid" %)
123 Click "OK", it would prompt a download tool box, select "PC to HMI", then select the ".wmt" file which has been compiled to download the program to the HMI. When the download is complete, the HMI would restart automatically.
124
125 (% style="text-align:center" %)
126 [[image:9-14.png||class="img-thumbnail"]]
127
128 == **Stop remote** ==
129
130 When the download is complete, the HMI would restart automatically. If users need to download again, click** "Restart" **or** "End remote". **As shown below.
131
132 (% style="text-align:center" %)
133 [[image:9-15.png||class="img-thumbnail"]]