You are on page 1of 21

RS-485 BUS WIRING PRIMER

Purpose: This document provides general and specific information for the use of RS-485 data to interconnect Spectracom Master clocks to other equipment, including Wall Clocks, TimeTaps, Ethernet Time Servers and TimeBursts. This document also contains information on troubleshooting RS-485.

RS-485 OUTPUT USAGE


The RS-485 Output provides a continuous once-per-second time data stream in the selected format. RS-485 is a balanced differential transmission which offers exceptional noise immunity, long cable runs and multiple loading. These characteristics make RS-485 ideal for distributing time data throughout a facility. The RS-485 Output can drive 32 devices over cable lengths up to 4000 feet. Spectracom manufactures wall clocks, RS-485 to RS-232 converters and radio link products which utilize the RS-485 data stream as an input. Figures 1-1 and 1-2 illustrate typical RS-485 time data bus inter-connections. Follow the guidelines listed below when constructing the RS-485 data bus.

TECHNICAL SUPPORT For technical support, contact Spectracom Tech Support via phone or email at the address information below. Tech Support is available Monday through Friday from 8:00 AM 5:00PM (Eastern). Keith Wing: 585.321.5823 David Lorah: 585.321.5824 Receptionist: 585.321.5800 Fax: 585.321.5219

Email: techsupport@spectracomcorp.com http://www.spectracomcorp.com/

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 1 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

TABLE OF CONTENTS
SECTION 1: GENERAL RS-485 INFORMATION 1.0 Cable Selection 1.1 General Connection Information 1.2 RS-485 Termination

SECTION 2:

NTP TIME SERVERS (MODELS 8189, 918x series and TTSxxx series) 2.0 2.1 2.2 2.3 2.4 Remote Output Connection to a Wired Display Clock (Models 8175, 9175 or 9177) Connection to a TimeTap (Model 8179T) Connection to an Ethernet Time Server (Models 8188 or 9188) Connection to a TimeBurst (Model 8185)

SECTION 3:

NETCLOCK/GPS MODEL 8183 3.0 3.1 3.2 3.3 3.4 Remote Output Connection to a Wired Display Clock (Models 8175, 9175 or 9177) Connection to a TimeTap (Model 8179T) Connection to an Ethernet Time Server (Models 8188 or 9188) Connection to a TimeBurst (Model 8185)

SECTION 4:

NETCLOCK/2 MODEL 8182 4.0 4.1 4.2 4.3 4.4 Remote Output Connection to a Wired Display Clock (Models 8175, 9175 or 9177) Connection to a TimeTap (Model 8179T) Connection to an Ethernet Time Server (Models 8188 or 9188) Connection to a TimeBurst (Model 8185)

SECTION 5:

TROUBLESHOOTING RS-485 5.0 5.1 5.2 5.3 5.4 5.5 5.6 Noticing a Problem with RS-485 Termination Issue Time Synchronization of the Master Clock Verifying RS-485 with a Spectracom TimeTap Verifying RS-485 with an Oscilloscope. RS-485 Data is Present but Device still not Syncing Contacting Spectracom Tech Support for Assistance or RMA Number

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 2 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

SECTION 1: GENERAL RS-485 INFORMATION


1.0 Cable Selection Low capacitance, shielded twisted pair cable is recommended for installations where the RS-485 cable length is expected to exceed 1500 feet. Table 1-1 suggests some manufacturers and part numbers for extended distance cables. These cables are specifically designed for RS-422 or RS-485 applications. They have a braided copper shield, nominal impedance of 120 ohms, and a capacitance of 12 to 16 picofarads per foot. RS-485 cable may be purchased from Spectracom. Specify part number CW04xxx, where xxx equals the length in feet.

MANUFACTURER Belden Wire and Cable Company 1.800.BELDEN-1 Carol Cable Company 606.572.8000 National Wire and Cable Corp. 323.255.5611

PART NUMBER 9841 C0841 D-210-1

