04-24-2006 03:48 AM
04-24-2006 01:39 PM
Let's step back a bit. What Modbus VIs are you using? The ones from NI? If so, what is the error message you get? If not, what VIs are these?
Also, what exactly are you trying to read from your Modbus devices? What are the types of the items: holding registers? coils? inputs? What are their addresses?
Do the devices come with any communication software? If yes, have you been able to communicate with the devices from this?
Sorry for asking more questions than answering...
-Khalid
04-25-2006 06:12 AM
Khalid
I am using MB Query to read Input ( 30001 ) and Holding ( 42001 ) registers. And I am not getting an error message.
What I try to read are the bytes from a word, it means, for instance I have an address 42002, and I need to see the bit 0, 1, 2, … etc., but I can get only the first 8 bits. That with the MB Serial Master Query.vi, where I found the decode.vi.
Right now I am simulating a Slave with Modbus Slave – a software – and the Real Time is the Master. I can read and write without problem.
I am working with a RS-485/4 Serial PXI-8421. And it appears to me that ok. So, what can I do to see all bits?
In advance thanks for your help.
Have a nice day
Yaridia05-08-2006 02:59 AM
05-08-2006 01:52 PM
05-09-2006 01:23 AM
05-09-2006 02:03 AM
I am assuming you are running the Query VI in a loop. If yes, then changing this loop's rate would force the Query VI to run faster, i.e., more number of times in a given period of time.
Let me know if I am not clear enough.
-Khalid
05-16-2006 09:32 AM
05-16-2006 09:38 AM