Documentation

MbusIllegalFunctionException Class Reference
[Error Management]

Illegal Function exception response. More...

Inheritance diagram for MbusIllegalFunctionException:
MbusResponseException BusProtocolException

List of all members.

Public Member Functions

 MbusIllegalFunctionException ()
 Creates a new MbusIllegalFunctionException instance.

Static Public Member Functions

static long getCounter ()
 Returns how often this exception has been triggered.
static void resetCounter ()
 Resets exception counter.

Detailed Description

Illegal Function exception response.

Signals that an Illegal Function exception response (code 01) was received. This exception response is sent by a slave device instead of a normal response message if a master sent a Modbus function which is not supported by the slave device.

See also:
MbusResponseException

Member Function Documentation

static long getCounter (  )  [static]

Returns how often this exception has been triggered.

Returns:
Counter value

Reimplemented from MbusResponseException.


FieldTalk Modbus Master Library, Java Edition
Library version 2.6.5