dm_modbus_set_real Subroutine

public subroutine dm_modbus_set_real(value, registers, byte_order, error)

Sets real value to registers of given byte order. The argument byte order must be one of the following:

  • MODBUS_REAL_ABCD
  • MODBUS_REAL_BADC
  • MODBUS_REAL_CDAB
  • MODBUS_REAL_DCBA

The routine sets argument error' toE_INVALID` on any other value.

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: value

Real value to set.

integer(kind=u2), intent(out) :: registers(2)

Registers to write to.

integer, intent(in) :: byte_order

Byte order.

integer, intent(out), optional :: error

Error code.


Calls

proc~~dm_modbus_set_real~~CallsGraph proc~dm_modbus_set_real dm_modbus_set_real modbus_set_float_abcd modbus_set_float_abcd proc~dm_modbus_set_real->modbus_set_float_abcd modbus_set_float_badc modbus_set_float_badc proc~dm_modbus_set_real->modbus_set_float_badc modbus_set_float_cdab modbus_set_float_cdab proc~dm_modbus_set_real->modbus_set_float_cdab modbus_set_float_dcba modbus_set_float_dcba proc~dm_modbus_set_real->modbus_set_float_dcba