Date time

Waldg

Member
Join Date
Mar 2012
Location
Nh
Posts
44
I want to activate an alarm from 6pm to 7am during the months October through march. And from 8pm to 6am for the rest of the months. Using a dl06 plc. Does directsoft have a conditional instruction with a range of values?
 
I would just use comparison instructions. You may have to add a few more compares to handle the changeover from Sept. to Oct. and Feb. to Mar. at midnight if it's an issue.

🍻

-Eric

DL06Month.jpg
 
Thanks Eric that's how I am doing it now I was hoping for a easier way. It gets more complicated when adding minutes to the time.
 
Ops I was thinking of using "and" when testing the condition between march and October, sorry
 
Thanks Eric that's how I am doing it now I was hoping for a easier way. It gets more complicated when adding minutes to the time.

Presuming this thread is related to your question about julian dates, I have some questions about what your needs are.

1. What are your needs concerning daylight savings time?

2. In this latest post you mention minutes, what about days of the week, Monday, Teusday ect.

3. Are there ay other conditions regarding the real time clock you have not mentioned yet?

4. Are the times entered in a hmi?

5. In the first post you mentioned changing the start and stop for the event based on a monthly basis. If I'm reading your original post correctly, the on time crosses over midnight. What do you want to happen on the last day of March, the start time would be 6 PM and the end time would be in the next month but the end time would be in April? Do you need the first turn off in April to be 7 AM or 6 AM? I believe this is what Eric was asking in post #2.
 
Thanks for the reply. in this project minutes, weekdays are not important. What Eric showed will work. You raised the question on time changes fast/slow time. I need to think about that yet. I am trying to get ideas for future needs. In the joulian date question I was trying to find a way to put a date stamp on some recipies. I don't see a need to enter a date from a hmi for this project.
 

Similar Topics

Hello, I'm hoping someone can help me with understanding how to set/change these data types. We recently swapped from Invertek to AB drives...
Replies
1
Views
94
From the Red Lion website, after some customer enquiries in the last week or so... Rev. March 25, 2024 [18:30] Just thought it might help a...
Replies
9
Views
290
How do you install update on Red Lion Crimson ver 3.1. Do I just need to run the exe file on the host server?
Replies
1
Views
126
Has anyone found a way to convert/replace/update the firmware on old Parker TS80xx series HMIs (i.e. TS8010, TS8006, etc) to accept Crimson...
Replies
0
Views
105
Hello, I have an automation direct d2 262 plc and C-more HMI EA9T6CL-R. I need to prepare a program, scheduled to be performed on a future date. I...
Replies
1
Views
142
Back
Top Bottom