
Mariangela Camarda
MrPLC Member-
Content count
8 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout Mariangela Camarda
-
Rank
Newbie
Profile Information
- Country Italy
-
TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE
Mariangela Camarda replied to Mariangela Camarda's topic in NJ Series / Sysmac Studio
I will try -
TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE
Mariangela Camarda replied to Mariangela Camarda's topic in NJ Series / Sysmac Studio
Thank you for your answer...i Wilma tra it tomorrow! -
TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE
Mariangela Camarda replied to Mariangela Camarda's topic in NJ Series / Sysmac Studio
Using Multiway for terminal connection I use TCP mode Client: does it mean that the client is the remote node or the PLC? -
TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE
Mariangela Camarda replied to Mariangela Camarda's topic in NJ Series / Sysmac Studio
Unfortunately I cannot able to attach any file to my post... anyway: SktTCPConnect SKTTCPsend, SKTTCPRCV and all other SKTTCP___instructions. The thing that is very strange is that using this connection with other devices like TDKLambda power supplies the connection works without any problem. In this case it seems that sending the second command the buffer is dusty and then the command is different fro the command I send. Maybe closing the cnnection this buffer become clean. Have you some suggestion? -
TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE
Mariangela Camarda replied to Mariangela Camarda's topic in NJ Series / Sysmac Studio
SORRY but I cannot attach the capture of the program... anyway... I'm using TCP connction with socket Have you same example to suggest me about CIPOpen usage? -
TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE
Mariangela Camarda replied to Mariangela Camarda's topic in NJ Series / Sysmac Studio
THank you @CrossbowI'm using this procedure of connection -
Mariangela Camarda started following TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE
-
TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE
Mariangela Camarda posted a topic in NJ Series / Sysmac Studio
Good 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- 19 replies
-
- tcpsocket
- send message
-
(and 4 more)
Tagged with:
-
Good Evening, using the Ethernet Built-in LAN I need to program 4 power supply. I'm tryng to program the firstone but even if I can send the correct command to the power supply I always recive a 2006 error on SKTTCPRCP function Is there someone that can help me in order to not receive the 2006 error code? Have I to respect a procedure? It seems that at the second connection time the socket remain closed. Thank you!
- 1 reply
-
- tcpsocket
- connection
-
(and 5 more)
Tagged with: