if I well understood your problem , is that you have simply to enable the script resource property > Mode > UI Interface
I paste here the extract from the help on line:
This setting allows you to add the user interface management to the basic script. You need to enable this property when using controls such as „MsgBox“ or „Dialog Box“ inside the Basic Script.
The below listed WinWrap functions are not supported when the script’s „Use User interface“ property is not activated and cause an error when the AppActivate ,AboutWinWrapBasic,Shell,ShowPopupMenu script code is being loaded.
I hope this helps
no direct experience on the subject, but the first step is to properly reference the Movicon 11 scripting environment with the correct API:
SAP System’s RFC API > https://help.sap.com/saphelp_nw70/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/frameset.htm
Hi Amalesh , I know there was a little issue about the windows metafiles till to the release 11.5.1182 . I suggest to do a test with last version 11.5.1183 or try to import teh metafile in a rectangle object where you can „play“ with the image resize.
Maybe is a matter of size.
20 Juli 2017 um 2:20 pm #24786
If you are using the tool box object „Hour Selector“ and you have 30 different schedulers resources , I think you could implement a small script and use the „Scheduler, HourSelectorCmdTarget Property“
Here below an example that I saw on the Movicon 11 Help On-Line
The help says : This property sets or returns the name of the Scheduler associated to the object.
Dim objSelector As HourSelectorCmdTarget
Public Sub Click()
Public Sub SymbolLoading()
Set objSelector = GetSynopticObject.GetSubObject(„HourSelector“).GetObjectInterface
I hope this will help you…and can be the initial point for your developments
If you have an object (like a display for example) with a variable associated , let’s image a word variable , if you are using the “ Expression Code for input“ field you can write here the syntax „.0“, „.1“ , …. „.15“ for pointing the single bit inside a tag.
In addition, if we keep for example the display object for our tests, and we are not adding the bit syntax, but we click over the button […] we open the expression editor. We the small buttons on the right you can select a variable or a function and „add“ to the expression (First field of the editor).
The expression editor uses an „Excel syntax“ type for expressions. From this editor, you can perform calculations on multiple variables, so it becomes a very interesting option.
Keep in mind that you have to keep a tag associated to the object to allow the correct expression execution.
A couple of examples :
*1 if you put an expression like „= [x]+1 “ you add 1 in your display tag value.
„[x]“ is the syntax to use the variable associated in the object inside the expression.
*2 „= [Variable1]+[Variable2]“ you will show in the display the sum between the 2 variables values. Keep a variable “ Variable1″ associated to the display anyway to allow the correct expression execution.
Yes, Connext like Movicon.NExT allows to use the „gateway“ features, that means a single TAG can be linked at the same time to different devices, using different drivers.
So, for example, you can address the VAR0001 tag to read a Siemens PLC value and the same VAR0001 tag is also addressed to write this value into, for example, an Allen Bradley PLc or whatever. So you can add more than one „physical I/O link“ property to your Tag.
Be careful because in case both link are defined as read/write, you can have some unpredictible behavior in case of changes from both at the same time (the last win). But normally, who use this feature is because needs a gateway: read form one to write to another.
- Diese Antwort wurde geändert vor 2 Jahre, 1 Monat von Moderator.
The Images are uploaded automatically in the IMAGES folder of the project path in teh target device.
First, you can check if the image is present in this folder.
Second what is the format of the image? is it a JPG image?, if it is in another format (e.g. a TIF image) please try with a JPG.
The Login User Name information is available as system variable.
For example if you add a display and you select the Item tag (tag explorer), in this windows that allows you to browse the tags , you can select the System variables > CurrentUser.
Please consider that the ProEnergy setup installed is not a demo project.
I don’t know if you made the correct configuration from the wizard and if you have properly connected your meters . The chart in the dashboard takes the data directly from the Data Base and represents the graphical overview of the monitored consumptions.
Please contact the Progea support if you need more information.
for example in a Display, you have first assign to the object the variable to be monitored (your word), then you have to open the object’s command tooltip and insert the „.0“ syntax in „Input Expression Code:“ field to read/write the tag’s 0 bit.
„.1“ for the bit 1 …and so on .
For the alarms, by working in the I/O Data server resource, after created the Alarm Prototype, when you assign the alarm definition to your tag (your word) you can select in the „assign mode“ Any tag bit, in this way it will generates multiple alarms, one for each bit of the variable.
I will make sure to check, thank you for the help already in advance! I will post here soon as I have figured it out.
I have seen on another machine that there exist a solution where they launch the application from within Movicon (via VB.NET I would assume) and then handle the application in itself. I don’t know if there is any data exchange on the software side, and if yes how they handled. Maybe they have also just ‚hardwired‘ some I/Os to circumvent the issue. But I can’t be the only one to integrate a third party software that is not ActiveX right? I’m rather new to the topic, so just a quick general description on how someone else handles this would be amazing (accessing shared variables somehow through Movicon, completely separating the softwares and working throug I/Os, Interfaces that can be accessed via some Library, etc..?). I am really lost here. I am not integrating this for commercial purposes, I am a student working on a project, so it’s just for my personal joy and understanding. Thank you everyone for you consideration, time, help and effort 🙂
Or maybe better you can try to load your .net objects in .net form and try to open them directly from the Movicon vb.net environment.
You can take a look at the Progea Example ES_UseWWBNET that is present on their web site.
Als Antwort auf: how to create a polygon (or bezier figure) at runtime ?4 Februar 2016 um 12:05 pm #21206
I saw in the Movicon Help that there is a function : ‚Add PolyPoint, Draw Cmd Target Function‘, as a workaround you could insert the object (polygon) into the screen in design mode, I mean a ‚crude‘ a ‚minimal‘ polygon which could be as a point, so invisible and could be hidden in the graphic interface.
Then you can go and move it in runtime, add points, change background color using the Draw Cmd Target.
I know It s ‚a workaround because the object is not created at runtime, but the object exist and it is only modified in runtime but maybe it could work for your app.