TABLE 1-1: Cable Sources for RS-485 Lines over 1500 Feet

For cable runs less than 1500 feet, a lower-cost twisted pair cable may be used. Refer to Table 1-2 for possible sources. MANUFACTURER Alpha Wire Corporation 1.800.52ALPHA Belden Wire and Cable Company 1.800.BELDEN-1 Carol Cable Company 606.572.8000 PART NUMBER 5471

9501

C0600

TABLE 1-2: Cable Sources for RS-485 Lines Under 1500 Feet

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 3 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

1.1

General Connection Method

The RS-485 transmission line must be connected in a daisy chain configuration as shown in Figure 1-1. In a daisy chain configuration, the transmission line connects from one RS-485 receiver to the next. The transmission line appears as one continuous line to the RS-485 driver. A branched or star configuration is not recommended! This method of connection appears as taps or stubs to the RS-485 transmission line. Stub lengths affect the bus impedance and capacitive loading which could result in reflections and signal distortion.

R S 232
8179T T im e T a p DB9
R S -4 8 5 O u tp u t

T E R M IN A T E E N D D E V IC E

D IS P L A Y
T im e V ie w 2 3 0 R S -4 8 5 In /O u t

R S -2 3 2
8179T T im e T a p

T e r m in a l B lo c k

T e r m in a l B lo c k
R S -4 8 5 T im e D a t a B u s

N e tC lo c k
T e r m in a l B lo c k
R S -4 8 5 In /O u t

T w is t e d P a ir C a b le T e r m in a l B lo c k 8179T T im e T a p T e r m in a l B lo c k 8 1 8 8 /9 1 8 8 T im e S e rv e r

T im e V ie w 4 0 0

D IS P L A Y

R S-2 3 2

ETHERNET 1 0 /1 0 0 B A S E T

FIGURE 1-1: One-Way Bus Installation The RS-485 Output may be split in two directions as shown in Figure 1-2. This allows the NetClock to be centrally located. Connecting in this method can simplify installation and possibly reduce the amount of cable required.

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 4 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

TERMINATE END DEVICE

DISPLAY
TimeView 400

RS-232
8179T TimeTap

DIGITAL MESSAGE
TimeBurst

TERMINATE END DEVICE

RS-232
8179T TimeTap

RS-485 Terminal Input/Output Block

Terminal Block

RS-485 Input

Terminal Block

Twisted Pair Cable

RS-485 Time Data

Terminal Block

RS-485 Input/Output
TimeView

Terminal Block
230

Terminal Block
NetClock

RS-485 Input

Terminal Block

8188/9188 Time Server

DISPLAY

ETHERNET 10/100 BASE T

FIGURE 1-2: Split Bus Configuration Most RS-485 connections found on Spectracom equipment are made using a removable terminal strip. Wires are secured by a jaw which compresses the wires when tightened. When using small diameter wire, 22-26 gauge, a strain relief can be fashioned by wrapping the stripped wire over the insulating jacket as shown in Figure 1-3. Wrapping the wires in this manner prevents smaller gauge wires from breaking off when exposed to handling or movement. The Spectracom Models 8175 and 9175, TimeView 230, are a display clock with 2.3 inch high digits. The Model 8177 TimeView 400 features 4.0 inch display digits. TimeView display clocks use a 6-position terminal block to connect to the RS-485 data bus. Spectracom Model 8185, TimeBurst, is an audio interface to a transmitter. The Spectracom Models 8188 and 9188 are Ethernet Time Servers. These devices use a 3-position terminal block to connect to the RS-485 data bus. Connect all of these devices to the Remote Output as shown in Figure 1-3.

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 5 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

STRIP WIRE

WRAP WIRE OVER INSULATING JACKET

INSERT AND TIGHTEN

FIGURE 1-3: WIRE STRAIN RELIEF

1.2

RS-485 Termination

