01-18-2009 10:20 PM
hi
I am using labview 8.5. I am using modbus communication.I want to send analog value to ADAM 4024 to display it on a meter.How should i give addresses? i am not able to understand how to configure ADAM card to give out ANALOG output ,have successfully tested digital o/p.Please help me...
Thank you
GAK
01-18-2009 11:59 PM
Hi Gak,
There are couple of ways to communicate with ADAM 4024:
1. ADAM 4024 provides .NET class library in http://www.advantech.com.gr/Support/sr_detail-5032.asp.htm. You can install it and call .NET class library via LabVIEW. You can check http://zone.ni.com/reference/en-XX/help/371361D-01/lvconcepts/using__net_with_labview/ on how to call .NET in LabVIEW.
2. As discussed in http://www.advantech.com.gr/support/sr_detail-5035.asp.htm, ADAM-4000 series can communicate via ADAM OPC server. Therefore, you can use LabVIEW DSC module, http://sine.ni.com/nips/cds/view/p/lang/en/nid/1010, to communicate with ADAM-OPC Server to show data in LabVIEW.
3. If ADAM-4024 can communicate with Modbus like you mention, you can use Modbus LabVIEW Library from http://sine.ni.com/devzone/cda/epd/p/id/4756 to communicate with Modbus device. However, you need to check with Advantech which address to acquire data.
Regards, Kate
01-19-2009 12:40 AM
Thank you sir for your reply
I have used last option, i.e. downloading library of modbus.Actually i was facing addressing problem,but i have solved that problem successfully.
I ll get back to you if i have other problem.
Thank you again
GAK
01-19-2009 12:45 AM
hello sir,
Can you please tell me you are from which company? Do you have any openings in your company or any of those you know of ?
Waiting for your reply.
Thank you
Gaurav kulkarni(ga_k9@rediffmail.com)
03-04-2022 06:55 AM
HI Gak
Have gone through the data sheet of the adam daq 4024. if u have gone through the data sheet there u will find the column called type code. this type code is nothing but it will specify the particular channel and u can write the range code to that address. for reference u can see the pic below in the 1st write block u should specify the type code and in 2nd write block u need to specify the channel register address. in the 2nd write block u need to give the values that is No. of holding register values.
Thank you and regards
Krishna
Design Engineer