FieldTalk Modbus Master Library for .NET
FieldTalk Modbus Master Library for .NET
Namespaces
FieldTalk.Modbus.Master
BusProtocolErrors Class
BusProtocolErrors Methods
BusProtocolErrors Fields

# BusProtocolErrors Class

Protocol Errors and Modbus exceptions codes
Inheritance Hierarchy
System
Object
FieldTalk.Modbus.Master
BusProtocolErrors

Namespace: FieldTalk.Modbus.Master
Assembly: FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
C#
VB
C++
Copy

    public class BusProtocolErrors

    Public Class BusProtocolErrors

    public ref class BusProtocolErrors

The BusProtocolErrors type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| getBusProtocolErrorText | Returns string description of an error code

Top
Fields

| Name | Description
--- | --- | ---
| FTALK_BUS_PROTOCOL_ERROR_CLASS | Fieldbus protocol error class
| FTALK_CHECKSUM_ERROR | Checksum error
| FTALK_CONNECTION_WAS_CLOSED | Remote peer closed TCPIP connection
| FTALK_EVALUATION_EXPIRED | Evaluation expired
| FTALK_FILEDES_EXCEEDED | File descriptors exceeded
| FTALK_ILLEGAL_ARGUMENT_ERROR | Illegal argument error
| FTALK_ILLEGAL_SLAVE_ADDRESS | Slave address 0 illegal for serial protocols
| FTALK_ILLEGAL_STATE_ERROR | Illegal state error
| FTALK_INSUFFICIENT_BUFFER | Size of response buffer insufficient
| FTALK_INVALID_FRAME_ERROR | Invalid frame error
| FTALK_INVALID_MBAP_ID | Invalid MPAB indentifer
| FTALK_INVALID_REPLY_ERROR | Invalid reply error
| FTALK_IO_ERROR | IO error
| FTALK_IO_ERROR_CLASS | IO error class
| FTALK_LINE_BUSY_ERROR | Serial line busy/noisy
| FTALK_LINE_ERROR | Serial line error
| FTALK_LISTEN_FAILED | Listen failed
| FTALK_MBUS_EXCEPTION_RESPONSE | Modbus exception response
| FTALK_MBUS_GW_PATH_UNAVAIL_RESPONSE | Gateway Path Unavailable exception response
| FTALK_MBUS_GW_TARGET_FAIL_RESPONSE | Gateway Target Device Failed exception response
| FTALK_MBUS_ILLEGAL_ADDRESS_RESPONSE | Illegal Data address exception response
| FTALK_MBUS_ILLEGAL_FUNCTION_RESPONSE | Illegal Function exception response
| FTALK_MBUS_ILLEGAL_VALUE_RESPONSE | Illegal Data Value exception response
| FTALK_MBUS_SLAVE_FAILURE_RESPONSE | Slave Device Failure exception response
| FTALK_NO_DATA_TABLE_ERROR | No data table configured
| FTALK_OPEN_ERR | Port or socket open error
| FTALK_OVERRUN_ERROR | Serial buffer overrun
| FTALK_PORT_ALREADY_BOUND | TCP port already bound
| FTALK_PORT_ALREADY_OPEN | Serial port already open
| FTALK_PORT_NO_ACCESS | No permission to access serial port or TCP port
| FTALK_PORT_NOT_AVAIL | TCP port not available
| FTALK_REPLY_TIMEOUT_ERROR | Reply time-out
| FTALK_SEND_TIMEOUT_ERROR | Send time-out
| FTALK_SOCKET_LIB_ERROR | Socket library error
| FTALK_SUCCESS | Operation was successful
| FTALK_TCPIP_CONNECT_ERR | TCPIP connection error

Top
Remarks
Definition of error codes returned by the FieldTalk functions. The error code can be converted to a UNICODE error text using the function BusProtocolErrors.getBusProtocolErrorText.
Thread Safety
Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also

#### Reference

FieldTalk.Modbus.Master Namespace
FieldTalk Modbus Master Library for .NET
Library version 2.15.2