[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,317
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,750
Have a system that has been running for over a year and all of a sudden getting a ExcessiveVelocityFault on one of the drives when the MSO command...
Replies
2
Views
138
Hello PLCS.Net Forum, First time posting. Let's assume I am a novice. BASIC PROBLEM: My servo/linear piston is no longer zeroed to the...
Replies
9
Views
204
hi... i have an issue in s7 300 plc, while we run the machine(in idle there is no fault) , plc cpu goes in SF mode, after restart the power cycle...
Replies
2
Views
107
Back
Top Bottom