• Libraries
  • Shop
  • Doc
  • Free Modbus
  • Support
  • Login
FieldTalk Modbus Slave C++ Library  Library version 2.10.0
  • Introduction
  • Chapters
  • Modules
  • Classes
  • Class List
  • Class Hierarchy
  • Class Members
Public Types | Public Attributes | List of all members
MasterInfo Struct Reference

The MasterInfo object holds additional information about the currently processed Modbus request. More...

Public Types

enum  {
  RTU, ASCII, TCP, RTU_OVER_TCP,
  UDP
}
 Protocol types. More...
 

Public Attributes

int protocol
 Protocol type of the currently processed master request.
 
unsigned short transactionId
 Transaction ID of the currently processed master request if MODBUS/TCP.
 
int slaveAddr
 Slave address of the currently processed master request.
 
const char * connection
 IP address in dot notation or serial port name of the currently processed master request.
 

Detailed Description

The MasterInfo object holds additional information about the currently processed Modbus request.

Access to the MasterInfo is through a call to MbusDataTableInterface::getMasterInfo() from any data table callback function.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Protocol types.

Enumerator
RTU 

Modbus RTU protocol is used.

ASCII 

Modbus ASCII protocol is used.

TCP 

MODBUS/TCP is used.

RTU_OVER_TCP 

Encapsulated Modbus RTU used.

UDP 

MODBUS/UDP is used.

  • MasterInfo
  • FieldTalk Modbus Slave C++ Library Library version 2.10.0
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.