MbusSerialClientBaseopenProtocol Method (String, Int32, Int32, Int32, Int32) |
Namespace: FieldTalk.Modbus.Master
public int openProtocol( string portName, int baudRate, int dataBits, int stopBits, int parity )
Public Function openProtocol ( portName As String, baudRate As Integer, dataBits As Integer, stopBits As Integer, parity As Integer ) As Integer
public: int openProtocol( String^ portName, int baudRate, int dataBits, int stopBits, int parity )
Note |
---|
The Modbus standard requires two stop bits if no parity is chosen. This library is not enforcing this but it is a recommended configuration. |