Autor Thema: Why is there not a 24 hour timer???  (Gelesen 1490 mal)

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Why is there not a 24 hour timer???
« am: Oktober 19, 2023, 23:31:18 Nachmittag »
I cannot be the only user who desires a simple 24 hour timer with a single ON and a single OFF setting.

When will Eaton resolve this gross oversight?

A simple single channel 24 hour timer with the ability to use timer value entries in a dialogue box would be most useful.

How many members agree?

Please post below to be acknowledged.

Thank you!

Offline ssyn

  • Jr. Member
  • **
  • Beiträge: 46
Antw:Why is there not a 24 hour timer???
« Antwort #1 am: Oktober 23, 2023, 08:50:26 Vormittag »
Hmm, I can't understand - why you can't use normal timer.

Time area - 1 minute and I1 - 1440 (60 minutes * 24 hours)

With merker you can turn it on and off.
« Letzte Änderung: Oktober 23, 2023, 08:55:09 Vormittag von ssyn »

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Antw:Why is there not a 24 hour timer???
« Antwort #2 am: Oktober 24, 2023, 18:46:21 Nachmittag »
I do not wish to allow end users access to parameters menu. I cannot be the only one, can I?

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Antw:Why is there not a 24 hour timer???
« Antwort #3 am: Oktober 24, 2023, 18:53:30 Nachmittag »
I wish to allow user to set a time of day based on RTC for an event to be started, which will repeat every day, while not allowing user to access parameters menu. Similar to setting an alarm clock; not using minutes or hours for delays, but by setting a time of day as the trigger.

Offline w.sprungmann

  • Full Member
  • ***
  • Beiträge: 208
Antw:Why is there not a 24 hour timer???
« Antwort #4 am: Oktober 25, 2023, 07:30:55 Vormittag »
Hello, do it like this.

Offline Konni66

  • Global Moderator
  • Full Member
  • *****
  • Beiträge: 248
  • Keine Panik!
    • Eaton Trainingscenter Bonn
Antw:Why is there not a 24 hour timer???
« Antwort #5 am: Oktober 26, 2023, 17:17:40 Nachmittag »
Hello Simon,
sorry I do not agree.
In my oppinion it's not possible to develop a function for each and every task.

A PLC is made to program functions You need.
easySoft brings out possibilitys to create Your own function blocks.

The function block which is especially  needed for Your project.

By the way, it needs only a few minutes to make the function block You ask for.

Greetings Konni
« Letzte Änderung: Oktober 27, 2023, 14:02:36 Nachmittag von Konni66 »
Die Programmierbeispiele sind zu Schulungszwecken gedacht. Trotz sorgfältiger Erstellung und Funktionsprüfung können Fehler nicht ausgeschlossen werden. Daher erfolgt die Verwendung der Programmteile in eigener Verantwortung.

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Antw:Why is there not a 24 hour timer???
« Antwort #6 am: Oktober 27, 2023, 23:27:08 Nachmittag »
Thank you all.

I currently do use the RTC and several comparators to accomplish this task, much like is outlined in both of the above responses to my problem.

It is as elegant a solution as it possibly can be.

And I do have a quiver full of custom user function which many of my programs are built from.

This approach to the problem I pose just lacks aesthetic composure, and it seems that a timer value entry formatted as an HH;MM variable to correspond to the RTC much like a timer value entry for the timer relay wouldn't be difficult for the designers to facilitate, and would also not be underutilized by a large portion of this platforms users.

Below are some depictions of my version of a daily timer- which does not require a custom user function block, provided it can be associated with a text dialog box. <br>

Offline Andrus Saar

  • Newbie
  • *
  • Beiträge: 15
Antw:Why is there not a 24 hour timer???
« Antwort #7 am: Februar 18, 2024, 09:47:07 Vormittag »
Hello

I just joined this forum a few days ago, so I just now made a demo solution for this timer.

Directly from the screen, you can change the on/off time and the days of the week it is valid.

The program is written in ST language.

Andrus

---------------

Updated 20.02.2024

I also did some research on the German forum. Already three years ago there was talk about a suitable weekly clock. I found a program section written in FBD.

Inside it is a User Function Block containing a real time clock and the corresponding logic (these are written in ST).

Translated by DeepL

--------------

