Page 1 of 1

[?]: how switch S7 224 CPU Timer ?

Posted: Fri Mar 28, 2008 5:36 pm
by sahkari
Hello and thank great forum.

I want to do my S7 224 CPU timer switch, but how?

Like this.

Timer switch outdoor lights on 15.00 and swicth off 22.00, but lights dont go on if is too bright.

Darksensor (I0.0)---- Timer----(O0.0

Timer

Posted: Fri Mar 28, 2008 10:17 pm
by tunayk
What kind of switch do you want?

Would you like to program depending of real time clock (RTC) or only depending to darknes sensor ?

CPU224 has a RTC. You may define some words and hold set time values on them. After that, compare RTC with these words,continuously. If the time is equal to set, you may activate any output (turn on the lamps). Then, compare the RTC with second set values. When they are equal, disable outputs (Turn off the lamps).

I don't know about your PLC programming knowledge. Normally, there are several way to make this project.

Posted: Sat Mar 29, 2008 4:44 am
by sahkari
I want to do that switch when time is something like 15.00 but if is not dar then dont turn on lamp, but that program went when coming dark and turn on that lamp then, and switch off that lamp 22.00.

I have that system my home now and i do that siemens logo logo comfort, but now i want do more logic my home and i buy that 224 cpu.

I have basic information siemens simatic programming, i"m electrical engineering what have studing that system and programming school something 1 week, not so much :), only basic info and programming.

How i make rtc clock cpu 224, i dont find that Timers and not clock folders.

I"m sorry because my english is not so good :)

Here is what kind system i have now what i make logo:
http://www.saunalahti.fi/toturki/Logo.pdf

I1 = Dark switch
B01 = Garden lights timer
B04 = Walking lights
I2 = Car heating switch ( 1 hours)
B07 = Car heating timer

Q4 = Housenumber lights
Q1 = Garden lights
Q2 = Walking lights
Q3 = Car heating

That kind system i want to do new simatic cpu 224

Posted: Sat Mar 29, 2008 2:07 pm
by lonzo

Posted: Wed Apr 09, 2008 10:56 am
by sahkari
Or is"t better make outside timerswicth where coming 0 or 1 some input?

Like this:

i0.0 Dark swicth-------|
i0.1 Timer swicth------|--- &--------Q0.0 Garden lights