3/10/2016 10:02 AM | |
Joined: 9/28/2012 Last visit: 3/5/2021 Posts: 58 Rating:
|
Hi All Is it possible to send a HTTP line to a certain website like for example: http://www.mywebsite.com/data.php?variable1=value1&variable2=value2 or if not is it possible to send it to an extern IP adres that is not in the same subnet as the PLC can somebody show me an example if it is possible. regards Laantje |
3/10/2016 4:07 PM | |
Joined: 7/7/2010 Last visit: 3/5/2021 Posts: 10212 Rating:
|
So basically you want to send a TCP message to port 80 to a URL and ignore the response, or handle the normal response and resend or set send error flag for abnormal or no response (times out)? Look at the tcp send / receive commands.
|
science guy |
|
3/10/2016 4:35 PM | |
Joined: 9/28/2012 Last visit: 3/5/2021 Posts: 58 Rating:
|
Hi Huggy What i want to do is to send this line to the internet. nothing more, nothing less. I do not want a response back If it is possible Can you make an example for me i tried it, but i only can do it when it is in the same subnet and i only can send data, and not the total line. http://www.mywebsite.com/data.php?variable1=value1&variable2=value2 regards marc |
3/10/2016 5:04 PM | |
Joined: 7/7/2010 Last visit: 3/5/2021 Posts: 10212 Rating:
|
S7-1200 : TIA portal version? I'm using V13. The HTTP send request details that may help you develop your send request is found online in many places. If you use chrome browser, enable developer mode and see what your request looks like from your browser. You can do the same thing from your PLC. The DATA you send is the GET or POST header which includes the URI (the part of the URL that is not the address or port). Look here for examples: https://www.quora.com/What-does-an-HTTP-request-looks-like
|
science guy |
|
4/15/2016 9:44 AM | |
Posts: 1 Rating:
|
Is there any way to send the http request with vb scripts (hmi pannel) |
4/15/2016 2:52 PM | |
Joined: 11/21/2007 Last visit: 2/9/2021 Posts: 2320 Rating:
|
Hello |
There is no such thing as the last bug in a program |
|
7/16/2018 9:11 PM | |
Joined: 3/15/2017 Last visit: 11/27/2019 Posts: 5 Rating:
|
Hi, I would like to consult you if you could do it? |
Follow us on