You are on page 1of 13

TEAMVIEWER REMOTE PLC ACCESS

THROUGH TEAMVIEWER VPN

This document is Copyright © 2009-2014 by Inductotherm® Corp. This


document and any referenced or appended documents prepared by
Inductotherm® Corp. are the copyrighted property of Inductotherm® Corp.
These documents are prepared and distributed by Inductotherm® Corp. solely
for the use of the intended parties. The contents of these documents include
proprietary trade secrets, patent rights and/or other property rights of
Inductotherm® Corp. Disclosure of any content of these documents to any party
beyond those for whom it was intended must be approved in writing by
Inductotherm® Corp. prior to disclosure in any form.

CM-*****
TeamViewer Remote PLC Access

This page intentionally left blank.

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
2
TeamViewer Remote PLC Access

All information contained in this manual is the latest product information available at the time of
printing. The right is reserved to make changes at any time without notice. Inductotherm® Corp.
makes no warranty of any kind with regard to this material and assumes no responsibility for any
errors that may occur in this manual.

April 2014

Revised:

Trademark Information:

VISIPOUR®, P3®, INDUCTO®, INDUCTO-POUR™, INDUCTOTHERM®, and the


INDUCTOTHERM design are trademarks of Inductotherm Corp. or other Inductotherm Group
companies in the United States and other countries.

All other marks are the property of their respective owners.

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
3
TeamViewer Remote PLC Access

About This Manual


This procedure describes the steps needed to

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
4
TeamViewer Remote PLC Access

Table of Contents

Section 1: Install and Configure TeamViewer................................................................................ 8


Section 2: Configure PLC and HMI computer ............................................................................... 8
Section 3: Setup TeamViewer VPN ............................................................................................. 10
Section 4: Getting online with PLC .............................................................................................. 13

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
5
TeamViewer Remote PLC Access

This page intentionally left blank.

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
6
TeamViewer Remote PLC Access

Section 1: PLC Programming Procedure

1. TeamViewer must be installed on both the HMI computer and Programming Computer.
2. The HMI computer should be installed from stock prior to arrival at customer site,
however if it is not installed, the ‘TeamViewer Host’ install should be used.
3. During installation, be sure to check the ‘Use TeamViewer VPN’ checkbox.
4. If TeamViewer is already installed, the VPN driver can be installed by going to
‘Extras>Options>Advanced>Advanced Network Settings>Install VPN Driver’

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
7
TeamViewer Remote PLC Access

Section 2: Configure PLC and Computers

1. The IP address of the PLC must be configured properly. The IP configuration should be
as follows:

IP Address: 192.168.1.16
Subnet Mask: 255.255.255.0
Gateway Address: 192.168.1.100

Note: The Gateway Address must match the HMI computer’s Local IP address

2. The HMI computer should be configured with two network adapters. One for access to
the local network and one with access to the internet. The local adapter should be
configured with the IP address ‘192.168.1.100’ and Subnet Mask ‘255.255.255.0’.
Gateway Address can be left blank. The second adapter should be configured to plant
specifications, as long as there is internet access. Once configured, TeamViewer will
show a green ‘Ready to Connect’ indication and the local network connectivity can be
checked by ‘pinging’ PLC or verifying connection with FactoryTalk application
connectivity.

3. On the HMI computer, a registry key must be modified. Open the registry editor by
selecting ‘Start’ and typing ‘regedit’. Select it and the registry editor will open.

4. In the registry editor, browse to


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Change the value ‘IPEnableRouter’ to 1.
Restart the computer for changes to take effect.

5. For now the remote programming PC only needs access to the internet.

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
8
TeamViewer Remote PLC Access

Section 3: Make a TeamViewer Connection and configure VPN

1. Make a TeamViewer connection from the programming PC by entering the


TeamViewer ID of the HMI. Select the Remote Control radio button and click
‘Connect to Partner’. Once connected, you should see the HMI computer’s screen.
2. In the top area of the TeamViewer Remote Control window there is a toolbar. From the
Toolbar, select ‘Extras>VPN>Start’

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
9
TeamViewer Remote PLC Access

3. A window will popup providing VPN connection information.

4. Now the Programming PC must be configured to send requests for the PLC ip address
to the TeamViewer connection.

5. To do this open a command window. Type the ‘route print’ command.

6. Check the IPv4 table for any routes for ‘192.168.1.*’ If there are any, they should be
removed with the command ‘route delete 192.168.1.*’

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
10
TeamViewer Remote PLC Access

7. Now a new route must be added for the remote network. For this command, you need
to use the ‘IP of Partner’ from the TeamViewer VPN information window. Type the
command ‘route add 192.168.1.16 mask 255.255.255.255 7.196.178.105 metric 1’

Note: this command will only provide access to the PLC’s IP address. The entire subnet
can be access, however the Gateway Address of each device must also be changed to
match the HMI computer’s IP address. The following command will provide access to
the entire subnet: ‘route add 192.168.1.0 mask 255.255.255.0 7.196.178.105 metric 1’

8. Now type route print to make sure connection is route is added.

9. Check connection using ping command.

10. Note that for each customer/remote PLC connection, the ‘route delete’ and ‘route add’
commands may have to be used as the VPN PLC addresses can change on each
connection.

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
11
TeamViewer Remote PLC Access

Section 4: Getting online with PLC

1. A new driver must be configured for RSLogix to see the Remote PLC. Open RSLinx
Classic.

2. Go to ‘Communications>Configure Drivers’ and add an new ‘EtherNet/IP Driver’

3. When configuring the driver, select ‘Browse Remote Subnet’, use ‘192.168.1.16’ as the
IP address and ‘255.255.255.255’ as the Subnet Mask.

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
12
TeamViewer Remote PLC Access

4. The new driver should be able to see PLC.

5. Now in RSLogix, make sure to browse using the TeamViewer and a connection should
be able to be made to the PLC!

Copyright © 2009-2014 by Inductotherm Corp.


CM-***
13

You might also like