Mariangela Camarda

MrPLC Member
  • Content count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Mariangela Camarda

  • Rank
    Newbie

Profile Information

  • Country Italy
  1. TCP Connection Status

    Good Morning to all, I'm working on a TCP connection and sometimes I need close it and reopen successively. When I close connection and Close is done I cannot view the correct TCP status because it remain ESTABLISHED.  Why it could be happen? Waiting for your answer,  Thank you, Mariangela
  2. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    I will try 
  3. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    Thank you for your answer...i Wilma tra it tomorrow!
  4. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    Using Multiway for terminal connection I use TCP mode Client: does it mean that the client is the remote node or the PLC?
  5. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    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?
  6. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    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?  
  7. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

    THank you @CrossbowI'm using this procedure of connection  
  8. 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
  9. 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!