How do you do a MODBus register dump via USB?

Started by TonyU, July 19, 2011, 12:38:18 PM

Previous topic - Next topic

TonyU

The latest firmware update has in it's notes:

"Can select USB to output all modbus registers (CSV format) for cloning.
       TODO:  Accept CSV input from CSV over USB"

I would like to know what the actual procedure is to do this.
How long before the USB upload part is ready?

Thanks!

boB

#1
Well, there is a new(ish) modbus register called USBcommMODE  at location register 4145 that when changed to
1 (one) from its default of 0 will start dumping (and repeatedly) the register addresses and contents.
It may be that according to the modbus spec, this is actually at modbus register 4146.

To be able to receive and send to the USB port, use the CDC virtual comm port driver that comes with our
software update installation exe if you are using windows.

The format is in CSV ASCII.   I need to make USBcommMODE easier to change by adding a USBcommMODE adjustment
in the MISC, COMM menu.   If you need that right now, send me an email and I can give you a hint on how
to do that another way.

BTW, by default, the USB sends out some basic logging information like power and voltage about twice
per second in CSV format.

boB
K7IQ 🌛  He/She/Me

TonyU

Thanks boB,  I'll play with it and see how it goes.
I don't need the upload right away, but it would be nice to have in another month or so, if possible...;>)