CModbus

CModbus is MFC base class utilized for implement the modbus protocol, building messages that will be transmitted to slave devices and interpreting slave response. Only the basic modbus functions were implemented, read and write output/input registers and coils.

This is an abstract base class.It's not possible to create CModbus objects. Consult the derived classes below.

CLocalModbus This class connect with the serial com ports using windows API functions.

CRemoteModbus employed to connect with slaves using Open Modbus Protocol and TCP/IP for transmitting modbus messages.

CAutoModbus this class communicate with a COM automation server, also included with this package, that was intended to send modbus messages from visual basic language. This COM server was made using ATL, see Modbussever project.

Installation , Class Members