remote_service_access
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
remote_service_access [2018/12/10 09:32] – [Adding a VPN connection in service PC's OS] emozolyak | remote_service_access [2022/07/14 13:05] – [Establishing communication with remote devices behind the gateway via a virtual COM port] emozolyak | ||
---|---|---|---|
Line 7: | Line 7: | ||
In case the equipment uses a serial port instead of Ethernet, it is enough to install the virtual COM port driver on the computer and use the built-in WebHMI function Virtual COM port. The user can either setup his own VPN network or use the network provided by the Level2 system (recommended). | In case the equipment uses a serial port instead of Ethernet, it is enough to install the virtual COM port driver on the computer and use the built-in WebHMI function Virtual COM port. The user can either setup his own VPN network or use the network provided by the Level2 system (recommended). | ||
- | {{ :: | + | {{ network: |
+ | |||
+ | ===== Connection example ===== | ||
The steps required to implement remote service access are: | The steps required to implement remote service access are: | ||
Line 20: | Line 22: | ||
First you need to create an account (node) for service PC in Level2 system: | First you need to create an account (node) for service PC in Level2 system: | ||
+ | {{network: | ||
- | {{add_and_check_remote_pc.gif}} | + | {{network:add_and_check_remote_pc.gif}} |
and make (and then check) its settings: | and make (and then check) its settings: | ||
Line 33: | Line 36: | ||
In Windows 10, press **Win** key and type ' | In Windows 10, press **Win** key and type ' | ||
- | {{ :: | + | {{ network: |
Press 'Add a VPN connection': | Press 'Add a VPN connection': | ||
- | {{ :: | + | {{ network: |
Edit its settings according to Level2 settings: | Edit its settings according to Level2 settings: | ||
- | {{:: | + | {{network: |
And check adapter properties: | And check adapter properties: | ||
- | {{ :: | + | {{ network: |
- | {{ :: | + | {{ network: |
After checking adapter settings try to connect and then check the connection status: | After checking adapter settings try to connect and then check the connection status: | ||
- | {{ :: | + | {{ network: |
- | {{ :: | + | {{ network: |
After connecting the PC to the VPN, " | After connecting the PC to the VPN, " | ||
- | {{ :: | + | {{ network: |
You can check its IP in the node's (//System with S7-1200 PLC//) Information tab: | You can check its IP in the node's (//System with S7-1200 PLC//) Information tab: | ||
- | {{check_routing_target_ip.gif}} | + | {{network:check_routing_target_ip.gif}} |
===== Establishing communication with remote devices behind the gateway via TCP / IP ===== | ===== Establishing communication with remote devices behind the gateway via TCP / IP ===== | ||
Line 66: | Line 69: | ||
The application structure is given below: | The application structure is given below: | ||
- | {{:: | + | {{network:remote_access_function_tcp_eng.png? |
- | You must enable the Virtual IP address function for the specified WebHMI node. Go the Setup / Level2 menu and switch Virtual IPs lever on: | + | You must **enable the Virtual IP address function** for the specified WebHMI node. Go the __WebHMI' |
-input the remote PLC's IP address it was assigned in that local network (192.168.0.210) | -input the remote PLC's IP address it was assigned in that local network (192.168.0.210) | ||
-save the changes, after that a new VPN IP address for the PLC will be created (10.0.0.206). | -save the changes, after that a new VPN IP address for the PLC will be created (10.0.0.206). | ||
- | {{:: | + | {{network: |
Now when you want to access the remote PLC (in the example we use Siemens S7-1200 PLC), connect your PC to VPN and you should be able to connect your PLCs via these Virtual IPs. | Now when you want to access the remote PLC (in the example we use Siemens S7-1200 PLC), connect your PC to VPN and you should be able to connect your PLCs via these Virtual IPs. | ||
- | Here is example how to connect to PLC S7 1200 from TIA Portal. | + | Here is example how to connect to PLC S7 1200 from TIA Portal. |
- | Connect your PC to VPN and set the your Virtual IP in the PLC's Ethernet properties: | + | Connect your PC to VPN and __type in your Virtual IP in the advanced download/ |
- | {{:: | + | {{network:connection_via_subnet.png? |
- | Warning! Don't write this IP address in the HW config of the PLC, you may lose access to it. Only temporarily | + | Before |
- | change IP for establishing remote session. | + | |
+ | {{network: | ||
===== Establishing communication with remote devices behind the gateway via a virtual COM port ===== | ===== Establishing communication with remote devices behind the gateway via a virtual COM port ===== | ||
Line 93: | Line 96: | ||
The application structure is given below: | The application structure is given below: | ||
- | {{:: | + | {{network: |
Suppose you have some PLC connected to the WebHMI RS-485 port. Go to the connection properties and switch its mode to //Virtual UART//. Remember the TCP port that was assigned to the connection (8001) and VPN IP address of this WebHMI (10.0.0.204). | Suppose you have some PLC connected to the WebHMI RS-485 port. Go to the connection properties and switch its mode to //Virtual UART//. Remember the TCP port that was assigned to the connection (8001) and VPN IP address of this WebHMI (10.0.0.204). | ||
- | {{turn_on_virtual_uart.gif}} | + | {{network:turn_on_virtual_uart.gif}} |
Download and setup the driver [[http:// | Download and setup the driver [[http:// | ||
Line 103: | Line 106: | ||
Setup new virtual COM port in your system with the TruePort Management Tool: | Setup new virtual COM port in your system with the TruePort Management Tool: | ||
- | {{perle_mngmt_software.png |}} | + | {{network:perle_mngmt_software.png |}} |
- | {{configuring_virtual_uart.gif}} | + | {{network:configuring_virtual_uart.gif}} |
Check this virtual port settings in the Device Manager: | Check this virtual port settings in the Device Manager: | ||
- | {{ :: | + | {{ network: |
Connect your PC to the VPN, and use " | Connect your PC to the VPN, and use " | ||
- | {{ :: | + | {{ network: |
+ | |||
+ | ===== Troubleshooting VPN connection for PC with Windows 10 ===== | ||
+ | |||
+ | Sometimes VPN connection problems were reported from Windows 8/10 users. These problems | ||
+ | * Firewall settings | ||
+ | * Image file | ||
+ | * IP dns | ||
+ | * Keys for registry | ||
+ | {{ : | ||
remote_service_access.txt · Last modified: 2022/07/14 13:24 by emozolyak