CP Link3en
CP Link3en
Documentation for
CP-Link 3
Version: 1.7
Date: 2013-10-17
Page 1
TABLE OF CONTENTS
CP-Link 3 3
Foreword
Notes on the documentation 4
Safety Instructions 5
Documentation issue status 6
Product overview
Functioning 8
Software variants 10
Technical data 11
Installation
Installation - Host 12
Installation - Client 18
Uninstallation 22
Configuration
Configuration interface 23
Edit the client list 27
Client Configuration 32
Function monitoring
Client Explorer 41
Network
Network Topology 45
Configuration of RT-Ethernet devices 46
Firewall Configuration 49
Miscellaneous
USB Device Filter Lists 50
Windows Display Settings 52
CP-Link 3 Shell Extension 55
Set the HID focus manually 56
CP-Link 3 Service 59
Using USB devices locally on the client 60
Using the CPx8xx USB Bus Coupler 61
Update of TcUsb.sys 72
CP-Link 3 LaunchApp 74
Hints for cabling 75
Appendix
Comments 76
Troubleshooting 77
Support and Service 79
Page 2
BECKHOFF Automation: Foreword
Disclaimer
The documentation has been prepared with care. The products described are, however, constantly under development.
For that reason the documentation is not in every case checked for consistency with performance data, standards or
other characteristics.
In the event that it contains technical or editorial errors, we retain the right to make alterations at any time and without
warning.
No claims for the modification of products that have already been supplied may be made on the basis of the data,
diagrams and descriptions in this documentation.
Trademarks
Beckhoff® , TwinCAT® , EtherCAT® , Safety over EtherCAT ® , TwinSAFE® and XFC® are registered trademarks of and
licensed by Beckhoff Automation GmbH.
Other designations used in this publication may be trademarks whose use by third parties for their own purposes could
violate the rights of the owners.
Patent Pending
The EtherCAT Technology is covered, including but not limited to the following patent applications and patents:
EP1590927, EP1789857, DE102004044764, DE102007017835
with corresponding applications or registrations in various other countries.
The TwinCAT Technology is covered, including but not limited to the following patent applications and patents:
EP0851348, US6167425 with corresponding applications or registrations in various other countries.
Copyright
© Beckhoff Automation GmbH.
The reproduction, distribution and utilization of this document as well as the communication of its contents to others
without express authorization are prohibited.
Offenders will be held liable for the payment of damages. All rights reserved in the event of the grant of a patent, utility
model or design.
Page 3
BECKHOFF Automation: Foreword
Safety instructions
Safety rules
Consider the following safety instructions and descriptions!
Product specific safety instructions are to be found on the following pages or in the areas mounting, wiring,
commissioning etc.
Disclaimer
All the components are supplied in particular hardware and software configurations appropriate for the application.
Modifications to hardware or software configurations other than those described in the documentation are not permitted,
and nullify the liability of Beckhoff Automation GmbH.
Personnel qualification
This description is only intended for the use of trained specialists in control, automation and drive engineering who are
familiar with the applicable national standards.
Description of symbols
The following symbols with a adjoining safety advise or notice are used in this documentation. You have to read the
safety advices carefully and adhere them strictly!
If you do not adhere the safety advise adjoining this symbol, there is immediate danger
to life and health of individuals!
DANGER
Risk of injury!
If you do not adhere the safety advise adjoining this symbol, there is danger to life and
health of individuals!
WARNING
Hazard to individuals!
If you do not adhere the safety advise adjoining this symbol, there is obvious hazard to
individuals!
CAUTION
If you do not adhere the notice adjoining this symbol, there is obvious hazard to
materials and environment.
Attention
Note or pointer
Note
Page 4
BECKHOFF CP-Link 3: Foreword
1.7
Updated section Client Explorer (USB-Buscoupler )
Updated section Using the CPx8xx USB Bus Coupler (Device number of the USB Bus
Coupler )
Updated section Set the HID focus manually
Updated section Installation - Host
Updated section Installation - Client
1.6
Updated section Technical data
1.5
Updated section Installation - Client (Installation of client software under Windows 7 /
Windows XP )
Updated section Installation - Host
Updated section Edit the client list (Broadcast Search )
Updated section Client Configuration (USB , Serial )
Updated section Client Explorer
Description for Firewall Configuration
Description for USB Device Filter Lists
Updated section Using USB devices locally on the client
New section Hints for cabling
Updated section Toubleshooting
1.4
Updated documentation concerning Windows 7 support
Updated section Configuration interface
Updated section Windows Display Settings
Description for Network Topology
1.3
Description for uninstallation of CP-Link 3 Extended Desktop Devices ( Configuration
interface )
Updated section Client Configuration - Resolution of the display device on the host, Transfer
protocol for graphical data
Updated section Using the CPx8xx USB Bus Coupler
Updated section Using USB devices locally on the client
Description for Configuration of RT Ethernet devices
Description for CP-Link 3 LaunchApp
Updated section Set the HID focus manually
Description for CP-Link 3 Service
Description for Client Explorer
Page 5
Updated section Troubleshooting
1.2
Updated section Technical data - System Requirements for the Client
Description of lock symbol positioning on clients ( Client Configuration )
1.1
Description for installation of CP-Link 3 on clients
Updated description for installation of CP-Link 3 on host PCs
Updated description for usage of USB Bus Couplers with CP-Link 3
1.0
First Release
Page 6
BECKHOFF CP-Link 3: Product overview
Functioning
Virtual-USB
USB devices that are connected to a client appear to the host PC as locally connected devices, and can be used in the
usual way. In this way, the keyboard input, touch screen and special key functions of a client are transmitted to the host
PC. It is also possible for USB sticks, USB printers or USB bar code scanners to be connected to a client and used by
the host PC. “Virtual USB” emulates a USB root hub in the host PC. If a USB device is plugged to the client, then the
virtual hub logs the device on to the operating system of the host PC and transparently transmits the ensuing
communication. For the operating system, the USB device behaves as though it was directly connected to the PC.
“Virtual USB” transfers the standards USB 1.1 and USB 2.0. As communication takes place using 100 Mbit/s Ethernet,
the USB 2.0 transmission performance (480 Mbit/s) is restricted.
Communication with the connected USB devices takes place through a normal TCP/IP connection. It is therefore not
possible to guarantee that these devices are queried with a deterministic cycle time. When additional input or output
devices, such as rotary switches, keys and so on, are used on the client it is sometimes necessary for a specific cycle
time to be observed. As an alternative, communication with such devices can take place through an additional
Page 7
communication channel (RT Ethernet), so ensuring deterministic cycle times.
Virtual Graphics
One or more virtual graphic adapters are installed in the host PC in order to transmit the screen contents. There is a
distinction to be made between CP-Link 3 - Mirror Devices and CP-Link 3 - Extended Desktop Devices. A CP-Link 3 -
Mirror Device captures the screen content from the standard display device, and transmits it to one or more clients. The
standard display device is the one that is used initially when the Windows operating system boots up. A CP-Link 3 -
Extended Desktop Device extends the host PC's Windows desktop with an additional display device, whose screen
content can be transmitted to one or more clients. An application's program window can be moved to the additional
screens of the extended desktop. A CP-Link 3 client can thus either display the content of any of the CP-Link 3 -
Extended Desktop Devices or the contents of the standard display device. The contents of other display devices (e.g. of
additional graphics cards) cannot be displayed on CP-Link 3 clients.
The image data may optionally be transmitted via TCP/IP or via UDP/IP (Multicast). The advantage of Multicast is that
data can be transmitted simultaneously to a number of clients, without multiplying the transmitter bandwidth by the
number of receivers.
Up to nine CP-Link 3 - Extended Desktop Devices can therefore be installed when a single head graphics card is used. If
a dual head graphics card is used, only eight CP-Link 3 - Extended Desktop Devices can be installed.
Page 8
BECKHOFF CP-Link 3: Product overview
Software variants
CP-Link 3 is available in three variants:
The “Virtual USB” and “Virtual Serial Port” functionalities are included in all three variants, and there are no restrictions
on their use. (See also the Functioning section).
The scope of “Visual Graphics” functions varies in the three variants as follows:
CP-Link 3 single desktop: One virtual graphic adapter (Beckhoff CP-Link 3 - Mirror Device) captures the screen
contents from the host PC's standard display device. One client displays the standard display device's image.
CP-Link 3 multi-desktop: One virtual graphic adapter (Beckhoff CP-Link 3 - Mirror Device) captures the screen
contents from the host PC's standard display device. Up to 255 clients display the image of the standard display
device.
CP-Link 3 extended desktop: One or more virtual graphic adapters (Beckhoff CP-Link 3 - Extended Desktop
Devices) are used to expand the host PC's desktop. Up to 255 clients display one of the up to ten different screen
contents. This includes, on the one hand, the image of the standard display device and, on the other hand, the
images generated by virtual Beckhoff CP-Link 3 - Extended Desktop Devices.
Page 9
BECKHOFF CP-Link 3: Product overview
Technical data
System Requirements for the Host PC
System Requirements for the Client with Windows CE - (Panel PC / Control Panel)
General
Maximum number of clients: TCP/IP: 10 clients for each of the host PC's display
devices
UDP/IP: 255 clients for each of the host PC's display
devices
Page 10
BECKHOFF CP-Link 3: Installation
Installation - Host
Execute the program CPLink3Setup.exe to start the installation of CP-Link 3. The installation wizard, which will guide you
through the installation process, opens. To begin with, the preconditions for installation are examined; if necessary, a list
of software packages that still have to be installed is displayed. The “Microsoft Visual C++ 2008 SP1 Redistributable
Package (x86)” is included in the setup application, and is installed automatically if necessary. The “Microsoft .NET
Framework 2.0” is not included in the setup application, but can be downloaded by the setup application through an
existing Internet connection. If that is not possible, this step can be skipped for the time being. The “Microsoft .NET
Framework 2.0” - or a newer version - can be installed manually after CP-Link 3 has been installed.
Installation preconditions
The .NET Framework Version 2.0 software - or a newer version - from Microsoft is a
precondition for the installation of CP-Link 3. This software is free, and can be
downloaded from the Microsoft website.
Note
The Installation Wizard then displays a “Welcome” dialog in the next step:
Page 11
After clicking Next you are asked to declare your agreement with the license conditions:
Click Next , and in the following dialog choose the CP-Link 3 Host Software to be installed. You can change the
destination directory using the Install Location Button.
Page 12
Clicking Next brings you to the dialog where the user data is entered. Complete the fields for the User Name and
Organization , and enter the serial number into the Serial Number field.
Page 13
Serial number
You will be given the serial number after you have purchased the CP-Link 3 license.
The serial number contains information about the license level that has been bought.
Note
If the Extended-Desktop license level is being installed, you can now specify how many CP-Link 3 - Extended Desktop
Devices are to be installed (see also the Functioning section).
Additional CP-Link 3 - Extended Desktop Devices can also be added at any time
through the CP-Link 3 configuration interface (see also the Configuration Interface
section).
Note
Clicking Next will take you to the final window in the installation routine. If you want to make any changes to your
installation parameters, return with Back , otherwise initiate the installation procedure by clicking Install .
Page 14
All the necessary files are now copied into the destination directory, and the required drivers are installed on your
system.
Flickering display
It can take some time to install the drivers. It is possible that the screen will flicker a
number of times during the installation.
Note
It is possible that multiple messages stating that the “Windows Logo Test” has not been passed for the CP-Link 3
hardware concerned will appear during the installation. Ignore these messages, and click Continue Anyway .
Page 15
Click Finish in order to terminate the installation process. After the installation the operating system needs to be
restarted. The necessary software components have now been installed on your computer, and a link to the CP-Link 3
configuration application placed on the desktop.
Depending on the installed version of TwinCAT and the installation order of CP-Link 3
and TwinCAT it might be necessary to update the driver file TcUsb.sys. (see the Update
of TcUsb.sys section).
Note
Page 16
BECKHOFF CP-Link 3: Installation
Installation - Client
In addition to the installation of CP-Link 3 on the host PC, CP-Link 3 needs to be installed on the CP-Link 3 clients too.
On the dialog where the user data is to be entered, complete the fields for the User Name and Organization :
Page 17
Clicking Next will take you to the final window in the installation routine. Initiate the installation procedure by clicking
Install .
It is possible that multiple messages stating that the “Windows Logo Test” has not been passed for the CP-Link 3
hardware concerned will appear during the installation. Ignore these messages, and click Continue Anyway .
Page 18
When installation is complete, a success message will appear. If you finish the installation program, you will be asked to
restart the computer.
The client PC is initially not operable as long as it waits for a connection with a CP-
Link 3 host. If no host connects with the client, it becomes operable after about one
minute. The client indicates this state with an info box.
Note
Please note the requirements listed under System Requirements for the Client with
Windows CE (see the Technical data section).
Note
The corresponding CE-cab installation file needs to be copied to the CE device first (via memory stick / FTP / Public
Folder / ...). Double click the cab file on the CE device to start the installation and follow the instructions of the installation
wizard. In order to ensure correct functioning of CP-Link 3, always install CP-Link 3 into the directory suggested by the
installation wizard. After installation has finished the cab file will be deleted automatically.
Installation directory
In order to ensure correct functioning of CP-Link 3, always install CP-Link 3 into the
directory suggested by the installation wizard.
Note
After installation has finished the cab file will be deleted automatically. Therefore you
should always transfer a copy of the original cab file to the client.
Note
Page 19
CE device initially not operable
The CE device is initially not operable as long as it waits for a connection with a CP-
Link 3 host. If no host connects with the client, it becomes operable after about one
minute. Starting with version 1.1.19 of CP-Link 3 the client indicates this state with an
Note info box.
The platform specific directory "\Hard Disk\Regfiles\Samples\Cxxxx" contains registry files with which the color
depth of the client can be adjusted. Note, that the settings from registry files can be written to registry by a double
click on the file in the Windows CE Explorer.
Alternatively, the color depth can be adjusted via the program CX Configuration on the tab Display Settings.
Page 20
BECKHOFF CP-Link 3: Installation
Uninstallation
Uninstallation of the host software or the client software under Windows 7 / Windows XP
To remove CP-Link 3 from a PC, go to Start -> Control panel -> Add or Remove Programs (Windows XP), or Start ->
Control Panel -> Programs and Functions (Windows 7) and select Remove for the CP-Link 3 software package. The
installation wizard, which will guide you through the uninstallation process, opens.
Page 21
BECKHOFF CP-Link 3: Configuration
Configuration interface
The client list, which is still empty, is located in the upper part of the configuration interface, while the settings for marked
clients will later be listed in the lower part.
Editing the client list and configuring the clients are described in the sections on Edit the client list and Client
configuration .
Setup
Clicking Setup opens a dialog which, amongst other things, allows the user to adjust the resolution, color depth and
position for all display devices. Furthermore, additional CP-Link 3 - Extended Desktop Devices can be
installed/uninstalled:
Page 22
Display Devices
A display device is selected by clicking on a monitor symbol, as can be seen from a light blue border. Similarly, a display
device can also be chosen from the selection list ( Device ) shown on the dialog. The settings for the selected display
device can now be modified in the lower part (Setting) of this dialog. The position of the monitor icons can be adjusted by
drag-and-drop. Clicking Apply will activate the changes.
Installation/uninstallation of CP-Link 3 - Extended Desktop Devices:
In the CP-Link 3 - Extended Desktop Devices area it is possible to enter the number of Extended Desktop Devices that
are to be installed, and the installation can be started by clicking Install additional device(s) . It may be necessary to
restart the operating system after the installation process.
After selecting a CP-Link 3 - Extended Desktop Device the device can be uninstalled by clicking Uninstall selected
device . After the uninstallation process the operating system needs to be restarted.
The total number of 10 display devices cannot be exceeded, and this includes the
graphics cards installed in hardware, to which one or more display devices, depending
on the type (single or dual head) can be connected. A CP-Link 3 - Extended Desktop
Note Device corresponds to a single head graphics card, and thus to one display device.
Miscellaneous
Page 23
The CP-Link 3 Shell Extension can be switched on or off in the CP-Link 3 Shell Extension area. The CP-Link 3 Shell
Extension is used to extend the desktop context menu (see also the CP-Link 3 Shell Extension section).
About
Clicking About opens a window that displays the current license and version information about the CP-Link 3 software
installed on the computer.
Page 24
Clicking OK closes the information window.
Page 25
BECKHOFF CP-Link 3: Configuration
Clients can be added to the client list by clicking Broadcast Search or on Add Client . Clients can be removed from the
client list with a click on Remove Client .
The procedure must be completed by clicking Apply in order to finally write the changes
into the client list.
Note
Broadcast Search
The Broadcast Search function makes it possible to search automatically for devices in the network that are CP-Link 3-
capable. Devices found by the Broadcast Search can be adopted into the client list.
Windows Firewall
If the Windows Firewall is enabled, the UPnP service must be authorized in the
Windows Firewall if automatic searching for CP-Link 3-capable devices is to work.
Note
Page 26
If it is necessary to make modifications in the Windows Firewall, the following dialog will appear when clicking on the
Broadcast Search button:
The UPnP service is authorized in the Windows Firewall by clicking Yes . Clicking No will leave all the Windows Firewall
settings unchanged, as a result of which it will not be possible to search through the Broadcast Search .
If the Windows Firewall is properly configured, then clicking the Broadcast Search button will open the CP-Link 3
Broadcast Search window. A click on Start Search in the Broadcast Search window will start the search for UPnP devices
in the network:
The desired device can be added by clicking the Add button or by double-clicking, and will then appear in the client list.
Whether or not the IP address of the new device is already present in the client list is checked when a client is added. If
it is, a dialog opens through which the action can be cancelled or the client overwritten.
If clients have just been added to the client list, they remain marked in green in the status field in front of the client name
until the changes have been adopted by clicking Apply .
Page 27
Add Client
If a client is not yet present in the network, or is not UPnP-capable, it can be added manually by means of Add Client :
Page 28
When a client is added through Add Client , standard settings for the Name , the IP Address and the Comment are
loaded. These settings may need to be modified.
If clients have just been added to the client list, they remain marked in green in the status field in front of the client name
until the changes have been adopted by clicking Apply .
Remove Client
Remove Client can be used to delete clients from the client list.
Page 29
The labelling and the behaviour of the button depends on the colour of the status field for the selected client:
The status field is coloured green (the button is labelled Remove Client ):
The client will be removed immediately from the client list by clicking Remove Client .
The status field is coloured white (the button is labelled Remove Client ):
The status field is coloured red until the change is adopted by clicking Apply. Only then is the client finally
removed from the client list.
The status field is already coloured red (the button is labelled Undo Removal ):
The removal mark will be removed by clicking on the button again.
The status fields of a number of selected clients have different colours (the button is labelled Toggle Removal
Marks ):
Clients that are green will be removed immediately from the client list, clients that are marked in red will have their
removal mark removed, while the status field for clients whose status field is white will turn red.
If clients are to be removed from the client list, and if they are marked red in the status field in front of the client name,
the changes will not finally be adopted till Apply is clicked.
Page 30
BECKHOFF CP-Link 3: Configuration
Client Configuration
The configuration of a client is divided into four parts, which are described in detail below:
The CP-Link 3 functionalities (Virtual USB, Virtual Serial Ports and Virtual Graphics) can be enabled or disabled
separately for each client. This is either done through the appropriate selection boxes in the client list, or through the
selection box on the corresponding tab in the lower part of the configuration window.
In order to configure one or more clients they must first be selected. This is done simply by clicking them in the client list.
It is also possible to select multiple clients simultaneously. In this case the most recently marked client has a black
background, while the others all have blue backgrounds:
The settings displayed are always those for the most recently marked clients, while changes that are made are carried
out on all the clients that have been selected.
General
Page 31
The general parameters for a client are set on the General tab. An asterisk next to the name of the tab indicates that the
settings for the “General” section have been changed, but have not yet been activated with Apply .
The general parameters of a client include the IP address along with a name and description, as well as the settings of
the HID focus. The IP Address entry is essential. In addition, entries can also be made in the Name, Comment and
Model fields. Any name can be assigned to the client in the Name field. The name does not have to correspond to the
client's computer name.
If a client is added to the client list through the Add Client function, the client's IP
Address field is automatically pre-filled. It may be necessary to modify this entry!
Note
HID focus
The client's input behavior can be configured with the aid of the HID focus (i.e. the human input device focus):
When a client has the HID focus, only this client is able to make input to the host through a keyboard, mouse or
touchpad. Input from all the other clients is blocked. There is a difference between the auto and manual modes of the
HID focus.
Auto HID focus - If an input is made at a client, it automatically acquires the HID focus. If no further input is made
for the set period of time, the client loses the HID focus again. The period can be specified, in milliseconds, in the
Timeout field. If the timeout is set to 0, the HID focus will not be set by making inputs, which means that inputs
can be made simultaneously at other clients too.
Manual HID focus - Input from the client is initially blocked. The HID focus must be given to the client before
inputs can be made. There is a software interface, described under Set the HID focus manually , for this purpose.
When manual mode is selected, the timeout is automatically set to 0 ms, and this means that it is necessary to
reset the HID focus explicitly in all cases. If the timeout is anything other than 0 ms, then the manually set HID
focus will automatically be reset after the given time if no further input is made.
If MouseClipping is active (which is the standard setting), the mouse pointer cannot leave the screen area of the client
that has the HID focus. This prevents accidental operations in windows that are outside the visible area of the desktop.
Lock symbol
The graphical Locksymbol is shown on any clients that are unable to make inputs. This allows a user to see that the HID
focus is already assigned to another client.
The standard default lock symbol can be set by means of the Default button. It is also possible to select any other
graphical symbol, modified to meet particular requirements, to represent the lock. The Custom button opens a file dialog
with which the file that is to be used can be selected. By clicking Open Containing Folder underneath the preview of the
lock symbol, an Explorer window that shows the storage location of the selected lock symbol can be opened.
Position:
By default, the lock symbol will be shown centered on the client's display.
Page 32
By clearing the tick in the Centered selection box a vertical and horizontal offset can be specified by using the Horizontal
Offset and Vertical Offset fields. The offset's origin is the upper left corner of the host display's screen content shown on
the client.
USB
A client's settings for the “Virtual USB” area are made on the USB tab. An asterisk next to the name of the tab indicates
that the settings for the “Virtual USB” section have been changed, but have not yet been activated with Apply .
Page 33
The “Virtual USB” functionality for the client can be enabled or disabled by setting or clearing the tick in the USB
selection box.
Device Whitelist
The Device Whitelist is a list of filters. Each entry in the Whitelist is a filter representing a specific group of USB devices
that the host PC is not going to ignore even though the device has a matching entry in the Blacklist (see also the USB
Device Filter Lists section).
Page 34
Displaying device filters
If more than one client has been selected, then the list entries are only displayed if all of
the selected clients have the same list entries.
Note
Filters for USB devices can be added or removed through the Add and Remove buttons. Clicking the Edit button allows
filters that have already been created to be edited. Alternatively, you can use the context menu to add, remove or edit
filter entries. In addition you can use the context menu to paste an entry from the clipboard if you previously copied an
entry to the clipboard using the Client Explorer (see also the Client Explorer section).
The dialog for adding or editing filters ( Add or Edit ) has the following structure:
Hexadecimal notation (in which 0x can be omitted) is typically used for the entries in these fields. It is also possible to
select a predefined class of devices (e.g. Mass Storage ), and to enter this into one of the lists.
It is, for instance, possible to quote the ID of the vendor (Vendor ID). In case of an entry for the Blacklist entry this will
cause the host PC to ignore any USB devices with this vendor ID. The host PC can, similarly, ignore all devices with a
defined product ID, class, subclass or protocol.
Page 35
View USB Device Filter in Client Explorer
The Client Explorer can be used to check what kind of device filters have been
configured for a particular device or rather the way the device can currently be used.
The Client Explorer shows the current status for every USB Device (see also the Client
Note Explorer section).
By setting the tick in the Ignore on Client selection box, the client-side configured Use Local List entries are ignored and
it is paid attention to the Use Local List configured on the host PC only.
Clicking the Show / Import to Configuration button shows a list of the client-side configured Use Local List entries:
By using the Import button the selected client-side configured Use Local List entries are being adopted to the list
configured on the host PC.
Serial
A client's settings for the “Virtual Serial Ports” area are made on the Serial tab. An asterisk next to the name of the tab
indicates that the settings for the “Virtual Serial Ports” section have been changed, but have not yet been activated with
Apply .
Page 36
The “Virtual Serial Ports” functionality for the client can be enabled or disabled by setting or clearing the tick in the Serial
selection box.
A port name can be chosen in the selection box under Com Port of Client and can be added to the port list with Add . It
should be noted that only client serial ports that actually exist can be used. The currently selected entry can be deleted
from the list with Remove .
Apply activates the configuration. The first time this is done for a client, the CP-Link 3 Remote Serial Port Enumerator is
installed first, and then the CP-Link 3 Virtual COM Port driver for each virtual interface. In each case, the installation is
done using the “Found New Hardware Wizard”. The virtual interfaces only appear when the TCP/IP connection to the
client is established.
The current status of the virtual serial interfaces is read and displayed in the list with Refresh . In particular, the list shows
the mapping between COM Ports of the Client (COM Port of Client ) and the virtual COM Ports on the Host ( COM Port on
Host ).
The port names are usually found at the associated device terminal. Serial devices that are connected internally, such as
a serial touchscreen, are documented in the device description (e.g. a label on the rear of a Panel PC).
A virtual COM port can only be installed when a connection to the client does in fact
exist and the port is available.
Note
Page 37
An Elo touch panel, connected serially, can be operated through a virtual serial interface. The appropriate Elo-Touch
driver has to be installed for the selected port. For this purpose, start the installation application EloSetup.exe and follow
the instructions of he installation wizard.
Graphics
A client's settings for the “Virtual Graphics” area are made on the Graphics tab. An asterisk next to the name of the tab
indicates that the settings for the “Virtual Graphics” section have been changed, but have not yet been activated with
Apply .
The “Virtual Graphics” functionality for the client can be enabled or disabled by setting or clearing the tick in the Graphics
selection box.
The diagram on the left shows all the display devices available on the host PC, indicated by the monitor symbols. One of
the display devices listed can be assigned to one client, which means that this client should show the screen contents of
the assigned display device. The assigned display device becomes green, while all the other display devices are shown
blue. If a display device is inactive, this is shown by cross-hatching. A monitor symbol that is crossed through indicates
those display devices that can not be assigned to a client. Such devices include, for instance, additionally installed
graphics cards, or the second output of a dual-head graphics card (see also the Functioning section).
Page 38
Assigning the display device
The first time that the “Virtual Graphics” functionality is enabled, the first display device
is automatically assigned to the client.
Note
If the enlargement or reduction ratios are not integers, the enlargement or reduction can
have negative effects on the quality of the displayed image.
Note
Page 39
BECKHOFF CP-Link 3: Function monitoring
Client Explorer
The CP-Link 3 Client Explorer is a tool for monitoring the function of CP-Link 3. Warnings, error messages and status
information of the various CP-Link 3 components are shown in Client Explorer.
The Client Explorer user interface is laid out as follows:
The upper section pictures a tree structure, which on one side shows the currently activated CP-Link 3 Configuration and
on the other contains current status information. In the lower section is a message window in which warnings, error
messages and status information is given in the form of text.
Hierarchy of the tree structure:
1. Each of the nodes in the first level corresponds to a client:
The node text contains the client's name and IP address according to the current configuration.
2. The nodes in the second level correspond to the CP-Link 3 components "Virtual USB", "Virtual Serial Ports“ and
"Virtual Graphics" of the client, where a node is only depicted for those components activated in the configuration. At the
same time the icon of such a node gives information on the current status of the component:
Page 40
- The component has no network connection. The host PC is attempting to connect to the client.
- The component is in an invalid or an error state. In this case a corresponding message is shown in the
message window (see below).
Network connection has been established with the component, the component is in the initialization
phase.
Network connection has been made with the component and the initialization phase has been
successfully completed.
Network connection has been lost with the component, the component is in the de-initialization phase.
The component has been removed from the configuration and is in the de-initialization phase.
The client’s USB device can be used on the host PC via "Virtual USB".
The client’s USB device could be used via "Virtual USB" on the host PC, the usage is however blocked
by the host PC configuration. There is a matching entry for this device in the USB Device Blacklist (see
also the USB Device Filter Lists ).
The client's USB device can be used on the host PC via "Virtual USB", there is a matching entry for this
device in the USB Device Blacklist as well as in the USB Device Whitelist (see also the USB Device
Filter Lists ).
The client’s USB device cannot be used on the host PC via "Virtual USB", as the device is being used
locally on the client. There is a matching entry for this device in the USB Device Use Local List (see also
the USB Device Filter Lists ).
Each USB device node has further sub-nodes which contain detailed information (manufacturer, serial number, etc.) on
the USB device.
Right clicking a USB device opens a context menu with which you can add the selected device to one of the USB device
filter lists of the configuration (see also the Client Configuration section or the USB Device Filter Lists section):
If you copy the device information into the clipboard ( Copy to clipboard ) you can paste the copied information in the
configuration window in order to create a device filter entry (see also the Client Configuration section - Edit USB device
filters).
If the node represents a USB Bus Coupler , one of its sub-nodes indicates the Coupler's device number. Depending on
the type of the Bus Coupler, the device number can also be changed. The device number can be changed for all Bus
Couplers of the type CPx8xx. Right clicking the device number sub-node opens a context menu with which you can open
the dialog for changing the device number.
Page 41
In the dialog the device number can be edited. The new value is transmitted by clicking the "Change" button. By clicking
the "Cancel" button the process can be canceled.
The USB Bus Coupler-Number can alternatively be changed with the TwinCAT System Manager (see also the Using the
CPx8xx USB Bus Coupler -Section).
3.2 Nodes underneath a serial node: Each node represents a serial interface of the client which can be used on the host
PC via "Virtual Serial Ports".
The node text contains the name of the virtual serial interface created on the host PC and the name of
the corresponding client's serial interface.
Above the output field are several selection boxes which allow different filters to be defined. These filters determine
which messages are shown or not shown in the output field. Filtering can be done using any combination of the following
criteria:
Filtering on messages of certain clients: Depending on the selection either the messages of all clients ( All Clients )
or the messages of the clients selected in the tree structure ( Only Selected Client ) are shown. By default the
messages of all clients are shown.
Page 42
Filtering on messages of certain components: The messages of the selected components are shown. By default
the messages of all components are shown.
Filtering on messages of certain type: Depending on selection either all messages (error and info messages) or
only error messages are shown. By default all messages are shown.
There are further buttons on the right next to the selection boxes for the message filters:
Autoscroll On/Off - If Autoscroll On is selected and a new entry is inserted into the message window, the contents
of the window are scrolled so that the new message appears in the visible part of the message window. If
Autoscroll Off is selected, automatic scrolling is turned off, in other words the contents of the window are not
scrolled for a new entry.
Copy - All marked messages are copied into the clipboard.
Clear All - All messages are deleted.
Page 43
BECKHOFF CP-Link 3: Miscellaneous
Network Topology
Concerning the usage of CP-Link 3 please note the following:
Page 44
BECKHOFF CP-Link 3: Miscellaneous
If the same network adapter is used for CP-Link 3 as for RT Ethernet under certain
conditions this can lead to connection losses (see Comments chapter or
Troubleshooting ). In addition, graphical data must be sent over TCP/IP, since the
Note client's RT Ethernet adapters do not accept UDP Multicast packets (also see Client
Configuration ).
The following illustration shows an I/O Configuration for a client with one RT Ethernet device:
Page 45
Routing configuration of RT Ethernet devices
On the Routes tab it is necessary for the routing to be switched on. The NetIds of both the host PC's and client's RT
Ethernet devices respectively are entered in the "Routes" tables.
The NetID of the client RT Ethernet adapter is added to the host PC "Routes" table:
The NetId of the host PC RT Ethernet adapter is added to the client "Routes" table:
Page 46
Page 47
BECKHOFF CP-Link 3: Miscellaneous
Firewall Configuration
For the data transmission of CP-Link 3 participants over the network, some firewall rules have to be configured for an
active firewall in order to allow the CP-Link 3 participants to communicate through the firewall. The setup program for the
CP-Link 3 Software configures these firewall rules during installation.
The following table shows the firewall rules for CP-Link 3 Clients:
Page 48
BECKHOFF CP-Link 3: Miscellaneous
Mode of action
The described device filter lists are applied for each client's USB device as follows:
Page 49
3.
If there is a matching Blacklist entry for the USB device, it is not introduced to the host's OS but the Device
Whitelist is being applied. If there is a matching Whitelist entry for the USB device, it is introduced to the host's OS
regardless of the matching Blacklist entry. The Whitelist entry overrides the Blacklist entry and the device can be
used on the host PC. On the other hand, if there is no matching Whitelist entry for the USB device, it is not
introduced to the host's OS. The USB device is not useable on the host PC as well as on the client.
The Client Explorer can be used to check which device filters have been configured for
a particular USB device or rather the way the device can be used. The Client Explorer
shows the current status for each USB device (see also the Client Explorer section).
Note
Page 50
BECKHOFF CP-Link 3: Miscellaneous
The display device is selected by clicking on the corresponding monitor symbol, and this can be seen from the border.
The settings for the selected display device can now be modified in the lower part of this dialog.
Page 51
After clicking the Advanced button, a new window opens with the extended graphics settings:
Page 52
If you now click the List All Modes button on the Adapter tab, all the modes supported by the adapter are listed:
DirectX / OpenGL
DirectX and OpenGL are not supported.
Page 53
BECKHOFF CP-Link 3: Miscellaneous
If the mouse is pulled to the CP-Link 3 entry, a window opens showing a list of all the open windows currently displayed
on the host computer.
If one particular window is now selected by clicking the mouse, it will be moved onto the desktop from which the desktop
context menu was called.
Page 54
BECKHOFF CP-Link 3: Miscellaneous
Setting the HID focus manually presupposes basic knowledge of how to use the
TwinCAT system.
Note
The following illustration shows schematically the host PC components involved in setting the HID Focus manually:
The driver for the “CP-Link 3 Remote Port Enumerator” has an interface through which the HID focus can be set to a
specific client. The HID focus can also be reset through this interface. The driver's interface is indirectly accessible via
ADS, i.e. through an ADS server that is implemented in the “CP-Link 3 Service”. The interface can therefore be used
from the TwinCAT PLC as well. Use is simplified by a PLC library. The PLC library contains the
FB_CPLink3_AcquireHidFocus function block, which is used to set the HID-Focus to a specific client. The corresponding
example program illustrates how the FB_CPLink3_AcquireHidFocus function block can be used. Both the example
program and the library are placed, when CP-Link 3 is installed, in the program directory in subfolder Plc ( for
TwinCAT 2: TcCPLink3.lib and CplHidFocusSelect.pro, f or TwinCAT 3: Tc2_CPLink3.compiled-library and
CplHidFocusSelect.tpzip).
Page 55
Configuration of Clients
Setting the HID Focus manually is only possible for clients which are configured for HID
Focus "Manual" (see also Client Configuration - HID-Focus).
Note
CP-Link 3 Service
Settings the HID Focus manually is only possible if the CP-Link 3 Service is running
(see also CP-Link 3 Service ).
Note
PROGRAMMAIN
VAR
button1 AT%IX0.0 : BOOL;
button2 AT%IX0.1 : BOOL;
button3 AT%IX0.2 : BOOL;
hFocus : T_HCPLink3HidFocus;
fbPanel1 : FB_CPLink3_AcquireHidFocus := ( setIP := '192.168.1.1' );
fbPanel2 : FB_CPLink3_AcquireHidFocus := ( setIP := '192.168.1.2' );
fbPanel3 : FB_CPLink3_AcquireHidFocus := ( setIP := '192.168.1.3' );
trigger1 : R_TRIG;
trigger2 : R_TRIG;
trigger3 : R_TRIG;
END_VAR
(* Panel 1 *)
trigger1( CLK := button1 );
IF trigger1.Q THEN
fbPanel1.bEnable := NOT fbPanel1.bEnable;
END_IF
fbPanel1( hFocus:= hFocus, bLED=>LED1);
(* Panel 2 *)
trigger2( CLK := button2 );
Page 56
IF trigger2.Q THEN
fbPanel2.bEnable := NOT fbPanel2.bEnable;
END_IF
fbPanel2( hFocus:= hFocus, bLED=>LED2 );
(* Panel 3 *)
trigger3( CLK := button3 );
IF trigger3.Q THEN
fbPanel3.bEnable := NOT fbPanel3.bEnable;
END_IF
fbPanel3( hFocus:= hFocus, bLED=>LED3 );
AdsWrite
SetHidFocus
IndexGroup: 0x10000
IndexOffset: IP Address in network byte order or 0 to clear HID-Focus
Page 57
BECKHOFF CP-Link 3: Miscellaneous
CP-Link 3 Service
The CP-Link 3 Service provides an ADS interface for setting the HID-Focus manually (also see Set the HID focus
manually ). Starting with CP-Link 3 Version 1.3.xx the CP-Link 3 Service is implemented as TwinCAT Server, in earlier
versions as Windows Service application.
You can use the TwinCAT Storage Editor to verify that the CP-Link 3 Service is registered as TwinCAT Server.
Page 58
BECKHOFF CP-Link 3: Miscellaneous
Starting with Version 1.5.x of CP-Link 3 the configuration of the Use Local List is
done on the host PC
Up to version 1.4.x of CP-Link 3 the Device Use Local List has been configured by
editing the registry on the client itself. Starting with Version 1.5.x of CP-Link 3 the
Note configuration is done on the host PC (see also the Client Configuration section)
Adding devices to the Device Use Local List (up to Version 1.4.x of CP-Link 3)
The Device Use Local :ist is stored in the registry of the client under the key
HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\CP-Link 3\UsbDeviceServer\UseLocalList. Under this key the
nListEntryCount value gives the number of list entries. For each entry in the list a sub-key is created, the name of which
is its eight-character hexadecimal index (zero-based). In each subkey a filter can be defined using the "VendorId",
"ProductId", "InterfaceClass", "InterfaceSubClass" and "InterfaceProtocol" values, which represents a group of USB
devices.
Here for example, is a list with one entry which represents all USB mass storage devices.
[HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\CP-Link 3\UsbDeviceServer\UseLocalList]
"nListEntryCount" = dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\CP-Link 3\UsbDeviceServer\UseLocalList\00000000]
"Name" = "Mass Storage"
"VendorId" = dword:00000000
"ProductId" = dword:00000000
"InterfaceClass" = dword:00000008
"InterfaceSubClass" = dword:00000000
"InterfaceProtocol" = dword:00000000
Removing devices from the Device Use Local List (up to Version 1.4.x of CP-Link 3)
If an entry should be removed from the Device Use Local List , the corresponding subkey must be removed from the
registry first. In addition the nListEntryCount value must be modified and it must be ensured that the remaining subkeys
for the list entries beginning with 00000000 (eight-digit hexadecimal zero) are continuously numbered in ascending
numerical order.
Page 59
BECKHOFF CP-Link 3: Miscellaneous
1 X X low Yes
2.b X X X medium No
3 X X X medium-high No
4.a X X high No
4.b X X X high No
Page 60
CP-Link 3 and RT Ethernet
If the same network adapter is used for CP-Link 3 as for RT Ethernet, RT Ethernet
affects the data throughput of CP-Link 3. Depending on cycle time of the real-time task
this effect can be so large that the performance of CP-Link 3 is substantially reduced.
Note Furthermore, when using CP-Link 3 via a RT Ethernet adapter under certain conditions
it can lead to connection losses (see chapter Comments , or alternatively
Troubleshooting ).
In addition, graphical data must be sent over TCP/IP, since the client's RT Ethernet
adapters do not accept UDP Multicast packets (also see Client configuration ).
It therefore may make sense to use a separate network adapter for RT Ethernet in
some circumstances.
The USB-Buscoupler-Number can alternatively be changed with the Client Explorer of CP-Link 3 (see also the Client
Explorer -Section).
Page 61
2. Access via "Virtual USB interface (Remote)"
In this case, the CPx8xx Bus Coupler is used on the client as a local USB device. The CP-Link 3 USB device server on
the client is configured accordingly via a "Use Local List" (also see Using USB devices locally on the client ). The access
from host PC to the I/O channels of the Bus Coupler does not then run over the CP-Link 3 Virtual USB Hub but rather
over ADS directly with the Bus Coupler driver on the client. The advantage here is that less data packets have to be sent
over the network connection in each cycle. For this reason using standard Ethernet for communication, the timeout of
100 ms is practically never exceeded with this method. Here again, however, it is not possible in theory to exclude the
possibility that the time required to send the data packets will become too long. If communication takes place via RT
Ethernet the data exchange is carried out deterministically and the outputs cannot drop out.
The "Virtual USB Interface (Remote)" device is supported from TwinCAT 2.11 Build
1542.
Note
Page 62
After the device has been added the NetID of the target system can be defined on the "Remote" tab. This can either be
entered directly or also determined by the "Choose Target" button. When the target system has been reached then
connected boxes can be addressed and configured as usual. The recommended cycle time for data exchange with the
terminals at the Bus Coupler is still between 50 and 80 ms (see also cycle time for data exchange ).
A USB Bus Coupler may only be used from a single TwinCAT IO system.
It must be ensured that the USB Bus Coupler is not addressed by two different
TwinCAT I/O systems. When the USB coupler is read from the TwinCAT I/O system of
the host via ADS then it may not be used any more by the local TwinCAT I/O system on
Note the client.
Page 63
deterministically. The recommended cycle time for data exchange with the terminals at the Bus Coupler is still between
50 and 80 ms (see also cycle time for data exchange ).
Setting up RT Ethernet:
One network adapter of both the host PC and the client must be configured as an RT Ethernet device and added
to the I/O configuration (also see Configuration of RT Ethernet Devices ).
"Routing" must be switched on for this RT Ethernet device on both on host PC as well as on the client. In addition
the NetIds of each of the RT Ethernet devices must be entered respectively in the "Routes" tables (also see
Configuration of RT Ethernet Devices ).
Further configuration is carried out as described in 2.a with the exception that for communication with the "Virtual USB
Interface (Remote)" the NetId of the client RT Ethernet device will be added as target system (this differs from the normal
NetId).
Setting up RT Ethernet:
One network adapter of both the host PC and the client must be configured as an RT Ethernet device and added
to the I/O configuration (also see Configuration of RT Ethernet Devices ).
Page 64
The cycle time of the RT Ethernet device defines the cycle time for data exchange with the Bus Coupler. The
recommended cycle time for data exchange with the terminals at the Bus Coupler is between 50 and 80 ms (see also
cycle time for data exchange ).
One or more network variable(s) are added to the host PC Subscriber corresponding with the network variables
configured on the client. In the dialog window which appears, after the Publisher computer has been searched for, a list
of all Publisher variables is displayed and the corresponding variable can be added to the Subscriber.
Page 65
The host PC network variable can now be linked with PLC or task variables.
Page 66
One or more network variable(s) are added to the client Subscriber corresponding with the network variables configured
on the host PC. In the dialog window which appears, after the Publisher computer has been searched for, a list of all
Publisher variables is displayed and the corresponding variable can be added to the Subscriber.
The client network variable now can be linked with the output variables of the Bus Coupler.
The cycle time of the RT Ethernet device defines the cycle time for data exchange with the Bus Coupler. The
recommended cycle time for data exchange with the terminals at the Bus Coupler is between 50 and 80 ms (see also
Page 67
cycle time for data exchange ).
4. Access via ADS to task or PLC variables linked locally on the client
In this case, the CPx8xx Bus Coupler is used on the client as a local USB device. The CP-Link 3 USB device server on
the client is configured accordingly via a "Use Local List" (also see Using USB devices locally on the client ). Access
from host PC to the I/O channels of the Bus Coupler is implemented by the use of ADS. In this case the Bus Coupler I/O
channels are mapped to I/O Task variables. These variables can be read by ADS from the host PC (also see Introduction
to ADS ).
The "ADS Info" of the client task variables are then used for ADS communication in the host PC PLC program.
A host PC PLC program for accessing the Bus Coupler outputs could look like this:
PROGRAMMAIN
VAR
fbAdsWrite : ADSWRITE;
netId : STRING := '5.3.112.17.1.1';
port : WORD := 301;
idxGrp : UDINT := 16#F030;
idxOffs : UDINT := 16#0;
data : WORD := 2#1010101010101010;
dataLen :UDINT := 2;
state :BYTE := 0;
END_VAR
CASE state OF
0:
fbAdsWrite(
Page 68
NETID := netId,
PORT := port,
IDXGRP := idxGrp,
IDXOFFS := idxOffs,
SRCADDR := ADR(data),
LEN := dataLen,
WRITE := TRUE,
TMOUT := T#1s
);
IF fbAdsWrite.ERR THEN
state := 2;
ELSE
state := 1;
END_IF
1:
fbAdsWrite(WRITE := FALSE);
IF fbAdsWrite.ERR THEN
state := 2;
ELSE
IF NOT fbAdsWrite.BUSY THEN
state := 2;
END_IF
END_IF
2:
fbAdsWrite(WRITE := FALSE);
state := 0;
END_CASE
One network adapter of both the host PC and the client must be configured as an RT Ethernet device and added
to the I/O configuration (also see Configuration of RT Ethernet Devices ).
"Routing" must be switched on for this RT Ethernet device on both on host PC as well as on the client. In addition
the NetIds of each of the RT Ethernet devices must be entered respectively in the "Routes" tables (also see
Configuration of RT Ethernet Devices ).
Further configuration is carried out as described in 4.a with the exception that in the PLC program the NetId for the client
RT Ethernet devices is entered as the NetId for ADS communication (this differs from the normal NetId).
The tasks, whose variables are linked with the I/O channels of the Bus Coupler, have to be configured with a cycle
time of > 50 ms.
The tasks, whose variables are linked with the I/O channels of the Bus Coupler, could be configured with a cycle
time of < 50 ms. In this case it is necessary to activate the so-called Async Mode for the Bus Coupler:
Page 69
Page 70
BECKHOFF CP-Link 3: Miscellaneous
Update of TcUsb.sys
Depending on the installed version of TwinCAT and the installation order of CP-Link 3 and TwinCAT it might be
necessary to update the driver file TcUsb.sys.
If you install CP-Link 3 on a PC with an already installed TwinCAT, the version of the driver file TcUsb.sys will be
checked and, if necessary, replaced by a newer version. In this case an update is not necessary .
If you install TwinCAT on a PC with an already installed CP-Link 3, the installation process of TwinCAT might
replace the driver file TcUsb.sys by an older version. In this case you need to check the version and, if necessary,
update the file .
Version check
Open Windows Explorer and navigate to: C:\Windows\System32\drivers. If TwinCAT is installed this folder contains the
file TcUsb.sys. The version number can be checked via the file properties (right click -> Properties) on the tab Version :
If the version of TcUsb.sys is older than 2.10.0.54 it is necessary to update the file.
Perform update
Version check of TcUsb.sys
Note
Page 71
Open Windows Explorer and navigate to: C:\Windows\System32\drivers. Rename the file TcUsb.sys, e.g. to
TcUsb_old.sys. The subfolder "Drivers" of the CP-Link 3 program directory contains the file TcUsb.sys. Copy this file to
C:\Windows\System32\Drivers.
After the update of TcUsb.sys you need to restart the operating system!
Note
Page 72
BECKHOFF CP-Link 3: Miscellaneous
CP-Link 3 LaunchApp
CP-Link 3 LaunchApp is a command-line application which enables the opportunity to start any application that way, that
the application window opens with a specific size on a specific monitor. You can get a details description for the usage of
CP-Link 3 LaunchApp when you start the program via command-line without any parameters. Therefor open a
command-line window and navigate to the subfolder Tools within the CP-Link 3 program directory, e.g. "C:\Program
Files\Beckhoff\CP-Link 3\Tools". Now type in "CPLink3LaunchApp.exe" into the command-line.
Page 73
BECKHOFF CP-Link 3: Miscellaneous
Page 74
BECKHOFF CP-Link 3: Appendix
Comments
Known problems:
TwinCAT RT-Ethernet driver
If CP-Link 3 uses a network adapter which is configured as TwinCAT RT-Ethernet Adapter at the same time, this
may result in dropped connection on high network usage.
Please use TwinCAT 2.11, Build 1552 or newer, beginning with this version this issue is fixed.
Restrictions:
Remote desktop
It is not possible to use CP-Link 3 Configuration in a Remote Desktop session.
Realtime-Ethernet
If a network adapter of a CP-Link 3 client is used both for the CP-Link 3 connection as well as for real-time
Ethernet, it is not possible to transmit the “Virtual Graphics” data by UDP. If only one network adapter is available
for CP-Link 3 and real-time Ethernet, the “Virtual Graphics” data for the client must be transmitted by TCP (see
also the Client Configuration section).
Page 75
BECKHOFF CP-Link 3: Appendix
Troubleshooting
Fault Possible cause Solution
A client is not displaying the Faulty network connection. Check the network connection.
image from the host PC, but Faulty configuration. Make sure that the network
the image of the client's configuration of the host PC and the
operating system. client are correct.
Check the CP-Link 3 configuration
(see also the Client Configuration
section).
The host PC cannot connect to Faulty firewall setting on the client. Check the firewall settings of the
a client even though the client For CE based clients: Wrong client (see also the Firewall
is reachable using the Ping directory used for installation. Configuration section).
command. For CE based clients: Always install
CP-Link 3 into the directory
suggested by the installation wizard
(see also the Installation - Client
section).
A client does not show any A network adapter in the client is Change the client's “Virtual
image (black screen). being used both for the CP-Link 3 Graphics” data transfer protocol
connection and for real-time over to TCP (see also the Client
Ethernet. It is not possible to Configuration section).
transmit the “Virtual Graphics” data
via UDP (see also the Comments
section).
Exceptionally slow graphics The color depth of the client's Adjust the color depth of the client's
performance of a client. display does not match the display to match the color depth of
corresponding host display color the corresponding host display (see
depth. also the Installation - Client section).
The image displayed at a The network has a poor connection Change the client's “Virtual
client is faulty; some parts of quality, while the “Virtual Graphics” Graphics” data transfer protocol
the screen are not updated, or data is being transmitted via UDP. over to TCP (see also the Client
are updated only after a delay. Configuration section).
Connection dropouts are A network adapter of the host PC is Please use TwinCAT 2.11, Build
occurring; a client sometimes being used for the CP-Link 3 1552 or newer, beginning with this
shows the image from the host connection at the same time the version this issue is fixed.
PC, sometimes the image of adapter is configured as a TwinCAT Alternative: The network adapter
the client's operating system. RT Ethernet adapter (see also the may not be configured as TwinCAT
Comments section). RT Ethernet Adapter. Install the
standard Intel® network card driver.
After touching the client touch Virtual USB is not activated for this Activate virtual USB for this client. If
screen a dialog opens with client. The touch screen is used as needed add HID devices to the USB
question "Minimize client local device. Device Blacklist in order to prevent
window?" user inputs from this client. (see also
the Client Configuration section).
On using an Elo touch screen Elo Touchscreen driver is not Install a recent Elo Touchscreen
via "Virtual USB" the mouse installed on the host PC or the driver driver on the host PC. Run the Elo
moves, but does not follow the is outdated. alignment program on the host PC.
finger. The touch screen
calibration fails.
Page 76
Setting the HID Focus The CP-Link 3 Service is not Verify the status of the CP-Link 3
manually via ADS or using the running. Service. Maybe the CP-Link 3
function block Service needs to be registered or
FB_CPLink3_AcquireHidFocus started (see also CP-Link 3 Service
does not work. section).
On using an USB Bus Coupler, Faulty configuration or faulty use of Check the configuration for the use
the Coupler's outputs drop out the USB Bus Coupler. of USB Bus Couplers (see also
or the Bus Coupler does not Multiple Bus Couplers have identical Using the USB Bus Coupler ).
behave like expected. device numbers. Ensure that different device
The cycle time for data exchange numbers are assigned to all Bus
with the Bus Coupler is too short. Couplers (see also Device Number
of USB Bus Coupler ).
Use the recommended cycle time
for data exchange with the Bus
Coupler (see also Cycle time for
data exchange ).
The MissedCnt variable of an The cycle time for data exchange Use the recommended cycle time
USB Bus Coupler is with the Bus Coupler is too short. for data exchange with the Bus
incrementing . Faulty configuration of the RT Coupler (see also Cycle time for
Ethernet when accessing the Bus data exchange ).
Coupler via RT Ethernet. Check the RT Ethernet configuration
when accessing the Bus Coupler via
RT Ethernet (see also "Virtual USB
Interface (Remote)" via RT Ethernet
, or Access via network variables
(RT Ethernet) , or ADS access via
RT Ethernet )
A client's (running Windows The operating system prevents Start the operating system in "Safe
XP) USB devices cannot be loading particular CP-Link 3 drivers, Mode with Networking".
used if the PC has been because these drivers use network
started in "Safe Mode". components of the operating system
that are not available in "Safe
Mode". The successful loading of
these drivers is a requirement for
the operating system to load the
USB-Hub driver. Therefore, the
USB-Hub driver is not loaded which
leads to the client's USB devices to
be unusable.
Page 77
BECKHOFF Automation: Appendix
Beckhoff Headquarters
Beckhoff Automation GmbH
Eiserstr. 5
33415 Verl
Germany
Phone: +49(0)5246/963-0
Fax: +49(0)5246/963-198
e-mail: [email protected]
Beckhoff Support
Support offers you comprehensive technical assistance, helping you not only with the application of individual Beckhoff
products, but also with other, wide-ranging services:
support
design, programming and commissioning of complex automation systems
and extensive training program for Beckhoff system components
Hotline: +49(0)5246/963-157
Fax: +49(0)5246/963-9157
e-mail: [email protected]
Beckhoff Service
The Beckhoff Service Center supports you in all matters of after-sales service:
on-site service
repair service
spare parts service
hotline service
Hotline: +49(0)5246/963-460
Fax: +49(0)5246/963-479
e-mail: [email protected]
Page 78