adccommunitymod (AutomationDirect) asked a question.

Click Address Picker - DF Float registers

Created Date: May 22,2010

Created By: kermitbindy

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I am using the Click PLC as a Slave with nothing but an end statement in the PLC. I'm using Modscan and chipkin software in conjunction with my own DDC controller to map registers. How do I get the correct decimal address for the first FLOAT register. (DF1) I have opened the click address picker and tried to find what register to type into Modscan but I can't work out what register to use. It states that DF1 FLOAT is Modbus 428673 Function code (03) I can't work out how to convert this to a normal modbus register offset.


  • adccommunitymod (AutomationDirect)

    Created Date: May 23,2010

    Created by: BAK96

    Just leave out the 4, type in 28673. The Click uses 6 digit internally for floating point instead of 5 digits. I had the same problem hooking up a 3rd party HMI to the Click. Took me a few min. to figure out.

  • adccommunitymod (AutomationDirect)

    Created Date: May 25,2010

    Created by: kermitbindy

    Thanks I'm fairly new to modbus. I was going too deep, wondering if it was oct to dec or something funny like that.

  • adccommunitymod (AutomationDirect)

    Created Date: July 06,2011

    Created by: MikeMc

    Click Floating Numbers

    Here's another point to consider. When getting data from the Click into the D4-450 CPU, the floating point numbers will be by word swapped. If you use a program like Modbus Poll and reverse the floating point number you will get the correct value. If you don't reverse them you will get the same number that the $%) 450 will see.

    Mike

    :mad:

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: May 22,2010

    Created by: kermitbindy

    I am using the Click PLC as a Slave with nothing but an end statement in the PLC. I'm using Modscan and chipkin software in conjunction with my own DDC controller to map registers. How do I get the correct decimal address for the first FLOAT register. (DF1) I have opened the click address picker and tried to find what register to type into Modscan but I can't work out what register to use. It states that DF1 FLOAT is Modbus 428673 Function code (03) I can't work out how to convert this to a normal modbus register offset.

    Expand Post