dm_modbus_flush Function

public function dm_modbus_flush(modbus) result(rc)

Flushes non-transmitted data.

The function returns the following error codes:

  • E_MODBUS if flushing failed.
  • E_NULL if the Modbus context is not associated.

Arguments

Type IntentOptional Attributes Name
class(modbus_type), intent(inout) :: modbus

Modbus RTU/TCP type.

Return Value integer


Calls

proc~~dm_modbus_flush~~CallsGraph proc~dm_modbus_flush dm_modbus_flush modbus_flush modbus_flush proc~dm_modbus_flush->modbus_flush