A termination resistor is required on devices located at the ends of the RS-485 transmission line. Terminating the cable end preserves data integrity by preventing signal reflections. If there is only one device connected to the Remote port, it is considered the last device and should be terminated. For a one-way bus installation (shown in Figure 1-1), terminate the last device on the bus. The RS-485 data bus can be split in two directions at the clock itself (shown in Figure 1-2). In a split bus configuration, terminate the devices installed on each end of the two buses. More than two lines out of the Netclock are not allowed. Never branch off in the middle of the line from one device to two other devices! This can cause reflections in the bus. Many Spectracom products include a built-in termination switch to terminate the RS-485 bus when required. The Models 8175, 8177 and 8185 have a rear panel DIP switch used to terminate the clock if it is the last device on the line. The Model 8175 and 8177 termination switch is DIP switch number 10. The Model 8185 termination switch is DIP switch number 1. The Models 9175, 8188, 9188 and 8179T do not have a built-in termination resistor. If one of these devices is at the end of the line, install the included 120 ohm resistor across the + Data and Data input pins. This will terminate the end of the line.

NOTE: Refer to Section 2 for instructions on connecting equipment the Remote port of the Models 8189, 9189 or 9183. For the Netclock/GPS Model 8183, skip to Section 3.0. for the Netclock/2 Model 8182, skip to section 4.0

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 6 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

SECTION 2: NTP TIME SERVERS


(MODELS 8189, 918x SERIES AND TTSxxx SERIES)

2.0

Remote Outputs

The Models 8189, 9188, 9189, TTS200 and TTS260 have one Remote Output labeled RS-485 1 (The Models 9188 and TTS260 Remote ports labeled RS-485 2 are an input port from the Master clock). The Model 9183, TTS220 and TTS240 have two Remote Outputs labeled RS-485 1 and RS-485 2. These outputs provide a continuous once-per-second time data stream in the selected data format. There are five time data format selections and one position data stream in NMEA 0183 format available. Refer to the corresponding Master Clock instruction manual for a complete description of the Data Format structures and RS-485 output port descriptions. In addition to Data Formats, baud rate and UTC time difference of each output is selectable. The Remote output ports (With the exception of the Model 8189) are configured using the web browser interface for the clock. Refer to the corresponding instruction manual for configuring these ports. A 3-position terminal block is supplied in the ancillary kit for each Remote Connector. Connector pin assignments are shown in Figure 2-1.

RS-485 REMOTE

PORT 1 PORT2
FIGURE 2-1: Remote Outputs

RS-485 is a balanced differential transmission requiring twisted pair cabling. RS-485 characteristics make it ideal to distribute time data throughout a facility. Each Remote Output can provide time to 32 devices at cable lengths up to 4000 feet. Refer to Figure 2-2 for a schematic representation of each RS-485 output driver. Relative to RS-485 specifications, the A terminal (Pin 2) is negative with respect to the B terminal (Pin 1) for a mark or binary 1. The A terminal is positive to the B terminal for a space or binary 0.

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 7 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

Shield

1 2

B Terminal (+) A Terminal (-)

FIGURE 2-2: RS-485 Output Spectracom offers many devices that accept the RS-485 data stream as an input reference. These products include display clocks, RS-485 to RS-232 converters, NTP time provider, and radio link products to meet various time applications and requirements. For information on Remote Output usage refer to Section 1.0 of this document.

2.1 Connection to a Wired Display Clock The Spectracom Models 8175 and 9175, TimeView 230, are a display clock with 2.3 inch high digits. The Model 8177 TimeView 400 features 4.0 inch display digits. TimeView display clocks use a 6-position terminal block to connect to the RS-485 data bus. Connect the TimeView to the Netclock Output as shown in Figure 2-3. The TimeView display clocks accept only Data Formats 0 or 1. Spectracom display clocks have a built-in RS-485 repeater that can drive 32 more devices when the output connector is used. Either daisy chain the display clock inputs together OR run the bus wire from the output of one clock to the input of the next device. Because this ends the first bus, and starts another bus, terminate this display clock as well as the last clock on the new line.

