• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. copytco

    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
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 20
    • Best 0
    • Controversial 0
    • Groups 0

    copytco

    @copytco

    0
    Reputation
    991
    Profile views
    20
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    copytco Unfollow Follow

    Latest posts made by copytco

    • RE: Polling issue with high register number with Arduino via Modbus

      Hi phildunlap,

      I use a simple USB A male to B male cable to connect my Arduino and unfortunately I am not capable of building 485 type of connection.

      Any type of timing settings (even above 10 s) resulted in aborted polls in Mango, while as strict polling as 500 ms or 1 s in ScadaBR or RapidSCADA or any other Modbus Master (downloaded some applications acting as Modbus Master) do not act like Mango with the same settings. Therefore, I do not know what type of timing override I might employ to make it work.

      posted in User help
      C
      copytco
    • RE: Polling issue with high register number with Arduino via Modbus

      No, this exception no longer occurs. However, timeout errors are still present. I imported the project, after some modifications, to ScadaBR and It works without those errors. Also, I have set up RapidSCADA and It is also going without any timeouts on the same polling time configuration, so this drives me to conclusion, that the issue comes directly from Mango.

      posted in User help
      C
      copytco
    • RE: Polling issue with high register number with Arduino via Modbus

      I run Mango on Windows 7 Home Premium, on Asus K53S with i7-2630QM CPU. All I know about those errors is that what is in the first post and while going through the log I see also something like that:

      WARN 2016-01-15 19:25:18,888 (com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeout:106) - Modbus: poll at 2016/01/15 19:25:18 aborted because a previous poll started at 2016/01/15 19:25:16 is still running
      DEBUG 2016-01-15 19:25:18,888 (com.serotonin.m2m2.rt.EventManager.raiseEvent:155) - Event raised: type=DataSoureEventType(dataSourceId=2, eventTypeId=4), message='Modbus': Data source with xid: DS_257972 and name: Modbus, aborted 219 polls.

      I can try to run fresh Mango install on virtual machine with Ubuntu installed and see what happens.

      posted in User help
      C
      copytco
    • RE: Polling issue with high register number with Arduino via Modbus

      Thanks, unfortunately I still experience those errors mentioned in the first post. Though, they seem to be a little bit less intensive.

      posted in User help
      C
      copytco
    • RE: Polling issue with high register number with Arduino via Modbus

      Thanks, I see that there is no longer error message, but some other appeared. Details are here: http://pasted.co/ae06e69d To know if it resolves the aborted polls issue, I would need to let it run for couple of hours.

      posted in User help
      C
      copytco
    • RE: Polling issue with high register number with Arduino via Modbus

      Thanks, phildunlap, I used your file and this is the log I received: http://pasted.co/6ac92888

      posted in User help
      C
      copytco
    • RE: Polling issue with high register number with Arduino via Modbus

      So is there any way of solving that problem? I see than I encounter the same error message even on fresh install of Mango when creating Modbus data source and defining at least one data point.

      posted in User help
      C
      copytco
    • RE: Polling issue with high register number with Arduino via Modbus

      Hi, I tried placing the file into serotonin folder and when tried to enable my data source, got an error as shown below.

      modbus_error.JPG

      What could I do about it now?

      posted in User help
      C
      copytco
    • RE: Polling issue with high register number with Arduino via Modbus

      Thank you, phildunlap.

      I did what you have written - moved debug-log4j.xml in place of log4j.xml, created overrides folder and subfolders, and placed the file provided by you in there. Here is the log I received: http://pasted.co/d6b935a0

      I do not know much about how Modbus works "inside", but I here is the log I received for this session: http://pasted.co/10adedb5

      posted in User help
      C
      copytco
    • RE: Polling issue with high register number with Arduino via Modbus

      phildunlap, thanks for your post.

      Below, you can find my current settings (I believe they have an impact on error appearing rate). The whole log with started "Modbus" data source is here: http://pasted.co/7265b7d4

      modbus_settings.JPG

      posted in User help
      C
      copytco