Hauptmenü

Yahoo weather

Begonnen von palif, 08. Januar 2017, 14:06:23

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 2 Gäste betrachten dieses Thema.

peewit

IPC_ERROR 0x0000_FF00 = Receive Timeout

this is one of the new problems
the response sometimes takes longer than 5 seconds

but not always !


palif

#17
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



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

peewit

4278190080 = 0xFF000000 (http connect timeout)
error_t = 2
Http_get module cannot connect to the yahoo address

palif

Zitat von: peewit in 20. Juli 2017, 19:17:53
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.

palif

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





palif

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


peewit

#22
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]

palif


Today stopped working. Retrieves the data portion, and the rest is 0. Something with buffer?




palif


peewit

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

palif