• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. tom_buzink
    3. Topics

    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 Mango 5 Documentation Website
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 8
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by tom_buzink

    • T

      DNP3 polling not working with 'non-standard' port settings

      User help
      • • • tom_buzink
      2
      0
      Votes
      2
      Posts
      903
      Views

      phildunlapP

      Hi tom_buzink,

      While the DNP3 module is in a private repo, the source code for the underlying protocol implementation is available: https://github.com/infiniteautomation/DNP34J

      The only use of the port in our code is setting up classes in DNP34J, like,

      @Override public void initialize() { EthernetParameters params = new EthernetParameters(configuration.getHost(), configuration.getPort()); DNPConfig config = new DNPConfig(params, configuration.getSourceAddress(), configuration.getSlaveAddress()); super.initialize(config); }

      which is then calling

      protected boolean initialize(DNPConfig config) { config.setRequestTimeout(vo.getTimeout()); config.setRequestRetries(vo.getRetries()); // dnp3Master.setStaticPollMultiplier(vo.getStaticPollPeriods()); user = new DNPUser(config); try { user.init(); initialized = true; returnToNormal(DATA_SOURCE_EXCEPTION_EVENT, System.currentTimeMillis()); } catch (Exception e) { raiseEvent(DATA_SOURCE_EXCEPTION_EVENT, System.currentTimeMillis(), true, new TranslatableMessage( "event.exception2", vo.getName(), e.getMessage())); LOG.debug("Error while initializing data source", e); this.initialized = false; try { user.stop(); } catch(Exception e2) {} //munch return false; } super.initialize(); //com.serotonin.m2m2.rt.dataSource.PollingDataSource return true; }

      While I do not have much experience with DNP3 devices in particular, it is odd to me that you would say it works and then stops working. What version of Mango are you using? Does disabling and re-enabling the data source cause it to start working again if it is on a non-20000 port?

      If you observe it not polling anymore (but had been) when not using the standard port, I would be curious to see the output of going to the /rest/v1/threads?asFile=true&stackDepth=40 endpoint in your browser, which you could email into support@infiniteautomation.com and I would take a look at it

    • T

      DNP 3 IP - "Reset Link Failed!" alarm

      User help
      • dnp3 alarms • • tom_buzink
      3
      0
      Votes
      3
      Posts
      1.5k
      Views

      T

      Hi Phil,

      Thanks for that. I tested some more and it seems related to the port I was using. The Mango is being a second DNP3 master and I used port 20002 (the other Master is using 20001). I'll investigate what ports both masters can use - unfortunately the slave device needs separate ports...

    • T

      Excel Reporting Overloading Mango

      User help
      • • • tom_buzink
      4
      0
      Votes
      4
      Posts
      1.4k
      Views

      phildunlapP

      Thanks for sharing the resolution!

    • T

      Unsolved Export archive file to csv

      User help
      • • • tom_buzink
      6
      0
      Votes
      6
      Posts
      2.2k
      Views

      JoelHaggarJ

      I'm not sure if Samba is installed but you could probably install it if isn't.