HELP needed: MODBUS config for 3 phase RS-485 VFD

Hey Modbus ppl.

I have a bunch of VFD Modbus/RS-485 controlled 3 phase pumps being delivered to my brewery that Im intending on interfacing to. They havent been delivered yet but Im doing all the background work now as I am putting in all new gear and I wont have the time during our closure for installation to experiment.

Need a little help in the interim as to how to send the proper data to the VFD as per the images below.

First of all - am I saving myself by using RTU instead of ASCII because it would appear that I dont need to convert RTU to a hex format before I send it to the MODBUS platform becasue its already in HEX by default?

Also, In the case of the info below - is the following addressing correct based on the 2000H being in hex or do I absolutely need to convert it to Float32???

For example - should “RUN FWD” command (22Hex) be done like this:

service: modbus.write_register
data:
  unit: <target slave address>
  hub: <hub name>
  address: 2000
  value: [0x0000, 0x0022]

OR

service: modbus.write_register
data:
  unit: <target slave address>
  hub: <hub name>
  address: 2000
  value: 22

Additionally, does the Address need to be represented in float32 or is plain hex ok (as above)?

Many thanks

image

for anyone that comes across this.
HA uses decimal for RTU comms so any communication that needs to be done needs to be run through a DEC-HEX converter.