• D
    decarli.f

    Hi Phil and Fox

    I tried to use two byte unsigned swapped and it did not worked.
    I checked and tested the offset value. It is correct.
    I think the protocol works because i successfully tested the communication using the modbus configuration interface (using two byte integer).

    Considering all tests and results, I think the problem is that the float values (regulator outputs) are not compatible with the 2 byte integer data, which is the type that Arduino can read and process.
    At this point, i am trying to convert the float values to short or two byte integer in the point link script. The lack of number precision is not an issue for this project.

    If you know any script which convert this data.

    Best Regards,

    Felipe

    posted in User help read more
  • D
    decarli.f

    Hi guys,

    I am working on a project including a voltage regulator that communicates with mango by DNP3 protocol and send the values to an arduino by modbus protocol.
    For that I configured some point links aiming to transfer the analog values from the voltage regulator to arduino, using mango as a gateway.
    On point link configuration I used the following script:
    return source.value;
    Problem: It is possible to read the voltage regulator analog values on data point but it does not send the correct values to arduino.

    Additional information:
    I tried to write and read integer values on arduino Modbus registers using mango modbus configuration interface, and it is works fine.
    The arduino modbus library is Modbusino.h which allocates the registers on type uint16_t.

    Can someone help me?

    Best Regards,

    Felipe

    posted in User help read more