EditDT (FB)¶
FUNCTION_BLOCK EditDT
Kurzbeschreibung¶
Eingabe eines Datums und einer Uhrzeit im Format DATE_AND_TIME ( dt#2017-11-21-14:36:00 )Typische Anwendung: Festlegung eines Schaltzeitpunkts
Darstellung¶
Schnittstellen¶
Ausgänge¶
Name Datentyp Wertebereich Initialwert Funktion dtOut DATE_AND_TIME Ausgabewert im Format DATE_AND_TIME
Sollwerte / Parameter¶
Name Datentyp Wertebereich Initialwert Funktion dtSetPoint DATE_AND_TIME Eingabewert im Format DATE_AND_TIME
Funktionsbeschreibung¶
Allgemeines¶
Dieser Funktionsbaustein dient zur Übergabe eines Eingabewerts im Format DATE_AND_TIME dtSetPoint und die direkte Übertragung zum
Ausgabewert im Format DATE_AND_TIME dtOut.
Verhalten bei Spannungsausfall
Der Eingabewert im Format DATE_AND_TIME dtSetPoint wird spannungsausfallsicher gespeichert und automatisch wiederhergestellt.
Visualisierung¶
Information¶
Element Autoren Datum Version Anmerkungen Funktion Adam Bartod 09.2017 1.0 Ursprungsversion Programmierung Adam Bartod 09.2017 1.0 Ursprungsversion Test Jochen Reu 11.2017 1.0 Ursprungsversion Dokumentation Jochen Reu 11.2017 1.0 Ursprungsversion
Codesys¶
- InOut:
Scope Name Type Comment Input dtSetPoint DT Eingabewert im Format DATE_AND_TIME Output dtOut DT Ausgabewert im Format DATE_AND_TIME