• Libraries
  • Shop
  • Doc
  • Free Modbus
  • Support
  • Login
FieldTalk Modbus Slave Library for .NET
FieldTalk Modbus Slave Library for .NET
Namespaces
FieldTalk.Modbus.Slave
MbusRtuSlaveProtocol Class
MbusRtuSlaveProtocol Methods
setFrameTolerance Method
Click or drag to resizeClick or drag to resize

MbusRtuSlaveProtocolsetFrameTolerance Method

Configures the tolerance the RTU protocol engine * should apply for the detection of inter-frame gaps. *

Namespace:  FieldTalk.Modbus.Slave
Assembly:  FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Syntax
C#
VB
C++
Copy
public int setFrameTolerance(
	int frameToleranceMs
)
Public Function setFrameTolerance ( 
	frameToleranceMs As Integer
) As Integer
public:
int setFrameTolerance(
	int frameToleranceMs
)

Parameters

frameToleranceMs
Type: SystemInt32
Additional tolerance time for * inter-frame silence detection in ms (Range: 0 - 20)

Return Value

Type: Int32
BusProtocolErrors.FTALK_SUCCESS on success or error code. * See BusProtocolErrors for possible error codes.
Remarks
* Modbus RTU uses inter-frame gaps (silence periods) to mark * start and end of Modbus packets. * *
Note Note
For strict Modbus compliance this should be set to 0. *
* *

* There are cases were longer silence periods may appear in the * data stream due to the hardware used (USB dongles) or * the device driver or the scheduling of the operating system. * This value can then be increased to compensate. * In a point-to-point communication system (eg RS-232) this * value can be safley increased. However in a multi-point system * were other slave devices are on the line, this value should be * set to the lowest possible value in order to maintain * interoperability with other Modbus equipment. *

*
Note Note
This mode must be set before starting * the server in order to come into effect.
*
See Also

Reference

MbusRtuSlaveProtocol Class
FieldTalk.Modbus.Slave Namespace
FieldTalk Modbus Slave Library for .NET
Library version 2.11.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.