SLC500 Once a week Timer

WTFSUNELECSUP

Member
Join Date
Jan 2014
Location
Alberta
Posts
63
Hi,

I'm required to turn on a Pump once a week, Friday morning at 9am for 10 minutes, and then allow a week to past and repeat again the next friday morning at 9am.

Current, I have a N7, tied to the S:40 status bit, everytime the S:40 goes past 0 (midnight) it counts that as one day. On the 5 day (friday) it activates the output and on the 7th day it resets.

Can I do this using the status (S2) bits ad a SQO or BCD (TOD)Instruction, if so how, would I set it up? I'd like to keep track of the days, instead of the hours, setting it off at 9am using the status bits is easy, but I'm hung up on tracking the days.
 
Hi,

I'm required to turn on a Pump once a week, Friday morning at 9am for 10 minutes, and then allow a week to past and repeat again the next friday morning at 9am.

Current, I have a N7, tied to the S:40 status bit, everytime the S:40 goes past 0 (midnight) it counts that as one day. On the 5 day (friday) it activates the output and on the 7th day it resets.

Can I do this using the status (S2) bits ad a SQO or BCD (TOD)Instruction, if so how, would I set it up? I'd like to keep track of the days, instead of the hours, setting it off at 9am using the status bits is easy, but I'm hung up on tracking the days.

Providing the date/time are set correctly S:53 is the day-of-week register from 0-6. So if S:53=5 this will be Friday .
 
I would just use a counter. Increment it at 9am each day. When it equals 5
( start the counts at whatever day you wish) and the time equals 9:00am
start a 10 min timer. Then use the timers ".TT" bit to run your pump.
Don't forget to reset the counter at 7.
 

Similar Topics

I cannot add SLC500 analog input tag (I: 8.3) to EZSeries Touch Panel Editor (V 5.3). I used all the listed tag datatype but it all says "Invalid...
Replies
10
Views
258
can the slc500 5/05 send a email and text over Ethernet ?
Replies
3
Views
185
Hello, did anybody know, if there exist an converting cable like the1492-CM1746-M01 (for an 1746-IB16 to an 5069-IB16), for an 1746-HSCE to an...
Replies
3
Views
389
Customer is buying several spare 504 CPU's to have one handy when there's an issue with the ones in operation. Having them on the shelf for years...
Replies
15
Views
2,834
You have to go offline to create the 'Trend' but do you have to download the program to go back Online with the Trend ?
Replies
0
Views
344
Back
Top Bottom