public class IllegalFunctionException extends ModbusProtocolException
"The function code received in the query is not an allowable action for the server (or slave). This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the server (or slave) is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values."
| Constructor and Description |
|---|
IllegalFunctionException(int functionCode) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFunctionCode() |
getExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2018. All rights reserved.