FieldTalk Modbus® Master Protocol Library
C++ Editions
FOCUS Software Engineering

Main Page | Modules | Class Hierarchy | Compound List | Compound Members | Related Pages

Device and Vendor Specific Functions


Detailed Description

Some device specific or vendor specific functions and enhancements are supported.


Advantec ADAM 5000/6000 Series Commands

int MbusTcpMasterProtocol::adamSendReceiveAsciiCmd (const char *const commandSz, char *responseSz)
 Send/Receive ADAM 5000/6000 ASCII command.


Function Documentation

int adamSendReceiveAsciiCmd const char *const  commandSz,
char *  responseSz
[inherited]
 

Send/Receive ADAM 5000/6000 ASCII command.

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)

Parameters:
commandSz Buffer which holds command string. Must not be longer than 255 characters.
responseSz Buffer which holds response string. Must be a buffer of 256 bytes. A possible trailing CR is removed.
Returns:
FTALK_SUCCESS on success or error code. See Protocol Errors and Exceptions for a list of error codes.
Note:
No broadcast supported