Modbus Software, Driver and Libraries
 Login 
Member of Modbus Organization

Have a Question?

We accept VISA, MasterCard, PayPal

30-day Money-Back Guarantee

MbusSlaveFailureException Class Reference
[Fieldbus Protocol Errors and Exceptions]

Inheritance diagram for MbusSlaveFailureException:

Inheritance graph
Collaboration diagram for MbusSlaveFailureException:

Collaboration graph
List of all members.

Detailed Description

Slave Device Failure exception response.

Signals that a Slave Device Failure exception response (code 04) was received. This exception response is sent by a slave device instead of a normal response message if an unrecoverable error occured while processing the requested action. This response is also sent if the request would generate a response whose size exceeds the allowable data size.

Version:
1.0
See also:
MbusResponseException


Public Member Functions

 MbusSlaveFailureException ()
 Constructs a MbusSlaveFailureException.

Static Public Member Functions

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


Member Function Documentation

static long getCounter  )  [static]
 

Returns how often this exception has been triggered.

Returns:
Counter value

Reimplemented from MbusResponseException.