Beiträge anzeigen

Diese Sektion erlaubt es ihnen alle Beiträge dieses Mitglieds zu sehen. Beachten sie, dass sie nur solche Beiträge sehen können, zu denen sie auch Zugriffsrechte haben.


Nachrichten - learnetk

Seiten: [1]
1
oscat.lib fuer TwinCAT/CoDeSys / Re: MB_Client UDP broadcast
« am: 19. September 2016, 18:21:36 »
Hi Peewit.

Oh thats a bit sad to know broadcast doesnt work with the standard Oscat network library.
Is it possible to get this working with some changes in the MB_Client and IP_Control2 for this special requirement.
I thought maybe in the MB_Client function block if i could set the C_Mode to 5 (Udp+passive+Ip Address) and then
in the IP_Control2 in the UDP_Init if the sockaddr.sin_addr be set to Broadcast, maybe it would work (please correct me).

It would be really nice if you just could suggest a way for me try out. I had found it rather difficult to find a implementation guide for Modbus UDp like the one present for Tcp. If you could suggest something it would be great.

Thanks and warm regards

2
oscat.lib fuer TwinCAT/CoDeSys / Re: MB_Client UDP broadcast
« am: 19. September 2016, 08:50:11 »
Hi Peewit
Could you please help ..!

Thanks

3
oscat.lib fuer TwinCAT/CoDeSys / MB_Client UDP broadcast
« am: 16. September 2016, 15:11:25 »
Hi Forum,

I am trying to use the MB_Client in Udp mode.The application has a Client and multiple Servers, and i have a few questions in this regard, hope you could help :
- Is it possible to use the MB_Client for Udp Broadcast to multiple servers.
- when the MB_Client recives the data from a servers, how can the client identify the servers(Ip) and its data.

Thanks and warm regards


4
oscat.lib fuer CoDeSys 3 / Re: SMTP_CLIENT Problems
« am: 01. Juli 2016, 12:36:32 »
Hi,
I changed the password and tried..but the results were the same.

5
oscat.lib fuer CoDeSys 3 / Re: SMTP_CLIENT Problems
« am: 01. Juli 2016, 11:15:13 »
here are some of the screenshots with various trials. I also tried out the library with my
Raspberry Pi at home, i got a different error Error_T = 5 and Error_C (i forget the step no but i crossed the Step 30).
I tried with the same Pi at my office i get the same old error Error_T = 2 and Error_C =16#FF000000.


[gelöscht durch Administrator]

6
oscat.lib fuer CoDeSys 3 / Re: SMTP_CLIENT Problems
« am: 30. Juni 2016, 14:32:47 »
Hi Ksanteri,
my case is quite simialar.

If i use the google DNS(8.8.8.8) then i get the same Error Id as you. But if i try using my DNS of my organization its different error Error_C = 16#0000FF00 and Error_T = 16#01.

Please do write if u get a breakthrough
 :)

7
oscat.lib fuer CoDeSys 3 / Re: SMTP_CLIENT Problems
« am: 30. Juni 2016, 09:19:43 »
Hi Ksanteri
Did u get it working ??

Thanks

8
oscat.lib fuer CoDeSys 3 / Re: SMTP_CLIENT Problems
« am: 14. Juni 2016, 12:53:14 »
Hi Brendang,
I have the same issue..
Did u succed with sTunnel...Can you please describe how you did that.

Thanks

9
oscat.lib fuer CoDeSys 3 / SMTP Client with Demo Program Berghoff SPS
« am: 30. September 2015, 18:29:29 »
Hallo Everyone..

I am trying to use the SMTP_Client FB for sending Emails using a Berghoff EC2200 PLC with CoDeSys V3.5 SP6 Patch 3. I use the Demo Program in the Oscat Network library, with no changes except for the DNS address. I get the ERROR_C = 16#FF and EROOR_T = 16#02. Could someone suggest what could be wrong.

i am using the OSCAT NETWORK version 1.2.1.1 library, and can ping mail.gmx.net from my PLC, and have also put the DNS Server address and the Gateway address in the PLC. This DNS Server i find  with the nslookup command. Other than the DNS nothing has been changed in the DEMO Program.
Could someone help with this.Sorry to be writing in English.

ERROR_C = 16#FF, ERROR_T = 16#02

Thanks.

10
oscat.lib fuer TwinCAT/CoDeSys / SMTP Client - Berghoff SPS
« am: 28. September 2015, 10:30:02 »
Hallo Everyone..
I am trying to use the SMTP_Client FB for sending Emails using a Berghoff EC2200 PLC with CoDeSys V3.5 SP6 Patch 3. I use the Demo Program in the Oscat Network library, with no changes except for the DNS. I get the ERROR_C = 16#FF and EROOR_T = 16#02. What library do i need for IP_Control for the Berghoff EC2200 PLC. I tried to use the SysSocket.lib, but that doesn't seem to work.
What else could be going wrong, could someone suggest.

Thanks & Regards

some more info :
I am using the OSCAT NETWORK version 1.2.1.1 library, and can ping mail.gmx.net from my PLC, and have also put the DNS Server address in the PLC. This DNS Server i find  with the nslookup command. Other than the DNS nothing has been changed in the DEMO Program.
Could someone help with this.Sorry to be writing in English.
ERROR_C = 16#FF, ERROR_T = 16#02
I tried this without using the SysSocket.lib (as i see that SysSocket23.lib is already a part of Oscat_network.lib) but i still get the same error.

Seiten: [1]