LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using modus to communicate with quint AC-ups

Solved!
Go to solution

I'm trying to use labview to communicate with phoenix connect's universal power supply. I have used the NI Modbus library to try and connect to the Quint AC-UPS, but it times out or doesn't connect properly. I'm new to using modbus and would like some help communicating with it.

 

Baud Rate:  115200

Parity:          Even

Slave Add:  192

Mode:          RTU

 

Using LabVIEW 2011

 

Thanks

 

0 Kudos
Message 1 of 5
(2,574 Views)

I might also mention that the error i seem to receive is the 6101 "time out error". Though i don't think the Init VI is working, because it passes through whether or not  the com port is pluged in.

error.JPG

0 Kudos
Message 2 of 5
(2,556 Views)

The init function is certainly working since you do not get an error out of it. There is no way for the init function to know whether or not you have anything connected to a serial port or whether or not you have the correct serial cable or whether or not your settings for the pc's com port match the device. All that the init function does is setup the com port of the pc.

0 Kudos
Message 3 of 5
(2,554 Views)

So then what do i need to fix the timeout error. I could use the help.

0 Kudos
Message 4 of 5
(2,540 Views)
Solution
Accepted by topic author Fulmetalal

I solved this by running the MB query in a while loop. Apparently the query was timing out the first couple of iterations.

0 Kudos
Message 5 of 5
(2,534 Views)