LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP OPEN CONNECTION ERROR 63

Solved!
Go to solution

Hi all,

 

I had an error 63 while running my case. Basically I build this LabVIEW case as a master station to talk to slave device in Modbus prorocol and read holding register value from it.

 

The thing is that, my computer can talk to the slave, which I used other monitor software to detect as you can see in 'slave data '. But in labview, I cannot see slave data because of this error.

 

I am not sure if it is because of something wrong with the code itself. 

 

Hope anybody who are familiar with implementing Modbus in labview could help me ou!

 

Thank you!

Jinrong 

Download All
0 Kudos
Message 1 of 5
(9,563 Views)

I also attached the code and new block diagram to show the error.

 

Thank you.

Download All
0 Kudos
Message 2 of 5
(9,557 Views)
Solution
Accepted by topic author jli63

Error 63 usually is thrown when there is nobody "listening" for a connection.  Do you have a server waiting for a TCP connection at the IP Address you supplied?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 5
(9,522 Views)

Hi Crossrulz,

 

Not so sure if the server is listening to request that is transmitted through port 502. But the IP address I entered into the modbus master.subVI is a real relay device and I can receive electric parameter that is mapped in the first holding register through Protocol Test Harness by analyze modbus packets.

 

So I guess the server does listen to port 502.

 

What do you think of my coding? Are those modbus subVIs placed correctly as a master station to listen to slave device?

 

Thanks!

Jinrong

0 Kudos
Message 4 of 5
(9,515 Views)

The error just get solved. Reason for this might be the port 502 is occupied by Protocol Test Harness so master in Labview lost TCP connection to the outstation thru port 502.

0 Kudos
Message 5 of 5
(9,480 Views)