Cscape Time date help needed.

KC8NCI

Member
Join Date
Oct 2010
Location
Wisconsin
Posts
1
I am programming a horner to start and stop the air compressors in our plant. I want it to have the air on and up to pressure when the first employee gets in and shuts off when we close.
Also choosing the days of the week we are open. I am lost as to the correct procedure to follow in making this happen... HELP!
 
Do you have the Cscape software? It is available as a free download from www.heapg.com. In the software there are instructions for what you want: Time of Day, Day of Week, Day of Month, Month of Year, and Year. You should be able to get a good start from there.Tom
 
I am programming a horner to start and stop the air compressors in our plant. I want it to have the air on and up to pressure when the first employee gets in and shuts off when we close.
Also choosing the days of the week we are open. I am lost as to the correct procedure to follow in making this happen... HELP!
Not sure which unit you have but you need to look into the System Registers (%SR).
I assume you have a unit with an RTC (Real Time Clock).

%SR44=RTC Seconds
%SR45=RTC Minutes
%SR46=RTC Hours
%SR47=RTC Date
%SR48=RTC Month
%SR49=RTC Year
%SR50=RTC Day

If you open up the I/O Names tab under "Control" from the Project navigator, you'll find the System Rgisters listed here as well as more.
 

Similar Topics

I am trying to set up a piece of equipment with a Horner HE-X4R. I'd like to use structured text and so far I'm just trying to get a basic On/off...
Replies
0
Views
92
I've just started using Horner Cscape version 9.90 service pack 11. Is it normal for all the toolbars in the window to appear in a different spot...
Replies
6
Views
210
I seem to be making this harder than it should be, and Its not making any sense. I simply need to move a real variable to two integer variables...
Replies
8
Views
999
I am working on a program in Cscape to take a pulse input from a flow meter and output an average of the last 5 minutes of flow and total flow to...
Replies
1
Views
580
I am working on a program in Cscape to calculate a flow in gpm with a pulse input. Currently, the data collection, labeled as minute counter and...
Replies
4
Views
732
Back
Top Bottom