Tru64 Paket fuer HOPF Industriefunkuhren mit serieller Schnittstelle ================================================================== Das Paket ist fuer HOPF Funkuhren mit serieller Schnittstelle vorkonfiguriert. Die Funkuhr muss einen Standard 6021 kompatiblen String mit Uhrzeit und Datum in UTC liefern. Installation ------------ - Die Datei HOPFntp_Tru64_40e.tar in einem temporaeren Verzeichnis auspacken und mit "setld -l HOPFntp" installieren. - Der Link /dev/hopfclock0 auf /dev/tty00 muss manuell angelegt werden. Soll stattdessen die Uhr an der Schnittstelle 1 angeschlossen werden muss /dev/hopfclock0 auf /dev/tty01 verlinkt werden. - Nach Installation und einem Neustart des Systems wird der NTP Daemon NICHT automatisch gestartet. Es befindet sich jedoch in /sbin/init.d das benoetigte Script ntpd, welches in das entsprechende Runlevel Startverzeichnis (/sbin/rc2.d oder /sbin/rc3.d) verlinkt werden muss. (z.B cd /sbin/rc3.d; ln -s ../init.d/ntpd S44ntpd) Manuelles Starten und Stoppen ist mit dem script /sbin/init.d/ntpd moeglich ("/sbin/init.d/ntpd start" bzw "/sbin/init.d/ntpd stop"). ACHTUNG! Es kann sich noch der zum System mitgelieferte xntpd auf dem System befinden. Ein gleichzeitiger Betrieb ist NICHT moeglich. Daher sollte entweder das entsprechende Paket entfernt werden oder XNTPD_CONF in rc.config auf "NO" gesetzt werden. Serielle Kommunikation ---------------------- 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! Logging ------- Ein Logfile /var/opt/HOPFntp/ntpd.log wird angelegt. Soll stattdessen mit dem Syslog mitprotokolliert werden, muss der Eintrag "logfile /var/opt/HOPFntp/ntpd.log" in ntp.conf auskommentiert oder geloescht werden. Anmerkungen zum korrekten Betrieb --------------------------------- - Damit der NTP daemon korrekt funktioniert, darf die Differenzzeit des Systems und der Funkuhr nicht groesser als 1000s sein! Eventuell mit date die Systemzeit anpassen und anschliessend den Daemon 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/ ------------------------------------------------------------------------------- Tru64 Package for HOPF radio controlled clock systems with a serial interface ============================================================================= This is a preconfigured package for HOPF radio controlled clock systems with a serial interface. The clock has to send a standard 6021 compatible string with time and date in UTC format. Installation ------------ - extract HOPFntp_Tru64_40e.tar into a temporary directory and install it using "setld -d HOPFntp". - the necessary link /dev/hopfclock0 to /dev/tty00 has to be created manually. To use serial interface 1 a link to /dev/tty01 has to be created. - after installation and reboot of the system the NTP daemon is NOT started automatically. The start/stop script ntpd can be found in /sbin/init.d and has to be linked to /sbin/rc2.d or /sbin/rc3.d for automatic start. To manually start and stop the daemon you have to call the script /etc/init.d/ntpd ("/sbin/init.d/ntpd start", "/sbin/init.d/ntpd stop"). ATTENTION! The preinstalled xntpd cannot be used parallel with ntpd. You have to ensure that xntpd will not be started (remove the package or disable start by setting XNTPD_CONF to "NO" in /etc/rc.config) Serial Communication -------------------- 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! Logging ------- A logfile /var/opt/HOPFntp/ntpd.log will be created. To utilize the syslog facility just erase or comment out the entry "logfile /var/opt/HOPFntp/ntpd.log" in the NTP configuration file. Comments for proper use of NTP ------------------------------ - the NTP daemon only works properly if the time difference between the system clock and the radio controlled clock is not greater than 1000 seconds! Set the system time if necessary before starting the daemon. 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/