Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial com with USB485 - ModBUS

Hi Eric,

 

Maybe you can try to read an address and see what your slave returns.

 

The CRC calculation method is always the same.

 

Kees

0 Kudos
Message 21 of 30
(1,462 Views)

Hi Kees,

 

I decided to try with the MODBUS library from labview because i was becoming crazy trying to write my own cmd...

 

Good news... I can read and write SOME registers...

 

I don't understant why, if you look at the register table i sent to you recently, I can do what ever I want from the list from page 72 to 85 (what they seem to call legacy parameters table).

 

But whenever I try to do read/write another address higher then 760 (40761), i have an illegal address error code. Any idea why?

 

Example: If I try to read the address 44804 (4803 from labview) I got the error.

 

Slowly... getting through it...

 

Thanks

 

Eric

0 Kudos
Message 22 of 30
(1,449 Views)

Hi Eric,

 

Had a long weekend. No computer no forums ... no NI

 

Now it is getting device specific. I see no reason why you cannot communicate with the mentioned addresses.

 

Kees

Message 23 of 30
(1,424 Views)

Hi Kees,

 

Yes, long and hot weekend (here in Canada). Warn weather is finally coming up.

 

Ok well thx a lot for your help, it helped me a lot.

 

You are good 😉

 

Bye,

 

Eric

 

 

0 Kudos
Message 24 of 30
(1,421 Views)

Could you please convert it to 2009SP1. I can't open 2011.


Yasemin Barutçu
Electrical And Electronics Engineer
0 Kudos
Message 25 of 30
(1,404 Views)

Hi Yasemin,

 

Which file do you need converted?

 

Best,

0 Kudos
Message 26 of 30
(1,392 Views)

Hi

 

This one? Let me know if it works.

 

Eric

0 Kudos
Message 27 of 30
(1,390 Views)

Hello Courtney,

 

and Test2.vi would be great.

Yasemin Barutçu
Electrical And Electronics Engineer
0 Kudos
Message 28 of 30
(1,379 Views)

Hey Yasemin,

 

These should do the trick.

 

Best,

 

Download All
0 Kudos
Message 29 of 30
(1,369 Views)

Thank you very much, they worked.


Yasemin Barutçu
Electrical And Electronics Engineer
0 Kudos
Message 30 of 30
(1,367 Views)