Problem with Function Calendar_calc and CPU 313

Begonnen von stavrosxar, 07. November 2012, 19:52:15

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 1 Gast betrachten dieses Thema.

stavrosxar

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

Fussel0804

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

Hello
I have send the project to your email
Thank you

stavrosxar

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

Also I would like to declare that this is tested in PLCSIM

Fussel0804

Hi!

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

Stefan