9/14/2012 2:37 PM | |
Joined: 9/27/2006 Last visit: 3/23/2025 Posts: 12344 Rating:
|
Hello wztgd; I hope your knowledge of VB programming is better than yourunderstanding of industrial communicationprotocols. For starters I would recommend you spend just a bit of time gathering information on the Modbus RTU protocol with which you want to interface. Member smiffy has prepared a basic explanation of the Modbus functions and data addressing in the following thread; it has helped quite a few members here: Modbus General Description And on the Modbus.org webpage you will find a lot of useful inofrmation that you can use in your project: Modbus Specifications and Implementation Guides Now, you should examine a fewchoices for your project: develop/purchase a Modbus RTU driver that you will use to request data from your slave (you would have to be setup as a Modbus master on the network); use an OPC server to connect your program to your slave and interface with the values you want to dsplay. Once the data from the slave is collected in your VB application transfer it to Excel or your own database for storage/display. Also, I feel your requirement of "showing what is on the screen" will be very difficult to achieve, unless you happen to know exactly what Modbus registers are being shown on the screen at any time and you specificallyrequest these on your Modbus master. Anyway, this is just to get the ball rolling, it would be even better if you gave us moire information on the slave you wnat to use so we might have someone who has some experience on it. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 9/14/2012 2:45 PM |
|
This contribution was helpful to
2 thankful Users |
Follow us on