-
Print
-
DarkLight
-
PDF
Siemens TIA V16 - How to solve connection issues
This guide is a temporary solution to using Secomea LinkManager and TIA portal v16
This workaround allows you to remote access your Siemens PLC and HMI with TIA 16.
Agent Setup
Note: The "Layer2 agent" will by default provide full network access to everything on the DEV1 network, so it is highly recommended that you fill in the Device IP Address and/or the Device MAC Address fields of the PLC or HMI in question so that access from LinkManager is restricted to just this device.
Preparation
- Ensure that LinkManager is not running, this can be checked in the lower right corner next to the clock, if there is a LinkManager icon, right-click and click "Exit".
- Ensure you have the newest LinkManager installed by downloading and installing from here: Click here.
Agent Setup
On the SiteManager you want to connect to you must create a "Layer 2 agent".
- Access the SiteManager GUI via the GateManager.
- SiteManager, create an agent with Device Type: "Generic" and choose "Layer2" agent.
- Fill out the IP of the device and optionally its MAC address to limit access to the network, it is however not required, but as mentioned earlier provides increased security.
- Click Save.
Create Network Bridge
- Click "Windows button + R", this should open the "Run" prompt.
- Type "cmd" and press SHIFT + CTRL + Enter, this will open Command Prompt in Administrator mode.
- Copy and paste "cd C:\Program Files\Secomea\LinkManager" and press enter.
(note if you have changed the default installation folder change accordingly). - Copy and paste "tapmgr create “LinkManager L2 Adapter" and press enter.
- Copy and paste "tapmgr create “Dummy Adapter” and press enter.
- Press "Windows button + R" this should open the "Run" prompt.
- Type "ncpa.cpl" and press enter or "ok" button.
- The window containing your network adapters should open.
- If the "LinkManager L2 Adapter" is disabled you must right-click the adapter and enable it.
- Now Select the "LinkManager L2 Adapter" and the Dummy Adapter and right click and choose "Bridge Connections".
- Now right-click the newly created "Network Bridge" and choose "Properties".
- In the new window that opens remove the checkmark from "Dummy Adapter" and click "OK".
- Click "Windows button + R", this should open the "Run" prompt.
- Type "cmd" and press SHIFT + CTRL + Enter, this will open Command Prompt in Administrator mode.
- Copy and paste "tapmgr remove “Dummy Adapter” and press enter.
- If you do not have a DHCP server setup on the DEV1 port you must follow this guide here - the "Layer 2 agent" does not work without assigning an IP to the "Layer 2 network adapter".
- It is recommended to reboot your PC or Virtual machine at this point as TIA may not correctly find the new Bridge Connection.
Setup TIA portal
- Login to GateManager and connect to the Layer 2 agent you have created.
- In the TIA portal open your project as you would normally.
- To set the LinKManager connection as your default connection in the TIA portal do the following, else skip to step 9.
- In the TIA portal, select "Options" and then "Settings".
- In the new window find and click "Online & diagnostics" and then the subcategory "Default connection path for online access".
- In "Type of the PG/PC interface", select "PNIE".
- In PG/PC interface, select "Microsoft Network
Adapter Multiplexor Driver".
Note: the name may vary, depending on the Windows version. - Save the settings.
- Now "Go online" to your project as you would normally.
- Note: If you do not want to set the LinkManager connection as default, do the following.
- Choose "extended Go online.
- In "Type of the PG/PC interface", select "PNIE".
- In the PG/PC interface, select "Microsoft Network Adapter Multiplexor Driver".
- Click start search.
Troubleshooting
I get the following error - SetupDICreateDeviceInfo failed:This happens because Command Prompt is not in elevated administrator mode - you must search for CMD in the windows search bar and right click and choose "Run as administrator".
TIA cannot find the "Microsoft Network Adapter Multiplexor Driver":
Try rebooting your machine, if this does not work contact support.
My device is located on DEV2-3 in separation mode and is not working.
Unfortunately, a Layer 2 agent only works for DEV1 and only supports DEV2-3 if they are NOT in separation mode.
Was this article helpful?