LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone written a driver to comunicate with an ADAM 4000 module using Modbus portocol over RS485?

Hi!!!!!

I am trying to comunicate with an ADAM 4000 (4068) module using Modbus protocol. I send the message through the serial port RS232 because I am using other ADAM module that converts RS232 to RS485, so RS485 is not a problem for me!!I think that the problem is the frame that I am sending!!!The ADAM module doesnt respond me!!!!
Has anyone worked with this protocol!!!!!!!!
I am looking forward to your answer ;)!!! I need help!!!

Ciao!!

Graci
0 Kudos
Message 1 of 7
(5,604 Views)
You can purchase a LabVIEW Driver from the vendor of this product:
http://www.advantech.com/products/pdf/LabVIEW%20Driver.pdf
I also searched google and found the following page which you might find helpful:
http://www.morechemistry.com/publ/labview/vi_adam_4000.html

I'm not too familiar with the ADAM 4000, but you might be able to use a similar NI product that integrates better with LaVIEW.

Regards,
Hobbs
0 Kudos
Message 2 of 7
(5,602 Views)
Thank you for your answer!!

But the problem is that I am working using Linux, so I couldnt use the driver!!!!
And I cant open vi_adam_4000.html!!!

Do you have any idea?

ciao!

Graci
0 Kudos
Message 3 of 7
(5,598 Views)
Bichillo wrote:

> Thank you for your answer!!
>
> But the problem is that I am working using Linux, so I couldnt use the
> driver!!!!

As far as I remember used the ADAM modules simple ASCI commands, at
least the ones I used long time ago. Not sure if they were ADAM 4000.

They used a command like #
\r to request a particular channel or
#
\r to request a range of channels. Address was
expressed as a hexadecimal number with two digits and number was the
number of consequtive channels to read expressed as a 1 digit
hexadecimal number.

The answer is a comma or such separated string of floating point numbers.

> And I cant open vi_adam_4000.html!!!

This looks like a html document. Your web browser should be the client
t
o do that.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 7
(5,598 Views)
Thank you Rolf!!

I know that I can comunicate with the modules using an ASCII comands that the ADAM can understand. I have any problem doing this.
But I have to use Modbus protocol to comunicate with them, so I need a Modbus driver!!!

Thank you again!!

Graci
0 Kudos
Message 5 of 7
(5,596 Views)
Bichillo wrote:

> Thank you Rolf!!
>
> I know that I can comunicate with the modules using an ASCII comands
> that the ADAM can understand. I have any problem doing this.
> But I have to use Modbus protocol to comunicate with them, so I need a
> Modbus driver!!!

Well, I wasn't aware of that nor that they also support Modbus.

Besides of some commercial Modbus drivers including one from our company
there are also some floating around which are sort of free. They may not
all implement both master and slave operation, but for what you need
master functionality should be enough.

Possible links gleamed from google:

Modbus Organization (standard, documents, test software)

http://www.modbus.org

Free driver:

http://www.air.nl/nl
ibrary/modbus_vi.html
Present but contact address does probably not work anymore.

Commercial versions:

http://www.cardiac.no/Norwegian/Products/Modbus-Link/ModbusLink.asp

http://www.tm-solutions.nl/html/modbus.html

http://www.citengineering.com/pagesEN/products/modbus.aspx

http://www.softwarewithrelish.com/specs/BusVIEW.html

Also Eurotherm used to have a LabVIEW drivers for some of their
temperature controllers using Modbus as underlaying protocol. As far as
I remember there were usually some problems with them but they could be
a starting point.

Last but not least is NI busy developing a VI library for Modbus based
on our driver. Not sure when they will release it though.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 6 of 7
(5,595 Views)
hi,

To complete the enumeration of the comercial ModBus driver :
http://www.saphir.fr/FR/produits/pilotes/modbus/index.htm

Olivier JOURDAN

Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn

Stop writing your LabVIEW code documentation, use Antidoc!
0 Kudos
Message 7 of 7
(5,594 Views)