Popup window
Hi I'm using Zenon 6.22 SP1 and i want to make a popup window when an event occurs. With two YES / NO buttons to activate a boolean variable of a plc. As I can do thanks greetings :) This is a migrated post! Originally posted on 08.08.2014 by user cibertoni.
API Interfacing in Zenon
Dear All, I am using Zenon 7.00. We are trying to interface the Zenon variable with VBDotNet. How can we get the API (.dll file) file for interfacing with zenon and VBDotNet....? Your quick reply is very helpful for us to work on this task... Best Regards,
internal function via VBA
i want to execute screen type specific function from Standard Recipe screen "Write Recipe" through VBA
Customizing Internal Functions by using VBA
Hi Guys, There are some dedicated functions for particular screens like 'Alarms', 'ETM', 'CEL' (etc) and they are known as internal functions. My wish is to customize their functionality to meet my requirements. For example, if in a CEL Screen, I wish
Vba editor is not opening?
Dear Zenon team, VBA editor is not opening when press on right click on programming interfaces in zenon editor(V7.60). Please help me. Thank You This is a migrated post! Originally posted on 27.10.2021 by user salman_123. Please be aware that information
Bilder direkt aus dem Explorer laden und anzeigen
Hallo, Ich würde gerne mit einem SPS Signal auf einem Bild direkt eine Grafik anzeigen lassen. Mit welchen Zenon Mitteln wäre das am besten um zu setzen? Hat jemand von Euch so etwas schon mal gemacht? Vielleicht habt Ihr ja für mich ein paar Tipps. Vielen
VBA Complie error Invalid data format
Hello, I have this error when i lauch client zenon I haven't got the probleme the server, with the develloper and runtime application. the module structure is empty on the client The files vba are update when i launch the runtime This is a migrated post!
I need to push data from Zenon VBA to SQL database every 1sec
I need to push the data of a variabe to sql data base through zenon VBA every 1sec once the runtime starts, I am not done much programming in VBA Can anyone share the programming code for this This is a migrated post! Originally posted on 09.06.2021 by
Vba macro should run every 1sec without any external trigger from runtime
Hi, I am using ZENON 8.20 Version, I need to take The Total no. of alarm values into historian, but it is an Screen specific type function, I am not able to take the value so i am using the VBA macro to take the value into variable, But everytime i need
Zugriffsrechte VBA
Hallo Kollegen, Ich habe im thisProjekt 2 VBA Makros die über SPS angetriggert werden. Mit dem einen Makro sollen Dateien kopiert werden. Alle Variablen sind zur Laufzeit vorhanden. Wenn ich das Makro im Debugmodus mit F8 durchspiele funktioniert das
Fehler in VBA in CEL schreiben
Hallo, Ich bin durch diesen Beitrag darauf gestoßen das, wenn ein Fehler in VBA passiert, das man das in die CEL schreiben kann. https://forum.copadata.com/showthread.php?1608-Individueller-Archiv-Export&highlight=WriteCelString Ich habe mir ein Bild
Wenn Fehler mit Dateioperationen eine Wiederholung
Hallo, [/FONT] Funktioniert alles beim 1. Mal dann Exit Sub. [/FONT]Public Sub Ordner_erstellen() Dim oFSO As Object Dim ... usw. On Error GoTo Fehler 'Exportpfad strPfad = "D:\Export" ' Pfad einstellen strOrdner = variabel For i = 1 To 2 Set oFSO = CreateObject("Scripting.FileSystemObject")
Zenon runtime 8 does not execute VBA macro
Dear all, I am unsuccessfull at running VBA macros from the operator's runtime. VBA editor seems to work ok since I can create a form and play with it (buttons, ...). However, when referencing thisProject.Variables it gives back an Empty object. I have
Regular issue with VBA progress bar and RTFunction end sync
I have a problem with this type of code ' Close a image with progress bar ' I don't understand why exports don't keep up with my variable growth export status percentage How can I write code to increase the percentage variable at the end of each finished
Supervisor v7.50 - VBA Wizard
Dear all, I am using zenon Supervisor v7.50 SP0. [SIZE=1] Is there any way to rename variable from VBA Wizard? ModifyVariable method can not do that! Best reagrds, Svetozar Yolov This is a migrated post! Originally posted on 03.06.2020 by user Gosma.
Mit VBA Dateien von einem PC auf einen anderen PC kopieren
Hallo, Ich habe mir eine Batch Datei erstellt (mit Parameter œbergabe) mit der ich von mehreren PCs zu einem anderen PC Dateien kopieren kann. Der Parameter ist für die Datei die kopiert werden soll. Immer eine andere Datei. Jetzt wollte ich diese Batch
Laufzeitfehler 91 ohne weitere Info
Hallo, Ich erhalte im meinem Code den Laufzeitfehler 91: Objektvariable oder With-Blockvariable nicht festgelegt. [/FONT]Public Sub Ordner_erstellen() 'Diese Modul erstellt Ordner Dim fso As Object Dim VarNr As String Dim Vartext As String Dim Verzeichnis
Automate the Excel monthly report by extracting data from the various data source
[color=#333333]usps tracking[/color] [color=#333333]showbox[/color] [color=#333333]speed test[/color] This is a migrated post! Originally posted on 25.03.2020 by user baiselmareo6. Please be aware that information can be outdated.
importing a CSV file.
Hi, I'm Lee. Wanna Do List. 1. Make a new CSV file(excel file). 2. Fill new CSV file's column from a another CSV file. 3. Save the new CSV file. 4. Import the new CSV file to Zenon(variable side). Wanna take a Answer List. 1. Is it possible in Zenon using
Time Sync using MODBUS Variable
Hi guys. We don't have NTP. We need to sync time with DCS based on a trigger from dcs on 5 AM everyday. So DCS connected on MODBUS TCP will trigger bit called Time_sync everyday at 5 AM and when yhis trigger is received we need to set time in our runtime
determining the name of the variable to trigger the function
Hello together, I would like to know how I can access the name of a variable that caused a function to be started. I have got several boolean variables (import-variables from some sensors) that can either be true of false. I also created internal variables
Symbole per VBA verändern/erstellen
Hallo zusammen, ich möchte per VBA ein Symbol verändern, z.B. eine Button einfügen oder eine Eigenschaft nach außen sichtbar machen. Ist das irgendwie möglich? 2te Frage: kann ich ein Symbol per VBA erstellen? P.S. Ich verwende Zenon 8.1 This is a migrated
How to use vb to push Alarm
1. How to use VB to push Alarm? 2. How to push Alarm Text use Zenon Language's TXT? Thanks! This is a migrated post! Originally posted on 15.01.2020 by user utoole. Please be aware that information can be outdated.
Two versions of program in parallel
Can I use two versions of the program in parallel? I have several old projects, I'm worried about their compatibility with the new version of the system that I am going to purchase. Anyone saying that they will never need to take out a loan, I suggest
Event "Object deleted"???
Hallo, Beim z.B. Löschen eines Bildes soll die entsprechende Bildumschaltfunktion gleich mitgelöscht werden. „hnliche Funktionen sollen auch bei anderen Objekten ausgeführt werden. Gibt es ein Event das ausgeführt wird sobald ein Objekt( Bild/Variable/Skript/etc...)
thisProject
Hi all, IÂ've got just a short question: What is the role of Â'thisProjectÂ'in Zenon VBA editor? What is the main difference between moduls and Zenrt32 Objects? I didnÂ't find anything about it. Thank you! This is a migrated post! Originally posted on
VBA was not able to open
Hi, In all my Zenon Version i am not able to open VBA editor. I checked in Zenon6.ini file and VBA related parameter entries are as shown in below. [VBA] EIN=1 EVENT=1 UPDATE=0 Can you please tell me what is the issue? Is there any setting to open VBA
Kann VBA Koordinaten über das Touchpanel erfassen
Hallo an alle, Ich habe letztens in einem VBA Code gesehen das man über Koordinaten Bilder verschieben kann. Meine Frage ist es für Zenon auch möglich mit VBA eine Comobox oder Listbox mir an der Stelle anzuzeigen, wo ich am Touchpanel hintippe??? Damit
Problem with VBA progress bar and RTFunction end sync
Hi guys I have a problem with this type of code Public Sub ExportAllArchive() Dim VarPercentage As Variable Set VarPercentage = thisProject.Variables.Item("VarAuxPercentage") ' VarAuxPercentage is linked to a numeric and is rapresented graphically during
Problem with VBA and RTFunction
Hi guys I have a problem with this type of code Public Sub ExportAllArchive() Dim VarPercentage As Variable Set VarPercentage = thisProject.Variables.Item("VarAuxPercentage") ' VarAuxPercentage is linked to a numeric and is rapresented graphically during
Zenon parameter inVBA script
How can I assing values to a parameter from a VBA funtion from a Zenon Element? I want to use a Funtion with 2 parameters when the user click in a Funttion. I This is a migrated post! Originally posted on 05.09.2019 by user q1883. Please be aware that
Variable between Macro and zenon
How can I give a value for a zenon's Variable in a Macro This is a migrated post! Originally posted on 22.08.2019 by user Omarzubair. Please be aware that information can be outdated.
To Write Value in Variable with Status
Hello, Is it possible to write the variable with status in zenon? I have tried using below program. Sub Dummy() thisProject.Variables.Item("T01_1_2_Command").SetValueWithStatusEx 1, 1078067200, 65545, Now, 666 End Sub Using this program I Get the value
Execute VBA function only if an user has administrator privileges
Hi, I'm on Zenon energy 8.00 and I have a button with a linked function on "Mouse event - LeftClickDown". I set up an Authorization Level on my button to execute the VBA Macros, but if I don't have an administrator level, I receive the Zenon message "You
Setting dyn proprties for BackColor & LinkedFont to indexed values
Hi, I'm trying to set the DynProperties for an element but its not liking it as I'm trying to set them to 'linked' values. elbutton.DynProperties("BackColor") = "8000000E" elbutton.DynProperties("LinkedFont") = "Standard font2" Help file & forum searches
Align Static Text on Screen
I create static text dynamically on screen with command: Dim obProject as Project Set obProject = MyWorkspace.ActiveDocument Dim obPicture as DynPicture Set obPicture = obProject.DynPicture.Item(0) Dim newElement as Element Set newElement = obPicture.Elements.Create("new_text",
Openning Logic project in Editor Using Macros
Hi, I just done all VSTA/VBA training and interested in which. but I am not good at programming skills. I often use Zenon Logic project in the practical project. So, I wonder I could open another Zenon project's Zenon Logic project and see My previous
Variable bei Erstellung in Rezept einfügen
Danke P.S.: Ich verwende den Rezeptgruppenmanager This is a migrated post! Originally posted on 10.04.2019 by user wenzm. Please be aware that information can be outdated.
ActiveX component can't create object
Hello So W10 64b / Zenon 7.20 32b I get this error when I run a VBA wizard. Have registered the OCX files and the standard program but no joy Any ideas please? This is a migrated post! Originally posted on 05.04.2019 by user lss. Please be aware that
Running VariableChange Events
[Zenon Editor 6.51] I have a problem when I call a function from a VariableChange Event; The function I'm calling executed a CMD prompt to start a f.t.p. download. This process takes a few seconds to complete. And thus the function has to wait (while
Next Page