OSCAT Forum

oscat.lib => oscat.lib fuer Step 7 => Thema gestartet von: stavrosxar am 07. November 2012, 19:52:15

Titel: Problem with Function Calendar_calc and CPU 313
Beitrag von: stavrosxar 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
Titel: Re: Problem with Function Calendar_calc and CPU 313
Beitrag von: Fussel0804 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
Titel: Re: Problem with Function Calendar_calc and CPU 313
Beitrag von: stavrosxar am 08. November 2012, 09:26:25
Hello
I have send the project to your email
Thank you
Titel: Re: Problem with Function Calendar_calc and CPU 313
Beitrag von: stavrosxar 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
Titel: Re: Problem with Function Calendar_calc and CPU 313
Beitrag von: stavrosxar am 08. November 2012, 18:36:17
Also I would like to declare that this is tested in PLCSIM
Titel: Re: Problem with Function Calendar_calc and CPU 313
Beitrag von: Fussel0804 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