dm_modbus_write_int32 Function

public function dm_modbus_write_int32(modbus, address, value) result(rc)

Writes 4-byte signed integer to address.

The function returns the following error codes:

  • E_MODBUS if writing the registers 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.

integer, intent(in) :: address

Address to write to.

integer(kind=i4), intent(in) :: value

Value to write.

Return Value integer


Calls

proc~~dm_modbus_write_int32~~CallsGraph proc~dm_modbus_write_int32 dm_modbus_write_int32 proc~dm_modbus_set_int32_to_int16 dm_modbus_set_int32_to_int16 proc~dm_modbus_write_int32->proc~dm_modbus_set_int32_to_int16 proc~dm_modbus_write_registers dm_modbus_write_registers proc~dm_modbus_write_int32->proc~dm_modbus_write_registers modbus_write_registers modbus_write_registers proc~dm_modbus_write_registers->modbus_write_registers