No, you can´t. I have only tried different browsers on my PC and then on my HMI device. Unfortunately the device´s browsers did not support pdf file as I needed so I had to switch to *.txt.
Have you found the way how to call any function in case the visu is opened? Like on event when the screen is opened to initialize some variables etc.? I can´t... :/
My experience is that opening pdf file is very dependent on which browser is used. I have tried a couple of them and only Mozilla Firefox has opened file correctly in same screen. All other browsers face some issues. Therefor I had to flip my pdf to txt which has not been nice solution.
Hi, one more point. I have been able to create Property of Text which is added to Global text list so it´s fine. But as soon as I use Frame configuration I lose all other properties but some very basics. I need to have still possibility to set Input configuration because my element is Button. Do you know how to make visible all standard properties + my own properties created in Frame configuration? Thanks a lot. M.
Hi, thanks for the link. Maybe I create elements in incorrect way. I always use Interface Editor to create variables which are used inside element (see pics). After that I place element in my visu and use Reference property to link variable or set the value. In that case the value of string is not transferred to general text list for translation as I mentioned before. Do I have to all properties which influence behavior of my element create in Frame configuration instead? What´s the difference to...
you all saved my life now ;)
Hi, I struggle with exporting my Alarm Messages and following importing back to my project. Because filling in one by one is very time consuming I want to use export function and edit .csv file in Excel. As soon as I modify the file the import back to project does not work at all and function returns errors. Would you pls give me a hint how to properly use this functionality? Thanks a lot for help. Regards, M.
Hi all, I need a help. I want to create Frame where some parameters are done via reference input to this frame. What I have realized that if I use for Label/Caption etc. string variable (%s) it is not included in translation list. This is a quite a big deal and I did not find way how to add text to the list manually. Would you give me a hint how to proceed? I hope there is a way (workaround) how to do it. Thanks a lot. M.
Hi, I haven´t noticed you put the comment here. I thing it´s a bit different. What I want is to have detail errors of technology in data type e.g. INT. This variable I would latch to the corresponding error msg but I would like to get it convert to text from the text list and not keep it in INT form. Example. Main error Valve Error: SubErrors 1 - Both sensors 2 - Not retracted in time 3 - Not pulled out in time In HMI Main error + latch SubErrors => "Valve Error: Both sensors" The benefit is that...
Hi, I have created webvisu with our special Czech letters and I have realized that they are incorrectly represented in web browser in compare to Codesys runtime - see pictures. I´d like to ask how I can modify this representation in project - I could not find any relevant. It´s actually very important for us. Regards, M.
Hi, I have created webvisu with our special Czech letters and I have realized that they are incorrectly represented in web browser in compare to Codesys runtime - see pictures. I´d like to ask how I can modify this representation in project - I could not find any relevant. It´s actually very important for us. Regards, M.
Hi all, in Alarm management you can latch some variable to show value within the alarm msg. It´s very useful sometime. But I´m wondering whether there is any possibility to represent that value as Text list. It´s quite common in other HMI tools and this is very useful in case of using some ErrorID for detail specification of error. Unfortunately I could not find any way how to do it but I believe that exists :) Thanks a lot. M.
Ok, I solved that. I had to click to Convert to Legacy in bottom menu. Then you are able to create Users -> unfortunately, they are not created automatically so you have to create them one-by-one. Probably new function? Could somebody confirm that? Thanks, M.
Also here is comparison of available buttons in my project and template I found. I miss export/import... I have version 4.3.0.0 and compiler 3.15.19.0 Thanks for ideas.
Also here is comparison of available buttons in my project and template I found. I miss export/import... I have version 4.3.0.0 and compiler 3.15.19.0 Thanks for ideas.
Hi, if you just want to make your image visible, just use property Invisible. M.
Hi all, I wanted to test user management in my project. I try to follow some tutorials from youtube but for some reason I cannot see Tab User after activation in Visualization manager:/ Do you have idea what is wrong? Thanks. M.
Hi ben1, I know about user management but in this case I just needed to set minimum number of chars for my input. This password handling is very simple (and we do not want to change it during conversion to Webvisu) and I´d like to know whether there is some system feature or I have to create it by my own. Thanks a lot. P.S. For user management I create a new topic. I have an issue that I cannot see User Tab :/
To be honest, I´ve never tried that (I´m also quite new in webvisu) so I do not know. But anyway, I assume that HMI is initialized as soon as PLC program is started so there is not necessary to check the status. And if you really want it, I would read variable CurrentVisu and as soon as any screen name would appear, I would suggest HMI runtime is running. M.
Hi, just wondering whether there is a chance to read currently set language of HMI in any system variable? Thanks. M.
Hi, maybe you could use those two options remarked on the picture. But I also missing some events, or system variables giving feedback to PLC or to initialize some variables when specific screen is open/close etc;) M.
Hi ben, it is not a problem and I have used it. Just wanted know whether there is not any system solution instead of this workaround. The reason is for setting e.g. new password. Customers could have a possibility to adjust it but with define minimum length -> it´s quite general procedure when you create any account on the web pages etc. This brings me to another question, I faced. I have created button - Set password. As actions I use Execute ST-code as the first one and second one is Show dialog...
Hi ben, generally you right, of course. Just imagine to have some standardized control for technology and some of them would have only two options for selection (but you would have the modes represented by integer in PLC side then, anyway). Mostly, I´m curious to get complete overview what is possible and what not because we´ll support some customers soon.
Hi Ben1, I have figured out that input can be done by Combo box and Text list reference. It works fine for integer value. But don´t you know any trick, how to control Boolean variable? I have an ON/OFF input represents by Boolean. But as soon as I map boolean to Combobox integer, it´s not working. I have tried conversion INT_TO_BOOL and opposite but it does not help. I believe you know some tricky way;) Thanks a lot. M.
Hi, would you pls give me more detail hints, what I have to do to modify and scale dialogs? Some screenshots -> new in this topic. Thanks a lot. M.
Hi Fless, may I have a couple additional question to local vars? 1) Is it possible to monitor value of them during Login? 2) Are they initialized always as soon as the visualisation is opened/closed? (I struggle a little bit how to realized initialization of some values when the screen is opened/closed -> usually in HMI sw there are scripts corresponding to those events but I cannot find easy way in Codesys visu for that -> only create PLC program to handle that which is not as easy;)). Btw. -> your...
Hi Fless, awesome, I believed it´s somehow possible. Thanks a lot. M.
Hi, just up of the topic;) Isn´t there any possibility of using local variables of screen in corresponding Input configuration event - Execute ST code? It would be really helpful. Just update: Even in other input actions they can be used, e.g. Open Dialog etc. See picture. I still do not get why they are hidden for ST-Code. Thanks a lot. M.
Hi all, another question - or rather best-practice you have. First question I´m trying to implement field for password input. I have used general rectangle with Input event and checked Password. It works fine as input but as soon as I want to show my password in field, it´s normally visible text without e.g. * placeholder. So I had to write fixed text: *** to the field but is it really only way? Does not textfield or rectangle have property it´s password field and make it automatically? Second question:...
Hi, just up of the topic;) Isn´t there any possibility of using local variables of screen in corresponding Input configuration event - Execute ST code? It would be really helpful. Thanks a lot. M.
Hi Ben1, sorry I did not reply sooner but I haven´t received notification. This is actually super cool! I have to tried immediately;) Thanks a lot for super hint! And meanwhile I observed one more issue related to Text list. If I want to use object with text list as Input, I cannot find a way how to represent variable as Text list entries in input dialog. Usually it works in a same way as Enum data type in PLC code but in visu here I see only e.g. TRUE/FALSE or numbers. Is there a way how to get...
Hi Ben1, sorry I did not reply but I haven´t receive notification. This is actually super cool! I have to tried immediately;) Thanks a lot for super hint! And meanwhile I observed one more issue related to Text list. If I want to use object with text list as Input, I cannot find a way how to represent variable as Text list entries in input dialog. Usually it works in a same way as Enum data type in PLC code but in visu here I see only e.g. TRUE/FALSE or numbers. Is there a way how to get functionality...
Hi ben1, actually that´s what I do. I want to create universal button with integrated functionality. But the problem I observed is, that if you change size of that framework, text size is also adjusted so the alignment is not fixed. And to be honest, I´m not sure whether I can put Text_list as an input var to Frame, anyway - do you know? If would be great having chance to concat fixed Text with Text_list. It also could be useful for some status of the device/machine etc. Regards.
Hi ben1, yes, I can. But you have to take care about alignment then to keep label e.g. always in center etc. It would be just much more comfortable so I´m asking if I haven´t missed anything because I know it from different HMI sw. Thx.
Hello all, just would like to ask you about best practice of calling specific script (function) triggered by events related to opening/closing visualisation/frames. Usually in HMI sw we could use those events (OnOpen/WhileOpen/OnClose) to initiate some variables or do call some function. I´ve already seen one topic here where somebody recommend to call function returning e.g. bool variable and place it to property etc. visibility. But this is not very general solution, I assume, therefore I´d like...
Hi, I wanted to use local variables in my script related to event mouseclick. But I have found out that for Execute ST code those local variables are not visible (even in Input assistant). The strange is that if I use function Write/Toggle variable those variables are available for use. Do you know if there is any chance to use there variable inside the script. It would be much easier for use and keep HMI part separated from PLC part. Thanks a lot. Regards.
Hi everybody, as we have Codesys as one of the supported HMI sw, I´m trying to get as much knowledge as I can. Since I´m experienced with other HMI sw, I´ve been searching for differences and possibilities I can get with Codesys Visu. Here is my first question here:) Is there any chance to combine Fixed text with Text list in one Text Field? My goal is to make button with state On/Off (textlist) but also define tech. object. Device1: On/Off Device2: On/Off I have tried this setting (attached) but...