Beckhoff and TwinCAT Guide
Beckhoff and TwinCAT Guide
Beckhoff and TwinCAT Guide
Table of Contents
1.
2.
3.
4.
12
12
B2: Set a fixed IP address on the PLC via LinkManager using CERHOST
14
Notices
17
Page 2 of 17
1.
System overview
The Remote Device Management system is a complete end-to-end solution
for easy and secure remote access, monitoring and management of industrial equipment for the automation- and machine builder industry.
The Remote Device Management solution enables machine builders, service
providers and end-users to instantly access, monitor, and manage machines
and equipment remotely and effectively over secure high speed internet
connections.
The following system overview is with a SiteManager 3034 or 3134 at the
customer location:
Page 3 of 17
2.
3.
Page 4 of 17
4.
Page 5 of 17
7. Select IP Address
8. Press Add Route
Page 6 of 17
Page 7 of 17
Page 8 of 17
Page 9 of 17
4. Press: TwinCat > Routes, Select the PC Name (in the below example
RDM-HKK). Address must show the DEV1 IP address of the SiteManager. If not then the route is installed wrong (If the PLC is attached
via the Uplink interface, the address will most likely be the LinkManager IP address, which will not work.)
5. Select Add Route to add the route manually: (If a route already exist it
should be deleted)
Page 10 of 17
Name = RDM-HKK
Address=172.24.2.11
AmsAddress=172.16.15.223.1.1
(The AMS Router can be found on the PCs TwinCat program):
Page 11 of 17
2. Ensure that DHCP is enabled. If not just enable it and it will automatically suggest a DHCP range. You may have to reboot the SiteManager
to activate the DHCP:
3. Make sure the Beckhoff PLC is connected to the DEV1 port and is powered on after the DHCP server has been enabled.
Page 12 of 17
5. You should now be able to identify the PLC in the lease list by its MAC
address or its Hostname. Select the Lock check box and press Save.
6. The MAC address of the PLC is now associated with a Static DHCP
lease, which means the PLC will always receive the same IP address
from the SiteManager. You are also able to change it here, in case it
conflicts with another device in the network.
Page 13 of 17
B2: Set a fixed IP address on the PLC via LinkManager using CERHOST
The CERHOST client software is provided by Microsoft for obtaining remote
display control of a Windows CE device.
This tool is typically used for establishing access to a CX1xxx type Beckhoff
PLC to change the IP address of the PLC from the DHCP assigned IP, to a
static IP address.
The CERHOST.exe utility is freeware and can be downloaded from the
Beckhoff website, and various other public sites.
1. Connect with LinkManager to the PLC
Note: You cannot use the DNS name (e.g. CX_022632), as indicated
in some guides, since you do not have access to the DNS server that
can resolve it.
Page 14 of 17
Page 15 of 17
6. If there is more than one Ethernet adapter, you can double click each
of the adapter icons in the system tray, to determine which has the IP
address you have connected to.
7. Right-click and select properties for the adapter, and select Specify an
IP address, and enter relevant settings:
8. Press OK, and Restart the PLC to activate the new address..
Page 16 of 17
Notices
Publication and copyright
Copyright Secomea A/S 2011. All rights reserved. You may download and
print a copy for your own use. As a high-level administrator, you may use whatever you like from contents of this document to create your own instructions for
deploying our products. Otherwise, no part of this document may be copied or
reproduced in any way, without the written consent of Secomea A/S. We would
appreciate getting a copy of the material you produce in order to make our own
material better and if you give us permission to inspire other users.
Trademarks
SiteManager, LinkManager and GateManager are trademark of Secomea A/S. Other trademarks are the property of their respective owners.
Disclaimer
Secomea A/S reserves the right to make changes to this publication and to the
products described herein without notice. The publication of this document does
not represent a commitment on the part of Secomea A/S. Considerable effort
has been made to ensure that this publication is free of inaccuracies and omissions but we cannot guarantee that there are none.
The following paragraph does not apply to any country or state where such provisions are inconsistent with local law:
SECOMEA A/S PROVIDES THIS PUBLICATION "AS IS" WITHOUT
WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
OR FITNESS FOR A PARTICULAR PURPOSE
SECOMEA A/S SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, OR OTHER DAMAGE ALLEGED IN
CONNECTION WITH THE FURNISHING OR USE OF THIS INFORMATION.
Secomea A/S
Denmark
CVR No. DK 31 36 60 38
E-mail: sales@secomea.com
www.secomea.com
Page 17 of 17