Search the Community
Showing results for tags 'web'.
Found 4 results
OK, I am stuck, and to be honest I have no idea why I am stuck. All I want to do is request a web page from a web server. Specifically, I have created a PHP page that will return the string "OK" when called. I am using this page for the PLC to report that it has an error. Inside the PHP, I will use the parameters to identify the PLC and the error. This should be easy, Right? I have configured my port and my TCP/IP configuration to socket 3, port 504. I issue a TCP/IP connect to the server (IP is correct, port is 80), and it appears to connect. I then issue a TCP/IP Send to send the GET /url/r/nHost: <hostname>/r/n/r/n/r/n. And that is where I am stuck. It does not appear that the message is sent to the sever. In fact, my web server never "sees" the request. Does anyone have any idea how to issue a url request to a web server? I do not even care about what I get back, I just want to call the page. Any help is greatly welcome. Thank you in advance. Tim J.
I have been tasked with developing a centralized server that will communicate with many Samba PLCs around the world. Specifically, I need to ensure that the server can contact any PLC and 1) get a copy of the current values or 2) instruct the PLC to change a value. I want to ensure that the PLCs only communicate with the server, no other computers. The data itself is not considered secret, so the fact that VisiLogic does not appear to offer encryption is not a problem. But, it is critical that only the server be allowed to update PLC values. It is simply unacceptable that another person could connect and update values, even if it would take quite the effort to accomplish that goal. Is there any way to ensure that the PLC's will only respond to requests/instructions from our centralized server? If I send a password, as a message, that password would not be encrypted, so others could see and use it. Is there anyway to securely connect to a Samba PLC, using VisiLogic? The server will know the PLC name and the IP Address, but once again, this would be transmitted unencrypted. Is there a way to program the PLC's to only accept connections from certain IP Addresses? In summary, I want to ensure that the PLCs will listen for communication from our server, they will send current values when requested, they will update their values when told, and they will ignore any requests from others. Is this possible? Any suggestions are greatly appreciated.
Hello, I am using the Enhanced Web Server on a V350. I have developed some pages but I would like to have a page showing some variables and get it updated every 1 second approximately. The 'meta' option described on the documentation will load the entire page. I would prefer lo refresh only the content of the variables, no other texts like labels, images,... How can I do this? Any example?
I know it's possible with the Advanced Web Server to download a file from the SD to the PC via web explorer. Now I have a finished application where the customer needs to download the CSV without use the SD Card Explorer. Copy and paste all the application to the .vlp with the embedded webserver is a task for titans but I don't know how to start to make a simple application to download a CSV. It will be about chunks... Anyone can help me? Project: A PLC with IP 192.168.1.201 and a CSV called test. Download from internet explorer: http://192.168.1.201/EXCEL/TEST.CSV