Documentation

MbusMasterFunctionssetRetryCnt Method

Configures the automatic retry setting

Namespace:  FieldTalk.Modbus.Master
Assembly:  FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
public int setRetryCnt(
	int retryCnt
)

Parameters

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

Return Value

Type: Int32
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 Note
A protocol must be closed in order to configure it.
See Also