Topic:  https://easy-forum.net/index.php?topic=8260.msg35203#msg35203

Program:  https://easy-forum.net/index.php?action=dlattach;topic=8260.0;attach=9158



« Letzte Änderung: Februar 20, 2024, 17:26:53 Nachmittag von Andrus Saar »

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Antw:Why is there not a 24 hour timer???
« Antwort #8 am: März 05, 2024, 22:52:12 Nachmittag »
THANK YOU!!!

Offline Andrus Saar

  • Newbie
  • *
  • Beiträge: 15
Antw:Why is there not a 24 hour timer???
« Antwort #9 am: März 16, 2024, 02:56:33 Vormittag »
Hello again

Slightly revised weekly programme.
Written in ST. With comments.

Andrus


(* Weekly timer demonstration programme *)
(* Filename is "Weekly timer demo v2 (ST).e70" , written with Eaton easySoft v7.41 *)

(* The program tested on Eaton easyE4 (E4-DC-12TC1, with firmware 1.42) *)
(* Andrus Saar , 16.03.2024 , written in Estonia. Comments have been translated by DeepL Translator *)

(* The memories MB1 ... MB20 are set to retentivity so that the values are retained in the event of a power failure *)
 
(* Beginning of the programme *)

  (* Real-time clock *)

RC01 (
EN := ,
DT => ,
E1 => ,
YY => ,  // Year (two last digits 00 ... 99).
MM => ,  // Month (1 ... 12).
DD => ,  // Day (1 ... 31).
WD => , // Weekday (0 ... 6 , where 0 - Sunday, 1 - Monday, 2 - Tuesday, 3 - Wednesday etc.).
HR => MB1,  // Hours (0 ... 23), written in MB1.
MN => MB2,  // Minutes (0 ... 59), written in MB2.
SC =>  // Seconds (0 ... 59).
);

  (* M49 to M55 is the day of the week, selected from the display *)

M56 := M49 AND (RC01WD = 1);  // Monday.
M57 := M50 AND (RC01WD = 2);  // Tuesday.
M58 := M51 AND (RC01WD = 3);  // Wednesday.
M59 := M52 AND (RC01WD = 4);  // Thursday.
M60 := M53 AND (RC01WD = 5);  // Friday.
M61 := M54 AND (RC01WD = 6);  // Saturday.
M62 := M55 AND (RC01WD = 0);  // Sunday.

M63 := M56 OR M57 OR M58 OR M59 OR M60 OR M61 OR M62;

  (* Minutes calculated from the hours and minutes of the real time clock *)

MD3 := MB1 * 60 + MB2;  // result is 0 ... 1439.

  (* Comparing real time and switching time, except days of the week *)

M64 := ( MD3 >= MD4 ) AND ( MD3 < MD5 );

  (* Output Q1 is ON, if day of the week and time is match *)

Q01 := M63 AND M64; 

  // LE05 := Q01;  // You can use the green backlight if the controller firmware is 1.30 or later.

  (* If the switch-on time are set more than 1440 (24 hours and 00 minutes) then switch-on time will be set to 1440 *)

IF MD4 > 1440 THEN
MD4 := 1440;
END_IF;

  (* If the switch-off time are set more than 1440 (24 hours and 00 minutes) then switch-off time will be set to 1440 *)

IF MD5  > 1440 THEN
MD5 := 1440;
END_IF;

  (* If the switch-on time is greater than the switch-off time, the switch-off time is set equal to the switch-on time.
     If both times are the same (e.g. 10:00 and 10:00) then no switching will actually take place *)

IF MD4 > MD5 THEN
MD5 := MD4;
END_IF;

  (* On-delay timer for text displays *)

T01 (
EN := TRUE,
RE := ,
ST := ,
I1 := T#3000ms,
I2 := ,
Q1 => ,
QV =>
);

  (* Display showing program and author name, version number and creation time at program start for 3 seconds *)

D01 (
  EN := NOT T01Q1,
  AI := ,
  Q1 => ,
  AO =>
);
 
  (* Display showing real time clock, day of the week selections, switch-on time, switch-off time and output status *)

D02 (
  EN := T01Q1,
  AI := ,
  Q1 => ,
  AO =>
);
 
(* End of the programme *)


« Letzte Änderung: März 16, 2024, 04:22:37 Vormittag von Andrus Saar »