AutoIt-UDF für Siemens Step 7 API, für den Import / Export von Quelltexten und zum Erstellen von Hardwarekonfigurationen.
Zur einfachen Hardware-Konfiguration damit, gibt es eine weitere AutoIt-UDF: _S7_HW_Config
Simatic.Simatic.1
- OBJ _S7_Simatic_ObjCreate / Simatic = Simatic.Simatic.1
- BOOL _S7_Simatic_AutomaticSave / Simatic.AutomaticSave (Read / Write)
- BSTR _S7_Simatic_VerbLogFile (read write)
- _S7_Simatic_SetPGInterface / Simatic.SetPGInterface (Opens Dialog)
- _S7_Simatic_UnattendedServerMode !!!
- LONG _S7_Simatic_MsgAssignmentType / Simatic.MsgAssignmentType (Read / Write)
- BOOL _S7_Simatic_IsSilentMode (read)
- _S7_Simatic_Save / Simatic.Save (void)
- HRESULT _S7_Simatic_GetSTEP7Language / Simatic.GetSTEP7Language (Read) ??? funktioniert nicht mit AutoIt
Simatic.Projects
- OBJ _S7_Projects_GetProject
- BOOL _S7_Projects_Exists
- Array _S7_Projects_GetList
- Int _S7_Projects_Count
- BOOL _S7_Projects_Add
Simatic.Projects.Project
- Array _S7_Project_GetInfo
- _S7_Project_Name
- String _S7_Project_Creator (Read / Write)
- String _S7_Project_Comment (Read / Write)
- Bool _S7_Project_Remove
Simatic.Projects.Project.Stations
- OBJ _S7_Stations_GetStation
- Bool _S7_Stations_Exists
- Array _S7_Stations_GetList
- Int _S7_Stations_Count
- Bool _S7_Stations_Import
- Bool _S7_Stations_Add
- Bool _S7_Stations_Remove
Simatic.Projects.Project.Programs
- Array _S7_Programs_GetList
Simatic.Projects.Project.Programs.Next("Blocks")
- OBJ _S7_Blocks_GetBlock
Simatic.Projects.Project.Programs.Next("Source Files")
- OBJ _S7_SourceFiles_GetSource
- Bool _S7_SourceFiles_Export
- Bool _S7_SourceFiles_Add
- Bool _S7_SourceFiles_Compile
- Array _S7_SourceFiles_GetInfo
AutoIt
Siemens Step 7 V5.x
Die UDF in das Include Verzeichnis von AutoIt kopieren.
Hardware-Konfiguration: _S7_HW_Config
...
- Beispiele
- Beschreibung der Funktionen
Thorsten Willert
Das ganze steht unter der Apache 2.0 Lizenz .