Name of curretly open picture
How can I get the name of the currently open picture/screen? This is a migrated post! Originally posted on 28.12.2009 by user scotttee. Please be aware that information can be outdated.
refreshing the variable used
how can I refresh the values that changed by VBA?thus,when the values of varibale was changed the changed value in automatically way be refreshed in RT. This is a migrated post! Originally posted on 19.12.2009 by user michael_k. Please be aware that information
Learning book for VBA?
Any suggestions for a VBA learning book (in English) for beginners? I mean, something beginning from A, B, C… :o This is a migrated post! Originally posted on 04.12.2009 by user nxen. Please be aware that information can be outdated.
Abzahl der Online Container
Hallo damit wir in der RT das Projekt (Maximale Vorlage) besser zusammen stellen können, arbeiten wir mit Modularen kleinen OnlineContainer. Derzeit haben wir in der RT ca. 20 OnlineContainer (wo beei einige undefined sind), die auf verschiedenen Treibern
VBA Interne Var setting if a source var is invalid
Hallo, ich werte eine Variable vom Gateway Station aus. Benotige die Funktionalitat, falls diese Single Point Information den I-bit gesetzt hat, eine interne Variable zu setzen. Limit ist nicht nutzbar, da die dynamische Variable nur mittels Wert trigerbar
6.50: Changing driver mode via VBA
With zenon 6.50 it is possible to access the driver config via VBA for some drivers (by Nov. 2009: "S7TCP32;IEC870;LOGIX32") If you are in the situation that you have an integration project with many sub projects including many drivers, it will take some
beispiel für online container
Hallo, wo konnte ich Beispiel zum Onlinecontainer fur VBA finden ? Konnten Sie mir ein Beispiel senden ? Danke. P.S. Vielleicht konnen Sie die Anschrift "Crash" auf etwas Passendes umbenenen :0) This is a migrated post! Originally posted on 02.12.2009
Access to Alarm Classes
Hello I need to get colors from Alarm Classes defined in Projest\Variables\Alarm\Alarm Classes in SCADA-Editor. How can I do it? Thank you. This is a migrated post! Originally posted on 02.12.2009 by user olga. Please be aware that information can be
Counting mathematic variables (with formulars) and constants
As mentioned in the help documentation at Drivers -> MATHDR32 -> Creating variables -> Addressing there is a limit how many variables from the mathematic driver can be created: You can configure a maximum of 4096 Mathematics variables with formulas. If
Properties IsMax and IsMin of Limit
Hello. Please help me. Why the property isMax of variable's limits returns TRUE in all cases (even if I set limit as minimum in SCADA Editor) and property isMin is failed always? What I did wrong? I wrote: ThisProject.Variables.Item(i).Limits.item(0).IsMax
Modify substitute value with vba????
Modify substitute value with vba???? :confused::confused::confused::confused: This is a migrated post! Originally posted on 27.11.2009 by user westbaaam. Please be aware that information can be outdated.
switch to the alternate value
how to switch variable to the alternate value:confused::confused::confused::confused: This is a migrated post! Originally posted on 27.11.2009 by user westbaaam. Please be aware that information can be outdated.
Avalue
Hello how to set value with VBA when variable have "AVALUE" status?. Driver: IEC 101-104 This is a migrated post! Originally posted on 25.11.2009 by user westbaaam. Please be aware that information can be outdated.
Execute VBA macro
Hello, I need to check a boolean signal then switching another. I use for this purpose VBA macro, but the result while is not present. How to start macro VBA with the function "Execute VBA macro"? Public Sub SELECT_ALARM(obElem As Element) MsgBox "Hello"
Mit Mouseover eine Funktion ausführen??
Hallo :) Ich bin absoluter Neuling was vba code betrifft...:(! Ist es möglich, mit einer Mouseoverfunktion einer varialbe (bool) einen sollwert zu geben z.B. mittels einer Funktion? Mouseover=True -> Variable 1 Mouseover=False -> Variable 0 Vielen Dank
Internal Variable Calculation "Network"
Hello! Does someone wich phrase i would need to set the calculation of some internal variable sub items to "Netwok" with VBA in Zenon? Thank you! This is a migrated post! Originally posted on 18.11.2009 by user kicker. Please be aware that information
Title as Dialoges dynamisch aus VBA
Hallo Ich möchte gerne ein Bild im Header(Titel) einen Index aus aus einer Variable mit geben; sprich das Bild heisst @PopUp_Eingabe. Beim Aufschalten wird im Header der Text aus der aktuellen Text-Datei angezeigt. Zusätzlich hätte ich gerne einen Index
Rema state
It's some way to get with VBA variable current state on REMA?:confused: This is a migrated post! Originally posted on 12.11.2009 by user westbaaam. Please be aware that information can be outdated.
Aktuell aktive Rezeptgruppe ermitteln
Hallo Zusammen Gibt es eine Möglichkeit die in der Bildaufschaltungsfunktion ausgewählte Rezeptgruppe eines Bildes vom Typ Rezeptgruppen-Manager auszuwerten bzw zu erfahren. Ziel ist es das zuletzt abgesetzte Rezept der Rezeptgruppe darzustellen, da aber
Get a variable value
Hello, I would like to get the value of a variable, but ZenOn throws me an "Undefined" error. That is the code I implemented at this moment. VBA Code: Dim Temp As variable Temp = thisProject.Variables.Item("time_temp").Value() Thanks for helping. This
PCE or ms in VBA
hello we have some problems with PCE, we configure it, but it does not start. What could be a problem? Second question: is it imposible to run in cycle vba macro with interval 10-100 ms This is a migrated post! Originally posted on 04.11.2009 by user
Select trend profile from VBA
Is it possible to select a trend profile during runtime from VBA? I have the Control element -> Profile -> Profile selection Combobox in an extended trend picture. I would like to be able to select a profile from VBA. I found this which works for getting
Rezeptwertprüfung in VBA
Hallo, suche die VBA-Lösung für die Bildfunktion Rezeptwertprüfung. Hintergrund: ich sollte mehrere Rezepte überprüfen und ausgeben ob die Werte noch die gleichen sind, und anzeigen wieviele Werte in jedem einzelnen Rezept nicht mehr übereinstimmen. Auf
MS Forms 2.0 Listbox
Hallo ich starte von einem Bild ein Dialog auf, indem ich eine ActiveX Element implementiert habe. Es handelt sich um die MS- Listbox. Die Listbox ist mit einen Init-Makro projektiert und wird im VBA befüllt. Nach dem Befüllen passt sdas Control, inabhängigkeit
command resp. return variable
Hello "With VBA it is possible to e.g. modify the function "picture switch" to the command window, in order to dynamically configure the command resp. return variable." How i can reach this variable?? thisProject.RtFunctions.Item("name").dynproperties("??????????????????"):confused:
ArchiveFilter.Raster
Hello! How do you use "Raster" property of the ArchiveFilter? I tried the following: ArchiveFilter.Raster=some value ArchiveFilter.StartTime=Start ArchiveFilter.EndTime=End Set zArvVars=ArchiveFilter.Query NumberOfValues = zArvVars.Item(0).ArchiveValues.Count
command
hello how i can sent command using VBA?:confused: This is a migrated post! Originally posted on 08.10.2009 by user westbaaam. Please be aware that information can be outdated.
Change Text Button with DynProperties
Hello I am trying to change the Text of a Text Button in VBA with Dynproperties. Unfortunatly without success.. This is my line of code: thisProject.DynPictures.Item("SPœLEN").Elements.Item("SpülenStarten").DynProperties("Text1") = "Stop" I need to change
alarm status from variable
HELLO i'm writing some macro. I have a variable, and i need to know if it's value is alarm or no and if it is alarm if alarm of variable is Acknowledge. I use REMA for variable stati.:confused: This is a migrated post! Originally posted on 05.10.2009
VBA Makro wird nicht Abgearbeitet
Hallo zusammen, Habe ein Makro geschreiben für nicht lineare Wertanpassung, dieses funktioniert auf meinem Rechner einwandfrei. Das Problem liegt daran, wenn ich es im richtigen Projekt einsetze funktioniert es nicht. Da das Makro nicht abgearbeitet wird
Mehrere Rezepte gleichzeitig Laden/Speichern
bin jetzt bei der VBA - Lösung. Rezept anlegen in der entsprechenden Rezeptgruppe geht. nur bekomme ich die aktuellen Werte der Variablen nicht ins Rezept, wobei VBA ohne Fehler durchläuft. VBA- Code Dim zRecipe_Group_Name As String Dim zRecipe_Name As
Zeisteuerung über VBA ändern
Hallo zusammen, besteht es die Möglichkeit eine Zeitsteuerung während die RT läuft zu ändern über VBA. Bräuchte das für den Export von Dateien damit der Kunde sich selbst die Interfalle einstellen kann. Wünsche noch einen schönen Tag. This is a migrated
RecipeName combo-box
Hello, i'm searching for a similar problem in this forum but didn't find anything yet... here what i would like to do: > in a Recipe synoptic, i have implemented the RecipeName combo-box > as soon as the user selects an entry from this combo-box, the
VBA Timer
Hello, How can I make a timer in VBA? I think there is no timer control in VBA, but also Application.Ontime, which is working in Excel VBA is not supported in zenon VBA. This is a migrated post! Originally posted on 10.09.2009 by user hansvanzijp. Please
Online Variable
Hallo Zusammen, Ich möchte in einem Makro eine OnlineVariable erzeugen, welche mir den Wert einer von mir angelegten Variable unter "Variablen" zurückgibt diese möchte ich selben makro gleich weiterverarbeiten und am ende den Objektkontainer auch gleich
Default Kontrollelemente über VBA
Hallo zusammen, wie kann ich über VBA den Refresh Button eines Reportbildes ansteuern bzw. auch die anderen Default Kontrollelemente. Danke! This is a migrated post! Originally posted on 27.08.2009 by user dftchristian. Please be aware that information
vba Double Command?
hi every one; how can i write a script for double command with select before execute? This is a migrated post! Originally posted on 13.08.2009 by user eyup. Please be aware that information can be outdated.
Archivdaten zurücklesen aus SQL - Datenbank
Hallo, ich möchte über VBA eine Date_and_Time Variable aus der Archivdatenbank in eine Interne Date_and_Time Variable zurücklesen. Mit einer String, Integer etc funktioniert dies auch ohne Problme jedoch die Internen Date_and_Time Variable kann ich nicht
send file to printer
hi, I have to print a file. This file is automatically generated with a VBA procedure. The print job should be triggered with VBA too. How do I define the printer and send the content to the printer queue? Regards, alex This is a migrated post! Originally
OnlineContainer differences between Onlinevariables and Onlinevariable removing and deleting
Hi @ all! Where are the differences between Onlinevariables and Onlinevariable. I just want to know if my understanding is correct. Onlinevariables hold all Objects of the type Onlinevariable, and so Onlinevariable is basically a subset of Onlinevariables.
Next Page