2/14/2013 2:02 AM | |
Posts: 11 Rating:
|
My project is based on sending information in a SQL database on an external web server. At the customer's, cost issue, I would put only a S7-1200 connected to internet. function TM_MAIL seems in its infancy and has many flaws apparently ... See my other post : /tf/WW/en/Posts/87609#top I would like the S7-1200 can do a query like: http://www.copedi.be/IMAP/LOG.php?CLIENT=1245&SONDE=5&MESURE=27,5 (http request, port 80) And website respond only ‘OK’ You can try in "live" With PHP code I get the info (CLIENT=1245 SONDE=5 MESURE=27,5) and I said OK, because I received the request. If S7-1200 does not receive a response (OK for example) after a certain time, it indicates an error. free code to redo the request. This may interest a lot of people to allow the S7-1200 to interact with a website. website can answer anything other than OK. |
2/21/2015 11:27 AM | |
Joined: 12/13/2012 Last visit: 3/18/2025 Posts: 7 Rating:
|
Hey, Does still nobody hass an answer? I am also very interested in an example program. |
6/7/2018 1:30 PM | |
Joined: 12/5/2016 Last visit: 10/5/2021 Posts: 10 Rating:
|
HI, did u manage to solve the problem . I have the same situation now with RUT 500. TNX |
3/5/2021 4:29 PM | |
Joined: 5/23/2019 Last visit: 12/24/2024 Posts: 1 Rating:
|
Hey, I am getting response 'HTTP1.1 400 bad request' using that data format. Can you help me? |
3/5/2021 7:00 PM | |
Joined: 4/28/2015 Last visit: 2/24/2025 Posts: 10832 Rating:
|
Hello,
you can also try send sequence with some PC app to check correct sequence. Pay attention to $ char which indicate some control char in String data type. Update: some very similar problematic is here (link): String data type output wrong characters This Topic I recommend to you only as understand representation of data types and what problems they can prepare with wrong format/conversion. |
Last edited by: Duris_I at: 03/05/2021 19:11:17With best regards... |
|
Follow us on