CRemoteModbus
class CRemoteModbus : public CModbus
This class is employed to connect with slaves using Open Modbus Protocol and TCP/IP for transmitting modbus messages. It's included with this package an ATL - COM server that converts open modbus protocol messages to normal RTU-ASCII messages an send them to serial port, see the figure below.
Fig 1 - Connection using open modbus protocol with slaves that
use RS-232 for connecting with a PC.
The client-PC use this CRemoteModbus class and the server-PC is running the ATL - COM server and send a client query to a slave and return the slave response back to the client.
#include "Remotemodbus.h"
See also: Open Modbus Protocol,CModbus .