Blog

Connecting to a Siemens PLC with Access Address

Connecting to a Siemens PLC with Access Address

There are occasions when a Siemens PLC may need to be commissioned with a different IP address than the one assigned in the project. In the case of a single PLC, this is no big deal and it is a simple matter to update the project to match the IP address of the PLC as installed in the final location.  

There are several ways this might happen:

  • The PLC IP address was changed from the value set by the original builder.
  • There is a managed switch performing 1-to-1 NAT between the PLC and the rest of the industrial network.
  • The PLC is remote and has the appropriate ports forwarded through the firewall.

However, if the machine is one of many, it doesn't always make the most sense to modify the IP address in the hardware config for the PLC. Imagine trying to maintain 12 copies of the same program where the only difference is the IP address of the controller!

Fortunately, Siemens has thought of this problem and has implemented a solution in the form of "Access Address". In essence, this lets you connect and download to a PLC with an IP address that you can reach with your development PC, even if that IP does not match the hardware config of your project.

This can be accomplished in TIA Portal, or in the older Simatic Manager.

TIA Portal

Note: You can watch a Youtube video of another user going through this process here, though the audio is in German.

  1. Navigate to the hardware config of your PLC and select the Ethernet port. You should see the configured IP Address here. Depending on the installation, you may or may not be using a router.
    Select the Ethernet port in the hardware config of your PLC in Siemens TIA Portal
  2. Select "IP address is set directly at the device" in the IP protocol section.Go to the IP Protocol section in TIA Portal and select "IP address is set directly at the device". This is the last radio button in the IP protocol section.
  3. Now, try to go online or download to your PLC to get to the network connection dialog.Try to connect to your PLC or go online to get the network connection dialog in Siemens TIA Portal.
  4. Double-click on the address field under "Compatible devices in target subnet", add your PLC's IP address, and hit enter. You'll see connection established in the "Online status information" area.To establish the connection to your PLC in TIA Portal, find the address field under "Compatible devices in target subnet" and add your PLC's IP address.
  5. Go online or download your code.

SIMATIC Manager

  1. Highlight the program block for the PLC you wish to access.
    Select the program block for the PLC you want to connect to in Siemens SIMATIC Manager
  2. Select PLC -> Access Address…
    Select PLC in the dropdown list between Insert and View, then click the Access Address option.
  3. Enter the address upon which your PLC is accessible here:
    At the Access Address window in Siemens SIMATIC Manager, enter your PLC's IP address.
  4. Go online and do what you need to do!

Learn more about DMC's Siemens PLC Programming Services.

Comments

Raj
# Raj
is it possible to download PLC logic from PLC to TIA portal..??PLC to TIA ..
Andres Felipe
# Andres Felipe
Dear Leon,


I have 11 machines all are the same, and them includes a CPU1217 with CP1243-1 , TP700 Comfort, S120 CU310-2PN and a PAC3200, all connected to a switch. in the project for all I have put the same IP for PLC, HMI, S120, PAC, but now the customer toldme that I have to connect all the machines to the same network.
Can you suggest how using this function can I handle this requirement?

Post a comment

Name (required)

Email (required)

CAPTCHA image
Enter the code shown above: