Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

V.1.11.0 installed but OPC DA datasource is not there :(


  • Hello,

    I saw that v.1.11.0 has OPC DA datasource. What I might done wrong because I did not see it in a list of datasources? Any idea? I upgraded mango from the earlier version and everything seemed to go OK. Mango is now 1.11.0.


  • The OPC DA data source was contributed by the kind folks at certi.org.br. We are waiting for them to confirm its production usability, and in the meantime have marked it to not display by default. If you want to try it out, use the SQL page to run this update:

    insert into systemSettings (settingName, settingValue) values ('OPC.display', 'Y')
    

  • Alright, thank you!

    Any advise how to configure it? No help text yet founded...


  • Succeded in some tests with this configuration:
    Name and Export Id : like in all other datsources

    Host : the hostname or IP adress of the OPC server
    Domain user and password : Authentification information so the client can acess the server. (I made a replication server on a Windows machine and put there a window user information )

    Server : If all above information is OK when you click Refresh, You will get a list of available OPC servers, then choose one.

    Update periode ... I guess it is explicit.

    You can now save and then press 'browse tags'
    You'll then get a list of available tags.
    select some of then and press 'Add Tags'
    You will get Data Point for all selected tags.


  • But I still have some trouble :

    • the browse tag don't give me any String datatype Tag
    • the browse tag don't give me any settable Tag

    And I've got an OPC server functionning like that :

    If I want to get the parameter X on machine Y
    groupReqX settable I put value Y
    groupAnsX I get the value overwise I get 0

    Is there any way to do that ? how ? scripting?


  • @Patriator said:

    Succeded in some tests with this configuration:
    Name and Export Id : like in all other datsources

    Host : the hostname or IP adress of the OPC server
    Domain user and password : Authentification information so the client can acess the server. (I made a replication server on a Windows machine and put there a window user information )

    Server : If all above information is OK when you click Refresh, You will get a list of available OPC servers, then choose one.

    Update periode ... I guess it is explicit.

    You can now save and then press 'browse tags'
    You'll then get a list of available tags.
    select some of then and press 'Add Tags'
    You will get Data Point for all selected tags.

    Thank you for the clear answer, above makes sense but I did not managed :( Or should OPC Servers always be in a different machine and "localhost" is not accepted or otherwise it is something to do a machine without domain as is a case in my PC, all servers are in a mango machine.

    For other question from you I don't have an answer but I also waiting an answer for settable value issue...


  • Mango is on a virtual Linux box so I can't answer for the localhost.
    Maybe You could try with the box IP or 127.0.0.1 instead of localhost.

    I tried to let domain blank and it worked fine.


  • I used localhost and it worked fine.


  • Tried to add manually (with the import feature) a data point type string like that :

     {
       "dataPoints":[
       {
             "xid":"DP_999323",
             "loggingType":"ON_CHANGE",
             "intervalLoggingPeriodType":"MINUTES",
             "intervalLoggingType":"INSTANT",
             "purgeType":"YEARS",
             "pointLocator":{
                "dataType":"ALPHANUMERIC",
                "settable":false,
                "tag":"PCC1.AR01.A0_ssys_ddmmyy00"
             },
             "eventDetectors":[
             ],
             "engineeringUnits":"",
             "chartRenderer":null,
             "dataSourceXid":"DS_691328",
             "defaultCacheSize":1,
             "discardExtremeValues":false,
             "discardHighLimit":0.0,
             "discardLowLimit":0.0,
             "enabled":true,
             "intervalLoggingPeriod":15,
             "name":"PCC1.AR01.A0_ssys_ddmmyy00",
             "purgePeriod":1,
             "textRenderer":{
                "type":"PLAIN",
                "suffix":""
             },
             "tolerance":0.0
          }
    	     ]
    }
    

    I get 'Unknown value type' so it find the Tag (would get a 'Unknow Tag' overwise) but can't do anything with the answer.


  • I was able to import this point, but of course, it says that it was unable to add the point because i don't have it. If you know you have that point on your server, i think someone from ScadaBR will need to comment. They're the experts on it.


  • Any doubt about OPC Configuration please take a look:

    http://sourceforge.net/projects/scadabr/files/Software/Docs/OPC Configuration ScadaBR.pdf

    The configurations about OPC DataSource refers only to the server, in other words, all the settings must be about where OPC Server is located.

    A important note: The computer where is the Server must contain a domain.


  • @rbautomacao said:

    A important note: The computer where is the Server must contain a domain.

    Yes, I got mine working with a computer which is part of a domain. But same notice as "Patriator" has: Settable values shows "false" even if I know that OPC Server tag is writable one.

    Maybe have to just wait some improvements from ScadaBR, "mlohbihler"?


  • Hi again,

    ScadaBR team made some improvements about OPC Client and i believe that
    within a maximum a week they are passed for Mango.


  • Hello

    rbautomacao has updated the opc-driver.jar

    it can be found here:
    https://scadabr.svn.sourceforge.net/svnroot/scadabr/ScadaBR/WebContent/WEB-INF/lib/opc-driver.jar

    please try this new version and let us know if the fixes are ok.

    thanks! :)
    Victor
    ScadaBR


  • Just tried this new jar.
    write allowed points are now listed as settable.

    I still get some points missing ( string) but not with all the opc servers.


  • @victor-br said:

    please try this new version and let us know if the fixes are ok.

    Yes, now it's works!

    I did not made any further checking but anyway direction is right!

    Hopefully development does not end and soon we will see also settable polling periods for individual points etc. OPC Client things...


  • how can i use this opc da datasource to connect to a beijersopc server?

    there are no provisions to set username or password..

    also, i'll be installing everything on xp home (so no domain) :-/

    be great to see this working


  • ... just an update... been playing around and can now connect to the opc server.... but its only showing tags in the default container 'SystemVariables' and not my tags present in my group containers...??