Jeff (Customer) asked a question.

We have converted from using Click to BRX. I am attempting to communicate with a VFD via ModBus. With the Click I could choose Hex addressing. Unfortunately I have to use Hex to communicate. Is there any way to use Hex Addressing with the BRX?

  • ADC Community_03 (AutomationDirect)

    Unfortunately not for the Modbus Offset Address. But you could do the conversions pretty easily in Excel by using this formula in a cell: =HEX2DEC(B2)+1 where "B2" is a cell containing the VFD hex address. This is assuming that the Hex value is an offset from 0. If the Hex addressing in the VFD is an offset from 1, then remove the +1 from the formula.

    This is the unfortunate thing about Modbus. No 'definitive' addressing scheme is really outlined in the specification. BRX (as most devices in the industry) follows the Modicon addressing scheme.

    Expand Post
  • HOST_franji1 (HOST Engineering)

    The Modbus Mastering instructions in Do-more/BRX just take a simple Application Layer offset based on the Modbus FC/Type. For example, if you are Writing Holding Register, a typical Holding Register address is 40001. But in Do-more, you only need to enter the Holding Register Address offset (1), not the entire 40001 since you already selected the FC "Write Holding Register" which always has a prefix of 4xxxx.

     

    So to convert your packet level hex offsets, get the decimal equivalent and add 1 (e.g. 0x0000 you would enter 1, 0x000A enter 11, 0x000F enter 16, etc.)

     

    We can definitely tweak the editor to allow a packet level hex offset entry (e.g. 0x0000 for offset 1)

    Expand Post
  • Jeff (Customer)

    Thank you for the awesome support!!!!! I was on the correct path but failed to add the +1. Working great now.