Sie sind auf Seite 1von 24

Installation and Maintenance of the

CTM-100 Dual-Port Modem

PAQ1900 Preliminary
Print Date: 11/20/00
Contents

1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Flexible Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Data Rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Timing Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Specification Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2. Modem Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Front Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
LCD Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Menu/Select Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Back Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Chassis Ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
AC Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
CDI Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
NRZ Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
RS-232 Serial (Terminal) Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

3. Modem Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
The Front Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
LCD Display Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Menu Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Select Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Asterisk Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Configuration Using the Front Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Data Rate (RATE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
NRZ Electrical Mode (MODE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
NRZ Logical Mode (CONF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Clock Source (CK_SRC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Clock Qualify (CK_EDGE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Data Style (DATA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Test Pattern (TPATT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Test Mode (TMODE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Loop Mode (LOOP). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

CTM-100 Installation and Maintenance Guide iii


Bit Error Rate (BER). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Error Count (ERRORS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Status (STATUS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Configuration Using the Terminal Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Command Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Sample Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

iv PAQ1900 Preliminary
1. Introduction

1.1 Overview
This manual provides information to help you configure, operate and maintain your CTM-100 dual-
port, stand-alone modem from Codem Systems, Inc. In addition to an overview, you will also find a
description of:
• Modem features
• Hardware connections
• Software options

Codem Systems, Inc. is an ISO 9001 registered company with a commitment to quality. For more infor-
mation, please visit our web site at:
http://www.codem.com/

1.2 Description
The CTM-100 is a dual-port, stand-alone modem that converts data between an NRZ format and Condi-
tioned Diphase Interface (CDI). The multiformat data can be one of many standards, including RS-423,
EIA-530A, X.21, V.35, RS-449, and RS-232. The primary use of this modem is to transport data over
long distance (up to two miles) using CX-11230 coaxial cable, as shown in Figure 1-1.

Figure 1-1: Functional Layout

NRZ CDI
GROUP 1 GROUP 2
CHASSIS
GND

TERMINAL RX TX RX TX

100V - 240V AC
GROUP 1 GROUP 2

Optional
Config
Terminal

CTM-100-Block-02

CTM-100 Installation and Maintenance Guide 1


Introduction

The modem incorporates test functions such as local loopback and bit error rate test (BERT). The
BERT functions can be used to test the error performance of a connected link or cable assembly. By
using the modem as a repeater, the CTM-100 can also be used to extend the distance that CDI data can
travel.

Each of the two ports can be configured independently to communicate with either of the following:
• Data Terminal Equipment (DTE)
An end unit that communicates with the user, converts user information into signals for transmis-
sion or reconverts the received signals into user information.
• Data Circuit-terminating Equipment (DCE)
The equipment that performs functions, such as signal conversion and coding, at the network end of
the line between the data terminal equipment (DTE) and the line.

By providing flexible communication options, the CTM-100 can connect to most standard RS-530
devices using standard communication cables.

1.2.1 Flexible Configuration

Each port can be configured using the front panel display, or by attaching an external terminal to the
RS-232 DB-9 connector on the back of the modem. Flexible configuration allows the user to select the
data rate, clock option, RS-530 mode and test options for each port. Data and clock polarity are also
programmable, for ease of connection to non-standard devices.

Various test patterns can be selected for checking cables and far end equipment that is connected to the
modem. A loopback option can be used with either the CDI or RS-530 port for testing of cables and the
modem internal circuitry.

1.2.2 Data Rates

Communication is done through a CX-11230 cable, attached to an SMA connector. Data rate depends
upon cable distance, as shown in Table 1-1.

Table 1-1: Data Rate and Cable Distance

To achieve this rate Maximum cable distance in


(kb/s)... km (mi) is...
64 3.2 (2)
72 3.2 (2)
128 3.2 (2)
144 3.2 (2)
256 3.2 (2)
288 3.2 (2)
512 3.2 (2)

2 PAQ1900 Preliminary
Specification Summary

Table 1-1: Data Rate and Cable Distance


576 3.2 (2)
1024 1.6 (1)
1152 1.6 (1)
1536 1.6 (1)
2048 1.6 (1)
2304 1.6 (1)
4096 0.8 (.5)
4608 0.8 (.5)

1.2.3 Timing Considerations

Proper planning for timing considerations of master/slave and direction needs be followed for proper
error free operation, whether the modem timing comes from the internal clock, the recovered CDI data,
or the NRZ interface.

1.3 Specification Summary


Table 1-2 provides a specification summary for the CTM-100.

Table 1-2: CTM-100 Specifications

Feature Values
Data Rates (in Kb/s) 64, 72, 128, 144, 256, 288, 512, 576, 1024, 1152,
1536, 2048, 2304, 4096, and 4608
CDI Drive Distance See Table 1-1
CDI Interface Dual SMA connectors
RS-530 Interface DB-25 connector
Power Consumption 15 W (typical use)
AC Power 110/220 VAC, 47-63 Hz
Size 1.75” H, 8.25” W, 14” D

CTM-100 Installation and Maintenance Guide 3


Introduction

4 PAQ1900 Preliminary
2. Modem Setup

2.1 Overview
Once the CTM-100 modem has been removed from its shipping carton, it can be placed on the desktop,
or mounted into a standard 19” rack. The use of two dual-port modems mounted side-by-side in a 19”
rack will allow four CDI ports to fit with 1.75” (1U) of space. Note that the dual-modem setup requires
a rack-mount shelf kit (part #PAQ2106-XX).

This chapter provides an overview of the external interface of the CTM-100. This includes:
• Front panel description
• Back panel description

2.2 Front Panel


The front panel of the CTM-100 contains an LCD display and a set of menu/select buttons, as illustrated
in Figure 2-1.

Figure 2-1: CTM-100 Front Panel

CODEM
SYSTEMS INC. 0(18 6(/(&7

+2/' 72 (17(5

+2/' 72 (17(5

0(18 6(/(&7

CTM-100
CTM-100-Front-01

2.2.1 LCD Display

The LCD is a character device, capable of displaying two lines of 20 characters each. Each line is ded-
icated to providing information for one of the two data ports. The display can be used to prompt for
configuration input, or to display status values.

2.2.2 Menu/Select Buttons

Four push buttons are included on the front panel. Each port has two push buttons associated with it.
They are used as follows:
• Menu

CTM-100 Installation and Maintenance Guide 5


Modem Setup

The Menu button is used to select a menu item (field) to be displayed on the left-side of that port’s
associated line of the display screen.
• Select
The Select button is used to cycle through the optional values for that menu item currently being
displayed. The currently-enabled selection is marked with an asterisk. The current selection can be
changed by holding down the Menu or Select button until the display blanks. When the button is
released, the display is restored, and the new selection is active.

2.3 Back Panel


The back panel of the CTM-100 contains the following terminals used to connect to external cables and
equipment, as illustrated in Figure 2-1:
• Chassis ground connector
• AC power connector
• CDI interface
• NRZ interface
• RS-232 serial interface

Figure 2-2: Back Panel


GROUP 1 GROUP 2
CHASSIS
GND

TERMINAL RX TX RX TX

100V - 240V AC
GROUP 1 GROUP 2
CTM-100-Back-01

2.3.1 Chassis Ground

The back panel contains a connector used to ground the chassis. Use this as your configuration
requires.

2.3.2 AC Power

The CTM-100 has a power usage of 110/220 VAC, 47-63 Hz at 15 Watts.

6 PAQ1900 Preliminary
Back Panel

2.3.3 CDI Interface

There are four jacks for the CDI interface. Each group uses two jacks (one for CDI input and one for
CDI output). Connection to the CDI interface is done using 50 ohm coaxial cable, with SMA jacks.
The mating connector for the CDI interface is a standard coaxial SMA plug.

2.3.4 NRZ Interface

There are two NRZ ports (one for each group). Each NRZ interface uses a male DB-25 connector. The
pinouts for the NRZ interface are shown in Table 2-1. When the drivers are placed in a single-ended
mode (e.g. RS-232), the B inputs and outputs are not used.

Table 2-1: NRZ Interface Pinouts

Pin Acronym Description Dir. If DTE


1 SHIELD Cable shield
2 TXD A TX Data A Output
3 RXD A RX Data A Input
4 RTS A Request to send Output
5 CTS A Clear to send Input
6 DSR A Data set ready Input
7 SGND Signal ground
8 DCD A Data condition A Output
9 RXC B RX Clock B Input
10 DCD B Data condition B Output
11 SCTE B Source Clock B Output
12 TXC B TX Clock B Input
13 CTS B Clear to send B Input
14 TXD B TX Data B Output
15 TXC A TX Clock A Input
16 RXD B RX Data B Input
17 RXC A RX Clock A Input
18 LL A Local loopback Output
19 RTS B Request to send B Output
20 DTR A Data terminal ready A Output
21 RL A Remote loopback Output
22 DSR B Data set ready B Input

CTM-100 Installation and Maintenance Guide 7


Modem Setup

Table 2-1: NRZ Interface Pinouts (Continued)


23 DTR B Data terminal ready B Output
24 SCTE A Source Clock A Output
25 TM A Test mode Input

2.3.5 RS-232 Serial (Terminal) Interface

A standard male DB-9 serial port connector is located on the CTM-100 rear panel. This allows an
optional serial connection to an external terminal for command-level configuration and testing. The
serial port uses a standard RS-232 port operating at 9600 bps, 8 data bits, no parity, one stop bit.

Table 2-2: Serial Port Pinouts

Pin Acronym Description Direction


1 DCD Data Carrier Detect Not Used
2 RXD Receive Data Input
3 TXD Transmit Data Output
4 Not Used
5 GND Ground
6 DSR Data Set Ready Not Used
7 RTS Request To Send Not Used
8 CTS Clear To Send Not Used
9 Not Used

8 PAQ1900 Preliminary
3. Modem Configuration

3.1 Overview
The CTM-100 modem can be configured using the front display panel, or by connecting an optional ter-
minal to the serial port provided on the back. Configuration settings are stored in non-volatile memory
so that they are saved when the unit is turned off, and restored when it is turned back on.

This chapter will help you to configure your CTM-100, with discussions of:
• The front panel
• Configuration using the front panel
• Configuration using terminal commands

3.2 The Front Panel


The front panel includes an LCD display area, and four push buttons, as illustrated in Figure 3-1.

Figure 3-1: CTM-100 Front Panel

CODEM MENU SELECT


SYSTEMS INC.

+2/' 72 (17(5

GP1 ITEM: VALUE *


GP2 ITEM: VALUE * +2/' 72 (17(5

MENU SELECT
CTM-100
CTM-100-Front-02

Dedicated to each of the two supported ports is:


• An LCD display line
• A Menu button
• A Select button

3.2.1 LCD Display Lines

The display lines provide status information in the form shown below.
GPn ITEM: VALUE *

CTM-100 Installation and Maintenance Guide 9


Modem Configuration

The format of the display line is described in Table 3-1.

Table 3-1: Display Line Format

The field... Indicates...


GPn The group (or port) number
ITEM The menu item currently being displayed
VALUE An optional value for the menu option
* Asterisk indicates this is the currently selected value

3.2.2 Menu Button

The Menu button is used to scroll through menu items. Each time the menu button is pressed, the next
in a series of configurable items is displayed. When a menu item is displayed to the left of the “:” sym-
bol, an optional value is displayed to the right.

Note that there are also non-configurable items that might be displayed, such as STATUS.

3.2.3 Select Button

The Select button is used to scroll through optional values. When the desired value is displayed, hold
this Select button down until the LCD screen clears to make it the current selection. After the button is
released, the screen will refresh.

3.2.4 Asterisk Display

The Asterisk symbol (*) is displayed when the VALUE field is displaying the currently selected value.
It is not displayed when one of the optional values that is not the current selection is being displayed.

3.3 Configuration Using the Front Panel


The modem can be configured using the front panel by using the buttons, as described above. Table 3-2
lists the menu items that can be displayed for each group.

Table 3-2: Front Panel Menu Items

The item... Is used to... Options include...


RATE Select the port data rate to be used. Rate from table 1 or AUTO
MODE Set NRZ signal electrical mode. OFF, 423, 530, X21, V35, 449, 232
CONF Set the equipment device type (logical mode) DTE or DCE

10 PAQ1900 Preliminary
Configuration Using the Front Panel

Table 3-2: Front Panel Menu Items (Continued)

The item... Is used to... Options include...


CK SRC Set the clock source, including direction and CDI, NRZ, INT, TXC
where timing is derived from.
EDGE Set the clock edge, allowing for clock/data NORM (normal) or INVERT (inverted)
transmit change to make up for cable length
difference.
DATA Describe the data style, allowing for normal or NORM or INV
inverted.
TPATT Specify the test pattern to be generated or 511, ALT, 1, 0
detected.
TMODE Specify test mode, including direction of the OFF, NRZ, CDI
test patterns are to be generated and detected.
LOOP Set loopback mode, to allow data to loop back OFF, NRZ, CDI, BOTH
to the connected equipment.
BER Display or clear bit error rate (the calculated ? or CLEAR
number of received bits in error over time).
ERRORS Display or clear error count (the actual number ?, CLEAR, or INS
of bit errors received).
STATUS Display the status of the port. ? (status only)

(Didn’t see INS_ERR on the test modem in my office).

Each of the menu items is described in further detail in the following sections.

3.3.1 Data Rate (RATE)

The configuration RATE screen selects the port rate to be used. The options are 64, 72, 128, 144, 256,
288, 512, 576, 1024, 1152, 1536, 2048, 2304, 4096, 4608 Kb/s, or AUTO. The AUTO rate selection
automatically determines the port rate from the clock source.

NOTE: If the clock source (CK_SRC) is the internal (INT) clock then AUTO is not an optional setting.
If AUTO is selected then CK_SRC = INT is not an option.

3.3.2 NRZ Electrical Mode (MODE)

The configuration MODE screen selects the NRZ signal electrical interface type. The possible options
are EIA-530A, RS-423, X.21, V.34, RS-449, RS-232, or Disable. The Disable option places the port in
Tri-state mode.

CTM-100 Installation and Maintenance Guide 11


Modem Configuration

3.3.3 NRZ Logical Mode (CONF)

The configuration CONF screen selects the equipment device type. The options are DCE/INT, DCE/
EXT, DTE/INT, or DTE/EXT. The device type DCE or DTE describes the direction of data and
clocks. The selection of INT or EXT describes how the Tx Data is clocked or qualified. The following
figures show the difference between the four optional settings:

When the DCE/INT option is selected, as illustrated in Figure 3-2, the receive Tx Data is qualified by
the generated internal port clock that is present at the Tx Clock leads. This is useful for DTE devices
that do not produce SCTE timing.

Figure 3-2: Conf DCE/INT Selection

RxD 3 (16)
RxC 17 (9)

MODEM Q D
TxD 2 (14) REMOTE
TxC 15 (12)
DCE/INT DTE
Internal Clock
SCTE 24(11)

Conf-DCE/INT

When the DCE/EXT option is selected, as illustrated in Figure 3-3, the receive Tx Data is qualified by
the port clock that is present at the SCTE leads. This is for DTE devices that produce SCTE timing.

Figure 3-3: Conf DCE/EXT Selection

RxD 3 (16)
RxC 17 (9)

MODEM Q D
TxD 2 (14) REMOTE
TxC 15 (12)
DCE/EXT DTE
Internal Clock
SCTE 24(11)

Conf-DCE/EXT

When the DTE/INT option is selected, as illustrated in Figure 3-4, the generated internal port clock that
is present at the SCTE Clock leads clocks out the Tx Data. This is useful for DCE devices that do not
produce a Tx Clock.

12 PAQ1900 Preliminary
Configuration Using the Front Panel

Figure 3-4: Conf DTE/INT Selection

RxD 3 (16)
RxC 17 (9)

MODEM D Q
TxD 2 (14) REMOTE
DTE/INT TxC 15 (12) DCE

Internal Clock SCTE 24(11)

Conf-DTE/INT

When the DTE/EXT option is selected, as illustrated in Figure 3-5, the received Tx Clock is used to
clock out the Tx Data. This is for DTE devices that produce Tx Clock timing.

Figure 3-5: Conf DTE/EXT Selection

RxD 3 (16)
RxC 17 (9)

MODEM D Q
TxD 2 REMOTE
(14)
DTE/EX TxC 15 (12) DCE
T
Internal SCTE 24(11)
Clock
Conf-DTE/EXT

3.3.4 Clock Source (CK_SRC)

The clock source (CK_SRC) option identifies which direction and where the port timing is derived
from. The options are CDI, INT, SCTE, RxC, or TxC. The INT setting cannot be used when the
RATE is set to AUTO. The following figures show the options depending on whether the device is of
type DCE or DTE.

When the modem is in DCE mode (CONF=DCE/INT or DCE/EXT) then clock source options include
CDI, INT and SCTE. While in this mode, the SCTE setting can be used, but RxC and TxC do not apply,
as illustrated in Figure 3-6.

CTM-100 Installation and Maintenance Guide 13


Modem Configuration

Figure 3-6: Clock Source SCTE Setting

MODEM CDI RxD 3 (16)


RECOVERY RxC 17 (9)
DCE
CLK SRC PLL-VCO OSCILLATOR TxD 2 (14) REMOTE
Internal Clock TIMING TxC 15 (12)
DTE

SCTE 24(11)

Clk-DCE-SCTE

When the modem is in DTE mode (CONF=DTE/INT or DTE/EXT) then clock source options include
CDI, INT, RxC and TxC. While in this mode, the TxC and TxC settings can be used, but SCTE does
not apply, as illustrated in Figure 3-7.

Figure 3-7: Clock Source RxC/TxC Settings

MODEM RxD 3 (16)


RxC 17 (9)
DTE
CLK SRC TxD 2 (14) REMOTE
TxC 15 (12)
DCE
PLL-VCO
Internal Clock TIMING CDI
RECOVERY
SCTE 24(11)

OSCILLATOR

Clk-DTE-RxTx

3.3.5 Clock Qualify (CK_EDGE)

The CK_EDGE (clock edge) setting allows for changing of transmit clock/data phase relationship to
make up the difference in cable length, or non-compliant equipment. The options are NORM (normal)
or INV (inverse).

3.3.6 Data Style (DATA)

The DATA setting allows the option to invert the data for non-compliant equipment. The options are
NORM (normal) or INV (inverse).

14 PAQ1900 Preliminary
Configuration Using the Front Panel

3.3.7 Test Pattern (TPATT)

The TPATT (test pattern) setting specifies which pattern is to be generated/detected in the direction
determined by the TMODE setting for testing of the communications link. The options are 511, 1:0, all
1’s, or all 0’s.

3.3.8 Test Mode (TMODE)

The TMODE (test mode) setting enables and determines which direction the test patterns are to be gen-
erated and detected. The options are OFF (default), NRZ, or CDI.

3.3.9 Loop Mode (LOOP)

The LOOP settings are used to loopback data toward the connected equipment. Care should be taken
for clock source consideration. The options are OFF (default), NRZ or CDI.

3.3.10 Bit Error Rate (BER)

The Bit Error Rate (BER) status displays the calculated number of received bits in error over time.
Pressing the SELECT button will reset the BER counters and restart the calculations.

3.3.11 Error Count (ERRORS)

The ERRORS menu item options depend upon the value of the test mode (TMODE). When test mode
is off, this has little value. When a test mode has been selected, ERRORS will initially show the actual
number of bit errors received.

When ERRORS is the current menu item, press SELECT until you see:
• CLEAR, then hold the SELECT button down until errors are cleared.
• INSERT, then hold the SELECT button down to insert a single bit error into the bitstream deter-
mined by TMODE. This is used for a sanity check while testing of data link systems to ensure data
paths are set according to a test plan. When an error is inserted, the error should be detected some-
where in the link.

3.3.12 Status (STATUS)

The STATUS screen displays the current status of the Port. The contents displayed are the programmed
rate, and port activity. The rate value is that which is programmed by the user or the value programmed
by the auto-rate selection circuitry while in the RATE = AUTO mode. If the RATE programmed by the
user is not equal to the rate sensed by the auto-rate circuitry, the rate will be followed by a “?”. The dis-
played rate is in Kb/s.

CTM-100 Installation and Maintenance Guide 15


Modem Configuration

Following the rate status is the CDI port activity status. It is used as follows.

The value
displayed is... If the CDI port is...
“C” active and is also the system clock source
“c” active, but is not the system clock source
““ not active

Following the CDI port activity status is the NRZ port activity status. It is used as follows.

The value
displayed is... If the NRZ port is...
“N” active and is also the system clock source
“n” active, but is not the system clock source
““ not active

3.4 Configuration Using the Terminal Commands


By attaching an optional terminal to the serial port at the back of the modem, configuration can be done
using the keyboard.

3.4.1 Command Format

The format for a serial command is as follows:


[cmd][ch][param]

Where:
cmd (command) is the menu item to be set or viewed
ch (channel) is the group on which to perform the command
param (parameter) is the parameter value to assign to the menu item

Using the ? character for:


cmd will display the help screen
param will display current settings for that menu item

Valid channel values are 1 or 2. The channel number 0 can be used in both the SHOW and the STS com-
mands, to display status for both channels.

16 PAQ1900 Preliminary
Configuration Using the Terminal Commands

3.4.2 Command List

Table 3-3 lists the available commands, and their functions.

Table 3-3: Configuration Terminal Commands

Command Item Optional Values


BER Bit Error Rate ? or CLEAR
CONF NRZ Logical Mode DTE or DCE
COUNT Error Count ?, CLEAR, or INS
DATA Data NORM or INV
EDGE Clock Qualify NORM (falling) or INV (rising)
LOOP Loop Mode OFF, NRZ, CDI, BOTH
MODE NRZ Electrical Mode OFF, 423, 530, X21, V35, 449, 232
MRATE Measured Rate ? (provides status only)
PORTS Port Activity ? (provides status only)
RATE Data Rate Rate from Table 1-1 or AUTO
RESET Reset System N/A
SHOW Show Configuration ? (provides status only)
SRATE Auto-Set Rate ? (provides status only)
SRC Clock Source CDI, NRZ, INT, TXC
STS Status Summary ? (provides status only)
TMODE Test Mode OFF, NRZ, CDI
TPATT Test Pattern 511, ALT, 1, 0
? Help Screen N/A

3.4.3 Sample Commands

Example 3-1 shows the results of the ? command, used to provide the user with the current release num-
ber, as well as on-line help with command syntax.

Example 3-1: Help Command


ctm-100> ?
Codem CTM-100 CDI Modem, Build $Name: REL_1_1_2 $

Command syntax is [cmd][ch][param]. Param of ’?’ gets status.

ber <ch> <?|clear> = read/clear bit error rate


conf <ch> <dte|dce>/<int|ext> = set dte or dce

CTM-100 Installation and Maintenance Guide 17


Modem Configuration

count <ch> <?|clear|ins> = read/clear bit error count


data <ch> <norm|inv> = set normal or inverted data
edge <ch> <norm|inv> = qualify on falling or rising edge
loop <ch> <off|nrz|cdi> = enable loopback on ports
mode <ch> <off|423|530|x21|v35|449|232>
= set electrical mode
mrate <ch> ? = report measured rate
portsr <ch> ? = report port activity status
rate <ch> <auto|64-4608> = set data rate
reset = reset modem
show <ch> ? = dump config (ch = 0 means all).
srate <ch> ? = report rate set by auto mode
src <ch> <cdi|scte|int|txc|rxc> = set clock source
c sts <ch> ? = status summary (ch = 0 means all).
tmode <ch> <off|nrz|cdi> = enable test mode on port
tpatt <ch> <0|1|alt|511> = set test pattern
ctm-100>

Example 3-2 shows the results of the show command, used to display current parameter values.

Example 3-2: Show Command


ctm-100> show 0 ?
RATE 1 1024
MODE 1 530
CONF 1 DCE/EXT
SRC 1 SCTE
EDGE 1 NORM
DATA 1 NORM
TMODE 1 OFF
TPATT 1 511
LOOP 1 OFF
RATE 2 AUTO
MODE 2 530
CONF 2 DCE/EXT
SRC 2 SCTE
EDGE 2 NORM
DATA 2 NORM
TMODE 2 OFF
TPATT 2 511
LOOP 2 OFF
ctm-100>

Example 3-3 shows the use of the rate command, used to set data rate.

18 PAQ1900 Preliminary
Configuration Using the Terminal Commands

Example 3-3: Rate Command


ctm-100> rate 1 1024
ctm-100>

Example 3-4 shows the output provided when a command is used incorrectly.

Example 3-4: Command Error


ctm-100> rate 3 1024
E-1: Out of Range
-error-
ctm-100>

CTM-100 Installation and Maintenance Guide 19


Modem Configuration

20 PAQ1900 Preliminary