TOP
SSV Software Systems Register  Register
Log in to check your private messages  Log in to check your private messages
Startseite FAQ Search Mitglieder Profile  Log in 
SSV Support-Forum
Datum/Uhrzeit einstellen …

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/5370
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
kdw



Joined: 05 May 2006
Posts: 1460

PostPosted: 16.06.2008, 13:40    Post subject: Datum/Uhrzeit einstellen … Reply with quote

Hallo Forum.

Die Uhr (RTC = Real Time Clock) des DNP/5370 lässt sich mit dem date-Befehl bedienen. Der Aufruf

date -s MMDDhhmmCCYY.ss

setzt die Uhrzeit mit den gewünschten Parametern. So setzt zum Beispiel

date -s 061613002008.00

die Systemzeit auf 16.06.2008 13:00 Uhr und 0 Sekunden Der Aufruf

date

ohne weitere Parameter gibt die aktuelle Uhrzeit und Datum aus.

Wenn eine 3V Lithium-Batterie am Vbat-Pin (Pin 36) angeschlossen wird, läuft die Uhr auch nach dem entfernen der DIL/NetPC-Versorgungsspannung weiter.

Gruß

KDW
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/5370 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV Software Systems GmbH

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2023 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015