Menu

ModbusRTU

Help
2014-01-21
2014-04-10
  • Tom Barclay

    Tom Barclay - 2014-01-21

    Hi,
    I am trying to use the simulator, I use RS232 connection. I only ever get error messages back down the serial line, no matter what RTU message I send

    The error message I get is 01 83 01 80 F0

    Below are the messages I send (and the replies from ModbusTools slave simulator) proving that the queries to the simulator are good.

    RX = from TDMA TX = from BEM500

    000788-Rx:01 03 40 00 00 02 D1 CB
    000789-Tx:01 03 04 00 64 00 00 BB EC
    000790-Rx:01 03 40 06 00 02 31 CA
    000791-Tx:01 03 04 00 00 00 00 FA 33
    000792-Rx:01 03 40 0C 00 02 11 C8
    000793-Tx:01 03 04 00 00 00 00 FA 33
    000794-Rx:01 03 40 02 00 02 70 0B
    000795-Tx:01 03 04 01 DD 00 00 6B F5
    000796-Rx:01 03 40 04 00 02 90 0A
    000797-Tx:01 03 04 01 CC 00 00 3B F0
    000798-Rx:01 03 41 86 00 01 71 DF
    000799-Tx:01 03 02 00 01 79 84
    000800-Rx:01 03 40 16 00 01 70 0E
    000801-Tx:01 03 02 00 03 F8 45
    000802-Rx:01 03 40 15 00 01 80 0E
    000803-Tx:01 03 02 00 01 79 84

    RX = message sent from my device Tx = message sent from Modbus simulator

    What have I done wrong ???

    Also it would be nice to have a comms terminal window to view the real time comms.

    Best regards ... Tom

     
  • nnovic

    nnovic - 2014-04-10

    Dear Tom,
    The latest release of ModbusPal seem to have a problem when it comes to open a savec project file. The source code contains a fix regarding that issue, so I suggest that you download the source code and build it.
    Best regards,
    nnovic

     

Log in to post a comment.