dm_modbus_mode_is_valid Function

public pure elemental function dm_modbus_mode_is_valid(mode) result(valid)

Returns .true. if mode is a valid enumerator. MODBUS_MODE_NONE is invalid.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: mode

Modbus mode enumerator.

Return Value logical