Search the Community
Showing results for tags 'close'.
Found 1 result
Mariangela Camarda posted a topic in NJ Series / Sysmac StudioGood Morning, I connect using a TCPSocket a remote node with my NJ501-1300. In order to test communication with the remote node I use a telnet communication and send from it messages to the remote node: it work correctly opening the connection and then sending all messages I want; the connection will close only at the end of the communication session. WHAT HAPPEN ON NJ? On NJ Open connection whit remote node; Connection is open; Send first message to remote node; Receive correct answer from remote node; Send another ore the same message to remote node; Receive an unknown command answer from remote node. WHY??? To solve previous problem I need to: Close the open connection; Wait the time to reopen it; Reopen connection; send the message; receive the correct answer from the remote node; Close connection Wait the time to reopen it; Reopen connection; send the message; receive the correct answer from the remote node; close connection and so on... Could someone help me to solve this problem opening the connection only once and then close it at the end of the end of communication session?! THANK YOU