Setup Teamviewer - VPN Connection To Program Remote PLC'S and Hmi-Panels
Setup Teamviewer - VPN Connection To Program Remote PLC'S and Hmi-Panels
CONNECTION TO PROGRAM
REMOTE PLC’S AND HMI-
PANELS
Description ........................................................................................................................................................ 1
Remote Computer Setup ................................................................................................................................... 2
Programming Computer Setup.......................................................................................................................... 3
PLC Setup ........................................................................................................................................................... 4
HMI-Panel Setup ................................................................................................................................................ 5
Connecting ......................................................................................................................................................... 6
OMRON FI
Description
TeamViewer is a software commonly used for taking remote control over other PC. It also supports a VPN
feature that allows connection to devices connected to the remote computer.
This document provides instructions to how to set up the VPN connection in a way that communication
with PLC’s and NA-panels will be possible. In practice this means that the programming computer which has
Sysmac Studio or CX-Programmer installed can be located anywhere, as long as it has an internet
connection. The programming computer connects to the remote computer via TeamViewer VPN. The
remote computer is connected to Omron hardware via EtherNet/IP and there is no need for it to have any
Omron software installed. The remote computer works as a router for the programming computer and so
enables the programming computer to have full featured connection to the Omron devices.
In order to work, the setup requires two computers. Omron programming software needs to be installed on
the programming computer and TeamViewer with VPN driver needs to be installed on both of the
computers. The setup made in this document works on both Sysmac Studio and CX-Programmer, thou the
instructions have been made with Sysmac Studio only.
Note that Omron doesn’t take any responsibility over the possible security risks followed by making
changes to the Windows registry and routing table.
Remote Computer Setup
Network Adapter 2: Set up a solid IP-address that is in the same address space with the Omron devices you
wish to connect to (PLC’s, HMI’s).
Connect this network adapter via EtherNet-cable to the device you wish to connect to (PLC, HMI, Switch).
Run regedt32.
Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Create a VPN connection from this computer to the remote computer. TeamViewer will open a window
with the information ”IP of Partner”. Copy this IP to the command bellow.
route add <Base IP of the remote computer/Omron devices> mask 255.255.255.0 <IP of Partner> metric 1
For example:
The command will open a routed connection to all devices in: 192.168.250.1 – 192.168.250.255
route print
Set the IP of the PLC into the same address space with the remote computers network adapter 2.
Upload the changes to the PLC. Notice that you need to remove the default setting ”Do not transfer the
EtherNet/IP connection settings” in order to make changes to the TCP/IP settings.
HMI-Panel Setup
Set the IP of the HMI-panel into the same address space with the remote computers network adapter 2.
Notice that the Communication Setup ”Test” doesn’t work when connecting to a NA-panel, even though the
communication will work.
Note that Omron doesn’t take any responsibility over the possible security risks followed by making
changes to the Windows registry and routing table.