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 - david

Seiten: 1 [2]
16
PC WorX / Re: SMTP_CLIENT Array index out of range
« am: 31. Oktober 2013, 12:55:24 »
The error only happened once
It is in IP_CONTROL
As it only happened once, it is difficult to simulate, if you want, I can sent you the complete project.

17
PC WorX / SMTP_CLIENT Array index out of range
« am: 30. Oktober 2013, 15:37:41 »
When using SMTP_CLIENT (network lib 121) on an ILC 170 the PLC went to stop giving an Array index out of range error.
I was able to make a screenshot, but there was not much time to debug.
Any idea what could be the problem? I was not able to reproduce the problem.

[gelöscht durch Administrator]

18
BECKHOFF / Re: Anbindung an Telefonanlage
« am: 21. Februar 2013, 23:06:38 »
Hi Mathias,

Ich habe vor zwei Jahre so etwas gemacht für Phoenix Contact. Um textnachrichte nach en DECT zu senden über ein telefonanlage. Im ahang findest du das ESPA master modul, da drinnen gibt est leiter eine Phoenix FB für de serielle kommunication, aber diesen kan vieleicht einfach ersetzet werden mit ein beckhof FB. Oder noch besser Oscat, aber ich glaube nicht dass es so etwas gibt in oscat.
ESPA docu: http://www.osca-uk.com/ESPA%20444.pdf und simulator: http://www.elexol.nl/downloadsnl.html

Grüsse,
David

[gelöscht durch Administrator]

19
Modulentwicklung / Module Development / Heating start time
« am: 25. November 2011, 20:03:43 »
I want to have at 7h in the morning a temperature of 21°. At night, the heating only switches on when it is colder than 16°. Does anyone have an idea how to calculate the optimal start time for the heating? This is to have exactly 21° at 7h.The goal is not to have cold in the morning and also not to start to early with heating and wasting energy.
Thanks.

20
DATE_ADD gives strange results when using negative days or weeks.
This is because the conversion from int to udint, which interpretes the sign bit wrong.
DATE_ADD := UDINT_TO_DATE(DATE_TO_UDINT(IDATE) + INT_TO_UDINT(D + W * 7) * UDINT#86400);
Here is my proposal:
day := D + W * 7;
IF day >= 0 THEN
    DATE_ADD := IDATE + INT_TO_UDINT(day) * UDINT#86400;
ELSE
    DATE_ADD := IDATE - INT_TO_UDINT(ABS(day)) * UDINT#86400;
END_IF;

21
PC WorX / Re:Large mail attachment
« am: 30. Mai 2011, 10:58:28 »
Thanks a lot for the quick solution!

22
PC WorX / Large mail attachment
« am: 27. Mai 2011, 15:36:56 »
On an ILC170, when I sent a mail with a large attachement (6MB), after about 10min, I get an error: ERROR_C = 0000FF00; ERROR_T := 02. At this point, about 5425707 of 6768271 bytes are sent. At the mail server I get the following message in the maillog:
postfix/smtpd[24422]: lost connection after DATA (5425707 bytes) from unknown[plc_ip]
postfix/smtpd[24422]: disconnect from unknown[plc_ip]
When I sent a mail with the Phoenix Contact IT library with this file attached, it works.

 

Seiten: 1 [2]