Maverick

Verfasste Forenbeiträge

  • Als Antwort auf: VB script not working properly

    28 September 2018 um 4:26 pm #28801
    Maverick
    Teilnehmer

    Dear Chavan,
    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:

    UI Interface
    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

    Best Regards

  • Als Antwort auf: RFC Call from Movicon

    2 Oktober 2017 um 10:27 am #25338
  • Als Antwort auf: Importing metafile created from autocad drawing

    3 August 2017 um 3:38 pm #25010
    Maverick
    Teilnehmer

    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.

  • Maverick
    Teilnehmer

    Hi Kenansatir
    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()
    Debug.Print objSelector.Scheduler
    End Sub

    Public Sub SymbolLoading()

    Set objSelector = GetSynopticObject.GetSubObject(„HourSelector“).GetObjectInterface

    End Sub

    ###

    I hope this will help you…and can be the initial point for your developments

  • Als Antwort auf: Expression Syntax

    25 April 2017 um 10:10 am #23223
    Maverick
    Teilnehmer

    Hello Robin,
    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.

  • Als Antwort auf: Same Tag connected to different devices

    25 April 2017 um 9:38 am #23221
    Maverick
    Teilnehmer

    Hello,
    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.
  • Als Antwort auf: add image in a screen

    21 April 2017 um 5:01 pm #23185
    Maverick
    Teilnehmer

    Hello Dpedraza,
    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.

  • Als Antwort auf: String to date time format

    21 April 2017 um 4:13 pm #23184
    Maverick
    Teilnehmer

    Hello Mario, I think are necessary more info to answer your question, i suggest to contact the Progea support that usually answer very quickly.

  • Als Antwort auf: Login User Name

    11 April 2017 um 11:20 am #22942
    Maverick
    Teilnehmer

    Hi David,
    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.

  • Als Antwort auf: Meaning for Pro.Energy Charts in the Dashbord

    10 April 2017 um 11:00 am #22842
    Maverick
    Teilnehmer

    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.

  • Als Antwort auf: Pointing a single bit from a TAG

    10 April 2017 um 10:32 am #22841
    Maverick
    Teilnehmer

    Hello Brian,
    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.

  • Als Antwort auf: Movicon drawing .NET assembiles

    4 Juli 2016 um 12:19 pm #21175
    Maverick
    Teilnehmer

    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 🙂

  • Als Antwort auf: Movicon drawing .NET assembiles

    1 Juli 2016 um 10:57 am #21174
    Maverick
    Teilnehmer

    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: Movicon drawing .NET assembiles

    1 Juli 2016 um 10:26 am #21173
    Maverick
    Teilnehmer

    Hi Thomas If your application , your component, exposes an ROT interface you may try to access the data with Movicon along this way. I’m not sure is feasible.

  • Als Antwort auf: how to create a polygon (or bezier figure) at runtime ?

    4 Februar 2016 um 12:05 pm #21206
    Maverick
    Teilnehmer

    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.