Recent Topics
CEL entries
Hello, I have a question about the CEL List. In the Variable property "Set value" i change the the parameter "Logging in CEL" to "Nothing". But in RT when i change the variable value, everytime i get an entry in the CEL- Listelement. So what is wrong
error on restoring a project backup
When restoring a project backup, I get the following error in the editor: "restore project backup failed". When I open the diagnosis viewer, I can see the following entry: DBSRV:Error ExecuteNonQuery Error:The command contained one or more errors.RESTORE
determine if the recipe has finished (correctly)
How can I determine if the recipe has completely been written to the PLC? And how do I know if this has been successfull? The system driver offers several status variables for this purpose. For example, depending on the outcome of executing (writing)
Daten in einem VBA-Formular an eine Variable übergeben
Hallo, hoffentlich ein leichtes, aber da ich sehr wenig Erfahrung mit VBA habe, ein schwieriges Problem für mich: Bereits geschafft: Lasse mir eine Interne Varibale (Name: Uhr_Abluft) in ZenOn anzeigen und habe diese Anzeige mit einem VBA -> LeftClickDown
Delete structured tag
me again :rolleyes: VBA Code: VarTypeIndex = 0 For Index = zPRJ.VarTypes.Count - 1 To 0 Step -1 Name = zPRJ.VarTypes.Item(Index).Name If Right(Name, 13) = ".InternalData" Or _ Right(Name, 9) = ".MathData" Or _ Right(Name, 9) = ".NodeData" Or _ Right(Name,
watchdog/live bit mechanism
... text in progress This is a migrated post! Originally posted on 16.07.2008 by user christopherpara. Please be aware that information can be outdated.
Update pictures with VBA
Using this code I modify/delete some pictures in my project. About modified pictures, when I open it for the first time look good, but starting from the second time the pictures is exactly how was before the change in VBA. I don't understand why. There
Delete item in a combobox
Hi During project configuration VBA "fill" a combobox in this way. Set zPIC = zPRJ.DynPictures.Item("Layout.Top") zPIC.Elements.Item(2).CreateDynProperty ("States[" & CStr(IndexObj) & "]") zPIC.Elements.Item(2).CreateDynProperty ("States[" & CStr(IndexObj)
Problem mit BeckhNG - Beckhoff TwinCat NG Treiber
Hallo an Alle! Ich versuche gerade einen Beckhoff CX9000 über den BeckhNG - Beckhoff TwinCat NG Treiber an zenOn 6.22 anzubinden. Ich habe die Variablen über die Importfunktion aus dem TPY-File in zenOn anlegen lassen und die Kommunikation funktioniert
Show more than 2841 Alarms on the ALARM picture
Hello, I have many error messages. I want to show all messages from the last year. zenon 5.50 SP7 shows me only 2841 Alarms, but there are much more messages. the filter is set on 5000 entrys. What can I do? This is a migrated post! Originally posted
zenkeyblock & Ctrl-Alt-Del
Hello, It seems that the keyblock program does not block the Ctrl-Alt-Del key-combination, rite? Is there a way to do this? thanks and best regards tauhien This is a migrated post! Originally posted on 27.06.2008 by user tauhien. Please be aware that
PCE on WinCE 5
Hi, I cannot get PCE to run under windows CE. It runs perfectly on the PC but not on the Windows CE Device (VIPA TouchPanel). I've set the Zenon.ini VBA and PCE = 1. Is there anything else I should do? Thanks, Tim This is a migrated post! Originally posted
Diagnosis server TCP port 1101 is already used
I have a problem on my PC where the diagnosis server (zensyssrv.exe) writes an error in the log-file "bind error 10048". The start of the editor and the runtime is very slow, and both these applications try to connect to the tcp port 1101 on the localhost.
Problems with Message Control
Hallo, scheinbar ist das der einzige Beitrag in Deutsch. Ich hoffe, daß mich jeder verstehen kann:) Ich benutze Zenon 6.21 SP1 Build3 mit Message Control. Message Control funktioniert tadellos. Eigentlich zu gut. Das Problem ist, wenn mehrere Alarme gleichzeitig
Creating mathematic variables including formulars (Counter)
This sample shows how to create an statistic counter (mathematic) on a variable: VBA Code: Public Sub CreateMatheVariable() Dim obDriver As Driver Dim obVarType As VarType Dim nChannelType As Integer Dim obVar As Variable 'create an Object of the Mathematic
the standard user "SYSTEM"
Hi all, It is possible to change the standard name of the default user "SYSTEM" in zenOn (6.22 SP0) ? Is there any solution ? I'll try with the function "Language change" but don't work.. :( Best regards, Roberto This is a migrated post! Originally posted
Teile eines Strings mittels VBA darstellen (BACnet)
Hallo, ich kann mir das Weekly Schedule BACnet Objekt (String) anzeigen lassen. Zu erkennen sind die einzelnen Wochentage Montag bis Sonntag einschließlich Ein- und Auszeiten. Bsp.: {{{04:00:00:00, [2] 1}{17:00:00:00, [2] 2}}{{04:00:00:00, [2] 1}{17:00:00:00,
WriteCELStringEx
Hello, I created a variable USER_ID as an internal variable of data type String. I need to create a CEL entry using this variable so that I have something like below: I did this: VBA Code: Dim vValue as Variant vValue = CVar("A001") thisProject.Cel.WriteCelStringEx
Zenon project protection from uploading
Just want to find the best way to keep my Zenon project secure. At the moment the source files are all on a PC and downloaded to the remote project on CE hardware. If the CE hardware is given to a client when the project is handed over, can the client
PLC Variables and Internal Variables
Hi, I have a Mitsubishi Data Register variable that holds the value of a count, in an allocation I want to allocate this variable value to an Internal Variable, then later allocate it back. It doesn't seem to work! Both datatypes are INT. Is it possible
Zugriff auf Formelvariablen in Combielement
Hallo an alle! Ich suche eine Möglichkeit per VBA alle in einem Bild benutzten Variablen auszulesen. Wir nutzen zu 90% das Combielement und die Variablen werden darin als Formelvariablen hinterlegt um die Animationen zu definieren. Ich finde keine Möglichkeit
Variable subsitute
Hi Support, My first post i hope it's correct! Using a function to call a picture with new values. Some value work, orthers do not a total of 12 values are to be replaced This is a migrated post! Originally posted on 09.06.2008 by user dchandler. Please
PDiag import into zenOn
Hello, I'm trying to import my PDiag data from S7 into zenOn. I read the documentation provided with the zenOn installation disk regarding PDiagConverter but I cannot find this program anywhere in the zenOn software. I see an item in the "Options" menu
Alarm groups
Hello. I try to get get a text buttom to change color depending on a alarm group or alarm area. Now we are using "funktion" under "alarm configuration" to change displayd picture when a alarm occur. I have tryed to choose a "internal variables" (bool)
Zenon6.ini Windows sbs
Hi. I have installed zenon6.22 on my pc and Windows SBS std 2003 R2. I need configure zenon for two monitors but i can't find the file "zenon6.ini". Someone can tell me where he is? Thank you This is a migrated post! Originally posted on 04.06.2008 by
Button Visibility
Hi, I'm trying to make a button invisible once it's been pressed and have created a boolean variable to link to the button. If my understanding is correct, if the variable is switched ON the button should disappear and the opposite if it's OFF. I have
Multiple monitors on Vista
Are there any special Vista specific settings for making zenOn runtime run correctly on a 2 monitor system? I've tried with a zenOn 6.22 project that is running on a 2-monitor Windows XP SP2 system without problems, but no luck in Vista so far. The settings
Timeseries data and SQL Server
A question about zenon historical archiving performance using SQL Server. We expect to cyclically record approximately 200 values every 10 sec and up to 2000 values every minute. Can the zenon SQL Server handle this? With other SCADA systems we use a
Password on SQL server2005
Hi I'm using SQLDRV to write data to a new DB in SQL 2005 and ADO to to read data. I want to setup a DSN (on the server and on WEB client) with mixed authentication mode and with an existant default user (ie sa), this to avoid, in case of hardware changes,
Sqldrv
How can I read from a SQL table? I had already created both "IN" and "OUT" tables with equal format both, and also I can write to the "OUT" table throght zenon RT, but the fields where the SQL variables are linked are with a red mark, and always with
Alarm object in vba of integration projectnot is not working for sub-projects
Hey everybody, I do have a problem with the Alarm object in vba of an integration project. Using following code: VBA Code: Option Explicit Dim WithEvents zAlarm As Alarm 'procedure is executed on startup of the zenOn runtime Private Sub Project_Active()
How to have cumulative alarms time in report
I need to do a report where weekly or montly display, for some alarm, count and total time (active property). With count no problem About time, I extract the singol "active" data from alarm, but I didn't find the way to sum this data. The problem, I think,
error: "Wkwin32.dll" WK1128 -
I have installed zenon 6.22 and receive an errormessage "Wkwin32.dll WK1128 -" when starting the editor or the runtime. A message appears that the product is not licensed due to the fact that the dongle was not recognized. However I do see the information
Is it possible to connect to a video via TCP/IP?
Is it possible to connect to a video via TCP/IP? If yes, how can i do it or where can i find some examples. Thanks This is a migrated post! Originally posted on 16.05.2008 by user cpjianu. Please be aware that information can be outdated.
action "COMMAND" at the dynamic element not visible
I do not have the option "COMMAND" at the set-value by option in the properties for the dynamic element. What do I need? A zenon energy edition license is required and second, the option "Windows CE project" in the project properties in the section "general"
Start Function From PCE
Is it possible to start a function from PCE VBscript? I'm running with window CE 5.0. Thank! This is a migrated post! Originally posted on 16.05.2008 by user stephanepilon. Please be aware that information can be outdated.
Screen resolution
My screens were built with a resolution of 1024 X 768 and my target PC has a resolution 800 X 600. I use some JPG and BMP screen background and the images are shifted and not scaled on my target PC. Is there a way to automatically scale the screen for
VBscript under window CE
My VBscript works on my PC but it does'nt work in my PC under window EC. The application is checked for " Windows CE Project" in the general tab and the VBscript Start Type of the task is " System Start". ??? This is a migrated post! Originally posted
Driver problem
Hi all, I'm having the error message "Module could not be loaded The last error: 0x0000000" when trying to install the driver ELAU Arti NG" from Codesys, wich i have the license for. Does anyone know why do i have this error? Thanks in advance and keep
straton does not run cyclically
The straton runtime ( not RTK ) seems to stop carrying out cycles after a certain time ( approx. 15 min) . Within the statistical monitor, very high cyclic times can be seen. The problem seems to be a hardware problem, it has been seen with an AMD Geode
Next Page