Note: If pins 4 through 6 are used, terminate the wall clock.

FIGURE 2-3: TimeView RS-485 Interface

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 8 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

2.2 Connection to a TimeTap The Model 8179T, TimeTap, is an RS-485 to RS-232 converter. The Model 8179T has a DB9 RS-232 interface that receives operational power from the RS-232 flow control pins RTS or DTR. Connect the TimeTap to the RS-485 data bus as shown in Figure 2-4.

FIGURE 2-4: Model 8179T TimeTap RS-485 Interface

2.3 Connection to an Ethernet Time Server Spectracom Models 8188 and 9188, NetClock/ETS and Netclock/NTP are Ethernet Time Servers that support NTP and SNTP time protocols. The Models 8188 and 9188 accept either Data Format 0 or 2 and connect to the RS-485 data bus through a three-position terminal block. Connect the Models 8188 and 9188 to the Master Clock as shown in Figure 2-5.

FIGURE 2-5: Model 8188 or 9188 RS-485 Interface

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 9 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

2.4 Connection to a Model 8185 TimeBurst The Model 8185, TimeBurst, provides a digital time-of-day data burst to a radio transmitter. The TimeBurst, when used with the Spectracom Model 8186 TimeBridge, provides community-wide time synchronization from a single NetClock. The TimeBurst accepts only Data Format 0. Connect the TimeBurst to the RS-485 data bus using a 3-position terminal block as shown in Figure 2-6.

FIGURE 2-6: TimeBurst RS-485 Interface

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 10 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

SECTION 3: NETCLOCK/GPS MODEL 8183


3.0 Remote Outputs

The NetClock/GPS Model 8183 has two Remote Outputs labeled RS-485 1 and RS-485 2. These outputs provide a continuous once-per-second time data stream in the selected data format. There are five time data format selections and one position data stream in NMEA 0183 format available. Refer to the Model 8183 instruction manual for a complete description of the Data Format structures. In addition to data formats, baud rate and UTC time difference of each output is selectable. The commands REM1 and REM2 configure the ports setup. Refer to section 4 of the instruction manual for a complete description of these commands. A 3-position terminal block is supplied in the ancillary kit for each Remote Output. Connector pin assignments are shown in Figure 3-1.

FIGURE 3-1: Remote Outputs RS-485 is a balanced differential transmission requiring twisted pair cabling. RS-485 characteristics make it ideal to distribute time data throughout a facility. Each Remote Output can provide time to 32 devices at cable lengths up to 4000 feet. Refer to Figure 3-2 for a schematic representation of each RS-485 output driver. Relative to RS-485 specifications, the A terminal (Pin 2) is negative with respect to the B terminal (Pin 1) for a mark or binary 1. The A terminal is positive to the B terminal for a space or binary 0.

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 11 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

Shield

1 2

B Terminal (+) A Terminal (-)

FIGURE 3-2: RS-485 Output

Spectracom offers many devices that accept the RS-485 data stream as an input reference. These products include display clocks, RS-485 to RS-232 converters, NTP time provider and radio link products to meet various time applications and requirements. For information on Remote Output usage refer to Section 1.0 of this chapter.

3.1 Connection to a Wired Display Clock The Spectracom Models 8175 and 9175, TimeView 230, are a display clock with 2.3 inch high digits. The Model 8177 TimeView 400 features 4.0 inch display digits. TimeView display clocks use a 6-position terminal block to connect to the RS-485 data bus. Connect the TimeView to the NetClock/GPS RS-485 Output as shown in Figure 3-3. The TimeView display clocks accept only Data Formats 0 or 1. Spectracom display clocks have a built-in RS-485 repeater that can drive 32 more devices when the output connector is used. Either daisy chain the display clock inputs together OR run the bus wire from the output of one clock to the input of the next clock. Because this ends the first bus, and starts another bus, terminate this display clock as well as the last clock on the new line.

