ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Modbus functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
New in version 2024
WEBDEV - Server code Most of these constants are now available in WEBDEV Server (Windows and Linux).
The following constants are used by the Modbusxxx functions:
ConstantDetailsFunction
modbusABCDMode for storing float values on the slave device. Bytes are identified from A to D. A is the most significant byte and D is the least significant byte (IEEE-754 standard).

The sent bytes are stored the same order on the slave device.
ModbusWriteFloat
ModbusReadFloat
modbusBADCMode for storing float values on the slave device. Bytes are identified from A to D. A is the most significant byte and D is the least significant byte (IEEE-754 standard).

The sent bytes are swapped 2 by 2 on the slave device.
ModbusWriteFloat
ModbusReadFloat
modbusCDABMode for storing float values on the slave device. Bytes are identified from A to D. A is the most significant byte and D is the least significant byte (IEEE-754 standard).

The sent bytes are swapped 2 by 2 on the slave device.
ModbusWriteFloat
ModbusReadFloat
modbusDCBAMode for storing float values on the slave device. Bytes are identified from A to D. A is the most significant byte and D is the least significant byte (IEEE-754 standard).

The sent bytes are swapped on the slave device.
ModbusWriteFloat
ModbusReadFloat
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/13/2023

Send a report | Local help