Sets debug flag of the Modbus context. Returns E_MODBUS
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(modbus_type), | intent(inout) | :: | modbus |
Modbus RTU/TCP type. |
||
logical, | intent(in) | :: | debug |
Enable debug mode. |