Make your own free website on Tripod.com

CAutoModbus

class CAutoModbus : public CModbus

CAutoModbus class is almost identical CLocalModbus , the difference is that this class create an instance of automation objet inside of Modbus COM Server, this in out-process ActiveX server that is responsible for actually open comm port , send and receive messages from a slave.The objective is to share the same serial port among many apps. The ActiveX server can be used with Visual Basic , Access , Excel , Word97 and other programs that support automation. The Modbus COM Server do not necessarily have to be on same machine because this class use DCOM function CocreateInstaceEx for creating objects on other machines. You need to install DCOM if you using win 95 before experiment this class.

#include "localmodbus.h"

Class Members