Note: If pins 4 through 6 are used, terminate the wall clock.


FIGURE 3-3: TimeView RS-485 Interface

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 12 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

3.2 Connection to a TimeTap The Model 8179T, TimeTap, is an RS-485 to RS-232 converter. The Model 8179T has a DB9 RS-232 interface that receives operational power from the RS-232 flow control pins RTS or DTR. Connect the TimeTap to the RS-485 data bus as shown in Figure 3-4.

FIGURE 3-4: Model 8179T TimeTap RS-485 Interface

3.3 Connection to an Ethernet Time Server Spectracom Models 8188 and 9188, NetClock/ETS and Netclock/NTP are Ethernet Time Servers that supports NTP and SNTP time protocols. The Models 8188 and 9188 accept either Format 0 or Format 2 and connect to the RS-485 data bus through a three-position terminal block. Connect the Model 8188 or 9188 to the Netclock/GPS as shown in Figure 3-5.

FIGURE 3-5: Models 8188 or 9188 RS-485 Interface

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 13 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

3.4

Connection to a Model 8185 TimeBurst The Model 8185, TimeBurst, provides a digital time-of-day data burst to a radio transmitter. The TimeBurst, when used with the Spectracom Model 8186 TimeBridge, provides community-wide time synchronization from a single NetClock/GPS. The TimeBurst accepts only Format 0. Connect the TimeBurst to the RS-485 data bus using a 3-position terminal block as shown in Figure 3-6.

FIGURE 3-6: TimeBurst RS-485 Interface

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 14 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

SECTION 4: NETCLOCK/2 MODEL 8182


4.0 Remote Output

The Model 8182 has one Remote Port which is labeled Remote Output. This port provides a continuous once-per-second time data stream in the selected data format. There are two time data format selections available (Data Format 0 and 1). Refer to the Netclock/2 instruction manual for a complete description of the Data Format structures. In addition to Data Formats, baud rate and UTC time difference of this output is selectable via DIP switches and rotary switches on the bottom cover of the Netclock/2. Refer to the Netclock/2 instruction manual for configuring this port. Connector pin assignments are shown in Figure 4-1 and Figure 4-2.

FIGURE 4-1: Remote Output Pin Numbering

PIN 3 8 2 7

SIGNAL -DATA +DATA -ONTIME +ONTIME -TSYNC +TSYNC ENABLE GND TDATA

DESCRIPTION RS-485 inverted time data RS-485 non-inverted time data RS-485 inverted on-time pulse RS-485 non-inverted on-time pulse

1 6 4 9 5

RS-485 inverted time sync status RS-485 non-inverted time sync status +5V Enable output Signal Ground RS-232 time data output

FIGURE 4-2: Remote Outputs

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 15 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

Time data is broadcast in ASCII once-per-second in RS-485 levels, DATA, and at RS-232 levels, TDATA. Bit rate and Data Format selection are made by switches located on the bottom cover. The +ON-TIME signal is a positive-going 0.1 second pulse relative to -ON-TIME, occurring once per second. The source of this output is the same as the 1-PPS output. Refer to Section 3.2.7 for additional information about the on-time pulse output. The +TSYNC signal is high relative to -TSYNC whenever the front panel TIME SYNC lamp is green. If the TIME SYNC lamp is red, the -TSYNC is high relative to the +TSYNC signal. The ENABLE signal is +5 volts through a 68-ohm series resistor. Spectracom offers many devices that accept the RS-485 data stream as an input reference. These products include display clocks, RS-485 to RS-232 converters, NTP time providers, and radio link products to meet various time applications and requirements. For information on Remote Output usage refer to Section 1.0 of this document.

