I am working on a demo project to read variable value from a PLC using HTTP GET Request. I am reading the value of variable var3 using this script:
result = system.net.httpGet(“http://192.168.1.220/dir/cgi-bin/readVal.exe?@GV.var3”)
I am getting proper response with variable value to result for first time. But when I send the request again, I am not getting the new value but instead I am getting the last received value.
Anyone can help on this to sort out it.
Thanks in advance.