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.

  • Newbies: Help for application Android Modbus RTU in serial USB

    2
    0 Votes
    2 Posts
    4k Views
    H
    Looks like you and I are trying to do the same thing. It seems that your simply looking to poll modbus registers, and write them. Here's what I found. There are two types of groups. Group one are experts at doing just this. Group two are experts at taking the data and putting it on a slick graph. I spent 6 months on this same project last year, only to get frustrated and quit. I think we should collaborate. Drop me an email response. Thanks. Greg
  • Modbus4J - help with getting started

    2
    0 Votes
    2 Posts
    4k Views
    C
    check out the modbus data source in the old mango source code for an example on how to use the modbus4j library https://sourceforge.net/projects/scadabr/files/Software/mango-src/
  • RTU RS232 communication problem

    2
    0 Votes
    2 Posts
    3k Views
    phildunlapP
    Hi libu7alex, ReadSerialTest throws a null pointer because TestSerialPortWrapper returns nulls for its input and output streams. That looks like a bug in the test, and shouldn't affect the larger issue you seem to be asking about, so, I believe you're writing code to use Modbus4J? We offer limited free support for this. You are providing the SerialPortWrapper to the Modbus master you're creating an instance of, correct? If so you should set a breakpoint in your serial port wrapper and see what happens in the serial library you're wrapping for the 232 setup you're testing when it tries to get the input or output stream from your wrapper.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    22 Views
  • How to cast BatchResults getValue(n) property to int in ModBus TCP/IP

    3
    0 Votes
    3 Posts
    3k Views
    L
    Thank you so much it works.
  • [SOLVED] Modbus TCP Master error

    4
    0 Votes
    4 Posts
    4k Views
    phildunlapP
    Nice! Thanks for sharing the solution!
  • Modbus register

    2
    0 Votes
    2 Posts
    3k Views
    phildunlapP
    Hi Matteo, It does. I'm surprised you ask about Read Holding Registers, this is certainly a critical function of the datasource! It can be issued by the tool on the data source page using the read registers tool, or in the operation of the data source if it has holding register points. In Mango to force the use of writing multiple coils and others, check the box for "Use multiple write commands only" and save the data source.
  • Full support for timeout

    4
    0 Votes
    4 Posts
    4k Views
    Thomaz Luiz SantosT
    another suggertion to Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm); socket.setTcpNoDelay(getTcpNoDelay);
  • Modbus4J WaitingRoomException

    2
    0 Votes
    2 Posts
    3k Views
    Thomaz Luiz SantosT
    http://infiniteautomation.com/forum/topic/1333/possible-bug-on-master-rtu-over-tcp
  • IllealFunctionExeption code:0x7f

    2
    0 Votes
    2 Posts
    2k Views
    JoelHaggarJ
    Illegal Function generally means you are trying to read a slave device with a function code that is not supported by the device or in the modbus spec. You might try reversing your RS-485 wires or checking your code because I'd be surprised if 7F was a valid function code. The more common function codes are 03 and 04.
  • How disable logging

    4
    0 Votes
    4 Posts
    3k Views
    phildunlapP
    Hi Karateboy, My mistake, I didn't see this was in the Modbus4J section, I gave the normal Mango answer. When you placed common-logging.properties somewhere, that file was unique and on the classpath, correct? I have not attempted what you are describing so I am guessing here... Looking at how Mango initializes its logging, it seems to me if you've got the commons-logging jar, the log jar and the log4j jar on the classpath, you should be able to configure it with a log4j.xml file being on the classpath too. There is probably a better way to init the LoggingFactory if you're only use of it is in the Modbus4J classes. Perhaps someone else could be more useful.
  • My working hello world TCP slave (server)

    2
    0 Votes
    2 Posts
    3k Views
    phildunlapP
    Thanks for sharing!
  • modbus rest api error

    6
    0 Votes
    6 Posts
    4k Views
    Matteo CusmaiM
    Thanks Phil, however putting class into overrides didn't work well, so I had to substitute it into the jar.
  • Invalid slave id

    11
    0 Votes
    11 Posts
    10k Views
    C
    villadaniel_, since it is a PLC why don't you change its slave id to something in the range that will work?
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    9 Views
    No one has replied