4.1 Connection to a Wired Display Clock The Spectracom Model 8175 and 9175, TimeView 230, are a display clock with 2.3 inch high digits. The Model 8177 TimeView 400 features 4.0 inch display digits. TimeView display clocks use a 6-position terminal block to connect to the RS-485 data bus. Connect the TimeView to the Netclock Output as shown in Figure 4-2. The TimeView display clocks accept only Data Formats 0 or 1. Spectracom display clocks have a built-in RS-485 repeater that can drive 32 more devices when the output connector is used. Either daisy chain the display clock inputs together OR run the bus wire from the output of one clock to the input of the next clock. Because this ends the first bus, and starts another bus, terminate this display clock as well as the last clock on the new line.

Note: If pins 4 through 6 are used, terminate the wall clock.

FIGURE 4-2: TimeView RS-485 Interface

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 16 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

4.2 Connection to a TimeTap The Model 8179T, TimeTap, is an RS-485 to RS-232 converter. The Model 8179T has a DB9 RS-232 interface that receives operational power from the RS-232 flow control pins RTS or DTR. Connect the TimeTap to the RS-485 data bus as shown in Figure 4-3.

FIGURE 4-3: Model 8179T TimeTap RS-485 Interface

4.3 Connection to an Ethernet Time Server Spectracom Model 8188 and 9188, NetClock/ETS are Ethernet Time Servers that supports NTP and SNTP time protocols. The Model 8188 and 9188 accepts either Format 0 or Format 2 and connects to the RS-485 data bus through a three-position terminal block. Connect the Model 8188 and 9188 to the Netclock as shown in Figure 4-4.

FIGURE 4-4: Models 8188 or 9188 RS-485 Interface

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 17 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

4.4 Connection to a Model 8185 TimeBurst The Model 8185, TimeBurst, provides a digital time-of-day data burst to a radio transmitter. The TimeBurst, when used with the Spectracom Model 8186 TimeBridge, provides community-wide time synchronization from a single NetClock. The TimeBurst accepts only Data Format 0. Connect the TimeBurst to the RS-485 data bus using a 3-position terminal block as shown in Figure 4-5.

FIGURE 4-5: TimeBurst RS-485 Interface

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 18 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

SECTION 5: TROUBLESHOOTING RS-485


5.0 Noticing a Problem with RS-485

If the device being synchronized by the RS-485 data does not synchronize within the normal time frame that it is supposed to sync in, you will need to determine if the problem is related to the Netclock Master Clock, the RS-485 cable between the Master Clock and the device or the device itself. Time synchronization of a device may be either intermittent or it may not sync at all. The first thing to determine is whether any other device on the RS-485 bus is synchronized, or are all devices on the bus unsynchronized. If all devices are unsynchronized, the problem is most likely with the Master Clock or a device loading down the bus. If all other devices are synced, the problem is most likely with that particular device or a cabling issue between this device and the device that is immediately before this device. 5.1 Termination Issue

If synchronization of one or more devices is intermittent or not occurring at all, determine if the termination of the RS-485 bus is correct. Make sure the last device is correctly terminated into 120 ohms as described in the procedure above and there are no branches from one device to two or more other devices (Branched or starred configurations are not acceptable). If the RS-485 bus is not properly terminated or a branched or starred configuration is used, reflections may be occurring in the line causing loss of time sync. Correct the termination issue prior to proceeding with this section. 5.2 Time Synchronization of the Master Clock

If Time Synchronization of a device to the Master Clock does not occur, the problem may be due to the Master Clock not being properly Time Synced. If the Master Clock is not synced, a Time Sync Status character in the data-stream will indicate to the device that the source is not synced. In most cases, the device will ignore the time stamp and remain unsynchronized. Verify the Time Sync lamp on the Master Clock indicates the Master Clock is synced. If it isnt, refer to the instruction manual for the specific model Master Clock or contact Tech Support for assistance. 5.3 Verifying RS-485 with a Spectracom TimeTap

