EMC Professional - Gude Analog
EMC Professional - Gude Analog
EMC Professional - Gude Analog
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>EMC</strong> <strong>Professional</strong><br />
DCF77 radio clock<br />
for Industrial Applications<br />
Manual
Manual <strong>EMC</strong> <strong>Professional</strong><br />
TABLE OF CONTENTS<br />
1 Description ..........................................................................3<br />
2 Hardware..............................................................................4<br />
2.1 Scope of delivery................................................................................ 4<br />
2.2 Connection and starting ..................................................................... 4<br />
2.3 Display................................................................................................ 5<br />
2.4 Antenna pointing................................................................................. 7<br />
3 Software...............................................................................9<br />
3.1 General............................................................................................... 9<br />
3.2 Usage under Windows 95/98/ME/2000/NT/XP .................................. 9<br />
3.2.1 Installation of the Software.......................................................... 9<br />
3.2.2 Windows Software .................................................................... 10<br />
3.2.2.1 Settings......................................................................................... 10<br />
3.2.2.2 Software window .......................................................................... 11<br />
3.2.3 Logmode ................................................................................... 12<br />
3.3 Operation under Linux/Unix.............................................................. 14<br />
3.3.1 NTP Installation......................................................................... 14<br />
3.3.2 NTP Configuration..................................................................... 15<br />
3.3.3 Start NTP .................................................................................. 15<br />
3.3.4 NTP Status................................................................................ 16<br />
3.4 Operation under DOS und Windows 3.x .......................................... 18<br />
4 Configuration ....................................................................20<br />
4.1 General............................................................................................. 20<br />
4.2 Overview........................................................................................... 21<br />
4.3 Time Protocol ................................................................................... 21<br />
4.3.1 Protocol with XNTP Configuration ........................................... 21<br />
4.3.2 Protocol with <strong>Gude</strong> configuration .............................................. 22<br />
5 Firmware ............................................................................23<br />
6 Support ..............................................................................24<br />
2 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
1 Description<br />
The PTB in Braunschweig (Germany) runs one of the most accurate atomic<br />
clocks in the world. It deviates less than one second in 300 000 years. Time<br />
and date are transmitted by the "DCF77" transmitter near Frankfurt/Main<br />
(Germany) at a frequency of 77.5 kHz.<br />
The signal can be received over a distance of about 2000km.<br />
<strong>EMC</strong> <strong>Professional</strong> receives the signal via the ferrite antenna and decodes<br />
time and date. Depending on the configuration UTC or MEZ/MESZ time<br />
information will be transferred to the PC once per minute or once per<br />
second (see also 4 Configuration, p. 20).<br />
<strong>EMC</strong> <strong>Professional</strong> was developed for the use in an electromagnetic<br />
disturbed environment. Therefore it is equipped with special receiving<br />
electronics:<br />
PLL-Receiver<br />
4 Quarzes<br />
Interfrequency<br />
A/D-Conversion<br />
Digital Filter<br />
Signal Intensity Display<br />
Signal monitor with LEDs<br />
Fuzzy-Logik Evaluation<br />
If the time signal is too weak or if it can not be received at all <strong>EMC</strong><br />
<strong>Professional</strong> switches automatically to the integrated quarz clock. As soon<br />
as the receive is good enough, <strong>EMC</strong> <strong>Professional</strong> switches back to radio<br />
controlled mode. That means the PC is synchronized continuously.<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 3
Manual <strong>EMC</strong> <strong>Professional</strong><br />
2 Hardware<br />
2.1 Scope of delivery<br />
Included in delivery:<br />
Receiver<br />
Power Supply unit (with tabletop unit) and cable for non-heating<br />
apparatus (with 19’’ version) respectively.<br />
serial cable<br />
Adapter (RS232 9pol. to RS232 25pol.)<br />
Manual<br />
CD-ROM with software<br />
Ferrite antenna (only with <strong>EMC</strong> <strong>Professional</strong> Set)<br />
2.2 Connection and starting<br />
Connect the antenna and the power supply or cable to <strong>EMC</strong> <strong>Professional</strong>.<br />
Then connect the receiver to a serial port of the PC.<br />
Power supply unit<br />
PC with serial ports<br />
Connection of <strong>EMC</strong> <strong>Professional</strong><br />
Ferrite antenna<br />
4 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
2.3 Display<br />
After power on the current configuration is displayed for some seconds at<br />
the LC-Display (see also 4 Configurations, p.20). Afterwards the receiver<br />
switches to the mode Check. In this mode the received signal is converted<br />
into the time information. The current second, the evaluated bit of the<br />
preceeding second ("0", "1", "?" or "S" for the 59th Sync-Bit) and the<br />
calculated correlation value are displayed. A negative correlation value is<br />
evaluated as "0", a positive as "1". The correlation value should be either<br />
extremly low (-200) or extremly high (+200). Minor values mean a lower<br />
quality of the received signal, but by evaluating several succeeding minutes<br />
the time signal can be decoded.<br />
The field intensity is displayed in the bottom line of the LC-Display. Values<br />
higher than 1.9 are sufficient for receiving the time signal. A value of 4.0 or<br />
higher means a very high quality of the received signal. (There are some<br />
cases in which disturbances can cause a high filed intensity, please see<br />
also Tips for good receive, p. 8).<br />
After about 2 minutes the signal should be received regularly. After another<br />
minute <strong>EMC</strong> <strong>Professional</strong> switches to the next mode. At the display the<br />
following values are shown:<br />
Sek: Fehler: Puffer: FS=<br />
Sek: counts seconds from 0 up to 59 and shows the received time. In<br />
case of bad receive the counter starts again with 0.<br />
Fehler: (Errors) is the number of incorrect bits. According to the<br />
following scheme it is decided wether a time information is valid or not.<br />
Minutes in Puffer 1 2 3 4 5 6 7 8 9 10<br />
Incorrect bits 0 0 5 10 15 20 25 30 35 40<br />
That means the time is seen as valid if less than x incorrect bits are in<br />
the buffer after y minutes. In case of more incorrect bits <strong>EMC</strong><br />
<strong>Professional</strong> switches to quarz mode.<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 5
Manual <strong>EMC</strong> <strong>Professional</strong><br />
Example:<br />
After 3 minutes 4 incorrect bits are in the buffer. The received time is<br />
seen as valid. After 8 minutes 32 incorrect bits are in the buffer. The<br />
received time is seen as invalid and <strong>EMC</strong> <strong>Professional</strong> switches to<br />
quarz mode.<br />
Puffer: starts with 01 and shows how many minutes are stored in the<br />
internal buffer. Up to 10 minutes can be stored and used for evaluation.<br />
FS: is the field intensity. The displayed value should be greater than 1.9.<br />
A value of about 3.0 or greater indicates a good quality of the received<br />
signal. In case of resonance the value can be up to 7.0, but this is not<br />
critical.<br />
When the quality of the received signal is good the display changes to<br />
ok F=xx (xx is the number of incorrect bits in the buffer).<br />
From now on the time protocol is transmitted to the serial interface once a<br />
minute or once a second, depending on the configuration (see also 4 Configuration,<br />
p.20). If the number of incorrect bits exceeds the allowed<br />
maximum (see scheme on the left side) <strong>EMC</strong> <strong>Professional</strong> switches to the<br />
integrated quarz clock. (Usually the last 10 minutes are in the buffer, so the<br />
allowed number of incorrect bits is 40.)<br />
Note: If the received day of week does not fit to the received date the error<br />
number is set to 99.<br />
If more than 40 errors are in the buffer after 10 minutes, <strong>EMC</strong> <strong>Professional</strong><br />
reboots automatically.<br />
6 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
2.4 Antenna pointing<br />
The quality of the time signal depends on the local environment. Mountains<br />
and reinforced concrete buildings weaken the signal and electrical devices<br />
like monitors may disturb it.<br />
To make a regular receive possible even in an electromagnetic disturbed<br />
environment <strong>EMC</strong> <strong>Professional</strong> is equipped with a high quality receiver<br />
electronic.<br />
After the receiver has been switched on it takes about 5 seconds (up to 60<br />
seconds if the signal is very weak) until the time signalfrequency is<br />
adjusted. (During thunder the DCF77 transmitter near Frankfurt in Germany<br />
may be turned off.)<br />
After changing the antenna’s position it takes about 4 seconds until the<br />
value is updated.<br />
To improve the receive please note the following tips:<br />
the antenna should not be placed<br />
near metal or other magnetical<br />
conducting materials.<br />
the antenna should be placed near<br />
a window or outside (for example<br />
in case of reinforced concrete<br />
buildings)<br />
the antenna should not be aligned<br />
parallel to telephone circuits<br />
the antenna should be aligned<br />
horizontally (see pictue)<br />
Disturbances can either be exactly<br />
at 77,5 kHz or be impulse disturbances<br />
with parts at 77,5 kHz.<br />
The signal spreads out circularly from<br />
the transmitter in Mainflingen near<br />
Frankfurt. Therefore the receive is best<br />
if the antenna is aligned horizontally.<br />
That means the antenna should not<br />
point to Frankfurt but lie sideways to it.<br />
Please check the horizontal refreshrate of the monitor. It may not be<br />
about 77 kHz.<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 7
Manual <strong>EMC</strong> <strong>Professional</strong><br />
In case of good receive the signal monitor display is in the upper third and<br />
falls down in the lower third for a short time once a second. The "V.24" LED<br />
of the <strong>EMC</strong> should blink yellow every second or once a minute depending<br />
on the configuration (see also 4 Configuration, p.20). The "Takt" (metre)<br />
signal should blink red every second and the "Funkzeit" (radiotime) signal<br />
should be continuously green. The field intensity, which is displayed in the<br />
bottom line of the display, should be greater than 1.9. A good position is<br />
found if the field intensity is 3.0 or greater.<br />
8 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
3 Software<br />
3.1 General<br />
Software for DOS und Windows 3.x/95/98/ ME/NT/2000/XP is included.<br />
With Firmware 4.0 and higher <strong>EMC</strong> <strong>Professional</strong> can be used under<br />
Unix/Linux with the free available XNTP package (see also 5 Firmware,<br />
p.23).<br />
Software for Novell Netware is available on request.<br />
3.2 Usage under Windows 95/98/ME/2000/NT/XP<br />
3.2.1 Installation of the Software<br />
<strong>EMC</strong> <strong>Professional</strong> is delivered with software, which is suitable for all WIN32<br />
versions. The software runs on Windows NT/2000/XP systems the same<br />
way it runs on Windows 95/98/ME systems, which means it is not able to be<br />
started as NT Service.<br />
If the installation program does not start automatically start the program<br />
SETUP.EXE manually. After installation W32<strong>EMC</strong>.EXE can be started. After<br />
having chosen the ComPort <strong>EMC</strong> <strong>Professional</strong> is connected to the PC’s<br />
time is synchronised regularly.<br />
In Networks the software has to be installed at the PC <strong>EMC</strong> <strong>Professional</strong><br />
is connected to. Workstations can get the time from this Windows host<br />
by using the command line tool net time (net time \\server_name<br />
/set /yes) or by using the integrated NTP time service of Windows<br />
NT/2000/XP (more informationen can be found at our website).<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 9
Manual <strong>EMC</strong> <strong>Professional</strong><br />
3.2.2 Windows Software<br />
3.2.2.1 Settings<br />
The following settings can be modified:<br />
• COM-Port: All available Com-Ports are shown here. Select the<br />
Com-Port the receiver is connected to.<br />
• Colors: Here colors for the program components can be chosen.<br />
This is helpful e.g. when using notebooks.<br />
• max. offset: If this option is enabled your PC system time will only<br />
be adjusted when the difference between system time and received<br />
time is less than 90 minutes. This option should only be used when<br />
the receive is very bad. Please read also the information in the<br />
online help.<br />
• Language: The program language can be chosen here.<br />
• Sync-Frequenz: The interval in which the software should read<br />
data from the Com-Port and adjust the system time can be<br />
configured here. The interval should not be too small to avoid<br />
unneccessary processor load. The interval of “V.24 transmission”<br />
depends on the configuration (see also 4 Configuration, p.20)<br />
• Time shift: A time shift in hours can be entered here.<br />
• Speichern: Stores the current settings.<br />
3.2.2.2 Restart..<br />
If the transmission frequency of the device was changed during runtime of<br />
W3<strong>EMC</strong>.EXE, this command restarts the detection of the <strong>EMC</strong> <strong>Professional</strong>.<br />
That can last up to 3 minutes in case of minute-by-minute transmission (see<br />
also 4 Configuration, p.20). The same effect can be achieved by restarting<br />
the software.<br />
10 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
3.2.2.3 Software window<br />
DCF77-State<br />
System time: Day of week, date and local time of the PC are displayed in<br />
this field.<br />
Last received: The last valid DCF77 time that was received is displayed<br />
here. (Time of the last synchronisation).<br />
Operating mode: The operating mode of the <strong>EMC</strong> <strong>Professional</strong> is<br />
displayed here ("Quarz Mode" or "Radio Mode").<br />
"Radio Mode" means that the <strong>EMC</strong> <strong>Professional</strong> can receive valid DCF77time<br />
signals.<br />
"Quartz Mode" means that the<br />
receiver can not receive the<br />
DCF77 time signal or that the<br />
received signal has too many<br />
bit errors. Please improve the<br />
adjustment of the antenna if<br />
the receiver is running in<br />
"Quarz Mode" very often (see<br />
also page 8).<br />
Incorrect Bits: Number of incorrect<br />
bits. <strong>EMC</strong> <strong>Professional</strong><br />
switches to "Quarz Mode" if<br />
more than 40 bit errors occur<br />
during 10 minutes. As soon as<br />
the number of incorrect bits is<br />
less than 40 <strong>EMC</strong> <strong>Professional</strong><br />
switches back.<br />
The Windows software W32<strong>EMC</strong>.exe.<br />
Announcements:<br />
Announcements of the DCF77 time transmitter are displayed here. (E.g. the<br />
announcement of leap seconds, daylight saving time change etc.)<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 11
Manual <strong>EMC</strong> <strong>Professional</strong><br />
V.24<br />
V.24 State: State of the data transmission on the serial interface<br />
(ComPort):<br />
"active": The time protocol can be received and the system time is<br />
adjusted. If there is no addition like "active in ... seconds" time is<br />
synchronised every second or every minute depending on the<br />
configuration (see also 4 Configuration)<br />
"no receive!": No signal can be received at the selected ComPort.<br />
Please check whether the correct ComPort is selected and the connection<br />
between <strong>EMC</strong> and PC is allright.<br />
Attention! When using <strong>Gude</strong>60s, <strong>Gude</strong>UTC60s or XNTP configuration<br />
"No receive" will also be displayed between the synchronisations (once<br />
a minute (see also 4 Configuration).<br />
"No ComPort selected": No ComPort has been selected yet. Please<br />
choose Settings| Com Port and select the Com-Port the receiver is<br />
connected to.<br />
Interface: The number of the selected ComPort.<br />
Log: The last time protocol received is displayed as ASCII string in this field<br />
(see also 4.3 Time protocol, p.21).<br />
3.2.3 Logmode<br />
With the software of <strong>EMC</strong> <strong>Professional</strong> it is possible to log the received time<br />
infomation and error messages. That can be important e.g. to find causes<br />
of bad receive. To run <strong>EMC</strong> <strong>Professional</strong> in log mode the command line tool<br />
"-l" has to be used.<br />
For example: c:\programme\<strong>EMC</strong>prof>w32emc –l<br />
When <strong>EMC</strong> <strong>Professional</strong> is running in log mode "-l" is displayed in the<br />
upper line of the software window.<br />
12 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
When runnig <strong>EMC</strong> <strong>Professional</strong> in log mode the time protocol is written into<br />
the file logfile.emc. The log file is located in the same directory like the<br />
software W32<strong>EMC</strong>.EXE.<br />
Example logfile:<br />
************************************************************************************<br />
* (c) <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme<br />
* support@gudeads.com<br />
*<br />
* LogFile Win<strong>EMC</strong> v2.3.12<br />
*<br />
General information<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Logging startet : Fr, 03.12.2004; 13:47<br />
current TimeZone : Westeuropäische Normalzeit<br />
HostName : Server1<br />
Number of CPUs : 1<br />
CPU type : Pentium II<br />
OS Info : Windows 2000 (8), Version 5.0<br />
Build : 2195<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
16914000 : receiving ...<br />
16914000 : TimeShift set to 0 h<br />
16914000 : Sync Frequency set to 0 min.<br />
16914000 : maximum allowed difference from DCF to Systemtime : 90<br />
16914000 : Language set to German!<br />
16914625 : D6<br />
16915625 : D7<br />
16916625 : D8<br />
16917625 : D9<br />
16918718 : W32<strong>EMC</strong>.EXE is going to exit!<br />
„F“ in the middle means that <strong>EMC</strong> <strong>Professional</strong> is operating in radio mode.<br />
When <strong>EMC</strong> <strong>Professional</strong> is operating in quarz mode a „Q“ could be seen<br />
here. The exact meaning of a row can be found under 4.3.2 Time protocol<br />
with <strong>Gude</strong> Configurations, p.22.<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 13
Manual <strong>EMC</strong> <strong>Professional</strong><br />
3.3 Operation under Linux/Unix<br />
<strong>EMC</strong> <strong>Professional</strong> with Firmware 4.0 and higher can be used under<br />
Linux/Unix with the free available XNTP package (see also 5 Firmware,<br />
p.23). NTP means Network TimeProtocol. It is used to synchronise<br />
workstations over TCP/IP with each other. This information can be used<br />
with a client program which synchronises the PC’s clock with the servers<br />
time. Windows 2000 and Windows XP can be installed as NTP client/server<br />
without additional software.<br />
The TCP or UDP port 123 is used for the transmission. With XNTP it is<br />
possible to built up your own NTP server which polls <strong>EMC</strong> <strong>Professional</strong> at<br />
the ComPort and provides the time and date information in the network.<br />
3.3.1 NTP Installation<br />
The free available XNTP is delivered with most of the Linux distributions.<br />
Unfortunately the needed drivers (Reference Clock Drivers) are missing<br />
mostly and XNTP will not work properly. Therefore we recommend to install<br />
the latest version (free available in the internet).<br />
The installation of a RPM is done with the "RedHat Package Managers":<br />
rpm -i xntp.rpm<br />
If you only have the source package the XNTP Daemon must be compiled<br />
first. Uncompress the TGZ package with:<br />
gzip -d ntp-4.2.0.tar.gz && tar -xvf ntp-4.2.0.tar<br />
and change in the new directory created by tar. Build a Makefile with the<br />
command:<br />
./configure --enable-HOPF6021<br />
the sources can be compiled with:<br />
make<br />
to install the Binaries enter:<br />
make install<br />
After successful installation NTP can be configured.<br />
14 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
3.3.2 NTP Configuration<br />
Connect <strong>EMC</strong> <strong>Professional</strong> to a free serial ComPort. Create a symbolic link<br />
/dev/refclock-0 which links to the port <strong>EMC</strong> <strong>Professional</strong> is connected<br />
to. If it is connected to Com2, /dev/refclock-0 must be linked to<br />
/dev/ttyS1:<br />
ln -s /dev/ttyS1 /dev/refclock-0<br />
Now /etc/ntp.conf has to be set to the correct driver module. Here a<br />
sufficient config:<br />
server 127.127.8.0 prefer mode 12<br />
logfile /var/log/ntp<br />
logconfig =all<br />
driftfile /var/log/ntp.drift<br />
That means NTP gets the time info from driver 12 of the group 8 (RAW<br />
DCF). For testing purposes you can choose the server 127.127.1.0, which<br />
stands for the host's local clock.<br />
3.3.3 Start NTP<br />
The XNTP Daemon /usr/local/bin/ntpd can be started like any other<br />
Binary. Suse Distribution provides an automatical XNTP start with the help<br />
of the configuration tool YAST.<br />
To configure starting of XNTP manually the script xntpd should be available<br />
in the directory /etc/rc.d/init.d. This is used to start and stop the<br />
Daemon /etc/rc.d/init.d/xntpd start or /etc/init.d/xntpd<br />
start and /etc/rc.d/init.d/xntpd stop or /etc/init.d/xntpd<br />
stop.<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 15
Manual <strong>EMC</strong> <strong>Professional</strong><br />
After a successful synchronisation the following logfile entries will appear:<br />
ntpd[1103]: PARSE receiver #0: packet format "hopf Funkuhr 6021"<br />
ntpd[1103]: PARSE receiver #0: STATE CHANGE: -> TIME CODE<br />
ntpd[1103]: PARSE receiver #0: SYNCHRONIZED<br />
ntpd[1103]: clock GENERIC(0) event 'clk_okay' (0x00)<br />
....................................<br />
ntpd[1103]: time reset -0.745079 s<br />
The Linux PC’s CMOS clock is now synchronised with the received time<br />
signal. With client programs on the workstations the Linux PC can now be<br />
used as NTP server in the LAN.<br />
3.3.4 NTP Status<br />
The status of a running xntp server can be requested by using the shell<br />
command ntpq. To get an exact status of the receiving quality you have to<br />
use the program ntpq (ntpq -c clocklist):<br />
status=0000 clk_okay, last_clk_okay,<br />
device="HOPF 6021",<br />
timecode="\x02\x0c\x09150700070703\x0a\x0d\x03",<br />
poll=2, noreply=0, badformat=0, baddata=0, fudgetime1=0.000,<br />
fudgetime2=0.000, stratum=0, refid=DCF, flags=0,<br />
refclock_time="c2b40b14.00000000 Mon, Jul 7 2003 15:07:00.000<br />
UTC",<br />
refclock_status="TIME CODE", refclock_format="hopf Funkuhr 6021",<br />
refclock_states="*NOMINAL: 00:30:41 (94.46%); NO RESPONSE:<br />
00:01:48 (5.54%);<br />
In this example the clock receives at high quality for about 30 minutes at a<br />
total running time of about 32 minutes. This corresponds to 94.46%.<br />
16 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
ntpq -c peers localhost<br />
With the command peers the active reference clocks will be indicated line<br />
by line in a table. A star "*" in front of a line indicates that this peer is the<br />
current time reference:<br />
remote refid st t when poll reach delay offset jitter<br />
==================================================================<br />
GENERIC(0) .DCF. 0 l 5 64 1 0.000 22.846 0.008<br />
• remote listing of all available time servers (ntp.conf)<br />
• refid reference number<br />
• when when the last request has taken place (in seconds)<br />
• poll interval in which the time server is queried<br />
• offset difference between system time and reference time (in<br />
milliseconds)<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 17
Manual <strong>EMC</strong> <strong>Professional</strong><br />
3.4 Operation under DOS und Windows 3.x<br />
The software DCFTSR.COM is located in the directory dos_win3 of the CD<br />
ROM. Copy this file to the PC the <strong>EMC</strong> <strong>Professional</strong> is connected to.<br />
The program has the following options:<br />
/2 The serial port COM2 (I/O address 2F8h, IRQ 3) is used. If this<br />
option is left out the software uses COM1 (I/O address 3F8h, IRQ<br />
4).<br />
Hint: Other I/O addresses and interrupts can be used by<br />
patching the driver DCFTSR.COM. This should only be done by<br />
advanced users. The I/O address is in the 4th byte (LSB) and 5th<br />
byte (HSB), the interrupt in the 6th byte (allowed IRQs are 2..7).<br />
After patching the driver the option /2 must not be used.<br />
/H The driver gets active only once an hour. Without this option the<br />
driver synchronizes the PCs time and date every minute or<br />
second (depending on the configuration).<br />
/N The time of up to 8 fileservers in a Novell Netware network is<br />
additionally synchronised with the received time signal. The PC<br />
must have a connection to the servers.<br />
Hint: A LOGIN connection exists to one server only. To all other<br />
servers an ATTACH connection is required. ATTACH connections<br />
are defined either in the LOGIN script of the system or the<br />
user. The Netware command WHOAMI gives information about all<br />
servers to which a connection exists. SLIST shows all servers<br />
available in the network.<br />
The user must have CONSOLE operation rights on all the<br />
servers. The driver software itself prohibits the abuse of the<br />
extended right if it is loaded. If a user should have CONSOLE<br />
opration rights after the driver has been loaded the option "/ C" is<br />
required. A message is displayed on the server if the time has<br />
been set. This message is supressed if both the old and new time<br />
are the same.<br />
/W No switching from normal time to daylight time. This option is<br />
neccessary if a time base like the UTC is required.<br />
18 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
/+xx Adds/Substracts xx hours (maximum 22) to the received time.<br />
/+01 adds 1 hour, /-01 subtracts 1 hour.<br />
Add the driver to your AUTOEXEC.BAT file:<br />
[Drive:][Path]DCFTSR.COM /H /W /-01<br />
activates the driver on COM1, IRQ4. The time is updated once an hour.<br />
Switching from normal time to daylight time is suspended. One hour is<br />
substracted from the received time. The driver stays active after starting<br />
Windows 3.x and synchronises regularly the PCs time and date with the<br />
received signal.<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 19
Manual <strong>EMC</strong> <strong>Professional</strong><br />
4 Configuration<br />
4.1 General<br />
The configuration determines the synchronisation interval (once per second<br />
or once per minute) and the kind of time information (MES/MESZ or UTC).<br />
When starting <strong>EMC</strong> <strong>Professional</strong> the current configuration is shown at the<br />
display. “<strong>Gude</strong>” is the default configuration.<br />
To change the configuration the switch setting must be changed. An<br />
overview of the different configurations and switch settings is on the<br />
opposite site.<br />
20 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
4.2 Overview<br />
Configuration: <strong>Gude</strong> <strong>Gude</strong>60s <strong>Gude</strong>-<br />
UTC<br />
Operating<br />
system:<br />
DOS, Windows, Novell Netware<br />
<strong>Gude</strong>-<br />
UTC60s<br />
Parameter: 9600 Baud, 8 Bit, no Parity, 1 Stop bit<br />
Transferred time: MEZ / MESZ UTC<br />
Transfer intervall<br />
at the serial port:<br />
Switch:<br />
4.3 Time Protocol<br />
Once a<br />
second<br />
Once a<br />
minute<br />
4.3.1 Protocol with XNTP Configuration<br />
(STX)(C)(B)(time)(date)(LF)(CR)(ETX)<br />
Once a<br />
second<br />
XNTP<br />
Linux,<br />
Unix<br />
Once a minute<br />
8421 (C) 8421 (B)<br />
xxx0 no Announcements 1xxx UTC<br />
xxx1 announcement (NT-DT-NT) x001 Monday<br />
xx0x normal time (NT) x010 Tuesday<br />
xx1x daylight saving time (DT) x011 Wednesday<br />
00xx time/date invalid x100 Thursday<br />
01xx quarz mode x101 Friday<br />
10xx radio mode x110 Saturday<br />
11xx high precision radio mode x111 Sunday<br />
(Time): HHMMSS, e.g. 094048 09.40 Uhr and 48 sec.<br />
(Date): DDMMJJ, e.g. 311299 31.12.1999<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 21
Manual <strong>EMC</strong> <strong>Professional</strong><br />
4.3.2 Protocol with <strong>Gude</strong> configuration<br />
PP<br />
< start charakter<br />
hh hour<br />
mm minute<br />
TT day<br />
MM month<br />
YY year<br />
W day of week (1=monday, 7=sunday)<br />
Z mode (F=radio mode, Q=quartz mode)<br />
FF number of incorrect bits (while <strong>EMC</strong> is in quartz mode always 00, in<br />
radio mode max. 40)<br />
S daylight saving time (1=summer, 0=winter)<br />
U announcement of switching between daylight saving time and normal<br />
time the hour before (0 / 1)<br />
A announcement of a switching second one hour before (0 / 1)<br />
000 reserved, presently 0<br />
KK seconds<br />
> end character<br />
PP checksum over all characters including “”, in hexadecimal<br />
notation<br />
Beispiel: D4<br />
11.41 Uhr; 12.04.2005; So; Funkbetrieb, 0 Fehler, Sommerzeit<br />
Depending on the configuration the time information is MEZ / MESZ or<br />
UTC.<br />
The message is followed by a CR (Code 13) and LF (Code 10). A<br />
transmission protocol is not active. The PC must be able to read the 28<br />
bytes data without interruption. This is usually no problem if the IRQ of the<br />
serial interface is used.<br />
22 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme
<strong>EMC</strong> <strong>Professional</strong> Manual<br />
5 Firmware<br />
<strong>EMC</strong> <strong>Professional</strong>’s case must be opened to change the firmware. The<br />
electronic components inside (including the EEPROM) are electrostatic<br />
sensitive devices. Therfore the firmware ought to be changed by qualified<br />
persons only. Please notice that we do not admit warranty for any harms<br />
due to improper use.<br />
Turn off <strong>EMC</strong> <strong>Professional</strong> first. If<br />
<strong>EMC</strong> <strong>Professional</strong> is connected to<br />
any other electrical device this<br />
device must be turned off as well.<br />
Afterwards the serial cable should<br />
be disconnected. The top of <strong>EMC</strong><br />
<strong>Professional</strong>’s case is fixed with screws to its front and back side. Unscrew<br />
them and open the top of the case (see figure above).<br />
The Eeprom is located at the<br />
board’s upper right corner<br />
(see figure). Take the old<br />
EEPROM out of the socket<br />
and insert the new one. Mind<br />
the correct position of the<br />
notch in the EEPROMs case.<br />
Caution! The pins of the<br />
EEPROM can easily be<br />
broken. Close the case and<br />
connect <strong>EMC</strong> <strong>Professional</strong> to<br />
the PC again. When starting<br />
<strong>EMC</strong> <strong>Professional</strong> the present<br />
firmware version will be displayed.<br />
A Firmware Update is available on request.<br />
<strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme 23
Manual <strong>EMC</strong> <strong>Professional</strong><br />
6 Support<br />
The windows software contains a detailed online help menu with more<br />
information on <strong>EMC</strong> <strong>Professional</strong> and a detailed FAQ list.<br />
The latest software is free available at our website www.gude.info<br />
If you have further questions please contact our team:<br />
Eintrachtstraße 113<br />
50668 Köln<br />
Tel.: 0221/ 912 90 97<br />
Fax: 0221/ 912 90 98<br />
info@gude.info<br />
http://www.gude.info/<br />
24 <strong>Gude</strong> <strong>Analog</strong>- und Digitalsysteme