Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ADAM communication

Solved!
Go to solution

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.

0 Kudos
Message 11 of 14
(1,131 Views)

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

0 Kudos
Message 12 of 14
(1,122 Views)

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

0 Kudos
Message 13 of 14
(1,118 Views)

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 

0 Kudos
Message 14 of 14
(1,115 Views)