Eine AutoIt-UDF für die Tabellenkalkulation PlanMaker der Firma SoftMaker, mit folgenden Funktionen:
Kompatibel mit SoftMaker Office 2018 und FreeOffice 2018.
Funktion | Beschreibung |
---|---|
_PlanMaker_BookAttach | Script mit geöffnetem PlanMaker verbinden |
_PlanMaker_BookClose | PlanMaker Workbook schließen |
_PlanMaker_BookNew | Neues Workbook erstellen |
_PlanMaker_BookOpen | Workbook öffnen |
_PlanMaker_BookSave | Workbook speichern |
_PlanMaker_BookSaveAs | Workbook speichern unter .. |
_PlanMaker_CellRangeByPosition | Gibt einen Bereich anhand der Positionen zurück |
_PlanMaker_CellRead | Ließt den Inhalt einer Zelle |
_PlanMaker_CellWrite | Schreibt den Inhalt einer Zelle |
_PlanMaker_DocumentPropertyGet | Gibt eine bestimmte Eigenschaft dea aktuellen Dokuments zurück |
_PlanMaker_DocumentPropertyGetAll | Gibt alle Eigenschaften des aktuellen Dokuments als Array zurück |
_PlanMaker_DocumentPropertySet | Setzt eine Eigenschaft des aktuellen Dokuments |
_PlanMaker_FormatBorder | Formatiert einen Rand |
_PlanMaker_FormatBorders | Formatiert alle Ränder |
_PlanMaker_FormatBorders_All | Formatiert alle Ränder eines Bereichs |
_PlanMaker_FormatBorders_Frame | Formatiert den Außenrand eines Bereichs |
_PlanMaker_FormatBorders_Inner | Formatiert die inneren Ränder eines Bereichs |
_PlanMaker_FormatFont | Schriftformatierung eines Bereichs |
_PlanMaker_FormatNumber | Nummer-Formatierung eines Bereichs |
_PlanMaker_FormatShading | Hintergrund eines Bereichs |
_PlanMaker_FormulaRead | Ließt die Formel einer Zelle |
_PlanMaker_FormulaWrite | Schreibt die Formel einer Zelle |
_PlanMaker_PageSetup | Seiten Formatierung |
_PlanMaker_Print | Druckt die aktuelle Tabelle |
_PlanMaker_Quit | Beendet Planmaker |
_PlanMaker_Color2SmoColor | Wandelt RGB und HEX Farbwerte in SoftMaker-Office BGR Farben um |
_PlanMaker_ScreenUpdate | Schaltet die Aktualisierung der Anzeige ein/aus |
_PlanMaker_SheetActivate | Aktiviert ein Arbeitsblatt |
_PlanMaker_SheetAddNew | Erstellt ein neues Arbeitsblatt |
_PlanMaker_SheetDelete | Löscht das aktuelle Arbeitsblatt |
_PlanMaker_SheetList | Gibt ein Array mit einer Liste aller Arbeitsblätter zurück |
_PlanMaker_SheetFromArray | Schreibt alle Werte eines 2D-Arrays in ein Arbeitsblatt |
_PlanMaker_SheetToArray | Liest alle Werte eines Arbeitsblattes in ein 2D-Array |
_PlanMaker_UserPropertyGet | Gibt eine Benutzereigenschaft zurück |
_PlanMaker_UserPropertyGetAll | Gibt ein Array mit allen Benutzereigenschaften zurück |
_PlanMaker_UserPropertySet | Setzt eine Benutzereigenschaft |
AutoIt-UDF für die Siemens Step 7-API zur automatischen Hardware-Konfiguration.
Diese UDF baut auf der _S7_COM auf.Grundfunktionen | |
---|---|
_S7_HWConfig_Add_Rack | |
_S7_HWConfig_Add_CPU | |
_S7_HWConfig_Add_CPU_Moduls | |
_S7_HWConfig_Add_SubSystem | |
_S7_HWConfig_Add_SlaveModuls |
Hilfsfunktionen | |
---|---|
_S7_HWConfig_TypeSelect |
Spezielle Baugruppen | |
---|---|
_S7_HWConfig_Add_ET200S | |
_S7_HWConfig_Add_IM153 | |
_S7_HWConfig_Add_DP_Koppler | |
_S7_HWConfig_AddFestoPP |
; S7-Object - Projekt und Station müssen vorhanden sein.
Local $oS7 = _S7_Simatic_ObjCreate()
_S7_Simatic_AutomaticSave($oS7, False) ; Automatisches Speichern ausschalten - wegen der Geschwindigkeit
If @error Then Exit
; Projekt-Object
Local $oSt = $oS7.Projects("HW_Config_Test").Stations("SIMATIC 300(1)")
; Rack in Projekt einfügen
Local $oRack = _S7_HWConfig_Add_Rack($oSt, "rack1")
; CPU in Rack einfügen
Local $oCPU = _S7_HWConfig_Add_CPU($oRack, "CPU 317-2PN/DP", "6ES7 317-2EK14-0AB0")
Local $oSub = _S7_HWConfig_Add_SubSystem($oCPU, "Kreis 1") ; SubSystem-Verbindung mit CPU
; Konfiguration für CPU-Module - werden in Rack eingefügt
Dim $aSlave[2][5]
$aSlave[0][0] = "AO8x12Bit"
$aSlave[0][1] = "6ES7 332-5HF00-0AB0"
$aSlave[0][2] = -1
$aSlave[0][3] = 0
$aSlave[1][0] = "DI32xDC24V"
$aSlave[1][1] = "6ES7 321-1BL00-0AA0"
$aSlave[1][2] = -1
$aSlave[1][3] = 0
_S7_HWConfig_Add_CPU_Moduls($oRack, $aSlave)
; verschiedene andere Geräte - werden in SubSystem eingefügt
_S7_HWConfig_AddFestoPP($oSub, "PP2", 13, 14)
_S7_HWConfig_Add_DP_Koppler($oSub, "PP-Koppler", 90)
; Projekt speichern
_S7_Simatic_AutomaticSave($oS7, True)
Simatic Simatic.Simatic.1 | |
---|---|
_S7_Simatic_ObjCreate / Simatic = Simatic.Simatic.1 | |
_S7_Simatic_AutomaticSave / Simatic.AutomaticSave (Read / Write) | |
_S7_Simatic_VerbLogFile (read write) | |
_S7_Simatic_SetPGInterface / Simatic.SetPGInterface (Opens Dialog) | |
_S7_Simatic_UnattendedServerMode !!! | |
_S7_Simatic_MsgAssignmentType / Simatic.MsgAssignmentType (Read / Write) | |
_S7_Simatic_IsSilentMode (read) | |
_S7_Simatic_Save / Simatic.Save (void) |
Projects Simatic.Projects | |
---|---|
_S7_Projects_GetProject | |
_S7_Projects_Exists | |
_S7_Projects_GetList | |
_S7_Projects_Count | |
_S7_Projects_Add |
Project Simatic.Projects.Project | |
---|---|
_S7_Project_GetInfo | |
_S7_Project_Name | |
_S7_Project_Creator (Read / Write) | |
_S7_Project_Comment (Read / Write) | |
_S7_Project_Remove |
Stations Simatic.Projects.Project.Stations | |
---|---|
_S7_Stations_GetStation | |
_S7_Stations_Exists | |
_S7_Stations_GetList | |
_S7_Stations_Count | |
_S7_Stations_Import | |
_S7_Stations_Add | |
_S7_Stations_Remove |
Programs Simatic.Projects.Project.Programs | |
---|---|
_S7_Programs_GetList | |
_S7_Programs_GenerateSource |
SymbolTable | |
---|---|
_S7_SymbolTable_Export | |
_S7_SymbolTable_ExportToExcel (req. MS-Excel) |
Blocks Simatic.Projects.Project.Programs.Next("Blocks") | |
---|---|
_S7_Blocks_GetBlock | |
_S7_Blocks_GetInfo |
Source Files Simatic.Projects.Project.Programs.Next("Source Files") | |
---|---|
_S7_SourceFiles_GetSource | |
_S7_SourceFiles_Export | |
_S7_SourceFiles_Add | |
_S7_SourceFiles_Compile | |
_S7_SourceFiles_GetInfo |
Eine AutoIt-UDF für das POP3-Protokoll, mit folgenden Funktionen:
Funktion | Beschreibung |
---|---|
_POP3Info | Returns an array with the specified informations about all mails |
_POP3Connect | Connects to the according pop3 server. With “automatic” mode - tries to find the pop3-server by your E-Mail adress |
_POP3Dele | Delete msg n-msg_number. |
_POP3Disconnect | Shuts down connection. |
_POP3List | Returns an array with the msg number and its size (octets) |
_POP3Noop | Actually, does nothing. |
_POP3Quit | Validates your actions (dele for example) and stops the connection as it should. |
_POP3Retr | Downloads the according message. |
_POP3Rset | Withdraw changes, such as dele orders. |
_POP3Stat | Gets the number of messages in the pop3 account (array[1]) and the size(array[2]) in octets |
_POP3MsgCnt | Returns the number of messages |
_POP3Top | Retreives the mail headers, and the X first lines of the message |
_POP3Uidl | Same as _POP3List(), but with UIDL identifiers instead of message size. |