HP-UX 11i 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.depot.gz in einem temporaeren Verzeichnis auspacken und mit "swinstall -s /HOPFntp.depot HOPFntp" installieren (z.B. "swinstall -s /tmp/HOPFntp.depot HOPFntp"). - Der Link /dev/hopfclock0 auf /dev/tty0p0 wird waehrend der Installation automatisch angelegt. Soll stattdessen die Uhr an einer anderen Schnittstelle angeschlossen werden, muss /dev/hopfclock0 auf das dementsprechende Device (z.B. /dev/tty1p0) verlinkt werden. - Nach Installation wird der NTP Daemon NICHT automatisch gestartet. Manuelles Starten und Stoppen ist mit dem script /sbin/init.d/ntpd moeglich ("/sbin/init.d/ntpd start" bzw. "/sbin/init.d/ntpd stop"). Soll der NTP Daemon bei einem Neustart des Systems automatisch gestartet werden, so muss in der Datei /etc/rc.config.d/netdaemons die Variable XNTPD auf 1 gesetzt werden. HINWEIS: Der mit dem System mitgelieferte XNTP Daemon wird nach der Installation der HOPF NTP Software nicht mehr genutzt. Ein gleichzeitiger Betrieb ist NICHT moeglich. 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 /opt/hopf/ntp/HOPFntp.log wird angelegt. Soll stattdessen mit dem Syslog mitprotokolliert werden, muss der Eintrag "logfile /opt/hopf/ntp/HOPFntp.log" in /etc/HOPFntp.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/ ------------------------------------------------------------------------------- HP-UX 11i Package for HOPF radio controlled clock systems w. 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.depot.gz into a temporary directory and use the swinstall command "swinstall -s /HOPFntp.depot HOPFntp" to install it (e.g. "swinstall -s /tmp/HOPFntp.depot HOPFntp"). - the necessary link /dev/hopfclock0 to /dev/tty0p0 will be created automatically by the installer. If the clock is connected to another serial interface, the link /dev/hopfclock0 must be linked to the used device (e.g. /dev/tty1p0). - after installation the NTP daemon is NOT started automatically. 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"). If the NTP Daemon has to be started automatically after reboot, set the environment variable XNTPD to 1 in the file /etc/rc.config.d/netdaemons. HINT: The XNTP daemon delivered with the base package of HP-UX 11i won't be used anymore after installation of the HOPF NTP software. Parallel use of both NTP daemons is NOT possible. 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 /opt/hopf/ntp/HOPFntp.log will be created. To utilize the syslog facility just erase or comment out the entry "logfile /opt/hopf/ntp/HOPFntp.log" in the NTP configuration file /etc/HOPFntp.conf. 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/