Step 7 From Step 7 to *.ati files

Caporeira

Level-2
Beiträge
20
Reaktionspunkte
0
Zuviel Werbung?
-> Hier kostenlos registrieren
Hi Guess!
I have question to your.

I have folder with project from Step 7. And now i need the structure from this project convert to *.ati files.
I had read that i need pcst.xdb file, must this file to Station Configurator import.

Is anywhere a tutorial how do make this ? Because i can´t find xdb file and I don´t know what I must do next.
 
Hi,
for which software do you need a *.ati file?

The xdb-files are used to configure a PC station, if you want to use Simatic.Net OPC for example. To get a xdb-file you need to configure a PC-Station in the Simatic-Manager, and compile the station. Then a xdb file is generated, and saved in the folder XDBs of the Step7-Project folder.

Maybe it's better you write us what you want to do with the ati and xdb files.
 
Zuviel Werbung?
-> Hier kostenlos registrieren
Hi,
I want *.ati file for Siemens Communication Settings.
The reason why I ask you, is I want to have connection between SCADA and PLC.

I have project from PLC programmer (Step 7), and software for communication
(SIMATIC NCM Manager,
Station Configuration Editor,
Siemens Communication Settings,
Siemens AG - OPC Scout,
Symbol Editor).

With file do I need from PLC project ?
 
You only need the xdb file, this file includes the symbols.
If you import or download the xdb to your PC-Station, you can get access via absolute adressing or via configured symbols. You find the generated sti file on the PC-Station inside a subfolder of the Simatic Net installation, but I have never needed to look inside.

Remind that you only get the symbols of the S7-Program when you have a) a specified connection configured from PC-Station to S7, and b) in the OPC-Server it's configured to generate the symbols, by default no symbols are exported.
 
Thank you very much for your answer.

You have right, I need xdb file. But how can I get this file ?
PLC programmer can generate me only *.awl file.

Can you give me a links where can I read and learn something how this works (connection between SCADA and PLC project) ?

Thank You :)
 
Zuviel Werbung?
-> Hier kostenlos registrieren
I my opinion the documentation that comes with Simatic.Net is rather good. You should read at least this manual:
https://cache.industry.siemens.com/dl/files/666/13542666/att_72780/v1/PH_PC-Stations_76.pdf

But at first you have to decide if you want to use symbolic or absolute addressing in your OPC client.

If you want to use symbolic addressing, the best way is that the PLC programmer adds and configures your PC station in his Step7 project with the PLC you want to connect to. Then he generates and gives you the xdb file which you can import into your PC station, and can get access via the PLC symbols. If the PLC programmer makes changes in the program, he sends you the actual xdb and you can get access to the new variables.

If you want to use absolute addressing, then you can configure the PC station on your own with only the hardware you need, and an unspecified connection to the PLC you want to connect to. Then you need a list from the PLC programmer, on which address in the PLC you can get the values you need. For example, he says temperature of oven 1 you can get at address DB1.DBD100 as Real value. If you've got the PLC-program as awl file, you can get the addresse if you compile the file in Simatic Manager back to the program, and look on the absolute addresses.
 
Thank you very much.
Now I have good lecture to read :)
But I can't found how to generate xdb file in Step7 :(
I found only that in project S7 should be XDBs folder, where can I found xdb files.

Unfortunately I have only YDBs folder, but inside isn't xdb files :(
 
You need to configure a PC station, then you'll get the XDB folder and the xdb file of this station when you compile the station.

If you have more than one PC station, you can find out the xdb-filename which belongs to the station, if you call the object-properties of the station from the Simatic-Manager (right click on station).

simatic-pc-station.png
 
I don't know why you now want to use csv files?

Without additional software, it's only possible to export the tags and address information from Simatic Manager if you have a configured PC-Station.

You configure a PC-Station into the project with an OPC-Server, and the connections in Netpro to the PLCs you want to connect to. Just the same way you would do if you want to generate a xdb.
Then you choose the export functions of the OPC-Server. See attached PDF with some screenshots (german Step7 version).
 

Anhänge

  • Step7-Export-Symbole-via-PC-Station-OPC.pdf
    243,5 KB · Aufrufe: 52
Zurück
Oben