Professional Documents
Culture Documents
Reference Manual
Reason Tecnologia S.A. Rua Delminda Silveira, 855 88025-500 Florian polis, SC o Brasil Fone: (48) 2108-0300 Fax: (48) 2108-0310 http://www.reason.com.br Reason International, Inc. 7101 W Highway 71 Austin, TX 78735 USA Phone: (512) 615-0490 Fax: (512) 615-0491 http://www.reason-international.com Reason Europe GmbH i. G. Ascherslebener Strae 3 D-06333 Hettstedt Deutschland Telefon: +49 (0)3476 559345 Fax: +49 (0)3476 559286 http://www.reason-europe.com Applicable models: P025-Axx/1 P025-Axx/2 P025-Axx/4 P025-Axx/5 P025-Axx/6 P025-Axx/7 Firmware version: 08Axx Document Id: Revision: rt420-manual-en 4.1
c 2008, 2009 Reason Tecnologia S.A. All rights reserved. Products developed by R EASON are continuously improved and the associated technical documentation is frequently updated. Please make sure you have the latest release of this document before proceeding. All specications are subject to change without prior notice. Reason is committed to quality. Certication to the CE and the ISO 9001:2000 quality standard are examples of this commitment. We encourage and appreciate any feedback and will use it to improve our products and services.
Contents
Contents 1 Safety Instructions 1.1 1.2 1.3 2 General Safety Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Passwords and Remote Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Safety Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
i 1 1 1 1 3 3 3 4 4 5 7 7 7 7 7 8 8 8 8 8 9 9 9 9 10
Getting Started 2.1 2.2 2.3 2.4 2.5 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Key Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unpacking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial Number and Part Number Location . . . . . . . . . . . . . . . . . . . . . . . . . . Powering-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Specications 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 GPS input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IRIG-B000 optical input (optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Internal oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TTL-level electrical outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Open-collector outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Optical outputs (optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Amplitude-modulated outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RS232 serial port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ethernet port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.10 L OCKED dry contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.11 Dimensions, weight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12 Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.13 Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.14 Type tests (EMC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii
CONTENTS
3.15 Type tests (safety) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.16 Type tests (environmental) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.17 Type tests (mechanical) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 10 10 11 11 11 11 13 14 15 16 16 17 18 18 19 19 21 21 22 22 23 23 23 23 24 24 24 25 27 27 27 28
4 Installation 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Antenna . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Antenna Cable Effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Optical IRIG-B000 Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Optical Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TTL-level Electrical Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Open Collector Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.10 Amplitude-Modulated Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.11 RS232 Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.12 Ethernet Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.13 Locked Dry Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Operation 5.1 5.2 5.3 Front Panel Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power-Up Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power-Down Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 Conguration 6.1 6.2 6.3 6.4 6.5 6.6 6.7 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Running TELNET from Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Running SSH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Behavior during conguration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Conguration Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7 ASCII Commands 7.1 7.2 7.3 Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command History and Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Maintenance and Troubleshooting 9.1 9.2 9.3 9.4 Common Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Forgotten Password or Unknown Network Parameters . . . . . . . . . . . . . . . . . . . . CMOS Clock Battery Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Returning a Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Part Numbers Modbus Interface Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Message Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Implemented Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Function 4 (Read Input Registers) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Registers Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary of IRIG-B Standard IRIG-B000 and IRIG-B120 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Safety Instructions
1.1 General Safety Instructions
Before attempting to install or use the equipment described in this manual, it is imperative that all DANGER and CAUTION warnings are reviewed to help prevent personal injury, equipment damage and/or downtime. This manual is intended for technically qualied personnel which has been trained or is knowledgeable in instrumentation and automation elds. This instruction manual is an integral part of the scope of delivery and provides basic instructions for installation, conguration, operation and maintenance of the equipment here described. Shall additional information be needed, please contact R EASON at the addresses provided at the beginning of this document.
2 Getting Started
2.1 Overview
RT420 provides time, frequency and phase reference signals via congurable electrical, optical and logical output ports. Time information is provided by a built-in GPS receiver or an external IRIG-B000 source. Time information is shown on a display and output in a variety of formats including a DC-shift and amplitude-modulated IRIG-B signal, RS232C serial datagrams, and several types of time pulses. Accuracy of the internal time-base is better than 100 ns (1 sigma). The RT420 time reference is able to produce time information referred to UTC or to a local time-zone. Support for Daylight Saving Time is also provided. The unit is intended for 19-inch rack-mounting and can be powered from a wide range of AC and DC power sources.
2. G ETTING S TARTED IRIG-B000 and IRIG-B120 time codes 100 pulses-per-second, 1 pulse-per-second, 1 pulse-per-minute signals Freely congurable low frequency pulse generator from 1 pulse-every-two-seconds to 1 pulse-every24-hours Pulse-on-time and pulse-on-date signals (daily repetition or not) 8 optical ber outputs (optional) 8 TTL-level electrical outputs, normal or inverted polarity 3 open-collector outputs, normal or inverted polarity 2 IRIG-B120 outputs modulated in amplitude RS232 serial port with PPS signal (normal or inverted polarity), freely congurable messages Status monitoring using SNMP or Modbus Locked dry contact for remote signalling User-congurable rules for daylight-saving-time (DST) Uses GPS satellites or external IRIG-B000 (optional) as time basis Time delay compensation for antenna cables and optical-ber cables Congurable over Ethernet using SSH or TELNET protocols
2.3 Unpacking
Unpack the unit carefully and make sure that all accessories and cables are put aside so they will not be lost. Check the contents against the packing list. If any of the contents listed are missing, please contact R EASON immediately (see contact information at the beginning of this manual). Examine the unit for any shipping damage. If the unit is damaged or fails to operate, notify the shipping company without delay. Only the consignee (the person or company receiving the unit) can le a claim against the carrier for shipping damage. We recommend that you retain the original packing materials for use should you transport or ship the unit in the future.
Serial number and part number location For information about how to interpret the part number, refer to page 61.
Powering-Up
2.5 Powering-Up
1. Be sure you are familiar with all appropriate DANGER and CAUTION warnings in this manual. 2. Refer to Chapter 4 for detailed mounting and wiring instructions. Do not operate the unit without the safety ground connection in place. 3. Make sure the power switch at the back of the unit is in the O FF position. 4. [OPTIONAL] Connect a GPS antenna to the unit. Refer to section 4.4 for further information about antenna positioning and requirements. 5. Connect power to the unit. The M AINS indicator on the units front panel will light immediately. 6. Power on the unit using the switch on the back panel. 7. A self-test will be executed, blinking all indicators except M AINS on the front panel twice. 8. The unit will now initialize the internal time-references, including the GPS receiver. This will take up to one minute. Progress is indicated by successively lighting up the segments of the time display on the front panel. 9. As soon as initialization is complete, the R EADY indicator will light up and the internal time will be displayed on the front panel. 10. If an antenna is connected to the unit, the L OCKED indicator will start blinking after a few minutes, indicating that the time produced by the unit is being derived from the GPS satellites. The L OCKED indicator will stop blinking and stay on once full accuracy is achieved.1 A clear line-of-sight from the antenna to at least 4 GPS satellites is required for the unit to enter the locked state. 11. Factory defaults for Ethernet port are listed below.
Should this parameters not be appropriate for the installation, use a cross-over Ethernet cable to connect the unit to a computer and change the parameters as needed with the ETHER command (refer to page 35 for further details). 12. Shall the unit fail to operate as described, carefully review the power and all signal connections. Refer to Chapter 9 for further help on troubleshooting. 13. To switch the unit off, ip the power switch to the O FF position. The unit will record date, time, satellite almanach and internal drift estimates in non-volatile memory so as to increase accuracy and reduce locking time at the next power up. After recording is nished, all indicators except M AINS on the front panel will be turned off.
1 This may take up to the 12 minutes if the unit has been moved over great distance since last powered off or if the unit has been off for several weeks.
3 Specications
3.1 GPS input
Signal Number of channels Antenna type Antenna power Input impedance Connector type Sensitivity GPS L1 (1575.42 MHz), C/A code 12 active 3.3 V, max 100 mA 50 BNC (female) -152 dBm (tracking) -142 dBm (acquisition)
High level voltage Low level voltage Maximum current Output impedance
3. S PECIFICATIONS
3.10
3.12 Power
Rated operating voltage Input voltage range Frequency Power consumption 100250 Vdc, 110240 Vac 80275 Vdc, 88264 Vac 50/60 Hz 3 Hz < 15 VA (AC)
3.13 Environmental
Temperature range (recommended) Temperature range (tested) Enclosure protection Maximum altitude Relative humidity +5 . . . +55 C (+41 . . . +131 F) 25 . . . +70 C (13 . . . +158 F) IP40 2000 m (6560 ft) 5 . . . 95%, noncondensing
3. S PECIFICATIONS
4 Installation
Please refer to the gure below throughout this chapter.
4.1 Mounting
RT420 has been designed to be mounted in a standard 19-inch rack by means of four M6x15 screws. Allow adequate clearance for all connections. Do not bend the antenna cable excessively since this might alter its impedance, degrading the units performance.
4.2 Environment
Temperatures inside the rack should not not exceed the limits stated in section 3.13. Appropriate heating or cooling measures must be provided to guarantee that this requirement is met at all times. Air humidity should respect the limits described in section 3.13.
11
4. I NSTALLATION
Pre-insulated pin terminals The pin terminals should be completely inserted into the header connector supplied with the unit so that no metallic parts are exposed. Refer to the gure below.
Header connector assembly A safety ground lead shall be connected to the terminal marked with the protective earth symbol. For better electromagnetic compatibility, ground the unit using a 10 mm (0.4 in) wide grounding strap to connect the rear panel of the unit to a good ground point on the mounting rack.
AC Power Connection
Phase should be applied to terminal 1, neutral to terminal 2.
AC power connection Installation of an external 10 A, category C, unipolar circuit-breaker near the unit is recommended. The circuit breaker should have an interruption capacity of at least 25 kA and comply to IEC 60947-2. 12
Antenna
DC Power Connection
Positive should be applied to terminal 1, negative to terminal 2.
DC power connection Installation of an external 10 A, category C, bipolar circuit-breaker near the unit is recommended. The circuit breaker should have an interruption capacity of at least 25 kA and comply to IEC 60947-2.
4.4 Antenna
A 3.3-Volt active GPS antenna (100 mA max) must be connected to the A NTENNA terminal if GPS satellites are to be used as time reference. Refer to section 3.1 for additional information. There is no need to connect an antenna if the unit is to be operated as a time repeater. In this case, the optical IRIG-B000 shall be used (refer to section 4.6 for further information).
Antenna connector The antenna must be mounted outdoors, in a vertical position, with an unobstructed view of the sky. The antenna should be placed above the height of the building as much as possible. A partially obstructed sky view will degrade the units performance. The antenna should not be located under overhead power lines or other electric light or power circuits, or where it can fall into such power lines or circuits. An antenna mast or roof-mounting-kit and any supporting structure must be properly grounded to provide protection against voltage surges and built-up static charges. The antenna has to be connected to the unit using a coaxial cable with a 50 impedance. The antena cable should be routed trough a conduit, shielded from rain and solar radiation. The conduit should not be shared with any power cabling. Cables with lengths ranging from 15 m (50 ft) to 100 m (328 ft) are available from R EASON. Contact 13
4. I NSTALLATION R EASON for further information on using third-party antennas and cables.
Attenuation
GPS signal attenuation is a function of cable type and overall cable length. When using the active antenna supplied by R EASON, total attenuation should not exceed 32 dB. Total attenuation can be computed using A = Au l where Au is the attenuation per unit length for the given cable and l is the overall cable length. The table below shows a few typical cable congurations and the associated total attenuation.
Cable Length 15 m (50 ft) 25 m (82 ft) 50 m (164 ft) 75 m (246 ft) 100 m (328 ft) 125 m (410 ft) 150 m (492 ft)
RGC58 cable 7 dB 12 dB 23 dB
RGC8 cable 12 dB 17 dB 21 dB 25 dB
Propagation Delay
The cable delays the GPS signal. If the ultimate time accuracy is desired, this delay has be compensated inside the unit. Typically, the delay introduced by coaxial cables is in the magnitude of 4 ns/m (1.2 ns/ft) of cable length. The exact delay can be computed by T = 1 l CKv
where C = 3 108 m/s is the light speed, Kv = 0.8 to 0.85 is a constant which depends on the cable and l is the cable length in meters. The table below summarizes some typical delays introduced by coaxial cables
14
Cable Length 15 m (50 ft) 25 m (82 ft) 50 m (164 ft) 75 m (246 ft) 100 m (328 ft) 125 m (410 ft) 150 m (492 ft)
Delays of up to 10 s can be compensated with the DELAY ASCII command (see page 32).
Optical IRIG-B000 input For correct operation, the IRIG-B000 signal applied to this input should use the Control Field extensions as dened in the IEEE C37.118 Standard. Particularly, the time-offset information is needed to convert local time to UTC.
Propagation Delay
The optical ber cable used to carry the IRIG-B000 signal to the RT420 introduces a signicant delay. If the ultimate time accuracy is desired, this delay has be compensated inside the unit. Typically, the delay introduced by multimode optical ber cables is in the magnitude of 5 to 6 ns/m (1.5 to 1.8 ns/ft). The following table summarizes some typical optical cable delays
15
4. I NSTALLATION
Optical Fiber Length 100 m (328 ft) 250 m (820 ft) 500 m (1640 ft) 750 m (2460 ft) 1000 m (3280 ft) 1250 m (4100 ft) 1500 m (4920 ft)
Typical Delay 500 . . . 600 ns 1.25 . . . 1.50 s 2.50 . . . 3.00 s 3.75 . . . 4.50 s 5.00 . . . 6.00 s 6.25 . . . 7.50 s 7.50 . . . 9.00 s
Delays of up to 10 s can be compensated with the DELAY ASCII command (see page 32).
Optical outputs The signal present at this outputs is IRIG-B000 with CF extensions according to the IEEE C37.118 Standard.
TTL-level electrical outputs The type of signal at each output can be congured with the OUTPUT command (page 40). Options include IRIG-B000, 1PPS, 1PPM, 100PPS, a custom-dened low frequency, pulse-on-time and pulse-on-date. 16
Open Collector Outputs The polarity of the signal at each output can be individually congured with the POLARITY command (page 42). For the 1PPS, 1PPM, custom-dened low-frequency, pulse-on-time and pulse-on-date signals, the width of the pulse can be congured with the WIDTH command (page 51).
Open-collector outputs The type of signal at each output can be congured with the OUTPUT command (page 40). Options include IRIG-B000, 1PPS, 1PPM, 100PPS, a custom-dened low frequency, pulse-on-time and pulse-on-date. The polarity of the signal at each output can be individually congured with the POLARITY command (page 42). For the 1PPS, 1PPM, custom-dened low-frequency, pulse-on-time and pulse-on-date signals, the width of the pulse can be congured with the WIDTH command (page 51). The open-collector outputs are unfused and require an external resistor to limit the current that circulates through the transistors. The resistors value can be computed by Rc Vc 0.2
where Vc is the voltage being switched by the transistor. The power rating of the resistor has to be adequate for the voltage and current applied and can be computed by Vc2 Rc
Pc 1.2
Do not connect the open-collector outputs without limiting the current with an external resistor. Failure to do so will result in damage to this outputs.
17
4. I NSTALLATION
Amplitude-modulated outputs Signal at this outputs is IRIG-B120 with CF extensions according to the IEEE C37.118 Standard.
RS232 serial port The bitrate and format (number of data bits, parity, number of stop bits) of the characters sent out of this port can be congured with the SERIAL command (page 44). Several built-in datagrams can be selected with the DATAGRAM command (page 30) or a custom-dened one can be congured with the ASCII-DATAGRAM command (page 29). A one pulse-per-second pin is also provided. Polarity of the PPS signal can be congured with the POLARITY command (page 42) and the pulse width can be adjusted with the WIDTH command (page 51).
18
Ethernet Port
Ethernet port Use the ETHER command (page 35) to congure the IP address, the network mask and the broadcast and gateway addresses.
19
5 Operation
5.1 Front Panel Indicators
RT420 front panel The RT420s front panel has a time display, three green status indicators and three red alarm indicators.
Time Display
The time display always shows local time in a 24 hour format. If no valid time is available the display will show ::. This situation occurs during the units initialization, during a conguration session or if the internal CMOS clock battery is exhausted. The time display might also briey display :: when locking to GPS satellites or an external IRIG-B000 time reference if a time-step occurs.
is only noticed if the unit has been moved over great distance since last powered off or if it has been off for several weeks.
21
5. O PERATION coaxial cable leading up to the antenna. This indicator is blanked out when the IRIG-B000 optical input is used as a time reference. The A NTENNA O PEN indicator lits up when no current is drawn from the A NTENNA connector on the units back panel. This is the case when no antenna is connected or if the cable leading up to the antenna is broken. This indicator is blanked out when the IRIG-B000 optical input is used as a time reference. The A LARM indicator lits up during power-up when the internal CMOS clock battery is exhausted. Refer to Chapter 9 for instructions on replacing the battery. As a workaround until the battery is replaced, the command DATE can be used to allow the initialization to proceed.
22
6 Conguration
6.1 Overview
Conguration is performed using the Ethernet port. Factory defaults for this port are:
6.2 Protocols
The ASCII commands described in this chapter can be used over the SSH protocol (Secure SHell protocol) (port 22) or over the TELNET protocol (port 23). If there is a choice, the SSH protocol should be used since it is much more secure than the TELNET protocol. The TELNET protocol can be disabled with the TELNET OFF ASCII command (refer to page 46 for further details).
Windows Vista
By default, Telnet is not installed with Windows Vista. It can be installed by following the steps below. 23
6. C ONFIGURATION 1. Click the Start button, click Control panel, click Programs, and then click Turn Windows features on or off. If you are prompted for an administrator password or conrmation, type the password or provide conrmation. 2. In the Windows Features dialog box, select the Telnet Client check box. 3. Click OK. The installation might take several minutes.
6.5 Authentication
The equipment conguration is protected by a username and a password. The factory default settings are: username password conguration cond3e89
The password can (and should) be changed with PASSWD ASCII command (refer to page 41 for further details). The default password can be restored by pressing and holding the RST button for at least 2 seconds. The RST button is located on the units back panel, near the Ethernet port. To reach the button, use a small screwdriver, a paper clip straightened out or similar object with a diameter less than 1 mm (0.04 in). Please note that, apart from restoring the default password, the RST button will also reset the network conguration (IP address, network mask, broadcast and gateway addresses) and also re-enable the TELNET protocol. After passing authentication, the user will be greeted with a message stating the date and time of the last conguration session and the IP address of the computer from where it was started. Last login: Fri Feb 8 10:13:11 2008 from 192.168.0.23
Conguration Sequence the R EADY indicator on the front panel stays lit The following actions will take place after ending the conguration session with the EXIT command (page 36) TTL-level, open collector and optical outputs start sending data at the next second roll-over the RS232 serial port starts sending datagrams the internal NTP server accepts connections front panel time display shows actual local time the L OCKED relay will close and the L OCKED indicator on the front panel will lit as soon as the required conditions are met
6. C ONFIGURATION 5. Open-collector outputs a) Decide which signal is desired at each of the open-collector outputs and use the OUTPUT command (page 40) to select it. b) If a pulse-on-time or a pulse-on-date is desired, use the TMARK and DMARK commands (respectively described on pages 48 and 33) to congure the unit accordingly. c) If a low-frequency pulse is desired, use the PPX command (page 43) to select the required frequency. d) Use the POLARITY command (page 42) if needed. e) Adjust the pulse width with the WIDTH command (page 51) if needed. 6. RS232 serial port a) Select one of the built-in datagrams with the DATAGRAM command (page 30). If none of the built-in datagrams is adequate for the application, use the ASCII-DATAGRAM command (page 29) to dene a datagram and then issue the DATAGRAM ASCII command. b) Use the SERIAL command (page 44 to congure bitrate, number of data bits, parity and number of stop-bits. c) Use the HOLD command (page 37) to congure at which precise time after (or before) the second rollover the message will be sent. d) If the PPS pin on the serial port is used, its polarity and pulse width can be congured with the POLARITY and WIDTH commands (respectively pages 42 and 51).
26
7 ASCII Commands
7.1 Command Format
ASCII commands must be all uppercase or all lowercase. Mixed upper and lowercase commands are not recognized. If an ASCII command is entered without any parameters, a short usage message will be returned followed by the current conguration for that command. When using parameters, all of them must be entered in the specied sequence. If an invalid or out-of-range parameter is entered, a Invalid parameter: followed by the offending text will be issued. Similarly, if an unknown command is entered, a command not found message will be issued.
27
7. ASCII C OMMANDS
28
Command Reference
ASCII-DATAGRAM
Description Allows the denition of the ASCII datagram which will be sent out of the RS232 serial port once per second. Syntax ASCII-DATAGRAM string Where string is the denition of the datagram comprising literal characters and escapesequences for time and date-related parameters. Below is a list of the escape-sequences and the values returned. Escape-sequence %H %M %S %j %d %m %y %Y %u %w %s %o %O %Q %1 %2 %3 %4 %5 %x %% Values 00 . . . 23 00 . . . 59 00 . . . 59 001 . . . 366 01 . . . 31 01 . . . 12 00 . . . 99 2000 . . . 2099 1 ...7 0 ...6 S or or # or * or ? <SOH> <STX> <ETX> <LF> <CR> % Description hours minutes seconds day-of-year day-of-month month year (two last digits) year (four digits) day-of-week (1 = Monday) day-of-week (0 = Sunday) DST (S if Daylight-Saving-Time, otherwise) status ( if locked, # otherwise) status ( if locked, * otherwise) status ( if locked, ? otherwise) start-of-header (ASCII 01) start-of-text (ASCII 02) end-of-text (ASCII 03) line feed (ASCII 10) carriage return (ASCII 13) checksum type 1 % character (ASCII 37)
is the blank space character (ASCII 32). Checksum type 1 consists two hexadecimal characters representing the XOR operation of all characters between a $ and * (the $ and the * are not included in the checksum). Useful for NMEA-type datagrams. Example ASCII-DATAGRAM Day:%d;Mes:%m;Year:%Y;Hour:%H;Minute:%M;Second:%S;;%3
29
7. ASCII C OMMANDS
DATAGRAM
Description Selects which datagram will be sent out of the RS232 serial port. The choices are any of the built-in datagrams (refer to Chapter 8) or the custom dened ASCII-datagram (refer to command ASCII-DATAGRAM). Syntax DATAGRAM type type ASCII ACEB GPZDA MEINBERG selects datagram dened by ASCII-DATAGRAM selects built-in ACEB datagram selects built-in GPZDA datagram selects built-in Meinberg datagram
30
Command Reference
DATE
Description This ASCII command sets date and time on the internal CMOS clock. This command only has to be issued if the date and time information in the CMOS clock has been corrupted by, for example, a weak battery. Date and time should be informed in local time, as specied by the TZ and DST commands. Syntax DATE yyyy-mmm-dd hh:mm:ss yyyy mmm dd hh mm ss 2000 . . . 2099 Jan . . . Dec 01 . . . 31 00 . . . 23 00 . . . 59 00 . . . 59 year month day hour minute second
31
7. ASCII C OMMANDS
DELAY
Description Selects cable delay compensation. The command can be used to compensate GPS antenna cable propagation delays and IRIG-B000 optical ber propagation delays. Syntax DELAY nanoseconds nanoseconds 0 to 10000 ns (50 ns steps)
32
Command Reference
DMARK
Description Sets date and time for pulse-on-date. Syntax DMARK yyyy-mmm-dd hh:mm:ss yyyy mmm dd hh mm ss 2000 . . . 2099 Jan . . . Dec 01 . . . 31 00 . . . 23 00 . . . 59 00 . . . 59 year month day hour minute second
33
7. ASCII C OMMANDS
DST
Description Congures Daylight-Saving-Time rules. Can also be used to turn DST rules off. Syntax DST BEGIN hh:mm wday month END hh:mm wday month hh:mm wday 00:00 . . . 23:59 rstSun secondSat lastFri Jan . . . Dec time of DST start / end rst Sunday second Saturday last Friday month
month
DST OFF Example DST OFF DST BEGIN 00:00 lastSat Oct END 01:00 thirdSat Feb
34
Command Reference
ETHER
Description Congures network parameters Syntax ETHER ip mask broadcast gateway ip mask broadcast gateway IP address network mask broadcast address gateway address
35
7. ASCII C OMMANDS
EXIT
Description Closes conguration session. New conguration is applied and the units resumes generating time, frequency and phase signals. Syntax EXIT Example EXIT
36
Command Reference
HOLD
Description Congures hold time for the serial datagram. Time is relative to the second-rollover and can be positive (message is sent later than the second rollover) or negative (message is sent earlier than the second rollover). Syntax HOLD ms ms -999 . . . 999 hold time in milliseconds
37
7. ASCII C OMMANDS
HELP
Description Prints list of all available ASCII commands. Syntax HELP Example HELP
38
Command Reference
NTP-OFFSET
Description Allows correction of values reported by the NTP server. Normally not needed, but can be used to compensate for systemic time differences. Syntax NTP-OFFSET milliseconds Example NTP-OFFSET 5
39
7. ASCII C OMMANDS
OUTPUT
Description Selects the signal to be output at the TTL-level and open collector outputs. Factory default is a IRIG-B000 signal for the TTL-level outputs and no signal at the open collector outputs. Syntax OUTPUT output signal output signal TTL1 . . . TTL8 OC1 . . . OC3 OFF IRIGB 100PPS 1PPS 1PPM PPX TMARK DMARK TTL-level outputs open collector outputs no signal IRIG-B000 signal 100 Hz square-wave 1 pulse-per-second 1 pulse-per-minute low frequency pulse generator (refer to PPX ASCII command) pulse-on-time, repeated daily (refer to TMARK ASCII command) pulse-on-date, never repeated (refer to DMARK ASCII command)
Example OUTPUT TTL1 1PPS OUTPUT TTL2 1PPM OUTPUT TTL3 PPX OUTPUT OC1 TMARK
40
Command Reference
PASSWD
Description Changes the access password. The new password has to be informed twice and is not shown during input. Syntax PASSWD Example PASSWD 3478bc
41
7. ASCII C OMMANDS
POLARITY
Description Selects the polarity of signals at TTL-level, open-collector outputs and at the PPS-pin of the RS232 serial port. Factory default in normal (ie not-inverted) polarity at all outputs. Syntax POLARITY output polarity output TTL1 . . . TTL8 OC1 . . . OC3 SERIAL + TTL-level outputs open-collector outputs PPS pin at RS232 serial port normal polarity inverted polarity
polarity
42
Command Reference
PPX
Description Conguration of low frequency pulse generator. Values accepted range from one pulse everytwo-seconds to one pulse every-twenty-four-hours. Syntax PPX interval interval 2s, 3s, 4s, 5s, 6s, 10s, 12s, 15s, 60s 2m, 3m, 4m, 5m, 6m, 10m, 12m, 15m, 60m 2h, 3h, 4h, 6h, 8h, 12h, 24h
43
7. ASCII C OMMANDS
SERIAL
Description Conguration of bitrate and format (number of data bits, parity, number of stop bits) for data sent out of the RS232 serial port. Syntax SERIAL speed data parity stop speed data parity stop 1200 . . . 38400 7 or 8 data bits none (N), even (E) or odd (O) 1 or 2 stop bits
44
Command Reference
SHOW
Description Prints unit current conguration. Syntax SHOW Example SHOW
45
7. ASCII C OMMANDS
TELNET
Description Enables / disables the TELNET protocol. Factory default is enabled. Syntax TELNET status status ON OFF enables TELNET protocol disables TELNET protocol
46
Command Reference
TIME-REFERENCE
Description Selects time reference (GPS satellites or external IRIG-B000). Syntax TIME-REFERENCE source source GPS IRIGB GPS satellites IRIG-B000 optical input
47
7. ASCII C OMMANDS
TMARK
Description Sets time for pulse-on-time. Pulse is repeated daily at the same time. Syntax TMARK hh:mm:ss hh mm ss 00 . . . 23 00 . . . 59 00 . . . 59 hour minute second
48
Command Reference
TZ
Description Congures the timezone to be used when converting UTC time to local time. Note that halfhour time zones are supported. Syntax TZ hh:mm hh mm -12 . . . 12 00 or 30 hours minutes
49
7. ASCII C OMMANDS
VERSION
Description Prints version of installed rmware. Might be required when contacting product support. Syntax VERSION Example VERSION
50
Command Reference
WIDTH
Description Adjusts the pulse width for the 1PPS, 1PPM, PPX, TMARK and DMARK signals on the TTLlevel, open-collector outputs and the PPS pin on the RS232 serial port Factory default is 200 ms. Syntax WIDTH ms ms 10 . . . 990 ms 10 ms steps
51
8 Datagrams
This chapter describes the built-in datagrams in alphabetical order. If the datagram needed is not described on the following pages, use the ASCII-DATAGRAM to dene your own datagram or contact R EASON for further support. Please note that the datagrams denition comprises only the message itself and the frequency at which it is sent. The bitrate and format of the characters can be congured using the SERIAL ASCII command (refer to page 44 for further information). The position of the on-time-mark characters can be congured using the HOLD ASCII command (refer to page 37 for further information).
53
8. DATAGRAMS
8.1 ACEB
Comprises 13 bytes, sent once per minute at second 02.
Byte 1 2 3 4 5 6 7 8 9 10 11 12 13
Description Delimiter Header Status Start of transmission Day of week Year Month Day of month Hour Minute Second End of transmission Synchro byte
Possible Values 0xFF 0x01 0x00 (locked) or 0x01 (not locked) 0x02 BCD 01 (Monday) . . . BCD 07 (Sunday) BCD 00 . . . 99 BCD 01 . . . 12 BCD 01 . . . 31 BCD 00 . . . 23 BCD 00 . . . 59 BCD 02 0x03 0x16
54
GPZDA
8.2 GPZDA
Comprises 32 characters, sent once per second. $GPZDA,hhmmss.0,DD,MM,YYYY,,*CC<CR><LF> where Parameter hh mm ss ddd DD MM YYYY Character <LF> <CR> Parameter CC Possible Values 00 . . . 23 00 . . . 59 00 . . . 59 001 . . . 366 01 . . . 31 01 . . . 12 2000 . . . 2099 ASCII (decimal) 10 13 Description checksum Description hours minutes seconds day-of-year day-of-month month year (4 digits) Description line feed carriage return Remarks
ASCII (hexadecimal) 0A 0D
Possible Values two hexadecimal digits representing the result of the exclusive OR of all character between $ e * ($ and * not included in the computation)
55
8. DATAGRAMS
8.3 MEINBERG
Comprises 32 characters, sent once per second. <STX>D:DD.MM.YY;T:w;U:hh.mm.ss;uv <ETX> where Parameter hh mm ss DD MM YY w Character <STX> <ETX> Possible Values 00 . . . 23 00 . . . 59 00 . . . 59 01 . . . 31 01 . . . 12 00 . . . 99 1 ...7 ASCII (decimal) 02 03 32 Description status status Description hours minutes seconds day-of-month month year (2 digits) day-of-week ASCII (hexadecimal) 02 03 20 Remarks
1 means Monday
Parameter u v
56
Solution Replace antenna cable Use only active GPS antenna (3.3 Vdc, 100 mA max)
57
9. M AINTENANCE
AND
T ROUBLESHOOTING Normal behavior, no action required if it occurs briey when locking to GPS or IRIG-B000 time reference
Time step
Possible causes Conguration session in progress No reachable satellites (if using GPS input) No IRIG-B000 signal at the optical input (if using IRIG-B000 input)
Solution Close the conguration session with the EXIT command Check antenna location, refer to section 4.4 for details Check cable and signal type, refer to section 4.6 for details
Solution Normal behavior, no action required. The L OCKED indicator will stop blinking after the download is complete (approximately 12 minutes). Occurs only if the unit has been moved over great distance since last powered off or has been off for several weeks.
IP address Network mask Broadcast address Gateway address Password TELNET protocol
58
59
Part Numbers
P025-A
IRIG-B000 input No IRIG-B000 input IRIG-B000 optical input Number of optical outputs 0 to 8 Hardware revision code 1 to 9
2
0 1
* *
61
Modbus Interface
Implementation
The Modbus implementation follows the OPEN MODBUS/TCP Specication from Schneider Electric (29th March 1999). Connections are accepted at TCP port 502. All data is big-endian (most signicant byte rst).
Message Format
Bytes 0-1 2-3 4-5 6 Contents transaction identier protocol identier number of remaining bytes in message unit identier Remarks from request, normaly 0 always0 from byte 7 onwards unit only responds to identier 1
Implemented Functions
The unit only supports Modbus function 4 (read input registers). All other functions will return the following Bytes 7 8 Contents 8Xh exception code 1 Remarks number of requested funtion with most signicant bit set to 1 unimplemented function
63
M ODBUS I NTERFACE
Request
Bytes 7 8-9 10-11 Contents 04h address of the register to be read number of consecutive registers to read Remarks function code always 1
Response
Bytes 7 8 9-10 Contents 04h number of bytes in response contents of register Remarks function code always 2 (single register)
Exception
Bytes 7 8 Contents 84h exception code 2 Remarks address not valid or number of registers different from one
64
Registers Map
Registers Map
Status
Register Locked Alarm Antenna Open Antenna Short Satellite Count Address 010 011 012 013 014 Type RO RO RO RO RO Min 0 0 0 0 0 Max 1 1 1 1 12 Interpretation 1 if Locked if Alarm 1 if Antenna cable open 1 if Antenna cable short-circuited number of satellites used
Local Time
Register Year Month Day Of Month Hours Minutes Seconds Address 020 021 022 023 024 025 Type RO RO RO RO RO RO Min 1969 1 1 0 0 0 Max 2070 12 31 23 59 59
UTC Time
Register Year Month Day Of Month Hours Minutes Seconds Address 030 031 032 033 034 035 Type RO RO RO RO RO RO Min 1969 1 1 0 0 0 Max 2070 12 31 23 59 59
65
M ODBUS I NTERFACE
Position
Register Latitude South Latitude Degrees Latitude Minutes Latitude Seconds Longitude West Longitude Degrees Longitude Minutes Longitude Seconds Altitude Address 050 051 052 053 054 055 056 057 058 Type RO RO RO RO RO RO RO RO RO Min 0 0 0 0 0 0 0 0 0 Max 1 90 59 5900 1 180 59 5900 65535 Scale Factor Units 0 if Northern Hemisphere 1 if Southern Hemisphere degrees minutes of arc seconds of arc 0 if Eastern Hemisphere 1 if Westhern Hemisphere degrees minutes of arc seconds of arc meters
0.01
0.01
GPS Channels
Register Channel 1 Status Address 060 Type RO Min 0 Max 2 Scale Factor Units / Interpretation 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees 0: channel not in use 1: locked to satellite
Channel 1 Sat Number Channel 1 Signal Level Channel 1 Sat Elevation Channel 1 Sat Azimuth Channel 2 Status
RO RO RO RO RO
0 0 0 0 0
Channel 2 Sat Number Channel 2 Signal Level Channel 2 Sat Elevation Channel 2 Sat Azimuth Channel 3 Status
RO RO RO RO RO
0 0 0 0 0
Channel 3 Sat Number Channel 3 Signal Level Channel 3 Sat Elevation Channel 3 Sat Azimuth Channel 4 Status
RO RO RO RO RO
0 0 0 0 0
Channel 4 Sat Number Channel 4 Signal Level Channel 4 Sat Elevation Channel 4 Sat Azimuth Channel 5 Status
RO RO RO RO RO
0 0 0 0 0
66
Registers Map 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz
Channel 5 Sat Number Channel 5 Signal Level Channel 5 Sat Elevation Channel 5 Sat Azimuth Channel 6 Status
RO RO RO RO RO
0 0 0 0 0
Channel 6 Sat Number Channel 6 Signal Level Channel 6 Sat Elevation Channel 6 Sat Azimuth Channel 7 Status
RO RO RO RO RO
0 0 0 0 0
Channel 7 Sat Number Channel 7 Signal Level Channel 7 Sat Elevation Channel 7 Sat Azimuth Channel 8 Status
RO RO RO RO RO
0 0 0 0 0
Channel 8 Sat Number Channel 8 Signal Level Channel 8 Sat Elevation Channel 8 Sat Azimuth Channel 9 Status
RO RO RO RO RO
0 0 0 0 0
Channel 9 Sat Number Channel 9 Signal Level Channel 9 Sat Elevation Channel 9 Sat Azimuth Channel 10 Status
RO RO RO RO RO
0 0 0 0 0
Channel 10 Sat Number Channel 10 Signal Level Channel 10 Sat Elevation Channel 10 Sat Azimuth Channel 11 Status
RO RO RO RO RO
0 0 0 0 0
161 162
RO RO
0 0
32 65535 0.01
67
M ODBUS I NTERFACE Channel 11 Sat Elevation Channel 11 Sat Azimuth Channel 12 Status 163 164 170 RO RO RO 0 0 0 900 3600 2 0.1 0.1 degrees degrees 0: channel not in use 1: locked to satellite 2: searching for satellite 0: channel not in use 1 to 32: satellite number dB-Hz degrees degrees
Channel 12 Sat Number Channel 12 Signal Level Channel 12 Sat Elevation Channel 12 Sat Azimuth
RO RO RO RO
0 0 0 0
Obs. Repetir o conjunto de registradores Channel01 para Channel02 a Channel12 onde os endereos iniciais devem ser, respectivamente, 070 e 170.
68
Pr + 90 ms
Pr + 270 ms Pr + 280 ms Pr + 290 ms Pr Pr Pr Pr Pr Pr Pr + 300 ms + 310 ms + 320 ms + 330 ms + 340 ms + 350 ms + 360 ms
S UMMARY
OF
IRIG-B S TANDARD Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr + 370 ms + 380 ms + 390 ms + 400 ms + 410 ms + 420 ms + 430 ms + 440 ms + 450 ms + 460 ms + 470 ms + 480 ms + 490 ms + 500 ms + 510 ms + 520 ms + 530 ms + 540 ms + 550 ms + 560 ms + 570 ms + 580 ms days 40 days 80 position identier 4 (P4 ) days 100 days 200 index bit (0) index bit (0) index bit (0) index bit (0) index bit (0) index bit (0) index bit (0) position identier 5 (P5 ) year 1 year 2 year 4 year 8 index bit (0) year 10 year 20 year 40 year 80 position identier 6 (P6 ) index bit (0) index bit (0) Daylight Saving Pending (DSP) Daylight Saving Time (DST) Time Offset Sign (0=+, 1=-) Time Offset 1 Time Offset 2 Time Offset 4 Time Offset 8 position identier 7 (P7 ) Time Offset /2 Time Quality Time Quality Time Quality Time Quality Parity (odd) index bit (0) index bit (0) index bit (0) position identier 8 (P8 ) time-of-day 1 time-of-day 2 time-of-day 4 time-of-day 8 straight binary seconds (0 . . . 86399 or 86400) 1 during the minute that precedes start or end of DST 1 during DST sign of difference between local time and UTC (minus to the west of Greenwich) difference between local time and UTC (-12 . . . +12) last two digits of year (00 . . . 99)
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
Pr + 590 ms Pr + 600 ms Pr + 610 ms Pr + 620 ms Pr + 630 ms Pr + 640 ms Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr + 650 ms + 660 ms + 670 ms + 680 ms + 690 ms + 700 ms + 710 ms + 720 ms + 730 ms + 740 ms
0000 (0) : locked 1111 (F) : no-time 1011 (B) : never locked 0100 (4) : free-wheeling modulo 2 sum of all preceding data bits Bits 75-99 are not included in the sum
70
IRIG-B000 and IRIG-B120 Contents 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr Pr + 840 ms + 850 ms + 860 ms + 870 ms + 880 ms + 890 ms + 900 ms + 910 ms + 920 ms + 930 ms + 940 ms + 950 ms + 960 ms + 970 ms time-of-day 16 time-of-day 32 time-of-day 64 time-of-day 128 time-of-day 256 position identier 9 (P9 ) time-of-day 512 time-of-day 1024 time-of-day 2048 time-of-day 4096 time-of-day 8192 time-of-day 16384 time-of-day 32768 time-of-day 65536 index bit (0) position identier 0 (P0 )
Pr + 980 ms Pr + 990 ms
71