Scales given value by scale denominator in register. For example, if
attribute scale is set to 10, the routine will device value by
10. If scale is 0 or 1, the value will not be modified.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(modbus_register_type), | intent(inout) | :: | register |
Modbus register type. |
||
| real(kind=r8), | intent(inout) | :: | value |
Value to scale. |