PLC5 output triggered based on time

bist

Member
Join Date
Oct 2005
Location
Weerde
Posts
13
Hi,

I will start with an apology because I'm so new to this that the next question will sound really stupid. I'm using a PLC5 a&b at home for switching on lights and stuff.

I got some nice answers from you guys here about pushbuttons and switching on lights. Thanks for that.

Now I have another question. I have some floor orientation lighting and I would like to switch it on at 20u at night and switch it back of at 9 in the morning. Now, I'm using relais to switch the 220volts. So I need to "coil" to be on during the whole period and released after 9 in the morning.

Is there any change one of you guys can help me with this? I know there is a clock in the PLC5 but I have no clue how to read it to switch on an output

Thanks

Bist
 
you've got some typos in your post, so I might have misunderstood - but I think this is along the lines you're looking for ...

lightswitch.JPG
 
Last edited:
You can use the S registers within the controller.

In your project on the navigation window go to:

Project->Controller->Processor Status->

On the "Main" tab you will see the time. They use the time and day, month and year in the S registers. The registers are listed right beside the actual time.

Day = S:39
Month = S:38
Year = S:37 and so on.

You can use these registers and create holding registers for your time on and off and use EQU for when you want your coil to turn on and off.

Hope this helps!
 
wow this is great..

Thanks guys. Will try it right away.

but will the relais stay ON because when the output is high the relais is on, but when then output is low then the relais releases.
 
I just happened to have everything ready to go ...

why don't you tell him how to find - and set - the PLC's clock? ... he might need that information next ...


I figured that out already.. I just don't always get it immediately..the logic I mean. But once I see it I can read it..so that's how I learn
 
tip: you don't have to wait all night to "try out" the logic ... just experiment by MANUALLY typing in the hour of the day (24-hour format) into location S:21 ... watch what happens to the output ...

just don't forget to reset the clock when you're finished ...
 

Similar Topics

Preface: Kinda long, so I made section titles Intro: I just want to see if anyone here has seen anything similar. A PLC5-40 series C enhanced...
Replies
3
Views
380
I had a customer ask me to investigate what state a digital output would be in a PLC5 if the the processor faulted or was put in program mode...
Replies
1
Views
1,188
Hey guys, I have a problem that is puzzling me on a PLC 5 system. I am using a 4-20mA analog output (1771-OFE2/B) straight to a Powerflex 4m...
Replies
7
Views
3,707
Hi all, I have a PLC5 rack that is actually full(No place for an aditionnal card). The rack has a couple of spare inputs on 1771-IFE cards and I...
Replies
5
Views
3,694
OK, I'm stumped- I have a problem with a 120 volt output staying on on a particular AB PLC 5/20 Remote rack- older system, output card is...
Replies
3
Views
3,636
Back
Top Bottom