ezeio2:scriptref:setmodbustimeout

Set the bus timeout for Modbus/RTU communication

Description

SetModbusTimeout( ms )

Set the timeout in milliseconds that bus commands will wait for a device to reply.

Parameters

ms Timeout in milliseconds

Return value

This function returns no value.

Example usage

   SetModbusTimeout(1000);  // Bus commands will wait up to 1s for replies.
  • ezeio2/scriptref/setmodbustimeout.txt
  • Last modified: 2023-10-02 17:51
  • by andreh