[S7-300] Basics, how to use time and date?

is95kiko

Member
Join Date
Apr 2007
Location
Tampere
Posts
1
Hello

I have simple home automation made with Siemens S7-300 series. It consist of CPU 315-2 DP, Digital inputs (321),outputs (322), relays and light switches.

Currently I control lights and some doors with simple code (STL), such as:

A "I 1.1" (switch 1)
= "Q1.1" (door 1)

or

O "I 1.1"
O "I 2.1"
= "Q1.1"

I would like to use time or date based controls, but I don't know how to do it.
Time and date is correctly set from Simatic Manager.

Is there any "variables" that can be used to check time or date?

Something like:

IF time_variable > 08:00 and < 10:00
= "Q1.1"
 

Similar Topics

OK I am not very good with the 300, as a mater of fact I suck... but that said I still can not figure out why my outputs are working...
Replies
10
Views
3,324
Hello all, We are producing a stand-alone product with its own control system, using a siemens 315-2 PN/DP cpu. The only interface to the...
Replies
2
Views
1,755
Hi, I'm setting up a modbus master on an S7-300. It seems to work in OB1 but not when I use it in OB35. Does anyone have any ideas why? Could...
Replies
10
Views
112
So basically i have 2 queries : 1. I have a program file of S7-300 PLC which i want to migrate in RSLogix500.In short i want to convert my simatic...
Replies
15
Views
257
Hi i using Kinetik 300 2097 driver control by EIP with using move absolute and incremental for motion , but i want to add same driver and motor as...
Replies
0
Views
64
Back
Top Bottom