The Spectracom TimeTap (Model 8178T or 8179T) is a good troubleshooting device to determine if RS485 data is present. If a TimeTap is installed on the line, or if you have an available TimeTap, connect the TimeTap to the RS-485 following the instruction manual for the TimeTap. Connect the TimeTap directly to a PC running either HyperTerminal or Procomm, using the baud rate setting of the Master Clock and 8 bit, No start bit, 1 stop bit and flow control set to hardware (Note that HyperTerminal requires you to do a Call and Disconnect then a Call and Connect or Call and Call before the new baud rate and settings are used). A readable ASCII data stream should be shown on the monitor every second. If the data is present and readable every second, the RS-485 output of the Master Clock and the wiring to that point is ok. If it is showing unreadable characters, the RS-485 + and - Data lines are backwards and if it isnt present at all, either the RS-485 is bad or there is a setup issue on the PC.

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 19 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

To verify a Spectracom Model 8178T TimeTap or 8179T TimeTap has a proper output: 1. Connect the TimeTap into the serial port of a laptop computer. A standard DB9 to DB25 adapter may be required with an 8178T TimeTap. 2. Using the terminal emulator screen, you should see a line on your screen every second that looks similar to one of the three samples below (Depends on the selected Data Format). A. 306 13:23 STZ=05 (Data Format 0) B. THU 11NOV99 13:23:36 (Data Format 1) C. 99 315 18:36:14.267S (Data Format 2)

Note: If there is a ? or * at the beginning of the line, the Master Clock is not time synced. Contact Spectracom Customer Service for assistance.

5.4

Verifying RS-485 with an Oscilloscope.

Due to the frequency response of a multi-meter, RS-485 is very difficult to measure with this test equipment. To correctly identify whether RS-485 is present, use an oscilloscope or a service monitor to view the signal. The + and Data should look similar to the Figure 5 below. The + and Data lines are similar but just inverted from each other. The location of the signal compared to ground does not matter as RS-485 data is not based on differences between data and ground. Attenuated or distorted data indicates the Master Clocks Remote port output is bad or a device on the RS-485 is loading down the line. No data present indicates the RS-485 cable is broken or the Master Clock RS-485 Remote port output data is not present. Check the Master Clock RS-485 Remote output to see if the data is present at this point. If it isnt , disconnect the bus and check the port again. If the data is present, a device is loading down the bus. Disconnect each device one at a time until the bad device is located. If the data isnt present, the Master Clock output is bad and the Master Clock needs to be returned for repair. Contact Tech Support for an RMA number. Refer to section 5.5 Contacting Spectracom Tech Support for assistance or RMA number.

FIGURE 5: RS-485 data viewed with an oscilloscope


Rev C 6/07/04 This document is property of Spectracom Corporation. Page 20 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com

5.5

RS-485 Data is Present but Device is still not Syncing .

If the RS-485 signal shown in figure 5 above is present and the device is still not synchronized to the Master Clock, one of the following is the cause of the problem: 1) Not enough time may have elapsed since connecting RS-485 to the device (Not all devices will sync immediately. Refer to the vendor of the equipment to determine their time sync interval). 2) The Master Clock is not synced. 3) The RS-485 + Data, -Data and ground are not pinned correctly to the device. 3) The device may not be properly configured for the correct baud rate and Spectracom Data Format as selected in the Master Clock. 4) There is a problem with the device to be synchronized by the clock. Refer to the vendor of the equipment for additional information on their product. 5) Some devices need external time synchronization to be enabled (Typically in a configuration menu). External time sync may not be enabled in the device. Contact the vendor for additional information.

5.6

Contacting Spectracom Tech Support for Assistance or RMA number

For additional troubleshooting assistance or to return Spectracom equipment for evaluation/repair, contact Spectracom Tech Support. An RMA Number (Return Authorization Number) must be obtained prior to returning any equipment to Spectracom for repair. Tech support is available Monday through Friday from 8AM until 5PM Eastern.

Rev C 6/07/04

This document is property of Spectracom Corporation.

Page 21 of 21

95 Methodist Hill Drive Suite 500 Rochester, New York 14623 USA +1.585.321.5800 FAX: +1.585.321.5218 www.spectracomcorp.com techsupport@spectracomcorp.com