MbusSerialClientBaseopenProtocol Method |
Opens a serial Modbus protocol and the associated serial
port with the port parameters configured via properties
Namespace:
FieldTalk.Modbus.Master
Assembly:
FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntaxpublic int openProtocol()
Public Function openProtocol As Integer
public:
int openProtocol()
Return Value
Type:
Int32 BusProtocolErrors.FTALK_SUCCESS on success or error code.
See
BusProtocolErrors for possible error codes.
Remarks
This function opens the serial port. After a port has been
opened, data and control functions can be used.
See Also