FieldTalk™ Modbus Master .NET Library

MbusMasterFunctions Methods

The methods of the MbusMasterFunctions class are listed below. For a complete list of MbusMasterFunctions class members, see the MbusMasterFunctions Members topic.

Public Static (Shared) Methods

Equals (inherited from Object) Determines whether the specified Object instances are considered equal.
getPackageVersion Returns the package version number.
ReferenceEquals (inherited from Object) Determines whether the specified Object instances are the same instance.

Public Instance Methods

closeProtocol Closes an open protocol including any associated communication resources (COM ports or sockets).
configureBigEndianInts Configures 32-bit int data type functions to do a word swap
configureIeeeFloats Configures float data type functions NOT to do a word swap
configureLittleEndianInts Configures 32-bit int data type functions NOT to do a word swap
configureSwappedFloats Configures float data type functions to do a word swap
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
forceMultipleCoilsOverloaded. Modbus function 15 (0F hex), Force Multiple Coils.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
getPollDelay Returns the poll delay time
getRetryCnt Returns the automatic retry count
getSuccessCounter Returns how often a message transfer was successful
getTimeout Returns the current time-out setting
getTotalCounter Returns how often a message transfer has been executed
GetType (inherited from Object) Gets the Type of the current instance.
isOpen Returns whether the protocol is open or not.
maskWriteRegister Modbus function 22 (16 hex), Mask Write Register.
readCoilsOverloaded. Modbus function 1 (01 hex), Read Coil Status/Read Coils.
readExceptionStatus Modbus function 7 (07 hex), Read Exception Status.
readInputDiscretesOverloaded. Modbus function 2 (02 hex), Read Inputs Status/Read Input Discretes.
readInputFloatsOverloaded. Modbus function 4 (04 hex) for 32-bit float data types, Read Input Registers as float data.
readInputLongIntsOverloaded. Modbus function 4 (04 hex) for 32-bit long int data types, Read Input Registers as long int data
readInputMod10000Overloaded. Modbus function 4 (04 hex) for 32-bit modulo-10000 long int data types, Read Input Registers as modulo-10000 long int data.
readInputRegistersOverloaded. Modbus function 4 (04 hex), Read Input Registers.
readMultipleFloatsOverloaded. Modbus function 3 (03 hex) for 32-bit float data types, Read Holding Registers/Read Multiple Registers as float data.
readMultipleLongIntsOverloaded. Modbus function 3 (03 hex) for 32-bit long int data types, Read Holding Registers/Read Multiple Registers as long int data.
readMultipleMod10000Overloaded. Modbus function 3 (03 hex) for 32-bit modulo-10000 long int data types, Read Holding Registers/Read Multiple Registers as modulo-10000 long int data.
readMultipleRegistersOverloaded. Modbus function 3 (03 hex), Read Holding Registers/Read Multiple Registers.
readWriteRegistersOverloaded. Modbus function 23 (17 hex), Read/Write Registers.
resetSuccessCounter Resets successful message transfer counter
resetTotalCounter Resets total message transfer counter
setPollDelay Poll delay property
setRetryCnt Configures the automatic retry setting
setTimeout Configures time-out
ToString (inherited from Object) Returns a String that represents the current Object.
writeCoil Modbus function 5 (05 hex), Force Single Coil/Write Coil.
writeMultipleFloatsOverloaded. Modbus function 16 (10 hex) for 32-bit float data types, Preset Multiple Registers/Write Multiple Registers with float data.
writeMultipleLongIntsOverloaded. Modbus function 16 (10 hex) for 32-bit long int data types, Preset Multiple Registers/Write Multiple Registers with long int data.
writeMultipleMod10000Overloaded. Modbus function 16 (10 hex) for 32-bit modulo-10000 long int data types, Preset Multiple Registers/Write Multiple Registers with modulo-10000 long int data.
writeMultipleRegistersOverloaded. Modbus function 16 (10 hex), Preset Multiple Registers/Write Multiple Registers.
writeSingleRegister Modbus function 6 (06 hex), Preset Single Register/Write Single Register.

See Also

MbusMasterFunctions Class | FieldTalk Namespace | MbusSerialMasterProtocol | MbusRtuMasterProtocol | MbusAsciiMasterProtocol | MbusTcpMasterProtocol | MbusRtuOverTcpMasterProtocol