DMC recently provided remote support for one of our customers. We made critical updates to their PLC code as they were commissioning their machine internationally.
Unfortunately, our client didn’t have TIA Portal software available at the time. They were afraid that this made it impossible to download the new version of the code to the PLC in the field.
Fortunately, Siemens offers the SIMATIC Automation Tool as a free download (just sign up for an account first) on their website. The SIMATIC Automation Tool was perfect for our client's situation. It allowed them to seamlessly download the updated PLC code and commission the machine on schedule.
This blog will walk you through the entire process of downloading a new PLC program to an S7-1200 or S7-1500 CPU using the SIMATIC Automation Tool.
First, you will learn how to connect a computer to the same network as the PLC. I will then show you how to save the PLC program in a format that the SIMATIC Automation Tool can use. Next, I will walk through using the SIMATIC Automation Tool itself. Finally, I'll review some of the other capabilities of the SIMATIC Automation Tool.
0. Connect your computer to the same network as the PLC
Connect an Ethernet cable directly from the S7-1200 or S7-1500 PLC to your computer. Next, set your computer’s IP address to be on the same network as the PLC. In order to do this, click the Start button and search for Network and Sharing Center. Open the Network and Sharing Center. On the left, there should be an option that says Change Adapter Settings. Click that.
Now you should see a connection that says Ethernet or Local Area Connection. Double click on it.
In the dialog box that opens, click Properties
In the next dialog box that comes up, there will be an option that says Internet Protocol Version 4 (TCP/IPv4). Double click on this option.
In the next dialog box, select Use the Following IP Address. You need to enter an IP address that is on the same network as the PLC you are going to connect to.
This means the first three numbers of your computer’s IP Address must be the same as the first three numbers of the PLC’s IP Address. In this case, our PLC IP Address is 192.168.0.1, so we assign our computer to be 192.168.0.100. In the subnet mask field, 255.255.255.0 is typically used. Click ok.
1. Generate the S7S File using TIA Portal
In order to download to a PLC using the SIMATIC Automation Tool, you need the PLC program in an S7S File Format. Whoever wrote the PLC program should follow these steps using TIA Portal to generate the S7S File for you to use.
First, map a file directory on the TIA Portal computer to a Card Reader/USB Memory location. To do this, open the PLC project in TIA Portal and click Project -> Card Reader/USB Memory -> Add user-defined Card Reader:
Select your desired file location in the dialog box that follows.
Once you have mapped the Card Reader/USB Location, select the PLC in the project tree.
Then click Project -> Card Reader/USB memory -> Write to memory card...
Select the file location you mapped earlier and press the green check mark.
Send the resulting S7S File to the computer that is running SIMATIC Automation Tool.
2. Using the SIMATIC Automation Tool
On the SIMATIC Automation Tool computer, save the S7S File in the following directory:
C:\ProgramData\Siemens\SIMATIC Automation Tool\Programs
In our situation, DMC simply emailed the S7S file to our client and they saved it in the proper location on their computer.
Now that your computer is connected to the same network as the PLC and the new program is saved in the correct location, launch the SIMATIC Automation Tool.
Scan for the PLC by clicking Network -> Scan:
If everything is configured correctly, you will find the PLC and the SIMATIC Automation Tool should look like this:
Now select the Program Update Tab. In the Program Update area, open the dropdown and you should see the name of the folder that you saved the S7S File in. Select that:
Now check the box next to the PLC, and then select Network -> Download:
The program will take a minute or two to download to the PLC. Once it is done downloading, the PLC will be in STOP mode. To put the PLC back into RUN mode, select Network -> RUN.
The PLC should now be running the newest version of the program!
3. Other Functions of the SIMATIC Automation Tool
According to the Siemens website, the SIMATIC Automation Tool can also perform the following functions:
Assign addresses (IP, subnet, gateway) and station name (PROFINET device)
Set the time in a CPU to the current time in your PG/PC
Backup/Restore CPU data to/from a backup file (no failsafe)
Flash the lights on a CPU to help physically locate the CPU
Upload fault information from a CPU
Read the diagnostic log from a CPU
Reset a CPU to factory default settings
Update firmware in a CPU and attached modules
These functions make the SIMATIC Automation Tool a useful asset for any facility running an S7-1200 or S7-1500 PLC. It allows you to perform basic maintenance functions in a simple interface.