Modbus Software, Driver and Libraries
 Login 
Member of Modbus Organization

Want to know more?

Your Email:

Your Enquiry:


We accept VISA, MasterCard, PayPal

30-day Money-Back Guarantee

Device and Vendor Specific Modbus 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