• Libraries
  • Shop
  • Doc
  • Free Modbus
  • Support
  • Login
FieldTalk Modbus Master C++ Library  Library version 2.13.3
  • Introduction
  • Chapters
  • Modules
  • Classes
Classes
IP based Protocols

Classes

class  MbusTcpMasterProtocol
 MODBUS/TCP Master Protocol class. More...
 
class  MbusRtuOverTcpMasterProtocol
 Encapsulated Modbus RTU Master Protocol class. More...
 
class  MbusElamOverTcpMasterProtocol
 Encapsulated Extended Lufkin Automation Modbus Master Protocol. More...
 
class  MbusAsciiOverTcpMasterProtocol
 Modbus ASCII over TCP Master Protocol class. More...
 
class  MbusUdpMasterProtocol
 MODBUS/UDP Master Protocol class. More...
 

Detailed Description

The library provides several flavours of IP based Modbus protocols.

The MODBUS/TCP master protocol is implemented in the class MbusTcpMasterProtocol and is the only IP based protocol officially specified by the Modbus organisation.

In addition to MODBUS/TCP, the library offers implementations of both serial protocols RTU and ASCII transported over TCP streams. These are implemented in the classes MbusRtuOverTcpMasterProtocol and MbusAsciiOverTcpMasterProtocol.

Also an implementation for MODBUS/TCP packets transported via UDP is available in form of the class MbusUdpMasterProtocol.

All classes provide functions to establish and to close a TCP/IP connection to the slave as well as data and control functions which can be used after a connection to a slave device has been established successfully. For a more detailed description of the data and control functions see section Data and Control Functions for all Modbus Protocol Flavours.

Using multiple instances of a MbusTcpMasterProtocol class enables concurrent protocol transfers using multiple TCP/IP sessions. They should be executed in separate threads.

See section The MODBUS/TCP Protocol for some background information about MODBUS/TCP.

See section Using MODBUS/TCP Protocol for an example how to use the MbusTcpMasterProtocol class.

  • FieldTalk Modbus Master C++ Library Library version 2.13.3
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.