Siemens

This article will help you to remotely connect to your Siemens device using the X4 remote to set up a secure remote connection.

The prerequisites for this guide are

* Siemens industrial hardware (equipped with Ethernet). The devices used in this guide are a Simatic S7-1200 and a LOGO! 0BA7 from Siemens.
* x500 IoT gateway registered to your company on the X4 remote (view our x500 IoT gateway registration guide)
* X4 remote account (view our getting started guide)

First you’ll have to properly configure your controller. Once that’s done, you can remotely connect to it.

Configure your Siemens controller

This chapter shows you how to configure your Siemens controller for remote access using:

Basic LOGO! variants

You can set the IP address directly at the device, using the built-in screen and keys, following the next steps:

  • Navigate to [Network] using the up/down arrow keys and press [OK].
  • Navigate to [IP address] and press [OK].
  • Here you can enter the controller’s IP addresssubnet mask, and (default) gateway by navigating up/down. The IP address needs to share the subnet of your x500 IoT gateway but cannot match their exact IP address. The subnet could for example be “192.168.140”, meaning the last figure “.1” can vary anywhere from 1 to 254 as long as it’s different from the x500 IoT gateway. The subnet mask needs to be the same as the x500 IoT gateway, which is usually 255.255.255.0. The (default) gateway should be set to the IP address of the x500 IoT gateway.

Edit values

Press [OK] to be able to change the current value. Use the left/right arrow keys (selection) and the up/down arrow keys (change value) to change values. Press [OK] again to save your changes.

Pure LOGO! variants

These controller variants do not include a built-in screen or physical keys. To configure a Pure variant, you first need to be connected to your LOGO! controller:

  • Connect the LOGO! controller directly to your PC via an Ethernet cable.
  • Start LOGO!Soft Comfort V8.
  • Go to the [Network Project] tab and press [Go online] in the “Network view”. If only one interface is active at your PC, then LOGO!Soft Comfort should find the LOGO! controller, independent of its IP address.

Can’t find the LOGO! controller?
If LOGO!Soft Comfort is unable to find your LOGO! controller, you can try to connect to your controller’s default IP address: 192.168.0.1 or 192.168.0.2.

Once connected, you can configure the IP address of the LOGO! controller.

  • Open the settings by pressing the gear-icon of the LOGO! controller.
  • Here you can set the controller’s IP addresssubnet mask, and default gateway in the [Offline settings] > [General] tab. The IP address needs to share the subnet of your x500 IoT gateway but cannot match their exact IP address. The subnet could for example be “192.168.140”, meaning the last figure “.1” can vary anywhere from 1 to 254 as long as it’s different from the x500 IoT gateway. The subnet mask needs to be the same as the x500 IoT gateway, which is usually 255.255.255.0. The (default) gateway should be set to the IP address of the x500 IoT gateway.
  • Lastly, you have to download your settings to the controller by pressing the “PC -> LOGO”-icon, highlighted below.

TIA Portal

  • Once you have opened your project in TIA Portal, open the [Device configuration] in the project tree on the left.
  • Double click the controller or right-click and select [Properties].
  • Select [Ethernet addresses].
  • Enter in the controller’s IP addresssubnet mask, and (default) gateway under the header “IP protocol”. The IP address needs to share the subnet of your x500 IoT gateway but cannot match their exact IP address. The subnet could for example be “192.168.140”, meaning the last figure “.1” can vary anywhere from 1 to 254 as long as it’s different from the x500 IoT gateway. The subnet mask needs to be the same as the x500 IoT gateway, which is usually 255.255.255.0. The (default) gateway should be set to the IP address of the x500 IoT gateway.
  • Select the device name in the project tree on the left again and click on the “download to device“-icon at the top.
  • This opens a new window that allows you to search for your device by pressing [Start search]. If TIA Portal can’t find your device, but you know the device’s IP address, you can manually enter its IP address in the field highlighted below.
  • Once a device is found you can download the new configuration by pressing [Load].
  • A new window named “Load preview” opens. If you are unable to download to the device, try pressing [Refresh] in the bottom right corner or changing an action in the right column. Press [Load] once the appropriate actions are selected. Your configuration is now being loaded into the Siemens controller.

Remotely connect to your Siemens controller

Connect to you x500 IIoT gateway

The following steps require you to be connected to your x500 IoT gateway. View our getting started guide for more information.

This chapter shows you how to connect to your Siemens controller using:

To connect to your Siemens controller in LOGO!Soft Comfort, you first need add your device to your project. If you have already done so, skip the first 2 steps.

  • Add your device by pressing [Add New Device].
  • Enter your device’s IP addresssubnet mask, and (default) gateway under the header “IP protocol”. The IP address needs to share the subnet of your x500 IoT gateway but cannot match their exact IP address. The subnet could for example be “192.168.140”, meaning the last figure “.1” can vary anywhere from 1 to 254 as long as it’s different from the x500 IoT gateway. The subnet mask needs to be the same as the x500 IoT gateway, which is usually 255.255.255.0. The (default) gateway should be set to the IP address of the x500 IoT gateway.
  • Select your device and press [Go online] in the “Network view”.

Unable to access the remote device

On a Mac you may receive a message saying “Unable to access the remote device”. Simply press [OK] and select the previous action again.

TIA Portal

To connect to your Siemens controller in TIA Portal, you first need add your device to your project. Please see the first 4 steps in the previous chapter if you have not yet configured your device in TIA Portal.

  • Select the device name in the project tree on the left and press [Go online].
  • Select the TAP-Windows Adapter as interface and search for your device by pressing [Start search].

Unable to find device?

If TIA Portal is unable to find your device, you may try to enter the device’s IP address directly in the “Access address”-field, as is depicted below. This forces TIA Portal to attempt to connect specifically to that IP address.

Additional features

Does your controller also support other functionalities? Such as an HTTP/VNC/WS server?View our HTTPVNC, and WS service articles to show you how to easily access them.