Autor Thema: Problem with Function Calendar_calc and CPU 313  (Gelesen 7517 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

stavrosxar

  • Gast
Problem with Function Calendar_calc and CPU 313
« am: 07. November 2012, 19:52:15 »
Hello to all
I have a problem running the CALENDAR_CALC function in a 313 cpu
I get error in nesting depth and the function is never called
I must use this function to get sunrise and sunset time and also the NIGHT bool variable..
Is it possible to run this function in this specific CPU?
The SUN_POS functions runs but it doesnt provide with the information I mentioned above

Thank you for your help

Offline Fussel0804

  • Entwickler
  • *****
  • Beiträge: 274
    • Profil anzeigen
    • E-Mail
Re: Problem with Function Calendar_calc and CPU 313
« Antwort #1 am: 08. November 2012, 06:18:31 »
Hi!

If it's possible to you, send me your Project an I'l take a look an test it.

I have sent you an PN with my E_mail adress

Stefan

stavrosxar

  • Gast
Re: Problem with Function Calendar_calc and CPU 313
« Antwort #2 am: 08. November 2012, 09:26:25 »
Hello
I have send the project to your email
Thank you

stavrosxar

  • Gast
Re: Problem with Function Calendar_calc and CPU 313
« Antwort #3 am: 08. November 2012, 14:50:40 »
Accoriding to this https://www.automation.siemens.com/WW/forum/guests/PostShow.aspx?PageIndex=1&PostID=412843&Language=en#412843
the problem is with the data allocation.
The problem is that in properties of CPU 313C that I have I cannot access the "Memory" tab to change these values , because it isn't visible.
I hope this will help you also

stavrosxar

  • Gast
Re: Problem with Function Calendar_calc and CPU 313
« Antwort #4 am: 08. November 2012, 18:36:17 »
Also I would like to declare that this is tested in PLCSIM

Offline Fussel0804

  • Entwickler
  • *****
  • Beiträge: 274
    • Profil anzeigen
    • E-Mail
Re: Problem with Function Calendar_calc and CPU 313
« Antwort #5 am: 11. November 2012, 08:43:31 »
Hi!

Next Week i will get an CPU 313.
Then I'l test it on this CPU.

Stefan