Jump to content

V700 TCP/IP communication

Recommended Posts

Good morning,

I am having some troubles creating a communication with a device (painting thickness measurement) , this device acts as a server. I send commands and it sends back the result. (ASCII text lines). After a command is processed, the TCP/IP connection is disconnected by the server.

The problem is that I am able to stabblish the connection and to send the commands, but I don't receive or I don't know how to see any response.


I am using  Vision V700 and Visilogic 9.8.31


I think that the program should be as follow:

- Sock init in TCP and Client (master)

- 2 x Protocol TCP/IP configuration (one for send and the another one for receive)

- Connect to the socket

- TCP/IP Send Message

 - TCP/IP Scan

- TCP/IP Close Socket


I am using also the function 'V700 read eth card' to see the messages sends and receive,

but I am not receiving any messages. 


Is there something wrong with this configuration? Is there another way to do it or to diagnose it?

Thanks in advance ,

Link to comment
Share on other sites

1 hour ago, Cam said:

Is the tcp scan located in a sub routine?

yes, it is used in a sub routine, which is called every cycle and that do the following steps:

1: open the connection to the device
2: send the command 
3: read the answer
4: disconnect the connection to the device



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.