Search the Community

Showing results for tags 'tcp telnet'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 2 results

  1. Hi, I'm new to this forum. I'm trying to talk to a Mettler Toledo load cell with TCP socket on a Omron NX102. The load cell port is 23 (telnet). I can talk to the load cell with my laptop using their software or with Putty without any issues. I use the SktTCPConnect function as follow: SktTCPConnect_instance( Execute :=TRUE, SrcTcpPort :=UINT#0, // Local TCP port number: Automatically assigned. DstAdr :='192.168.250.50', // Remote IP address DstTcpPort :=UINT#23, // Destination TCP port number Socket =>WkSocket); // Socket But the SktTCPConnect instance .Done output never returns true so I can't move forward with the next instructions. I made sure all the SktTCP functions have their Execute inputs intialised to False before that.  In the built-in Ethernet IP port settings, the TCP/UDP message service is set to Use and I left the default 64000 under Port 1 - Port No.  What am I doing wrong? Thanks     
  2. Update NS from PLC

    Hi,  Is it possible to update a TXT file of the HMI from the PLC? The following link is explaining how to update manually one file in the HMI using Telnet and FTP.  https://www.myomron.com/index.php?action=kb&article=1157 I think I would be able to program the FTP functions in the PLC to do this part. However, I have no idea how to do the Telnet part with the PLC. Any suggestions? Thank you.