OSCAT Forum
network.lib => Codesys 2 => Thema gestartet von: palif am 08. Januar 2017, 14:06:23
-
Hallo, ich bin neu hier. Ich weiß nicht, Deutsch (schreibt den Dolmetscher.
Ich kann nicht YAHOO WEATHER starten.
Bitte helfen
(http://i023.radikal.ru/1701/b2/2d2ee4d049ee.png)
(http://s020.radikal.ru/i716/1701/56/c549073cb40a.png)
(http://s018.radikal.ru/i513/1701/33/74d3a31f85da.png)
-
probiere die neuestes Version 1.35
http://www.oscat.de/community/index.php/topic,2546.msg13223.html#msg13223
-
Version 1.35 solcher samy Fehler 4278190080
-
open the oscat network.lib as project
and edit the global variable
SYSLIBSOCKETS_OPTION : BYTE := BYTE#2#0000_0001;
[gelöscht durch Administrator]
-
I changed to 1, but I have PLC Eaton XV102 WinCE 5.0. Unfortunately, the same error
4278190080
(http://s019.radikal.ru/i631/1701/a0/d8093768d2b6.png)
(http://s50.radikal.ru/i130/1701/b3/83804da55558.png)
(http://i013.radikal.ru/1701/9d/89bd1f87f3c2.png)
-
EN:
Perhaps I lack a block? Oscat_Basic me arguing with libraries Moeller. There are some blocks turned off after the
Project> optiontions> Build> Exclude objects ....
I would add that the compilation is correct.
DE:
Vielleicht fehlt mir einen Block? Oscat_Basic mich mit Bibliotheken Moeller streiten. Es gibt einige Sätze nach dem ausgeschaltet
Projekt> optiontions> Build> Objekte ausschließen ....
Ich möchte hinzufügen, dass die Zusammenstellung korrekt ist.
[gelöscht durch Administrator]
-
Maybe your sps is not compatible with oscat
-
succeeded to load the entire library Basic and Network (without "exlude object") by increasing the amount of POU 1024 2024. And hooray !!!!
[gelöscht durch Administrator]
-
how often you can refresh the data? every 3 hours, or less?
I do not know for what but sometimes not wszstko loads. and sometimes error 4278190080.
[gelöscht durch Administrator]
-
error 4278190080 = hex 0xFF00_0000 = HTTP_GET - Connect Timeout
-> Rate limits
https://developer.yahoo.com/weather/
-
I do not know where you need to change the rate limits. please help.
-
does not work
[gelöscht durch Administrator]
-
it works
'Body stop'=3714 or 3716 , temperature reading and the city
'Body stop'=746 or 748,temperature reading or city
'Body stop'=0 no temperature reading or city
####
2 hours worked. Already she Not Found. Http_get no data
[gelöscht durch Administrator]
-
There is a problem with the YAHOO API interface
http://www.oscat.de/community/index.php/topic,2504.msg13693.html#msg13693
-
thank you. We are waiting for repair Yahoo. Why do I even read data, it is sometimes confusion ip_C error = 65280 (FF00)
TIMEOUT-PARAMETER in IP_CONTROL=6s
[gelöscht durch Administrator]
-
IPC_ERROR 0x0000_FF00 = Receive Timeout
this is one of the new problems
the response sometimes takes longer than 5 seconds
but not always !
-
today does not work. yahoo responses xml some new
https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22nome%2C%20ak%22)&format=xml&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys
-
Hello. I updated codesys_network_135. Yahoo still does not work error_c = 4278190080
error_t = 2
Does anyone have a fully functioning Yahoo?
Please help
(http://s019.radikal.ru/i613/1707/b1/d550ab0e5b75.png) (http://radikal.ru)
version 1.6 22. may. 2017
programmer ks
tested by ks
(* Bit 0 = 1 -> PLCWinNT *)
(* Bit 1 = 1 -> PLC WAGO 750-841 *)
(* Bit 2 = 1 -> PLC WAGO 750-881 *)
SYSLIBSOCKETS_OPTION : BYTE := BYTE#2#0000_0001;
*****************************************
version 1.5 01. jun. 2016
programmer ks
tested by ks
Old version works. But there is another problem after power failure or internet connection, it stops working, error error = 4278190080
Error_t = 2. How does the location change, it starts to work. How could he not write a buffer
-
4278190080 = 0xFF000000 (http connect timeout)
error_t = 2
Http_get module cannot connect to the yahoo address
-
4278190080 = 0xFF000000 (http connect timeout)
error_t = 2
Http_get module cannot connect to the yahoo address
Why can not I connect? Something must be missed? Old http_get joined normally.
-
I solved with a colleague the problem of old Yahoo weather. The problem was with "IP_C". How did the block hit correctly IP_C = 1275927748, as was the power failure or internet connection when restarting the PLC IP_C = 9. I typed in hand and now the weather runs on the old version of Yahoo weather
(http://s019.radikal.ru/i640/1707/00/2f972da30a28.png) (http://radikal.ru)
-
Version 1.6 22. may. 2017
Programmer ks
Tested by ks
It is working now !!!!! There was a problem with HTTP_GET (because it was an old version), but that's not all. In my case C_PORT = 53 does not work, I have to manually enter C_PORT = 80 and manually IP_C = 1275927748.
Now everything works
(http://s48.radikal.ru/i122/1707/12/e221cf24fd1d.png) (http://radikal.ru)
-
Port 53 is for DNS resolution
Did you specify a working DNS server?
test:
network.lib 1.35 with codesys PLCWinNT V2.4 (SoftPLC)
no problem !
[gelöscht durch Administrator]
-
Today stopped working. Retrieves the data portion, and the rest is 0. Something with buffer?
(http://s41.radikal.ru/i093/1709/dc/6b1b8360119b.png) (http://radikal.ru)
-
(http://s019.radikal.ru/i632/1709/b7/f17cb2e59a0c.png) (http://radikal.ru)
-
65024 = 0x0000_FE00 = Receive data Value 254 - Receive buffer is full (overflow)
(Buffer size is automatically set to 0)
more data was received than would fit in the receive buffer
possible solution: increase the network_buffer size
-
Thank you!!!!!!
(http://s016.radikal.ru/i335/1709/f4/eb7023149a4c.png) (http://radikal.ru)
(http://s019.radikal.ru/i602/1709/dd/33dbeafca1db.png) (http://radikal.ru)