05-10-2007 12:14 PM
05-10-2007 04:36 PM
05-11-2007 08:37 AM
Hi again.
I played around with adress mapping and and stuff, and am now able to read registres.
But there are some funny stuff going on; Only specific combinations of start adress and # of registers works.
However I am getting transmitted the information I need for now,
and will dive into the nitty gritty details later when I (hopefully) have more time available.
Thank you all for helpfull information. Have a nice weekend.
Peder
05-14-2007 07:14 AM
05-14-2007 07:34 AM
@BXPL-PoP wrote:
Hi,Portmon was mentioned as a tool to check what is actually sent to and from the Modbus device.Can anybody tell me where to get this or other similar sw to help me in debugging my application.Peder
05-14-2007 07:50 AM
Tank you,
I got it installed and I am now monitoring what's passed back and forth.
My suspicions goes to the crc-generator.
Peder
05-14-2007 08:03 AM - edited 05-14-2007 08:03 AM
If you are doing a lot of communication work, it might be worth purchasing some hardware for monitoring the dataflow.
http://www.fte.com/products/Serialtest-01.asp?RKG=983859
http://www.fte.com/products/Serialtest-Sync-01.asp
http://www.blackbox.com/files/productdetails/20716.PDF
Also this one.
http://www.fte.com/products/FTS4Control-01.asp
Message Edited by unclebump on 05-14-2007 08:06 AM
05-14-2007 10:00 PM
But here you are saying you are trying to read " # of regs:6 (or 10, or ...)"
Perhaps some registers in between don't exist on the device. If you read starting at 102 and try to read 4 registers, perhaps #103 doesn't exist, or #105 and it is trying to read one of those non-existent ones as it tries to read a whole block of registers. Motor controller manufacturers often use the same registers between their different models to be the same thing. But sometimes they need to add a register for a new feature added to a new controller, or delete a register in a given model if that register is meaningless to the new model.
05-16-2007 03:44 AM
Hi.
Thank you for the tip. There are holes in the list so that explains some of the errors,
but there are still broblems with combinations of start adress and number of registers.
Anyway. For now I am getting the needed information and log all vital data from the ongoing tests.
Thank you all for helping me out.
Peder
11-19-2007 03:45 AM