Menu

Display Panel Modbus RTU float

Help
B W
2014-09-22
2015-09-17
  • B W

    B W - 2014-09-22

    I am using the latest 3.70 version with an Automation Direct click PLC.
    The integer values work fine using the ModbusRTUcomm.
    The first word of 2 words for a floating point starts at 428673.
    I seems to be getting a corrupted value.
    Is there a built in way of defining a floating point value or manipulation the byte order?

     
  • Cristhian

    Cristhian - 2015-01-20

    SOMEONE KNOW WHAT DIRECTLOGIC PLC CAN SUPPORT MODBUS RTU?

     

    Last edit: Cristhian 2015-01-20
  • Archie

    Archie - 2015-01-20

    I do believe that most of the DirectLogic PLCs support ModbusRTU. The most testing has been done with the ClickPLC

     
  • B W

    B W - 2015-09-16

    Testing the latest 3.98 on Click with ModbusRTUCom1.
    Look like still issues with floating point.
    Digitial I/O & integer values work fine with the ModbusRTUCom1 settings:
    Swapbytes = True
    Swapwords make no change.

     
  • Archie

    Archie - 2015-09-16

    I just did a quick test by adding a BasicLabel to the form and setting both PLCAddressValue and PLCAddressKeypad to F428673. I then ran the app, clicked the label, enterered 123.11
    I then went online with the programming software and checked DF1. The values matched as expected

    SwapBytes=True
    SwapWords=False

     
  • Archie

    Archie - 2015-09-16

    You may want to read this thread for information on Modbus addressing:

    http://advancedhmi.com/forum/index.php?topic=765.0

     

    Last edit: Archie 2015-09-16
  • B W

    B W - 2015-09-17

    That did it for the Click PLC.
    I needed to use the "F".

    Thanks Archie.

     

Log in to post a comment.