PDA

View Full Version : S7 400 program which includes summer/winter time switching


milka
March 25th, 2011, 01:40 AM
Hi, just getting my head around the basics and need to develop a program using a Siemens S7 400 plc, has any one got a copy of a program that I could study and learn from. Need to switch some lights in the program based on time, taking into account summer/winter. Cheers just a newbie.:nerves:

L D[AR2,P#0.0]
March 25th, 2011, 03:53 AM
Here's a start:

http://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objid=19324378&caller=view

milka
March 25th, 2011, 05:00 AM
Seem to be getting a lot of red, must be doing some thing wrong. Think I have to generate DT values, would love to see a whole working program. Cheers for your help.

L D[AR2,P#0.0]
March 25th, 2011, 04:45 PM
Example call + DB definition in attached archive.

milka
March 26th, 2011, 06:18 AM
Thanks a million will retrieve it when I'm at work next where I have S7