• Libraries
  • Shop
  • Doc
  • Free Modbus
  • Support
  • Login
FieldTalk Modbus Master Library for .NET
FieldTalk Modbus Master Library for .NET
Namespaces
FieldTalk.Modbus.Master
BusProtocolErrors Class
BusProtocolErrors Methods
BusProtocolErrors Fields
Click or drag to resizeClick or drag to resize

BusProtocolErrors Class

Protocol Errors and Modbus exceptions codes
Inheritance Hierarchy
SystemObject
  FieldTalk.Modbus.MasterBusProtocolErrors

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
  NameDescription
Public methodStatic membergetBusProtocolErrorText
Returns string description of an error code
Top
Fields
  NameDescription
Public fieldStatic memberFTALK_BUS_PROTOCOL_ERROR_CLASS
Fieldbus protocol error class
Public fieldStatic memberFTALK_CHECKSUM_ERROR
Checksum error
Public fieldStatic memberFTALK_CONNECTION_WAS_CLOSED
Remote peer closed TCPIP connection
Public fieldStatic memberFTALK_EVALUATION_EXPIRED
Evaluation expired
Public fieldStatic memberFTALK_FILEDES_EXCEEDED
File descriptors exceeded
Public fieldStatic memberFTALK_ILLEGAL_ARGUMENT_ERROR
Illegal argument error
Public fieldStatic memberFTALK_ILLEGAL_SLAVE_ADDRESS
Slave address 0 illegal for serial protocols
Public fieldStatic memberFTALK_ILLEGAL_STATE_ERROR
Illegal state error
Public fieldStatic memberFTALK_INSUFFICIENT_BUFFER
Size of response buffer insufficient
Public fieldStatic memberFTALK_INVALID_FRAME_ERROR
Invalid frame error
Public fieldStatic memberFTALK_INVALID_MBAP_ID
Invalid MPAB indentifer
Public fieldStatic memberFTALK_INVALID_REPLY_ERROR
Invalid reply error
Public fieldStatic memberFTALK_IO_ERROR
IO error
Public fieldStatic memberFTALK_IO_ERROR_CLASS
IO error class
Public fieldStatic memberFTALK_LINE_BUSY_ERROR
Serial line busy/noisy
Public fieldStatic memberFTALK_LINE_ERROR
Serial line error
Public fieldStatic memberFTALK_LISTEN_FAILED
Listen failed
Public fieldStatic memberFTALK_MBUS_EXCEPTION_RESPONSE
Modbus exception response
Public fieldStatic memberFTALK_MBUS_GW_PATH_UNAVAIL_RESPONSE
Gateway Path Unavailable exception response
Public fieldStatic memberFTALK_MBUS_GW_TARGET_FAIL_RESPONSE
Gateway Target Device Failed exception response
Public fieldStatic memberFTALK_MBUS_ILLEGAL_ADDRESS_RESPONSE
Illegal Data address exception response
Public fieldStatic memberFTALK_MBUS_ILLEGAL_FUNCTION_RESPONSE
Illegal Function exception response
Public fieldStatic memberFTALK_MBUS_ILLEGAL_VALUE_RESPONSE
Illegal Data Value exception response
Public fieldStatic memberFTALK_MBUS_SLAVE_FAILURE_RESPONSE
Slave Device Failure exception response
Public fieldStatic memberFTALK_NO_DATA_TABLE_ERROR
No data table configured
Public fieldStatic memberFTALK_OPEN_ERR
Port or socket open error
Public fieldStatic memberFTALK_OVERRUN_ERROR
Serial buffer overrun
Public fieldStatic memberFTALK_PORT_ALREADY_BOUND
TCP port already bound
Public fieldStatic memberFTALK_PORT_ALREADY_OPEN
Serial port already open
Public fieldStatic memberFTALK_PORT_NO_ACCESS
No permission to access serial port or TCP port
Public fieldStatic memberFTALK_PORT_NOT_AVAIL
TCP port not available
Public fieldStatic memberFTALK_REPLY_TIMEOUT_ERROR
Reply time-out
Public fieldStatic memberFTALK_SEND_TIMEOUT_ERROR
Send time-out
Public fieldStatic memberFTALK_SOCKET_LIB_ERROR
Socket library error
Public fieldStatic memberFTALK_SUCCESS
Operation was successful
Public fieldStatic memberFTALK_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
Speak to the Experts
Modbus Organization Member logo

We are member of the Modbus Organization, Inc.

Buy with Confidence
30-day money back guarantee All our FieldTalk web sales are backed by a 30-day Money Back Guarantee.
We Accept
Bank VISA MasterCard PayPal
Customer Info
  • Info & Contact
  • Customer Login
  • Terms of Service
  • Terms of Sale
  • Privacy Policy
© 2005-2025 proconX Pty Ltd. All rights reserved. proconX and FieldTalk are trademarks of proconX Pty Ltd.
All other trademarks and registered trademarks appearing on www.modbusdriver.com are the property of their respective owners.