[?]: how switch S7 224 CPU Timer ?

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
Post Reply
Posts: 10
Joined: Fri Mar 28, 2008 5:29 pm
Location: Europe

[?]: how switch S7 224 CPU Timer ?

Post by sahkari » Fri Mar 28, 2008 5:36 pm

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

Posts: 2
Joined: Tue Feb 19, 2008 11:06 pm


Post by tunayk » Fri Mar 28, 2008 10:17 pm

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.

Posts: 10
Joined: Fri Mar 28, 2008 5:29 pm
Location: Europe

Post by sahkari » Sat Mar 29, 2008 4:44 am

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:

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

Posts: 46
Joined: Tue Oct 03, 2006 7:09 am
Location: Europe

Post by lonzo » Sat Mar 29, 2008 2:07 pm

Posts: 10
Joined: Fri Mar 28, 2008 5:29 pm
Location: Europe

Post by sahkari » Wed Apr 09, 2008 10:56 am

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

Post Reply