欢迎图片

1.8 Remote download

Last modified by Joe on 2024/11/23 09:06

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.

9-1.png

PLC Download

Through the V-NET Client, 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. There are two ports to accomplish, COM and Ethernet.

Note: When operating Pass-through, V-BOX and ig HMI should be connected to the network, and ensure normal communication with PLC.

COM 

The descriptions of the remote download page are as follows.

  1. Status. Display the statuses of the device, including ready to pass-through, pass-through is in progress.
  2. Edit. Users could add and save different pass-through parameters configurations.
  3. Name. Set the name of the saved record.
  4. Communication port. The communication ports of V-BOX and the device to pass-through
  5. 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.
  6. Connection ways include RS232, RS422, RS485, and Ethernet. 
  7. Baud rate. Select the baud rate corresponding to the configuration of the communication port on the device.
  8. Stop bit. Select the communication parameters corresponding to the communication port configuration of the device.
  9. parity. Select the communication parameters corresponding to the communication port configuration of the device.
  10. Update. Update or save the setting records.
  11. 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.
  12. Delete. To delete the saved settings.
  13. Stop. To stop pass-through.

Click the setting button 3.png of the V-NET Client to create the Pass-through configuration. 

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 "Start-thrrough".

串口穿透设置2.png

If the virtual serial port is set successfully, the system automatically updates the enabled virtual serial port.This COM port is the same virtual serial port as the device manager. as shown below. 

1712028598316.jpg

虚拟串口.png

Option to replace the virtual COM port in the software. 

虚拟串口修改.png

If the Pass-through succeeds, the current status changes to "running", and only the function button "End Through" is left indicating that the pass-through is successful.

  1. 串口穿透.png

Transport Settings

Here is the example of LX5V.

Open the PLC programming software of Wecon "Wecon PLC Editor2", click"Transfer setup"-"Serial connection" to select the virtual serial port, select "Communication test" and the communication with the device is successful. As shown below.

PLCEditor2串口穿透2.png

Ethernet

Here is the example of LX5V-N.

Create a new configuration → choose "Ethernet" for Port→ Set PLC IP and port number 

Note: IP Address must be PLC IP.

ZWk92Jfkat.png

After setting, click "Start Through"

smuCzGnTUO.png

Read from PLC → input 127.0.0.1 in IP address → Communication test → OK

HFy3ybYzPY.png

Note: PLC through can only support one port to communicate .  Using Monitor Edit and download will occupy two ports. Only one of them can be used.

PLC upload&download

End Through

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.

HMI download

Download configuration

Users could click here to download the software "PIStudio". If the account is logged in for the first time, users need to click the Settings button3.png  on the upper left 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.

V-NET_Client_HMI串口配置.png

HMI download

click the button  3.png,during the pass-through, the HMI should be online. When the status is ready, select the version of PI software to use and click "Start Penetration".

V-NET_Client_HMI穿透.png

Click "Start Through", 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. 

HMI 穿透下载.png