Returns real value from two registers of given byte order in argument
value
. The argument byte order must be one of the following:
MODBUS_REAL_ABCD
MODBUS_REAL_BADC
MODBUS_REAL_CDAB
MODBUS_REAL_DCBA
The function sets argument error' to
E_INVALID` on any other value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=u2), | intent(inout) | :: | registers(2) |
Registers to convert. |
||
integer, | intent(in) | :: | byte_order |
Byte order. |
||
integer, | intent(out), | optional | :: | error |
Error code. |