AdvancedHMI Software

General Category => Support Questions => Topic started by: Nikola Tesla on March 20, 2024, 06:47:41 AM

Title: Float Register with Modbus
Post by: Nikola Tesla on March 20, 2024, 06:47:41 AM
Good morning, I am doing some Float register readings in modbus TCP and I am using the AnalogoValueDisplay with PlcAddressValue F40001. It reads correctly the float register, taking register 40002 as the most significant register (where the sign and the exponent are), I wonder how I could do it the other way round, that is, with register 40001 as the most significant register.

Thank you very much
Title: Re: Float Register with Modbus
Post by: Archie on March 20, 2024, 08:31:20 AM
In the Modbus driver, try to set SwapWords to True to see if that does what you want.
Title: Re: Float Register with Modbus
Post by: Nikola Tesla on March 20, 2024, 08:39:42 AM
Yes! i just test It. As always thank you!!