RSLogix and Timer question

waskojat

Member
Join Date
Aug 2005
Location
Dayton, OH
Posts
8
I am trying to develop a system where I can control all the HVAC fans using the exsisting PLCs. I am new to programming with RSLogix. The program I want to create would have to know the day and time so it can adjust the HVAC units accordingly - like turning them off at 5pm and turning them on at 6am on weekdays and then shutting off for the weekend. I am just trying to find a starting point and was looking for some answers!

let me know if you can help!

Thanks
Jim
 
All the AB PLC's have internal time clocks that you can use for Date and Time functions and not have to rely on counters. Check the help file for what type of Logix you are using (5,500,5000) to find out how to access this.
Nice to see someone else is from Dayton, OH too.
 
In a SLC or PLC5, keeping track of the day of the week will require some minimal extra programming. There was a recent discussion about daylight savings time that touched on this.
 
progress

I am using the GSV - wallclocktime DINT[7] in RSLogix 5000. I am taking each value and moving it to its own tag for year, month, etc. should those tags also be DINT? what else do i have to do to ensure the time is correct on the PLC?
 
You can move any values to the clock calendar of 5/60 processor using MOV instruction.
S:20 = Month
S:19 = Day
S:18 = Year

i hope this answers your question.
 
I once did something like this via a recipe in the HMI.


Another instance was somewhat sophisticated due to the Facilities Manager scheme. We had installed a switch on each of the production lines, mapped them to what lighting zone(s) they occupied, and controlled the plant lighting. The next step was to control the AHU dependent upon the same concept - we chose to use the lighting status because the production lines were constantly shrinking/expanding.

Just two of the possibilities I have come across in the past.
 
I had to do something like this as well, only it was imperitive that the time be correct at all times. The one thing to watch out for is program downloads. Each time the new program is loaded, you may have to adjust the data for the wall clock time again. Just something to look out for.
 
A cheap way to do this is when the day changes in your WallClockTime to increment a counter and (as an example) have monday thru friday be values 0-4. Then weekends will be values 5-6. When the counter changes to 7 reset the counter because you know you are back on Monday.
 

Similar Topics

Hello friends! Might someone be able to give me a brief explanation of the differences between the .TT (Timer Timing) bit and the .EN (Enabled)...
Replies
2
Views
1,869
Hi, I am attempting to turn on an output for one second, every thirty seconds, but am having some trouble. I have a XIC with S:1/15 (first pass)...
Replies
9
Views
591
If any of you wizards can help in this I would be ever more grateful. We have this device that generates 9 second pulses coming into a DI module...
Replies
31
Views
3,605
Processor: 1769-L30ER; Logix 5000: v32.02 I have an AOI that's been used in previous applications without issue, and have added a TON...
Replies
6
Views
2,759
Hi there, I am accustomed to working with Logix 500 but have a program modification I need to do on a CompactLogix.... I created a timer...no...
Replies
7
Views
2,452
Back
Top Bottom