NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Knight of NI
Dennis_Knutson
Posts: 29,330
0 Kudos

Re: ADAM communication

I'm sorry I mentioned Ethernet. I was assuming the Adam had that instead of RS-485.

 

A loopback test tells you very little except your computer's port is working. It tells you nothing about the correctness of the cable or the com settings. And, of course the normal serial write in MAX or in LabVIEW tells you nothing either. You can do a write with nothing connected and not get an error.

 

If the Adam is set for Modbus, you have to use the functions in the Modbus driver. I'm not at all sure why you would be running the slave VI. Your slave is the Adam.

Member
Damien129
Posts: 179
0 Kudos

Re: ADAM communication

Hi dennis thanks for the reply. So if my ADAm is the reply. What vi's do i require in the modbus library? I am looking to control relays. So i assume serial init.vi master query read/write to coils? thanks

 

Damien

Member
Damien129
Posts: 179
0 Kudos

Re: ADAM communication

I can communicate with the serial master query single coil write and read vi's however once i attempt to commuicate with multiple coils i receive an error 6101 timeout error, my start address is 17 and i set the coils to 8, any advice

 

Damien

Member
Damien129
Posts: 179
0 Kudos

Re: ADAM communication

I have the multiple coils working. If anyone could tell me what othe vi's i require aside from the write/read vi's i would be grateful.

 

Damien 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page