Software simulator as Modbus device

D

Thread Starter

dan

Hi, all,

New to Modbus.

Trying to make a software simulator as Modbus device and sends back a small database content when requested. Now just trying with a ASCII file. What is best way to store this content as Modbus object?

appreciate your help very much in advance.
 
Your question is not very clear. What do you mean by "store this content as Modbus object"?

Modbus is a communications protocol. Modbus servers (or slaves) normally represent their data as a data table of registers, coils, and discrete inputs. It may be convenient to store the data in an array. However, it is really up to whatever is most convenient for your implementation.
 
I think you are asking for a ModBus Slave Simulation application that will respond to any ModBus Host poll. If that is the case what application are you using as a Modbus Host? Are you wanting to do this with a Modbus Slave that runs on WIN32? Also, are you wanting to do this with Serial Ports or Ethernet?
 
Top