Function Hardcopy
Hallo, ich hab einen Code, wieso funktioniert es nicht? Ich kriege keinen Fehler und kein Bild :confused: Hilfe!!! VBA Code: Private Sub HardcopyButton_Click() Dim zPRJ As Project Set zPRJ = ApplicationED.Projects.Item(cmbProjects.ListIndex) zPRJ.DynPictures.Item("test1").Hardcopy
Bildumschaltungsfunktion eines BIldtypes CEL über VBA
Hallo Ich möchte einen Bildumschaltung eines Bildes vom Typ CEL aus VBA realisieren (Inkl. dynamischer Filterkriterien). Ich möchte hierdurch erreichen, dass ich die Bildumschaltungsparameter wie z.B. Filter -> Variablenname bzw. Kennunng dynamisch eingetragen
Variable erzeugen mit VBA
Hallo, ich habe mir Wizards programmiert mit denen ich Variablen im ZenOn Editor erzeugen kann. Wenn ich Variablen von einem eigenen Datentyp anlege sind leider alle Strukturvariablen deaktiviert. œber welche Eigenschaft oder über welches DynProperties
Textfiled that can show Tagnames and is changed by the languageswitch
Hi is there any textfield/box/activex element, that can show the tagname of a variable and is changed by the language switch. If i copy the variable property tagname into an string it is not changed. I need this, to show a parameter description at a special
Auto start runtime when windows starts
Is there any way I can get the runtime to automatically start when windows starts up? I've tried putting a link to the runtime in the windows start-up directory but when I do this and test it I get: So it needs to be done after that service has been started.
get heigh msforms combo box as aktiveX
Hi I have a problem to get the height in an AktiveX Combobox. I need the height to set the Font.Size of the Combobox because some boxes are on more pictures with a different size. I tried following Code on the Init function Set combobox1 = obElem.AktiveX
Variable was not loaded
I've been using VBA scripts to generate some variables and I created one wrong by accident and now when i start the editor I get: Variable 'inhibitTimerModeR1-I0.Point[1]' was not loaded because type with datatype ID '3' is missing! Variable 'inhibitTimerModeR1-I0.Point[1]'
VBA - New Online Container in zenOn 6.22 (BulkMode)
With zenOn 6.22 SP0 a new kind of Variable Online Container has been implemented. Using this "Bulk Mode" a faster start of the zenOn Runtime can be guaranteed in comparison to the "normal" Variable Online Container. With the "normal" Variable Online Container
Allocation from zenOn to Straton doesn't work?
Allocation from zenOn to Straton doesn't work? I have in a project a variable "3434". As it's starting with a number and not a letter, I can't use it in Straton. So I have to make an allocation to "sbc3434", but it doesn't work. Can anyone tell me why?
@Modify spontaneous value (0.000000)
I have put two variables in a onlinecontainer. of these variables i have switched off the setting : "Logging in CEL: Setting value with VBA" But still i get a message : @Modify spontaneous value (0.000000) How can I surpress this message. Thanks in advance
Eigene Meldungen im DiagViewer erzeugen
Hallo, ist es möglich, über VBA eigene Meldungen im DiagViewer zu erzeugen? Oder im Ausgabe-Fenster? Wo wird eigentlich Text von ausgegeben? This is a migrated post! Originally posted on 04.02.2009 by user maerz@staudinger-est.de. Please be aware that
How to change ComboBox Entires with VBA
Hi, I got a problem with a Combobox. Is it Possible to change the Entries via VBA in the runtime? It should show a list out of a SQL Database. Or is it possible to include an Userform in Zenon, like an normal objekt. Or is there another way to use the
Vernetzte Variablen verändern
Hallo Forum Ich habe folgendes Problem in einem Client-Server-Netzwerk mit mehreren Clients. Der Server besitzt mehrere vernetzte interne Variablen (Variableneigenschaften->Interne Variablen->Berechnung: Netzwerk). Die Clients sollen per VBA die Werte
Breakpoints in VBA
Hallo Die Funktionen, welche in VBA erstellt werden, werden in Zenon beim Aufruf erfolgreich abgearbeitet, jedoch funktioniert das Breakpoint setzen im VBA Editor nicht. Das heisst die Breakpoints werden einfach ignoriert, obwohl der code abgearbeitet
Substituierung Symbolvariabeln
Hallo Ich habe folgende Situation: Ein Bild, welches mehrere gleiche Symbole enthält. Jedes Symbol stellt den Zustand einer SPS dar, welcher von der SPS über Sx_.wStatus an Zenon kommuniziert wird. Wobei "x" für die Netzadresse der SPS steht. Was ich
Anti-virus software
Is it recommended to install anti-virus software (or other anti-malware/spyware s/w) in a zenon server or HMI? Any problem if we do? many thanks This is a migrated post! Originally posted on 19.01.2009 by user tauhien. Please be aware that information
Schrift in Editor und RT unterschiedlich
Hallo Ich habe unterschiedliche Schriftgrössen unter Projekt/Bilder/Schriften in "Schriftliste 1" definiert. Nun werden diese auch im Editor richtig übernommen. Das heisst, dass die geöffneten Bilder die Schriften richtig darstellen. In den Runtimebildern
using a text box
Hello I want to use a value from a VBA textbox in runtime . the userform opens but i can't use the value in my makro. thank you very much This is a migrated post! Originally posted on 14.01.2009 by user beer_klinkhammer. Please be aware that information
Verbindungsstatus
Hallo Ich habe mehrere Verbindungen zu unterschiedlichen SPS'en im Beckhoff NG Treiber angelegt. Nun möchte ich die Zustände (ok/notok) der einzelnen Verbindungen visualisieren. Gibt es dazu eine Statusvariable der einzelnen Verbindung. Die Treibervariabeln
Probleme mit dem Sqldrv
Hallo, ich habe probleme mit dem SQL Treiber von Zenon(6.22). Habe mir die Treiber Dokumentation durchgelesen und versucht das ganze nach zubauen. Habe eine OBCD Verbindung erstellt diese mit Access bearbeitet, also die 2 Tabellen erstellt, das ganze
Read Real variables in VBA
Hello I like to read a Real variable (Zenon) into VBA . But I always get an Error on this Boolean value is no problem. Can someone help me on this Thanks in advance JOulz This is a migrated post! Originally posted on 12.01.2009 by user joulz. Please be
Authorization is not available on this PC
Hello, I have an error message (Authorization is not available on this PC) when trying to force variable from Zenons button. This is aknowledge button for alarm. This is Zenon 6.22 version. Best regards This is a migrated post! Originally posted on 09.01.2009
Parameterübergabe Button
Hi, ich habe folgendes Problem: Ich würde gerne mit einem Textbutton eine Integer Variable verändern. Geht ja über eine Sollwert absetzen Funktion. Jetzt habe ich allerdings dass Problem, dass ich mehrere solcher Buttons, allerdings mit anderen abzusetzenden
Alarm Status Line and Alarm List
Hello, I have two questions on this topic. 1) Is there any way how to adjust the background color of status alarm line according to the alarm class (e.g. Faults - red, Warnings - orange, etc.)? 2) Is it possible to set, that the oldest unacknowledged
Creating an element with dynamic positioning variables
If an element (i.e. Rectangle) should be created via VBA and it should be positioned dynamically via variables it is important that those variables (XVariable, YVariable) have to be assigned prior to the element and afterwards assigning the scaling properties
the shrink database utility works fine, but do we need to perform it again in the futur?
We have used the shrink database utility for a project which database was increasing dramatically (more than 23GB in 3 months); It works fine, but do we need to perform it again in the futur? as i understand the shrink utility will also change tge datatabse
Popup variables
I'm using the same popup picture for the same function with different variables. Depending on the passed variables on the popup, I'll have to do something with them. How can I get the variable names from the popup picture and how can I get the name of
Could not restore backup in the editor
Hi, I'm using 6.22 SP0 Build3. I'm frequently facing a problem especially in Windows Vista where I could not restore the project backup. At first, when I open the editor, I could not see any project under the active workspace. I'm getting a error message
Importing CSV file
Hello, I am trying to add a wizard to Zenon which will populate my database through information from a CSV file. I know that this functionality was implemented by a colleague of mine in an earlier version of Zenon, but I have not got it to work till date.
150 Pumps
Hy! In meinem Projekt gibt es ca 150 Pumpen gleicher Bauart. Ich will die Störungen dieser Pumpen in einem Popup darstellen. Dieses Popup soll durch drücken auf das Pumpensymbol geöffnet werden. Die Namen meiner Variablen lauten wie folgt : PU001_ST1,
Web server
Hi: I have a problem in my zenon web server. when i start the web client i don't see the values of the variables. Instead when zenon must show the values shows a blue square like in the picture. Someone have this problem? or know how to solve this? Thanks.
Process Gateway IEC870SL
Hy! Ich verwende das Process-Gateway mit dem Modul IEC870SL. Protocol 870-104. Zum test habe ich eine interne-Variable "VAR1" angelegt. Nach dem Start des Gateways meldet der Master eine Verbindung. Soweit ich weiß sollte nun bei „nderung des Wertes der
ETM Bild Windows CE 6.0
Es werden bei unseren Terminals, die mit WIndows CE 6.0 laufen keine ETM-Bilder angezeigt. Es handelt sich um ein normales ETM Bild, dass in dem Editor (Windows XP) ohne Probleme dargestellt werden kann. Kann es sich hierbei um ein Lizenz Problem handeln?
Windows-Einstellungen
Hallo, Ich habe ein Combobox. Die Farbe für das markierten Element kriege ich aus Windows-Einstellungen und zwar "Farbe für die markierte Elemente"? Wie kann ich im Zenon andere Farbe wählen, unabhähgig vom Windows? Ist das überhaupt möglich? Danke This
Alarm blink quit
Hy! I want to do the following: I have an bool tag "Fault1". This fault should be indicated by a rectangle. The coulour of the rectangle should blink red if "Fault1" get 1. If the "Fault1" is quit in the alarmlist then rectangle should get constant red.
Archivdaten in ETM anzeigen
Hallo, ich bräuchte Erfahrungswerte bezüglich der Auswertung von umfangreicher Archivdaten im ETM (erweiteter Trend Modul). In meiner Zenon Anwendung werden ca. 700 Variablen, aufgeteilt auf 9 Archiven aufgezeichnet. Die Archive werden mit der Runtime
variable type time didn't appear in zenon
I am trying to use a variable type time in straton but this variable didn’t appear in zenon editor, Note that all other type appear without problem This is a migrated post! Originally posted on 17.12.2008 by user johnny. Please be aware that information
Access New CEL item event from VBA
With the Alarm object in VBA, there is the event which alert us of a new alarm We did not find any way to do the same with the CEL object! the only event that we found with the CEL object is 'zCEL_CelListSelectionChanged' Is there any event like the alarm
Symbol drehen...
Hallo, mein Problem ist so: ich habe einen Drehtisch, der in 3 verschiedenen Positionen sein kann: 0Grad, +90 oder -90 Grad (Sehe Bild). Das Platzsymbol kriege ich aus Symbolbibliothek, also mit Ersetzung geht nicht, weil ich muss 2 verschiedene ersetzungen
Openig popup in specify place on screen via VBA
Hello, Is there an easy way in VBA to open popup (template picture in specyfy window location) I have a same 20 valves on main screen in different places. When I click on the valve symbol, there is a popup display which shows some informations, open command,
Next Page