FieldTalk™ Modbus Master .NET Library

MbusMasterFunctions.setRetryCnt Method 

Configures the automatic retry setting

[Visual Basic]
Public Function setRetryCnt( _
   ByVal retryCnt As Integer _
) As Integer
[C#]
public int setRetryCnt(
   int retryCnt
);

Parameters

retryCnt
Retry count (Range: 0 - 10), 0 disables retries

Return Value

BusProtocolErrors.FTALK_SUCCESS on success or error code. See BusProtocolErrors for possible error codes.

Remarks

Configures the automatic retry setting. A value of 0 disables any automatic retries.

Note    A protocol must be closed in order to configure it.

See Also

MbusMasterFunctions Class | FieldTalk Namespace