MbusTcpMasterProtocoladamSendReceiveAsciiCmd Method |
Send/Receive ADAM 5000/6000 ASCII command.
Namespace:
FieldTalk.Modbus.Master
Assembly:
FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntaxpublic int adamSendReceiveAsciiCmd(
string command,
out string response
)
Public Function adamSendReceiveAsciiCmd (
command As String,
<OutAttribute> ByRef response As String
) As Integer
public:
int adamSendReceiveAsciiCmd(
String^ command,
[OutAttribute] String^% response
)
Parameters
- command
- Type: SystemString
Command string. Must not be longer
than 255 characters. - response
- Type: SystemString
Response string.
A possible trailing CR is removed.
Return Value
Type:
Int32 BusProtocolErrors.FTALK_SUCCESS on success or error code.
See
BusProtocolErrors for possible error codes.
Remarks
Sends an ADAM 5000/6000 ASCII command to the device and receives the reply
as ASCII string. (e.g. "$01M" to retrieve the module name)
Note |
|---|
| No broadcast supported |
See Also