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 functions are now available for WEBDEV websites in Windows and Linux.
These are the Modbus functions (prefix syntax):
<modbusSession>.DisconnectCloses the Modbus session.
<modbusSession>.ReadBitReads one or more bits from a Modbus slave, starting at a specific address.
<modbusSession>.ReadFloatReads one or more single-precision floats from a Modbus slave, starting at a specific address.
<modbusSession>.ReadRegisterReads one or more registers from a Modbus slave, starting at a specific address.
New in version 2024
<modbusSession>.SendRawFrame
Sends a raw frame to a Modbus slave. This enables communication with devices that do not strictly comply with the Modbus standard.
<modbusSession>.WriteBitWrites one or multiple bits to a specific address in a Modbus slave.
<modbusSession>.WriteFloatWrites one or more single-precision floats to a Modbus slave, starting at a specific address.
<modbusSession>.WriteRegisterWrites one or more registers (16-bit values) to a Modbus slave, starting at a specific address.
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/05/2024

Send a report | Local help