Windows NTP Paket fuer HOPF Industriefunkuhren ============================================== Das Paket ist fuer HOPF Funkuhren mit serieller Schnittstelle und HOPF PCI-Karten vorkonfiguriert. 1) Installation =============== ntp-stable-4.2.0a-20060224-setup.exe ausfuehren und den Anweisungen des Installationsprogramms folgen. 2) Konfiguration ================ 2.1) HOPF Funkuhren ------------------- A) Verwendung mit HOPF Funkuhren mit serieller Schnittstelle ------------------------------------------------------------ - Serielle Kommunikation: Die Funkuhr muss einen Hopf 6021 kompatiblen String mit UTC-Zeit liefern. Die serielle Schnittstelle ist wie folgt zu konfigurieren: Uebertragungsparameter: 9600 Baud, 8 Datenbits, 1 Stopbit, keine Paritaet Datenstring: *) Hopf Standard 6021 *) Ausgabe jede Sekunde *) Zeitbasis: UTC *) mit Sekundenvorlauf *) Steuerzeichen ETX zum Sekundenwechsel mit Verzoegerung *) LF->CR Die Funkuhren werden ueblicherweise genau mit diesen Einstellungen ausgeliefert; falls bereits Aenderungen vorgenommen wurden, koennen diese entweder ueber die mitgelieferte Remotesoftware (z.B. Modelle 4465, 6870, 6875) oder ueber die Tastatur an der Frontblende (z.B. Modelle 6842, 6855) angepasst werden. ACHTUNG: Das Verbindungskabel sollte nur die RX und TX Leitungen verwenden! - Die Datei %WINDIR%\system32\drivers\etc\ntp.conf (z.B. C:\WINDOWS\SYSTEM32\drivers\etc\ntp.conf) muss dementsprechend angepasst werden - Standardmaessig wird die serielle Schnittstelle COM1 als Zeitquelle verwendet - falls eine andere Schnittstelle verwendet werden soll, so ist die Konfigurationsdatei zu aendern. B) Verwendung mit HOPF 6039 PCI Funkuhrenkarten ----------------------------------------------- - Bevor dieses NTP-Paket in Verbindung mit der Hopf 6039 PCI-Karte verwendet werden kann, muss das notwendige Treibermodul installiert sein, welches im Lieferumfang der Hopf 6039 enthalten ist. - Die Datei %WINDIR%\system32\drivers\etc\ntp.conf (z.B. C:\WINDOWS\SYSTEM32\drivers\etc\ntp.conf) muss dementsprechend angepasst werden. 2.2) Zusaetzliche Server ------------------------ Falls der Rechner nicht mittels Hopf-Uhr, sondern nur ueber Ethernet mit Zeit versorgt wird bzw. wenn zusaetzliche Zeitserver eingetragen werden sollen, so ist dies mittels server-Direktive moeglich, z.B. server 192.168.1.8 server timeserv.domain.com Diese Eintraege wuerden bedeuten, dass die Zeit von den Zeitservern 192.168.1.8 und timeserv.domain.com angefragt wird. 2.3) Logging ------------ Standardmaessig werden alle Meldungen im Eventlog protokolliert. Soll statt dessen in einer eigenen Datei mitprotokolliert werden, muss ein dementsprechender Eintrag in ntp.conf erfolgen, z.B: logconfig =syncall +clockall logfile C:\\logs\\ntpd.log 2.4) Driftfile -------------- Die Standardkonfiguration enthaelt einen Eintrag, der den Pfad des Driftfiles angibt. Das Mitfuehren eines Driftfiles ist zu empfehlen, das Verzeichnis muss allerdings existieren und der Service muss dementsprechende Schreibrechte auf die Datei erhalten. 2.5) Zusaetzliche Konfigurationsoptionen ---------------------------------------- Es gibt zahlreiche moegliche Konfigurationsoptionen (Restrictions, Authentication, etc.), die standardmaessig nicht in der Konfiguration enthalten sind. Details zu den moeglichen Optionen sind der NTP-Dokumentation zu entnehmen. 3) Inbetriebnahme ================= Der NTP-Service wird standardmaessig nach einem Systemstart automatisch gestartet. In dem Paket sind Monitoring- bzw. Hilfstools der NTP-Distribution enthalten (ntpdate, ntpdc, ntp-keygen, ntpq), welche sich im Installationsverzeichnis befinden. Details zur Verwendung entnehmen Sie bitte der NTP Dokumentation. Anmerkungen zum korrekten Betrieb --------------------------------- Damit der NTP-Service korrekt funktioniert, darf die Differenzzeit des Systems und der Funkuhr nicht groesser als 1000s sein! Eventuell die Systemzeit anpassen und anschliessend den Service neu starten. Bei Fragen oder Installationsproblemen wenden Sie sich bitte an unser Support-Team unter der eMail-Adresse: support-hopf@rdcs.at Aktualisierte Versionen erhalten Sie auf unserer WWW-Seite: http://www.rdcs.at/ ------------------------------------------------------------------------------- Windows NTP package for HOPF radio controlled clock systems =========================================================== This package is preconfigured for Hopf radio controlled clock systems with a serial interface and Hopf PCI cards. 1) Installation =============== Run ntp-stable-4.2.0a-20060224-setup.exe and follow the instructions of the installation program. 2) Configuration ================ 2.1) HOPF radio controlled clocks --------------------------------- A) Using a Hopf radio controlled clock with a serial interface -------------------------------------------------------------- - Serial Communication: The clock system has to send a Hopf 6021 compatible string with UTC time. The serial interface has to be configured as follows: Communication parameters: 9600 bauds, 8 data bits, 1 stop bit, no parity Data string: *) Hopf Standard 6021 string *) transmission every second *) timebase: UTC *) with second forerun enabled *) Control Character ETX on second change with string delay *) LF->CR The radio controlled clocks are usually shipped with the required configuration. If already changes have been made, configuration can be done using the shipped remote software (e.g. models 4465, 6870, 6875) or the keypad at the front panel (e.g. models 6842, 6855). ATTENTION: You have to use a serial cable with only RX and TX connected! - the file %WINDIR%\system32\drivers\etc\ntp.conf (z.B. C:\WINDOWS\SYSTEM32\drivers\etc\ntp.conf) has to be adapted accordingly - the default serial port used for synchronization is COM1 - if you want to change the serial port where the external clock is connected to, modify the configuration file B) Using a Hopf 6039 PCI card ----------------------------- - before this NTP package can be used in conjunction with the Hopf 6039 PCI card, the necessary driver has to be installed which is shipped together with the PCI card. - the file %WINDIR%\system32\drivers\etc\ntp.conf (z.B. C:\WINDOWS\SYSTEM32\drivers\etc\ntp.conf) has to be adapted accordingly 2.2) Additional Servers ----------------------- If the computer has to be synchronized via Ethernet or if additional servers have to be specified, the server configuration parameter can be used, e.g. server 192.168.1.8 server timeserv.domain.com These entries would mean that time would be retrieved from the NTP time servers 192.168.1.8 and timeserv.domain.com. 2.3) Logging ------------ All messages are logged to syslog per default. If ntpd should log to a particular file, ntp.conf has to be modified accordingly, e.g. logconfig =syncall +clockall logfile C:\\logs\\ntpd.log 2.4) Drift file --------------- The standard configuration includes a driftfile configuration parameter which is recommended. The directory of the drift file must exist and the service needs the corresponding write rights to the file. 2.5) Additional Configuration Options ------------------------------------- NTP supports much more configuration options than specified in the default ntp.conf (e.g. Restrictions, Authentication, etc.). Please consult the NTP documentation for possible additional options. 3) Operation ============ The ntp daemon is started automatically after reboot. This package contains some monitoring/helper tools of the standard NTP distribution (ntpdate, ntpdc, ntp-keygen, ntpq). Please consult the NTP documentation for detailed usage information. Comments for proper use of NTP ------------------------------ The NTP service only works properly if the time difference between the system clock and the radio controlled clock is not greater then 1000 seconds! Set the system time if necessary before starting the service. If you do have any questions or encounter any installation troubles please feel free to contact our support team using the following e-mail address: support-hopf@rdcs.at You also can get new versions on our WWW site: http://www.rdcs.at/