Mariangela Camarda

MrPLC Member
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Mariangela Camarda

  • Rank
    Newbie

Profile Information

  • Country Italy
  1. 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?
  2. 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?
  3. 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?  
  4. TCP SOCKET NEEDS TO CLOSE and REOPEN FOR EACH MESSAGE

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