Autor Thema: real time clock  (Gelesen 487 mal)

Offline srd

  • Jr. Member
  • **
  • Beiträge: 97
real time clock
« am: August 04, 2023, 14:48:20 Nachmittag »
Anybody got an example in ladder diagram (LD) for using a real time clock and changing the parameters on  D - text display. Cheers

Offline Juergen

  • easy god
  • *****
  • Beiträge: 1950
  • Jürgen
Antw:real time clock
« Antwort #1 am: August 04, 2023, 16:17:04 Nachmittag »
Hello, try this example.

Time display to turn on Q1
Only hours and minutes are queried in this example.

Change time with Alt key on display.
Adjust with the arrow keys.
Confirm with OK

It will turn on at the time on the display.
When the hour changes, it turns off

Edit Version delete
« Letzte Änderung: August 04, 2023, 22:33:24 Nachmittag von Juergen »
Mit freundlichem Gruß Juergen


Alle Programme sind nur Beispiele und Selber zu Testen.
Geprüft wurde nur in der Simulation der Software oder mit Simulator am Schreibtisch. Die Beispiele sind mit Sicherheitsschaltungen zu ergänzen.

Offline Juergen

  • easy god
  • *****
  • Beiträge: 1950
  • Jürgen
Antw:real time clock
« Antwort #2 am: August 04, 2023, 22:32:31 Nachmittag »
Hello,

New version.
Current time and date in the display
Q1 status in the display
Reset Q1 with DEL button


Videolink
https://youtu.be/-tytItkLEuw
Time setting video.
Wait for the minute to expire.
Only then can the switching state on of Q1 and the switching off be seen.
« Letzte Änderung: August 05, 2023, 06:45:03 Vormittag von Juergen »
Mit freundlichem Gruß Juergen


Alle Programme sind nur Beispiele und Selber zu Testen.
Geprüft wurde nur in der Simulation der Software oder mit Simulator am Schreibtisch. Die Beispiele sind mit Sicherheitsschaltungen zu ergänzen.