07-13-2022 02:04 PM
Tried that too, still no luck.
07-13-2022 02:47 PM
As a sanity check, if you physically disconnect the Serial line it does error, right?
07-13-2022 02:53 PM
I just tried that and "NO ERRORS" Everything looks just the way it is. i dont understand what is going on???
07-14-2022 12:51 AM
I would suggest taking a step back and starting to debug one element at a time:
07-14-2022 03:20 PM
HI @tst
Thanks for writing and helping out.
So i tried what you have wrote.
1. RS485 adapter works fine. Checked the adapter with a different device and it connects to the device toolkit software.
2. I tried communicating with a Stepper motor drive (Not the one i am having problem with) which has RS485 enabled, but i couldn't set up comms with it. (Attached VI that i used to comm with the Stepper Motor Drive)
3. Tried using various VI examples from the forum and other examples from LabVIEW to see some sought of comm with the VFD but there is no results. I don't see any comm between LabVIEW and VFD.
4. I am thinking the same too, The VFD might have some RS485 enable function that i am missing. I pretty much went over the manual and i couldn't find anything relating it. I have contacted the manufacturers tech team about the same and I'm awaiting response.
I have used the attached program to comm with a temp calibrator via RS232 and it works fine. Cant i use the same program for an RS485 device comm too?
Thanks,
themadgreek
07-17-2022 12:24 AM
@themadgreek wrote:
I have used the attached program to comm with a temp calibrator via RS232 and it works fine. Cant i use the same program for an RS485 device comm too?
I can't open the code, so as a more general response:
Like I said, I would suggest using a Modbus master program that's known to work, at least for testing. That way you at least take your code out of the equation.
07-18-2022 10:21 AM
Hi,
So i finally got the servo driver to comm with LabVIEW. The problem was that the manual specified the RS485 connection as a 4 wire connection, so i got in contact with the manufacturer tech team and they said its 2 wire configuration as the Rx and Tx are jumpered internally and the manual had no reference of it. So i did the connection in 2 wire and it started working.
Thanks,
themadgreek