08-16-2012 10:12 AM
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.
08-20-2012 01:47 AM
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
08-20-2012 04:26 AM
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
08-20-2012 06:40 AM
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